[2025-03-09 00:00:01] Production.INFO: ==976== Lock acquired, processing the job... [2025-03-09 00:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:00:01] Production.INFO: neon service started [2025-03-09 00:00:01] Production.INFO: neon service started [2025-03-09 00:00:01] Production.INFO: ==976== Releasing lock... [2025-03-09 00:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:00:01] Production.INFO: ==980== Lock acquired, processing the job... [2025-03-09 00:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:00:01] Production.INFO: ==980== Releasing lock... [2025-03-09 00:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:00:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:00:01] Production.INFO: ==978== Lock acquired, processing the job... [2025-03-08 19:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:00:02] Production.INFO: ==978== Releasing lock... [2025-03-08 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:00:03] Production.INFO: ==983== Lock acquired, processing the job... [2025-03-08 19:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 19:00:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 19:00:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 19:00:03] Production.INFO: ==983== Releasing lock... [2025-03-08 19:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 19:00:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 19:00:03] Production.INFO: ==985== Lock acquired, processing the job... [2025-03-08 19:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:00:03] Production.INFO: ==995== Lock acquired, processing the job... [2025-03-08 19:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 19:00:03] Production.INFO: ==987== Lock acquired, processing the job... [2025-03-08 19:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:00:03] Production.INFO: ==993== Lock acquired, processing the job... [2025-03-08 19:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:00:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:00:03] Production.INFO: ==991== Lock acquired, processing the job... [2025-03-08 19:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:00:03] Production.INFO: ==989== Lock acquired, processing the job... [2025-03-08 19:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:00:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:00:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:00:03] Production.INFO: ==997== Lock acquired, processing the job... [2025-03-08 19:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:00:03] Production.INFO: Account Balance Start. [2025-03-08 19:00:03] Production.INFO: CreateAllLog Start [2025-03-08 19:00:03] Production.INFO: 117 [2025-03-08 19:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:00:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:00:03] Production.INFO: Reseller ==> 0 [2025-03-08 19:00:04] Production.INFO: Total Charge 0 [2025-03-08 19:00:04] Production.INFO: CreateAllLog End [2025-03-08 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-08 19:00:04] Production.INFO: count ==13 [2025-03-08 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-08 19:00:04] Production.INFO: count ==21 [2025-03-08 19:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637141') start [2025-03-08 19:00:04] Production.ERROR: done [2025-03-08 19:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:00:04] Production.INFO: Account Balance End. [2025-03-08 19:00:04] Production.ERROR: done [2025-03-08 19:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637141') end [2025-03-08 19:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:00:04] Production.INFO: 1 [2025-03-08 19:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:00:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:00:04] Production.INFO: ==991== Releasing lock... [2025-03-08 19:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:00:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 19:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637143', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 19:00:04] Production.INFO: ==997== Releasing lock... [2025-03-08 19:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:00:04] Production.ERROR: done [2025-03-08 19:00:04] Production.INFO: ==987== Releasing lock... [2025-03-08 19:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:00:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:00:05 [end_date_ymd] => 2025-03-08 19:00:05 [RateCDR] => 1 ) [2025-03-08 19:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:00:05' and `end` < '2025-03-08 19:00:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637143', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 19:00:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 19:00:08] Production.INFO: ProcessCDR(1,14637143,1,1,2) [2025-03-08 19:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14637143,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14637143,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:00:08] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:00:08] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:00:08] Production.INFO: ==995== Releasing lock... [2025-03-08 19:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 19:00:08] Production.INFO: 26 MB #Memory Used# [2025-03-08 19:00:12] Production.ERROR: CronJobId end10 [2025-03-08 19:00:12] Production.INFO: ==989== Releasing lock... [2025-03-08 19:00:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:00:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:00:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:00:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:00:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:00:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:00:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:00:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:00:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:00:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:00:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:00:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:00:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:00:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:00:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:00:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:00:16] Production.INFO: call_cost start [2025-03-08 19:00:16] Production.INFO: call_cost end [2025-03-08 19:00:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:00:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:00:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:00:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:00:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:00:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:00:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:00:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:00:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:00:17] Production.INFO: ==985== Releasing lock... [2025-03-08 19:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:00:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:00:18] Production.INFO: count ==2640 [2025-03-08 19:00:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:00:05 - End Time 2025-03-08 19:00:05 [2025-03-08 19:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637144', 'tblTempUsageDetail_20' ) start [2025-03-08 19:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637144', 'tblTempUsageDetail_20' ) end [2025-03-08 19:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637144', 'tblTempVendorCDR_20' ) start [2025-03-08 19:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637144', 'tblTempVendorCDR_20' ) end [2025-03-08 19:00:19] Production.INFO: ProcessCDR(1,14637144,1,1,2) [2025-03-08 19:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637144', 'tblTempUsageDetail_20' ) start [2025-03-08 19:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637144', 'tblTempUsageDetail_20' ) end [2025-03-08 19:00:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:00:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:00:22] Production.INFO: ==993== Releasing lock... [2025-03-08 19:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:00:22] Production.INFO: 47.75 MB #Memory Used# [2025-03-09 00:01:01] Production.INFO: ==1059== Lock acquired, processing the job... [2025-03-09 00:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:01:01] Production.INFO: neon service started [2025-03-09 00:01:01] Production.INFO: neon service started [2025-03-09 00:01:01] Production.INFO: ==1059== Releasing lock... [2025-03-09 00:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:01:02] Production.INFO: ==1071== Lock acquired, processing the job... [2025-03-08 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:01:02] Production.INFO: ==1071== Releasing lock... [2025-03-08 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:01:02] Production.INFO: ==1073== Lock acquired, processing the job... [2025-03-09 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:01:02] Production.INFO: ==1073== Releasing lock... [2025-03-09 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:01:03] Production.INFO: ==1082== Lock acquired, processing the job... [2025-03-08 19:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:01:03] Production.INFO: ==1084== Lock acquired, processing the job... [2025-03-08 19:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:01:03] Production.INFO: Account Balance Start. [2025-03-08 19:01:03] Production.INFO: CreateAllLog Start [2025-03-08 19:01:03] Production.INFO: 117 [2025-03-08 19:01:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:01:03] Production.INFO: Reseller ==> 0 [2025-03-08 19:01:03] Production.INFO: ==1076== Lock acquired, processing the job... [2025-03-08 19:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:01:03] Production.INFO: Total Charge 0 [2025-03-08 19:01:03] Production.INFO: CreateAllLog End [2025-03-08 19:01:03] Production.INFO: ==1078== Lock acquired, processing the job... [2025-03-08 19:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:01:03] Production.INFO: ==1080== Lock acquired, processing the job... [2025-03-08 19:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:01:03] Production.INFO: ==1086== Lock acquired, processing the job... [2025-03-08 19:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:01:03] Production.INFO: count ==13 [2025-03-08 19:01:04] Production.ERROR: done [2025-03-08 19:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 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-08 19:01:04] Production.INFO: count ==21 [2025-03-08 19:01:04] Production.INFO: Account Balance End. [2025-03-08 19:01:04] Production.INFO: ==1078== Releasing lock... [2025-03-08 19:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637148') start [2025-03-08 19:01:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:01:04] Production.INFO: ==1082== Releasing lock... [2025-03-08 19:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637148') end [2025-03-08 19:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:01:04] Production.INFO: 1 [2025-03-08 19:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:01:04] Production.ERROR: done [2025-03-08 19:01:04] Production.INFO: ==1086== Releasing lock... [2025-03-08 19:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:01:05 [end_date_ymd] => 2025-03-08 19:01:05 [RateCDR] => 1 ) [2025-03-08 19:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:01:05' and `end` < '2025-03-08 19:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:01:12] Production.ERROR: CronJobId end10 [2025-03-08 19:01:12] Production.INFO: ==1080== Releasing lock... [2025-03-08 19:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:01:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:01:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:01:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:01:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:01:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:01:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:01:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:01:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:01:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:01:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:01:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:01:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:01:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:01:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:01:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:01:14] Production.INFO: call_cost start [2025-03-08 19:01:14] Production.INFO: call_cost end [2025-03-08 19:01:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:01:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:01:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:01:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:01:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:01:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:01:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:01:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:01:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:01:15] Production.INFO: ==1076== Releasing lock... [2025-03-08 19:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:01:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:01:17] Production.INFO: count ==2648 [2025-03-08 19:01:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:01:05 - End Time 2025-03-08 19:01:05 [2025-03-08 19:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637149', 'tblTempUsageDetail_20' ) start [2025-03-08 19:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637149', 'tblTempUsageDetail_20' ) end [2025-03-08 19:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637149', 'tblTempVendorCDR_20' ) start [2025-03-08 19:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637149', 'tblTempVendorCDR_20' ) end [2025-03-08 19:01:18] Production.INFO: ProcessCDR(1,14637149,1,1,2) [2025-03-08 19:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637149', 'tblTempUsageDetail_20' ) start [2025-03-08 19:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637149', 'tblTempUsageDetail_20' ) end [2025-03-08 19:01:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:01:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:01:21] Production.INFO: ==1084== Releasing lock... [2025-03-08 19:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:01:21] Production.INFO: 48 MB #Memory Used# [2025-03-09 00:02:02] Production.INFO: ==1276== Lock acquired, processing the job... [2025-03-09 00:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:02:02] Production.INFO: neon service started [2025-03-09 00:02:02] Production.INFO: neon service started [2025-03-09 00:02:02] Production.INFO: ==1276== Releasing lock... [2025-03-09 00:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:02:02] Production.INFO: ==1278== Lock acquired, processing the job... [2025-03-08 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:02:03] Production.INFO: ==1280== Lock acquired, processing the job... [2025-03-09 00:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:02:03] Production.INFO: ==1280== Releasing lock... [2025-03-09 00:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:02:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:02:03] Production.INFO: ==1278== Releasing lock... [2025-03-08 19:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:02:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:02:04] Production.INFO: ==1283== Lock acquired, processing the job... [2025-03-08 19:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:02:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:02:04] Production.INFO: ==1287== Lock acquired, processing the job... [2025-03-08 19:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:02:04] Production.INFO: ==1291== Lock acquired, processing the job... [2025-03-08 19:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:02:04] Production.INFO: ==1285== Lock acquired, processing the job... [2025-03-08 19:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:02:04] Production.INFO: ==1289== Lock acquired, processing the job... [2025-03-08 19:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:02:04] Production.INFO: ==1293== Lock acquired, processing the job... [2025-03-08 19:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:02:04] Production.INFO: Account Balance Start. [2025-03-08 19:02:04] Production.INFO: CreateAllLog Start [2025-03-08 19:02:04] Production.INFO: 117 [2025-03-08 19:02:04] Production.ERROR: done [2025-03-08 19:02:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:02:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:02:04] Production.INFO: Total Charge 0 [2025-03-08 19:02:04] Production.INFO: count ==13 [2025-03-08 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-08 19:02:04] Production.INFO: CreateAllLog End [2025-03-08 19:02:04] Production.INFO: count ==21 [2025-03-08 19:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637153') start [2025-03-08 19:02:04] Production.INFO: Account Balance End. [2025-03-08 19:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637153') end [2025-03-08 19:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:02:04] Production.INFO: 1 [2025-03-08 19:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:02:04] Production.ERROR: done [2025-03-08 19:02:04] Production.INFO: ==1285== Releasing lock... [2025-03-08 19:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:02:04] Production.INFO: ==1293== Releasing lock... [2025-03-08 19:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:02:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:02:04] Production.INFO: ==1289== Releasing lock... [2025-03-08 19:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:02:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:02:05 [end_date_ymd] => 2025-03-08 19:02:05 [RateCDR] => 1 ) [2025-03-08 19:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:02:05' and `end` < '2025-03-08 19:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:02:12] Production.ERROR: CronJobId end10 [2025-03-08 19:02:12] Production.INFO: ==1287== Releasing lock... [2025-03-08 19:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:02:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:02:14] Production.INFO: call_cost start [2025-03-08 19:02:14] Production.INFO: call_cost end [2025-03-08 19:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:02:15] Production.INFO: ==1283== Releasing lock... [2025-03-08 19:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:02:18] Production.INFO: count ==2643 [2025-03-08 19:02:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:02:05 - End Time 2025-03-08 19:02:05 [2025-03-08 19:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637154', 'tblTempUsageDetail_20' ) start [2025-03-08 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637154', 'tblTempUsageDetail_20' ) end [2025-03-08 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637154', 'tblTempVendorCDR_20' ) start [2025-03-08 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637154', 'tblTempVendorCDR_20' ) end [2025-03-08 19:02:19] Production.INFO: ProcessCDR(1,14637154,1,1,2) [2025-03-08 19:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637154', 'tblTempUsageDetail_20' ) start [2025-03-08 19:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637154', 'tblTempUsageDetail_20' ) end [2025-03-08 19:02:24] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:02:24] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:02:24] Production.INFO: ==1291== Releasing lock... [2025-03-08 19:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:02:24] Production.INFO: 47.75 MB #Memory Used# [2025-03-09 00:03:01] Production.INFO: ==1347== Lock acquired, processing the job... [2025-03-09 00:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:03:01] Production.INFO: neon service started [2025-03-09 00:03:01] Production.INFO: neon service started [2025-03-09 00:03:01] Production.INFO: ==1347== Releasing lock... [2025-03-09 00:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:03:02] Production.INFO: ==1351== Lock acquired, processing the job... [2025-03-09 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:03:02] Production.INFO: ==1351== Releasing lock... [2025-03-09 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:03:02] Production.INFO: 26 MB #Memory Used# [2025-03-08 19:03:02] Production.INFO: ==1349== Lock acquired, processing the job... [2025-03-08 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:03:02] Production.INFO: ==1349== Releasing lock... [2025-03-08 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:03:03] Production.INFO: ==1354== Lock acquired, processing the job... [2025-03-08 19:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:03:03] Production.INFO: ==1360== Lock acquired, processing the job... [2025-03-08 19:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:03:03] Production.INFO: Account Balance Start. [2025-03-08 19:03:03] Production.INFO: CreateAllLog Start [2025-03-08 19:03:03] Production.INFO: 117 [2025-03-08 19:03:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:03:03] Production.INFO: Reseller ==> 0 [2025-03-08 19:03:03] Production.INFO: ==1364== Lock acquired, processing the job... [2025-03-08 19:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:03:03] Production.INFO: Total Charge 0 [2025-03-08 19:03:03] Production.INFO: CreateAllLog End [2025-03-08 19:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:03:03] Production.INFO: ==1356== Lock acquired, processing the job... [2025-03-08 19:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:03:03] Production.INFO: Account Balance End. [2025-03-08 19:03:03] Production.INFO: ==1358== Lock acquired, processing the job... [2025-03-08 19:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:03:03] Production.INFO: count ==13 [2025-03-08 19:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:03:03] Production.INFO: count ==21 [2025-03-08 19:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637157') start [2025-03-08 19:03:03] Production.ERROR: CronJobId end 12 [2025-03-08 19:03:03] Production.INFO: ==1360== Releasing lock... [2025-03-08 19:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:03:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:03:03] Production.INFO: ==1362== Lock acquired, processing the job... [2025-03-08 19:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637157') end [2025-03-08 19:03:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:03:03] Production.INFO: 1 [2025-03-08 19:03:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:03:03] Production.INFO: ==1364== Releasing lock... [2025-03-08 19:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:03:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:03:04] Production.INFO: ==1356== Releasing lock... [2025-03-08 19:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:03:04] Production.ERROR: done [2025-03-08 19:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:03:04] Production.ERROR: done [2025-03-08 19:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:03:05 [end_date_ymd] => 2025-03-08 19:03:05 [RateCDR] => 1 ) [2025-03-08 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-08 16:03:05' and `end` < '2025-03-08 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-08 19:03:12] Production.ERROR: CronJobId end10 [2025-03-08 19:03:12] Production.INFO: ==1358== Releasing lock... [2025-03-08 19:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:03:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:03:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:03:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:03:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:03:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:03:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:03:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:03:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:03:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:03:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:03:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:03:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:03:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:03:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:03:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:03:13] Production.INFO: call_cost start [2025-03-08 19:03:13] Production.INFO: call_cost end [2025-03-08 19:03:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:03:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:03:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:03:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:03:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:03:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:03:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:03:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:03:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:03:14] Production.INFO: ==1354== Releasing lock... [2025-03-08 19:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:03:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:03:17] Production.INFO: count ==2646 [2025-03-08 19:03:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:03:05 - End Time 2025-03-08 19:03:05 [2025-03-08 19:03:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637159', 'tblTempUsageDetail_20' ) start [2025-03-08 19:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637159', 'tblTempUsageDetail_20' ) end [2025-03-08 19:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637159', 'tblTempVendorCDR_20' ) start [2025-03-08 19:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637159', 'tblTempVendorCDR_20' ) end [2025-03-08 19:03:18] Production.INFO: ProcessCDR(1,14637159,1,1,2) [2025-03-08 19:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637159', 'tblTempUsageDetail_20' ) start [2025-03-08 19:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637159', 'tblTempUsageDetail_20' ) end [2025-03-08 19:03:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:03:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:03:22] Production.INFO: ==1362== Releasing lock... [2025-03-08 19:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:03:22] Production.INFO: 48 MB #Memory Used# [2025-03-09 00:04:02] Production.INFO: ==1422== Lock acquired, processing the job... [2025-03-09 00:04:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:04:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:04:02] Production.INFO: neon service started [2025-03-09 00:04:02] Production.INFO: neon service started [2025-03-09 00:04:02] Production.INFO: ==1422== Releasing lock... [2025-03-09 00:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:04:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:04:02] Production.INFO: ==1424== Lock acquired, processing the job... [2025-03-08 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:04:02] Production.INFO: ==1424== Releasing lock... [2025-03-08 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:04:03] Production.INFO: ==1426== Lock acquired, processing the job... [2025-03-09 00:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:04:03] Production.INFO: ==1426== Releasing lock... [2025-03-09 00:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:04:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:04:03] Production.INFO: ==1431== Lock acquired, processing the job... [2025-03-08 19:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:04:03] Production.INFO: ==1437== Lock acquired, processing the job... [2025-03-08 19:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:04:04] Production.INFO: ==1429== Lock acquired, processing the job... [2025-03-08 19:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:04:04] Production.INFO: ==1433== Lock acquired, processing the job... [2025-03-08 19:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:04:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:04:04] Production.INFO: ==1435== Lock acquired, processing the job... [2025-03-08 19:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:04:04] Production.INFO: ==1431== Releasing lock... [2025-03-08 19:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:04:04] Production.INFO: ==1439== Lock acquired, processing the job... [2025-03-08 19:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:04:04] Production.ERROR: done [2025-03-08 19:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:04:04] Production.INFO: Account Balance Start. [2025-03-08 19:04:04] Production.INFO: CreateAllLog Start [2025-03-08 19:04:04] Production.INFO: 117 [2025-03-08 19:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:04:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:04:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:04:04] Production.INFO: count ==13 [2025-03-08 19:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:04:04] Production.INFO: count ==21 [2025-03-08 19:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637162') start [2025-03-08 19:04:04] Production.INFO: Total Charge 0 [2025-03-08 19:04:04] Production.INFO: CreateAllLog End [2025-03-08 19:04:04] Production.ERROR: done [2025-03-08 19:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637162') end [2025-03-08 19:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:04:04] Production.INFO: 1 [2025-03-08 19:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:04:04] Production.INFO: ==1439== Releasing lock... [2025-03-08 19:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:04:04] Production.INFO: Account Balance End. [2025-03-08 19:04:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:04:04] Production.INFO: ==1435== Releasing lock... [2025-03-08 19:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:04:05 [end_date_ymd] => 2025-03-08 19:04:05 [RateCDR] => 1 ) [2025-03-08 19:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:04:05' and `end` < '2025-03-08 19:04:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:04: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-08 19:04:11] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:04:11] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:04:11] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:04:11] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:04:11] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:04:11] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:04:11] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:04:11] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:04:11] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:04:11] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:04:11] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:04:11] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:04:11] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:04:11] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:04:12] Production.INFO: call_cost start [2025-03-08 19:04:12] Production.INFO: call_cost end [2025-03-08 19:04:12] Production.ERROR: CronJobId end10 [2025-03-08 19:04:12] Production.INFO: ==1433== Releasing lock... [2025-03-08 19:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:04:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:04:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:04:13] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:04:13] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:04:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:04:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:04:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:04:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:04:13] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:04:13] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:04:13] Production.INFO: ==1429== Releasing lock... [2025-03-08 19:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:04:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:04:17] Production.INFO: count ==2644 [2025-03-08 19:04:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:04:05 - End Time 2025-03-08 19:04:05 [2025-03-08 19:04:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637164', 'tblTempUsageDetail_20' ) start [2025-03-08 19:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637164', 'tblTempUsageDetail_20' ) end [2025-03-08 19:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637164', 'tblTempVendorCDR_20' ) start [2025-03-08 19:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637164', 'tblTempVendorCDR_20' ) end [2025-03-08 19:04:18] Production.INFO: ProcessCDR(1,14637164,1,1,2) [2025-03-08 19:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637164', 'tblTempUsageDetail_20' ) start [2025-03-08 19:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637164', 'tblTempUsageDetail_20' ) end [2025-03-08 19:04:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:04:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:04:22] Production.INFO: ==1437== Releasing lock... [2025-03-08 19:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:04:22] Production.INFO: 48.25 MB #Memory Used# [2025-03-09 00:05:01] Production.INFO: ==1611== Lock acquired, processing the job... [2025-03-09 00:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:05:01] Production.INFO: neon service started [2025-03-09 00:05:01] Production.INFO: neon service started [2025-03-09 00:05:01] Production.INFO: ==1611== Releasing lock... [2025-03-09 00:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:05:02] Production.INFO: ==1613== Lock acquired, processing the job... [2025-03-08 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:05:02] Production.INFO: ==1615== Lock acquired, processing the job... [2025-03-09 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:05:02] Production.INFO: ==1615== Releasing lock... [2025-03-09 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:05:02] Production.INFO: ==1613== Releasing lock... [2025-03-08 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:05:03] Production.INFO: ==1624== Lock acquired, processing the job... [2025-03-08 19:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:05:03] Production.INFO: ==1628== Lock acquired, processing the job... [2025-03-08 19:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:05:03] Production.INFO: Account Balance Start. [2025-03-08 19:05:03] Production.INFO: CreateAllLog Start [2025-03-08 19:05:03] Production.INFO: 117 [2025-03-08 19:05:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:05:03] Production.INFO: Reseller ==> 0 [2025-03-08 19:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:05:03] Production.INFO: ==1618== Lock acquired, processing the job... [2025-03-08 19:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:05:03] Production.INFO: Total Charge 0 [2025-03-08 19:05:03] Production.INFO: CreateAllLog End [2025-03-08 19:05:03] Production.INFO: count ==13 [2025-03-08 19:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:05:03] Production.INFO: ==1620== Lock acquired, processing the job... [2025-03-08 19:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:05:03] Production.INFO: count ==21 [2025-03-08 19:05:03] Production.INFO: ==1622== Lock acquired, processing the job... [2025-03-08 19:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637166') start [2025-03-08 19:05:03] Production.INFO: ==1626== Lock acquired, processing the job... [2025-03-08 19:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:05:03] Production.INFO: Account Balance End. [2025-03-08 19:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:05:03] Production.ERROR: CronJobId end 12 [2025-03-08 19:05:03] Production.INFO: ==1624== Releasing lock... [2025-03-08 19:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:05:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637166') end [2025-03-08 19:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:05:04] Production.INFO: 1 [2025-03-08 19:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:05:04] Production.INFO: ==1628== Releasing lock... [2025-03-08 19:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:05:04] Production.INFO: ==1620== Releasing lock... [2025-03-08 19:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:05:04] Production.ERROR: done [2025-03-08 19:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:05:04] Production.ERROR: done [2025-03-08 19:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:05:05 [end_date_ymd] => 2025-03-08 19:05:05 [RateCDR] => 1 ) [2025-03-08 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-08 16:05:05' and `end` < '2025-03-08 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-08 19:05:12] Production.ERROR: CronJobId end10 [2025-03-08 19:05:12] Production.INFO: ==1622== Releasing lock... [2025-03-08 19:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:05:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:05:14] Production.INFO: call_cost start [2025-03-08 19:05:14] Production.INFO: call_cost end [2025-03-08 19:05:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:05:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:05:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:05:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:05:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:05:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:05:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:05:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:05:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:05:15] Production.INFO: ==1618== Releasing lock... [2025-03-08 19:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:05:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:05:17] Production.INFO: count ==2644 [2025-03-08 19:05:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:05:05 - End Time 2025-03-08 19:05:05 [2025-03-08 19:05:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637169', 'tblTempUsageDetail_20' ) start [2025-03-08 19:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637169', 'tblTempUsageDetail_20' ) end [2025-03-08 19:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637169', 'tblTempVendorCDR_20' ) start [2025-03-08 19:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637169', 'tblTempVendorCDR_20' ) end [2025-03-08 19:05:18] Production.INFO: ProcessCDR(1,14637169,1,1,2) [2025-03-08 19:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637169', 'tblTempUsageDetail_20' ) start [2025-03-08 19:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637169', 'tblTempUsageDetail_20' ) end [2025-03-08 19:05:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:05:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:05:22] Production.INFO: ==1626== Releasing lock... [2025-03-08 19:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:05:22] Production.INFO: 48 MB #Memory Used# [2025-03-09 00:06:02] Production.INFO: ==1688== Lock acquired, processing the job... [2025-03-09 00:06:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:06:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:06:02] Production.INFO: neon service started [2025-03-09 00:06:02] Production.INFO: neon service started [2025-03-09 00:06:02] Production.INFO: ==1688== Releasing lock... [2025-03-09 00:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:06:02] Production.INFO: ==1692== Lock acquired, processing the job... [2025-03-09 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 19:06:02] Production.INFO: ==1690== Lock acquired, processing the job... [2025-03-08 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:06:02] Production.INFO: ==1692== Releasing lock... [2025-03-09 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:06:03] Production.INFO: ==1690== Releasing lock... [2025-03-08 19:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:06:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:06:04] Production.INFO: ==1701== Lock acquired, processing the job... [2025-03-08 19:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:06:04] Production.INFO: ==1703== Lock acquired, processing the job... [2025-03-08 19:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:06:04] Production.INFO: Account Balance Start. [2025-03-08 19:06:04] Production.INFO: CreateAllLog Start [2025-03-08 19:06:04] Production.INFO: 117 [2025-03-08 19:06:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:06:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:06:04] Production.INFO: Total Charge 0 [2025-03-08 19:06:04] Production.INFO: CreateAllLog End [2025-03-08 19:06:04] Production.INFO: ==1695== Lock acquired, processing the job... [2025-03-08 19:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:06:04] Production.INFO: ==1697== Lock acquired, processing the job... [2025-03-08 19:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:06:04] Production.INFO: ==1699== Lock acquired, processing the job... [2025-03-08 19:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:06:04] Production.INFO: ==1705== Lock acquired, processing the job... [2025-03-08 19:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:06:04] Production.ERROR: done [2025-03-08 19:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:06:04] Production.INFO: Account Balance End. [2025-03-08 19:06:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:06:04] Production.INFO: ==1701== Releasing lock... [2025-03-08 19:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:06:04] Production.ERROR: done [2025-03-08 19:06:04] Production.INFO: count ==13 [2025-03-08 19:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:06:04] Production.INFO: count ==21 [2025-03-08 19:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637173') start [2025-03-08 19:06:04] Production.INFO: ==1697== Releasing lock... [2025-03-08 19:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637173') end [2025-03-08 19:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:06:04] Production.INFO: 1 [2025-03-08 19:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:06:04] Production.INFO: ==1705== Releasing lock... [2025-03-08 19:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:06:05 [end_date_ymd] => 2025-03-08 19:06:05 [RateCDR] => 1 ) [2025-03-08 19:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:06:05' and `end` < '2025-03-08 19:06:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:06:14] Production.ERROR: CronJobId end10 [2025-03-08 19:06:14] Production.INFO: ==1699== Releasing lock... [2025-03-08 19:06:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:06:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:06:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:06:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:06:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:06:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:06:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:06:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:06:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:06:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:06:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:06:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:06:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:06:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:06:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:06:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:06:15] Production.INFO: call_cost start [2025-03-08 19:06:15] Production.INFO: call_cost end [2025-03-08 19:06:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:06:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:06:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:06:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:06:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:06:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:06:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:06:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:06:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:06:16] Production.INFO: ==1695== Releasing lock... [2025-03-08 19:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:06:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:06:18] Production.INFO: count ==2645 [2025-03-08 19:06:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:06:05 - End Time 2025-03-08 19:06:05 [2025-03-08 19:06:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637174', 'tblTempUsageDetail_20' ) start [2025-03-08 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637174', 'tblTempUsageDetail_20' ) end [2025-03-08 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637174', 'tblTempVendorCDR_20' ) start [2025-03-08 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637174', 'tblTempVendorCDR_20' ) end [2025-03-08 19:06:19] Production.INFO: ProcessCDR(1,14637174,1,1,2) [2025-03-08 19:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637174', 'tblTempUsageDetail_20' ) start [2025-03-08 19:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637174', 'tblTempUsageDetail_20' ) end [2025-03-08 19:06:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:06:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:06:22] Production.INFO: ==1703== Releasing lock... [2025-03-08 19:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:06:22] Production.INFO: 48 MB #Memory Used# [2025-03-09 00:07:01] Production.INFO: ==1763== Lock acquired, processing the job... [2025-03-09 00:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:07:01] Production.INFO: neon service started [2025-03-09 00:07:01] Production.INFO: neon service started [2025-03-09 00:07:01] Production.INFO: ==1763== Releasing lock... [2025-03-09 00:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:07:02] Production.INFO: ==1767== Lock acquired, processing the job... [2025-03-09 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:07:02] Production.INFO: ==1767== Releasing lock... [2025-03-09 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:07:02] Production.INFO: ==1765== Lock acquired, processing the job... [2025-03-08 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:07:02] Production.INFO: ==1765== Releasing lock... [2025-03-08 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:07:03] Production.INFO: ==1778== Lock acquired, processing the job... [2025-03-08 19:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:07:03] Production.INFO: ==1780== Lock acquired, processing the job... [2025-03-08 19:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:07:03] Production.INFO: ==1770== Lock acquired, processing the job... [2025-03-08 19:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:07:03] Production.INFO: ==1772== Lock acquired, processing the job... [2025-03-08 19:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:07:03] Production.INFO: ==1776== Lock acquired, processing the job... [2025-03-08 19:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:07:03] Production.INFO: ==1774== Lock acquired, processing the job... [2025-03-08 19:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:07:03] Production.INFO: count ==13 [2025-03-08 19:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:07:03] Production.INFO: count ==21 [2025-03-08 19:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637175') start [2025-03-08 19:07:03] Production.INFO: Account Balance Start. [2025-03-08 19:07:03] Production.INFO: CreateAllLog Start [2025-03-08 19:07:03] Production.INFO: 117 [2025-03-08 19:07:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:07:03] Production.INFO: Reseller ==> 0 [2025-03-08 19:07:04] Production.INFO: Total Charge 0 [2025-03-08 19:07:04] Production.ERROR: done [2025-03-08 19:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637175') end [2025-03-08 19:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:07:04] Production.INFO: 1 [2025-03-08 19:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:07:04] Production.INFO: CreateAllLog End [2025-03-08 19:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:07:04] Production.INFO: ==1780== Releasing lock... [2025-03-08 19:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:07:04] Production.INFO: ==1772== Releasing lock... [2025-03-08 19:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:07:04] Production.ERROR: done [2025-03-08 19:07:04] Production.INFO: Account Balance End. [2025-03-08 19:07:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:07:04] Production.INFO: ==1776== Releasing lock... [2025-03-08 19:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:07:05 [end_date_ymd] => 2025-03-08 19:07:05 [RateCDR] => 1 ) [2025-03-08 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-08 16:07:05' and `end` < '2025-03-08 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-08 19:07:12] Production.ERROR: CronJobId end10 [2025-03-08 19:07:12] Production.INFO: ==1774== Releasing lock... [2025-03-08 19:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:07:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:07:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:07:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:07:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:07:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:07:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:07:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:07:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:07:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:07:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:07:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:07:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:07:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:07:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:07:14] Production.INFO: call_cost start [2025-03-08 19:07:14] Production.INFO: call_cost end [2025-03-08 19:07:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:07:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:07:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:07:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:07:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:07:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:07:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:07:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:07:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:07:16] Production.INFO: ==1770== Releasing lock... [2025-03-08 19:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:07:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:07:17] Production.INFO: count ==2646 [2025-03-08 19:07:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:07:05 - End Time 2025-03-08 19:07:05 [2025-03-08 19:07:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637179', 'tblTempUsageDetail_20' ) start [2025-03-08 19:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637179', 'tblTempUsageDetail_20' ) end [2025-03-08 19:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637179', 'tblTempVendorCDR_20' ) start [2025-03-08 19:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637179', 'tblTempVendorCDR_20' ) end [2025-03-08 19:07:18] Production.INFO: ProcessCDR(1,14637179,1,1,2) [2025-03-08 19:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637179', 'tblTempUsageDetail_20' ) start [2025-03-08 19:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637179', 'tblTempUsageDetail_20' ) end [2025-03-08 19:07:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:07:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:07:23] Production.INFO: ==1778== Releasing lock... [2025-03-08 19:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:07:23] Production.INFO: 48 MB #Memory Used# [2025-03-09 00:08:02] Production.INFO: ==1917== Lock acquired, processing the job... [2025-03-09 00:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:08:02] Production.INFO: neon service started [2025-03-09 00:08:02] Production.INFO: neon service started [2025-03-09 00:08:02] Production.INFO: ==1917== Releasing lock... [2025-03-09 00:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:08:02] Production.INFO: ==1919== Lock acquired, processing the job... [2025-03-08 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:08:02] Production.INFO: ==1921== Lock acquired, processing the job... [2025-03-09 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:08:02] Production.INFO: ==1921== Releasing lock... [2025-03-09 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:08:03] Production.INFO: ==1919== Releasing lock... [2025-03-08 19:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:08:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:08:03] Production.INFO: ==1926== Lock acquired, processing the job... [2025-03-08 19:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:08:04] Production.INFO: ==1924== Lock acquired, processing the job... [2025-03-08 19:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:08:04] Production.INFO: ==1930== Lock acquired, processing the job... [2025-03-08 19:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:08:04] Production.INFO: ==1928== Lock acquired, processing the job... [2025-03-08 19:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:08:04] Production.INFO: ==1932== Lock acquired, processing the job... [2025-03-08 19:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:08:04] Production.INFO: Account Balance Start. [2025-03-08 19:08:04] Production.INFO: CreateAllLog Start [2025-03-08 19:08:04] Production.INFO: 117 [2025-03-08 19:08:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:08:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:08:04] Production.INFO: ==1926== Releasing lock... [2025-03-08 19:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:08:04] Production.INFO: ==1934== Lock acquired, processing the job... [2025-03-08 19:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:08:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:08:04] Production.INFO: Total Charge 0 [2025-03-08 19:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:08:04] Production.INFO: CreateAllLog End [2025-03-08 19:08:04] Production.INFO: count ==13 [2025-03-08 19:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:08:04] Production.INFO: count ==21 [2025-03-08 19:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637183') start [2025-03-08 19:08:04] Production.ERROR: done [2025-03-08 19:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637183') end [2025-03-08 19:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:08:04] Production.INFO: 1 [2025-03-08 19:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:08:04] Production.INFO: ==1934== Releasing lock... [2025-03-08 19:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:08:04] Production.ERROR: done [2025-03-08 19:08:05] Production.INFO: Account Balance End. [2025-03-08 19:08:05] Production.ERROR: CronJobId end 12 [2025-03-08 19:08:05] Production.INFO: ==1930== Releasing lock... [2025-03-08 19:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:08:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:08:05 [end_date_ymd] => 2025-03-08 19:08:05 [RateCDR] => 1 ) [2025-03-08 19:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:08:05' and `end` < '2025-03-08 19:08:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:08:11] Production.ERROR: CronJobId end10 [2025-03-08 19:08:11] Production.INFO: ==1928== Releasing lock... [2025-03-08 19:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:08:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:08:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:08:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:08:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:08:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:08:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:08:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:08:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:08:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:08:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:08:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:08:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:08:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:08:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:08:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:08:14] Production.INFO: call_cost start [2025-03-08 19:08:14] Production.INFO: call_cost end [2025-03-08 19:08:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:08:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:08:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:08:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:08:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:08:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:08:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:08:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:08:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:08:15] Production.INFO: ==1924== Releasing lock... [2025-03-08 19:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:08:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:08:18] Production.INFO: count ==2646 [2025-03-08 19:08:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:08:05 - End Time 2025-03-08 19:08:05 [2025-03-08 19:08:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637184', 'tblTempUsageDetail_20' ) start [2025-03-08 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637184', 'tblTempUsageDetail_20' ) end [2025-03-08 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637184', 'tblTempVendorCDR_20' ) start [2025-03-08 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637184', 'tblTempVendorCDR_20' ) end [2025-03-08 19:08:19] Production.INFO: ProcessCDR(1,14637184,1,1,2) [2025-03-08 19:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637184', 'tblTempUsageDetail_20' ) start [2025-03-08 19:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637184', 'tblTempUsageDetail_20' ) end [2025-03-08 19:08:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:08:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:08:22] Production.INFO: ==1932== Releasing lock... [2025-03-08 19:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:08:22] Production.INFO: 48 MB #Memory Used# [2025-03-09 00:09:01] Production.INFO: ==1988== Lock acquired, processing the job... [2025-03-09 00:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:09:01] Production.INFO: neon service started [2025-03-09 00:09:01] Production.INFO: neon service started [2025-03-09 00:09:01] Production.INFO: ==1988== Releasing lock... [2025-03-09 00:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:09:02] Production.INFO: ==1990== Lock acquired, processing the job... [2025-03-08 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:09:02] Production.INFO: ==1992== Lock acquired, processing the job... [2025-03-09 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:09:02] Production.INFO: ==1992== Releasing lock... [2025-03-09 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:09:02] Production.INFO: ==1990== Releasing lock... [2025-03-08 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:09:03] Production.INFO: ==1996== Lock acquired, processing the job... [2025-03-08 19:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:09:03] Production.INFO: ==2002== Lock acquired, processing the job... [2025-03-08 19:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:09:03] Production.INFO: ==2004== Lock acquired, processing the job... [2025-03-08 19:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:09:03] Production.INFO: Account Balance Start. [2025-03-08 19:09:03] Production.INFO: CreateAllLog Start [2025-03-08 19:09:03] Production.INFO: 117 [2025-03-08 19:09:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:09:03] Production.INFO: Reseller ==> 0 [2025-03-08 19:09:03] Production.INFO: Total Charge 0 [2025-03-08 19:09:03] Production.INFO: CreateAllLog End [2025-03-08 19:09:03] Production.INFO: ==1998== Lock acquired, processing the job... [2025-03-08 19:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:09:03] Production.INFO: ==2000== Lock acquired, processing the job... [2025-03-08 19:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:09:03] Production.INFO: ==2006== Lock acquired, processing the job... [2025-03-08 19:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:09:03] Production.INFO: count ==13 [2025-03-08 19:09:03] Production.ERROR: done [2025-03-08 19:09:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:09:03] Production.INFO: Account Balance End. [2025-03-08 19:09:03] Production.ERROR: CronJobId end 12 [2025-03-08 19:09:04] Production.INFO: ==2002== Releasing lock... [2025-03-08 19:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:09:04] Production.INFO: count ==21 [2025-03-08 19:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637188') start [2025-03-08 19:09:04] Production.INFO: ==1998== Releasing lock... [2025-03-08 19:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:09:04] Production.ERROR: done [2025-03-08 19:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637188') end [2025-03-08 19:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:09:04] Production.INFO: 1 [2025-03-08 19:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:09:04] Production.INFO: ==2006== Releasing lock... [2025-03-08 19:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:09:05 [end_date_ymd] => 2025-03-08 19:09:05 [RateCDR] => 1 ) [2025-03-08 19:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:09:05' and `end` < '2025-03-08 19:09:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:09:12] Production.ERROR: CronJobId end10 [2025-03-08 19:09:12] Production.INFO: ==2000== Releasing lock... [2025-03-08 19:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:09:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:09:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:09:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:09:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:09:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:09:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:09:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:09:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:09:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:09:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:09:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:09:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:09:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:09:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:09:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:09:13] Production.INFO: call_cost start [2025-03-08 19:09:13] Production.INFO: call_cost end [2025-03-08 19:09:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:09:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:09:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:09:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:09:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:09:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:09:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:09:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:09:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:09:14] Production.INFO: ==1996== Releasing lock... [2025-03-08 19:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:09:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:09:17] Production.INFO: count ==2649 [2025-03-08 19:09:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:09:05 - End Time 2025-03-08 19:09:05 [2025-03-08 19:09:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637189', 'tblTempUsageDetail_20' ) start [2025-03-08 19:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637189', 'tblTempUsageDetail_20' ) end [2025-03-08 19:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637189', 'tblTempVendorCDR_20' ) start [2025-03-08 19:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637189', 'tblTempVendorCDR_20' ) end [2025-03-08 19:09:19] Production.INFO: ProcessCDR(1,14637189,1,1,2) [2025-03-08 19:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637189', 'tblTempUsageDetail_20' ) start [2025-03-08 19:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637189', 'tblTempUsageDetail_20' ) end [2025-03-08 19:09:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:09:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:09:22] Production.INFO: ==2004== Releasing lock... [2025-03-08 19:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:09:22] Production.INFO: 48 MB #Memory Used# [2025-03-09 00:10:01] Production.INFO: ==2060== Lock acquired, processing the job... [2025-03-09 00:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:10:02] Production.INFO: neon service started [2025-03-09 00:10:02] Production.INFO: neon service started [2025-03-09 00:10:02] Production.INFO: ==2060== Releasing lock... [2025-03-09 00:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:10:02] Production.INFO: ==2062== Lock acquired, processing the job... [2025-03-08 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:10:02] Production.INFO: ==2064== Lock acquired, processing the job... [2025-03-09 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 19:10:02] Production.INFO: ==2062== Releasing lock... [2025-03-08 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:10:02] Production.INFO: ==2064== Releasing lock... [2025-03-09 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:10:03] Production.INFO: ==2074== Lock acquired, processing the job... [2025-03-08 19:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:10:04] Production.INFO: ==2078== Lock acquired, processing the job... [2025-03-08 19:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 19:10:04] Production.INFO: ==2080== Lock acquired, processing the job... [2025-03-08 19:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:10:04] Production.INFO: ==2066== Lock acquired, processing the job... [2025-03-08 19:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 19:10:04] Production.INFO: Account Balance Start. [2025-03-08 19:10:04] Production.INFO: CreateAllLog Start [2025-03-08 19:10:04] Production.INFO: 117 [2025-03-08 19:10:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:10:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:10:04] Production.INFO: ==2068== Lock acquired, processing the job... [2025-03-08 19:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:10:04] Production.INFO: ==2070== Lock acquired, processing the job... [2025-03-08 19:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:10:04] Production.INFO: Total Charge 0 [2025-03-08 19:10:04] Production.INFO: CreateAllLog End [2025-03-08 19:10:04] Production.INFO: count ==13 [2025-03-08 19:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:10:04] Production.INFO: ==2072== Lock acquired, processing the job... [2025-03-08 19:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:10:04] Production.INFO: count ==21 [2025-03-08 19:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637191') start [2025-03-08 19:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 19:10:04] Production.INFO: ==2076== Lock acquired, processing the job... [2025-03-08 19:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 19:10:04] Production.ERROR: CronJob PID - 2068 [2025-03-08 19:10:04] Production.ERROR: CronJob Title - System Alerts [2025-03-08 19:10:04] Production.ERROR: CronJob ID - 5 [2025-03-08 19:10:04] Production.ERROR: CronJob Last Run Time 2025-03-08 19:10:00 [2025-03-08 19:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 19:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 19:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 19:10:04] Production.ERROR: CronJob PID - 2070 [2025-03-08 19:10:04] Production.ERROR: CronJob Title - Account Block [2025-03-08 19:10:04] Production.ERROR: CronJob ID - 7 [2025-03-08 19:10:04] Production.ERROR: CronJob Last Run Time 2025-03-08 19:10:00 [2025-03-08 19:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 19:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 19:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 19:10:04] Production.ERROR: CronJob PID - 2072 [2025-03-08 19:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-08 19:10:04] Production.ERROR: CronJob ID - 10 [2025-03-08 19:10:04] Production.ERROR: CronJob Last Run Time 2025-03-08 19:10:00 [2025-03-08 19:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 19:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 19:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 19:10:04] Production.ERROR: CronJob PID - 2074 [2025-03-08 19:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-08 19:10:04] Production.ERROR: CronJob ID - 12 [2025-03-08 19:10:04] Production.ERROR: CronJob Last Run Time 2025-03-08 19:10:00 [2025-03-08 19:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 19:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 19:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 19:10:04] Production.ERROR: CronJob PID - 2078 [2025-03-08 19:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-08 19:10:04] Production.ERROR: CronJob ID - 17 [2025-03-08 19:10:04] Production.ERROR: CronJob Last Run Time 2025-03-08 19:10:00 [2025-03-08 19:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 19:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 19:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 19:10:04] Production.ERROR: CronJob PID - 2080 [2025-03-08 19:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-08 19:10:04] Production.ERROR: CronJob ID - 19 [2025-03-08 19:10:04] Production.ERROR: CronJob Last Run Time 2025-03-08 19:10:00 [2025-03-08 19:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 19:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 19:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 19:10:04] Production.INFO: ==2066== Releasing lock... [2025-03-08 19:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 19:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 19:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637191') end [2025-03-08 19:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:10:04] Production.INFO: 1 [2025-03-08 19:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:10:04] Production.INFO: ==2080== Releasing lock... [2025-03-08 19:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:10:04] Production.ERROR: done [2025-03-08 19:10:04] Production.INFO: Account Balance End. [2025-03-08 19:10:04] Production.INFO: ==2070== Releasing lock... [2025-03-08 19:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 19:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637194', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 19:10:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:10:04] Production.INFO: ==2074== Releasing lock... [2025-03-08 19:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:10:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:10:04] Production.ERROR: done [2025-03-08 19:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:10:05] Production.ERROR: done [2025-03-08 19:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:10:06 [end_date_ymd] => 2025-03-08 19:10:06 [RateCDR] => 1 ) [2025-03-08 19:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:10:06' and `end` < '2025-03-08 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-08 19:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637194', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 19:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 19:10:09] Production.INFO: ProcessCDR(1,14637194,1,1,2) [2025-03-08 19:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14637194,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14637194,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:10:09] Production.INFO: ==2078== Releasing lock... [2025-03-08 19:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 19:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-08 19:10:13] Production.ERROR: CronJobId end10 [2025-03-08 19:10:13] Production.INFO: ==2072== Releasing lock... [2025-03-08 19:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:10:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:10:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:10:16] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:10:16] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:10:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:10:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:10:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:10:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:10:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:10:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:10:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:10:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:10:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:10:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:10:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:10:16] Production.INFO: call_cost start [2025-03-08 19:10:16] Production.INFO: call_cost end [2025-03-08 19:10:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:10:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:10:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:10:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:10:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:10:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:10:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:10:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:10:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:10:17] Production.INFO: ==2068== Releasing lock... [2025-03-08 19:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:10:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:10:18] Production.INFO: count ==2650 [2025-03-08 19:10:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:10:06 - End Time 2025-03-08 19:10:06 [2025-03-08 19:10:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637195', 'tblTempUsageDetail_20' ) start [2025-03-08 19:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637195', 'tblTempUsageDetail_20' ) end [2025-03-08 19:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637195', 'tblTempVendorCDR_20' ) start [2025-03-08 19:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637195', 'tblTempVendorCDR_20' ) end [2025-03-08 19:10:19] Production.INFO: ProcessCDR(1,14637195,1,1,2) [2025-03-08 19:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637195', 'tblTempUsageDetail_20' ) start [2025-03-08 19:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637195', 'tblTempUsageDetail_20' ) end [2025-03-08 19:10:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:10:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:10:22] Production.INFO: ==2076== Releasing lock... [2025-03-08 19:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:10:22] Production.INFO: 48 MB #Memory Used# [2025-03-09 00:11:01] Production.INFO: ==2136== Lock acquired, processing the job... [2025-03-09 00:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:11:01] Production.INFO: neon service started [2025-03-09 00:11:01] Production.INFO: neon service started [2025-03-09 00:11:01] Production.INFO: ==2136== Releasing lock... [2025-03-09 00:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:11:01] Production.INFO: ==2140== Lock acquired, processing the job... [2025-03-09 00:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:11:01] Production.INFO: ==2140== Releasing lock... [2025-03-09 00:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:11:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:11:02] Production.INFO: ==2138== Lock acquired, processing the job... [2025-03-08 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:11:02] Production.INFO: ==2138== Releasing lock... [2025-03-08 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:11:03] Production.INFO: ==2146== Lock acquired, processing the job... [2025-03-08 19:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:11:03] Production.INFO: ==2150== Lock acquired, processing the job... [2025-03-08 19:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:11:03] Production.INFO: ==2142== Lock acquired, processing the job... [2025-03-08 19:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:11:03] Production.INFO: ==2144== Lock acquired, processing the job... [2025-03-08 19:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:11:03] Production.INFO: ==2148== Lock acquired, processing the job... [2025-03-08 19:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:11:03] Production.INFO: ==2153== Lock acquired, processing the job... [2025-03-08 19:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 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-08 19:11:03] Production.INFO: Account Balance Start. [2025-03-08 19:11:03] Production.INFO: CreateAllLog Start [2025-03-08 19:11:03] Production.INFO: 117 [2025-03-08 19:11:03] Production.INFO: count ==13 [2025-03-08 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-08 19:11:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:11:03] Production.ERROR: done [2025-03-08 19:11:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:11:03] Production.INFO: count ==21 [2025-03-08 19:11:03] Production.INFO: Reseller ==> 0 [2025-03-08 19:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637199') start [2025-03-08 19:11:03] Production.INFO: Total Charge 0 [2025-03-08 19:11:03] Production.INFO: CreateAllLog End [2025-03-08 19:11:03] Production.ERROR: done [2025-03-08 19:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637199') end [2025-03-08 19:11:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:11:03] Production.INFO: 1 [2025-03-08 19:11:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:11:03] Production.INFO: ==2144== Releasing lock... [2025-03-08 19:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:11:04] Production.INFO: ==2153== Releasing lock... [2025-03-08 19:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:11:04] Production.INFO: Account Balance End. [2025-03-08 19:11:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:11:04] Production.INFO: ==2148== Releasing lock... [2025-03-08 19:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:11:05 [end_date_ymd] => 2025-03-08 19:11:05 [RateCDR] => 1 ) [2025-03-08 19:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:11:05' and `end` < '2025-03-08 19:11:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:11:12] Production.ERROR: CronJobId end10 [2025-03-08 19:11:12] Production.INFO: ==2146== Releasing lock... [2025-03-08 19:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:11:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:11:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:11:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:11:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:11:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:11:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:11:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:11:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:11:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:11:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:11:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:11:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:11:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:11:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:11:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:11:14] Production.INFO: call_cost start [2025-03-08 19:11:14] Production.INFO: call_cost end [2025-03-08 19:11:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:11:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:11:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:11:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:11:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:11:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:11:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:11:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:11:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:11:15] Production.INFO: ==2142== Releasing lock... [2025-03-08 19:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:11:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:11:17] Production.INFO: count ==2667 [2025-03-08 19:11:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:11:05 - End Time 2025-03-08 19:11:05 [2025-03-08 19:11:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637200', 'tblTempUsageDetail_20' ) start [2025-03-08 19:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637200', 'tblTempUsageDetail_20' ) end [2025-03-08 19:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637200', 'tblTempVendorCDR_20' ) start [2025-03-08 19:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637200', 'tblTempVendorCDR_20' ) end [2025-03-08 19:11:18] Production.INFO: ProcessCDR(1,14637200,1,1,2) [2025-03-08 19:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637200', 'tblTempUsageDetail_20' ) start [2025-03-08 19:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637200', 'tblTempUsageDetail_20' ) end [2025-03-08 19:11:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:11:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:11:23] Production.INFO: ==2150== Releasing lock... [2025-03-08 19:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:11:23] Production.INFO: 48 MB #Memory Used# [2025-03-09 00:12:01] Production.INFO: ==2300== Lock acquired, processing the job... [2025-03-09 00:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:12:01] Production.INFO: neon service started [2025-03-09 00:12:01] Production.INFO: neon service started [2025-03-09 00:12:01] Production.INFO: ==2300== Releasing lock... [2025-03-09 00:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:12:02] Production.INFO: ==2303== Lock acquired, processing the job... [2025-03-08 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:12:02] Production.INFO: ==2305== Lock acquired, processing the job... [2025-03-09 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:12:02] Production.INFO: ==2305== Releasing lock... [2025-03-09 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:12:02] Production.INFO: ==2303== Releasing lock... [2025-03-08 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:12:03] Production.INFO: ==2307== Lock acquired, processing the job... [2025-03-08 19:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:12:03] Production.INFO: ==2311== Lock acquired, processing the job... [2025-03-08 19:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:12:03] Production.INFO: ==2315== Lock acquired, processing the job... [2025-03-08 19:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:12:03] Production.INFO: ==2309== Lock acquired, processing the job... [2025-03-08 19:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:12:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:12:03] Production.INFO: ==2313== Lock acquired, processing the job... [2025-03-08 19:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:12:04] Production.INFO: ==2317== Lock acquired, processing the job... [2025-03-08 19:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:12:04] Production.INFO: Account Balance Start. [2025-03-08 19:12:04] Production.INFO: CreateAllLog Start [2025-03-08 19:12:04] Production.INFO: 117 [2025-03-08 19:12:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:12:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:12:04] Production.INFO: Total Charge 0 [2025-03-08 19:12:04] Production.INFO: CreateAllLog End [2025-03-08 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-08 19:12:04] Production.INFO: count ==13 [2025-03-08 19:12:04] Production.ERROR: done [2025-03-08 19:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 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-08 19:12:04] Production.INFO: count ==21 [2025-03-08 19:12:04] Production.INFO: ==2309== Releasing lock... [2025-03-08 19:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637204') start [2025-03-08 19:12:04] Production.ERROR: done [2025-03-08 19:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637204') end [2025-03-08 19:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:12:04] Production.INFO: 1 [2025-03-08 19:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:12:04] Production.INFO: ==2317== Releasing lock... [2025-03-08 19:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:12:04] Production.INFO: Account Balance End. [2025-03-08 19:12:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:12:04] Production.INFO: ==2313== Releasing lock... [2025-03-08 19:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:12:05 [end_date_ymd] => 2025-03-08 19:12:05 [RateCDR] => 1 ) [2025-03-08 19:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:12:05' and `end` < '2025-03-08 19:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:12:11] Production.ERROR: CronJobId end10 [2025-03-08 19:12:11] Production.INFO: ==2311== Releasing lock... [2025-03-08 19:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:12:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:12:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:12:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:12:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:12:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:12:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:12:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:12:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:12:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:12:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:12:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:12:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:12:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:12:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:12:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:12:14] Production.INFO: call_cost start [2025-03-08 19:12:14] Production.INFO: call_cost end [2025-03-08 19:12:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:12:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:12:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:12:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:12:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:12:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:12:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:12:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:12:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:12:15] Production.INFO: ==2307== Releasing lock... [2025-03-08 19:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:12:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:12:18] Production.INFO: count ==2667 [2025-03-08 19:12:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:12:05 - End Time 2025-03-08 19:12:05 [2025-03-08 19:12:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637205', 'tblTempUsageDetail_20' ) start [2025-03-08 19:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637205', 'tblTempUsageDetail_20' ) end [2025-03-08 19:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637205', 'tblTempVendorCDR_20' ) start [2025-03-08 19:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637205', 'tblTempVendorCDR_20' ) end [2025-03-08 19:12:19] Production.INFO: ProcessCDR(1,14637205,1,1,2) [2025-03-08 19:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637205', 'tblTempUsageDetail_20' ) start [2025-03-08 19:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637205', 'tblTempUsageDetail_20' ) end [2025-03-08 19:12:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:12:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:12:22] Production.INFO: ==2315== Releasing lock... [2025-03-08 19:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:12:22] Production.INFO: 48 MB #Memory Used# [2025-03-09 00:13:02] Production.INFO: ==2372== Lock acquired, processing the job... [2025-03-09 00:13:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:13:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:13:02] Production.INFO: neon service started [2025-03-09 00:13:02] Production.INFO: neon service started [2025-03-09 00:13:02] Production.INFO: ==2372== Releasing lock... [2025-03-09 00:13:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:13:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:13:02] Production.INFO: ==2374== Lock acquired, processing the job... [2025-03-08 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:13:02] Production.INFO: ==2374== Releasing lock... [2025-03-08 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:13:02] Production.INFO: ==2376== Lock acquired, processing the job... [2025-03-09 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:13:03] Production.INFO: ==2376== Releasing lock... [2025-03-09 00:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:13:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:13:03] Production.INFO: ==2378== Lock acquired, processing the job... [2025-03-08 19:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:13:03] Production.INFO: ==2389== Lock acquired, processing the job... [2025-03-08 19:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:13:03] Production.INFO: ==2385== Lock acquired, processing the job... [2025-03-08 19:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:13:03] Production.INFO: ==2381== Lock acquired, processing the job... [2025-03-08 19:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 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-08 19:13:04] Production.INFO: Account Balance Start. [2025-03-08 19:13:04] Production.INFO: CreateAllLog Start [2025-03-08 19:13:04] Production.INFO: 117 [2025-03-08 19:13:04] Production.INFO: count ==13 [2025-03-08 19:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:13:04] Production.INFO: count ==21 [2025-03-08 19:13:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:13:04] Production.INFO: ==2383== Lock acquired, processing the job... [2025-03-08 19:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:13:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637208') start [2025-03-08 19:13:04] Production.INFO: ==2387== Lock acquired, processing the job... [2025-03-08 19:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:13:04] Production.INFO: Total Charge 0 [2025-03-08 19:13:04] Production.INFO: CreateAllLog End [2025-03-08 19:13:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637208') end [2025-03-08 19:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:13:04] Production.INFO: 1 [2025-03-08 19:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:13:04] Production.INFO: ==2381== Releasing lock... [2025-03-08 19:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:13:04] Production.INFO: ==2389== Releasing lock... [2025-03-08 19:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:13:04] Production.INFO: Account Balance End. [2025-03-08 19:13:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:13:04] Production.INFO: ==2385== Releasing lock... [2025-03-08 19:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:13:04] Production.ERROR: done [2025-03-08 19:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:13:04] Production.ERROR: done [2025-03-08 19:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:13:05 [end_date_ymd] => 2025-03-08 19:13:05 [RateCDR] => 1 ) [2025-03-08 19:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:13:05' and `end` < '2025-03-08 19:13:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:13:11] Production.ERROR: CronJobId end10 [2025-03-08 19:13:11] Production.INFO: ==2383== Releasing lock... [2025-03-08 19:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:13:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:13:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:13:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:13:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:13:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:13:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:13:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:13:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:13:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:13:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:13:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:13:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:13:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:13:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:13:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:13:14] Production.INFO: call_cost start [2025-03-08 19:13:14] Production.INFO: call_cost end [2025-03-08 19:13:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:13:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:13:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:13:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:13:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:13:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:13:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:13:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:13:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:13:15] Production.INFO: ==2378== Releasing lock... [2025-03-08 19:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:13:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:13:18] Production.INFO: count ==2665 [2025-03-08 19:13:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:13:05 - End Time 2025-03-08 19:13:05 [2025-03-08 19:13:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637210', 'tblTempUsageDetail_20' ) start [2025-03-08 19:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637210', 'tblTempUsageDetail_20' ) end [2025-03-08 19:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637210', 'tblTempVendorCDR_20' ) start [2025-03-08 19:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637210', 'tblTempVendorCDR_20' ) end [2025-03-08 19:13:18] Production.INFO: ProcessCDR(1,14637210,1,1,2) [2025-03-08 19:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637210', 'tblTempUsageDetail_20' ) start [2025-03-08 19:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637210', 'tblTempUsageDetail_20' ) end [2025-03-08 19:13:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:13:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:13:22] Production.INFO: ==2387== Releasing lock... [2025-03-08 19:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:13:22] Production.INFO: 48.25 MB #Memory Used# [2025-03-09 00:14:01] Production.INFO: ==2444== Lock acquired, processing the job... [2025-03-09 00:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:14:01] Production.INFO: neon service started [2025-03-09 00:14:01] Production.INFO: neon service started [2025-03-09 00:14:01] Production.INFO: ==2444== Releasing lock... [2025-03-09 00:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:14:02] Production.INFO: ==2446== Lock acquired, processing the job... [2025-03-08 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:14:02] Production.INFO: ==2448== Lock acquired, processing the job... [2025-03-09 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:14:02] Production.INFO: ==2448== Releasing lock... [2025-03-09 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:14:02] Production.INFO: ==2446== Releasing lock... [2025-03-08 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:14:03] Production.INFO: ==2455== Lock acquired, processing the job... [2025-03-08 19:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:14:03] Production.INFO: ==2461== Lock acquired, processing the job... [2025-03-08 19:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:14:03] Production.INFO: ==2451== Lock acquired, processing the job... [2025-03-08 19:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:14:03] Production.INFO: count ==13 [2025-03-08 19:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:14:03] Production.INFO: count ==21 [2025-03-08 19:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637211') start [2025-03-08 19:14:03] Production.INFO: ==2453== Lock acquired, processing the job... [2025-03-08 19:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:14:03] Production.INFO: ==2457== Lock acquired, processing the job... [2025-03-08 19:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:14:03] Production.INFO: ==2459== Lock acquired, processing the job... [2025-03-08 19:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:14:03] Production.INFO: Account Balance Start. [2025-03-08 19:14:03] Production.INFO: CreateAllLog Start [2025-03-08 19:14:03] Production.INFO: 117 [2025-03-08 19:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637211') end [2025-03-08 19:14:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:14:03] Production.INFO: 1 [2025-03-08 19:14:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:14:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:14:03] Production.INFO: Reseller ==> 0 [2025-03-08 19:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:14:03] Production.INFO: ==2461== Releasing lock... [2025-03-08 19:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:14:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:14:03] Production.INFO: Total Charge 0 [2025-03-08 19:14:04] Production.INFO: CreateAllLog End [2025-03-08 19:14:04] Production.INFO: ==2453== Releasing lock... [2025-03-08 19:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:14:04] Production.INFO: Account Balance End. [2025-03-08 19:14:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:14:04] Production.INFO: ==2457== Releasing lock... [2025-03-08 19:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:14:04] Production.ERROR: done [2025-03-08 19:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:14:04] Production.ERROR: done [2025-03-08 19:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:14:05 [end_date_ymd] => 2025-03-08 19:14:05 [RateCDR] => 1 ) [2025-03-08 19:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:14:05' and `end` < '2025-03-08 19:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:14:12] Production.ERROR: CronJobId end10 [2025-03-08 19:14:12] Production.INFO: ==2455== Releasing lock... [2025-03-08 19:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:14:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:14:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:14:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:14:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:14:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:14:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:14:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:14:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:14:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:14:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:14:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:14:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:14:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:14:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:14:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:14:14] Production.INFO: call_cost start [2025-03-08 19:14:14] Production.INFO: call_cost end [2025-03-08 19:14:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:14:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:14:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:14:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:14:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:14:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:14:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:14:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:14:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:14:15] Production.INFO: ==2451== Releasing lock... [2025-03-08 19:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:14:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:14:18] Production.INFO: count ==2667 [2025-03-08 19:14:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:14:05 - End Time 2025-03-08 19:14:05 [2025-03-08 19:14:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637215', 'tblTempUsageDetail_20' ) start [2025-03-08 19:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637215', 'tblTempUsageDetail_20' ) end [2025-03-08 19:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637215', 'tblTempVendorCDR_20' ) start [2025-03-08 19:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637215', 'tblTempVendorCDR_20' ) end [2025-03-08 19:14:18] Production.INFO: ProcessCDR(1,14637215,1,1,2) [2025-03-08 19:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637215', 'tblTempUsageDetail_20' ) start [2025-03-08 19:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637215', 'tblTempUsageDetail_20' ) end [2025-03-08 19:14:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:14:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:14:22] Production.INFO: ==2459== Releasing lock... [2025-03-08 19:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:14:22] Production.INFO: 48 MB #Memory Used# [2025-03-09 00:15:02] Production.INFO: ==2595== Lock acquired, processing the job... [2025-03-09 00:15:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:15:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:15:02] Production.INFO: neon service started [2025-03-09 00:15:02] Production.INFO: neon service started [2025-03-09 00:15:02] Production.INFO: ==2595== Releasing lock... [2025-03-09 00:15:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:15:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:15:02] Production.INFO: ==2599== Lock acquired, processing the job... [2025-03-09 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 19:15:02] Production.INFO: ==2597== Lock acquired, processing the job... [2025-03-08 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:15:02] Production.INFO: ==2599== Releasing lock... [2025-03-09 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:15:03] Production.INFO: ==2597== Releasing lock... [2025-03-08 19:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:15:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:15:03] Production.INFO: ==2604== Lock acquired, processing the job... [2025-03-08 19:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:15:03] Production.INFO: ==2608== Lock acquired, processing the job... [2025-03-08 19:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:15:04] Production.INFO: Account Balance Start. [2025-03-08 19:15:04] Production.INFO: CreateAllLog Start [2025-03-08 19:15:04] Production.INFO: 117 [2025-03-08 19:15:04] Production.INFO: ==2612== Lock acquired, processing the job... [2025-03-08 19:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:15:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:15:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:15:04] Production.INFO: Total Charge 0 [2025-03-08 19:15:04] Production.INFO: CreateAllLog End [2025-03-08 19:15:04] Production.INFO: ==2610== Lock acquired, processing the job... [2025-03-08 19:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:15:04] Production.INFO: ==2602== Lock acquired, processing the job... [2025-03-08 19:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:15:04] Production.INFO: ==2606== Lock acquired, processing the job... [2025-03-08 19:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:15:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:15:04] Production.INFO: count ==13 [2025-03-08 19:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:15:04] Production.INFO: ==2604== Releasing lock... [2025-03-08 19:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:15:04] Production.INFO: count ==21 [2025-03-08 19:15:04] Production.INFO: Account Balance End. [2025-03-08 19:15:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:15:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:15:04] Production.INFO: ==2608== Releasing lock... [2025-03-08 19:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637218') start [2025-03-08 19:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637218') end [2025-03-08 19:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:15:04] Production.INFO: 1 [2025-03-08 19:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:15:04] Production.INFO: ==2612== Releasing lock... [2025-03-08 19:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:15:04] Production.ERROR: done [2025-03-08 19:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:15:05] Production.ERROR: done [2025-03-08 19:15:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:15:06 [end_date_ymd] => 2025-03-08 19:15:06 [RateCDR] => 1 ) [2025-03-08 19:15:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:15:06' and `end` < '2025-03-08 19:15:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:15:11] Production.ERROR: CronJobId end10 [2025-03-08 19:15:11] Production.INFO: ==2606== Releasing lock... [2025-03-08 19:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:15:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:15:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:15:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:15:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:15:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:15:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:15:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:15:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:15:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:15:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:15:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:15:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:15:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:15:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:15:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:15:14] Production.INFO: call_cost start [2025-03-08 19:15:14] Production.INFO: call_cost end [2025-03-08 19:15:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:15:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:15:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:15:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:15:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:15:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:15:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:15:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:15:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:15:15] Production.INFO: ==2602== Releasing lock... [2025-03-08 19:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:15:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:15:18] Production.INFO: count ==2665 [2025-03-08 19:15:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:15:06 - End Time 2025-03-08 19:15:06 [2025-03-08 19:15:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637220', 'tblTempUsageDetail_20' ) start [2025-03-08 19:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637220', 'tblTempUsageDetail_20' ) end [2025-03-08 19:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637220', 'tblTempVendorCDR_20' ) start [2025-03-08 19:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637220', 'tblTempVendorCDR_20' ) end [2025-03-08 19:15:19] Production.INFO: ProcessCDR(1,14637220,1,1,2) [2025-03-08 19:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637220', 'tblTempUsageDetail_20' ) start [2025-03-08 19:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637220', 'tblTempUsageDetail_20' ) end [2025-03-08 19:15:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:15:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:15:22] Production.INFO: ==2610== Releasing lock... [2025-03-08 19:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:15:22] Production.INFO: 48 MB #Memory Used# [2025-03-09 00:16:01] Production.INFO: ==2667== Lock acquired, processing the job... [2025-03-09 00:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:16:01] Production.INFO: neon service started [2025-03-09 00:16:01] Production.INFO: neon service started [2025-03-09 00:16:01] Production.INFO: ==2667== Releasing lock... [2025-03-09 00:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:16:02] Production.INFO: ==2669== Lock acquired, processing the job... [2025-03-08 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:16:02] Production.INFO: ==2669== Releasing lock... [2025-03-08 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:16:02] Production.INFO: ==2671== Lock acquired, processing the job... [2025-03-09 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:16:02] Production.INFO: ==2671== Releasing lock... [2025-03-09 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:16:03] Production.INFO: ==2673== Lock acquired, processing the job... [2025-03-08 19:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:16:03] Production.INFO: ==2677== Lock acquired, processing the job... [2025-03-08 19:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:16:03] Production.INFO: ==2679== Lock acquired, processing the job... [2025-03-08 19:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:16:03] Production.INFO: ==2675== Lock acquired, processing the job... [2025-03-08 19:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:16:03] Production.INFO: Account Balance Start. [2025-03-08 19:16:03] Production.INFO: CreateAllLog Start [2025-03-08 19:16:03] Production.INFO: 117 [2025-03-08 19:16:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:16:03] Production.INFO: Reseller ==> 0 [2025-03-08 19:16:03] Production.INFO: Total Charge 0 [2025-03-08 19:16:03] Production.INFO: CreateAllLog End [2025-03-08 19:16:03] Production.INFO: ==2681== Lock acquired, processing the job... [2025-03-08 19:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:16:03] Production.INFO: ==2684== Lock acquired, processing the job... [2025-03-08 19:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:16:03] Production.INFO: Account Balance End. [2025-03-08 19:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:16:03] Production.ERROR: CronJobId end 12 [2025-03-08 19:16:03] Production.INFO: ==2679== Releasing lock... [2025-03-08 19:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:16:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:16:03] Production.INFO: count ==13 [2025-03-08 19:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:16:03] Production.INFO: count ==21 [2025-03-08 19:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637224') start [2025-03-08 19:16:03] Production.INFO: ==2675== Releasing lock... [2025-03-08 19:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:16:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637224') end [2025-03-08 19:16:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:16:03] Production.INFO: 1 [2025-03-08 19:16:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:16:03] Production.INFO: ==2684== Releasing lock... [2025-03-08 19:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:16:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:16:04] Production.ERROR: done [2025-03-08 19:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:16:04] Production.ERROR: done [2025-03-08 19:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:16:05 [end_date_ymd] => 2025-03-08 19:16:05 [RateCDR] => 1 ) [2025-03-08 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-08 16:16:05' and `end` < '2025-03-08 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-08 19:16:12] Production.ERROR: CronJobId end10 [2025-03-08 19:16:12] Production.INFO: ==2677== Releasing lock... [2025-03-08 19:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:16:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:16:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:16:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:16:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:16:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:16:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:16:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:16:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:16:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:16:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:16:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:16:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:16:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:16:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:16:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:16:13] Production.INFO: call_cost start [2025-03-08 19:16:14] Production.INFO: call_cost end [2025-03-08 19:16:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:16:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:16:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:16:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:16:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:16:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:16:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:16:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:16:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:16:14] Production.INFO: ==2673== Releasing lock... [2025-03-08 19:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:16:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:16:17] Production.INFO: count ==2670 [2025-03-08 19:16:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:16:05 - End Time 2025-03-08 19:16:05 [2025-03-08 19:16:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637225', 'tblTempUsageDetail_20' ) start [2025-03-08 19:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637225', 'tblTempUsageDetail_20' ) end [2025-03-08 19:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637225', 'tblTempVendorCDR_20' ) start [2025-03-08 19:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637225', 'tblTempVendorCDR_20' ) end [2025-03-08 19:16:18] Production.INFO: ProcessCDR(1,14637225,1,1,2) [2025-03-08 19:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637225', 'tblTempUsageDetail_20' ) start [2025-03-08 19:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637225', 'tblTempUsageDetail_20' ) end [2025-03-08 19:16:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:16:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:16:21] Production.INFO: ==2681== Releasing lock... [2025-03-08 19:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:16:21] Production.INFO: 48 MB #Memory Used# [2025-03-09 00:17:02] Production.INFO: ==2780== Lock acquired, processing the job... [2025-03-09 00:17:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:17:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:17:02] Production.INFO: neon service started [2025-03-09 00:17:02] Production.INFO: neon service started [2025-03-09 00:17:02] Production.INFO: ==2780== Releasing lock... [2025-03-09 00:17:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:17:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 19:17:02] Production.INFO: ==2782== Lock acquired, processing the job... [2025-03-08 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:17:02] Production.INFO: ==2782== Releasing lock... [2025-03-08 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:17:02] Production.INFO: ==2784== Lock acquired, processing the job... [2025-03-09 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:17:02] Production.INFO: ==2784== Releasing lock... [2025-03-09 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:17:03] Production.INFO: ==2786== Lock acquired, processing the job... [2025-03-08 19:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:17:03] Production.INFO: ==2790== Lock acquired, processing the job... [2025-03-08 19:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:17:03] Production.INFO: ==2794== Lock acquired, processing the job... [2025-03-08 19:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:17:03] Production.INFO: ==2788== Lock acquired, processing the job... [2025-03-08 19:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:17:03] Production.INFO: ==2792== Lock acquired, processing the job... [2025-03-08 19:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:17:03] Production.INFO: ==2796== Lock acquired, processing the job... [2025-03-08 19:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:17:04] Production.ERROR: done [2025-03-08 19:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:17:04] Production.INFO: Account Balance Start. [2025-03-08 19:17:04] Production.INFO: CreateAllLog Start [2025-03-08 19:17:04] Production.INFO: 117 [2025-03-08 19:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:17:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:17:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:17:04] Production.INFO: count ==13 [2025-03-08 19:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:17:04] Production.INFO: count ==21 [2025-03-08 19:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637228') start [2025-03-08 19:17:04] Production.INFO: Total Charge 0 [2025-03-08 19:17:04] Production.ERROR: done [2025-03-08 19:17:04] Production.INFO: CreateAllLog End [2025-03-08 19:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637228') end [2025-03-08 19:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:17:04] Production.INFO: 1 [2025-03-08 19:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:17:04] Production.INFO: ==2788== Releasing lock... [2025-03-08 19:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:17:04] Production.INFO: Account Balance End. [2025-03-08 19:17:04] Production.INFO: ==2796== Releasing lock... [2025-03-08 19:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:17:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:17:04] Production.INFO: ==2792== Releasing lock... [2025-03-08 19:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:17:05 [end_date_ymd] => 2025-03-08 19:17:05 [RateCDR] => 1 ) [2025-03-08 19:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:17:05' and `end` < '2025-03-08 19:17:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:17:12] Production.ERROR: CronJobId end10 [2025-03-08 19:17:12] Production.INFO: ==2790== Releasing lock... [2025-03-08 19:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:17:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:17:14] Production.INFO: call_cost start [2025-03-08 19:17:14] Production.INFO: call_cost end [2025-03-08 19:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:17:15] Production.INFO: ==2786== Releasing lock... [2025-03-08 19:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:17:17] Production.INFO: count ==2669 [2025-03-08 19:17:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:17:05 - End Time 2025-03-08 19:17:05 [2025-03-08 19:17:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637230', 'tblTempUsageDetail_20' ) start [2025-03-08 19:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637230', 'tblTempUsageDetail_20' ) end [2025-03-08 19:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637230', 'tblTempVendorCDR_20' ) start [2025-03-08 19:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637230', 'tblTempVendorCDR_20' ) end [2025-03-08 19:17:18] Production.INFO: ProcessCDR(1,14637230,1,1,2) [2025-03-08 19:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637230', 'tblTempUsageDetail_20' ) start [2025-03-08 19:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637230', 'tblTempUsageDetail_20' ) end [2025-03-08 19:17:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:17:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:17:22] Production.INFO: ==2794== Releasing lock... [2025-03-08 19:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:17:22] Production.INFO: 48.5 MB #Memory Used# [2025-03-09 00:18:01] Production.INFO: ==2850== Lock acquired, processing the job... [2025-03-09 00:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:18:01] Production.INFO: neon service started [2025-03-09 00:18:01] Production.INFO: neon service started [2025-03-09 00:18:01] Production.INFO: ==2850== Releasing lock... [2025-03-09 00:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:18:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:18:01] Production.INFO: ==2853== Lock acquired, processing the job... [2025-03-08 19:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:18:02] Production.INFO: ==2853== Releasing lock... [2025-03-08 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:18:02] Production.INFO: ==2855== Lock acquired, processing the job... [2025-03-09 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:18:02] Production.INFO: ==2855== Releasing lock... [2025-03-09 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:18:03] Production.INFO: ==2857== Lock acquired, processing the job... [2025-03-08 19:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:18:03] Production.INFO: ==2859== Lock acquired, processing the job... [2025-03-08 19:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:18:03] Production.INFO: ==2867== Lock acquired, processing the job... [2025-03-08 19:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:18:03] Production.INFO: ==2861== Lock acquired, processing the job... [2025-03-08 19:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:18:03] Production.INFO: ==2863== Lock acquired, processing the job... [2025-03-08 19:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:18:03] Production.INFO: ==2859== Releasing lock... [2025-03-08 19:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:18:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:18:03] Production.INFO: count ==13 [2025-03-08 19:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:18:03] Production.INFO: count ==21 [2025-03-08 19:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:18:03] Production.INFO: ==2865== Lock acquired, processing the job... [2025-03-08 19:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:18:03] Production.INFO: Account Balance Start. [2025-03-08 19:18:03] Production.INFO: CreateAllLog Start [2025-03-08 19:18:03] Production.INFO: 117 [2025-03-08 19:18:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:18:03] Production.INFO: Reseller ==> 0 [2025-03-08 19:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637233') start [2025-03-08 19:18:03] Production.INFO: Total Charge 0 [2025-03-08 19:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:18:03] Production.INFO: CreateAllLog End [2025-03-08 19:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637233') end [2025-03-08 19:18:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:18:03] Production.INFO: 1 [2025-03-08 19:18:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:18:03] Production.INFO: ==2867== Releasing lock... [2025-03-08 19:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:18:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:18:04] Production.ERROR: done [2025-03-08 19:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:18:04] Production.INFO: Account Balance End. [2025-03-08 19:18:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:18:04] Production.INFO: ==2863== Releasing lock... [2025-03-08 19:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:18:04] Production.ERROR: done [2025-03-08 19:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:18:05 [end_date_ymd] => 2025-03-08 19:18:05 [RateCDR] => 1 ) [2025-03-08 19:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:18:05' and `end` < '2025-03-08 19:18:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:18:11] Production.ERROR: CronJobId end10 [2025-03-08 19:18:11] Production.INFO: ==2861== Releasing lock... [2025-03-08 19:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:18:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:18:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:18:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:18:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:18:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:18:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:18:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:18:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:18:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:18:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:18:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:18:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:18:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:18:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:18:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:18:13] Production.INFO: call_cost start [2025-03-08 19:18:13] Production.INFO: call_cost end [2025-03-08 19:18:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:18:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:18:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:18:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:18:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:18:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:18:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:18:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:18:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:18:14] Production.INFO: ==2857== Releasing lock... [2025-03-08 19:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:18:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:18:17] Production.INFO: count ==2668 [2025-03-08 19:18:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:18:05 - End Time 2025-03-08 19:18:05 [2025-03-08 19:18:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637235', 'tblTempUsageDetail_20' ) start [2025-03-08 19:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637235', 'tblTempUsageDetail_20' ) end [2025-03-08 19:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637235', 'tblTempVendorCDR_20' ) start [2025-03-08 19:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637235', 'tblTempVendorCDR_20' ) end [2025-03-08 19:18:18] Production.INFO: ProcessCDR(1,14637235,1,1,2) [2025-03-08 19:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637235', 'tblTempUsageDetail_20' ) start [2025-03-08 19:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637235', 'tblTempUsageDetail_20' ) end [2025-03-08 19:18:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:18:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:18:21] Production.INFO: ==2865== Releasing lock... [2025-03-08 19:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:18:21] Production.INFO: 48 MB #Memory Used# [2025-03-09 00:19:01] Production.INFO: ==2923== Lock acquired, processing the job... [2025-03-09 00:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:19:01] Production.INFO: neon service started [2025-03-09 00:19:02] Production.INFO: neon service started [2025-03-09 00:19:02] Production.INFO: ==2923== Releasing lock... [2025-03-09 00:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:19:02] Production.INFO: ==2925== Lock acquired, processing the job... [2025-03-08 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:19:02] Production.INFO: ==2927== Lock acquired, processing the job... [2025-03-09 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:19:02] Production.INFO: ==2927== Releasing lock... [2025-03-09 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:19:03] Production.INFO: ==2925== Releasing lock... [2025-03-08 19:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:19:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:19:03] Production.INFO: ==2930== Lock acquired, processing the job... [2025-03-08 19:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:19:03] Production.INFO: ==2936== Lock acquired, processing the job... [2025-03-08 19:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:19:03] Production.INFO: ==2940== Lock acquired, processing the job... [2025-03-08 19:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:19:04] Production.INFO: Account Balance Start. [2025-03-08 19:19:04] Production.INFO: CreateAllLog Start [2025-03-08 19:19:04] Production.INFO: 117 [2025-03-08 19:19:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:19:04] Production.INFO: ==2932== Lock acquired, processing the job... [2025-03-08 19:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:19:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:19:04] Production.INFO: Total Charge 0 [2025-03-08 19:19:04] Production.INFO: CreateAllLog End [2025-03-08 19:19:04] Production.INFO: count ==13 [2025-03-08 19:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:19:04] Production.INFO: ==2934== Lock acquired, processing the job... [2025-03-08 19:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:19:04] Production.INFO: count ==21 [2025-03-08 19:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637238') start [2025-03-08 19:19:04] Production.INFO: ==2938== Lock acquired, processing the job... [2025-03-08 19:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:19:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637238') end [2025-03-08 19:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:19:04] Production.INFO: 1 [2025-03-08 19:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:19:04] Production.INFO: Account Balance End. [2025-03-08 19:19:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:19:04] Production.INFO: ==2936== Releasing lock... [2025-03-08 19:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:19:04] Production.INFO: ==2940== Releasing lock... [2025-03-08 19:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:19:04] Production.INFO: ==2932== Releasing lock... [2025-03-08 19:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:19:04] Production.ERROR: done [2025-03-08 19:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:19:04] Production.ERROR: done [2025-03-08 19:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:19:05 [end_date_ymd] => 2025-03-08 19:19:05 [RateCDR] => 1 ) [2025-03-08 19:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:19:05' and `end` < '2025-03-08 19:19:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:19:12] Production.ERROR: CronJobId end10 [2025-03-08 19:19:12] Production.INFO: ==2934== Releasing lock... [2025-03-08 19:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:19:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:19:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:19:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:19:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:19:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:19:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:19:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:19:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:19:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:19:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:19:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:19:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:19:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:19:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:19:14] Production.INFO: call_cost start [2025-03-08 19:19:14] Production.INFO: call_cost end [2025-03-08 19:19:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:19:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:19:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:19:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:19:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:19:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:19:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:19:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:19:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:19:15] Production.INFO: ==2930== Releasing lock... [2025-03-08 19:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:19:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:19:18] Production.INFO: count ==2652 [2025-03-08 19:19:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:19:05 - End Time 2025-03-08 19:19:05 [2025-03-08 19:19:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637240', 'tblTempUsageDetail_20' ) start [2025-03-08 19:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637240', 'tblTempUsageDetail_20' ) end [2025-03-08 19:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637240', 'tblTempVendorCDR_20' ) start [2025-03-08 19:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637240', 'tblTempVendorCDR_20' ) end [2025-03-08 19:19:18] Production.INFO: ProcessCDR(1,14637240,1,1,2) [2025-03-08 19:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637240', 'tblTempUsageDetail_20' ) start [2025-03-08 19:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637240', 'tblTempUsageDetail_20' ) end [2025-03-08 19:19:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:19:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:19:23] Production.INFO: ==2938== Releasing lock... [2025-03-08 19:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:19:23] Production.INFO: 48 MB #Memory Used# [2025-03-09 00:20:01] Production.INFO: ==3001== Lock acquired, processing the job... [2025-03-09 00:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:20:01] Production.INFO: neon service started [2025-03-09 00:20:01] Production.INFO: neon service started [2025-03-09 00:20:01] Production.INFO: ==3001== Releasing lock... [2025-03-09 00:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:20:02] Production.INFO: ==3003== Lock acquired, processing the job... [2025-03-08 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:20:02] Production.INFO: ==3005== Lock acquired, processing the job... [2025-03-09 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:20:02] Production.INFO: ==3005== Releasing lock... [2025-03-09 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:20:02] Production.INFO: ==3003== Releasing lock... [2025-03-08 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:20:03] Production.INFO: ==3014== Lock acquired, processing the job... [2025-03-08 19:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:20:03] Production.INFO: ==3012== Lock acquired, processing the job... [2025-03-08 19:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:20:03] Production.INFO: ==3008== Lock acquired, processing the job... [2025-03-08 19:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 19:20:03] Production.INFO: ==3022== Lock acquired, processing the job... [2025-03-08 19:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:20:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 19:20:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 19:20:03] Production.ERROR: CronJob PID - 3012 [2025-03-08 19:20:03] Production.ERROR: CronJob Title - Account Block [2025-03-08 19:20:03] Production.ERROR: CronJob ID - 7 [2025-03-08 19:20:03] Production.ERROR: CronJob Last Run Time 2025-03-08 19:20:00 [2025-03-08 19:20:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 19:20:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 19:20:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 19:20:03] Production.ERROR: CronJob PID - 3014 [2025-03-08 19:20:03] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-08 19:20:03] Production.ERROR: CronJob ID - 10 [2025-03-08 19:20:03] Production.ERROR: CronJob Last Run Time 2025-03-08 19:20:00 [2025-03-08 19:20:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 19:20:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 19:20:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 19:20:03] Production.ERROR: CronJob PID - 3022 [2025-03-08 19:20:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-08 19:20:03] Production.ERROR: CronJob ID - 19 [2025-03-08 19:20:03] Production.ERROR: CronJob Last Run Time 2025-03-08 19:20:00 [2025-03-08 19:20:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 19:20:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 19:20:03] Production.INFO: ==3010== Lock acquired, processing the job... [2025-03-08 19:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:20:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 19:20:03] Production.INFO: ==3008== Releasing lock... [2025-03-08 19:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 19:20:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 19:20:04] Production.INFO: ==3020== Lock acquired, processing the job... [2025-03-08 19:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 19:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:20:04] Production.INFO: ==3016== Lock acquired, processing the job... [2025-03-08 19:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:20:04] Production.INFO: count ==13 [2025-03-08 19:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:20:04] Production.INFO: ==3018== Lock acquired, processing the job... [2025-03-08 19:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:20:04] Production.INFO: count ==21 [2025-03-08 19:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637242') start [2025-03-08 19:20:04] Production.INFO: Account Balance Start. [2025-03-08 19:20:04] Production.INFO: CreateAllLog Start [2025-03-08 19:20:04] Production.INFO: 117 [2025-03-08 19:20:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:20:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:20:04] Production.INFO: ==3012== Releasing lock... [2025-03-08 19:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:20:04] Production.INFO: Total Charge 0 [2025-03-08 19:20:04] Production.INFO: CreateAllLog End [2025-03-08 19:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637242') end [2025-03-08 19:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:20:04] Production.INFO: 1 [2025-03-08 19:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:20:04] Production.INFO: ==3022== Releasing lock... [2025-03-08 19:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:20:04] Production.ERROR: done [2025-03-08 19:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:20:04] Production.ERROR: done [2025-03-08 19:20:04] Production.ERROR: done [2025-03-08 19:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 19:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637245', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 19:20:04] Production.INFO: Account Balance End. [2025-03-08 19:20:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:20:04] Production.INFO: ==3016== Releasing lock... [2025-03-08 19:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:20:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:20:06 [end_date_ymd] => 2025-03-08 19:20:06 [RateCDR] => 1 ) [2025-03-08 19:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:20:06' and `end` < '2025-03-08 19:20:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637245', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 19:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 19:20:09] Production.INFO: ProcessCDR(1,14637245,1,1,2) [2025-03-08 19:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14637245,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14637245,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:20:09] Production.INFO: ==3020== Releasing lock... [2025-03-08 19:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 19:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-08 19:20:13] Production.ERROR: CronJobId end10 [2025-03-08 19:20:13] Production.INFO: ==3014== Releasing lock... [2025-03-08 19:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:20:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:20:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:20:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:20:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:20:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:20:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:20:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:20:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:20:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:20:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:20:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:20:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:20:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:20:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:20:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:20:16] Production.INFO: call_cost start [2025-03-08 19:20:16] Production.INFO: call_cost end [2025-03-08 19:20:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:20:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:20:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:20:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:20:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:20:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:20:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:20:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:20:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:20:17] Production.INFO: ==3010== Releasing lock... [2025-03-08 19:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:20:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:20:18] Production.INFO: count ==2649 [2025-03-08 19:20:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:20:06 - End Time 2025-03-08 19:20:06 [2025-03-08 19:20:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637246', 'tblTempUsageDetail_20' ) start [2025-03-08 19:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637246', 'tblTempUsageDetail_20' ) end [2025-03-08 19:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637246', 'tblTempVendorCDR_20' ) start [2025-03-08 19:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637246', 'tblTempVendorCDR_20' ) end [2025-03-08 19:20:19] Production.INFO: ProcessCDR(1,14637246,1,1,2) [2025-03-08 19:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637246', 'tblTempUsageDetail_20' ) start [2025-03-08 19:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637246', 'tblTempUsageDetail_20' ) end [2025-03-08 19:20:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:20:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:20:22] Production.INFO: ==3018== Releasing lock... [2025-03-08 19:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:20:22] Production.INFO: 48 MB #Memory Used# [2025-03-09 00:21:01] Production.INFO: ==3077== Lock acquired, processing the job... [2025-03-09 00:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:21:01] Production.INFO: neon service started [2025-03-09 00:21:01] Production.INFO: neon service started [2025-03-09 00:21:01] Production.INFO: ==3077== Releasing lock... [2025-03-09 00:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:21:02] Production.INFO: ==3081== Lock acquired, processing the job... [2025-03-09 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:21:02] Production.INFO: ==3081== Releasing lock... [2025-03-09 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:21:02] Production.INFO: ==3079== Lock acquired, processing the job... [2025-03-08 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:21:02] Production.INFO: ==3079== Releasing lock... [2025-03-08 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:21:03] Production.INFO: ==3084== Lock acquired, processing the job... [2025-03-08 19:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:21:03] Production.INFO: ==3092== Lock acquired, processing the job... [2025-03-08 19:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:21:03] Production.INFO: ==3086== Lock acquired, processing the job... [2025-03-08 19:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:21:03] Production.INFO: ==3088== Lock acquired, processing the job... [2025-03-08 19:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:21:03] Production.INFO: ==3090== Lock acquired, processing the job... [2025-03-08 19:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:21:04] Production.INFO: Account Balance Start. [2025-03-08 19:21:04] Production.INFO: CreateAllLog Start [2025-03-08 19:21:04] Production.INFO: 117 [2025-03-08 19:21:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:21:04] Production.ERROR: done [2025-03-08 19:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:21:04] Production.INFO: ==3094== Lock acquired, processing the job... [2025-03-08 19:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:21:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:21:04] Production.INFO: Total Charge 0 [2025-03-08 19:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:21:04] Production.INFO: CreateAllLog End [2025-03-08 19:21:04] Production.INFO: count ==13 [2025-03-08 19:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:21:04] Production.INFO: count ==21 [2025-03-08 19:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637250') start [2025-03-08 19:21:04] Production.INFO: ==3086== Releasing lock... [2025-03-08 19:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:21:04] Production.ERROR: done [2025-03-08 19:21:04] Production.INFO: Account Balance End. [2025-03-08 19:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637250') end [2025-03-08 19:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:21:04] Production.INFO: 1 [2025-03-08 19:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:21:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:21:04] Production.INFO: ==3090== Releasing lock... [2025-03-08 19:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:21:04] Production.INFO: ==3094== Releasing lock... [2025-03-08 19:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:21:05 [end_date_ymd] => 2025-03-08 19:21:05 [RateCDR] => 1 ) [2025-03-08 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-08 16:21:05' and `end` < '2025-03-08 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-08 19:21:12] Production.ERROR: CronJobId end10 [2025-03-08 19:21:12] Production.INFO: ==3088== Releasing lock... [2025-03-08 19:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:21:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:21:14] Production.INFO: call_cost start [2025-03-08 19:21:14] Production.INFO: call_cost end [2025-03-08 19:21:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:21:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:21:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:21:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:21:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:21:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:21:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:21:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:21:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:21:15] Production.INFO: ==3084== Releasing lock... [2025-03-08 19:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:21:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:21:17] Production.INFO: count ==2620 [2025-03-08 19:21:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:21:05 - End Time 2025-03-08 19:21:05 [2025-03-08 19:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637251', 'tblTempUsageDetail_20' ) start [2025-03-08 19:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637251', 'tblTempUsageDetail_20' ) end [2025-03-08 19:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637251', 'tblTempVendorCDR_20' ) start [2025-03-08 19:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637251', 'tblTempVendorCDR_20' ) end [2025-03-08 19:21:18] Production.INFO: ProcessCDR(1,14637251,1,1,2) [2025-03-08 19:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637251', 'tblTempUsageDetail_20' ) start [2025-03-08 19:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637251', 'tblTempUsageDetail_20' ) end [2025-03-08 19:21:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:21:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:21:22] Production.INFO: ==3092== Releasing lock... [2025-03-08 19:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:21:22] Production.INFO: 47.75 MB #Memory Used# [2025-03-09 00:22:01] Production.INFO: ==3152== Lock acquired, processing the job... [2025-03-09 00:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:22:01] Production.INFO: neon service started [2025-03-09 00:22:01] Production.INFO: neon service started [2025-03-09 00:22:01] Production.INFO: ==3152== Releasing lock... [2025-03-09 00:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:22:01] Production.INFO: ==3154== Lock acquired, processing the job... [2025-03-08 19:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:22:02] Production.INFO: ==3154== Releasing lock... [2025-03-08 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:22:02] Production.INFO: ==3156== Lock acquired, processing the job... [2025-03-09 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:22:02] Production.INFO: ==3156== Releasing lock... [2025-03-09 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:22:03] Production.INFO: ==3167== Lock acquired, processing the job... [2025-03-08 19:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:22:03] Production.INFO: ==3169== Lock acquired, processing the job... [2025-03-08 19:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:22:03] Production.INFO: ==3159== Lock acquired, processing the job... [2025-03-08 19:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:22:03] Production.INFO: ==3161== Lock acquired, processing the job... [2025-03-08 19:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:22:03] Production.INFO: ==3163== Lock acquired, processing the job... [2025-03-08 19:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:22:03] Production.INFO: count ==13 [2025-03-08 19:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:22:03] Production.INFO: count ==21 [2025-03-08 19:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637252') start [2025-03-08 19:22:03] Production.INFO: ==3165== Lock acquired, processing the job... [2025-03-08 19:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637252') end [2025-03-08 19:22:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:22:03] Production.INFO: 1 [2025-03-08 19:22:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:22:03] Production.INFO: Account Balance Start. [2025-03-08 19:22:03] Production.INFO: CreateAllLog Start [2025-03-08 19:22:03] Production.INFO: 117 [2025-03-08 19:22:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:22:03] Production.INFO: Reseller ==> 0 [2025-03-08 19:22:03] Production.INFO: ==3169== Releasing lock... [2025-03-08 19:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:22:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:22:03] Production.ERROR: done [2025-03-08 19:22:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:22:03] Production.INFO: Total Charge 0 [2025-03-08 19:22:03] Production.ERROR: done [2025-03-08 19:22:03] Production.INFO: CreateAllLog End [2025-03-08 19:22:03] Production.INFO: ==3161== Releasing lock... [2025-03-08 19:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:22:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:22:03] Production.INFO: Account Balance End. [2025-03-08 19:22:03] Production.ERROR: CronJobId end 12 [2025-03-08 19:22:03] Production.INFO: ==3165== Releasing lock... [2025-03-08 19:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:22:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:22:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:22:04 [end_date_ymd] => 2025-03-08 19:22:04 [RateCDR] => 1 ) [2025-03-08 19:22:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:22:04' and `end` < '2025-03-08 19:22:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:22:11] Production.ERROR: CronJobId end10 [2025-03-08 19:22:11] Production.INFO: ==3163== Releasing lock... [2025-03-08 19:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:22:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:22:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:22:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:22:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:22:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:22:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:22:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:22:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:22:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:22:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:22:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:22:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:22:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:22:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:22:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:22:13] Production.INFO: call_cost start [2025-03-08 19:22:13] Production.INFO: call_cost end [2025-03-08 19:22:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:22:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:22:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:22:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:22:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:22:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:22:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:22:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:22:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:22:14] Production.INFO: ==3159== Releasing lock... [2025-03-08 19:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:22:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:22:16] Production.INFO: count ==2618 [2025-03-08 19:22:17] Production.ERROR: pbx CDR StartTime 2025-03-08 16:22:04 - End Time 2025-03-08 19:22:04 [2025-03-08 19:22:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637256', 'tblTempUsageDetail_20' ) start [2025-03-08 19:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637256', 'tblTempUsageDetail_20' ) end [2025-03-08 19:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637256', 'tblTempVendorCDR_20' ) start [2025-03-08 19:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637256', 'tblTempVendorCDR_20' ) end [2025-03-08 19:22:17] Production.INFO: ProcessCDR(1,14637256,1,1,2) [2025-03-08 19:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637256', 'tblTempUsageDetail_20' ) start [2025-03-08 19:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637256', 'tblTempUsageDetail_20' ) end [2025-03-08 19:22:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:22:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:22:21] Production.INFO: ==3167== Releasing lock... [2025-03-08 19:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:22:21] Production.INFO: 47.75 MB #Memory Used# [2025-03-09 00:23:01] Production.INFO: ==3226== Lock acquired, processing the job... [2025-03-09 00:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:23:01] Production.INFO: neon service started [2025-03-09 00:23:01] Production.INFO: neon service started [2025-03-09 00:23:01] Production.INFO: ==3226== Releasing lock... [2025-03-09 00:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:23:02] Production.INFO: ==3228== Lock acquired, processing the job... [2025-03-08 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:23:02] Production.INFO: ==3230== Lock acquired, processing the job... [2025-03-09 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:23:02] Production.INFO: ==3230== Releasing lock... [2025-03-09 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:23:02] Production.INFO: ==3228== Releasing lock... [2025-03-08 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:23:03] Production.INFO: ==3232== Lock acquired, processing the job... [2025-03-08 19:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:23:03] Production.INFO: ==3234== Lock acquired, processing the job... [2025-03-08 19:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:23:03] Production.INFO: ==3237== Lock acquired, processing the job... [2025-03-08 19:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:23:03] Production.INFO: ==3239== Lock acquired, processing the job... [2025-03-08 19:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:23:03] Production.INFO: ==3241== Lock acquired, processing the job... [2025-03-08 19:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:23:03] Production.INFO: Account Balance Start. [2025-03-08 19:23:03] Production.INFO: CreateAllLog Start [2025-03-08 19:23:03] Production.INFO: 117 [2025-03-08 19:23:03] Production.INFO: ==3243== Lock acquired, processing the job... [2025-03-08 19:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:23:03] Production.INFO: ==3234== Releasing lock... [2025-03-08 19:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:23:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:23:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:23:03] Production.INFO: Reseller ==> 0 [2025-03-08 19:23:04] Production.INFO: Total Charge 0 [2025-03-08 19:23:04] Production.INFO: count ==13 [2025-03-08 19:23:04] Production.INFO: CreateAllLog End [2025-03-08 19:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:23:04] Production.INFO: count ==21 [2025-03-08 19:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637260') start [2025-03-08 19:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637260') end [2025-03-08 19:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:23:04] Production.INFO: 1 [2025-03-08 19:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:23:04] Production.INFO: ==3243== Releasing lock... [2025-03-08 19:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:23:04] Production.ERROR: done [2025-03-08 19:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:23:04] Production.INFO: Account Balance End. [2025-03-08 19:23:04] Production.ERROR: done [2025-03-08 19:23:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:23:04] Production.INFO: ==3239== Releasing lock... [2025-03-08 19:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:23:05 [end_date_ymd] => 2025-03-08 19:23:05 [RateCDR] => 1 ) [2025-03-08 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-08 16:23:05' and `end` < '2025-03-08 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-08 19:23:13] Production.ERROR: CronJobId end10 [2025-03-08 19:23:13] Production.INFO: ==3237== Releasing lock... [2025-03-08 19:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:23:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:23:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:23:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:23:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:23:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:23:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:23:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:23:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:23:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:23:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:23:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:23:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:23:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:23:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:23:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:23:14] Production.INFO: call_cost start [2025-03-08 19:23:14] Production.INFO: call_cost end [2025-03-08 19:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:23:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:23:16] Production.INFO: ==3232== Releasing lock... [2025-03-08 19:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:23:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:23:17] Production.INFO: count ==2615 [2025-03-08 19:23:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:23:05 - End Time 2025-03-08 19:23:05 [2025-03-08 19:23:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637261', 'tblTempUsageDetail_20' ) start [2025-03-08 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637261', 'tblTempUsageDetail_20' ) end [2025-03-08 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637261', 'tblTempVendorCDR_20' ) start [2025-03-08 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637261', 'tblTempVendorCDR_20' ) end [2025-03-08 19:23:19] Production.INFO: ProcessCDR(1,14637261,1,1,2) [2025-03-08 19:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637261', 'tblTempUsageDetail_20' ) start [2025-03-08 19:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637261', 'tblTempUsageDetail_20' ) end [2025-03-08 19:23:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:23:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:23:22] Production.INFO: ==3241== Releasing lock... [2025-03-08 19:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:23:22] Production.INFO: 47.75 MB #Memory Used# [2025-03-09 00:24:02] Production.INFO: ==3299== Lock acquired, processing the job... [2025-03-09 00:24:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:24:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:24:02] Production.INFO: neon service started [2025-03-09 00:24:02] Production.INFO: neon service started [2025-03-09 00:24:02] Production.INFO: ==3299== Releasing lock... [2025-03-09 00:24:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:24:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:24:02] Production.INFO: ==3303== Lock acquired, processing the job... [2025-03-09 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 19:24:03] Production.INFO: ==3301== Lock acquired, processing the job... [2025-03-08 19:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:24:03] Production.INFO: ==3303== Releasing lock... [2025-03-09 00:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:24:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:24:03] Production.INFO: ==3301== Releasing lock... [2025-03-08 19:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:24:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:24:04] Production.INFO: ==3308== Lock acquired, processing the job... [2025-03-08 19:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:24:04] Production.INFO: ==3310== Lock acquired, processing the job... [2025-03-08 19:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:24:04] Production.INFO: ==3312== Lock acquired, processing the job... [2025-03-08 19:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:24:04] Production.INFO: ==3306== Lock acquired, processing the job... [2025-03-08 19:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:24:04] Production.INFO: ==3308== Releasing lock... [2025-03-08 19:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:24:04] Production.INFO: Account Balance Start. [2025-03-08 19:24:04] Production.INFO: CreateAllLog Start [2025-03-08 19:24:04] Production.INFO: 117 [2025-03-08 19:24:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:24:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:24:04] Production.INFO: Total Charge 0 [2025-03-08 19:24:04] Production.INFO: CreateAllLog End [2025-03-08 19:24:04] Production.INFO: ==3314== Lock acquired, processing the job... [2025-03-08 19:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:24:04] Production.INFO: ==3316== Lock acquired, processing the job... [2025-03-08 19:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:24:04] Production.INFO: Account Balance End. [2025-03-08 19: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-08 19:24:05] Production.ERROR: CronJobId end 12 [2025-03-08 19:24:05] Production.INFO: ==3312== Releasing lock... [2025-03-08 19:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:24:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:24:05] Production.INFO: count ==13 [2025-03-08 19:24:05] Production.ERROR: done [2025-03-08 19:24:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19: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-08 19:24:05] Production.INFO: count ==21 [2025-03-08 19:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637265') start [2025-03-08 19:24:05] Production.ERROR: done [2025-03-08 19:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637265') end [2025-03-08 19:24:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:24:05] Production.INFO: 1 [2025-03-08 19:24:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:24:05] Production.INFO: ==3316== Releasing lock... [2025-03-08 19:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:24:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:24:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:24:06 [end_date_ymd] => 2025-03-08 19:24:06 [RateCDR] => 1 ) [2025-03-08 19: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-08 16:24:06' and `end` < '2025-03-08 19: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-08 19:24:13] Production.ERROR: CronJobId end10 [2025-03-08 19:24:13] Production.INFO: ==3310== Releasing lock... [2025-03-08 19:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:24:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:24:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:24:16] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:24:16] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:24:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:24:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:24:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:24:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:24:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:24:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:24:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:24:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:24:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:24:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:24:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:24:16] Production.INFO: call_cost start [2025-03-08 19:24:16] Production.INFO: call_cost end [2025-03-08 19:24:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:24:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:24:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:24:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:24:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:24:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:24:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:24:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:24:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:24:17] Production.INFO: ==3306== Releasing lock... [2025-03-08 19:24:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:24:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:24:18] Production.INFO: count ==2612 [2025-03-08 19:24:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:24:06 - End Time 2025-03-08 19:24:06 [2025-03-08 19:24:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637266', 'tblTempUsageDetail_20' ) start [2025-03-08 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637266', 'tblTempUsageDetail_20' ) end [2025-03-08 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637266', 'tblTempVendorCDR_20' ) start [2025-03-08 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637266', 'tblTempVendorCDR_20' ) end [2025-03-08 19:24:19] Production.INFO: ProcessCDR(1,14637266,1,1,2) [2025-03-08 19:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637266', 'tblTempUsageDetail_20' ) start [2025-03-08 19:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637266', 'tblTempUsageDetail_20' ) end [2025-03-08 19:24:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:24:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:24:23] Production.INFO: ==3314== Releasing lock... [2025-03-08 19:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:24:23] Production.INFO: 47.75 MB #Memory Used# [2025-03-09 00:25:01] Production.INFO: ==3368== Lock acquired, processing the job... [2025-03-09 00:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:25:01] Production.INFO: neon service started [2025-03-09 00:25:01] Production.INFO: neon service started [2025-03-09 00:25:01] Production.INFO: ==3368== Releasing lock... [2025-03-09 00:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:25:02] Production.INFO: ==3372== Lock acquired, processing the job... [2025-03-09 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:25:02] Production.INFO: ==3372== Releasing lock... [2025-03-09 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:25:02] Production.INFO: ==3370== Lock acquired, processing the job... [2025-03-08 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:25:02] Production.INFO: ==3370== Releasing lock... [2025-03-08 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:25:03] Production.INFO: ==3379== Lock acquired, processing the job... [2025-03-08 19:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:25:03] Production.INFO: ==3383== Lock acquired, processing the job... [2025-03-08 19:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:25:03] Production.INFO: ==3375== Lock acquired, processing the job... [2025-03-08 19:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:25:03] Production.INFO: ==3377== Lock acquired, processing the job... [2025-03-08 19:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:25:04] Production.INFO: ==3381== Lock acquired, processing the job... [2025-03-08 19:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:25:04] Production.INFO: ==3385== Lock acquired, processing the job... [2025-03-08 19:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:25:04] Production.INFO: Account Balance Start. [2025-03-08 19:25:04] Production.INFO: CreateAllLog Start [2025-03-08 19:25:04] Production.INFO: 117 [2025-03-08 19:25:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:25:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:25:04] Production.INFO: Total Charge 0 [2025-03-08 19:25:04] Production.INFO: CreateAllLog End [2025-03-08 19:25:04] Production.ERROR: done [2025-03-08 19:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19: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-08 19:25:04] Production.ERROR: done [2025-03-08 19:25:04] Production.INFO: count ==13 [2025-03-08 19: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-08 19:25:04] Production.INFO: count ==21 [2025-03-08 19:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637270') start [2025-03-08 19:25:04] Production.INFO: Account Balance End. [2025-03-08 19:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637270') end [2025-03-08 19:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:25:04] Production.INFO: 1 [2025-03-08 19:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:25:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:25:04] Production.INFO: ==3381== Releasing lock... [2025-03-08 19:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:25:04] Production.INFO: ==3377== Releasing lock... [2025-03-08 19:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:25:04] Production.INFO: ==3385== Releasing lock... [2025-03-08 19:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:25:05 [end_date_ymd] => 2025-03-08 19:25:05 [RateCDR] => 1 ) [2025-03-08 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-08 16:25:05' and `end` < '2025-03-08 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-08 19:25:14] Production.ERROR: CronJobId end10 [2025-03-08 19:25:14] Production.INFO: ==3379== Releasing lock... [2025-03-08 19:25:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:25:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:25:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:25:16] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:25:16] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:25:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:25:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:25:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:25:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:25:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:25:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:25:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:25:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:25:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:25:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:25:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:25:16] Production.INFO: call_cost start [2025-03-08 19:25:16] Production.INFO: call_cost end [2025-03-08 19:25:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:25:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:25:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:25:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:25:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:25:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:25:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:25:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:25:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:25:17] Production.INFO: ==3375== Releasing lock... [2025-03-08 19:25:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:25:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:25:18] Production.INFO: count ==2605 [2025-03-08 19:25:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:25:05 - End Time 2025-03-08 19:25:05 [2025-03-08 19:25:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637271', 'tblTempUsageDetail_20' ) start [2025-03-08 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637271', 'tblTempUsageDetail_20' ) end [2025-03-08 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637271', 'tblTempVendorCDR_20' ) start [2025-03-08 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637271', 'tblTempVendorCDR_20' ) end [2025-03-08 19:25:19] Production.INFO: ProcessCDR(1,14637271,1,1,2) [2025-03-08 19:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637271', 'tblTempUsageDetail_20' ) start [2025-03-08 19:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637271', 'tblTempUsageDetail_20' ) end [2025-03-08 19:25:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:25:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:25:22] Production.INFO: ==3383== Releasing lock... [2025-03-08 19:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:25:22] Production.INFO: 47.5 MB #Memory Used# [2025-03-09 00:26:02] Production.INFO: ==3442== Lock acquired, processing the job... [2025-03-09 00:26:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:26:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:26:02] Production.INFO: neon service started [2025-03-09 00:26:02] Production.INFO: neon service started [2025-03-09 00:26:02] Production.INFO: ==3442== Releasing lock... [2025-03-09 00:26:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:26:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:26:02] Production.INFO: ==3446== Lock acquired, processing the job... [2025-03-09 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:26:02] Production.INFO: ==3446== Releasing lock... [2025-03-09 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:26:03] Production.INFO: ==3444== Lock acquired, processing the job... [2025-03-08 19:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:26:03] Production.INFO: ==3444== Releasing lock... [2025-03-08 19:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:26:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:26:04] Production.INFO: ==3449== Lock acquired, processing the job... [2025-03-08 19:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:26:04] Production.INFO: ==3451== Lock acquired, processing the job... [2025-03-08 19:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:26:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:26:04] Production.INFO: ==3459== Lock acquired, processing the job... [2025-03-08 19:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:26:04] Production.INFO: ==3457== Lock acquired, processing the job... [2025-03-08 19:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:26:04] Production.INFO: ==3455== Lock acquired, processing the job... [2025-03-08 19:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:26:04] Production.INFO: ==3453== Lock acquired, processing the job... [2025-03-08 19:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 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-08 19:26:04] Production.INFO: count ==13 [2025-03-08 19:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:26:04] Production.INFO: count ==21 [2025-03-08 19:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637274') start [2025-03-08 19:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:26:04] Production.INFO: Account Balance Start. [2025-03-08 19:26:04] Production.INFO: CreateAllLog Start [2025-03-08 19:26:04] Production.INFO: 117 [2025-03-08 19:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637274') end [2025-03-08 19:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:26:04] Production.INFO: 1 [2025-03-08 19:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:26:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:26:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:26:04] Production.INFO: ==3451== Releasing lock... [2025-03-08 19:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:26:05] Production.INFO: ==3459== Releasing lock... [2025-03-08 19:26:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:26:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:26:05] Production.INFO: Total Charge 0 [2025-03-08 19:26:05] Production.INFO: CreateAllLog End [2025-03-08 19:26:05] Production.ERROR: done [2025-03-08 19:26:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:26:05] Production.ERROR: done [2025-03-08 19:26:05] Production.INFO: Account Balance End. [2025-03-08 19:26:05] Production.ERROR: CronJobId end 12 [2025-03-08 19:26:05] Production.INFO: ==3455== Releasing lock... [2025-03-08 19:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:26:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:26:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:26:06 [end_date_ymd] => 2025-03-08 19:26:06 [RateCDR] => 1 ) [2025-03-08 19: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-08 16:26:06' and `end` < '2025-03-08 19: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-08 19:26:13] Production.ERROR: CronJobId end10 [2025-03-08 19:26:13] Production.INFO: ==3453== Releasing lock... [2025-03-08 19:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:26:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:26:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:26:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:26:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:26:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:26:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:26:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:26:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:26:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:26:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:26:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:26:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:26:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:26:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:26:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:26:15] Production.INFO: call_cost start [2025-03-08 19:26:15] Production.INFO: call_cost end [2025-03-08 19:26:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:26:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:26:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:26:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:26:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:26:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:26:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:26:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:26:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:26:16] Production.INFO: ==3449== Releasing lock... [2025-03-08 19:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:26:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:26:19] Production.INFO: count ==2599 [2025-03-08 19:26:20] Production.ERROR: pbx CDR StartTime 2025-03-08 16:26:06 - End Time 2025-03-08 19:26:06 [2025-03-08 19:26:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637276', 'tblTempUsageDetail_20' ) start [2025-03-08 19:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637276', 'tblTempUsageDetail_20' ) end [2025-03-08 19:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637276', 'tblTempVendorCDR_20' ) start [2025-03-08 19:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637276', 'tblTempVendorCDR_20' ) end [2025-03-08 19:26:20] Production.INFO: ProcessCDR(1,14637276,1,1,2) [2025-03-08 19:26:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637276', 'tblTempUsageDetail_20' ) start [2025-03-08 19:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637276', 'tblTempUsageDetail_20' ) end [2025-03-08 19:26:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:26:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:26:23] Production.INFO: ==3457== Releasing lock... [2025-03-08 19:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:26:23] Production.INFO: 47.5 MB #Memory Used# [2025-03-09 00:27:01] Production.INFO: ==3513== Lock acquired, processing the job... [2025-03-09 00:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:27:01] Production.INFO: neon service started [2025-03-09 00:27:01] Production.INFO: neon service started [2025-03-09 00:27:01] Production.INFO: ==3513== Releasing lock... [2025-03-09 00:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:27:02] Production.INFO: ==3515== Lock acquired, processing the job... [2025-03-08 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:27:02] Production.INFO: ==3515== Releasing lock... [2025-03-08 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:27:02] Production.INFO: ==3517== Lock acquired, processing the job... [2025-03-09 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:27:02] Production.INFO: ==3517== Releasing lock... [2025-03-09 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:27:03] Production.INFO: ==3524== Lock acquired, processing the job... [2025-03-08 19:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:27:03] Production.INFO: ==3530== Lock acquired, processing the job... [2025-03-08 19:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:27:03] Production.INFO: ==3520== Lock acquired, processing the job... [2025-03-08 19:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:27:03] Production.INFO: count ==13 [2025-03-08 19:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:27:03] Production.INFO: count ==21 [2025-03-08 19:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637277') start [2025-03-08 19:27:04] Production.INFO: ==3522== Lock acquired, processing the job... [2025-03-08 19:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:27:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:27:04] Production.INFO: ==3526== Lock acquired, processing the job... [2025-03-08 19:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:27:04] Production.INFO: ==3528== Lock acquired, processing the job... [2025-03-08 19:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637277') end [2025-03-08 19:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:27:04] Production.INFO: 1 [2025-03-08 19:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:27:04] Production.INFO: ==3530== Releasing lock... [2025-03-08 19:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:27:04] Production.INFO: Account Balance Start. [2025-03-08 19:27:04] Production.INFO: CreateAllLog Start [2025-03-08 19:27:04] Production.INFO: 117 [2025-03-08 19:27:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:27:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:27:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:27:04] Production.INFO: Total Charge 0 [2025-03-08 19:27:04] Production.INFO: CreateAllLog End [2025-03-08 19:27:04] Production.ERROR: done [2025-03-08 19:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:27:04] Production.INFO: ==3522== Releasing lock... [2025-03-08 19:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:27:04] Production.ERROR: done [2025-03-08 19:27:04] Production.INFO: Account Balance End. [2025-03-08 19:27:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:27:04] Production.INFO: ==3526== Releasing lock... [2025-03-08 19:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:27:05 [end_date_ymd] => 2025-03-08 19:27:05 [RateCDR] => 1 ) [2025-03-08 19:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:27:05' and `end` < '2025-03-08 19:27:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:27:12] Production.ERROR: CronJobId end10 [2025-03-08 19:27:12] Production.INFO: ==3524== Releasing lock... [2025-03-08 19:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:27:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:27:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:27:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:27:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:27:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:27:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:27:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:27:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:27:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:27:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:27:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:27:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:27:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:27:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:27:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:27:15] Production.INFO: call_cost start [2025-03-08 19:27:15] Production.INFO: call_cost end [2025-03-08 19:27:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:27:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:27:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:27:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:27:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:27:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:27:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:27:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:27:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:27:16] Production.INFO: ==3520== Releasing lock... [2025-03-08 19:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:27:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:27:18] Production.INFO: count ==2603 [2025-03-08 19:27:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:27:05 - End Time 2025-03-08 19:27:05 [2025-03-08 19:27:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637281', 'tblTempUsageDetail_20' ) start [2025-03-08 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637281', 'tblTempUsageDetail_20' ) end [2025-03-08 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637281', 'tblTempVendorCDR_20' ) start [2025-03-08 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637281', 'tblTempVendorCDR_20' ) end [2025-03-08 19:27:19] Production.INFO: ProcessCDR(1,14637281,1,1,2) [2025-03-08 19:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:27:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:27:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:27:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637281', 'tblTempUsageDetail_20' ) start [2025-03-08 19:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637281', 'tblTempUsageDetail_20' ) end [2025-03-08 19:27:24] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:27:24] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:27:24] Production.INFO: ==3528== Releasing lock... [2025-03-08 19:27:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:27:24] Production.INFO: 47.5 MB #Memory Used# [2025-03-09 00:28:02] Production.INFO: ==3588== Lock acquired, processing the job... [2025-03-09 00:28:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:28:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:28:02] Production.INFO: neon service started [2025-03-09 00:28:02] Production.INFO: neon service started [2025-03-09 00:28:02] Production.INFO: ==3588== Releasing lock... [2025-03-09 00:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:28:02] Production.INFO: ==3590== Lock acquired, processing the job... [2025-03-08 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:28:03] Production.INFO: ==3592== Lock acquired, processing the job... [2025-03-09 00:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:28:03] Production.INFO: ==3592== Releasing lock... [2025-03-09 00:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:28:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:28:03] Production.INFO: ==3590== Releasing lock... [2025-03-08 19:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:28:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:28:03] Production.INFO: ==3597== Lock acquired, processing the job... [2025-03-08 19:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:28:04] Production.INFO: ==3595== Lock acquired, processing the job... [2025-03-08 19:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:28:04] Production.INFO: ==3597== Releasing lock... [2025-03-08 19:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:28:04] Production.INFO: ==3601== Lock acquired, processing the job... [2025-03-08 19:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:28:04] Production.INFO: ==3599== Lock acquired, processing the job... [2025-03-08 19:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:28:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:28:04] Production.INFO: Account Balance Start. [2025-03-08 19:28:04] Production.INFO: CreateAllLog Start [2025-03-08 19:28:04] Production.INFO: 117 [2025-03-08 19:28:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:28:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:28:04] Production.INFO: ==3603== Lock acquired, processing the job... [2025-03-08 19:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:28:04] Production.INFO: Total Charge 0 [2025-03-08 19:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:28:04] Production.INFO: CreateAllLog End [2025-03-08 19:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:28:04] Production.INFO: ==3605== Lock acquired, processing the job... [2025-03-08 19:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 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-08 19:28:04] Production.INFO: count ==13 [2025-03-08 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-08 19:28:04] Production.INFO: count ==21 [2025-03-08 19:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637285') start [2025-03-08 19:28:04] Production.INFO: Account Balance End. [2025-03-08 19:28:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637285') end [2025-03-08 19:28:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:28:05] Production.INFO: 1 [2025-03-08 19:28:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:28:05] Production.ERROR: CronJobId end 12 [2025-03-08 19:28:05] Production.INFO: ==3601== Releasing lock... [2025-03-08 19:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:28:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:28:05] Production.INFO: ==3605== Releasing lock... [2025-03-08 19:28:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:28:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:28:05] Production.ERROR: done [2025-03-08 19:28:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:28:05] Production.ERROR: done [2025-03-08 19:28:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:28:06 [end_date_ymd] => 2025-03-08 19:28:06 [RateCDR] => 1 ) [2025-03-08 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-08 16:28:06' and `end` < '2025-03-08 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-08 19:28:13] Production.ERROR: CronJobId end10 [2025-03-08 19:28:13] Production.INFO: ==3599== Releasing lock... [2025-03-08 19:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:28:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:28:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:28:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:28:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:28:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:28:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:28:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:28:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:28:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:28:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:28:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:28:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:28:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:28:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:28:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:28:15] Production.INFO: call_cost start [2025-03-08 19:28:15] Production.INFO: call_cost end [2025-03-08 19:28:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:28:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:28:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:28:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:28:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:28:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:28:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:28:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:28:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:28:16] Production.INFO: ==3595== Releasing lock... [2025-03-08 19:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:28:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:28:18] Production.INFO: count ==2600 [2025-03-08 19:28:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:28:06 - End Time 2025-03-08 19:28:06 [2025-03-08 19:28:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637286', 'tblTempUsageDetail_20' ) start [2025-03-08 19:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637286', 'tblTempUsageDetail_20' ) end [2025-03-08 19:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637286', 'tblTempVendorCDR_20' ) start [2025-03-08 19:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637286', 'tblTempVendorCDR_20' ) end [2025-03-08 19:28:20] Production.INFO: ProcessCDR(1,14637286,1,1,2) [2025-03-08 19:28:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637286', 'tblTempUsageDetail_20' ) start [2025-03-08 19:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637286', 'tblTempUsageDetail_20' ) end [2025-03-08 19:28:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:28:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:28:23] Production.INFO: ==3603== Releasing lock... [2025-03-08 19:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:28:23] Production.INFO: 47.5 MB #Memory Used# [2025-03-09 00:29:01] Production.INFO: ==3661== Lock acquired, processing the job... [2025-03-09 00:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:29:01] Production.INFO: neon service started [2025-03-09 00:29:01] Production.INFO: neon service started [2025-03-09 00:29:01] Production.INFO: ==3661== Releasing lock... [2025-03-09 00:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:29:02] Production.INFO: ==3664== Lock acquired, processing the job... [2025-03-08 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:29:02] Production.INFO: ==3666== Lock acquired, processing the job... [2025-03-09 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:29:02] Production.INFO: ==3666== Releasing lock... [2025-03-09 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:29:02] Production.INFO: ==3664== Releasing lock... [2025-03-08 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:29:03] Production.INFO: ==3674== Lock acquired, processing the job... [2025-03-08 19:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:29:03] Production.INFO: ==3668== Lock acquired, processing the job... [2025-03-08 19:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:29:03] Production.INFO: ==3670== Lock acquired, processing the job... [2025-03-08 19:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:29:03] Production.INFO: Account Balance Start. [2025-03-08 19:29:03] Production.INFO: CreateAllLog Start [2025-03-08 19:29:03] Production.INFO: 117 [2025-03-08 19:29:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:29:03] Production.INFO: Reseller ==> 0 [2025-03-08 19:29:03] Production.INFO: Total Charge 0 [2025-03-08 19:29:03] Production.INFO: ==3672== Lock acquired, processing the job... [2025-03-08 19:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:29:03] Production.INFO: CreateAllLog End [2025-03-08 19:29:03] Production.INFO: ==3676== Lock acquired, processing the job... [2025-03-08 19:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:29:03] Production.INFO: ==3678== Lock acquired, processing the job... [2025-03-08 19:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:29:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:29:04] Production.INFO: Account Balance End. [2025-03-08 19:29:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:29:04] Production.INFO: ==3674== Releasing lock... [2025-03-08 19:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:29:04] Production.INFO: ==3670== Releasing lock... [2025-03-08 19:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 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-08 19:29:04] Production.INFO: count ==13 [2025-03-08 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-08 19:29:04] Production.INFO: count ==21 [2025-03-08 19:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637290') start [2025-03-08 19:29:04] Production.ERROR: done [2025-03-08 19:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637290') end [2025-03-08 19:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:29:04] Production.INFO: 1 [2025-03-08 19:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:29:04] Production.INFO: ==3678== Releasing lock... [2025-03-08 19:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:29:04] Production.ERROR: done [2025-03-08 19:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:29:05 [end_date_ymd] => 2025-03-08 19:29:05 [RateCDR] => 1 ) [2025-03-08 19:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:29:05' and `end` < '2025-03-08 19:29:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:29:13] Production.ERROR: CronJobId end10 [2025-03-08 19:29:13] Production.INFO: ==3672== Releasing lock... [2025-03-08 19:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:29:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:29:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:29:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:29:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:29:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:29:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:29:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:29:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:29:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:29:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:29:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:29:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:29:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:29:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:29:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:29:15] Production.INFO: call_cost start [2025-03-08 19:29:15] Production.INFO: call_cost end [2025-03-08 19:29:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:29:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:29:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:29:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:29:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:29:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:29:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:29:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:29:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:29:16] Production.INFO: ==3668== Releasing lock... [2025-03-08 19:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:29:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:29:17] Production.INFO: count ==2600 [2025-03-08 19:29:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:29:05 - End Time 2025-03-08 19:29:05 [2025-03-08 19:29:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637291', 'tblTempUsageDetail_20' ) start [2025-03-08 19:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637291', 'tblTempUsageDetail_20' ) end [2025-03-08 19:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637291', 'tblTempVendorCDR_20' ) start [2025-03-08 19:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637291', 'tblTempVendorCDR_20' ) end [2025-03-08 19:29:18] Production.INFO: ProcessCDR(1,14637291,1,1,2) [2025-03-08 19:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637291', 'tblTempUsageDetail_20' ) start [2025-03-08 19:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637291', 'tblTempUsageDetail_20' ) end [2025-03-08 19:29:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:29:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:29:23] Production.INFO: ==3676== Releasing lock... [2025-03-08 19:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:29:23] Production.INFO: 47.5 MB #Memory Used# [2025-03-09 00:30:02] Production.INFO: ==3734== Lock acquired, processing the job... [2025-03-09 00:30:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:30:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:30:02] Production.INFO: neon service started [2025-03-09 00:30:02] Production.INFO: neon service started [2025-03-09 00:30:02] Production.INFO: ==3734== Releasing lock... [2025-03-09 00:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:30:02] Production.INFO: ==3736== Lock acquired, processing the job... [2025-03-08 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:30:03] Production.INFO: ==3738== Lock acquired, processing the job... [2025-03-09 00:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 19:30:03] Production.INFO: ==3736== Releasing lock... [2025-03-08 19:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:30:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:30:03] Production.INFO: ==3738== Releasing lock... [2025-03-09 00:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:30:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:30:04] Production.INFO: ==3741== Lock acquired, processing the job... [2025-03-08 19:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 19:30:04] Production.INFO: ==3747== Lock acquired, processing the job... [2025-03-08 19:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:30:04] Production.INFO: ==3753== Lock acquired, processing the job... [2025-03-08 19:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 19:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 19:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 19:30:04] Production.ERROR: CronJob PID - 3747 [2025-03-08 19:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-08 19:30:04] Production.ERROR: CronJob ID - 10 [2025-03-08 19:30:04] Production.ERROR: CronJob Last Run Time 2025-03-08 19:30:00 [2025-03-08 19:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 19:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 19:30:04] Production.INFO: ==3743== Lock acquired, processing the job... [2025-03-08 19:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 19:30:04] Production.INFO: ==3741== Releasing lock... [2025-03-08 19:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 19:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 19:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:30:04] Production.INFO: ==3745== Lock acquired, processing the job... [2025-03-08 19:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:30:04] Production.INFO: ==3755== Lock acquired, processing the job... [2025-03-08 19:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:30:04] Production.INFO: ==3751== Lock acquired, processing the job... [2025-03-08 19:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:30:04] Production.INFO: ==3749== Lock acquired, processing the job... [2025-03-08 19:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 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-08 19:30:04] Production.INFO: count ==13 [2025-03-08 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-08 19:30:04] Production.INFO: count ==21 [2025-03-08 19:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637293') start [2025-03-08 19:30:04] Production.INFO: Account Balance Start. [2025-03-08 19:30:04] Production.INFO: CreateAllLog Start [2025-03-08 19:30:04] Production.INFO: 117 [2025-03-08 19:30:05] Production.ERROR: done [2025-03-08 19:30:05] Production.INFO: Date 2025-03-08 [2025-03-08 19:30:05] Production.INFO: Reseller ==> 0 [2025-03-08 19:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637293') end [2025-03-08 19:30:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:30:05] Production.INFO: 1 [2025-03-08 19:30:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:30:05] Production.INFO: Total Charge 0 [2025-03-08 19:30:05] Production.ERROR: done [2025-03-08 19:30:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:30:05] Production.INFO: ==3755== Releasing lock... [2025-03-08 19:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:30:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:30:05] Production.INFO: ==3745== Releasing lock... [2025-03-08 19:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:30:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:30:05] Production.INFO: CreateAllLog End [2025-03-08 19:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 19:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637296', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 19:30:05] Production.ERROR: done [2025-03-08 19:30:05] Production.INFO: Account Balance End. [2025-03-08 19:30:05] Production.ERROR: CronJobId end 12 [2025-03-08 19:30:05] Production.INFO: ==3749== Releasing lock... [2025-03-08 19:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:30:06 [end_date_ymd] => 2025-03-08 19:30:06 [RateCDR] => 1 ) [2025-03-08 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-08 16:30:06' and `end` < '2025-03-08 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-08 19:30:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637296', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 19:30:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 19:30:10] Production.INFO: ProcessCDR(1,14637296,1,1,2) [2025-03-08 19:30:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14637296,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14637296,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:30:10] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:30:10] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:30:10] Production.INFO: ==3753== Releasing lock... [2025-03-08 19:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 19:30:10] Production.INFO: 26 MB #Memory Used# [2025-03-08 19:30:14] Production.ERROR: CronJobId end10 [2025-03-08 19:30:14] Production.INFO: ==3747== Releasing lock... [2025-03-08 19:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:30:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:30:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:30:17] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:30:17] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:30:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:30:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:30:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:30:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:30:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:30:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:30:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:30:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:30:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:30:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:30:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:30:17] Production.INFO: call_cost start [2025-03-08 19:30:17] Production.INFO: call_cost end [2025-03-08 19:30:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:30:18] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:30:18] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:30:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:30:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:30:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:30:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:30:18] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:30:18] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:30:18] Production.INFO: ==3743== Releasing lock... [2025-03-08 19:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:30:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:30:19] Production.INFO: count ==2601 [2025-03-08 19:30:20] Production.ERROR: pbx CDR StartTime 2025-03-08 16:30:06 - End Time 2025-03-08 19:30:06 [2025-03-08 19:30:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637297', 'tblTempUsageDetail_20' ) start [2025-03-08 19:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637297', 'tblTempUsageDetail_20' ) end [2025-03-08 19:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637297', 'tblTempVendorCDR_20' ) start [2025-03-08 19:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637297', 'tblTempVendorCDR_20' ) end [2025-03-08 19:30:20] Production.INFO: ProcessCDR(1,14637297,1,1,2) [2025-03-08 19:30:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:30:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:30:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:30:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:30:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637297', 'tblTempUsageDetail_20' ) start [2025-03-08 19:30:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637297', 'tblTempUsageDetail_20' ) end [2025-03-08 19:30:25] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:30:25] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:30:25] Production.INFO: ==3751== Releasing lock... [2025-03-08 19:30:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:30:25] Production.INFO: 47.5 MB #Memory Used# [2025-03-09 00:31:01] Production.INFO: ==3816== Lock acquired, processing the job... [2025-03-09 00:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:31:01] Production.INFO: neon service started [2025-03-09 00:31:01] Production.INFO: neon service started [2025-03-09 00:31:01] Production.INFO: ==3816== Releasing lock... [2025-03-09 00:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:31:02] Production.INFO: ==3819== Lock acquired, processing the job... [2025-03-08 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:31:02] Production.INFO: ==3819== Releasing lock... [2025-03-08 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:31:02] Production.INFO: ==3821== Lock acquired, processing the job... [2025-03-09 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:31:02] Production.INFO: ==3821== Releasing lock... [2025-03-09 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:31:03] Production.INFO: ==3823== Lock acquired, processing the job... [2025-03-08 19:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:31:03] Production.INFO: ==3825== Lock acquired, processing the job... [2025-03-08 19:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:31:03] Production.INFO: ==3827== Lock acquired, processing the job... [2025-03-08 19:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:31:03] Production.INFO: ==3831== Lock acquired, processing the job... [2025-03-08 19:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:31:03] Production.INFO: ==3829== Lock acquired, processing the job... [2025-03-08 19:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:31:03] Production.INFO: ==3833== Lock acquired, processing the job... [2025-03-08 19:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:31:03] Production.INFO: Account Balance Start. [2025-03-08 19:31:03] Production.INFO: CreateAllLog Start [2025-03-08 19:31:03] Production.INFO: 117 [2025-03-08 19:31:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:31:03] Production.INFO: Reseller ==> 0 [2025-03-08 19:31:04] Production.INFO: ==3825== Releasing lock... [2025-03-08 19:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:31:04] Production.ERROR: done [2025-03-08 19:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 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-08 19:31:04] Production.INFO: Total Charge 0 [2025-03-08 19:31:04] Production.INFO: count ==13 [2025-03-08 19:31:04] Production.INFO: CreateAllLog End [2025-03-08 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-08 19:31:04] Production.INFO: count ==21 [2025-03-08 19:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637301') start [2025-03-08 19:31:04] Production.ERROR: done [2025-03-08 19:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637301') end [2025-03-08 19:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:31:04] Production.INFO: 1 [2025-03-08 19:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:31:04] Production.INFO: ==3833== Releasing lock... [2025-03-08 19:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:31:04] Production.INFO: Account Balance End. [2025-03-08 19:31:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:31:04] Production.INFO: ==3829== Releasing lock... [2025-03-08 19:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:31:05 [end_date_ymd] => 2025-03-08 19:31:05 [RateCDR] => 1 ) [2025-03-08 19:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:31:05' and `end` < '2025-03-08 19:31:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:31:12] Production.ERROR: CronJobId end10 [2025-03-08 19:31:12] Production.INFO: ==3827== Releasing lock... [2025-03-08 19:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:31:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:31:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:31:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:31:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:31:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:31:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:31:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:31:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:31:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:31:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:31:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:31:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:31:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:31:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:31:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:31:14] Production.INFO: call_cost start [2025-03-08 19:31:14] Production.INFO: call_cost end [2025-03-08 19:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:31:15] Production.INFO: ==3823== Releasing lock... [2025-03-08 19:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:31:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:31:17] Production.INFO: count ==2583 [2025-03-08 19:31:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:31:05 - End Time 2025-03-08 19:31:05 [2025-03-08 19:31:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637302', 'tblTempUsageDetail_20' ) start [2025-03-08 19:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637302', 'tblTempUsageDetail_20' ) end [2025-03-08 19:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637302', 'tblTempVendorCDR_20' ) start [2025-03-08 19:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637302', 'tblTempVendorCDR_20' ) end [2025-03-08 19:31:18] Production.INFO: ProcessCDR(1,14637302,1,1,2) [2025-03-08 19:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637302', 'tblTempUsageDetail_20' ) start [2025-03-08 19:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637302', 'tblTempUsageDetail_20' ) end [2025-03-08 19:31:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:31:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:31:22] Production.INFO: ==3831== Releasing lock... [2025-03-08 19:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:31:22] Production.INFO: 47.5 MB #Memory Used# [2025-03-09 00:32:02] Production.INFO: ==3886== Lock acquired, processing the job... [2025-03-09 00:32:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:32:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:32:02] Production.INFO: neon service started [2025-03-09 00:32:02] Production.INFO: neon service started [2025-03-09 00:32:02] Production.INFO: ==3886== Releasing lock... [2025-03-09 00:32:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:32:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:32:02] Production.INFO: ==3888== Lock acquired, processing the job... [2025-03-08 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:32:03] Production.INFO: ==3888== Releasing lock... [2025-03-08 19:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:32:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:32:03] Production.INFO: ==3890== Lock acquired, processing the job... [2025-03-09 00:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:32:03] Production.INFO: ==3890== Releasing lock... [2025-03-09 00:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:32:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:32:04] Production.INFO: ==3892== Lock acquired, processing the job... [2025-03-08 19:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:32:04] Production.INFO: ==3894== Lock acquired, processing the job... [2025-03-08 19:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:32:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:32:04] Production.INFO: ==3896== Lock acquired, processing the job... [2025-03-08 19:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:32:04] Production.INFO: ==3898== Lock acquired, processing the job... [2025-03-08 19:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:32:04] Production.INFO: ==3901== Lock acquired, processing the job... [2025-03-08 19:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:32:04] Production.INFO: ==3903== Lock acquired, processing the job... [2025-03-08 19:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:32:04] Production.INFO: Account Balance Start. [2025-03-08 19:32:04] Production.INFO: CreateAllLog Start [2025-03-08 19:32:04] Production.INFO: 117 [2025-03-08 19:32:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:32:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:32:04] Production.INFO: ==3894== Releasing lock... [2025-03-08 19:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:32:04] Production.INFO: Total Charge 0 [2025-03-08 19:32:04] Production.INFO: CreateAllLog End [2025-03-08 19:32:04] Production.ERROR: done [2025-03-08 19:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:32:04] Production.INFO: count ==13 [2025-03-08 19:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:32:04] Production.INFO: count ==21 [2025-03-08 19:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637306') start [2025-03-08 19:32:05] Production.ERROR: done [2025-03-08 19:32:05] Production.INFO: Account Balance End. [2025-03-08 19:32:05] Production.ERROR: CronJobId end 12 [2025-03-08 19:32:05] Production.INFO: ==3898== Releasing lock... [2025-03-08 19:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:32:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:32:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637306') end [2025-03-08 19:32:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:32:05] Production.INFO: 1 [2025-03-08 19:32:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:32:05] Production.INFO: ==3903== Releasing lock... [2025-03-08 19:32:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:32:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:32:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:32:06 [end_date_ymd] => 2025-03-08 19:32:06 [RateCDR] => 1 ) [2025-03-08 19:32:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:32:06' and `end` < '2025-03-08 19:32:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:32:13] Production.ERROR: CronJobId end10 [2025-03-08 19:32:13] Production.INFO: ==3896== Releasing lock... [2025-03-08 19:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:32:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:32:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:32:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:32:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:32:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:32:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:32:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:32:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:32:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:32:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:32:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:32:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:32:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:32:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:32:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:32:16] Production.INFO: call_cost start [2025-03-08 19:32:16] Production.INFO: call_cost end [2025-03-08 19:32:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:32:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:32:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:32:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:32:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:32:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:32:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:32:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:32:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:32:17] Production.INFO: ==3892== Releasing lock... [2025-03-08 19:32:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:32:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:32:18] Production.INFO: count ==2583 [2025-03-08 19:32:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:32:06 - End Time 2025-03-08 19:32:06 [2025-03-08 19:32:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637307', 'tblTempUsageDetail_20' ) start [2025-03-08 19:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637307', 'tblTempUsageDetail_20' ) end [2025-03-08 19:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637307', 'tblTempVendorCDR_20' ) start [2025-03-08 19:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637307', 'tblTempVendorCDR_20' ) end [2025-03-08 19:32:19] Production.INFO: ProcessCDR(1,14637307,1,1,2) [2025-03-08 19:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637307', 'tblTempUsageDetail_20' ) start [2025-03-08 19:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637307', 'tblTempUsageDetail_20' ) end [2025-03-08 19:32:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:32:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:32:23] Production.INFO: ==3901== Releasing lock... [2025-03-08 19:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:32:23] Production.INFO: 47.5 MB #Memory Used# [2025-03-09 00:33:01] Production.INFO: ==4003== Lock acquired, processing the job... [2025-03-09 00:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:33:01] Production.INFO: neon service started [2025-03-09 00:33:01] Production.INFO: neon service started [2025-03-09 00:33:01] Production.INFO: ==4003== Releasing lock... [2025-03-09 00:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:33:02] Production.INFO: ==4006== Lock acquired, processing the job... [2025-03-08 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:33:02] Production.INFO: ==4006== Releasing lock... [2025-03-08 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:33:02] Production.INFO: ==4008== Lock acquired, processing the job... [2025-03-09 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:33:02] Production.INFO: ==4008== Releasing lock... [2025-03-09 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:33:03] Production.INFO: ==4010== Lock acquired, processing the job... [2025-03-08 19:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:33:03] Production.INFO: ==4018== Lock acquired, processing the job... [2025-03-08 19:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:33:03] Production.INFO: ==4013== Lock acquired, processing the job... [2025-03-08 19:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:33:03] Production.INFO: ==4015== Lock acquired, processing the job... [2025-03-08 19:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:33:03] Production.INFO: Account Balance Start. [2025-03-08 19:33:03] Production.INFO: CreateAllLog Start [2025-03-08 19:33:03] Production.INFO: 117 [2025-03-08 19:33:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:33:03] Production.INFO: ==4020== Lock acquired, processing the job... [2025-03-08 19:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:33:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:33:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:33:04] Production.INFO: ==4022== Lock acquired, processing the job... [2025-03-08 19:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:33:04] Production.INFO: Total Charge 0 [2025-03-08 19:33:04] Production.INFO: CreateAllLog End [2025-03-08 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-08 19:33:04] Production.INFO: count ==13 [2025-03-08 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-08 19:33:04] Production.INFO: count ==21 [2025-03-08 19:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637311') start [2025-03-08 19:33:04] Production.INFO: ==4013== Releasing lock... [2025-03-08 19:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:33:04] Production.ERROR: done [2025-03-08 19:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:33:04] Production.INFO: Account Balance End. [2025-03-08 19:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637311') end [2025-03-08 19:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:33:04] Production.INFO: 1 [2025-03-08 19:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:33:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:33:04] Production.INFO: ==4018== Releasing lock... [2025-03-08 19:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:33:04] Production.INFO: ==4022== Releasing lock... [2025-03-08 19:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:33:04] Production.ERROR: done [2025-03-08 19:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:33:05 [end_date_ymd] => 2025-03-08 19:33:05 [RateCDR] => 1 ) [2025-03-08 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-08 16:33:05' and `end` < '2025-03-08 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-08 19:33:12] Production.ERROR: CronJobId end10 [2025-03-08 19:33:12] Production.INFO: ==4015== Releasing lock... [2025-03-08 19:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:33:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:33:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:33:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:33:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:33:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:33:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:33:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:33:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:33:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:33:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:33:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:33:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:33:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:33:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:33:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:33:16] Production.INFO: call_cost start [2025-03-08 19:33:16] Production.INFO: call_cost end [2025-03-08 19:33:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:33:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:33:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:33:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:33:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:33:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:33:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:33:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:33:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:33:16] Production.INFO: ==4010== Releasing lock... [2025-03-08 19:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:33:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:33:17] Production.INFO: count ==2569 [2025-03-08 19:33:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:33:05 - End Time 2025-03-08 19:33:05 [2025-03-08 19:33:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637312', 'tblTempUsageDetail_20' ) start [2025-03-08 19:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637312', 'tblTempUsageDetail_20' ) end [2025-03-08 19:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637312', 'tblTempVendorCDR_20' ) start [2025-03-08 19:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637312', 'tblTempVendorCDR_20' ) end [2025-03-08 19:33:18] Production.INFO: ProcessCDR(1,14637312,1,1,2) [2025-03-08 19:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637312', 'tblTempUsageDetail_20' ) start [2025-03-08 19:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637312', 'tblTempUsageDetail_20' ) end [2025-03-08 19:33:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:33:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:33:23] Production.INFO: ==4020== Releasing lock... [2025-03-08 19:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:33:23] Production.INFO: 47.25 MB #Memory Used# [2025-03-09 00:34:02] Production.INFO: ==4083== Lock acquired, processing the job... [2025-03-09 00:34:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:34:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:34:02] Production.INFO: neon service started [2025-03-09 00:34:02] Production.INFO: neon service started [2025-03-09 00:34:02] Production.INFO: ==4083== Releasing lock... [2025-03-09 00:34:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:34:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:34:02] Production.INFO: ==4086== Lock acquired, processing the job... [2025-03-08 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:34:03] Production.INFO: ==4086== Releasing lock... [2025-03-08 19:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:34:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:34:03] Production.INFO: ==4088== Lock acquired, processing the job... [2025-03-09 00:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:34:03] Production.INFO: ==4088== Releasing lock... [2025-03-09 00:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:34:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:34:04] Production.INFO: ==4090== Lock acquired, processing the job... [2025-03-08 19:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:34:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:34:04] Production.INFO: ==4100== Lock acquired, processing the job... [2025-03-08 19:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:34:04] Production.INFO: ==4092== Lock acquired, processing the job... [2025-03-08 19:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:34:04] Production.INFO: ==4094== Lock acquired, processing the job... [2025-03-08 19:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:34:04] Production.INFO: ==4096== Lock acquired, processing the job... [2025-03-08 19:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:34:04] Production.INFO: count ==13 [2025-03-08 19:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:34:04] Production.INFO: count ==21 [2025-03-08 19:34:04] Production.INFO: ==4098== Lock acquired, processing the job... [2025-03-08 19:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637314') start [2025-03-08 19:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:34:04] Production.INFO: Account Balance Start. [2025-03-08 19:34:04] Production.INFO: CreateAllLog Start [2025-03-08 19:34:04] Production.INFO: 117 [2025-03-08 19:34:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:34:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637314') end [2025-03-08 19:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:34:04] Production.INFO: 1 [2025-03-08 19:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:34:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:34:04] Production.INFO: ==4100== Releasing lock... [2025-03-08 19:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:34:04] Production.INFO: Total Charge 0 [2025-03-08 19:34:04] Production.INFO: CreateAllLog End [2025-03-08 19:34:04] Production.INFO: ==4092== Releasing lock... [2025-03-08 19:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:34:04] Production.INFO: Account Balance End. [2025-03-08 19:34:05] Production.ERROR: done [2025-03-08 19:34:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:34:05] Production.ERROR: CronJobId end 12 [2025-03-08 19:34:05] Production.INFO: ==4096== Releasing lock... [2025-03-08 19:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:34:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:34:05] Production.ERROR: done [2025-03-08 19:34:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:34:06 [end_date_ymd] => 2025-03-08 19:34:06 [RateCDR] => 1 ) [2025-03-08 19:34:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:34:06' and `end` < '2025-03-08 19:34:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:34:14] Production.ERROR: CronJobId end10 [2025-03-08 19:34:14] Production.INFO: ==4094== Releasing lock... [2025-03-08 19:34:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:34:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:34:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:34:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:34:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:34:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:34:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:34:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:34:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:34:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:34:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:34:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:34:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:34:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:34:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:34:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:34:16] Production.INFO: call_cost start [2025-03-08 19:34:16] Production.INFO: call_cost end [2025-03-08 19:34:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:34:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:34:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:34:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:34:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:34:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:34:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:34:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:34:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:34:16] Production.INFO: ==4090== Releasing lock... [2025-03-08 19:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:34:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:34:18] Production.INFO: count ==2570 [2025-03-08 19:34:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:34:06 - End Time 2025-03-08 19:34:06 [2025-03-08 19:34:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637317', 'tblTempUsageDetail_20' ) start [2025-03-08 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637317', 'tblTempUsageDetail_20' ) end [2025-03-08 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637317', 'tblTempVendorCDR_20' ) start [2025-03-08 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637317', 'tblTempVendorCDR_20' ) end [2025-03-08 19:34:19] Production.INFO: ProcessCDR(1,14637317,1,1,2) [2025-03-08 19:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637317', 'tblTempUsageDetail_20' ) start [2025-03-08 19:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637317', 'tblTempUsageDetail_20' ) end [2025-03-08 19:34:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:34:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:34:23] Production.INFO: ==4098== Releasing lock... [2025-03-08 19:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:34:23] Production.INFO: 47 MB #Memory Used# [2025-03-09 00:35:01] Production.INFO: ==4157== Lock acquired, processing the job... [2025-03-09 00:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:35:01] Production.INFO: neon service started [2025-03-09 00:35:01] Production.INFO: neon service started [2025-03-09 00:35:01] Production.INFO: ==4157== Releasing lock... [2025-03-09 00:35:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:35:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:35:02] Production.INFO: ==4162== Lock acquired, processing the job... [2025-03-09 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:35:02] Production.INFO: ==4162== Releasing lock... [2025-03-09 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:35:02] Production.INFO: ==4160== Lock acquired, processing the job... [2025-03-08 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:35:02] Production.INFO: ==4160== Releasing lock... [2025-03-08 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:35:03] Production.INFO: ==4170== Lock acquired, processing the job... [2025-03-08 19:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:35:03] Production.INFO: ==4164== Lock acquired, processing the job... [2025-03-08 19:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:35:03] Production.INFO: ==4174== Lock acquired, processing the job... [2025-03-08 19:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:35:03] Production.INFO: Account Balance Start. [2025-03-08 19:35:03] Production.INFO: CreateAllLog Start [2025-03-08 19:35:03] Production.INFO: 117 [2025-03-08 19:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:35:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:35:03] Production.INFO: ==4166== Lock acquired, processing the job... [2025-03-08 19:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:35:03] Production.INFO: count ==13 [2025-03-08 19:35:03] Production.INFO: Reseller ==> 0 [2025-03-08 19:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:35:03] Production.INFO: count ==21 [2025-03-08 19:35:03] Production.INFO: ==4168== Lock acquired, processing the job... [2025-03-08 19:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637320') start [2025-03-08 19:35:04] Production.INFO: ==4172== Lock acquired, processing the job... [2025-03-08 19:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637320') end [2025-03-08 19:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:35:04] Production.INFO: 1 [2025-03-08 19:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:35:04] Production.INFO: ==4174== Releasing lock... [2025-03-08 19:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:35:04] Production.INFO: Total Charge 0 [2025-03-08 19:35:04] Production.INFO: CreateAllLog End [2025-03-08 19:35:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:35:04] Production.INFO: ==4166== Releasing lock... [2025-03-08 19:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:35:04] Production.ERROR: done [2025-03-08 19:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:35:04] Production.INFO: Account Balance End. [2025-03-08 19:35:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:35:04] Production.INFO: ==4170== Releasing lock... [2025-03-08 19:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:35:04] Production.ERROR: done [2025-03-08 19:35:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:35:06 [end_date_ymd] => 2025-03-08 19:35:06 [RateCDR] => 1 ) [2025-03-08 19: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-08 16:35:06' and `end` < '2025-03-08 19: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-08 19:35:13] Production.ERROR: CronJobId end10 [2025-03-08 19:35:13] Production.INFO: ==4168== Releasing lock... [2025-03-08 19:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:35:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:35:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:35:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:35:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:35:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:35:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:35:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:35:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:35:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:35:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:35:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:35:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:35:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:35:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:35:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:35:14] Production.INFO: call_cost start [2025-03-08 19:35:14] Production.INFO: call_cost end [2025-03-08 19:35:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:35:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:35:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:35:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:35:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:35:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:35:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:35:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:35:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:35:15] Production.INFO: ==4164== Releasing lock... [2025-03-08 19:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:35:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:35:18] Production.INFO: count ==2572 [2025-03-08 19:35:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:35:06 - End Time 2025-03-08 19:35:06 [2025-03-08 19:35:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637322', 'tblTempUsageDetail_20' ) start [2025-03-08 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637322', 'tblTempUsageDetail_20' ) end [2025-03-08 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637322', 'tblTempVendorCDR_20' ) start [2025-03-08 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637322', 'tblTempVendorCDR_20' ) end [2025-03-08 19:35:19] Production.INFO: ProcessCDR(1,14637322,1,1,2) [2025-03-08 19:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637322', 'tblTempUsageDetail_20' ) start [2025-03-08 19:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637322', 'tblTempUsageDetail_20' ) end [2025-03-08 19:35:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:35:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:35:23] Production.INFO: ==4172== Releasing lock... [2025-03-08 19:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:35:23] Production.INFO: 47 MB #Memory Used# [2025-03-09 00:36:02] Production.INFO: ==4227== Lock acquired, processing the job... [2025-03-09 00:36:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:36:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:36:02] Production.INFO: neon service started [2025-03-09 00:36:02] Production.INFO: neon service started [2025-03-09 00:36:02] Production.INFO: ==4227== Releasing lock... [2025-03-09 00:36:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:36:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:36:03] Production.INFO: ==4230== Lock acquired, processing the job... [2025-03-08 19:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:36:03] Production.INFO: ==4232== Lock acquired, processing the job... [2025-03-09 00:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:36:03] Production.INFO: ==4232== Releasing lock... [2025-03-09 00:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:36:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:36:03] Production.INFO: ==4230== Releasing lock... [2025-03-08 19:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:36:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:36:04] Production.INFO: ==4239== Lock acquired, processing the job... [2025-03-08 19:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:36:04] Production.INFO: ==4237== Lock acquired, processing the job... [2025-03-08 19:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:36:04] Production.INFO: ==4237== Releasing lock... [2025-03-08 19:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:36:04] Production.INFO: ==4235== Lock acquired, processing the job... [2025-03-08 19:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:36:05] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:36:05] Production.INFO: ==4245== Lock acquired, processing the job... [2025-03-08 19:36:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:36:05] Production.INFO: ==4243== Lock acquired, processing the job... [2025-03-08 19:36:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:36:05] Production.INFO: ==4241== Lock acquired, processing the job... [2025-03-08 19:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:36:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:36: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-08 19:36:05] Production.INFO: Account Balance Start. [2025-03-08 19:36:05] Production.INFO: CreateAllLog Start [2025-03-08 19:36:05] Production.INFO: 117 [2025-03-08 19:36:05] Production.INFO: Date 2025-03-08 [2025-03-08 19:36:05] Production.INFO: count ==13 [2025-03-08 19: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-08 19:36:05] Production.INFO: count ==21 [2025-03-08 19:36:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637325') start [2025-03-08 19:36:05] Production.INFO: Reseller ==> 0 [2025-03-08 19:36:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637325') end [2025-03-08 19:36:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:36:05] Production.INFO: 1 [2025-03-08 19:36:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:36:05] Production.INFO: ==4245== Releasing lock... [2025-03-08 19:36:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:36:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:36:05] Production.ERROR: done [2025-03-08 19:36:05] Production.INFO: Total Charge 0 [2025-03-08 19:36:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:36:05] Production.INFO: CreateAllLog End [2025-03-08 19:36:05] Production.ERROR: done [2025-03-08 19:36:05] Production.INFO: Account Balance End. [2025-03-08 19:36:05] Production.ERROR: CronJobId end 12 [2025-03-08 19:36:05] Production.INFO: ==4241== Releasing lock... [2025-03-08 19:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:36:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:36:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:36:06 [end_date_ymd] => 2025-03-08 19:36:06 [RateCDR] => 1 ) [2025-03-08 19: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-08 16:36:06' and `end` < '2025-03-08 19: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-08 19:36:14] Production.ERROR: CronJobId end10 [2025-03-08 19:36:14] Production.INFO: ==4239== Releasing lock... [2025-03-08 19:36:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:36:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:36:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:36:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:36:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:36:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:36:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:36:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:36:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:36:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:36:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:36:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:36:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:36:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:36:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:36:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:36:16] Production.INFO: call_cost start [2025-03-08 19:36:16] Production.INFO: call_cost end [2025-03-08 19:36:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:36:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:36:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:36:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:36:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:36:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:36:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:36:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:36:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:36:17] Production.INFO: ==4235== Releasing lock... [2025-03-08 19:36:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:36:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:36:19] Production.INFO: count ==2570 [2025-03-08 19:36:20] Production.ERROR: pbx CDR StartTime 2025-03-08 16:36:06 - End Time 2025-03-08 19:36:06 [2025-03-08 19:36:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637327', 'tblTempUsageDetail_20' ) start [2025-03-08 19:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637327', 'tblTempUsageDetail_20' ) end [2025-03-08 19:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637327', 'tblTempVendorCDR_20' ) start [2025-03-08 19:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637327', 'tblTempVendorCDR_20' ) end [2025-03-08 19:36:20] Production.INFO: ProcessCDR(1,14637327,1,1,2) [2025-03-08 19:36:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637327', 'tblTempUsageDetail_20' ) start [2025-03-08 19:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637327', 'tblTempUsageDetail_20' ) end [2025-03-08 19:36:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:36:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:36:23] Production.INFO: ==4243== Releasing lock... [2025-03-08 19:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:36:23] Production.INFO: 47.25 MB #Memory Used# [2025-03-09 00:37:02] Production.INFO: ==4303== Lock acquired, processing the job... [2025-03-09 00:37:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:37:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:37:02] Production.INFO: neon service started [2025-03-09 00:37:02] Production.INFO: neon service started [2025-03-09 00:37:02] Production.INFO: ==4303== Releasing lock... [2025-03-09 00:37:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:37:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:37:02] Production.INFO: ==4307== Lock acquired, processing the job... [2025-03-09 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:37:02] Production.INFO: ==4307== Releasing lock... [2025-03-09 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:37:02] Production.INFO: ==4305== Lock acquired, processing the job... [2025-03-08 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:37:02] Production.INFO: ==4305== Releasing lock... [2025-03-08 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:37:03] Production.INFO: ==4309== Lock acquired, processing the job... [2025-03-08 19:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:37:03] Production.INFO: ==4313== Lock acquired, processing the job... [2025-03-08 19:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:37:03] Production.INFO: ==4316== Lock acquired, processing the job... [2025-03-08 19:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:37:03] Production.INFO: ==4311== Lock acquired, processing the job... [2025-03-08 19:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:37:03] Production.INFO: Account Balance Start. [2025-03-08 19:37:03] Production.INFO: CreateAllLog Start [2025-03-08 19:37:03] Production.INFO: 117 [2025-03-08 19:37:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:37:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:37:04] Production.INFO: Total Charge 0 [2025-03-08 19:37:04] Production.INFO: CreateAllLog End [2025-03-08 19:37:04] Production.INFO: ==4320== Lock acquired, processing the job... [2025-03-08 19:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:37:04] Production.INFO: Account Balance End. [2025-03-08 19:37:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:37:04] Production.INFO: ==4316== Releasing lock... [2025-03-08 19:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:37:04] Production.INFO: ==4318== Lock acquired, processing the job... [2025-03-08 19:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:37:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:37:04] Production.INFO: ==4311== Releasing lock... [2025-03-08 19:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:37:04] Production.INFO: count ==13 [2025-03-08 19:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:37:04] Production.INFO: count ==21 [2025-03-08 19:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637331') start [2025-03-08 19:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637331') end [2025-03-08 19:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:37:04] Production.INFO: 1 [2025-03-08 19:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:37:04] Production.INFO: ==4320== Releasing lock... [2025-03-08 19:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:37:04] Production.ERROR: done [2025-03-08 19:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:37:05] Production.ERROR: done [2025-03-08 19:37:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:37:06 [end_date_ymd] => 2025-03-08 19:37:06 [RateCDR] => 1 ) [2025-03-08 19:37:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:37:06' and `end` < '2025-03-08 19:37:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:37:12] Production.ERROR: CronJobId end10 [2025-03-08 19:37:12] Production.INFO: ==4313== Releasing lock... [2025-03-08 19:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:37:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:37:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:37:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:37:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:37:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:37:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:37:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:37:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:37:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:37:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:37:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:37:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:37:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:37:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:37:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:37:14] Production.INFO: call_cost start [2025-03-08 19:37:14] Production.INFO: call_cost end [2025-03-08 19:37:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:37:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:37:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:37:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:37:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:37:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:37:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:37:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:37:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:37:15] Production.INFO: ==4309== Releasing lock... [2025-03-08 19:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:37:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:37:18] Production.INFO: count ==2580 [2025-03-08 19:37:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:37:06 - End Time 2025-03-08 19:37:06 [2025-03-08 19:37:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637332', 'tblTempUsageDetail_20' ) start [2025-03-08 19:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637332', 'tblTempUsageDetail_20' ) end [2025-03-08 19:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637332', 'tblTempVendorCDR_20' ) start [2025-03-08 19:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637332', 'tblTempVendorCDR_20' ) end [2025-03-08 19:37:19] Production.INFO: ProcessCDR(1,14637332,1,1,2) [2025-03-08 19:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637332', 'tblTempUsageDetail_20' ) start [2025-03-08 19:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637332', 'tblTempUsageDetail_20' ) end [2025-03-08 19:37:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:37:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:37:23] Production.INFO: ==4318== Releasing lock... [2025-03-08 19:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:37:23] Production.INFO: 47.5 MB #Memory Used# [2025-03-09 00:38:01] Production.INFO: ==4373== Lock acquired, processing the job... [2025-03-09 00:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:38:01] Production.INFO: neon service started [2025-03-09 00:38:01] Production.INFO: neon service started [2025-03-09 00:38:01] Production.INFO: ==4373== Releasing lock... [2025-03-09 00:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:38:01] Production.INFO: ==4375== Lock acquired, processing the job... [2025-03-08 19:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:38:02] Production.INFO: ==4375== Releasing lock... [2025-03-08 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:38:02] Production.INFO: ==4377== Lock acquired, processing the job... [2025-03-09 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:38:02] Production.INFO: ==4377== Releasing lock... [2025-03-09 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:38:03] Production.INFO: ==4386== Lock acquired, processing the job... [2025-03-08 19:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:38:03] Production.INFO: Account Balance Start. [2025-03-08 19:38:03] Production.INFO: CreateAllLog Start [2025-03-08 19:38:03] Production.INFO: 117 [2025-03-08 19:38:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:38:03] Production.INFO: ==4390== Lock acquired, processing the job... [2025-03-08 19:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:38:03] Production.INFO: Reseller ==> 0 [2025-03-08 19:38:03] Production.INFO: Total Charge 0 [2025-03-08 19:38:03] Production.INFO: CreateAllLog End [2025-03-08 19:38:03] Production.INFO: ==4380== Lock acquired, processing the job... [2025-03-08 19:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:38:03] Production.INFO: ==4384== Lock acquired, processing the job... [2025-03-08 19:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:38:03] Production.INFO: ==4382== Lock acquired, processing the job... [2025-03-08 19:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:38:03] Production.INFO: Account Balance End. [2025-03-08 19:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:38:03] Production.INFO: ==4388== Lock acquired, processing the job... [2025-03-08 19:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:38:03] Production.ERROR: CronJobId end 12 [2025-03-08 19:38:03] Production.INFO: ==4386== Releasing lock... [2025-03-08 19:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:38:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:38:03] Production.INFO: count ==13 [2025-03-08 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-08 19:38:03] Production.INFO: count ==21 [2025-03-08 19:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637334') start [2025-03-08 19:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637334') end [2025-03-08 19:38:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:38:03] Production.INFO: 1 [2025-03-08 19:38:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:38:03] Production.INFO: ==4390== Releasing lock... [2025-03-08 19:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:38:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:38:04] Production.INFO: ==4382== Releasing lock... [2025-03-08 19:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:38:04] Production.ERROR: done [2025-03-08 19:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:38:04] Production.ERROR: done [2025-03-08 19:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:38:05 [end_date_ymd] => 2025-03-08 19:38:05 [RateCDR] => 1 ) [2025-03-08 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-08 16:38:05' and `end` < '2025-03-08 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-08 19:38:12] Production.ERROR: CronJobId end10 [2025-03-08 19:38:12] Production.INFO: ==4384== Releasing lock... [2025-03-08 19:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:38:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:38:14] Production.INFO: call_cost start [2025-03-08 19:38:14] Production.INFO: call_cost end [2025-03-08 19:38:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:38:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:38:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:38:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:38:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:38:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:38:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:38:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:38:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:38:15] Production.INFO: ==4380== Releasing lock... [2025-03-08 19:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:38:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:38:17] Production.INFO: count ==2582 [2025-03-08 19:38:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:38:05 - End Time 2025-03-08 19:38:05 [2025-03-08 19:38:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637337', 'tblTempUsageDetail_20' ) start [2025-03-08 19:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637337', 'tblTempUsageDetail_20' ) end [2025-03-08 19:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637337', 'tblTempVendorCDR_20' ) start [2025-03-08 19:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637337', 'tblTempVendorCDR_20' ) end [2025-03-08 19:38:18] Production.INFO: ProcessCDR(1,14637337,1,1,2) [2025-03-08 19:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637337', 'tblTempUsageDetail_20' ) start [2025-03-08 19:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637337', 'tblTempUsageDetail_20' ) end [2025-03-08 19:38:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:38:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:38:22] Production.INFO: ==4388== Releasing lock... [2025-03-08 19:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:38:22] Production.INFO: 47.5 MB #Memory Used# [2025-03-09 00:39:01] Production.INFO: ==4448== Lock acquired, processing the job... [2025-03-09 00:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:39:01] Production.INFO: neon service started [2025-03-09 00:39:01] Production.INFO: neon service started [2025-03-09 00:39:01] Production.INFO: ==4448== Releasing lock... [2025-03-09 00:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:39:02] Production.INFO: ==4452== Lock acquired, processing the job... [2025-03-09 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:39:02] Production.INFO: ==4452== Releasing lock... [2025-03-09 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:39:02] Production.INFO: ==4450== Lock acquired, processing the job... [2025-03-08 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:39:02] Production.INFO: ==4450== Releasing lock... [2025-03-08 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:39:03] Production.INFO: ==4463== Lock acquired, processing the job... [2025-03-08 19:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:39:03] Production.INFO: ==4465== Lock acquired, processing the job... [2025-03-08 19:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:39:04] Production.INFO: ==4454== Lock acquired, processing the job... [2025-03-08 19:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:39:04] Production.INFO: ==4456== Lock acquired, processing the job... [2025-03-08 19:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:39:04] Production.INFO: ==4458== Lock acquired, processing the job... [2025-03-08 19:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:39:04] Production.INFO: ==4461== Lock acquired, processing the job... [2025-03-08 19:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:39:04] Production.ERROR: done [2025-03-08 19:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:39:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:39:04] Production.INFO: count ==13 [2025-03-08 19:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:39:04] Production.INFO: count ==21 [2025-03-08 19:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637338') start [2025-03-08 19:39:04] Production.INFO: Account Balance Start. [2025-03-08 19:39:04] Production.INFO: CreateAllLog Start [2025-03-08 19:39:04] Production.INFO: 117 [2025-03-08 19:39:04] Production.ERROR: done [2025-03-08 19:39:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637338') end [2025-03-08 19:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:39:04] Production.INFO: 1 [2025-03-08 19:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:39:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:39:04] Production.INFO: Total Charge 0 [2025-03-08 19:39:04] Production.INFO: CreateAllLog End [2025-03-08 19:39:04] Production.INFO: ==4465== Releasing lock... [2025-03-08 19:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:39:04] Production.INFO: ==4456== Releasing lock... [2025-03-08 19:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:39:04] Production.INFO: Account Balance End. [2025-03-08 19:39:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:39:04] Production.INFO: ==4461== Releasing lock... [2025-03-08 19:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:39:05 [end_date_ymd] => 2025-03-08 19:39:05 [RateCDR] => 1 ) [2025-03-08 19:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:39:05' and `end` < '2025-03-08 19:39:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:39:12] Production.ERROR: CronJobId end10 [2025-03-08 19:39:12] Production.INFO: ==4458== Releasing lock... [2025-03-08 19:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:39:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:39:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:39:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:39:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:39:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:39:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:39:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:39:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:39:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:39:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:39:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:39:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:39:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:39:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:39:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:39:14] Production.INFO: call_cost start [2025-03-08 19:39:14] Production.INFO: call_cost end [2025-03-08 19:39:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:39:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:39:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:39:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:39:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:39:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:39:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:39:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:39:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:39:15] Production.INFO: ==4454== Releasing lock... [2025-03-08 19:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:39:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:39:17] Production.INFO: count ==2581 [2025-03-08 19:39:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:39:05 - End Time 2025-03-08 19:39:05 [2025-03-08 19:39:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637342', 'tblTempUsageDetail_20' ) start [2025-03-08 19:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637342', 'tblTempUsageDetail_20' ) end [2025-03-08 19:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637342', 'tblTempVendorCDR_20' ) start [2025-03-08 19:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637342', 'tblTempVendorCDR_20' ) end [2025-03-08 19:39:18] Production.INFO: ProcessCDR(1,14637342,1,1,2) [2025-03-08 19:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637342', 'tblTempUsageDetail_20' ) start [2025-03-08 19:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637342', 'tblTempUsageDetail_20' ) end [2025-03-08 19:39:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:39:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:39:22] Production.INFO: ==4463== Releasing lock... [2025-03-08 19:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:39:22] Production.INFO: 47.75 MB #Memory Used# [2025-03-09 00:40:02] Production.INFO: ==4519== Lock acquired, processing the job... [2025-03-09 00:40:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:40:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:40:02] Production.INFO: neon service started [2025-03-09 00:40:02] Production.INFO: neon service started [2025-03-09 00:40:02] Production.INFO: ==4519== Releasing lock... [2025-03-09 00:40:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:40:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:40:02] Production.INFO: ==4521== Lock acquired, processing the job... [2025-03-08 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:40:03] Production.INFO: ==4521== Releasing lock... [2025-03-08 19:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:40:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:40:03] Production.INFO: ==4523== Lock acquired, processing the job... [2025-03-09 00:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:40:03] Production.INFO: ==4523== Releasing lock... [2025-03-09 00:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:40:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:40:04] Production.INFO: ==4528== Lock acquired, processing the job... [2025-03-08 19:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:40:04] Production.INFO: ==4530== Lock acquired, processing the job... [2025-03-08 19:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:40:04] Production.INFO: ==4532== Lock acquired, processing the job... [2025-03-08 19:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:40:04] Production.INFO: ==4526== Lock acquired, processing the job... [2025-03-08 19:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 19:40:04] Production.INFO: ==4534== Lock acquired, processing the job... [2025-03-08 19:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 19:40:04] Production.INFO: ==4536== Lock acquired, processing the job... [2025-03-08 19:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:40:04] Production.INFO: Account Balance Start. [2025-03-08 19:40:04] Production.INFO: CreateAllLog Start [2025-03-08 19:40:04] Production.INFO: 117 [2025-03-08 19:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 19:40:04] Production.ERROR: CronJob PID - 4528 [2025-03-08 19:40:04] Production.ERROR: CronJob Title - System Alerts [2025-03-08 19:40:04] Production.ERROR: CronJob ID - 5 [2025-03-08 19:40:04] Production.ERROR: CronJob Last Run Time 2025-03-08 19:40:00 [2025-03-08 19:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 19:40:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 19:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 19:40:04] Production.ERROR: CronJob PID - 4530 [2025-03-08 19:40:04] Production.ERROR: CronJob Title - Account Block [2025-03-08 19:40:04] Production.ERROR: CronJob ID - 7 [2025-03-08 19:40:04] Production.ERROR: CronJob Last Run Time 2025-03-08 19:40:00 [2025-03-08 19:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 19:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 19:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 19:40:04] Production.ERROR: CronJob PID - 4532 [2025-03-08 19:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-08 19:40:04] Production.ERROR: CronJob ID - 10 [2025-03-08 19:40:04] Production.ERROR: CronJob Last Run Time 2025-03-08 19:40:00 [2025-03-08 19:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 19:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 19:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 19:40:04] Production.ERROR: CronJob PID - 4534 [2025-03-08 19:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-08 19:40:04] Production.ERROR: CronJob ID - 12 [2025-03-08 19:40:04] Production.ERROR: CronJob Last Run Time 2025-03-08 19:40:00 [2025-03-08 19:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 19:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 19:40:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 19:40:04] Production.INFO: ==4526== Releasing lock... [2025-03-08 19:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 19:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 19:40:04] Production.INFO: ==4538== Lock acquired, processing the job... [2025-03-08 19:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 19:40:04] Production.INFO: ==4530== Releasing lock... [2025-03-08 19:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:40:04] Production.INFO: Total Charge 0 [2025-03-08 19:40:04] Production.INFO: ==4540== Lock acquired, processing the job... [2025-03-08 19:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:40:04] Production.INFO: CreateAllLog End [2025-03-08 19:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19: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-08 19:40:05] Production.INFO: count ==13 [2025-03-08 19: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-08 19:40:05] Production.INFO: count ==21 [2025-03-08 19:40:05] Production.ERROR: done [2025-03-08 19:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637346') start [2025-03-08 19:40:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:40:05] Production.INFO: Account Balance End. [2025-03-08 19:40:05] Production.ERROR: done [2025-03-08 19:40:05] Production.ERROR: CronJobId end 12 [2025-03-08 19:40:05] Production.INFO: ==4534== Releasing lock... [2025-03-08 19:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637346') end [2025-03-08 19:40:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:40:05] Production.INFO: 1 [2025-03-08 19:40:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 19:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637347', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 19:40:05] Production.INFO: ==4540== Releasing lock... [2025-03-08 19:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:40:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:40:05] Production.ERROR: done [2025-03-08 19:40:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:40:07 [end_date_ymd] => 2025-03-08 19:40:07 [RateCDR] => 1 ) [2025-03-08 19: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-08 16:40:07' and `end` < '2025-03-08 19: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-08 19:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637347', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 19:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 19:40:09] Production.INFO: ProcessCDR(1,14637347,1,1,2) [2025-03-08 19:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14637347,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14637347,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:40:09] Production.INFO: ==4538== Releasing lock... [2025-03-08 19:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 19:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-08 19:40:14] Production.ERROR: CronJobId end10 [2025-03-08 19:40:14] Production.INFO: ==4532== Releasing lock... [2025-03-08 19:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:40:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:40:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:40:16] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:40:16] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:40:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:40:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:40:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:40:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:40:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:40:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:40:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:40:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:40:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:40:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:40:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:40:16] Production.INFO: call_cost start [2025-03-08 19:40:16] Production.INFO: call_cost end [2025-03-08 19:40:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:40:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:40:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:40:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:40:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:40:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:40:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:40:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:40:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:40:17] Production.INFO: ==4528== Releasing lock... [2025-03-08 19:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:40:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:40:19] Production.INFO: count ==2579 [2025-03-08 19:40:20] Production.ERROR: pbx CDR StartTime 2025-03-08 16:40:07 - End Time 2025-03-08 19:40:07 [2025-03-08 19:40:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637348', 'tblTempUsageDetail_20' ) start [2025-03-08 19:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637348', 'tblTempUsageDetail_20' ) end [2025-03-08 19:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637348', 'tblTempVendorCDR_20' ) start [2025-03-08 19:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637348', 'tblTempVendorCDR_20' ) end [2025-03-08 19:40:20] Production.INFO: ProcessCDR(1,14637348,1,1,2) [2025-03-08 19:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637348', 'tblTempUsageDetail_20' ) start [2025-03-08 19:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637348', 'tblTempUsageDetail_20' ) end [2025-03-08 19:40:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:40:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:40:23] Production.INFO: ==4536== Releasing lock... [2025-03-08 19:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:40:23] Production.INFO: 47.25 MB #Memory Used# [2025-03-09 00:41:01] Production.INFO: ==4604== Lock acquired, processing the job... [2025-03-09 00:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:41:01] Production.INFO: neon service started [2025-03-09 00:41:01] Production.INFO: neon service started [2025-03-09 00:41:01] Production.INFO: ==4604== Releasing lock... [2025-03-09 00:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:41:02] Production.INFO: ==4606== Lock acquired, processing the job... [2025-03-08 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:41:02] Production.INFO: ==4608== Lock acquired, processing the job... [2025-03-09 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:41:02] Production.INFO: ==4608== Releasing lock... [2025-03-09 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:41:02] Production.INFO: ==4606== Releasing lock... [2025-03-08 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:41:03] Production.INFO: ==4611== Lock acquired, processing the job... [2025-03-08 19:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:41:03] Production.INFO: ==4613== Lock acquired, processing the job... [2025-03-08 19:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:41:03] Production.INFO: ==4621== Lock acquired, processing the job... [2025-03-08 19:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:41:03] Production.INFO: ==4619== Lock acquired, processing the job... [2025-03-08 19:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:41:03] Production.INFO: ==4617== Lock acquired, processing the job... [2025-03-08 19:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:41:03] Production.INFO: count ==13 [2025-03-08 19:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:41:03] Production.INFO: count ==21 [2025-03-08 19:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637351') start [2025-03-08 19:41:03] Production.INFO: ==4615== Lock acquired, processing the job... [2025-03-08 19:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637351') end [2025-03-08 19:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:41:04] Production.INFO: 1 [2025-03-08 19:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:41:04] Production.INFO: Account Balance Start. [2025-03-08 19:41:04] Production.INFO: CreateAllLog Start [2025-03-08 19:41:04] Production.INFO: 117 [2025-03-08 19:41:04] Production.INFO: ==4621== Releasing lock... [2025-03-08 19:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:41:04] Production.INFO: ==4613== Releasing lock... [2025-03-08 19:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:41:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:41:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:41:04] Production.ERROR: done [2025-03-08 19:41:04] Production.INFO: Total Charge 0 [2025-03-08 19:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:41:04] Production.INFO: CreateAllLog End [2025-03-08 19:41:04] Production.ERROR: done [2025-03-08 19:41:04] Production.INFO: Account Balance End. [2025-03-08 19:41:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:41:04] Production.INFO: ==4617== Releasing lock... [2025-03-08 19:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:41:05 [end_date_ymd] => 2025-03-08 19:41:05 [RateCDR] => 1 ) [2025-03-08 19:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:41:05' and `end` < '2025-03-08 19:41:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:41:13] Production.ERROR: CronJobId end10 [2025-03-08 19:41:13] Production.INFO: ==4615== Releasing lock... [2025-03-08 19:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:41:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:41:14] Production.INFO: call_cost start [2025-03-08 19:41:14] Production.INFO: call_cost end [2025-03-08 19:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:41:15] Production.INFO: ==4611== Releasing lock... [2025-03-08 19:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:41:17] Production.INFO: count ==2582 [2025-03-08 19:41:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:41:05 - End Time 2025-03-08 19:41:05 [2025-03-08 19:41:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637353', 'tblTempUsageDetail_20' ) start [2025-03-08 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637353', 'tblTempUsageDetail_20' ) end [2025-03-08 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637353', 'tblTempVendorCDR_20' ) start [2025-03-08 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637353', 'tblTempVendorCDR_20' ) end [2025-03-08 19:41:18] Production.INFO: ProcessCDR(1,14637353,1,1,2) [2025-03-08 19:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637353', 'tblTempUsageDetail_20' ) start [2025-03-08 19:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637353', 'tblTempUsageDetail_20' ) end [2025-03-08 19:41:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:41:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:41:22] Production.INFO: ==4619== Releasing lock... [2025-03-08 19:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:41:22] Production.INFO: 47.5 MB #Memory Used# [2025-03-09 00:42:02] Production.INFO: ==4676== Lock acquired, processing the job... [2025-03-09 00:42:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:42:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:42:02] Production.INFO: neon service started [2025-03-09 00:42:02] Production.INFO: neon service started [2025-03-09 00:42:02] Production.INFO: ==4676== Releasing lock... [2025-03-09 00:42:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:42:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:42:02] Production.INFO: ==4678== Lock acquired, processing the job... [2025-03-08 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:42:02] Production.INFO: ==4678== Releasing lock... [2025-03-08 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:42:02] Production.INFO: ==4680== Lock acquired, processing the job... [2025-03-09 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:42:03] Production.INFO: ==4680== Releasing lock... [2025-03-09 00:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:42:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:42:03] Production.INFO: ==4684== Lock acquired, processing the job... [2025-03-08 19:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:42:03] Production.INFO: ==4682== Lock acquired, processing the job... [2025-03-08 19:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:42:03] Production.INFO: ==4688== Lock acquired, processing the job... [2025-03-08 19:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:42:03] Production.INFO: Account Balance Start. [2025-03-08 19:42:03] Production.INFO: CreateAllLog Start [2025-03-08 19:42:03] Production.INFO: 117 [2025-03-08 19:42:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:42:03] Production.INFO: Reseller ==> 0 [2025-03-08 19:42:04] Production.INFO: ==4686== Lock acquired, processing the job... [2025-03-08 19:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:42:04] Production.INFO: Total Charge 0 [2025-03-08 19:42:04] Production.INFO: ==4690== Lock acquired, processing the job... [2025-03-08 19:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:42:04] Production.INFO: CreateAllLog End [2025-03-08 19:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:42:04] Production.INFO: ==4692== Lock acquired, processing the job... [2025-03-08 19:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:42:04] Production.INFO: ==4684== Releasing lock... [2025-03-08 19:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:42:04] Production.INFO: Account Balance End. [2025-03-08 19:42:04] Production.INFO: count ==13 [2025-03-08 19:42:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:42:04] Production.INFO: ==4688== Releasing lock... [2025-03-08 19:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:42:04] Production.INFO: count ==21 [2025-03-08 19:42:04] Production.ERROR: done [2025-03-08 19:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637357') start [2025-03-08 19:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:42:04] Production.ERROR: done [2025-03-08 19:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637357') end [2025-03-08 19:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:42:04] Production.INFO: 1 [2025-03-08 19:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:42:04] Production.INFO: ==4692== Releasing lock... [2025-03-08 19:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:42:05 [end_date_ymd] => 2025-03-08 19:42:05 [RateCDR] => 1 ) [2025-03-08 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-08 16:42:05' and `end` < '2025-03-08 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-08 19:42:13] Production.ERROR: CronJobId end10 [2025-03-08 19:42:13] Production.INFO: ==4686== Releasing lock... [2025-03-08 19:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:42:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:42:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:42:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:42:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:42:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:42:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:42:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:42:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:42:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:42:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:42:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:42:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:42:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:42:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:42:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:42:15] Production.INFO: call_cost start [2025-03-08 19:42:15] Production.INFO: call_cost end [2025-03-08 19:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:42:16] Production.INFO: ==4682== Releasing lock... [2025-03-08 19:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:42:18] Production.INFO: count ==2580 [2025-03-08 19:42:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:42:05 - End Time 2025-03-08 19:42:05 [2025-03-08 19:42:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637358', 'tblTempUsageDetail_20' ) start [2025-03-08 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637358', 'tblTempUsageDetail_20' ) end [2025-03-08 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637358', 'tblTempVendorCDR_20' ) start [2025-03-08 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637358', 'tblTempVendorCDR_20' ) end [2025-03-08 19:42:19] Production.INFO: ProcessCDR(1,14637358,1,1,2) [2025-03-08 19:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637358', 'tblTempUsageDetail_20' ) start [2025-03-08 19:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637358', 'tblTempUsageDetail_20' ) end [2025-03-08 19:42:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:42:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:42:22] Production.INFO: ==4690== Releasing lock... [2025-03-08 19:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:42:22] Production.INFO: 47.5 MB #Memory Used# [2025-03-09 00:43:01] Production.INFO: ==4751== Lock acquired, processing the job... [2025-03-09 00:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:43:01] Production.INFO: neon service started [2025-03-09 00:43:01] Production.INFO: neon service started [2025-03-09 00:43:01] Production.INFO: ==4751== Releasing lock... [2025-03-09 00:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:43:02] Production.INFO: ==4753== Lock acquired, processing the job... [2025-03-08 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:43:02] Production.INFO: ==4753== Releasing lock... [2025-03-08 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:43:02] Production.INFO: ==4755== Lock acquired, processing the job... [2025-03-09 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:43:02] Production.INFO: ==4755== Releasing lock... [2025-03-09 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:43:03] Production.INFO: ==4758== Lock acquired, processing the job... [2025-03-08 19:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:43:03] Production.INFO: ==4760== Lock acquired, processing the job... [2025-03-08 19:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:43:03] Production.INFO: ==4768== Lock acquired, processing the job... [2025-03-08 19:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 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-08 19:43:03] Production.INFO: ==4762== Lock acquired, processing the job... [2025-03-08 19:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:43:03] Production.INFO: ==4764== Lock acquired, processing the job... [2025-03-08 19:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:43:03] Production.INFO: count ==13 [2025-03-08 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-08 19:43:03] Production.INFO: count ==21 [2025-03-08 19:43:03] Production.INFO: ==4766== Lock acquired, processing the job... [2025-03-08 19:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637361') start [2025-03-08 19:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:43:03] Production.INFO: Account Balance Start. [2025-03-08 19:43:03] Production.INFO: CreateAllLog Start [2025-03-08 19:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:43:03] Production.INFO: 117 [2025-03-08 19:43:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:43:03] Production.INFO: Reseller ==> 0 [2025-03-08 19:43:03] Production.INFO: Total Charge 0 [2025-03-08 19:43:04] Production.INFO: CreateAllLog End [2025-03-08 19:43:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637361') end [2025-03-08 19:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:43:04] Production.INFO: 1 [2025-03-08 19:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:43:04] Production.INFO: ==4760== Releasing lock... [2025-03-08 19:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:43:04] Production.INFO: ==4768== Releasing lock... [2025-03-08 19:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:43:04] Production.INFO: Account Balance End. [2025-03-08 19:43:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:43:04] Production.INFO: ==4764== Releasing lock... [2025-03-08 19:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:43:04] Production.ERROR: done [2025-03-08 19:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:43:04] Production.ERROR: done [2025-03-08 19:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:43:05 [end_date_ymd] => 2025-03-08 19:43:05 [RateCDR] => 1 ) [2025-03-08 19:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:43:05' and `end` < '2025-03-08 19:43:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:43:12] Production.ERROR: CronJobId end10 [2025-03-08 19:43:12] Production.INFO: ==4762== Releasing lock... [2025-03-08 19:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:43:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:43:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:43:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:43:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:43:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:43:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:43:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:43:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:43:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:43:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:43:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:43:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:43:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:43:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:43:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:43:14] Production.INFO: call_cost start [2025-03-08 19:43:14] Production.INFO: call_cost end [2025-03-08 19:43:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:43:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:43:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:43:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:43:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:43:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:43:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:43:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:43:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:43:15] Production.INFO: ==4758== Releasing lock... [2025-03-08 19:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:43:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:43:18] Production.INFO: count ==2578 [2025-03-08 19:43:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:43:05 - End Time 2025-03-08 19:43:05 [2025-03-08 19:43:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637363', 'tblTempUsageDetail_20' ) start [2025-03-08 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637363', 'tblTempUsageDetail_20' ) end [2025-03-08 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637363', 'tblTempVendorCDR_20' ) start [2025-03-08 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637363', 'tblTempVendorCDR_20' ) end [2025-03-08 19:43:19] Production.INFO: ProcessCDR(1,14637363,1,1,2) [2025-03-08 19:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637363', 'tblTempUsageDetail_20' ) start [2025-03-08 19:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637363', 'tblTempUsageDetail_20' ) end [2025-03-08 19:43:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:43:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:43:22] Production.INFO: ==4766== Releasing lock... [2025-03-08 19:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:43:22] Production.INFO: 47.75 MB #Memory Used# [2025-03-09 00:44:02] Production.INFO: ==4825== Lock acquired, processing the job... [2025-03-09 00:44:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:44:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:44:02] Production.INFO: neon service started [2025-03-09 00:44:02] Production.INFO: neon service started [2025-03-09 00:44:02] Production.INFO: ==4825== Releasing lock... [2025-03-09 00:44:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:44:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:44:02] Production.INFO: ==4829== Lock acquired, processing the job... [2025-03-09 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:44:02] Production.INFO: ==4829== Releasing lock... [2025-03-09 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:44:02] Production.INFO: ==4827== Lock acquired, processing the job... [2025-03-08 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:44:03] Production.INFO: ==4827== Releasing lock... [2025-03-08 19:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:44:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:44:03] Production.INFO: ==4832== Lock acquired, processing the job... [2025-03-08 19:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:44:04] Production.INFO: ==4834== Lock acquired, processing the job... [2025-03-08 19:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:44:04] Production.INFO: ==4838== Lock acquired, processing the job... [2025-03-08 19:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:44:04] Production.INFO: ==4840== Lock acquired, processing the job... [2025-03-08 19:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:44:04] Production.INFO: ==4836== Lock acquired, processing the job... [2025-03-08 19:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:44:04] Production.INFO: Account Balance Start. [2025-03-08 19:44:04] Production.INFO: CreateAllLog Start [2025-03-08 19:44:04] Production.INFO: 117 [2025-03-08 19:44:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:44:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:44:04] Production.INFO: Total Charge 0 [2025-03-08 19:44:04] Production.INFO: CreateAllLog End [2025-03-08 19:44:04] Production.INFO: ==4842== Lock acquired, processing the job... [2025-03-08 19:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:44:04] Production.INFO: ==4834== Releasing lock... [2025-03-08 19:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:44:04] Production.ERROR: done [2025-03-08 19:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:44:04] Production.INFO: Account Balance End. [2025-03-08 19:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:44:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:44:04] Production.INFO: ==4838== Releasing lock... [2025-03-08 19:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:44:04] Production.INFO: count ==13 [2025-03-08 19:44:04] Production.ERROR: done [2025-03-08 19:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:44:04] Production.INFO: count ==21 [2025-03-08 19:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637367') start [2025-03-08 19:44:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637367') end [2025-03-08 19:44:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:44:05] Production.INFO: 1 [2025-03-08 19:44:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:44:05] Production.INFO: ==4842== Releasing lock... [2025-03-08 19:44:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:44:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:44:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:44:05 [end_date_ymd] => 2025-03-08 19:44:05 [RateCDR] => 1 ) [2025-03-08 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-08 16:44:05' and `end` < '2025-03-08 19:44:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:44:13] Production.ERROR: CronJobId end10 [2025-03-08 19:44:13] Production.INFO: ==4836== Releasing lock... [2025-03-08 19:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:44:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:44:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:44:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:44:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:44:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:44:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:44:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:44:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:44:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:44:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:44:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:44:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:44:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:44:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:44:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:44:15] Production.INFO: call_cost start [2025-03-08 19:44:15] Production.INFO: call_cost end [2025-03-08 19:44:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:44:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:44:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:44:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:44:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:44:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:44:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:44:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:44:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:44:16] Production.INFO: ==4832== Releasing lock... [2025-03-08 19:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:44:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:44:18] Production.INFO: count ==2581 [2025-03-08 19:44:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:44:05 - End Time 2025-03-08 19:44:05 [2025-03-08 19:44:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637368', 'tblTempUsageDetail_20' ) start [2025-03-08 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637368', 'tblTempUsageDetail_20' ) end [2025-03-08 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637368', 'tblTempVendorCDR_20' ) start [2025-03-08 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637368', 'tblTempVendorCDR_20' ) end [2025-03-08 19:44:19] Production.INFO: ProcessCDR(1,14637368,1,1,2) [2025-03-08 19:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637368', 'tblTempUsageDetail_20' ) start [2025-03-08 19:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637368', 'tblTempUsageDetail_20' ) end [2025-03-08 19:44:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:44:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:44:22] Production.INFO: ==4840== Releasing lock... [2025-03-08 19:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:44:22] Production.INFO: 47.5 MB #Memory Used# [2025-03-09 00:45:01] Production.INFO: ==4902== Lock acquired, processing the job... [2025-03-09 00:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:45:01] Production.INFO: neon service started [2025-03-09 00:45:01] Production.INFO: neon service started [2025-03-09 00:45:01] Production.INFO: ==4902== Releasing lock... [2025-03-09 00:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:45:02] Production.INFO: ==4906== Lock acquired, processing the job... [2025-03-09 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:45:02] Production.INFO: ==4906== Releasing lock... [2025-03-09 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:45:02] Production.INFO: ==4904== Lock acquired, processing the job... [2025-03-08 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:45:02] Production.INFO: ==4904== Releasing lock... [2025-03-08 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:45:03] Production.INFO: ==4913== Lock acquired, processing the job... [2025-03-08 19:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:45:03] Production.INFO: ==4919== Lock acquired, processing the job... [2025-03-08 19:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:45:03] Production.INFO: ==4909== Lock acquired, processing the job... [2025-03-08 19:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:45:03] Production.INFO: ==4911== Lock acquired, processing the job... [2025-03-08 19:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:45:03] Production.INFO: ==4917== Lock acquired, processing the job... [2025-03-08 19:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:45:03] Production.INFO: ==4915== Lock acquired, processing the job... [2025-03-08 19:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:45:03] Production.INFO: count ==13 [2025-03-08 19: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-08 19:45:04] Production.INFO: count ==21 [2025-03-08 19:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637369') start [2025-03-08 19:45:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637369') end [2025-03-08 19:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:45:04] Production.INFO: 1 [2025-03-08 19:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:45:04] Production.INFO: Account Balance Start. [2025-03-08 19:45:04] Production.INFO: CreateAllLog Start [2025-03-08 19:45:04] Production.INFO: 117 [2025-03-08 19:45:04] Production.INFO: ==4919== Releasing lock... [2025-03-08 19:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:45:04] Production.INFO: ==4911== Releasing lock... [2025-03-08 19:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:45:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:45:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:45:04] Production.ERROR: done [2025-03-08 19:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:45:04] Production.INFO: Total Charge 0 [2025-03-08 19:45:04] Production.INFO: CreateAllLog End [2025-03-08 19:45:04] Production.ERROR: done [2025-03-08 19:45:04] Production.INFO: Account Balance End. [2025-03-08 19:45:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:45:04] Production.INFO: ==4915== Releasing lock... [2025-03-08 19:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:45:05 [end_date_ymd] => 2025-03-08 19:45:05 [RateCDR] => 1 ) [2025-03-08 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-08 16:45:05' and `end` < '2025-03-08 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-08 19:45:12] Production.ERROR: CronJobId end10 [2025-03-08 19:45:12] Production.INFO: ==4913== Releasing lock... [2025-03-08 19:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:45:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:45:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:45:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:45:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:45:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:45:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:45:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:45:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:45:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:45:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:45:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:45:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:45:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:45:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:45:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:45:14] Production.INFO: call_cost start [2025-03-08 19:45:14] Production.INFO: call_cost end [2025-03-08 19:45:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:45:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:45:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:45:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:45:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:45:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:45:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:45:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:45:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:45:15] Production.INFO: ==4909== Releasing lock... [2025-03-08 19:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:45:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:45:18] Production.INFO: count ==2578 [2025-03-08 19:45:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:45:05 - End Time 2025-03-08 19:45:05 [2025-03-08 19:45:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637373', 'tblTempUsageDetail_20' ) start [2025-03-08 19:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637373', 'tblTempUsageDetail_20' ) end [2025-03-08 19:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637373', 'tblTempVendorCDR_20' ) start [2025-03-08 19:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637373', 'tblTempVendorCDR_20' ) end [2025-03-08 19:45:19] Production.INFO: ProcessCDR(1,14637373,1,1,2) [2025-03-08 19:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637373', 'tblTempUsageDetail_20' ) start [2025-03-08 19:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637373', 'tblTempUsageDetail_20' ) end [2025-03-08 19:45:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:45:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:45:22] Production.INFO: ==4917== Releasing lock... [2025-03-08 19:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:45:22] Production.INFO: 47.75 MB #Memory Used# [2025-03-09 00:46:02] Production.INFO: ==4974== Lock acquired, processing the job... [2025-03-09 00:46:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:46:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:46:02] Production.INFO: neon service started [2025-03-09 00:46:02] Production.INFO: neon service started [2025-03-09 00:46:02] Production.INFO: ==4974== Releasing lock... [2025-03-09 00:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:46:02] Production.INFO: ==4978== Lock acquired, processing the job... [2025-03-09 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:46:02] Production.INFO: ==4978== Releasing lock... [2025-03-09 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:46:02] Production.INFO: ==4976== Lock acquired, processing the job... [2025-03-08 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:46:03] Production.INFO: ==4976== Releasing lock... [2025-03-08 19:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:46:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:46:04] Production.INFO: ==4987== Lock acquired, processing the job... [2025-03-08 19:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:46:04] Production.INFO: ==4991== Lock acquired, processing the job... [2025-03-08 19:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:46:04] Production.INFO: Account Balance Start. [2025-03-08 19:46:04] Production.INFO: CreateAllLog Start [2025-03-08 19:46:04] Production.INFO: 117 [2025-03-08 19:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:46:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:46:04] Production.INFO: count ==13 [2025-03-08 19:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:46:04] Production.INFO: count ==21 [2025-03-08 19:46:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637374') start [2025-03-08 19:46:04] Production.INFO: Total Charge 0 [2025-03-08 19:46:04] Production.INFO: CreateAllLog End [2025-03-08 19:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637374') end [2025-03-08 19:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:46:04] Production.INFO: 1 [2025-03-08 19:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:46:04] Production.INFO: ==4991== Releasing lock... [2025-03-08 19:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:46:04] Production.INFO: ==4983== Lock acquired, processing the job... [2025-03-08 19:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:46:04] Production.INFO: ==4981== Lock acquired, processing the job... [2025-03-08 19:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:46:04] Production.INFO: Account Balance End. [2025-03-08 19:46:04] Production.INFO: ==4985== Lock acquired, processing the job... [2025-03-08 19:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:46:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:46:04] Production.INFO: ==4987== Releasing lock... [2025-03-08 19:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:46:04] Production.INFO: ==4989== Lock acquired, processing the job... [2025-03-08 19:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:46:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:46:05] Production.INFO: ==4983== Releasing lock... [2025-03-08 19:46:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:46:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:46:05] Production.ERROR: done [2025-03-08 19:46:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:46:05] Production.ERROR: done [2025-03-08 19:46:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:46:06 [end_date_ymd] => 2025-03-08 19:46:06 [RateCDR] => 1 ) [2025-03-08 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-08 16:46:06' and `end` < '2025-03-08 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-08 19:46:12] Production.ERROR: CronJobId end10 [2025-03-08 19:46:12] Production.INFO: ==4985== Releasing lock... [2025-03-08 19:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:46:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:46:15] Production.INFO: call_cost start [2025-03-08 19:46:15] Production.INFO: call_cost end [2025-03-08 19:46:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:46:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:46:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:46:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:46:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:46:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:46:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:46:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:46:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:46:16] Production.INFO: ==4981== Releasing lock... [2025-03-08 19:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:46:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:46:18] Production.INFO: count ==2585 [2025-03-08 19:46:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:46:06 - End Time 2025-03-08 19:46:06 [2025-03-08 19:46:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637378', 'tblTempUsageDetail_20' ) start [2025-03-08 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637378', 'tblTempUsageDetail_20' ) end [2025-03-08 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637378', 'tblTempVendorCDR_20' ) start [2025-03-08 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637378', 'tblTempVendorCDR_20' ) end [2025-03-08 19:46:19] Production.INFO: ProcessCDR(1,14637378,1,1,2) [2025-03-08 19:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637378', 'tblTempUsageDetail_20' ) start [2025-03-08 19:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637378', 'tblTempUsageDetail_20' ) end [2025-03-08 19:46:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:46:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:46:23] Production.INFO: ==4989== Releasing lock... [2025-03-08 19:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:46:23] Production.INFO: 47.5 MB #Memory Used# [2025-03-09 00:47:01] Production.INFO: ==5048== Lock acquired, processing the job... [2025-03-09 00:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:47:01] Production.INFO: neon service started [2025-03-09 00:47:01] Production.INFO: neon service started [2025-03-09 00:47:01] Production.INFO: ==5048== Releasing lock... [2025-03-09 00:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:47:02] Production.INFO: ==5050== Lock acquired, processing the job... [2025-03-08 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:47:02] Production.INFO: ==5050== Releasing lock... [2025-03-08 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:47:02] Production.INFO: ==5052== Lock acquired, processing the job... [2025-03-09 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:47:02] Production.INFO: ==5052== Releasing lock... [2025-03-09 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:47:03] Production.INFO: ==5056== Lock acquired, processing the job... [2025-03-08 19:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:47:03] Production.INFO: ==5058== Lock acquired, processing the job... [2025-03-08 19:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:47:03] Production.INFO: ==5062== Lock acquired, processing the job... [2025-03-08 19:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:47:03] Production.INFO: ==5056== Releasing lock... [2025-03-08 19:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:47:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:47:03] Production.INFO: ==5054== Lock acquired, processing the job... [2025-03-08 19:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:47:03] Production.INFO: ==5060== Lock acquired, processing the job... [2025-03-08 19:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:47:03] Production.INFO: ==5065== Lock acquired, processing the job... [2025-03-08 19:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:47:03] Production.INFO: Account Balance Start. [2025-03-08 19:47:03] Production.INFO: CreateAllLog Start [2025-03-08 19:47:03] Production.INFO: 117 [2025-03-08 19:47:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:47:03] Production.INFO: Reseller ==> 0 [2025-03-08 19:47:03] Production.INFO: Total Charge 0 [2025-03-08 19:47:03] Production.INFO: CreateAllLog End [2025-03-08 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-08 19:47:04] Production.ERROR: done [2025-03-08 19:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:47:04] Production.INFO: count ==13 [2025-03-08 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-08 19:47:04] Production.INFO: count ==21 [2025-03-08 19:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637382') start [2025-03-08 19:47:04] Production.ERROR: done [2025-03-08 19:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637382') end [2025-03-08 19:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:47:04] Production.INFO: 1 [2025-03-08 19:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:47:04] Production.INFO: ==5065== Releasing lock... [2025-03-08 19:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:47:04] Production.INFO: Account Balance End. [2025-03-08 19:47:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:47:04] Production.INFO: ==5060== Releasing lock... [2025-03-08 19:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:47:05 [end_date_ymd] => 2025-03-08 19:47:05 [RateCDR] => 1 ) [2025-03-08 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-08 16:47:05' and `end` < '2025-03-08 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-08 19:47:14] Production.ERROR: CronJobId end10 [2025-03-08 19:47:14] Production.INFO: ==5058== Releasing lock... [2025-03-08 19:47:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:47:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:47:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:47:16] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:47:16] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:47:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:47:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:47:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:47:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:47:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:47:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:47:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:47:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:47:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:47:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:47:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:47:16] Production.INFO: call_cost start [2025-03-08 19:47:16] Production.INFO: call_cost end [2025-03-08 19:47:17] Production.INFO: count ==2587 [2025-03-08 19:47:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:47:18] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:47:18] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:47:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:47:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:47:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:47:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:47:18] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:47:18] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:47:18] Production.INFO: ==5054== Releasing lock... [2025-03-08 19:47:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:47:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:47:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:47:05 - End Time 2025-03-08 19:47:05 [2025-03-08 19:47:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637383', 'tblTempUsageDetail_20' ) start [2025-03-08 19:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637383', 'tblTempUsageDetail_20' ) end [2025-03-08 19:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637383', 'tblTempVendorCDR_20' ) start [2025-03-08 19:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637383', 'tblTempVendorCDR_20' ) end [2025-03-08 19:47:18] Production.INFO: ProcessCDR(1,14637383,1,1,2) [2025-03-08 19:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637383', 'tblTempUsageDetail_20' ) start [2025-03-08 19:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637383', 'tblTempUsageDetail_20' ) end [2025-03-08 19:47:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:47:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:47:22] Production.INFO: ==5062== Releasing lock... [2025-03-08 19:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:47:22] Production.INFO: 47.25 MB #Memory Used# [2025-03-09 00:48:02] Production.INFO: ==5160== Lock acquired, processing the job... [2025-03-09 00:48:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:48:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:48:02] Production.INFO: neon service started [2025-03-09 00:48:02] Production.INFO: neon service started [2025-03-09 00:48:02] Production.INFO: ==5160== Releasing lock... [2025-03-09 00:48:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:48:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:48:02] Production.INFO: ==5163== Lock acquired, processing the job... [2025-03-08 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:48:03] Production.INFO: ==5165== Lock acquired, processing the job... [2025-03-09 00:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:48:03] Production.INFO: ==5165== Releasing lock... [2025-03-09 00:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:48:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:48:03] Production.INFO: ==5163== Releasing lock... [2025-03-08 19:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:48:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:48:04] Production.INFO: ==5167== Lock acquired, processing the job... [2025-03-08 19:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:48:04] Production.INFO: ==5169== Lock acquired, processing the job... [2025-03-08 19:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:48:04] Production.INFO: ==5175== Lock acquired, processing the job... [2025-03-08 19:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:48:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:48:04] Production.INFO: ==5177== Lock acquired, processing the job... [2025-03-08 19:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:48:04] Production.INFO: ==5171== Lock acquired, processing the job... [2025-03-08 19:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:48:04] Production.INFO: ==5173== Lock acquired, processing the job... [2025-03-08 19:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:48:04] Production.INFO: ==5169== Releasing lock... [2025-03-08 19:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:48:04] Production.INFO: Account Balance Start. [2025-03-08 19:48:04] Production.INFO: CreateAllLog Start [2025-03-08 19:48:04] Production.INFO: 117 [2025-03-08 19:48:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:48:04] Production.ERROR: done [2025-03-08 19:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:48:04] Production.INFO: count ==13 [2025-03-08 19:48:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:48:04] Production.INFO: count ==21 [2025-03-08 19:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637386') start [2025-03-08 19:48:04] Production.INFO: Total Charge 0 [2025-03-08 19:48:04] Production.ERROR: done [2025-03-08 19:48:04] Production.INFO: CreateAllLog End [2025-03-08 19:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637386') end [2025-03-08 19:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:48:04] Production.INFO: 1 [2025-03-08 19:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:48:05] Production.INFO: ==5177== Releasing lock... [2025-03-08 19:48:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:48:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:48:05] Production.INFO: Account Balance End. [2025-03-08 19:48:05] Production.ERROR: CronJobId end 12 [2025-03-08 19:48:05] Production.INFO: ==5173== Releasing lock... [2025-03-08 19:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:48:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:48:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:48:05 [end_date_ymd] => 2025-03-08 19:48:05 [RateCDR] => 1 ) [2025-03-08 19:48:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:48:05' and `end` < '2025-03-08 19:48:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:48:13] Production.ERROR: CronJobId end10 [2025-03-08 19:48:13] Production.INFO: ==5171== Releasing lock... [2025-03-08 19:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:48:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:48:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:48:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:48:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:48:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:48:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:48:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:48:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:48:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:48:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:48:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:48:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:48:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:48:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:48:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:48:14] Production.INFO: call_cost start [2025-03-08 19:48:14] Production.INFO: call_cost end [2025-03-08 19:48:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:48:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:48:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:48:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:48:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:48:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:48:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:48:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:48:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:48:15] Production.INFO: ==5167== Releasing lock... [2025-03-08 19:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:48:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:48:18] Production.INFO: count ==2574 [2025-03-08 19:48:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:48:05 - End Time 2025-03-08 19:48:05 [2025-03-08 19:48:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637388', 'tblTempUsageDetail_20' ) start [2025-03-08 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637388', 'tblTempUsageDetail_20' ) end [2025-03-08 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637388', 'tblTempVendorCDR_20' ) start [2025-03-08 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637388', 'tblTempVendorCDR_20' ) end [2025-03-08 19:48:19] Production.INFO: ProcessCDR(1,14637388,1,1,2) [2025-03-08 19:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637388', 'tblTempUsageDetail_20' ) start [2025-03-08 19:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637388', 'tblTempUsageDetail_20' ) end [2025-03-08 19:48:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:48:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:48:22] Production.INFO: ==5175== Releasing lock... [2025-03-08 19:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:48:22] Production.INFO: 47.25 MB #Memory Used# [2025-03-09 00:49:01] Production.INFO: ==5233== Lock acquired, processing the job... [2025-03-09 00:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:49:01] Production.INFO: neon service started [2025-03-09 00:49:01] Production.INFO: neon service started [2025-03-09 00:49:01] Production.INFO: ==5233== Releasing lock... [2025-03-09 00:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:49:02] Production.INFO: ==5236== Lock acquired, processing the job... [2025-03-08 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:49:02] Production.INFO: ==5238== Lock acquired, processing the job... [2025-03-09 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:49:02] Production.INFO: ==5238== Releasing lock... [2025-03-09 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:49:02] Production.INFO: ==5236== Releasing lock... [2025-03-08 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:49:03] Production.INFO: ==5240== Lock acquired, processing the job... [2025-03-08 19:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:49:03] Production.INFO: ==5244== Lock acquired, processing the job... [2025-03-08 19:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:49:03] Production.INFO: ==5246== Lock acquired, processing the job... [2025-03-08 19:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:49:04] Production.INFO: ==5242== Lock acquired, processing the job... [2025-03-08 19:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:49:04] Production.INFO: Account Balance Start. [2025-03-08 19:49:04] Production.INFO: CreateAllLog Start [2025-03-08 19:49:04] Production.INFO: 117 [2025-03-08 19:49:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:49:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:49:04] Production.INFO: Total Charge 0 [2025-03-08 19:49:04] Production.INFO: ==5248== Lock acquired, processing the job... [2025-03-08 19:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:49:04] Production.INFO: CreateAllLog End [2025-03-08 19:49:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:49:04] Production.INFO: ==5250== Lock acquired, processing the job... [2025-03-08 19:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:49:04] Production.INFO: ==5242== Releasing lock... [2025-03-08 19:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:49:04] Production.INFO: Account Balance End. [2025-03-08 19:49:04] Production.INFO: count ==13 [2025-03-08 19:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:49:04] Production.INFO: count ==21 [2025-03-08 19:49:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:49:04] Production.INFO: ==5246== Releasing lock... [2025-03-08 19:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637392') start [2025-03-08 19:49:04] Production.ERROR: done [2025-03-08 19:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:49:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637392') end [2025-03-08 19:49:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:49:05] Production.INFO: 1 [2025-03-08 19:49:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:49:05] Production.ERROR: done [2025-03-08 19:49:05] Production.INFO: ==5250== Releasing lock... [2025-03-08 19:49:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:49:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:49:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:49:06 [end_date_ymd] => 2025-03-08 19:49:06 [RateCDR] => 1 ) [2025-03-08 19:49:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:49:06' and `end` < '2025-03-08 19:49:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:49:13] Production.ERROR: CronJobId end10 [2025-03-08 19:49:13] Production.INFO: ==5244== Releasing lock... [2025-03-08 19:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:49:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:49:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:49:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:49:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:49:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:49:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:49:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:49:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:49:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:49:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:49:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:49:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:49:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:49:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:49:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:49:15] Production.INFO: call_cost start [2025-03-08 19:49:15] Production.INFO: call_cost end [2025-03-08 19:49:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:49:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:49:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:49:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:49:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:49:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:49:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:49:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:49:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:49:16] Production.INFO: ==5240== Releasing lock... [2025-03-08 19:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:49:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:49:18] Production.INFO: count ==2574 [2025-03-08 19:49:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:49:06 - End Time 2025-03-08 19:49:06 [2025-03-08 19:49:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637393', 'tblTempUsageDetail_20' ) start [2025-03-08 19:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637393', 'tblTempUsageDetail_20' ) end [2025-03-08 19:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637393', 'tblTempVendorCDR_20' ) start [2025-03-08 19:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637393', 'tblTempVendorCDR_20' ) end [2025-03-08 19:49:19] Production.INFO: ProcessCDR(1,14637393,1,1,2) [2025-03-08 19:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637393', 'tblTempUsageDetail_20' ) start [2025-03-08 19:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637393', 'tblTempUsageDetail_20' ) end [2025-03-08 19:49:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:49:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:49:22] Production.INFO: ==5248== Releasing lock... [2025-03-08 19:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:49:22] Production.INFO: 47.25 MB #Memory Used# [2025-03-09 00:50:02] Production.INFO: ==5312== Lock acquired, processing the job... [2025-03-09 00:50:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:50:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:50:02] Production.INFO: neon service started [2025-03-09 00:50:02] Production.INFO: neon service started [2025-03-09 00:50:02] Production.INFO: ==5312== Releasing lock... [2025-03-09 00:50:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:50:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:50:02] Production.INFO: ==5315== Lock acquired, processing the job... [2025-03-08 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:50:03] Production.INFO: ==5317== Lock acquired, processing the job... [2025-03-09 00:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 19:50:03] Production.INFO: ==5315== Releasing lock... [2025-03-08 19:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:50:03] Production.INFO: ==5317== Releasing lock... [2025-03-09 00:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:50:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:50:04] Production.INFO: ==5319== Lock acquired, processing the job... [2025-03-08 19:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 19:50:04] Production.INFO: ==5321== Lock acquired, processing the job... [2025-03-08 19:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:50:04] Production.INFO: ==5323== Lock acquired, processing the job... [2025-03-08 19:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 19:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 19:50:04] Production.INFO: ==5319== Releasing lock... [2025-03-08 19:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 19:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 19:50:04] Production.INFO: ==5325== Lock acquired, processing the job... [2025-03-08 19:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:50:04] Production.INFO: ==5331== Lock acquired, processing the job... [2025-03-08 19:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 19:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:50:04] Production.INFO: ==5327== Lock acquired, processing the job... [2025-03-08 19:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:50:04] Production.INFO: ==5329== Lock acquired, processing the job... [2025-03-08 19:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:50:04] Production.INFO: ==5333== Lock acquired, processing the job... [2025-03-08 19:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:50:04] Production.INFO: ==5323== Releasing lock... [2025-03-08 19:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:50:04] Production.INFO: Account Balance Start. [2025-03-08 19:50:04] Production.INFO: CreateAllLog Start [2025-03-08 19:50:04] Production.INFO: 117 [2025-03-08 19:50:04] Production.ERROR: done [2025-03-08 19:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:50:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:50:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:50:04] Production.INFO: count ==13 [2025-03-08 19:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:50:04] Production.INFO: count ==21 [2025-03-08 19:50:04] Production.INFO: Total Charge 0 [2025-03-08 19:50:04] Production.INFO: CreateAllLog End [2025-03-08 19:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637397') start [2025-03-08 19:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 19:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637398', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 19:50:05] Production.ERROR: done [2025-03-08 19:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:50:05] Production.INFO: Account Balance End. [2025-03-08 19:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637397') end [2025-03-08 19:50:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:50:05] Production.INFO: 1 [2025-03-08 19:50:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:50:05] Production.ERROR: CronJobId end 12 [2025-03-08 19:50:05] Production.INFO: ==5327== Releasing lock... [2025-03-08 19:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:50:05] Production.ERROR: done [2025-03-08 19:50:05] Production.INFO: ==5333== Releasing lock... [2025-03-08 19:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:50:06 [end_date_ymd] => 2025-03-08 19:50:06 [RateCDR] => 1 ) [2025-03-08 19:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:50:06' and `end` < '2025-03-08 19:50:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637398', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 19:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 19:50:09] Production.INFO: ProcessCDR(1,14637398,1,1,2) [2025-03-08 19:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14637398,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14637398,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:50:09] Production.INFO: ==5331== Releasing lock... [2025-03-08 19:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 19:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-08 19:50:14] Production.ERROR: CronJobId end10 [2025-03-08 19:50:14] Production.INFO: ==5325== Releasing lock... [2025-03-08 19:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:50:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:50:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:50:16] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:50:16] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:50:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:50:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:50:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:50:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:50:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:50:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:50:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:50:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:50:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:50:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:50:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:50:17] Production.INFO: call_cost start [2025-03-08 19:50:17] Production.INFO: call_cost end [2025-03-08 19:50:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:50:18] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:50:18] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:50:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:50:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:50:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:50:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:50:18] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:50:18] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:50:18] Production.INFO: ==5321== Releasing lock... [2025-03-08 19:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:50:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:50:18] Production.INFO: count ==2557 [2025-03-08 19:50:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:50:06 - End Time 2025-03-08 19:50:06 [2025-03-08 19:50:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637399', 'tblTempUsageDetail_20' ) start [2025-03-08 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637399', 'tblTempUsageDetail_20' ) end [2025-03-08 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637399', 'tblTempVendorCDR_20' ) start [2025-03-08 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637399', 'tblTempVendorCDR_20' ) end [2025-03-08 19:50:19] Production.INFO: ProcessCDR(1,14637399,1,1,2) [2025-03-08 19:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637399', 'tblTempUsageDetail_20' ) start [2025-03-08 19:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637399', 'tblTempUsageDetail_20' ) end [2025-03-08 19:50:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:50:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:50:22] Production.INFO: ==5329== Releasing lock... [2025-03-08 19:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:50:22] Production.INFO: 47.25 MB #Memory Used# [2025-03-09 00:51:01] Production.INFO: ==5390== Lock acquired, processing the job... [2025-03-09 00:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:51:01] Production.INFO: neon service started [2025-03-09 00:51:01] Production.INFO: neon service started [2025-03-09 00:51:01] Production.INFO: ==5390== Releasing lock... [2025-03-09 00:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:51:02] Production.INFO: ==5392== Lock acquired, processing the job... [2025-03-08 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:51:02] Production.INFO: ==5394== Lock acquired, processing the job... [2025-03-09 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 19:51:02] Production.INFO: ==5392== Releasing lock... [2025-03-08 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:51:02] Production.INFO: ==5394== Releasing lock... [2025-03-09 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:51:03] Production.INFO: ==5398== Lock acquired, processing the job... [2025-03-08 19:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:51:03] Production.INFO: ==5400== Lock acquired, processing the job... [2025-03-08 19:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:51:03] Production.INFO: ==5404== Lock acquired, processing the job... [2025-03-08 19:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:51:03] Production.INFO: ==5398== Releasing lock... [2025-03-08 19:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:51:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:51:03] Production.INFO: ==5396== Lock acquired, processing the job... [2025-03-08 19:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:51:03] Production.INFO: ==5402== Lock acquired, processing the job... [2025-03-08 19:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:51:03] Production.INFO: ==5406== Lock acquired, processing the job... [2025-03-08 19:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:51:03] Production.ERROR: done [2025-03-08 19:51:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:51:03] Production.INFO: Account Balance Start. [2025-03-08 19:51:03] Production.INFO: CreateAllLog Start [2025-03-08 19:51:03] Production.INFO: 117 [2025-03-08 19:51:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:51:03] Production.INFO: Reseller ==> 0 [2025-03-08 19:51:03] Production.INFO: Total Charge 0 [2025-03-08 19:51:03] Production.INFO: CreateAllLog End [2025-03-08 19:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:51:04] Production.INFO: count ==13 [2025-03-08 19:51:04] Production.ERROR: done [2025-03-08 19:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:51:04] Production.INFO: count ==21 [2025-03-08 19:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637403') start [2025-03-08 19:51:04] Production.INFO: Account Balance End. [2025-03-08 19:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637403') end [2025-03-08 19:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:51:04] Production.INFO: 1 [2025-03-08 19:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:51:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:51:04] Production.INFO: ==5402== Releasing lock... [2025-03-08 19:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:51:04] Production.INFO: ==5406== Releasing lock... [2025-03-08 19:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:51:05 [end_date_ymd] => 2025-03-08 19:51:05 [RateCDR] => 1 ) [2025-03-08 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-08 16:51:05' and `end` < '2025-03-08 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-08 19:51:11] Production.ERROR: CronJobId end10 [2025-03-08 19:51:11] Production.INFO: ==5400== Releasing lock... [2025-03-08 19:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:51:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:51:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:51:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:51:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:51:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:51:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:51:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:51:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:51:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:51:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:51:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:51:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:51:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:51:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:51:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:51:13] Production.INFO: call_cost start [2025-03-08 19:51:13] Production.INFO: call_cost end [2025-03-08 19:51:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:51:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:51:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:51:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:51:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:51:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:51:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:51:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:51:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:51:14] Production.INFO: ==5396== Releasing lock... [2025-03-08 19:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:51:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:51:17] Production.INFO: count ==2512 [2025-03-08 19:51:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:51:05 - End Time 2025-03-08 19:51:05 [2025-03-08 19:51:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637404', 'tblTempUsageDetail_20' ) start [2025-03-08 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637404', 'tblTempUsageDetail_20' ) end [2025-03-08 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637404', 'tblTempVendorCDR_20' ) start [2025-03-08 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637404', 'tblTempVendorCDR_20' ) end [2025-03-08 19:51:18] Production.INFO: ProcessCDR(1,14637404,1,1,2) [2025-03-08 19:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637404', 'tblTempUsageDetail_20' ) start [2025-03-08 19:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637404', 'tblTempUsageDetail_20' ) end [2025-03-08 19:51:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:51:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:51:21] Production.INFO: ==5404== Releasing lock... [2025-03-08 19:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:51:21] Production.INFO: 47 MB #Memory Used# [2025-03-09 00:52:02] Production.INFO: ==5463== Lock acquired, processing the job... [2025-03-09 00:52:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:52:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:52:02] Production.INFO: neon service started [2025-03-09 00:52:02] Production.INFO: neon service started [2025-03-09 00:52:02] Production.INFO: ==5463== Releasing lock... [2025-03-09 00:52:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:52:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:52:02] Production.INFO: ==5465== Lock acquired, processing the job... [2025-03-08 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:52:02] Production.INFO: ==5465== Releasing lock... [2025-03-08 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:52:03] Production.INFO: ==5467== Lock acquired, processing the job... [2025-03-09 00:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:52:03] Production.INFO: ==5467== Releasing lock... [2025-03-09 00:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:52:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:52:03] Production.INFO: ==5471== Lock acquired, processing the job... [2025-03-08 19:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:52:03] Production.INFO: ==5473== Lock acquired, processing the job... [2025-03-08 19:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:52:03] Production.INFO: ==5475== Lock acquired, processing the job... [2025-03-08 19:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:52:03] Production.INFO: Account Balance Start. [2025-03-08 19:52:03] Production.INFO: CreateAllLog Start [2025-03-08 19:52:03] Production.INFO: 117 [2025-03-08 19:52:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:52:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:52:04] Production.INFO: Total Charge 0 [2025-03-08 19:52:04] Production.INFO: ==5471== Releasing lock... [2025-03-08 19:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:52:04] Production.INFO: CreateAllLog End [2025-03-08 19:52:04] Production.INFO: ==5469== Lock acquired, processing the job... [2025-03-08 19:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:52:04] Production.INFO: Account Balance End. [2025-03-08 19:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:52:04] Production.INFO: ==5477== Lock acquired, processing the job... [2025-03-08 19:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:52:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:52:04] Production.INFO: ==5475== Releasing lock... [2025-03-08 19:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:52:04] Production.INFO: ==5479== Lock acquired, processing the job... [2025-03-08 19:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:52:04] Production.INFO: count ==13 [2025-03-08 19:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:52:04] Production.INFO: count ==21 [2025-03-08 19:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637408') start [2025-03-08 19:52:04] Production.ERROR: done [2025-03-08 19:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637408') end [2025-03-08 19:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:52:04] Production.INFO: 1 [2025-03-08 19:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:52:04] Production.INFO: ==5479== Releasing lock... [2025-03-08 19:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:52:04] Production.ERROR: done [2025-03-08 19:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:52:05 [end_date_ymd] => 2025-03-08 19:52:05 [RateCDR] => 1 ) [2025-03-08 19:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:52:05' and `end` < '2025-03-08 19:52:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:52:12] Production.ERROR: CronJobId end10 [2025-03-08 19:52:12] Production.INFO: ==5473== Releasing lock... [2025-03-08 19:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:52:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:52:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:52:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:52:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:52:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:52:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:52:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:52:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:52:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:52:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:52:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:52:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:52:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:52:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:52:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:52:15] Production.INFO: call_cost start [2025-03-08 19:52:15] Production.INFO: call_cost end [2025-03-08 19:52:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:52:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:52:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:52:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:52:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:52:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:52:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:52:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:52:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:52:16] Production.INFO: ==5469== Releasing lock... [2025-03-08 19:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:52:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:52:18] Production.INFO: count ==2502 [2025-03-08 19:52:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:52:05 - End Time 2025-03-08 19:52:05 [2025-03-08 19:52:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637409', 'tblTempUsageDetail_20' ) start [2025-03-08 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637409', 'tblTempUsageDetail_20' ) end [2025-03-08 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637409', 'tblTempVendorCDR_20' ) start [2025-03-08 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637409', 'tblTempVendorCDR_20' ) end [2025-03-08 19:52:19] Production.INFO: ProcessCDR(1,14637409,1,1,2) [2025-03-08 19:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637409', 'tblTempUsageDetail_20' ) start [2025-03-08 19:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637409', 'tblTempUsageDetail_20' ) end [2025-03-08 19:52:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:52:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:52:22] Production.INFO: ==5477== Releasing lock... [2025-03-08 19:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:52:22] Production.INFO: 46.75 MB #Memory Used# [2025-03-09 00:53:01] Production.INFO: ==5538== Lock acquired, processing the job... [2025-03-09 00:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:53:01] Production.INFO: neon service started [2025-03-09 00:53:01] Production.INFO: neon service started [2025-03-09 00:53:01] Production.INFO: ==5538== Releasing lock... [2025-03-09 00:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:53:02] Production.INFO: ==5542== Lock acquired, processing the job... [2025-03-09 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:53:02] Production.INFO: ==5542== Releasing lock... [2025-03-09 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:53:02] Production.INFO: ==5540== Lock acquired, processing the job... [2025-03-08 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:53:02] Production.INFO: ==5540== Releasing lock... [2025-03-08 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:53:03] Production.INFO: ==5547== Lock acquired, processing the job... [2025-03-08 19:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:53:03] Production.INFO: ==5555== Lock acquired, processing the job... [2025-03-08 19:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:53:03] Production.INFO: ==5545== Lock acquired, processing the job... [2025-03-08 19:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 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-08 19:53:03] Production.INFO: ==5549== Lock acquired, processing the job... [2025-03-08 19:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:53:03] Production.INFO: ==5551== Lock acquired, processing the job... [2025-03-08 19:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:53:03] Production.INFO: ==5547== Releasing lock... [2025-03-08 19:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:53:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:53:03] Production.INFO: ==5553== Lock acquired, processing the job... [2025-03-08 19:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:53:03] Production.INFO: count ==13 [2025-03-08 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-08 19:53:03] Production.INFO: count ==21 [2025-03-08 19:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637411') start [2025-03-08 19:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:53:03] Production.INFO: Account Balance Start. [2025-03-08 19:53:03] Production.INFO: CreateAllLog Start [2025-03-08 19:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:53:03] Production.INFO: 117 [2025-03-08 19:53:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:53:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637411') end [2025-03-08 19:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:53:04] Production.INFO: 1 [2025-03-08 19:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:53:04] Production.INFO: ==5555== Releasing lock... [2025-03-08 19:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:53:04] Production.INFO: Total Charge 0 [2025-03-08 19:53:04] Production.INFO: CreateAllLog End [2025-03-08 19:53:04] Production.ERROR: done [2025-03-08 19:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:53:04] Production.ERROR: done [2025-03-08 19:53:04] Production.INFO: Account Balance End. [2025-03-08 19:53:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:53:04] Production.INFO: ==5551== Releasing lock... [2025-03-08 19:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:53:05 [end_date_ymd] => 2025-03-08 19:53:05 [RateCDR] => 1 ) [2025-03-08 19:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:53:05' and `end` < '2025-03-08 19:53:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:53:13] Production.ERROR: CronJobId end10 [2025-03-08 19:53:13] Production.INFO: ==5549== Releasing lock... [2025-03-08 19:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:53:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:53:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:53:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:53:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:53:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:53:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:53:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:53:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:53:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:53:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:53:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:53:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:53:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:53:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:53:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:53:15] Production.INFO: call_cost start [2025-03-08 19:53:15] Production.INFO: call_cost end [2025-03-08 19:53:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:53:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:53:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:53:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:53:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:53:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:53:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:53:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:53:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:53:17] Production.INFO: ==5545== Releasing lock... [2025-03-08 19:53:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:53:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:53:17] Production.INFO: count ==2501 [2025-03-08 19:53:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:53:05 - End Time 2025-03-08 19:53:05 [2025-03-08 19:53:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637414', 'tblTempUsageDetail_20' ) start [2025-03-08 19:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637414', 'tblTempUsageDetail_20' ) end [2025-03-08 19:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637414', 'tblTempVendorCDR_20' ) start [2025-03-08 19:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637414', 'tblTempVendorCDR_20' ) end [2025-03-08 19:53:18] Production.INFO: ProcessCDR(1,14637414,1,1,2) [2025-03-08 19:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637414', 'tblTempUsageDetail_20' ) start [2025-03-08 19:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637414', 'tblTempUsageDetail_20' ) end [2025-03-08 19:53:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:53:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:53:22] Production.INFO: ==5553== Releasing lock... [2025-03-08 19:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:53:22] Production.INFO: 46.75 MB #Memory Used# [2025-03-09 00:54:02] Production.INFO: ==5609== Lock acquired, processing the job... [2025-03-09 00:54:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:54:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:54:02] Production.INFO: neon service started [2025-03-09 00:54:02] Production.INFO: neon service started [2025-03-09 00:54:02] Production.INFO: ==5609== Releasing lock... [2025-03-09 00:54:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:54:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:54:02] Production.INFO: ==5612== Lock acquired, processing the job... [2025-03-08 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:54:02] Production.INFO: ==5612== Releasing lock... [2025-03-08 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:54:02] Production.INFO: ==5614== Lock acquired, processing the job... [2025-03-09 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:54:03] Production.INFO: ==5614== Releasing lock... [2025-03-09 00:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:54:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:54:03] Production.INFO: ==5618== Lock acquired, processing the job... [2025-03-08 19:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:54:03] Production.INFO: ==5624== Lock acquired, processing the job... [2025-03-08 19:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:54:03] Production.INFO: ==5616== Lock acquired, processing the job... [2025-03-08 19:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:54:04] Production.INFO: ==5620== Lock acquired, processing the job... [2025-03-08 19:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:54:04] Production.INFO: ==5622== Lock acquired, processing the job... [2025-03-08 19:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:54:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:54:04] Production.INFO: ==5626== Lock acquired, processing the job... [2025-03-08 19:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:54:04] Production.ERROR: done [2025-03-08 19:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:54:04] Production.INFO: ==5618== Releasing lock... [2025-03-08 19:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:54:04] Production.INFO: Account Balance Start. [2025-03-08 19:54:04] Production.INFO: CreateAllLog Start [2025-03-08 19:54:04] Production.INFO: 117 [2025-03-08 19:54:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:54:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:54:04] Production.INFO: count ==13 [2025-03-08 19:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:54:04] Production.INFO: count ==21 [2025-03-08 19:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637417') start [2025-03-08 19:54:04] Production.INFO: Total Charge 0 [2025-03-08 19:54:04] Production.ERROR: done [2025-03-08 19:54:04] Production.INFO: CreateAllLog End [2025-03-08 19:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637417') end [2025-03-08 19:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:54:04] Production.INFO: 1 [2025-03-08 19:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:54:04] Production.INFO: ==5626== Releasing lock... [2025-03-08 19:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:54:04] Production.INFO: Account Balance End. [2025-03-08 19:54:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:54:04] Production.INFO: ==5622== Releasing lock... [2025-03-08 19:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:54:05 [end_date_ymd] => 2025-03-08 19:54:05 [RateCDR] => 1 ) [2025-03-08 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-08 16:54:05' and `end` < '2025-03-08 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-08 19:54:12] Production.ERROR: CronJobId end10 [2025-03-08 19:54:12] Production.INFO: ==5620== Releasing lock... [2025-03-08 19:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:54:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:54:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:54:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:54:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:54:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:54:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:54:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:54:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:54:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:54:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:54:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:54:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:54:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:54:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:54:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:54:15] Production.INFO: call_cost start [2025-03-08 19:54:15] Production.INFO: call_cost end [2025-03-08 19:54:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:54:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:54:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:54:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:54:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:54:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:54:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:54:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:54:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:54:15] Production.INFO: ==5616== Releasing lock... [2025-03-08 19:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:54:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:54:17] Production.INFO: count ==2507 [2025-03-08 19:54:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:54:05 - End Time 2025-03-08 19:54:05 [2025-03-08 19:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637419', 'tblTempUsageDetail_20' ) start [2025-03-08 19:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637419', 'tblTempUsageDetail_20' ) end [2025-03-08 19:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637419', 'tblTempVendorCDR_20' ) start [2025-03-08 19:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637419', 'tblTempVendorCDR_20' ) end [2025-03-08 19:54:18] Production.INFO: ProcessCDR(1,14637419,1,1,2) [2025-03-08 19:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637419', 'tblTempUsageDetail_20' ) start [2025-03-08 19:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637419', 'tblTempUsageDetail_20' ) end [2025-03-08 19:54:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:54:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:54:22] Production.INFO: ==5624== Releasing lock... [2025-03-08 19:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:54:22] Production.INFO: 46.75 MB #Memory Used# [2025-03-09 00:55:01] Production.INFO: ==5681== Lock acquired, processing the job... [2025-03-09 00:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:55:01] Production.INFO: neon service started [2025-03-09 00:55:01] Production.INFO: neon service started [2025-03-09 00:55:01] Production.INFO: ==5681== Releasing lock... [2025-03-09 00:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:55:02] Production.INFO: ==5683== Lock acquired, processing the job... [2025-03-08 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:55:02] Production.INFO: ==5685== Lock acquired, processing the job... [2025-03-09 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:55:02] Production.INFO: ==5685== Releasing lock... [2025-03-09 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:55:02] Production.INFO: ==5683== Releasing lock... [2025-03-08 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:55:03] Production.INFO: ==5692== Lock acquired, processing the job... [2025-03-08 19:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:55:03] Production.INFO: ==5696== Lock acquired, processing the job... [2025-03-08 19:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:55:03] Production.INFO: ==5688== Lock acquired, processing the job... [2025-03-08 19:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:55:03] Production.INFO: ==5690== Lock acquired, processing the job... [2025-03-08 19:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:55:03] Production.INFO: ==5694== Lock acquired, processing the job... [2025-03-08 19:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:55:03] Production.INFO: Account Balance Start. [2025-03-08 19:55:03] Production.INFO: CreateAllLog Start [2025-03-08 19:55:03] Production.INFO: ==5698== Lock acquired, processing the job... [2025-03-08 19:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:55:03] Production.INFO: 117 [2025-03-08 19:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:55:03] Production.INFO: Date 2025-03-08 [2025-03-08 19:55:03] Production.INFO: Reseller ==> 0 [2025-03-08 19:55:04] Production.ERROR: done [2025-03-08 19:55:04] Production.INFO: Total Charge 0 [2025-03-08 19:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:55:04] Production.INFO: CreateAllLog End [2025-03-08 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-08 19:55:04] Production.INFO: ==5690== Releasing lock... [2025-03-08 19:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:55:04] Production.INFO: count ==13 [2025-03-08 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-08 19:55:04] Production.INFO: count ==21 [2025-03-08 19:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637423') start [2025-03-08 19:55:04] Production.ERROR: done [2025-03-08 19:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637423') end [2025-03-08 19:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:55:04] Production.INFO: 1 [2025-03-08 19:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:55:04] Production.INFO: Account Balance End. [2025-03-08 19:55:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:55:04] Production.INFO: ==5694== Releasing lock... [2025-03-08 19:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:55:04] Production.INFO: ==5698== Releasing lock... [2025-03-08 19:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:55:05 [end_date_ymd] => 2025-03-08 19:55:05 [RateCDR] => 1 ) [2025-03-08 19:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:55:05' and `end` < '2025-03-08 19:55:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:55:11] Production.ERROR: CronJobId end10 [2025-03-08 19:55:11] Production.INFO: ==5692== Releasing lock... [2025-03-08 19:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:55:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:55:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:55:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:55:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:55:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:55:14] Production.INFO: call_cost start [2025-03-08 19:55:14] Production.INFO: call_cost end [2025-03-08 19:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:55:15] Production.INFO: ==5688== Releasing lock... [2025-03-08 19:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:55:17] Production.INFO: count ==2510 [2025-03-08 19:55:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:55:05 - End Time 2025-03-08 19:55:05 [2025-03-08 19:55:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637424', 'tblTempUsageDetail_20' ) start [2025-03-08 19:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637424', 'tblTempUsageDetail_20' ) end [2025-03-08 19:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637424', 'tblTempVendorCDR_20' ) start [2025-03-08 19:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637424', 'tblTempVendorCDR_20' ) end [2025-03-08 19:55:18] Production.INFO: ProcessCDR(1,14637424,1,1,2) [2025-03-08 19:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637424', 'tblTempUsageDetail_20' ) start [2025-03-08 19:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637424', 'tblTempUsageDetail_20' ) end [2025-03-08 19:55:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:55:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:55:21] Production.INFO: ==5696== Releasing lock... [2025-03-08 19:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:55:21] Production.INFO: 46.75 MB #Memory Used# [2025-03-09 00:56:02] Production.INFO: ==5752== Lock acquired, processing the job... [2025-03-09 00:56:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:56:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:56:02] Production.INFO: neon service started [2025-03-09 00:56:02] Production.INFO: neon service started [2025-03-09 00:56:02] Production.INFO: ==5752== Releasing lock... [2025-03-09 00:56:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:56:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:56:02] Production.INFO: ==5757== Lock acquired, processing the job... [2025-03-09 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:56:02] Production.INFO: ==5757== Releasing lock... [2025-03-09 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:56:02] Production.INFO: ==5755== Lock acquired, processing the job... [2025-03-08 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:56:03] Production.INFO: ==5755== Releasing lock... [2025-03-08 19:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:56:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:56:03] Production.INFO: ==5759== Lock acquired, processing the job... [2025-03-08 19:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:56:03] Production.INFO: ==5761== Lock acquired, processing the job... [2025-03-08 19:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:56:04] Production.INFO: ==5765== Lock acquired, processing the job... [2025-03-08 19:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:56:04] Production.INFO: Account Balance Start. [2025-03-08 19:56:04] Production.INFO: CreateAllLog Start [2025-03-08 19:56:04] Production.INFO: 117 [2025-03-08 19:56:04] Production.INFO: ==5761== Releasing lock... [2025-03-08 19:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:56:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:56:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:56:04] Production.INFO: Total Charge 0 [2025-03-08 19:56:04] Production.INFO: CreateAllLog End [2025-03-08 19:56:04] Production.INFO: ==5763== Lock acquired, processing the job... [2025-03-08 19:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:56:04] Production.INFO: ==5767== Lock acquired, processing the job... [2025-03-08 19:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:56:04] Production.INFO: Account Balance End. [2025-03-08 19:56:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:56:04] Production.INFO: ==5765== Releasing lock... [2025-03-08 19:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:56:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:56:04] Production.INFO: ==5769== Lock acquired, processing the job... [2025-03-08 19:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:56:05] Production.INFO: count ==13 [2025-03-08 19:56:05] Production.ERROR: done [2025-03-08 19: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-08 19:56:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:56:05] Production.INFO: count ==21 [2025-03-08 19:56:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637428') start [2025-03-08 19:56:05] Production.ERROR: done [2025-03-08 19:56:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637428') end [2025-03-08 19:56:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:56:05] Production.INFO: 1 [2025-03-08 19:56:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:56:05] Production.INFO: ==5769== Releasing lock... [2025-03-08 19:56:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:56:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:56:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:56:06 [end_date_ymd] => 2025-03-08 19:56:06 [RateCDR] => 1 ) [2025-03-08 19:56:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:56:06' and `end` < '2025-03-08 19:56:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:56:12] Production.ERROR: CronJobId end10 [2025-03-08 19:56:12] Production.INFO: ==5763== Releasing lock... [2025-03-08 19:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:56:14] Production.INFO: call_cost start [2025-03-08 19:56:14] Production.INFO: call_cost end [2025-03-08 19:56:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:56:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:56:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:56:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:56:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:56:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:56:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:56:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:56:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:56:15] Production.INFO: ==5759== Releasing lock... [2025-03-08 19:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:56:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:56:18] Production.INFO: count ==2498 [2025-03-08 19:56:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:56:06 - End Time 2025-03-08 19:56:06 [2025-03-08 19:56:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637429', 'tblTempUsageDetail_20' ) start [2025-03-08 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637429', 'tblTempUsageDetail_20' ) end [2025-03-08 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637429', 'tblTempVendorCDR_20' ) start [2025-03-08 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637429', 'tblTempVendorCDR_20' ) end [2025-03-08 19:56:19] Production.INFO: ProcessCDR(1,14637429,1,1,2) [2025-03-08 19:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637429', 'tblTempUsageDetail_20' ) start [2025-03-08 19:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637429', 'tblTempUsageDetail_20' ) end [2025-03-08 19:56:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:56:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:56:22] Production.INFO: ==5767== Releasing lock... [2025-03-08 19:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:56:22] Production.INFO: 46.75 MB #Memory Used# [2025-03-09 00:57:01] Production.INFO: ==5822== Lock acquired, processing the job... [2025-03-09 00:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:57:01] Production.INFO: neon service started [2025-03-09 00:57:01] Production.INFO: neon service started [2025-03-09 00:57:01] Production.INFO: ==5822== Releasing lock... [2025-03-09 00:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 19:57:02] Production.INFO: ==5825== Lock acquired, processing the job... [2025-03-08 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:57:02] Production.INFO: ==5827== Lock acquired, processing the job... [2025-03-09 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:57:02] Production.INFO: ==5827== Releasing lock... [2025-03-09 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:57:02] Production.INFO: ==5825== Releasing lock... [2025-03-08 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:57:03] Production.INFO: ==5833== Lock acquired, processing the job... [2025-03-08 19:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:57:03] Production.INFO: ==5839== Lock acquired, processing the job... [2025-03-08 19:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:57:03] Production.INFO: ==5829== Lock acquired, processing the job... [2025-03-08 19:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:57:03] Production.INFO: ==5831== Lock acquired, processing the job... [2025-03-08 19:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:57:03] Production.INFO: count ==13 [2025-03-08 19:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:57:03] Production.INFO: ==5835== Lock acquired, processing the job... [2025-03-08 19:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:57:03] Production.INFO: count ==21 [2025-03-08 19:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637430') start [2025-03-08 19:57:03] Production.INFO: ==5837== Lock acquired, processing the job... [2025-03-08 19:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637430') end [2025-03-08 19:57:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:57:03] Production.INFO: 1 [2025-03-08 19:57:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:57:03] Production.INFO: Account Balance Start. [2025-03-08 19:57:03] Production.INFO: CreateAllLog Start [2025-03-08 19:57:03] Production.INFO: 117 [2025-03-08 19:57:03] Production.INFO: ==5839== Releasing lock... [2025-03-08 19:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:57:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:57:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:57:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:57:04] Production.INFO: ==5831== Releasing lock... [2025-03-08 19:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:57:04] Production.INFO: Total Charge 0 [2025-03-08 19:57:04] Production.INFO: CreateAllLog End [2025-03-08 19:57:04] Production.ERROR: done [2025-03-08 19:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:57:04] Production.ERROR: done [2025-03-08 19:57:04] Production.INFO: Account Balance End. [2025-03-08 19:57:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:57:04] Production.INFO: ==5835== Releasing lock... [2025-03-08 19:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:57:05 [end_date_ymd] => 2025-03-08 19:57:05 [RateCDR] => 1 ) [2025-03-08 19:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:57:05' and `end` < '2025-03-08 19:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:57:11] Production.ERROR: CronJobId end10 [2025-03-08 19:57:11] Production.INFO: ==5833== Releasing lock... [2025-03-08 19:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:57:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:57:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:57:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:57:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:57:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:57:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:57:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:57:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:57:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:57:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:57:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:57:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:57:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:57:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:57:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:57:14] Production.INFO: call_cost start [2025-03-08 19:57:14] Production.INFO: call_cost end [2025-03-08 19:57:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:57:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:57:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:57:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:57:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:57:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:57:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:57:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:57:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:57:14] Production.INFO: ==5829== Releasing lock... [2025-03-08 19:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:57:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:57:17] Production.INFO: count ==2500 [2025-03-08 19:57:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:57:05 - End Time 2025-03-08 19:57:05 [2025-03-08 19:57:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637434', 'tblTempUsageDetail_20' ) start [2025-03-08 19:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637434', 'tblTempUsageDetail_20' ) end [2025-03-08 19:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637434', 'tblTempVendorCDR_20' ) start [2025-03-08 19:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637434', 'tblTempVendorCDR_20' ) end [2025-03-08 19:57:18] Production.INFO: ProcessCDR(1,14637434,1,1,2) [2025-03-08 19:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637434', 'tblTempUsageDetail_20' ) start [2025-03-08 19:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637434', 'tblTempUsageDetail_20' ) end [2025-03-08 19:57:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:57:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:57:22] Production.INFO: ==5837== Releasing lock... [2025-03-08 19:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:57:22] Production.INFO: 46.75 MB #Memory Used# [2025-03-09 00:58:02] Production.INFO: ==5893== Lock acquired, processing the job... [2025-03-09 00:58:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:58:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:58:02] Production.INFO: neon service started [2025-03-09 00:58:02] Production.INFO: neon service started [2025-03-09 00:58:02] Production.INFO: ==5893== Releasing lock... [2025-03-09 00:58:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:58:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:58:02] Production.INFO: ==5898== Lock acquired, processing the job... [2025-03-09 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:58:02] Production.INFO: ==5898== Releasing lock... [2025-03-09 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:58:02] Production.INFO: ==5896== Lock acquired, processing the job... [2025-03-08 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:58:03] Production.INFO: ==5896== Releasing lock... [2025-03-08 19:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:58:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:58:03] Production.INFO: ==5900== Lock acquired, processing the job... [2025-03-08 19:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:58:04] Production.INFO: ==5902== Lock acquired, processing the job... [2025-03-08 19:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:58:04] Production.INFO: ==5904== Lock acquired, processing the job... [2025-03-08 19:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:58:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:58:04] Production.INFO: ==5910== Lock acquired, processing the job... [2025-03-08 19:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:58:04] Production.INFO: ==5906== Lock acquired, processing the job... [2025-03-08 19:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:58:04] Production.INFO: Account Balance Start. [2025-03-08 19:58:04] Production.INFO: CreateAllLog Start [2025-03-08 19:58:04] Production.INFO: 117 [2025-03-08 19:58:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:58:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:58:04] Production.INFO: ==5908== Lock acquired, processing the job... [2025-03-08 19:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:58:04] Production.INFO: count ==13 [2025-03-08 19:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:58:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:58:04] Production.INFO: count ==21 [2025-03-08 19:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637438') start [2025-03-08 19:58:04] Production.INFO: ==5902== Releasing lock... [2025-03-08 19:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:58:04] Production.INFO: Total Charge 0 [2025-03-08 19:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637438') end [2025-03-08 19:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:58:04] Production.INFO: 1 [2025-03-08 19:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:58:04] Production.INFO: CreateAllLog End [2025-03-08 19:58:04] Production.INFO: ==5910== Releasing lock... [2025-03-08 19:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:58:04] Production.ERROR: done [2025-03-08 19:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:58:04] Production.INFO: Account Balance End. [2025-03-08 19:58:05] Production.ERROR: CronJobId end 12 [2025-03-08 19:58:05] Production.INFO: ==5906== Releasing lock... [2025-03-08 19:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:58:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:58:05] Production.ERROR: done [2025-03-08 19:58:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:58:06 [end_date_ymd] => 2025-03-08 19:58:06 [RateCDR] => 1 ) [2025-03-08 19:58:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:58:06' and `end` < '2025-03-08 19:58:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:58:12] Production.ERROR: CronJobId end10 [2025-03-08 19:58:12] Production.INFO: ==5904== Releasing lock... [2025-03-08 19:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:58:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:58:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:58:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:58:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:58:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:58:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:58:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:58:14] Production.INFO: call_cost start [2025-03-08 19:58:14] Production.INFO: call_cost end [2025-03-08 19:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:58:15] Production.INFO: ==5900== Releasing lock... [2025-03-08 19:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:58:18] Production.INFO: count ==2494 [2025-03-08 19:58:19] Production.ERROR: pbx CDR StartTime 2025-03-08 16:58:06 - End Time 2025-03-08 19:58:06 [2025-03-08 19:58:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637439', 'tblTempUsageDetail_20' ) start [2025-03-08 19:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637439', 'tblTempUsageDetail_20' ) end [2025-03-08 19:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637439', 'tblTempVendorCDR_20' ) start [2025-03-08 19:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637439', 'tblTempVendorCDR_20' ) end [2025-03-08 19:58:19] Production.INFO: ProcessCDR(1,14637439,1,1,2) [2025-03-08 19:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637439', 'tblTempUsageDetail_20' ) start [2025-03-08 19:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637439', 'tblTempUsageDetail_20' ) end [2025-03-08 19:58:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:58:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:58:23] Production.INFO: ==5908== Releasing lock... [2025-03-08 19:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:58:23] Production.INFO: 47 MB #Memory Used# [2025-03-09 00:59:01] Production.INFO: ==5964== Lock acquired, processing the job... [2025-03-09 00:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 00:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 00:59:01] Production.INFO: neon service started [2025-03-09 00:59:01] Production.INFO: neon service started [2025-03-09 00:59:01] Production.INFO: ==5964== Releasing lock... [2025-03-09 00:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 00:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:59:02] Production.INFO: ==5968== Lock acquired, processing the job... [2025-03-09 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:59:02] Production.INFO: ==5968== Releasing lock... [2025-03-09 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 00:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 19:59:02] Production.INFO: ==5966== Lock acquired, processing the job... [2025-03-08 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 19:59:02] Production.INFO: ==5966== Releasing lock... [2025-03-08 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 19:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 19:59:03] Production.INFO: ==5971== Lock acquired, processing the job... [2025-03-08 19:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 19:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 19:59:03] Production.INFO: ==5973== Lock acquired, processing the job... [2025-03-08 19:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 19:59:03] Production.INFO: ==5975== Lock acquired, processing the job... [2025-03-08 19:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 19:59:03] Production.INFO: ==5981== Lock acquired, processing the job... [2025-03-08 19:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 19:59:03] Production.INFO: ==5979== Lock acquired, processing the job... [2025-03-08 19:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 19:59:03] Production.INFO: ==5977== Lock acquired, processing the job... [2025-03-08 19:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 19:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 19:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 19:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 19:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 19:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 19:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:59:04] Production.INFO: Account Balance Start. [2025-03-08 19:59:04] Production.INFO: CreateAllLog Start [2025-03-08 19:59:04] Production.INFO: count ==13 [2025-03-08 19:59:04] Production.INFO: 117 [2025-03-08 19:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 19:59:04] Production.INFO: count ==21 [2025-03-08 19:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637442') start [2025-03-08 19:59:04] Production.INFO: Date 2025-03-08 [2025-03-08 19:59:04] Production.INFO: Reseller ==> 0 [2025-03-08 19:59:04] Production.INFO: Total Charge 0 [2025-03-08 19:59:04] Production.INFO: CreateAllLog End [2025-03-08 19:59:04] Production.INFO: ==5973== Releasing lock... [2025-03-08 19:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 19:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 19:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637442') end [2025-03-08 19:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 19:59:04] Production.INFO: 1 [2025-03-08 19:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 19:59:04] Production.INFO: ==5981== Releasing lock... [2025-03-08 19:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 19:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 19:59:04] Production.ERROR: done [2025-03-08 19:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 19:59:04] Production.INFO: Account Balance End. [2025-03-08 19:59:04] Production.ERROR: CronJobId end 12 [2025-03-08 19:59:04] Production.INFO: ==5977== Releasing lock... [2025-03-08 19:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 19:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 19:59:04] Production.ERROR: done [2025-03-08 19:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 16:59:05 [end_date_ymd] => 2025-03-08 19:59:05 [RateCDR] => 1 ) [2025-03-08 19:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 16:59:05' and `end` < '2025-03-08 19:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 19:59:13] Production.ERROR: CronJobId end10 [2025-03-08 19:59:13] Production.INFO: ==5975== Releasing lock... [2025-03-08 19:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 19:59:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 19:59:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 19:59:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 19:59:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 19:59:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 19:59:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 19:59:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 19:59:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 19:59:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 19:59:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 19:59:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 19:59:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 19:59:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 19:59:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 19:59:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 19:59:16] Production.INFO: call_cost start [2025-03-08 19:59:16] Production.INFO: call_cost end [2025-03-08 19:59:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 19:59:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 19:59:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 19:59:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 19:59:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 19:59:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 19:59:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 19:59:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 19:59:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 19:59:17] Production.INFO: ==5971== Releasing lock... [2025-03-08 19:59:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 19:59:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 19:59:18] Production.INFO: count ==2499 [2025-03-08 19:59:18] Production.ERROR: pbx CDR StartTime 2025-03-08 16:59:05 - End Time 2025-03-08 19:59:05 [2025-03-08 19:59:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 19:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637444', 'tblTempUsageDetail_20' ) start [2025-03-08 19:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637444', 'tblTempUsageDetail_20' ) end [2025-03-08 19:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637444', 'tblTempVendorCDR_20' ) start [2025-03-08 19:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637444', 'tblTempVendorCDR_20' ) end [2025-03-08 19:59:19] Production.INFO: ProcessCDR(1,14637444,1,1,2) [2025-03-08 19:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 19:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 19:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637444', 'tblTempUsageDetail_20' ) start [2025-03-08 19:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637444', 'tblTempUsageDetail_20' ) end [2025-03-08 19:59:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 19:59:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 19:59:22] Production.INFO: ==5979== Releasing lock... [2025-03-08 19:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 19:59:22] Production.INFO: 46.75 MB #Memory Used# [2025-03-09 01:00:02] Production.INFO: ==6036== Lock acquired, processing the job... [2025-03-09 01:00:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:00:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:00:02] Production.INFO: neon service started [2025-03-09 01:00:02] Production.INFO: neon service started [2025-03-09 01:00:02] Production.INFO: ==6036== Releasing lock... [2025-03-09 01:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:00:02] Production.INFO: ==6038== Lock acquired, processing the job... [2025-03-08 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:00:03] Production.INFO: ==6040== Lock acquired, processing the job... [2025-03-09 01:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 20:00:03] Production.INFO: ==6038== Releasing lock... [2025-03-08 20:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:00:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:00:03] Production.INFO: ==6040== Releasing lock... [2025-03-09 01:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:00:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:00:04] Production.INFO: ==6052== Lock acquired, processing the job... [2025-03-08 20:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:00:04] Production.INFO: ==6055== Lock acquired, processing the job... [2025-03-08 20:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 20:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:00:04] Production.INFO: ==6057== Lock acquired, processing the job... [2025-03-08 20:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:00:04] Production.INFO: ==6042== Lock acquired, processing the job... [2025-03-08 20:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 20:00:04] Production.INFO: count ==13 [2025-03-08 20:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:00:04] Production.INFO: count ==21 [2025-03-08 20:00:04] Production.INFO: ==6044== Lock acquired, processing the job... [2025-03-08 20:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:00:04] Production.INFO: ==6046== Lock acquired, processing the job... [2025-03-08 20:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:00:04] Production.INFO: ==6048== Lock acquired, processing the job... [2025-03-08 20:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637445') start [2025-03-08 20:00:04] Production.ERROR: done [2025-03-08 20:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:00:04] Production.INFO: ==6050== Lock acquired, processing the job... [2025-03-08 20:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 20:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 20:00:04] Production.ERROR: CronJob PID - 6044 [2025-03-08 20:00:04] Production.ERROR: CronJob Title - System Alerts [2025-03-08 20:00:04] Production.ERROR: CronJob ID - 5 [2025-03-08 20:00:04] Production.ERROR: CronJob Last Run Time 2025-03-08 20:00:00 [2025-03-08 20:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 20:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 20:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 20:00:04] Production.ERROR: CronJob PID - 6046 [2025-03-08 20:00:04] Production.ERROR: CronJob Title - Account Block [2025-03-08 20:00:04] Production.ERROR: CronJob ID - 7 [2025-03-08 20:00:04] Production.ERROR: CronJob Last Run Time 2025-03-08 20:00:00 [2025-03-08 20:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 20:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 20:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 20:00:04] Production.ERROR: CronJob PID - 6048 [2025-03-08 20:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-08 20:00:04] Production.ERROR: CronJob ID - 10 [2025-03-08 20:00:04] Production.ERROR: CronJob Last Run Time 2025-03-08 20:00:00 [2025-03-08 20:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 20:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 20:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 20:00:04] Production.ERROR: CronJob PID - 6050 [2025-03-08 20:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-08 20:00:04] Production.ERROR: CronJob ID - 12 [2025-03-08 20:00:04] Production.ERROR: CronJob Last Run Time 2025-03-08 20:00:00 [2025-03-08 20:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 20:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 20:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 20:00:04] Production.ERROR: CronJob PID - 6052 [2025-03-08 20:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-08 20:00:04] Production.ERROR: CronJob ID - 16 [2025-03-08 20:00:04] Production.ERROR: CronJob Last Run Time 2025-03-08 20:00:00 [2025-03-08 20:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 20:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 20:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 20:00:04] Production.ERROR: CronJob PID - 6055 [2025-03-08 20:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-08 20:00:04] Production.ERROR: CronJob ID - 17 [2025-03-08 20:00:04] Production.ERROR: CronJob Last Run Time 2025-03-08 20:00:00 [2025-03-08 20:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 20:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 20:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 20:00:04] Production.ERROR: CronJob PID - 6057 [2025-03-08 20:00:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-08 20:00:04] Production.ERROR: CronJob ID - 19 [2025-03-08 20:00:04] Production.ERROR: CronJob Last Run Time 2025-03-08 20:00:00 [2025-03-08 20:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 20:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 20:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637445') end [2025-03-08 20:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:00:04] Production.INFO: 1 [2025-03-08 20:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 20:00:04] Production.INFO: ==6042== Releasing lock... [2025-03-08 20:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 20:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 20:00:04] Production.INFO: ==6057== Releasing lock... [2025-03-08 20:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:00:04] Production.ERROR: done [2025-03-08 20:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:00:04] Production.INFO: Account Balance Start. [2025-03-08 20:00:04] Production.INFO: CreateAllLog Start [2025-03-08 20:00:04] Production.INFO: 117 [2025-03-08 20:00:04] Production.ERROR: done [2025-03-08 20:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 20:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637449', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 20:00:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:00:05] Production.INFO: Reseller ==> 0 [2025-03-08 20:00:05] Production.INFO: Total Charge 0 [2025-03-08 20:00:05] Production.INFO: CreateAllLog End [2025-03-08 20:00:05] Production.INFO: ==6046== Releasing lock... [2025-03-08 20:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:00:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:00:05] Production.INFO: Account Balance End. [2025-03-08 20:00:05] Production.ERROR: CronJobId end 12 [2025-03-08 20:00:05] Production.INFO: ==6050== Releasing lock... [2025-03-08 20:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:00:06 [end_date_ymd] => 2025-03-08 20:00:06 [RateCDR] => 1 ) [2025-03-08 20:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:00:06' and `end` < '2025-03-08 20:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637449', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 20:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 20:00:09] Production.INFO: ProcessCDR(1,14637449,1,1,2) [2025-03-08 20:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14637449,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14637449,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:00:09] Production.INFO: ==6055== Releasing lock... [2025-03-08 20:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 20:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-08 20:00:16] Production.ERROR: CronJobId end10 [2025-03-08 20:00:16] Production.INFO: ==6048== Releasing lock... [2025-03-08 20:00:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:00:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:00:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:00:16] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:00:16] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:00:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:00:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:00:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:00:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:00:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:00:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:00:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:00:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:00:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:00:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:00:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:00:16] Production.INFO: call_cost start [2025-03-08 20:00:16] Production.INFO: call_cost end [2025-03-08 20:00:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:00:18] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:00:18] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:00:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:00:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:00:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:00:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:00:18] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:00:18] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:00:18] Production.INFO: ==6044== Releasing lock... [2025-03-08 20:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:00:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:00:18] Production.INFO: count ==2496 [2025-03-08 20:00:19] Production.ERROR: pbx CDR StartTime 2025-03-08 17:00:06 - End Time 2025-03-08 20:00:06 [2025-03-08 20:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637450', 'tblTempUsageDetail_20' ) start [2025-03-08 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637450', 'tblTempUsageDetail_20' ) end [2025-03-08 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637450', 'tblTempVendorCDR_20' ) start [2025-03-08 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637450', 'tblTempVendorCDR_20' ) end [2025-03-08 20:00:19] Production.INFO: ProcessCDR(1,14637450,1,1,2) [2025-03-08 20:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637450', 'tblTempUsageDetail_20' ) start [2025-03-08 20:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637450', 'tblTempUsageDetail_20' ) end [2025-03-08 20:00:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:00:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:00:23] Production.INFO: ==6052== Releasing lock... [2025-03-08 20:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:00:23] Production.INFO: 46.75 MB #Memory Used# [2025-03-09 01:01:01] Production.INFO: ==6155== Lock acquired, processing the job... [2025-03-09 01:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:01:01] Production.INFO: neon service started [2025-03-09 01:01:01] Production.INFO: neon service started [2025-03-09 01:01:01] Production.INFO: ==6155== Releasing lock... [2025-03-09 01:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:01:02] Production.INFO: ==6166== Lock acquired, processing the job... [2025-03-08 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:01:02] Production.INFO: ==6168== Lock acquired, processing the job... [2025-03-09 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:01:02] Production.INFO: ==6168== Releasing lock... [2025-03-09 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:01:02] Production.INFO: ==6166== Releasing lock... [2025-03-08 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:01:03] Production.INFO: ==6175== Lock acquired, processing the job... [2025-03-08 20:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:01:03] Production.INFO: ==6181== Lock acquired, processing the job... [2025-03-08 20:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:01:03] Production.INFO: count ==13 [2025-03-08 20:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:01:03] Production.INFO: count ==21 [2025-03-08 20:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637451') start [2025-03-08 20:01:03] Production.INFO: ==6171== Lock acquired, processing the job... [2025-03-08 20:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637451') end [2025-03-08 20:01:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:01:03] Production.INFO: 1 [2025-03-08 20:01:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:01:03] Production.INFO: ==6181== Releasing lock... [2025-03-08 20:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:01:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:01:03] Production.INFO: ==6173== Lock acquired, processing the job... [2025-03-08 20:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:01:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:01:04] Production.INFO: ==6179== Lock acquired, processing the job... [2025-03-08 20:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:01:04] Production.INFO: ==6177== Lock acquired, processing the job... [2025-03-08 20:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:01:04] Production.INFO: Account Balance Start. [2025-03-08 20:01:04] Production.INFO: CreateAllLog Start [2025-03-08 20:01:04] Production.INFO: 117 [2025-03-08 20:01:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:01:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:01:04] Production.INFO: Total Charge 0 [2025-03-08 20:01:04] Production.INFO: CreateAllLog End [2025-03-08 20:01:04] Production.INFO: ==6173== Releasing lock... [2025-03-08 20:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:01:04] Production.ERROR: done [2025-03-08 20:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:01:04] Production.INFO: Account Balance End. [2025-03-08 20:01:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:01:04] Production.INFO: ==6177== Releasing lock... [2025-03-08 20:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:01:04] Production.ERROR: done [2025-03-08 20:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:01:05 [end_date_ymd] => 2025-03-08 20:01:05 [RateCDR] => 1 ) [2025-03-08 20:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:01:05' and `end` < '2025-03-08 20:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:01:13] Production.ERROR: CronJobId end10 [2025-03-08 20:01:13] Production.INFO: ==6175== Releasing lock... [2025-03-08 20:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:01:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:01:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:01:16] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:01:16] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:01:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:01:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:01:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:01:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:01:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:01:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:01:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:01:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:01:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:01:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:01:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:01:16] Production.INFO: call_cost start [2025-03-08 20:01:16] Production.INFO: call_cost end [2025-03-08 20:01:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:01:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:01:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:01:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:01:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:01:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:01:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:01:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:01:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:01:17] Production.INFO: ==6171== Releasing lock... [2025-03-08 20:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:01:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:01:17] Production.INFO: count ==2497 [2025-03-08 20:01:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:01:05 - End Time 2025-03-08 20:01:05 [2025-03-08 20:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637455', 'tblTempUsageDetail_20' ) start [2025-03-08 20:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637455', 'tblTempUsageDetail_20' ) end [2025-03-08 20:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637455', 'tblTempVendorCDR_20' ) start [2025-03-08 20:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637455', 'tblTempVendorCDR_20' ) end [2025-03-08 20:01:18] Production.INFO: ProcessCDR(1,14637455,1,1,2) [2025-03-08 20:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637455', 'tblTempUsageDetail_20' ) start [2025-03-08 20:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637455', 'tblTempUsageDetail_20' ) end [2025-03-08 20:01:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:01:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:01:22] Production.INFO: ==6179== Releasing lock... [2025-03-08 20:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:01:22] Production.INFO: 46.75 MB #Memory Used# [2025-03-09 01:02:02] Production.INFO: ==6241== Lock acquired, processing the job... [2025-03-09 01:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:02:02] Production.INFO: neon service started [2025-03-09 01:02:02] Production.INFO: neon service started [2025-03-09 01:02:02] Production.INFO: ==6241== Releasing lock... [2025-03-09 01:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:02:03] Production.INFO: ==6243== Lock acquired, processing the job... [2025-03-08 20:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:02:03] Production.INFO: ==6245== Lock acquired, processing the job... [2025-03-09 01:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:02:03] Production.INFO: ==6245== Releasing lock... [2025-03-09 01:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:02:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:02:03] Production.INFO: ==6243== Releasing lock... [2025-03-08 20:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:02:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:02:04] Production.INFO: ==6248== Lock acquired, processing the job... [2025-03-08 20:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:02:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:02:04] Production.INFO: ==6252== Lock acquired, processing the job... [2025-03-08 20:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:02:04] Production.INFO: ==6258== Lock acquired, processing the job... [2025-03-08 20:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:02:04] Production.INFO: ==6250== Lock acquired, processing the job... [2025-03-08 20:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:02:04] Production.INFO: count ==13 [2025-03-08 20:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:02:04] Production.INFO: count ==21 [2025-03-08 20:02:04] Production.INFO: ==6254== Lock acquired, processing the job... [2025-03-08 20:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:02:04] Production.INFO: ==6256== Lock acquired, processing the job... [2025-03-08 20:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637457') start [2025-03-08 20:02:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:02:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637457') end [2025-03-08 20:02:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:02:05] Production.INFO: 1 [2025-03-08 20:02:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:02:05] Production.INFO: ==6258== Releasing lock... [2025-03-08 20:02:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:02:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:02:05] Production.INFO: Account Balance Start. [2025-03-08 20:02:05] Production.INFO: CreateAllLog Start [2025-03-08 20:02:05] Production.INFO: 117 [2025-03-08 20:02:05] Production.INFO: Date 2025-03-08 [2025-03-08 20:02:05] Production.INFO: Reseller ==> 0 [2025-03-08 20:02:05] Production.INFO: Total Charge 0 [2025-03-08 20:02:05] Production.INFO: CreateAllLog End [2025-03-08 20:02:05] Production.INFO: ==6250== Releasing lock... [2025-03-08 20:02:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:02:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:02:05] Production.INFO: Account Balance End. [2025-03-08 20:02:05] Production.ERROR: CronJobId end 12 [2025-03-08 20:02:05] Production.INFO: ==6254== Releasing lock... [2025-03-08 20:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:02:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:02:05] Production.ERROR: done [2025-03-08 20:02:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:02:05] Production.ERROR: done [2025-03-08 20:02:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:02:07 [end_date_ymd] => 2025-03-08 20:02:07 [RateCDR] => 1 ) [2025-03-08 20:02: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-08 17:02:07' and `end` < '2025-03-08 20:02: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-08 20:02:14] Production.ERROR: CronJobId end10 [2025-03-08 20:02:14] Production.INFO: ==6252== Releasing lock... [2025-03-08 20:02:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:02:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:02:15] Production.INFO: call_cost start [2025-03-08 20:02:15] Production.INFO: call_cost end [2025-03-08 20:02:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:02:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:02:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:02:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:02:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:02:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:02:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:02:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:02:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:02:16] Production.INFO: ==6248== Releasing lock... [2025-03-08 20:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:02:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:02:19] Production.INFO: count ==2493 [2025-03-08 20:02:20] Production.ERROR: pbx CDR StartTime 2025-03-08 17:02:07 - End Time 2025-03-08 20:02:07 [2025-03-08 20:02:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637460', 'tblTempUsageDetail_20' ) start [2025-03-08 20:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637460', 'tblTempUsageDetail_20' ) end [2025-03-08 20:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637460', 'tblTempVendorCDR_20' ) start [2025-03-08 20:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637460', 'tblTempVendorCDR_20' ) end [2025-03-08 20:02:20] Production.INFO: ProcessCDR(1,14637460,1,1,2) [2025-03-08 20:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637460', 'tblTempUsageDetail_20' ) start [2025-03-08 20:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637460', 'tblTempUsageDetail_20' ) end [2025-03-08 20:02:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:02:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:02:23] Production.INFO: ==6256== Releasing lock... [2025-03-08 20:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:02:23] Production.INFO: 46.75 MB #Memory Used# [2025-03-09 01:03:01] Production.INFO: ==6319== Lock acquired, processing the job... [2025-03-09 01:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:03:01] Production.INFO: neon service started [2025-03-09 01:03:01] Production.INFO: neon service started [2025-03-09 01:03:01] Production.INFO: ==6319== Releasing lock... [2025-03-09 01:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:03:02] Production.INFO: ==6321== Lock acquired, processing the job... [2025-03-08 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:03:02] Production.INFO: ==6323== Lock acquired, processing the job... [2025-03-09 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:03:02] Production.INFO: ==6323== Releasing lock... [2025-03-09 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:03:02] Production.INFO: 26 MB #Memory Used# [2025-03-08 20:03:02] Production.INFO: ==6321== Releasing lock... [2025-03-08 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:03:03] Production.INFO: ==6326== Lock acquired, processing the job... [2025-03-08 20:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:03:03] Production.INFO: ==6330== Lock acquired, processing the job... [2025-03-08 20:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:03:03] Production.INFO: ==6336== Lock acquired, processing the job... [2025-03-08 20:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:03:03] Production.INFO: ==6328== Lock acquired, processing the job... [2025-03-08 20:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:03:03] Production.INFO: count ==13 [2025-03-08 20:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:03:03] Production.INFO: count ==21 [2025-03-08 20:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637462') start [2025-03-08 20:03:03] Production.INFO: ==6332== Lock acquired, processing the job... [2025-03-08 20:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637462') end [2025-03-08 20:03:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:03:03] Production.INFO: 1 [2025-03-08 20:03:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:03:03] Production.INFO: ==6334== Lock acquired, processing the job... [2025-03-08 20:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:03:03] Production.INFO: Account Balance Start. [2025-03-08 20:03:03] Production.INFO: CreateAllLog Start [2025-03-08 20:03:03] Production.INFO: 117 [2025-03-08 20:03:03] Production.INFO: ==6336== Releasing lock... [2025-03-08 20:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:03:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:03:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:03:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:03:03] Production.INFO: Total Charge 0 [2025-03-08 20:03:03] Production.INFO: CreateAllLog End [2025-03-08 20:03:04] Production.INFO: ==6328== Releasing lock... [2025-03-08 20:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:03:04] Production.INFO: Account Balance End. [2025-03-08 20:03:04] Production.ERROR: done [2025-03-08 20:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:03:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:03:04] Production.INFO: ==6332== Releasing lock... [2025-03-08 20:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:03:04] Production.ERROR: done [2025-03-08 20:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:03:05 [end_date_ymd] => 2025-03-08 20:03:05 [RateCDR] => 1 ) [2025-03-08 20:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:03:05' and `end` < '2025-03-08 20:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:03:12] Production.ERROR: CronJobId end10 [2025-03-08 20:03:12] Production.INFO: ==6330== Releasing lock... [2025-03-08 20:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:03:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:03:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:03:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:03:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:03:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:03:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:03:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:03:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:03:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:03:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:03:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:03:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:03:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:03:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:03:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:03:14] Production.INFO: call_cost start [2025-03-08 20:03:14] Production.INFO: call_cost end [2025-03-08 20:03:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:03:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:03:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:03:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:03:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:03:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:03:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:03:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:03:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:03:15] Production.INFO: ==6326== Releasing lock... [2025-03-08 20:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:03:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:03:17] Production.INFO: count ==2495 [2025-03-08 20:03:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:03:05 - End Time 2025-03-08 20:03:05 [2025-03-08 20:03:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637465', 'tblTempUsageDetail_20' ) start [2025-03-08 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637465', 'tblTempUsageDetail_20' ) end [2025-03-08 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637465', 'tblTempVendorCDR_20' ) start [2025-03-08 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637465', 'tblTempVendorCDR_20' ) end [2025-03-08 20:03:18] Production.INFO: ProcessCDR(1,14637465,1,1,2) [2025-03-08 20:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637465', 'tblTempUsageDetail_20' ) start [2025-03-08 20:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637465', 'tblTempUsageDetail_20' ) end [2025-03-08 20:03:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:03:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:03:23] Production.INFO: ==6334== Releasing lock... [2025-03-08 20:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:03:23] Production.INFO: 46.75 MB #Memory Used# [2025-03-09 01:04:02] Production.INFO: ==6431== Lock acquired, processing the job... [2025-03-09 01:04:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:04:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:04:02] Production.INFO: neon service started [2025-03-09 01:04:02] Production.INFO: neon service started [2025-03-09 01:04:02] Production.INFO: ==6431== Releasing lock... [2025-03-09 01:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:04:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:04:02] Production.INFO: ==6433== Lock acquired, processing the job... [2025-03-08 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:04:02] Production.INFO: ==6433== Releasing lock... [2025-03-08 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:04:02] Production.INFO: ==6435== Lock acquired, processing the job... [2025-03-09 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:04:03] Production.INFO: ==6435== Releasing lock... [2025-03-09 01:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:04:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:04:03] Production.INFO: ==6441== Lock acquired, processing the job... [2025-03-08 20:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:04:03] Production.INFO: ==6437== Lock acquired, processing the job... [2025-03-08 20:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:04:03] Production.INFO: ==6447== Lock acquired, processing the job... [2025-03-08 20:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:04:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:04:04] Production.INFO: count ==13 [2025-03-08 20:04:04] Production.INFO: ==6439== Lock acquired, processing the job... [2025-03-08 20:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:04:04] Production.INFO: count ==21 [2025-03-08 20:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637466') start [2025-03-08 20:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637466') end [2025-03-08 20:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:04:04] Production.INFO: 1 [2025-03-08 20:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:04:04] Production.INFO: ==6443== Lock acquired, processing the job... [2025-03-08 20:04:04] Production.INFO: ==6447== Releasing lock... [2025-03-08 20:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:04:04] Production.INFO: ==6445== Lock acquired, processing the job... [2025-03-08 20:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:04:04] Production.INFO: Account Balance Start. [2025-03-08 20:04:04] Production.INFO: CreateAllLog Start [2025-03-08 20:04:04] Production.INFO: 117 [2025-03-08 20:04:04] Production.INFO: ==6439== Releasing lock... [2025-03-08 20:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:04:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:04:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:04:04] Production.INFO: Total Charge 0 [2025-03-08 20:04:04] Production.INFO: CreateAllLog End [2025-03-08 20:04:04] Production.ERROR: done [2025-03-08 20:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:04:04] Production.ERROR: done [2025-03-08 20:04:04] Production.INFO: Account Balance End. [2025-03-08 20:04:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:04:04] Production.INFO: ==6443== Releasing lock... [2025-03-08 20:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:04:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:04:06 [end_date_ymd] => 2025-03-08 20:04:06 [RateCDR] => 1 ) [2025-03-08 20:04:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:04:06' and `end` < '2025-03-08 20:04:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:04:12] Production.ERROR: CronJobId end10 [2025-03-08 20:04:12] Production.INFO: ==6441== Releasing lock... [2025-03-08 20:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:04:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:04:14] Production.INFO: call_cost start [2025-03-08 20:04:14] Production.INFO: call_cost end [2025-03-08 20:04:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:04:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:04:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:04:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:04:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:04:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:04:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:04:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:04:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:04:15] Production.INFO: ==6437== Releasing lock... [2025-03-08 20:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:04:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:04:18] Production.INFO: count ==2492 [2025-03-08 20:04:19] Production.ERROR: pbx CDR StartTime 2025-03-08 17:04:06 - End Time 2025-03-08 20:04:06 [2025-03-08 20:04:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637470', 'tblTempUsageDetail_20' ) start [2025-03-08 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637470', 'tblTempUsageDetail_20' ) end [2025-03-08 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637470', 'tblTempVendorCDR_20' ) start [2025-03-08 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637470', 'tblTempVendorCDR_20' ) end [2025-03-08 20:04:19] Production.INFO: ProcessCDR(1,14637470,1,1,2) [2025-03-08 20:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637470', 'tblTempUsageDetail_20' ) start [2025-03-08 20:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637470', 'tblTempUsageDetail_20' ) end [2025-03-08 20:04:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:04:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:04:22] Production.INFO: ==6445== Releasing lock... [2025-03-08 20:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:04:22] Production.INFO: 46.75 MB #Memory Used# [2025-03-09 01:05:01] Production.INFO: ==6503== Lock acquired, processing the job... [2025-03-09 01:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:05:01] Production.INFO: neon service started [2025-03-09 01:05:01] Production.INFO: neon service started [2025-03-09 01:05:01] Production.INFO: ==6503== Releasing lock... [2025-03-09 01:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:05:02] Production.INFO: ==6507== Lock acquired, processing the job... [2025-03-09 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:05:02] Production.INFO: ==6507== Releasing lock... [2025-03-09 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:05:02] Production.INFO: ==6505== Lock acquired, processing the job... [2025-03-08 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:05:02] Production.INFO: ==6505== Releasing lock... [2025-03-08 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:05:03] Production.INFO: ==6509== Lock acquired, processing the job... [2025-03-08 20:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:05:03] Production.INFO: ==6511== Lock acquired, processing the job... [2025-03-08 20:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:05:03] Production.INFO: ==6517== Lock acquired, processing the job... [2025-03-08 20:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:05:03] Production.INFO: ==6513== Lock acquired, processing the job... [2025-03-08 20:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:05:03] Production.INFO: ==6515== Lock acquired, processing the job... [2025-03-08 20:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:05:03] Production.INFO: ==6520== Lock acquired, processing the job... [2025-03-08 20:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:05:03] Production.INFO: count ==13 [2025-03-08 20:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:05:03] Production.INFO: count ==21 [2025-03-08 20:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637473') start [2025-03-08 20:05:03] Production.INFO: Account Balance Start. [2025-03-08 20:05:03] Production.INFO: CreateAllLog Start [2025-03-08 20:05:03] Production.INFO: 117 [2025-03-08 20:05:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:05:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637473') end [2025-03-08 20:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:05:04] Production.INFO: 1 [2025-03-08 20:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:05:04] Production.INFO: Total Charge 0 [2025-03-08 20:05:04] Production.INFO: CreateAllLog End [2025-03-08 20:05:04] Production.INFO: ==6520== Releasing lock... [2025-03-08 20:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:05:04] Production.INFO: ==6511== Releasing lock... [2025-03-08 20:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:05:04] Production.ERROR: done [2025-03-08 20:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:05:04] Production.INFO: Account Balance End. [2025-03-08 20:05:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:05:04] Production.INFO: ==6515== Releasing lock... [2025-03-08 20:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:05:04] Production.ERROR: done [2025-03-08 20:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:05:05 [end_date_ymd] => 2025-03-08 20:05:05 [RateCDR] => 1 ) [2025-03-08 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-08 17:05:05' and `end` < '2025-03-08 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-08 20:05:13] Production.ERROR: CronJobId end10 [2025-03-08 20:05:13] Production.INFO: ==6513== Releasing lock... [2025-03-08 20:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:05:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:05:15] Production.INFO: call_cost start [2025-03-08 20:05:15] Production.INFO: call_cost end [2025-03-08 20:05:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:05:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:05:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:05:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:05:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:05:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:05:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:05:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:05:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:05:16] Production.INFO: ==6509== Releasing lock... [2025-03-08 20:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:05:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:05:17] Production.INFO: count ==2495 [2025-03-08 20:05:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:05:05 - End Time 2025-03-08 20:05:05 [2025-03-08 20:05:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637475', 'tblTempUsageDetail_20' ) start [2025-03-08 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637475', 'tblTempUsageDetail_20' ) end [2025-03-08 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637475', 'tblTempVendorCDR_20' ) start [2025-03-08 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637475', 'tblTempVendorCDR_20' ) end [2025-03-08 20:05:18] Production.INFO: ProcessCDR(1,14637475,1,1,2) [2025-03-08 20:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637475', 'tblTempUsageDetail_20' ) start [2025-03-08 20:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637475', 'tblTempUsageDetail_20' ) end [2025-03-08 20:05:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:05:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:05:22] Production.INFO: ==6517== Releasing lock... [2025-03-08 20:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:05:22] Production.INFO: 46.75 MB #Memory Used# [2025-03-09 01:06:02] Production.INFO: ==6575== Lock acquired, processing the job... [2025-03-09 01:06:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:06:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:06:02] Production.INFO: neon service started [2025-03-09 01:06:02] Production.INFO: neon service started [2025-03-09 01:06:02] Production.INFO: ==6575== Releasing lock... [2025-03-09 01:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:06:02] Production.INFO: ==6577== Lock acquired, processing the job... [2025-03-08 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:06:02] Production.INFO: ==6579== Lock acquired, processing the job... [2025-03-09 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:06:02] Production.INFO: ==6579== Releasing lock... [2025-03-09 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:06:03] Production.INFO: ==6577== Releasing lock... [2025-03-08 20:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:06:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:06:03] Production.INFO: ==6582== Lock acquired, processing the job... [2025-03-08 20:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:06:04] Production.INFO: ==6586== Lock acquired, processing the job... [2025-03-08 20:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:06:04] Production.INFO: ==6584== Lock acquired, processing the job... [2025-03-08 20:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:06:04] Production.INFO: ==6588== Lock acquired, processing the job... [2025-03-08 20:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:06:04] Production.INFO: ==6592== Lock acquired, processing the job... [2025-03-08 20:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:06:04] Production.INFO: ==6590== Lock acquired, processing the job... [2025-03-08 20:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:06:04] Production.INFO: Account Balance Start. [2025-03-08 20:06:04] Production.INFO: CreateAllLog Start [2025-03-08 20:06:04] Production.INFO: 117 [2025-03-08 20:06:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:06:04] Production.INFO: Reseller ==> 0 [2025-03-08 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-08 20:06:04] Production.INFO: Total Charge 0 [2025-03-08 20:06:04] Production.INFO: count ==13 [2025-03-08 20:06:04] Production.INFO: CreateAllLog End [2025-03-08 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-08 20:06:04] Production.INFO: count ==21 [2025-03-08 20:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637479') start [2025-03-08 20:06:04] Production.INFO: ==6584== Releasing lock... [2025-03-08 20:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637479') end [2025-03-08 20:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:06:04] Production.INFO: 1 [2025-03-08 20:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:06:04] Production.ERROR: done [2025-03-08 20:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:06:04] Production.INFO: ==6592== Releasing lock... [2025-03-08 20:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:06:04] Production.INFO: Account Balance End. [2025-03-08 20:06:04] Production.ERROR: done [2025-03-08 20:06:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:06:04] Production.INFO: ==6588== Releasing lock... [2025-03-08 20:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:06:05 [end_date_ymd] => 2025-03-08 20:06:05 [RateCDR] => 1 ) [2025-03-08 20:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:06:05' and `end` < '2025-03-08 20:06:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:06:12] Production.ERROR: CronJobId end10 [2025-03-08 20:06:12] Production.INFO: ==6586== Releasing lock... [2025-03-08 20:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:06:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:06:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:06:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:06:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:06:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:06:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:06:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:06:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:06:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:06:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:06:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:06:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:06:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:06:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:06:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:06:14] Production.INFO: call_cost start [2025-03-08 20:06:14] Production.INFO: call_cost end [2025-03-08 20:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:06:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:06:15] Production.INFO: ==6582== Releasing lock... [2025-03-08 20:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:06:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:06:18] Production.INFO: count ==2487 [2025-03-08 20:06:19] Production.ERROR: pbx CDR StartTime 2025-03-08 17:06:05 - End Time 2025-03-08 20:06:05 [2025-03-08 20:06:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637480', 'tblTempUsageDetail_20' ) start [2025-03-08 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637480', 'tblTempUsageDetail_20' ) end [2025-03-08 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637480', 'tblTempVendorCDR_20' ) start [2025-03-08 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637480', 'tblTempVendorCDR_20' ) end [2025-03-08 20:06:19] Production.INFO: ProcessCDR(1,14637480,1,1,2) [2025-03-08 20:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637480', 'tblTempUsageDetail_20' ) start [2025-03-08 20:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637480', 'tblTempUsageDetail_20' ) end [2025-03-08 20:06:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:06:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:06:22] Production.INFO: ==6590== Releasing lock... [2025-03-08 20:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:06:22] Production.INFO: 46.5 MB #Memory Used# [2025-03-09 01:07:01] Production.INFO: ==6648== Lock acquired, processing the job... [2025-03-09 01:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:07:01] Production.INFO: neon service started [2025-03-09 01:07:01] Production.INFO: neon service started [2025-03-09 01:07:01] Production.INFO: ==6648== Releasing lock... [2025-03-09 01:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:07:01] Production.INFO: ==6652== Lock acquired, processing the job... [2025-03-09 01:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:07:01] Production.INFO: ==6652== Releasing lock... [2025-03-09 01:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:07:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:07:02] Production.INFO: ==6650== Lock acquired, processing the job... [2025-03-08 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:07:02] Production.INFO: ==6650== Releasing lock... [2025-03-08 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:07:03] Production.INFO: ==6655== Lock acquired, processing the job... [2025-03-08 20:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:07:03] Production.INFO: ==6665== Lock acquired, processing the job... [2025-03-08 20:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:07:03] Production.INFO: ==6659== Lock acquired, processing the job... [2025-03-08 20:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:07:03] Production.INFO: ==6657== Lock acquired, processing the job... [2025-03-08 20:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:07:03] Production.INFO: ==6661== Lock acquired, processing the job... [2025-03-08 20:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:07:03] Production.INFO: count ==13 [2025-03-08 20:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:07:03] Production.INFO: count ==21 [2025-03-08 20:07:03] Production.INFO: ==6663== Lock acquired, processing the job... [2025-03-08 20:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637482') start [2025-03-08 20:07:03] Production.INFO: Account Balance Start. [2025-03-08 20:07:03] Production.INFO: CreateAllLog Start [2025-03-08 20:07:03] Production.INFO: 117 [2025-03-08 20:07:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:07:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637482') end [2025-03-08 20:07:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:07:03] Production.INFO: 1 [2025-03-08 20:07:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:07:03] Production.INFO: Total Charge 0 [2025-03-08 20:07:03] Production.INFO: CreateAllLog End [2025-03-08 20:07:03] Production.INFO: ==6665== Releasing lock... [2025-03-08 20:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:07:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:07:03] Production.INFO: ==6657== Releasing lock... [2025-03-08 20:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:07:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:07:04] Production.INFO: Account Balance End. [2025-03-08 20:07:04] Production.ERROR: done [2025-03-08 20:07:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:07:04] Production.INFO: ==6661== Releasing lock... [2025-03-08 20:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:07:04] Production.ERROR: done [2025-03-08 20:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:07:05 [end_date_ymd] => 2025-03-08 20:07:05 [RateCDR] => 1 ) [2025-03-08 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-08 17:07:05' and `end` < '2025-03-08 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-08 20:07:11] Production.ERROR: CronJobId end10 [2025-03-08 20:07:11] Production.INFO: ==6659== Releasing lock... [2025-03-08 20:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:07:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:07:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:07:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:07:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:07:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:07:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:07:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:07:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:07:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:07:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:07:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:07:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:07:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:07:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:07:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:07:13] Production.INFO: call_cost start [2025-03-08 20:07:13] Production.INFO: call_cost end [2025-03-08 20:07:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:07:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:07:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:07:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:07:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:07:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:07:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:07:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:07:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:07:14] Production.INFO: ==6655== Releasing lock... [2025-03-08 20:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:07:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:07:17] Production.INFO: count ==2484 [2025-03-08 20:07:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:07:05 - End Time 2025-03-08 20:07:05 [2025-03-08 20:07:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637485', 'tblTempUsageDetail_20' ) start [2025-03-08 20:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637485', 'tblTempUsageDetail_20' ) end [2025-03-08 20:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637485', 'tblTempVendorCDR_20' ) start [2025-03-08 20:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637485', 'tblTempVendorCDR_20' ) end [2025-03-08 20:07:18] Production.INFO: ProcessCDR(1,14637485,1,1,2) [2025-03-08 20:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637485', 'tblTempUsageDetail_20' ) start [2025-03-08 20:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637485', 'tblTempUsageDetail_20' ) end [2025-03-08 20:07:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:07:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:07:21] Production.INFO: ==6663== Releasing lock... [2025-03-08 20:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:07:21] Production.INFO: 47 MB #Memory Used# [2025-03-09 01:08:01] Production.INFO: ==6721== Lock acquired, processing the job... [2025-03-09 01:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:08:01] Production.INFO: neon service started [2025-03-09 01:08:01] Production.INFO: neon service started [2025-03-09 01:08:01] Production.INFO: ==6721== Releasing lock... [2025-03-09 01:08:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:08:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:08:02] Production.INFO: ==6723== Lock acquired, processing the job... [2025-03-08 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:08:02] Production.INFO: ==6723== Releasing lock... [2025-03-08 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:08:02] Production.INFO: ==6725== Lock acquired, processing the job... [2025-03-09 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:08:02] Production.INFO: ==6725== Releasing lock... [2025-03-09 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:08:03] Production.INFO: ==6731== Lock acquired, processing the job... [2025-03-08 20:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:08:03] Production.INFO: ==6738== Lock acquired, processing the job... [2025-03-08 20:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:08:03] Production.INFO: ==6727== Lock acquired, processing the job... [2025-03-08 20:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:08:03] Production.INFO: ==6729== Lock acquired, processing the job... [2025-03-08 20:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:08:03] Production.INFO: ==6734== Lock acquired, processing the job... [2025-03-08 20:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:08:03] Production.INFO: count ==13 [2025-03-08 20:08:03] Production.INFO: ==6736== Lock acquired, processing the job... [2025-03-08 20:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:08:03] Production.INFO: count ==21 [2025-03-08 20:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637486') start [2025-03-08 20:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:08:04] Production.INFO: ==6729== Releasing lock... [2025-03-08 20:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637486') end [2025-03-08 20:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:08:04] Production.INFO: 1 [2025-03-08 20:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:08:04] Production.INFO: Account Balance Start. [2025-03-08 20:08:04] Production.INFO: CreateAllLog Start [2025-03-08 20:08:04] Production.INFO: 117 [2025-03-08 20:08:04] Production.INFO: ==6738== Releasing lock... [2025-03-08 20:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:08:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:08:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:08:04] Production.ERROR: done [2025-03-08 20:08:04] Production.INFO: Total Charge 0 [2025-03-08 20:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:08:04] Production.INFO: CreateAllLog End [2025-03-08 20:08:04] Production.ERROR: done [2025-03-08 20:08:04] Production.INFO: Account Balance End. [2025-03-08 20:08:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:08:04] Production.INFO: ==6734== Releasing lock... [2025-03-08 20:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:08:05 [end_date_ymd] => 2025-03-08 20:08:05 [RateCDR] => 1 ) [2025-03-08 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-08 17:08:05' and `end` < '2025-03-08 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-08 20:08:11] Production.ERROR: CronJobId end10 [2025-03-08 20:08:11] Production.INFO: ==6731== Releasing lock... [2025-03-08 20:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:08:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:08:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:08:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:08:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:08:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:08:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:08:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:08:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:08:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:08:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:08:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:08:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:08:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:08:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:08:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:08:14] Production.INFO: call_cost start [2025-03-08 20:08:14] Production.INFO: call_cost end [2025-03-08 20:08:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:08:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:08:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:08:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:08:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:08:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:08:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:08:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:08:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:08:15] Production.INFO: ==6727== Releasing lock... [2025-03-08 20:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:08:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:08:17] Production.INFO: count ==2484 [2025-03-08 20:08:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:08:05 - End Time 2025-03-08 20:08:05 [2025-03-08 20:08:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637490', 'tblTempUsageDetail_20' ) start [2025-03-08 20:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637490', 'tblTempUsageDetail_20' ) end [2025-03-08 20:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637490', 'tblTempVendorCDR_20' ) start [2025-03-08 20:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637490', 'tblTempVendorCDR_20' ) end [2025-03-08 20:08:18] Production.INFO: ProcessCDR(1,14637490,1,1,2) [2025-03-08 20:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637490', 'tblTempUsageDetail_20' ) start [2025-03-08 20:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637490', 'tblTempUsageDetail_20' ) end [2025-03-08 20:08:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:08:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:08:22] Production.INFO: ==6736== Releasing lock... [2025-03-08 20:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:08:22] Production.INFO: 46.75 MB #Memory Used# [2025-03-09 01:09:01] Production.INFO: ==6798== Lock acquired, processing the job... [2025-03-09 01:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:09:01] Production.INFO: neon service started [2025-03-09 01:09:01] Production.INFO: neon service started [2025-03-09 01:09:01] Production.INFO: ==6798== Releasing lock... [2025-03-09 01:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:09:02] Production.INFO: ==6800== Lock acquired, processing the job... [2025-03-08 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:09:02] Production.INFO: ==6802== Lock acquired, processing the job... [2025-03-09 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:09:02] Production.INFO: ==6802== Releasing lock... [2025-03-09 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:09:02] Production.INFO: ==6800== Releasing lock... [2025-03-08 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:09:03] Production.INFO: ==6809== Lock acquired, processing the job... [2025-03-08 20:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:09:03] Production.INFO: ==6815== Lock acquired, processing the job... [2025-03-08 20:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 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-08 20:09:03] Production.INFO: ==6805== Lock acquired, processing the job... [2025-03-08 20:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:09:03] Production.INFO: ==6807== Lock acquired, processing the job... [2025-03-08 20:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:09:03] Production.INFO: ==6813== Lock acquired, processing the job... [2025-03-08 20:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:09:03] Production.INFO: ==6811== Lock acquired, processing the job... [2025-03-08 20:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:09:03] Production.INFO: count ==13 [2025-03-08 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-08 20:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:09:03] Production.INFO: count ==21 [2025-03-08 20:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637491') start [2025-03-08 20:09:03] Production.INFO: Account Balance Start. [2025-03-08 20:09:03] Production.INFO: CreateAllLog Start [2025-03-08 20:09:03] Production.INFO: 117 [2025-03-08 20:09:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:09:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:09:03] Production.INFO: Total Charge 0 [2025-03-08 20:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637491') end [2025-03-08 20:09:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:09:03] Production.INFO: 1 [2025-03-08 20:09:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:09:03] Production.INFO: CreateAllLog End [2025-03-08 20:09:03] Production.INFO: ==6807== Releasing lock... [2025-03-08 20:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:09:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:09:03] Production.INFO: ==6815== Releasing lock... [2025-03-08 20:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:09:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:09:04] Production.ERROR: done [2025-03-08 20:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:09:04] Production.ERROR: done [2025-03-08 20:09:04] Production.INFO: Account Balance End. [2025-03-08 20:09:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:09:04] Production.INFO: ==6811== Releasing lock... [2025-03-08 20:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:09:05 [end_date_ymd] => 2025-03-08 20:09:05 [RateCDR] => 1 ) [2025-03-08 20:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:09:05' and `end` < '2025-03-08 20:09:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:09:11] Production.ERROR: CronJobId end10 [2025-03-08 20:09:11] Production.INFO: ==6809== Releasing lock... [2025-03-08 20:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:09:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:09:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:09:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:09:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:09:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:09:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:09:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:09:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:09:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:09:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:09:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:09:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:09:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:09:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:09:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:09:14] Production.INFO: call_cost start [2025-03-08 20:09:14] Production.INFO: call_cost end [2025-03-08 20:09:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:09:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:09:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:09:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:09:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:09:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:09:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:09:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:09:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:09:15] Production.INFO: ==6805== Releasing lock... [2025-03-08 20:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:09:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:09:17] Production.INFO: count ==2484 [2025-03-08 20:09:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:09:05 - End Time 2025-03-08 20:09:05 [2025-03-08 20:09:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637495', 'tblTempUsageDetail_20' ) start [2025-03-08 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637495', 'tblTempUsageDetail_20' ) end [2025-03-08 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637495', 'tblTempVendorCDR_20' ) start [2025-03-08 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637495', 'tblTempVendorCDR_20' ) end [2025-03-08 20:09:18] Production.INFO: ProcessCDR(1,14637495,1,1,2) [2025-03-08 20:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637495', 'tblTempUsageDetail_20' ) start [2025-03-08 20:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637495', 'tblTempUsageDetail_20' ) end [2025-03-08 20:09:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:09:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:09:21] Production.INFO: ==6813== Releasing lock... [2025-03-08 20:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:09:21] Production.INFO: 46.75 MB #Memory Used# [2025-03-09 01:10:01] Production.INFO: ==6880== Lock acquired, processing the job... [2025-03-09 01:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:10:01] Production.INFO: neon service started [2025-03-09 01:10:01] Production.INFO: neon service started [2025-03-09 01:10:01] Production.INFO: ==6880== Releasing lock... [2025-03-09 01:10:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:10:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:10:02] Production.INFO: ==6882== Lock acquired, processing the job... [2025-03-08 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:10:02] Production.INFO: ==6884== Lock acquired, processing the job... [2025-03-09 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 20:10:02] Production.INFO: ==6882== Releasing lock... [2025-03-08 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:10:02] Production.INFO: ==6884== Releasing lock... [2025-03-09 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:10:03] Production.INFO: ==6886== Lock acquired, processing the job... [2025-03-08 20:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 20:10:03] Production.INFO: ==6889== Lock acquired, processing the job... [2025-03-08 20:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:10:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 20:10:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 20:10:03] Production.INFO: ==6886== Releasing lock... [2025-03-08 20:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 20:10:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 20:10:04] Production.INFO: ==6891== Lock acquired, processing the job... [2025-03-08 20:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:10:04] Production.INFO: ==6895== Lock acquired, processing the job... [2025-03-08 20:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:10:04] Production.INFO: ==6893== Lock acquired, processing the job... [2025-03-08 20:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:10:04] Production.INFO: Account Balance Start. [2025-03-08 20:10:04] Production.INFO: CreateAllLog Start [2025-03-08 20:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:10:04] Production.INFO: 117 [2025-03-08 20:10:04] Production.INFO: ==6897== Lock acquired, processing the job... [2025-03-08 20:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:10:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:10:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:10:04] Production.INFO: ==6899== Lock acquired, processing the job... [2025-03-08 20:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 20:10:04] Production.INFO: ==6891== Releasing lock... [2025-03-08 20:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:10:04] Production.INFO: Total Charge 0 [2025-03-08 20:10:04] Production.INFO: ==6901== Lock acquired, processing the job... [2025-03-08 20:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:10:04] Production.INFO: CreateAllLog End [2025-03-08 20:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 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-08 20:10:04] Production.INFO: count ==13 [2025-03-08 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-08 20:10:04] Production.INFO: count ==21 [2025-03-08 20:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637499') start [2025-03-08 20:10:04] Production.INFO: Account Balance End. [2025-03-08 20:10:04] Production.ERROR: done [2025-03-08 20:10:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:10:04] Production.INFO: ==6895== Releasing lock... [2025-03-08 20:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:10:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:10:05] Production.ERROR: done [2025-03-08 20:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637499') end [2025-03-08 20:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:10:05] Production.INFO: 1 [2025-03-08 20:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:10:05] Production.ERROR: done [2025-03-08 20:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 20:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637500', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 20:10:05] Production.INFO: ==6901== Releasing lock... [2025-03-08 20:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:10:06 [end_date_ymd] => 2025-03-08 20:10:06 [RateCDR] => 1 ) [2025-03-08 20:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:10:06' and `end` < '2025-03-08 20:10:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637500', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 20:10:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 20:10:10] Production.INFO: ProcessCDR(1,14637500,1,1,2) [2025-03-08 20:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14637500,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14637500,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:10:10] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:10:10] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:10:10] Production.INFO: ==6899== Releasing lock... [2025-03-08 20:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 20:10:10] Production.INFO: 26 MB #Memory Used# [2025-03-08 20:10:16] Production.ERROR: CronJobId end10 [2025-03-08 20:10:16] Production.INFO: ==6893== Releasing lock... [2025-03-08 20:10:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:10:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:10:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:10:17] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:10:17] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:10:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:10:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:10:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:10:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:10:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:10:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:10:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:10:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:10:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:10:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:10:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:10:17] Production.INFO: call_cost start [2025-03-08 20:10:17] Production.INFO: call_cost end [2025-03-08 20:10:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:10:18] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:10:18] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:10:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:10:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:10:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:10:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:10:18] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:10:18] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:10:18] Production.INFO: ==6889== Releasing lock... [2025-03-08 20:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:10:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:10:18] Production.INFO: count ==2486 [2025-03-08 20:10:19] Production.ERROR: pbx CDR StartTime 2025-03-08 17:10:06 - End Time 2025-03-08 20:10:06 [2025-03-08 20:10:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637501', 'tblTempUsageDetail_20' ) start [2025-03-08 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637501', 'tblTempUsageDetail_20' ) end [2025-03-08 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637501', 'tblTempVendorCDR_20' ) start [2025-03-08 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637501', 'tblTempVendorCDR_20' ) end [2025-03-08 20:10:19] Production.INFO: ProcessCDR(1,14637501,1,1,2) [2025-03-08 20:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637501', 'tblTempUsageDetail_20' ) start [2025-03-08 20:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637501', 'tblTempUsageDetail_20' ) end [2025-03-08 20:10:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:10:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:10:23] Production.INFO: ==6897== Releasing lock... [2025-03-08 20:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:10:23] Production.INFO: 47 MB #Memory Used# [2025-03-09 01:11:02] Production.INFO: ==6983== Lock acquired, processing the job... [2025-03-09 01:11:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:11:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:11:02] Production.INFO: neon service started [2025-03-09 01:11:02] Production.INFO: neon service started [2025-03-09 01:11:02] Production.INFO: ==6983== Releasing lock... [2025-03-09 01:11:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:11:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:11:02] Production.INFO: ==6986== Lock acquired, processing the job... [2025-03-08 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:11:03] Production.INFO: ==6988== Lock acquired, processing the job... [2025-03-09 01:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:11:03] Production.INFO: ==6988== Releasing lock... [2025-03-09 01:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:11:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:11:03] Production.INFO: ==6986== Releasing lock... [2025-03-08 20:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:11:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:11:04] Production.INFO: ==6990== Lock acquired, processing the job... [2025-03-08 20:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:11:04] Production.INFO: ==7000== Lock acquired, processing the job... [2025-03-08 20:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:11:04] Production.INFO: ==6992== Lock acquired, processing the job... [2025-03-08 20:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:11:04] Production.INFO: ==6996== Lock acquired, processing the job... [2025-03-08 20:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:11:04] Production.INFO: ==6994== Lock acquired, processing the job... [2025-03-08 20:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 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-08 20:11:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:11:04] Production.INFO: count ==13 [2025-03-08 20:11:04] Production.INFO: ==6998== Lock acquired, processing the job... [2025-03-08 20:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 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-08 20:11:04] Production.INFO: count ==21 [2025-03-08 20:11:04] Production.INFO: Account Balance Start. [2025-03-08 20:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637502') start [2025-03-08 20:11:04] Production.INFO: CreateAllLog Start [2025-03-08 20:11:04] Production.INFO: 117 [2025-03-08 20:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:11:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:11:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:11:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:11:04] Production.INFO: Total Charge 0 [2025-03-08 20:11:04] Production.INFO: CreateAllLog End [2025-03-08 20:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637502') end [2025-03-08 20:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:11:04] Production.INFO: 1 [2025-03-08 20:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:11:04] Production.INFO: ==7000== Releasing lock... [2025-03-08 20:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:11:04] Production.INFO: ==6992== Releasing lock... [2025-03-08 20:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:11:04] Production.ERROR: done [2025-03-08 20:11:04] Production.INFO: Account Balance End. [2025-03-08 20:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:11:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:11:04] Production.INFO: ==6996== Releasing lock... [2025-03-08 20:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:11:05] Production.ERROR: done [2025-03-08 20:11:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:11:06 [end_date_ymd] => 2025-03-08 20:11:06 [RateCDR] => 1 ) [2025-03-08 20: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-08 17:11:06' and `end` < '2025-03-08 20: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-08 20:11:13] Production.ERROR: CronJobId end10 [2025-03-08 20:11:13] Production.INFO: ==6994== Releasing lock... [2025-03-08 20:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:11:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:11:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:11:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:11:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:11:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:11:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:11:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:11:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:11:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:11:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:11:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:11:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:11:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:11:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:11:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:11:15] Production.INFO: call_cost start [2025-03-08 20:11:15] Production.INFO: call_cost end [2025-03-08 20:11:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:11:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:11:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:11:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:11:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:11:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:11:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:11:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:11:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:11:16] Production.INFO: ==6990== Releasing lock... [2025-03-08 20:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:11:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:11:18] Production.INFO: count ==2450 [2025-03-08 20:11:19] Production.ERROR: pbx CDR StartTime 2025-03-08 17:11:06 - End Time 2025-03-08 20:11:06 [2025-03-08 20:11:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637506', 'tblTempUsageDetail_20' ) start [2025-03-08 20:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637506', 'tblTempUsageDetail_20' ) end [2025-03-08 20:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637506', 'tblTempVendorCDR_20' ) start [2025-03-08 20:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637506', 'tblTempVendorCDR_20' ) end [2025-03-08 20:11:19] Production.INFO: ProcessCDR(1,14637506,1,1,2) [2025-03-08 20:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637506', 'tblTempUsageDetail_20' ) start [2025-03-08 20:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637506', 'tblTempUsageDetail_20' ) end [2025-03-08 20:11:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:11:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:11:22] Production.INFO: ==6998== Releasing lock... [2025-03-08 20:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:11:22] Production.INFO: 46.5 MB #Memory Used# [2025-03-09 01:12:01] Production.INFO: ==7066== Lock acquired, processing the job... [2025-03-09 01:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:12:01] Production.INFO: neon service started [2025-03-09 01:12:01] Production.INFO: neon service started [2025-03-09 01:12:01] Production.INFO: ==7066== Releasing lock... [2025-03-09 01:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:12:02] Production.INFO: ==7070== Lock acquired, processing the job... [2025-03-09 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:12:02] Production.INFO: ==7070== Releasing lock... [2025-03-09 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:12:02] Production.INFO: ==7068== Lock acquired, processing the job... [2025-03-08 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:12:02] Production.INFO: ==7068== Releasing lock... [2025-03-08 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:12:03] Production.INFO: ==7078== Lock acquired, processing the job... [2025-03-08 20:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:12:03] Production.INFO: ==7083== Lock acquired, processing the job... [2025-03-08 20:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:12:04] Production.INFO: Account Balance Start. [2025-03-08 20:12:04] Production.INFO: CreateAllLog Start [2025-03-08 20:12:04] Production.INFO: 117 [2025-03-08 20:12:04] Production.INFO: ==7072== Lock acquired, processing the job... [2025-03-08 20:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:12:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:12:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:12:04] Production.INFO: ==7074== Lock acquired, processing the job... [2025-03-08 20:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:12:04] Production.INFO: count ==13 [2025-03-08 20:12:04] Production.INFO: ==7076== Lock acquired, processing the job... [2025-03-08 20:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:12:04] Production.INFO: count ==21 [2025-03-08 20:12:04] Production.INFO: Total Charge 0 [2025-03-08 20:12:04] Production.INFO: CreateAllLog End [2025-03-08 20:12:04] Production.INFO: ==7081== Lock acquired, processing the job... [2025-03-08 20:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637507') start [2025-03-08 20:12:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637507') end [2025-03-08 20:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:12:04] Production.INFO: 1 [2025-03-08 20:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:12:04] Production.INFO: ==7083== Releasing lock... [2025-03-08 20:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:12:04] Production.INFO: Account Balance End. [2025-03-08 20:12:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:12:04] Production.INFO: ==7078== Releasing lock... [2025-03-08 20:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:12:04] Production.INFO: ==7074== Releasing lock... [2025-03-08 20:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:12:04] Production.ERROR: done [2025-03-08 20:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:12:04] Production.ERROR: done [2025-03-08 20:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:12:05 [end_date_ymd] => 2025-03-08 20:12:05 [RateCDR] => 1 ) [2025-03-08 20:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:12:05' and `end` < '2025-03-08 20:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:12:13] Production.ERROR: CronJobId end10 [2025-03-08 20:12:13] Production.INFO: ==7076== Releasing lock... [2025-03-08 20:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:12:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:12:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:12:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:12:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:12:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:12:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:12:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:12:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:12:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:12:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:12:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:12:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:12:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:12:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:12:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:12:15] Production.INFO: call_cost start [2025-03-08 20:12:15] Production.INFO: call_cost end [2025-03-08 20:12:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:12:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:12:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:12:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:12:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:12:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:12:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:12:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:12:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:12:16] Production.INFO: ==7072== Releasing lock... [2025-03-08 20:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:12:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:12:18] Production.INFO: count ==2454 [2025-03-08 20:12:19] Production.ERROR: pbx CDR StartTime 2025-03-08 17:12:05 - End Time 2025-03-08 20:12:05 [2025-03-08 20:12:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637511', 'tblTempUsageDetail_20' ) start [2025-03-08 20:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637511', 'tblTempUsageDetail_20' ) end [2025-03-08 20:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637511', 'tblTempVendorCDR_20' ) start [2025-03-08 20:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637511', 'tblTempVendorCDR_20' ) end [2025-03-08 20:12:19] Production.INFO: ProcessCDR(1,14637511,1,1,2) [2025-03-08 20:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:12:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637511', 'tblTempUsageDetail_20' ) start [2025-03-08 20:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637511', 'tblTempUsageDetail_20' ) end [2025-03-08 20:12:24] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:12:24] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:12:24] Production.INFO: ==7081== Releasing lock... [2025-03-08 20:12:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:12:24] Production.INFO: 46.5 MB #Memory Used# [2025-03-09 01:13:01] Production.INFO: ==7138== Lock acquired, processing the job... [2025-03-09 01:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:13:01] Production.INFO: neon service started [2025-03-09 01:13:01] Production.INFO: neon service started [2025-03-09 01:13:01] Production.INFO: ==7138== Releasing lock... [2025-03-09 01:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:13:02] Production.INFO: ==7140== Lock acquired, processing the job... [2025-03-08 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:13:02] Production.INFO: ==7142== Lock acquired, processing the job... [2025-03-09 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:13:02] Production.INFO: ==7142== Releasing lock... [2025-03-09 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:13:02] Production.INFO: ==7140== Releasing lock... [2025-03-08 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:13:03] Production.INFO: ==7145== Lock acquired, processing the job... [2025-03-08 20:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:13:03] Production.INFO: ==7149== Lock acquired, processing the job... [2025-03-08 20:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:13:03] Production.INFO: ==7153== Lock acquired, processing the job... [2025-03-08 20:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:13:03] Production.INFO: ==7147== Lock acquired, processing the job... [2025-03-08 20:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:13:03] Production.INFO: ==7155== Lock acquired, processing the job... [2025-03-08 20:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:13:03] Production.INFO: ==7151== Lock acquired, processing the job... [2025-03-08 20:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:13:03] Production.INFO: count ==13 [2025-03-08 20:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:13:03] Production.INFO: Account Balance Start. [2025-03-08 20:13:03] Production.INFO: CreateAllLog Start [2025-03-08 20:13:03] Production.INFO: count ==21 [2025-03-08 20:13:03] Production.INFO: 117 [2025-03-08 20:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637513') start [2025-03-08 20:13:03] Production.ERROR: done [2025-03-08 20:13:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:13:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:13:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:13:03] Production.INFO: Total Charge 0 [2025-03-08 20:13:03] Production.INFO: CreateAllLog End [2025-03-08 20:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637513') end [2025-03-08 20:13:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:13:03] Production.INFO: 1 [2025-03-08 20:13:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:13:03] Production.ERROR: done [2025-03-08 20:13:04] Production.INFO: ==7155== Releasing lock... [2025-03-08 20:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:13:04] Production.INFO: ==7147== Releasing lock... [2025-03-08 20:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:13:04] Production.INFO: Account Balance End. [2025-03-08 20:13:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:13:04] Production.INFO: ==7151== Releasing lock... [2025-03-08 20:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:13:05 [end_date_ymd] => 2025-03-08 20:13:05 [RateCDR] => 1 ) [2025-03-08 20:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:13:05' and `end` < '2025-03-08 20:13:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:13:10] Production.ERROR: CronJobId end10 [2025-03-08 20:13:10] Production.INFO: ==7149== Releasing lock... [2025-03-08 20:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:13:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:13:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:13:12] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:13:12] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:13:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:13:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:13:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:13:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:13:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:13:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:13:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:13:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:13:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:13:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:13:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:13:13] Production.INFO: call_cost start [2025-03-08 20:13:13] Production.INFO: call_cost end [2025-03-08 20:13:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:13:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:13:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:13:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:13:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:13:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:13:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:13:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:13:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:13:14] Production.INFO: ==7145== Releasing lock... [2025-03-08 20:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:13:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:13:17] Production.INFO: count ==2454 [2025-03-08 20:13:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:13:05 - End Time 2025-03-08 20:13:05 [2025-03-08 20:13:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637516', 'tblTempUsageDetail_20' ) start [2025-03-08 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637516', 'tblTempUsageDetail_20' ) end [2025-03-08 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637516', 'tblTempVendorCDR_20' ) start [2025-03-08 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637516', 'tblTempVendorCDR_20' ) end [2025-03-08 20:13:18] Production.INFO: ProcessCDR(1,14637516,1,1,2) [2025-03-08 20:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637516', 'tblTempUsageDetail_20' ) start [2025-03-08 20:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637516', 'tblTempUsageDetail_20' ) end [2025-03-08 20:13:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:13:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:13:23] Production.INFO: ==7153== Releasing lock... [2025-03-08 20:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:13:23] Production.INFO: 46.5 MB #Memory Used# [2025-03-09 01:14:01] Production.INFO: ==7216== Lock acquired, processing the job... [2025-03-09 01:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:14:01] Production.INFO: neon service started [2025-03-09 01:14:02] Production.INFO: neon service started [2025-03-09 01:14:02] Production.INFO: ==7216== Releasing lock... [2025-03-09 01:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:14:02] Production.INFO: ==7219== Lock acquired, processing the job... [2025-03-08 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:14:02] Production.INFO: ==7221== Lock acquired, processing the job... [2025-03-09 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:14:02] Production.INFO: ==7221== Releasing lock... [2025-03-09 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:14:02] Production.INFO: ==7219== Releasing lock... [2025-03-08 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:14:03] Production.INFO: ==7225== Lock acquired, processing the job... [2025-03-08 20:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:14:04] Production.INFO: ==7231== Lock acquired, processing the job... [2025-03-08 20:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:14:04] Production.INFO: ==7233== Lock acquired, processing the job... [2025-03-08 20:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:14:04] Production.INFO: ==7223== Lock acquired, processing the job... [2025-03-08 20:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:14:04] Production.INFO: ==7227== Lock acquired, processing the job... [2025-03-08 20:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:14:04] Production.INFO: count ==13 [2025-03-08 20:14:04] Production.INFO: ==7229== Lock acquired, processing the job... [2025-03-08 20:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:14:04] Production.INFO: ==7225== Releasing lock... [2025-03-08 20:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:14:04] Production.INFO: count ==21 [2025-03-08 20:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637518') start [2025-03-08 20:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637518') end [2025-03-08 20:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:14:04] Production.INFO: 1 [2025-03-08 20:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:14:04] Production.INFO: Account Balance Start. [2025-03-08 20:14:04] Production.INFO: CreateAllLog Start [2025-03-08 20:14:04] Production.INFO: ==7233== Releasing lock... [2025-03-08 20:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:14:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:14:04] Production.INFO: 117 [2025-03-08 20:14:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:14:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:14:04] Production.INFO: Total Charge 0 [2025-03-08 20:14:04] Production.INFO: CreateAllLog End [2025-03-08 20:14:04] Production.ERROR: done [2025-03-08 20:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:14:04] Production.ERROR: done [2025-03-08 20:14:04] Production.INFO: Account Balance End. [2025-03-08 20:14:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:14:04] Production.INFO: ==7229== Releasing lock... [2025-03-08 20:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:14:05 [end_date_ymd] => 2025-03-08 20:14:05 [RateCDR] => 1 ) [2025-03-08 20:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:14:05' and `end` < '2025-03-08 20:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:14:13] Production.ERROR: CronJobId end10 [2025-03-08 20:14:13] Production.INFO: ==7227== Releasing lock... [2025-03-08 20:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:14:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:14:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:14:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:14:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:14:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:14:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:14:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:14:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:14:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:14:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:14:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:14:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:14:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:14:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:14:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:14:16] Production.INFO: call_cost start [2025-03-08 20:14:16] Production.INFO: call_cost end [2025-03-08 20:14:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:14:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:14:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:14:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:14:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:14:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:14:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:14:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:14:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:14:17] Production.INFO: ==7223== Releasing lock... [2025-03-08 20:14:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:14:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:14:18] Production.INFO: count ==2450 [2025-03-08 20:14:19] Production.ERROR: pbx CDR StartTime 2025-03-08 17:14:05 - End Time 2025-03-08 20:14:05 [2025-03-08 20:14:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637521', 'tblTempUsageDetail_20' ) start [2025-03-08 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637521', 'tblTempUsageDetail_20' ) end [2025-03-08 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637521', 'tblTempVendorCDR_20' ) start [2025-03-08 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637521', 'tblTempVendorCDR_20' ) end [2025-03-08 20:14:19] Production.INFO: ProcessCDR(1,14637521,1,1,2) [2025-03-08 20:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637521', 'tblTempUsageDetail_20' ) start [2025-03-08 20:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637521', 'tblTempUsageDetail_20' ) end [2025-03-08 20:14:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:14:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:14:22] Production.INFO: ==7231== Releasing lock... [2025-03-08 20:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:14:22] Production.INFO: 46.5 MB #Memory Used# [2025-03-09 01:15:01] Production.INFO: ==7292== Lock acquired, processing the job... [2025-03-09 01:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:15:01] Production.INFO: neon service started [2025-03-09 01:15:01] Production.INFO: neon service started [2025-03-09 01:15:01] Production.INFO: ==7292== Releasing lock... [2025-03-09 01:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:15:01] Production.INFO: ==7296== Lock acquired, processing the job... [2025-03-09 01:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:15:01] Production.INFO: ==7296== Releasing lock... [2025-03-09 01:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:15:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:15:02] Production.INFO: ==7294== Lock acquired, processing the job... [2025-03-08 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:15:02] Production.INFO: ==7294== Releasing lock... [2025-03-08 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:15:03] Production.INFO: ==7301== Lock acquired, processing the job... [2025-03-08 20:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:15:03] Production.INFO: ==7303== Lock acquired, processing the job... [2025-03-08 20:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:15:03] Production.INFO: ==7305== Lock acquired, processing the job... [2025-03-08 20:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:15:03] Production.INFO: ==7299== Lock acquired, processing the job... [2025-03-08 20:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:15:03] Production.INFO: Account Balance Start. [2025-03-08 20:15:03] Production.INFO: CreateAllLog Start [2025-03-08 20:15:03] Production.INFO: 117 [2025-03-08 20:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:15:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:15:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:15:03] Production.INFO: Total Charge 0 [2025-03-08 20:15:03] Production.INFO: ==7307== Lock acquired, processing the job... [2025-03-08 20:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:15:03] Production.INFO: CreateAllLog End [2025-03-08 20:15:03] Production.INFO: ==7301== Releasing lock... [2025-03-08 20:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:15:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:15:03] Production.INFO: Account Balance End. [2025-03-08 20:15:03] Production.INFO: ==7309== Lock acquired, processing the job... [2025-03-08 20:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:15:03] Production.ERROR: CronJobId end 12 [2025-03-08 20:15:03] Production.INFO: ==7305== Releasing lock... [2025-03-08 20:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:15:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:15:04] Production.INFO: count ==13 [2025-03-08 20:15:04] Production.ERROR: done [2025-03-08 20:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:15:04] Production.INFO: count ==21 [2025-03-08 20:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637525') start [2025-03-08 20:15:04] Production.ERROR: done [2025-03-08 20:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637525') end [2025-03-08 20:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:15:04] Production.INFO: 1 [2025-03-08 20:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:15:04] Production.INFO: ==7309== Releasing lock... [2025-03-08 20:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:15:05 [end_date_ymd] => 2025-03-08 20:15:05 [RateCDR] => 1 ) [2025-03-08 20:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:15:05' and `end` < '2025-03-08 20:15:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:15:12] Production.ERROR: CronJobId end10 [2025-03-08 20:15:12] Production.INFO: ==7303== Releasing lock... [2025-03-08 20:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:15:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:15:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:15:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:15:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:15:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:15:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:15:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:15:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:15:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:15:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:15:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:15:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:15:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:15:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:15:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:15:15] Production.INFO: call_cost start [2025-03-08 20:15:15] Production.INFO: call_cost end [2025-03-08 20:15:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:15:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:15:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:15:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:15:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:15:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:15:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:15:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:15:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:15:16] Production.INFO: ==7299== Releasing lock... [2025-03-08 20:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:15:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:15:17] Production.INFO: count ==2449 [2025-03-08 20:15:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:15:05 - End Time 2025-03-08 20:15:05 [2025-03-08 20:15:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637526', 'tblTempUsageDetail_20' ) start [2025-03-08 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637526', 'tblTempUsageDetail_20' ) end [2025-03-08 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637526', 'tblTempVendorCDR_20' ) start [2025-03-08 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637526', 'tblTempVendorCDR_20' ) end [2025-03-08 20:15:18] Production.INFO: ProcessCDR(1,14637526,1,1,2) [2025-03-08 20:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637526', 'tblTempUsageDetail_20' ) start [2025-03-08 20:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637526', 'tblTempUsageDetail_20' ) end [2025-03-08 20:15:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:15:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:15:21] Production.INFO: ==7307== Releasing lock... [2025-03-08 20:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:15:21] Production.INFO: 46.5 MB #Memory Used# [2025-03-09 01:16:01] Production.INFO: ==7375== Lock acquired, processing the job... [2025-03-09 01:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:16:01] Production.INFO: neon service started [2025-03-09 01:16:02] Production.INFO: neon service started [2025-03-09 01:16:02] Production.INFO: ==7375== Releasing lock... [2025-03-09 01:16:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:16:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:16:02] Production.INFO: ==7377== Lock acquired, processing the job... [2025-03-08 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:16:02] Production.INFO: ==7379== Lock acquired, processing the job... [2025-03-09 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:16:02] Production.INFO: ==7379== Releasing lock... [2025-03-09 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:16:02] Production.INFO: ==7377== Releasing lock... [2025-03-08 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:16:03] Production.INFO: ==7383== Lock acquired, processing the job... [2025-03-08 20:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:16:03] Production.INFO: ==7390== Lock acquired, processing the job... [2025-03-08 20:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:16:03] Production.INFO: ==7392== Lock acquired, processing the job... [2025-03-08 20:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:16:03] Production.INFO: ==7381== Lock acquired, processing the job... [2025-03-08 20:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:16:03] Production.INFO: ==7385== Lock acquired, processing the job... [2025-03-08 20:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:16:03] Production.INFO: ==7387== Lock acquired, processing the job... [2025-03-08 20:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:16:03] Production.INFO: ==7383== Releasing lock... [2025-03-08 20:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:16:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:16:03] Production.INFO: count ==13 [2025-03-08 20:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:16:03] Production.INFO: count ==21 [2025-03-08 20:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637528') start [2025-03-08 20:16:03] Production.ERROR: done [2025-03-08 20:16:03] Production.INFO: Account Balance Start. [2025-03-08 20:16:03] Production.INFO: CreateAllLog Start [2025-03-08 20:16:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:16:03] Production.INFO: 117 [2025-03-08 20:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:16:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:16:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637528') end [2025-03-08 20:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:16:04] Production.INFO: 1 [2025-03-08 20:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:16:04] Production.INFO: Total Charge 0 [2025-03-08 20:16:04] Production.INFO: CreateAllLog End [2025-03-08 20:16:04] Production.INFO: ==7392== Releasing lock... [2025-03-08 20:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:16:04] Production.ERROR: done [2025-03-08 20:16:04] Production.INFO: Account Balance End. [2025-03-08 20:16:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:16:04] Production.INFO: ==7387== Releasing lock... [2025-03-08 20:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:16:05 [end_date_ymd] => 2025-03-08 20:16:05 [RateCDR] => 1 ) [2025-03-08 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-08 17:16:05' and `end` < '2025-03-08 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-08 20:16:12] Production.ERROR: CronJobId end10 [2025-03-08 20:16:12] Production.INFO: ==7385== Releasing lock... [2025-03-08 20:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:16:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:16:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:16:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:16:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:16:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:16:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:16:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:16:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:16:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:16:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:16:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:16:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:16:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:16:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:16:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:16:14] Production.INFO: call_cost start [2025-03-08 20:16:14] Production.INFO: call_cost end [2025-03-08 20:16:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:16:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:16:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:16:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:16:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:16:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:16:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:16:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:16:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:16:15] Production.INFO: ==7381== Releasing lock... [2025-03-08 20:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:16:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:16:17] Production.INFO: count ==2427 [2025-03-08 20:16:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:16:05 - End Time 2025-03-08 20:16:05 [2025-03-08 20:16:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637531', 'tblTempUsageDetail_20' ) start [2025-03-08 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637531', 'tblTempUsageDetail_20' ) end [2025-03-08 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637531', 'tblTempVendorCDR_20' ) start [2025-03-08 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637531', 'tblTempVendorCDR_20' ) end [2025-03-08 20:16:18] Production.INFO: ProcessCDR(1,14637531,1,1,2) [2025-03-08 20:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637531', 'tblTempUsageDetail_20' ) start [2025-03-08 20:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637531', 'tblTempUsageDetail_20' ) end [2025-03-08 20:16:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:16:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:16:23] Production.INFO: ==7390== Releasing lock... [2025-03-08 20:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:16:23] Production.INFO: 46.5 MB #Memory Used# [2025-03-09 01:17:01] Production.INFO: ==7448== Lock acquired, processing the job... [2025-03-09 01:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:17:01] Production.INFO: neon service started [2025-03-09 01:17:01] Production.INFO: neon service started [2025-03-09 01:17:01] Production.INFO: ==7448== Releasing lock... [2025-03-09 01:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:17:01] Production.INFO: ==7452== Lock acquired, processing the job... [2025-03-09 01:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:17:01] Production.INFO: ==7452== Releasing lock... [2025-03-09 01:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:17:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:17:02] Production.INFO: ==7450== Lock acquired, processing the job... [2025-03-08 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:17:02] Production.INFO: ==7450== Releasing lock... [2025-03-08 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:17:02] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:17:03] Production.INFO: ==7456== Lock acquired, processing the job... [2025-03-08 20:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:17:03] Production.INFO: ==7454== Lock acquired, processing the job... [2025-03-08 20:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:17:03] Production.INFO: ==7462== Lock acquired, processing the job... [2025-03-08 20:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:17:03] Production.INFO: ==7464== Lock acquired, processing the job... [2025-03-08 20:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:17:03] Production.INFO: ==7458== Lock acquired, processing the job... [2025-03-08 20:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:17:03] Production.INFO: ==7456== Releasing lock... [2025-03-08 20:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:17:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:17:03] Production.INFO: ==7460== Lock acquired, processing the job... [2025-03-08 20:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:17:03] Production.INFO: Account Balance Start. [2025-03-08 20:17:03] Production.INFO: CreateAllLog Start [2025-03-08 20:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:17:03] Production.INFO: 117 [2025-03-08 20:17:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:17:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:17:03] Production.INFO: count ==13 [2025-03-08 20:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:17:03] Production.INFO: count ==21 [2025-03-08 20:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637534') start [2025-03-08 20:17:03] Production.ERROR: done [2025-03-08 20:17:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:17:03] Production.INFO: Total Charge 0 [2025-03-08 20:17:03] Production.INFO: CreateAllLog End [2025-03-08 20:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637534') end [2025-03-08 20:17:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:17:03] Production.INFO: 1 [2025-03-08 20:17:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:17:03] Production.ERROR: done [2025-03-08 20:17:03] Production.INFO: ==7464== Releasing lock... [2025-03-08 20:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:17:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:17:04] Production.INFO: Account Balance End. [2025-03-08 20:17:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:17:04] Production.INFO: ==7460== Releasing lock... [2025-03-08 20:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:17:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:17:04 [end_date_ymd] => 2025-03-08 20:17:04 [RateCDR] => 1 ) [2025-03-08 20:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:17:04' and `end` < '2025-03-08 20:17:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:17:12] Production.ERROR: CronJobId end10 [2025-03-08 20:17:12] Production.INFO: ==7458== Releasing lock... [2025-03-08 20:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:17:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:17:14] Production.INFO: call_cost start [2025-03-08 20:17:14] Production.INFO: call_cost end [2025-03-08 20:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:17:15] Production.INFO: ==7454== Releasing lock... [2025-03-08 20:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:17:17] Production.INFO: count ==2354 [2025-03-08 20:17:17] Production.ERROR: pbx CDR StartTime 2025-03-08 17:17:04 - End Time 2025-03-08 20:17:04 [2025-03-08 20:17:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637536', 'tblTempUsageDetail_20' ) start [2025-03-08 20:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637536', 'tblTempUsageDetail_20' ) end [2025-03-08 20:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637536', 'tblTempVendorCDR_20' ) start [2025-03-08 20:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637536', 'tblTempVendorCDR_20' ) end [2025-03-08 20:17:17] Production.INFO: ProcessCDR(1,14637536,1,1,2) [2025-03-08 20:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637536', 'tblTempUsageDetail_20' ) start [2025-03-08 20:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637536', 'tblTempUsageDetail_20' ) end [2025-03-08 20:17:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:17:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:17:21] Production.INFO: ==7462== Releasing lock... [2025-03-08 20:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:17:21] Production.INFO: 45.75 MB #Memory Used# [2025-03-09 01:18:01] Production.INFO: ==7534== Lock acquired, processing the job... [2025-03-09 01:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:18:01] Production.INFO: neon service started [2025-03-09 01:18:01] Production.INFO: neon service started [2025-03-09 01:18:01] Production.INFO: ==7534== Releasing lock... [2025-03-09 01:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:18:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:18:02] Production.INFO: ==7536== Lock acquired, processing the job... [2025-03-08 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:18:02] Production.INFO: ==7536== Releasing lock... [2025-03-08 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:18:02] Production.INFO: ==7538== Lock acquired, processing the job... [2025-03-09 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:18:02] Production.INFO: ==7538== Releasing lock... [2025-03-09 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:18:03] Production.INFO: ==7542== Lock acquired, processing the job... [2025-03-08 20:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:18:03] Production.INFO: ==7544== Lock acquired, processing the job... [2025-03-08 20:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:18:03] Production.INFO: ==7540== Lock acquired, processing the job... [2025-03-08 20:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:18:03] Production.INFO: ==7546== Lock acquired, processing the job... [2025-03-08 20:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:18:03] Production.INFO: ==7542== Releasing lock... [2025-03-08 20:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:18:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:18:03] Production.INFO: ==7548== Lock acquired, processing the job... [2025-03-08 20:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:18:03] Production.INFO: Account Balance Start. [2025-03-08 20:18:03] Production.INFO: CreateAllLog Start [2025-03-08 20:18:03] Production.INFO: 117 [2025-03-08 20:18:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:18:03] Production.INFO: ==7550== Lock acquired, processing the job... [2025-03-08 20:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:18:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:18:03] Production.INFO: Total Charge 0 [2025-03-08 20:18:03] Production.INFO: CreateAllLog End [2025-03-08 20:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:18:04] Production.INFO: count ==13 [2025-03-08 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-08 20:18:04] Production.INFO: count ==21 [2025-03-08 20:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637540') start [2025-03-08 20:18:04] Production.INFO: Account Balance End. [2025-03-08 20:18:04] Production.ERROR: done [2025-03-08 20:18:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:18:04] Production.INFO: ==7546== Releasing lock... [2025-03-08 20:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637540') end [2025-03-08 20:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:18:04] Production.INFO: 1 [2025-03-08 20:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:18:04] Production.INFO: ==7550== Releasing lock... [2025-03-08 20:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:18:04] Production.ERROR: done [2025-03-08 20:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:18:05 [end_date_ymd] => 2025-03-08 20:18:05 [RateCDR] => 1 ) [2025-03-08 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-08 17:18:05' and `end` < '2025-03-08 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-08 20:18:11] Production.ERROR: CronJobId end10 [2025-03-08 20:18:11] Production.INFO: ==7544== Releasing lock... [2025-03-08 20:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:18:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:18:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:18:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:18:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:18:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:18:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:18:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:18:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:18:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:18:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:18:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:18:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:18:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:18:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:18:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:18:14] Production.INFO: call_cost start [2025-03-08 20:18:14] Production.INFO: call_cost end [2025-03-08 20:18:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:18:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:18:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:18:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:18:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:18:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:18:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:18:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:18:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:18:15] Production.INFO: ==7540== Releasing lock... [2025-03-08 20:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:18:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:18:17] Production.INFO: count ==2335 [2025-03-08 20:18:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:18:05 - End Time 2025-03-08 20:18:05 [2025-03-08 20:18:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637541', 'tblTempUsageDetail_20' ) start [2025-03-08 20:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637541', 'tblTempUsageDetail_20' ) end [2025-03-08 20:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637541', 'tblTempVendorCDR_20' ) start [2025-03-08 20:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637541', 'tblTempVendorCDR_20' ) end [2025-03-08 20:18:18] Production.INFO: ProcessCDR(1,14637541,1,1,2) [2025-03-08 20:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637541', 'tblTempUsageDetail_20' ) start [2025-03-08 20:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637541', 'tblTempUsageDetail_20' ) end [2025-03-08 20:18:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:18:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:18:21] Production.INFO: ==7548== Releasing lock... [2025-03-08 20:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:18:21] Production.INFO: 45.5 MB #Memory Used# [2025-03-09 01:19:02] Production.INFO: ==7649== Lock acquired, processing the job... [2025-03-09 01:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:19:02] Production.INFO: neon service started [2025-03-09 01:19:02] Production.INFO: neon service started [2025-03-09 01:19:02] Production.INFO: ==7649== Releasing lock... [2025-03-09 01:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:19:02] Production.INFO: ==7652== Lock acquired, processing the job... [2025-03-08 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:19:03] Production.INFO: ==7652== Releasing lock... [2025-03-08 20:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:19:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:19:03] Production.INFO: ==7654== Lock acquired, processing the job... [2025-03-09 01:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:19:03] Production.INFO: ==7654== Releasing lock... [2025-03-09 01:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:19:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:19:03] Production.INFO: ==7664== Lock acquired, processing the job... [2025-03-08 20:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:19:04] Production.INFO: ==7666== Lock acquired, processing the job... [2025-03-08 20:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:19:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:19:04] Production.INFO: ==7656== Lock acquired, processing the job... [2025-03-08 20:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:19:04] Production.INFO: ==7658== Lock acquired, processing the job... [2025-03-08 20:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:19:04] Production.INFO: ==7660== Lock acquired, processing the job... [2025-03-08 20:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:19:04] Production.INFO: count ==13 [2025-03-08 20:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:19:04] Production.INFO: ==7662== Lock acquired, processing the job... [2025-03-08 20:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:19:04] Production.INFO: count ==21 [2025-03-08 20:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637542') start [2025-03-08 20:19:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:19:04] Production.ERROR: done [2025-03-08 20:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637542') end [2025-03-08 20:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:19:04] Production.INFO: 1 [2025-03-08 20:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:19:04] Production.INFO: Account Balance Start. [2025-03-08 20:19:04] Production.INFO: CreateAllLog Start [2025-03-08 20:19:04] Production.INFO: 117 [2025-03-08 20:19:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:19:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:19:04] Production.INFO: ==7666== Releasing lock... [2025-03-08 20:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:19:04] Production.INFO: ==7658== Releasing lock... [2025-03-08 20:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:19:04] Production.ERROR: done [2025-03-08 20:19:04] Production.INFO: Total Charge 0 [2025-03-08 20:19:04] Production.INFO: CreateAllLog End [2025-03-08 20:19:04] Production.INFO: Account Balance End. [2025-03-08 20:19:05] Production.ERROR: CronJobId end 12 [2025-03-08 20:19:05] Production.INFO: ==7662== Releasing lock... [2025-03-08 20:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:19:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:19:05 [end_date_ymd] => 2025-03-08 20:19:05 [RateCDR] => 1 ) [2025-03-08 20:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:19:05' and `end` < '2025-03-08 20:19:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:19:13] Production.ERROR: CronJobId end10 [2025-03-08 20:19:13] Production.INFO: ==7660== Releasing lock... [2025-03-08 20:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:19:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:19:14] Production.INFO: call_cost start [2025-03-08 20:19:14] Production.INFO: call_cost end [2025-03-08 20:19:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:19:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:19:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:19:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:19:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:19:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:19:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:19:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:19:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:19:15] Production.INFO: ==7656== Releasing lock... [2025-03-08 20:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:19:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:19:17] Production.INFO: count ==2331 [2025-03-08 20:19:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:19:05 - End Time 2025-03-08 20:19:05 [2025-03-08 20:19:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637546', 'tblTempUsageDetail_20' ) start [2025-03-08 20:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637546', 'tblTempUsageDetail_20' ) end [2025-03-08 20:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637546', 'tblTempVendorCDR_20' ) start [2025-03-08 20:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637546', 'tblTempVendorCDR_20' ) end [2025-03-08 20:19:18] Production.INFO: ProcessCDR(1,14637546,1,1,2) [2025-03-08 20:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637546', 'tblTempUsageDetail_20' ) start [2025-03-08 20:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637546', 'tblTempUsageDetail_20' ) end [2025-03-08 20:19:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:19:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:19:22] Production.INFO: ==7664== Releasing lock... [2025-03-08 20:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:19:22] Production.INFO: 45.75 MB #Memory Used# [2025-03-09 01:20:01] Production.INFO: ==7724== Lock acquired, processing the job... [2025-03-09 01:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:20:01] Production.INFO: neon service started [2025-03-09 01:20:01] Production.INFO: neon service started [2025-03-09 01:20:01] Production.INFO: ==7724== Releasing lock... [2025-03-09 01:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:20:02] Production.INFO: ==7728== Lock acquired, processing the job... [2025-03-09 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:20:02] Production.INFO: ==7728== Releasing lock... [2025-03-09 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:20:02] Production.INFO: ==7726== Lock acquired, processing the job... [2025-03-08 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:20:02] Production.INFO: ==7726== Releasing lock... [2025-03-08 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:20:03] Production.INFO: ==7731== Lock acquired, processing the job... [2025-03-08 20:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 20:20:03] Production.INFO: ==7733== Lock acquired, processing the job... [2025-03-08 20:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:20:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 20:20:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 20:20:03] Production.ERROR: CronJob PID - 7733 [2025-03-08 20:20:03] Production.ERROR: CronJob Title - System Alerts [2025-03-08 20:20:03] Production.ERROR: CronJob ID - 5 [2025-03-08 20:20:03] Production.ERROR: CronJob Last Run Time 2025-03-08 20:20:00 [2025-03-08 20:20:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 20:20:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 20:20:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 20:20:03] Production.INFO: ==7731== Releasing lock... [2025-03-08 20:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 20:20:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 20:20:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:20:03] Production.INFO: ==7737== Lock acquired, processing the job... [2025-03-08 20:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:20:04] Production.INFO: ==7741== Lock acquired, processing the job... [2025-03-08 20:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:20:04] Production.INFO: ==7735== Lock acquired, processing the job... [2025-03-08 20:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:20:04] Production.INFO: ==7739== Lock acquired, processing the job... [2025-03-08 20:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:20:04] Production.INFO: ==7745== Lock acquired, processing the job... [2025-03-08 20:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:20:04] Production.INFO: ==7743== Lock acquired, processing the job... [2025-03-08 20:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 20:20:04] Production.INFO: Account Balance Start. [2025-03-08 20:20:04] Production.INFO: CreateAllLog Start [2025-03-08 20:20:04] Production.INFO: 117 [2025-03-08 20:20:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:20:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:20:04] Production.INFO: ==7735== Releasing lock... [2025-03-08 20:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:20:04] Production.ERROR: done [2025-03-08 20:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:20:04] Production.INFO: Total Charge 0 [2025-03-08 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-08 20:20:04] Production.INFO: CreateAllLog End [2025-03-08 20:20:04] Production.INFO: count ==13 [2025-03-08 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-08 20:20:04] Production.INFO: count ==21 [2025-03-08 20:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637550') start [2025-03-08 20:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637550') end [2025-03-08 20:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:20:04] Production.INFO: 1 [2025-03-08 20:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:20:04] Production.INFO: ==7745== Releasing lock... [2025-03-08 20:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:20:04] Production.ERROR: done [2025-03-08 20:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:20:04] Production.ERROR: done [2025-03-08 20:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 20:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637552', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 20:20:04] Production.INFO: Account Balance End. [2025-03-08 20:20:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:20:04] Production.INFO: ==7739== Releasing lock... [2025-03-08 20:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:20:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:20:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:20:05 [end_date_ymd] => 2025-03-08 20:20:05 [RateCDR] => 1 ) [2025-03-08 20:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:20:05' and `end` < '2025-03-08 20:20:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637552', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 20:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 20:20:09] Production.INFO: ProcessCDR(1,14637552,1,1,2) [2025-03-08 20:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14637552,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14637552,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:20:09] Production.INFO: ==7743== Releasing lock... [2025-03-08 20:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 20:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-08 20:20:14] Production.ERROR: CronJobId end10 [2025-03-08 20:20:14] Production.INFO: ==7737== Releasing lock... [2025-03-08 20:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:20:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:20:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:20:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:20:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:20:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:20:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:20:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:20:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:20:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:20:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:20:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:20:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:20:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:20:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:20:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:20:15] Production.INFO: call_cost start [2025-03-08 20:20:15] Production.INFO: call_cost end [2025-03-08 20:20:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:20:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:20:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:20:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:20:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:20:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:20:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:20:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:20:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:20:16] Production.INFO: ==7733== Releasing lock... [2025-03-08 20:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:20:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:20:18] Production.INFO: count ==2331 [2025-03-08 20:20:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:20:05 - End Time 2025-03-08 20:20:05 [2025-03-08 20:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637551', 'tblTempUsageDetail_20' ) start [2025-03-08 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637551', 'tblTempUsageDetail_20' ) end [2025-03-08 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637551', 'tblTempVendorCDR_20' ) start [2025-03-08 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637551', 'tblTempVendorCDR_20' ) end [2025-03-08 20:20:19] Production.INFO: ProcessCDR(1,14637551,1,1,2) [2025-03-08 20:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637551', 'tblTempUsageDetail_20' ) start [2025-03-08 20:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637551', 'tblTempUsageDetail_20' ) end [2025-03-08 20:20:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:20:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:20:23] Production.INFO: ==7741== Releasing lock... [2025-03-08 20:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:20:23] Production.INFO: 45.5 MB #Memory Used# [2025-03-09 01:21:02] Production.INFO: ==7801== Lock acquired, processing the job... [2025-03-09 01:21:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:21:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:21:02] Production.INFO: neon service started [2025-03-09 01:21:02] Production.INFO: neon service started [2025-03-09 01:21:02] Production.INFO: ==7801== Releasing lock... [2025-03-09 01:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:21:02] Production.INFO: ==7803== Lock acquired, processing the job... [2025-03-08 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:21:02] Production.INFO: ==7803== Releasing lock... [2025-03-08 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:21:03] Production.INFO: ==7806== Lock acquired, processing the job... [2025-03-09 01:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:21:03] Production.INFO: ==7806== Releasing lock... [2025-03-09 01:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:21:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:21:03] Production.INFO: ==7812== Lock acquired, processing the job... [2025-03-08 20:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:21:03] Production.INFO: ==7816== Lock acquired, processing the job... [2025-03-08 20:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:21:04] Production.INFO: ==7808== Lock acquired, processing the job... [2025-03-08 20:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:21:04] Production.INFO: ==7810== Lock acquired, processing the job... [2025-03-08 20:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:21:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:21:04] Production.INFO: ==7814== Lock acquired, processing the job... [2025-03-08 20:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:21:04] Production.INFO: ==7818== Lock acquired, processing the job... [2025-03-08 20:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:21:04] Production.INFO: count ==13 [2025-03-08 20:21:04] Production.ERROR: done [2025-03-08 20:21:04] Production.INFO: Account Balance Start. [2025-03-08 20:21:04] Production.INFO: CreateAllLog Start [2025-03-08 20:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:21:04] Production.INFO: count ==21 [2025-03-08 20:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637555') start [2025-03-08 20:21:04] Production.INFO: 117 [2025-03-08 20:21:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:21:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637555') end [2025-03-08 20:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:21:04] Production.INFO: 1 [2025-03-08 20:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:21:04] Production.INFO: ==7810== Releasing lock... [2025-03-08 20:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:21:04] Production.ERROR: done [2025-03-08 20:21:04] Production.INFO: Total Charge 0 [2025-03-08 20:21:04] Production.INFO: CreateAllLog End [2025-03-08 20:21:04] Production.INFO: ==7818== Releasing lock... [2025-03-08 20:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:21:04] Production.INFO: Account Balance End. [2025-03-08 20:21:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:21:04] Production.INFO: ==7814== Releasing lock... [2025-03-08 20:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:21:05 [end_date_ymd] => 2025-03-08 20:21:05 [RateCDR] => 1 ) [2025-03-08 20:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:21:05' and `end` < '2025-03-08 20:21:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:21:12] Production.ERROR: CronJobId end10 [2025-03-08 20:21:12] Production.INFO: ==7812== Releasing lock... [2025-03-08 20:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:21:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:21:14] Production.INFO: call_cost start [2025-03-08 20:21:14] Production.INFO: call_cost end [2025-03-08 20:21:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:21:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:21:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:21:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:21:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:21:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:21:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:21:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:21:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:21:15] Production.INFO: ==7808== Releasing lock... [2025-03-08 20:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:21:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:21:18] Production.INFO: count ==2294 [2025-03-08 20:21:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:21:05 - End Time 2025-03-08 20:21:05 [2025-03-08 20:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637557', 'tblTempUsageDetail_20' ) start [2025-03-08 20:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637557', 'tblTempUsageDetail_20' ) end [2025-03-08 20:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637557', 'tblTempVendorCDR_20' ) start [2025-03-08 20:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637557', 'tblTempVendorCDR_20' ) end [2025-03-08 20:21:18] Production.INFO: ProcessCDR(1,14637557,1,1,2) [2025-03-08 20:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637557', 'tblTempUsageDetail_20' ) start [2025-03-08 20:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637557', 'tblTempUsageDetail_20' ) end [2025-03-08 20:21:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:21:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:21:22] Production.INFO: ==7816== Releasing lock... [2025-03-08 20:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:21:22] Production.INFO: 45.5 MB #Memory Used# [2025-03-09 01:22:01] Production.INFO: ==7875== Lock acquired, processing the job... [2025-03-09 01:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:22:01] Production.INFO: neon service started [2025-03-09 01:22:01] Production.INFO: neon service started [2025-03-09 01:22:01] Production.INFO: ==7875== Releasing lock... [2025-03-09 01:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:22:02] Production.INFO: ==7879== Lock acquired, processing the job... [2025-03-09 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:22:02] Production.INFO: ==7879== Releasing lock... [2025-03-09 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:22:02] Production.INFO: ==7877== Lock acquired, processing the job... [2025-03-08 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:22:02] Production.INFO: ==7877== Releasing lock... [2025-03-08 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:22:03] Production.INFO: ==7886== Lock acquired, processing the job... [2025-03-08 20:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:22:03] Production.INFO: ==7882== Lock acquired, processing the job... [2025-03-08 20:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:22:03] Production.INFO: ==7890== Lock acquired, processing the job... [2025-03-08 20:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:22:03] Production.INFO: ==7884== Lock acquired, processing the job... [2025-03-08 20:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:22:03] Production.INFO: ==7888== Lock acquired, processing the job... [2025-03-08 20:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:22:03] Production.INFO: ==7892== Lock acquired, processing the job... [2025-03-08 20:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:22:03] Production.INFO: count ==13 [2025-03-08 20:22:03] Production.INFO: Account Balance Start. [2025-03-08 20:22:03] Production.INFO: CreateAllLog Start [2025-03-08 20:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:22:03] Production.INFO: 117 [2025-03-08 20:22:03] Production.INFO: count ==21 [2025-03-08 20:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637560') start [2025-03-08 20:22:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:22:04] Production.ERROR: done [2025-03-08 20:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:22:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:22:04] Production.INFO: ==7884== Releasing lock... [2025-03-08 20:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:22:04] Production.INFO: Total Charge 0 [2025-03-08 20:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637560') end [2025-03-08 20:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:22:04] Production.INFO: 1 [2025-03-08 20:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:22:04] Production.INFO: CreateAllLog End [2025-03-08 20:22:04] Production.INFO: ==7892== Releasing lock... [2025-03-08 20:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:22:04] Production.ERROR: done [2025-03-08 20:22:04] Production.INFO: Account Balance End. [2025-03-08 20:22:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:22:04] Production.INFO: ==7888== Releasing lock... [2025-03-08 20:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:22:05 [end_date_ymd] => 2025-03-08 20:22:05 [RateCDR] => 1 ) [2025-03-08 20:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:22:05' and `end` < '2025-03-08 20:22:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:22:12] Production.ERROR: CronJobId end10 [2025-03-08 20:22:12] Production.INFO: ==7886== Releasing lock... [2025-03-08 20:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:22:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:22:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:22:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:22:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:22:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:22:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:22:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:22:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:22:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:22:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:22:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:22:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:22:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:22:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:22:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:22:14] Production.INFO: call_cost start [2025-03-08 20:22:14] Production.INFO: call_cost end [2025-03-08 20:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:22:15] Production.INFO: ==7882== Releasing lock... [2025-03-08 20:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:22:17] Production.INFO: count ==2283 [2025-03-08 20:22:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:22:05 - End Time 2025-03-08 20:22:05 [2025-03-08 20:22:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637562', 'tblTempUsageDetail_20' ) start [2025-03-08 20:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637562', 'tblTempUsageDetail_20' ) end [2025-03-08 20:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637562', 'tblTempVendorCDR_20' ) start [2025-03-08 20:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637562', 'tblTempVendorCDR_20' ) end [2025-03-08 20:22:18] Production.INFO: ProcessCDR(1,14637562,1,1,2) [2025-03-08 20:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637562', 'tblTempUsageDetail_20' ) start [2025-03-08 20:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637562', 'tblTempUsageDetail_20' ) end [2025-03-08 20:22:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:22:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:22:21] Production.INFO: ==7890== Releasing lock... [2025-03-08 20:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:22:21] Production.INFO: 45.5 MB #Memory Used# [2025-03-09 01:23:02] Production.INFO: ==7952== Lock acquired, processing the job... [2025-03-09 01:23:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:23:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:23:02] Production.INFO: neon service started [2025-03-09 01:23:02] Production.INFO: neon service started [2025-03-09 01:23:02] Production.INFO: ==7952== Releasing lock... [2025-03-09 01:23:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:23:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:23:02] Production.INFO: ==7954== Lock acquired, processing the job... [2025-03-08 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:23:02] Production.INFO: ==7954== Releasing lock... [2025-03-08 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:23:03] Production.INFO: ==7956== Lock acquired, processing the job... [2025-03-09 01:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:23:03] Production.INFO: ==7956== Releasing lock... [2025-03-09 01:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:23:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:23:03] Production.INFO: ==7958== Lock acquired, processing the job... [2025-03-08 20:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:23:03] Production.INFO: ==7960== Lock acquired, processing the job... [2025-03-08 20:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:23:04] Production.INFO: ==7964== Lock acquired, processing the job... [2025-03-08 20:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:23:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:23:04] Production.INFO: Account Balance Start. [2025-03-08 20:23:04] Production.INFO: CreateAllLog Start [2025-03-08 20:23:04] Production.INFO: 117 [2025-03-08 20:23:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:23:04] Production.INFO: ==7962== Lock acquired, processing the job... [2025-03-08 20:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:23:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:23:04] Production.INFO: ==7966== Lock acquired, processing the job... [2025-03-08 20:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:23:04] Production.INFO: Total Charge 0 [2025-03-08 20:23:04] Production.INFO: ==7968== Lock acquired, processing the job... [2025-03-08 20:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:23:04] Production.INFO: CreateAllLog End [2025-03-08 20:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:23:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:23:04] Production.INFO: count ==13 [2025-03-08 20:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:23:04] Production.INFO: count ==21 [2025-03-08 20:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637566') start [2025-03-08 20:23:04] Production.ERROR: done [2025-03-08 20:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:23:04] Production.INFO: Account Balance End. [2025-03-08 20:23:04] Production.INFO: ==7960== Releasing lock... [2025-03-08 20:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637566') end [2025-03-08 20:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:23:04] Production.INFO: 1 [2025-03-08 20:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:23:04] Production.INFO: ==7968== Releasing lock... [2025-03-08 20:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:23:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:23:04] Production.INFO: ==7964== Releasing lock... [2025-03-08 20:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:23:04] Production.ERROR: done [2025-03-08 20:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:23:05 [end_date_ymd] => 2025-03-08 20:23:05 [RateCDR] => 1 ) [2025-03-08 20:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:23:05' and `end` < '2025-03-08 20:23:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:23:13] Production.ERROR: CronJobId end10 [2025-03-08 20:23:13] Production.INFO: ==7962== Releasing lock... [2025-03-08 20:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:23:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:23:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:23:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:23:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:23:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:23:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:23:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:23:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:23:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:23:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:23:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:23:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:23:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:23:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:23:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:23:15] Production.INFO: call_cost start [2025-03-08 20:23:15] Production.INFO: call_cost end [2025-03-08 20:23:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:23:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:23:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:23:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:23:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:23:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:23:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:23:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:23:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:23:16] Production.INFO: ==7958== Releasing lock... [2025-03-08 20:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:23:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:23:18] Production.INFO: count ==2291 [2025-03-08 20:23:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:23:05 - End Time 2025-03-08 20:23:05 [2025-03-08 20:23:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637567', 'tblTempUsageDetail_20' ) start [2025-03-08 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637567', 'tblTempUsageDetail_20' ) end [2025-03-08 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637567', 'tblTempVendorCDR_20' ) start [2025-03-08 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637567', 'tblTempVendorCDR_20' ) end [2025-03-08 20:23:18] Production.INFO: ProcessCDR(1,14637567,1,1,2) [2025-03-08 20:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637567', 'tblTempUsageDetail_20' ) start [2025-03-08 20:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637567', 'tblTempUsageDetail_20' ) end [2025-03-08 20:23:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:23:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:23:22] Production.INFO: ==7966== Releasing lock... [2025-03-08 20:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:23:22] Production.INFO: 45.5 MB #Memory Used# [2025-03-09 01:24:01] Production.INFO: ==8023== Lock acquired, processing the job... [2025-03-09 01:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:24:01] Production.INFO: neon service started [2025-03-09 01:24:01] Production.INFO: neon service started [2025-03-09 01:24:01] Production.INFO: ==8023== Releasing lock... [2025-03-09 01:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:24:01] Production.INFO: ==8027== Lock acquired, processing the job... [2025-03-09 01:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:24:02] Production.INFO: ==8027== Releasing lock... [2025-03-09 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:24:02] Production.INFO: ==8025== Lock acquired, processing the job... [2025-03-08 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:24:02] Production.INFO: ==8025== Releasing lock... [2025-03-08 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:24:03] Production.INFO: ==8030== Lock acquired, processing the job... [2025-03-08 20:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:24:03] Production.INFO: ==8036== Lock acquired, processing the job... [2025-03-08 20:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:24:03] Production.INFO: ==8032== Lock acquired, processing the job... [2025-03-08 20:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:24:03] Production.INFO: ==8038== Lock acquired, processing the job... [2025-03-08 20:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:24:03] Production.INFO: Account Balance Start. [2025-03-08 20:24:03] Production.INFO: ==8034== Lock acquired, processing the job... [2025-03-08 20:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:24:03] Production.INFO: CreateAllLog Start [2025-03-08 20:24:03] Production.INFO: 117 [2025-03-08 20:24:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:24:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:24:03] Production.INFO: ==8040== Lock acquired, processing the job... [2025-03-08 20:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:24:03] Production.INFO: Total Charge 0 [2025-03-08 20:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:24:03] Production.INFO: CreateAllLog End [2025-03-08 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-08 20:24:04] Production.INFO: count ==13 [2025-03-08 20:24:04] Production.ERROR: done [2025-03-08 20:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:24:04] Production.INFO: count ==21 [2025-03-08 20:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637571') start [2025-03-08 20:24:04] Production.INFO: Account Balance End. [2025-03-08 20:24:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:24:04] Production.INFO: ==8036== Releasing lock... [2025-03-08 20:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:24:04] Production.INFO: ==8032== Releasing lock... [2025-03-08 20:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637571') end [2025-03-08 20:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:24:04] Production.INFO: 1 [2025-03-08 20:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:24:04] Production.INFO: ==8040== Releasing lock... [2025-03-08 20:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:24:04] Production.ERROR: done [2025-03-08 20:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:24:05 [end_date_ymd] => 2025-03-08 20:24:05 [RateCDR] => 1 ) [2025-03-08 20:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:24:05' and `end` < '2025-03-08 20:24:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:24:12] Production.ERROR: CronJobId end10 [2025-03-08 20:24:12] Production.INFO: ==8034== Releasing lock... [2025-03-08 20:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:24:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:24:14] Production.INFO: call_cost start [2025-03-08 20:24:14] Production.INFO: call_cost end [2025-03-08 20:24:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:24:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:24:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:24:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:24:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:24:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:24:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:24:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:24:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:24:15] Production.INFO: ==8030== Releasing lock... [2025-03-08 20:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:24:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:24:17] Production.INFO: count ==2283 [2025-03-08 20:24:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:24:05 - End Time 2025-03-08 20:24:05 [2025-03-08 20:24:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637572', 'tblTempUsageDetail_20' ) start [2025-03-08 20:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637572', 'tblTempUsageDetail_20' ) end [2025-03-08 20:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637572', 'tblTempVendorCDR_20' ) start [2025-03-08 20:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637572', 'tblTempVendorCDR_20' ) end [2025-03-08 20:24:18] Production.INFO: ProcessCDR(1,14637572,1,1,2) [2025-03-08 20:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637572', 'tblTempUsageDetail_20' ) start [2025-03-08 20:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637572', 'tblTempUsageDetail_20' ) end [2025-03-08 20:24:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:24:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:24:22] Production.INFO: ==8038== Releasing lock... [2025-03-08 20:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:24:22] Production.INFO: 45.25 MB #Memory Used# [2025-03-09 01:25:02] Production.INFO: ==8100== Lock acquired, processing the job... [2025-03-09 01:25:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:25:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:25:02] Production.INFO: neon service started [2025-03-09 01:25:02] Production.INFO: neon service started [2025-03-09 01:25:02] Production.INFO: ==8100== Releasing lock... [2025-03-09 01:25:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:25:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:25:02] Production.INFO: ==8103== Lock acquired, processing the job... [2025-03-08 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:25:02] Production.INFO: ==8105== Lock acquired, processing the job... [2025-03-09 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 20:25:03] Production.INFO: ==8103== Releasing lock... [2025-03-08 20:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:25:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:25:03] Production.INFO: ==8105== Releasing lock... [2025-03-09 01:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:25:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:25:04] Production.INFO: ==8107== Lock acquired, processing the job... [2025-03-08 20:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:25:04] Production.INFO: ==8109== Lock acquired, processing the job... [2025-03-08 20:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:25:04] Production.INFO: ==8111== Lock acquired, processing the job... [2025-03-08 20:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:25:04] Production.INFO: ==8113== Lock acquired, processing the job... [2025-03-08 20:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:25:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:25:04] Production.INFO: ==8117== Lock acquired, processing the job... [2025-03-08 20:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:25:04] Production.INFO: ==8115== Lock acquired, processing the job... [2025-03-08 20:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:25:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:25:04] Production.INFO: Account Balance Start. [2025-03-08 20:25:04] Production.INFO: CreateAllLog Start [2025-03-08 20:25:04] Production.INFO: 117 [2025-03-08 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-08 20:25:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:25:04] Production.INFO: count ==13 [2025-03-08 20:25:04] Production.INFO: Reseller ==> 0 [2025-03-08 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-08 20:25:04] Production.INFO: ==8109== Releasing lock... [2025-03-08 20:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:25:04] Production.INFO: count ==21 [2025-03-08 20:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637575') start [2025-03-08 20:25:04] Production.INFO: Total Charge 0 [2025-03-08 20:25:04] Production.INFO: CreateAllLog End [2025-03-08 20:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637575') end [2025-03-08 20:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:25:04] Production.INFO: 1 [2025-03-08 20:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:25:04] Production.ERROR: done [2025-03-08 20:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:25:04] Production.INFO: ==8117== Releasing lock... [2025-03-08 20:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:25:04] Production.INFO: Account Balance End. [2025-03-08 20:25:05] Production.ERROR: done [2025-03-08 20:25:05] Production.ERROR: CronJobId end 12 [2025-03-08 20:25:05] Production.INFO: ==8113== Releasing lock... [2025-03-08 20:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:25:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:25:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:25:06 [end_date_ymd] => 2025-03-08 20:25:06 [RateCDR] => 1 ) [2025-03-08 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-08 17:25:06' and `end` < '2025-03-08 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-08 20:25:14] Production.ERROR: CronJobId end10 [2025-03-08 20:25:14] Production.INFO: ==8111== Releasing lock... [2025-03-08 20:25:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:25:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:25:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:25:16] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:25:16] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:25:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:25:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:25:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:25:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:25:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:25:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:25:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:25:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:25:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:25:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:25:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:25:16] Production.INFO: call_cost start [2025-03-08 20:25:16] Production.INFO: call_cost end [2025-03-08 20:25:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:25:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:25:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:25:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:25:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:25:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:25:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:25:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:25:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:25:17] Production.INFO: ==8107== Releasing lock... [2025-03-08 20:25:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:25:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:25:18] Production.INFO: count ==2284 [2025-03-08 20:25:19] Production.ERROR: pbx CDR StartTime 2025-03-08 17:25:06 - End Time 2025-03-08 20:25:06 [2025-03-08 20:25:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637577', 'tblTempUsageDetail_20' ) start [2025-03-08 20:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637577', 'tblTempUsageDetail_20' ) end [2025-03-08 20:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637577', 'tblTempVendorCDR_20' ) start [2025-03-08 20:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637577', 'tblTempVendorCDR_20' ) end [2025-03-08 20:25:19] Production.INFO: ProcessCDR(1,14637577,1,1,2) [2025-03-08 20:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637577', 'tblTempUsageDetail_20' ) start [2025-03-08 20:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637577', 'tblTempUsageDetail_20' ) end [2025-03-08 20:25:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:25:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:25:22] Production.INFO: ==8115== Releasing lock... [2025-03-08 20:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:25:22] Production.INFO: 45.25 MB #Memory Used# [2025-03-09 01:26:01] Production.INFO: ==8177== Lock acquired, processing the job... [2025-03-09 01:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:26:01] Production.INFO: neon service started [2025-03-09 01:26:01] Production.INFO: neon service started [2025-03-09 01:26:01] Production.INFO: ==8177== Releasing lock... [2025-03-09 01:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:26:02] Production.INFO: ==8179== Lock acquired, processing the job... [2025-03-08 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:26:02] Production.INFO: ==8179== Releasing lock... [2025-03-08 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:26:02] Production.INFO: ==8181== Lock acquired, processing the job... [2025-03-09 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:26:02] Production.INFO: ==8181== Releasing lock... [2025-03-09 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:26:03] Production.INFO: ==8184== Lock acquired, processing the job... [2025-03-08 20:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:26:03] Production.INFO: ==8188== Lock acquired, processing the job... [2025-03-08 20:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:26:03] Production.INFO: ==8190== Lock acquired, processing the job... [2025-03-08 20:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:26:03] Production.INFO: ==8186== Lock acquired, processing the job... [2025-03-08 20:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:26:03] Production.INFO: Account Balance Start. [2025-03-08 20:26:03] Production.INFO: CreateAllLog Start [2025-03-08 20:26:03] Production.INFO: 117 [2025-03-08 20:26:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:26:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:26:03] Production.INFO: ==8194== Lock acquired, processing the job... [2025-03-08 20:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:26:03] Production.INFO: ==8192== Lock acquired, processing the job... [2025-03-08 20:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:26:03] Production.INFO: Total Charge 0 [2025-03-08 20:26:03] Production.INFO: CreateAllLog End [2025-03-08 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-08 20:26:03] Production.INFO: count ==13 [2025-03-08 20:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:26:04] Production.INFO: count ==21 [2025-03-08 20:26:04] Production.ERROR: done [2025-03-08 20:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637581') start [2025-03-08 20:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:26:04] Production.INFO: ==8186== Releasing lock... [2025-03-08 20:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:26:04] Production.ERROR: done [2025-03-08 20:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637581') end [2025-03-08 20:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:26:04] Production.INFO: 1 [2025-03-08 20:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:26:04] Production.INFO: Account Balance End. [2025-03-08 20:26:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:26:04] Production.INFO: ==8190== Releasing lock... [2025-03-08 20:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:26:04] Production.INFO: ==8194== Releasing lock... [2025-03-08 20:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:26:05 [end_date_ymd] => 2025-03-08 20:26:05 [RateCDR] => 1 ) [2025-03-08 20:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:26:05' and `end` < '2025-03-08 20:26:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:26:12] Production.ERROR: CronJobId end10 [2025-03-08 20:26:12] Production.INFO: ==8188== Releasing lock... [2025-03-08 20:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:26:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:26:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:26:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:26:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:26:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:26:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:26:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:26:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:26:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:26:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:26:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:26:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:26:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:26:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:26:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:26:14] Production.INFO: call_cost start [2025-03-08 20:26:14] Production.INFO: call_cost end [2025-03-08 20:26:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:26:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:26:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:26:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:26:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:26:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:26:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:26:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:26:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:26:14] Production.INFO: ==8184== Releasing lock... [2025-03-08 20:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:26:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:26:17] Production.INFO: count ==2280 [2025-03-08 20:26:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:26:05 - End Time 2025-03-08 20:26:05 [2025-03-08 20:26:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637582', 'tblTempUsageDetail_20' ) start [2025-03-08 20:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637582', 'tblTempUsageDetail_20' ) end [2025-03-08 20:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637582', 'tblTempVendorCDR_20' ) start [2025-03-08 20:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637582', 'tblTempVendorCDR_20' ) end [2025-03-08 20:26:18] Production.INFO: ProcessCDR(1,14637582,1,1,2) [2025-03-08 20:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637582', 'tblTempUsageDetail_20' ) start [2025-03-08 20:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637582', 'tblTempUsageDetail_20' ) end [2025-03-08 20:26:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:26:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:26:21] Production.INFO: ==8192== Releasing lock... [2025-03-08 20:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:26:21] Production.INFO: 45.25 MB #Memory Used# [2025-03-09 01:27:02] Production.INFO: ==8256== Lock acquired, processing the job... [2025-03-09 01:27:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:27:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:27:02] Production.INFO: neon service started [2025-03-09 01:27:02] Production.INFO: neon service started [2025-03-09 01:27:02] Production.INFO: ==8256== Releasing lock... [2025-03-09 01:27:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:27:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:27:02] Production.INFO: ==8260== Lock acquired, processing the job... [2025-03-09 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:27:02] Production.INFO: ==8260== Releasing lock... [2025-03-09 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:27:02] Production.INFO: ==8258== Lock acquired, processing the job... [2025-03-08 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:27:03] Production.INFO: ==8258== Releasing lock... [2025-03-08 20:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:27:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:27:03] Production.INFO: ==8267== Lock acquired, processing the job... [2025-03-08 20:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:27:03] Production.INFO: ==8265== Lock acquired, processing the job... [2025-03-08 20:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:27:04] Production.INFO: ==8271== Lock acquired, processing the job... [2025-03-08 20:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:27:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:27:04] Production.INFO: ==8263== Lock acquired, processing the job... [2025-03-08 20:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:27:04] Production.INFO: ==8265== Releasing lock... [2025-03-08 20:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:27:04] Production.INFO: ==8269== Lock acquired, processing the job... [2025-03-08 20:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:27:04] Production.INFO: ==8273== Lock acquired, processing the job... [2025-03-08 20:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:27:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:27:04] Production.ERROR: done [2025-03-08 20:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:27:04] Production.INFO: Account Balance Start. [2025-03-08 20:27:04] Production.INFO: CreateAllLog Start [2025-03-08 20:27:04] Production.INFO: 117 [2025-03-08 20:27:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:27:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:27:04] Production.ERROR: done [2025-03-08 20:27:04] Production.INFO: Total Charge 0 [2025-03-08 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-08 20:27:04] Production.INFO: CreateAllLog End [2025-03-08 20:27:04] Production.INFO: count ==13 [2025-03-08 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-08 20:27:04] Production.INFO: count ==21 [2025-03-08 20:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637586') start [2025-03-08 20:27:04] Production.INFO: Account Balance End. [2025-03-08 20:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637586') end [2025-03-08 20:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:27:04] Production.INFO: 1 [2025-03-08 20:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:27:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:27:04] Production.INFO: ==8269== Releasing lock... [2025-03-08 20:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:27:04] Production.INFO: ==8273== Releasing lock... [2025-03-08 20:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:27:05 [end_date_ymd] => 2025-03-08 20:27:05 [RateCDR] => 1 ) [2025-03-08 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-08 17:27:05' and `end` < '2025-03-08 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-08 20:27:12] Production.ERROR: CronJobId end10 [2025-03-08 20:27:12] Production.INFO: ==8267== Releasing lock... [2025-03-08 20:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:27:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:27:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:27:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:27:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:27:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:27:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:27:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:27:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:27:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:27:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:27:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:27:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:27:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:27:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:27:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:27:14] Production.INFO: call_cost start [2025-03-08 20:27:14] Production.INFO: call_cost end [2025-03-08 20:27:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:27:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:27:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:27:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:27:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:27:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:27:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:27:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:27:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:27:15] Production.INFO: ==8263== Releasing lock... [2025-03-08 20:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:27:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:27:17] Production.INFO: count ==2276 [2025-03-08 20:27:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:27:05 - End Time 2025-03-08 20:27:05 [2025-03-08 20:27:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637587', 'tblTempUsageDetail_20' ) start [2025-03-08 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637587', 'tblTempUsageDetail_20' ) end [2025-03-08 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637587', 'tblTempVendorCDR_20' ) start [2025-03-08 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637587', 'tblTempVendorCDR_20' ) end [2025-03-08 20:27:18] Production.INFO: ProcessCDR(1,14637587,1,1,2) [2025-03-08 20:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637587', 'tblTempUsageDetail_20' ) start [2025-03-08 20:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637587', 'tblTempUsageDetail_20' ) end [2025-03-08 20:27:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:27:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:27:22] Production.INFO: ==8271== Releasing lock... [2025-03-08 20:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:27:22] Production.INFO: 45.25 MB #Memory Used# [2025-03-09 01:28:01] Production.INFO: ==8328== Lock acquired, processing the job... [2025-03-09 01:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:28:01] Production.INFO: neon service started [2025-03-09 01:28:01] Production.INFO: neon service started [2025-03-09 01:28:01] Production.INFO: ==8328== Releasing lock... [2025-03-09 01:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:28:01] Production.INFO: ==8330== Lock acquired, processing the job... [2025-03-08 20:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:28:02] Production.INFO: ==8330== Releasing lock... [2025-03-08 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:28:02] Production.INFO: ==8332== Lock acquired, processing the job... [2025-03-09 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:28:02] Production.INFO: ==8332== Releasing lock... [2025-03-09 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:28:03] Production.INFO: ==8335== Lock acquired, processing the job... [2025-03-08 20:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:28:03] Production.INFO: ==8337== Lock acquired, processing the job... [2025-03-08 20:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:28:03] Production.INFO: ==8341== Lock acquired, processing the job... [2025-03-08 20:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:28:03] Production.INFO: Account Balance Start. [2025-03-08 20:28:03] Production.INFO: CreateAllLog Start [2025-03-08 20:28:03] Production.INFO: 117 [2025-03-08 20:28:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:28:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:28:03] Production.INFO: Total Charge 0 [2025-03-08 20:28:03] Production.INFO: CreateAllLog End [2025-03-08 20:28:03] Production.INFO: ==8337== Releasing lock... [2025-03-08 20:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:28:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:28:03] Production.INFO: ==8339== Lock acquired, processing the job... [2025-03-08 20:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:28:03] Production.INFO: Account Balance End. [2025-03-08 20:28:03] Production.ERROR: CronJobId end 12 [2025-03-08 20:28:03] Production.INFO: ==8341== Releasing lock... [2025-03-08 20:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:28:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:28:03] Production.INFO: ==8343== Lock acquired, processing the job... [2025-03-08 20:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:28:03] Production.INFO: ==8345== Lock acquired, processing the job... [2025-03-08 20:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:28:04] Production.INFO: count ==13 [2025-03-08 20:28:04] Production.ERROR: done [2025-03-08 20:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:28:04] Production.INFO: count ==21 [2025-03-08 20:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637591') start [2025-03-08 20:28:04] Production.ERROR: done [2025-03-08 20:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637591') end [2025-03-08 20:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:28:04] Production.INFO: 1 [2025-03-08 20:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:28:04] Production.INFO: ==8345== Releasing lock... [2025-03-08 20:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:28:05 [end_date_ymd] => 2025-03-08 20:28:05 [RateCDR] => 1 ) [2025-03-08 20:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:28:05' and `end` < '2025-03-08 20:28:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:28:13] Production.ERROR: CronJobId end10 [2025-03-08 20:28:13] Production.INFO: ==8339== Releasing lock... [2025-03-08 20:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:28:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:28:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:28:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:28:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:28:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:28:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:28:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:28:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:28:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:28:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:28:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:28:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:28:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:28:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:28:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:28:13] Production.INFO: call_cost start [2025-03-08 20:28:13] Production.INFO: call_cost end [2025-03-08 20:28:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:28:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:28:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:28:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:28:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:28:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:28:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:28:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:28:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:28:14] Production.INFO: ==8335== Releasing lock... [2025-03-08 20:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:28:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:28:17] Production.INFO: count ==2278 [2025-03-08 20:28:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:28:05 - End Time 2025-03-08 20:28:05 [2025-03-08 20:28:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637592', 'tblTempUsageDetail_20' ) start [2025-03-08 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637592', 'tblTempUsageDetail_20' ) end [2025-03-08 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637592', 'tblTempVendorCDR_20' ) start [2025-03-08 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637592', 'tblTempVendorCDR_20' ) end [2025-03-08 20:28:18] Production.INFO: ProcessCDR(1,14637592,1,1,2) [2025-03-08 20:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637592', 'tblTempUsageDetail_20' ) start [2025-03-08 20:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637592', 'tblTempUsageDetail_20' ) end [2025-03-08 20:28:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:28:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:28:23] Production.INFO: ==8343== Releasing lock... [2025-03-08 20:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:28:23] Production.INFO: 45.25 MB #Memory Used# [2025-03-09 01:29:02] Production.INFO: ==8410== Lock acquired, processing the job... [2025-03-09 01:29:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:29:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:29:02] Production.INFO: neon service started [2025-03-09 01:29:02] Production.INFO: neon service started [2025-03-09 01:29:02] Production.INFO: ==8410== Releasing lock... [2025-03-09 01:29:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:29:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:29:02] Production.INFO: ==8414== Lock acquired, processing the job... [2025-03-09 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:29:02] Production.INFO: ==8414== Releasing lock... [2025-03-09 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:29:02] Production.INFO: ==8412== Lock acquired, processing the job... [2025-03-08 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:29:02] Production.INFO: ==8412== Releasing lock... [2025-03-08 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:29:03] Production.INFO: ==8418== Lock acquired, processing the job... [2025-03-08 20:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:29:03] Production.INFO: ==8420== Lock acquired, processing the job... [2025-03-08 20:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:29:03] Production.INFO: ==8425== Lock acquired, processing the job... [2025-03-08 20:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:29:03] Production.INFO: ==8418== Releasing lock... [2025-03-08 20:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:29:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:29:03] Production.INFO: ==8416== Lock acquired, processing the job... [2025-03-08 20:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:29:04] Production.INFO: ==8422== Lock acquired, processing the job... [2025-03-08 20:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:29:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:29:04] Production.INFO: ==8427== Lock acquired, processing the job... [2025-03-08 20:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:29:04] Production.ERROR: done [2025-03-08 20:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:29:04] Production.INFO: Account Balance Start. [2025-03-08 20:29:04] Production.INFO: CreateAllLog Start [2025-03-08 20:29:04] Production.INFO: 117 [2025-03-08 20:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:29:04] Production.INFO: count ==13 [2025-03-08 20:29:04] Production.ERROR: done [2025-03-08 20:29:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:29:04] Production.INFO: count ==21 [2025-03-08 20:29:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637596') start [2025-03-08 20:29:04] Production.INFO: Total Charge 0 [2025-03-08 20:29:04] Production.INFO: CreateAllLog End [2025-03-08 20:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637596') end [2025-03-08 20:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:29:04] Production.INFO: 1 [2025-03-08 20:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:29:04] Production.INFO: Account Balance End. [2025-03-08 20:29:04] Production.INFO: ==8427== Releasing lock... [2025-03-08 20:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:29:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:29:04] Production.INFO: ==8422== Releasing lock... [2025-03-08 20:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:29:05 [end_date_ymd] => 2025-03-08 20:29:05 [RateCDR] => 1 ) [2025-03-08 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-08 17:29:05' and `end` < '2025-03-08 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-08 20:29:12] Production.ERROR: CronJobId end10 [2025-03-08 20:29:12] Production.INFO: ==8420== Releasing lock... [2025-03-08 20:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:29:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:29:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:29:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:29:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:29:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:29:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:29:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:29:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:29:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:29:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:29:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:29:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:29:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:29:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:29:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:29:14] Production.INFO: call_cost start [2025-03-08 20:29:14] Production.INFO: call_cost end [2025-03-08 20:29:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:29:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:29:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:29:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:29:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:29:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:29:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:29:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:29:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:29:15] Production.INFO: ==8416== Releasing lock... [2025-03-08 20:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:29:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:29:18] Production.INFO: count ==2276 [2025-03-08 20:29:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:29:05 - End Time 2025-03-08 20:29:05 [2025-03-08 20:29:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637597', 'tblTempUsageDetail_20' ) start [2025-03-08 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637597', 'tblTempUsageDetail_20' ) end [2025-03-08 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637597', 'tblTempVendorCDR_20' ) start [2025-03-08 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637597', 'tblTempVendorCDR_20' ) end [2025-03-08 20:29:18] Production.INFO: ProcessCDR(1,14637597,1,1,2) [2025-03-08 20:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637597', 'tblTempUsageDetail_20' ) start [2025-03-08 20:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637597', 'tblTempUsageDetail_20' ) end [2025-03-08 20:29:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:29:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:29:22] Production.INFO: ==8425== Releasing lock... [2025-03-08 20:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:29:22] Production.INFO: 45.25 MB #Memory Used# [2025-03-09 01:30:01] Production.INFO: ==8485== Lock acquired, processing the job... [2025-03-09 01:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:30:01] Production.INFO: neon service started [2025-03-09 01:30:01] Production.INFO: neon service started [2025-03-09 01:30:01] Production.INFO: ==8485== Releasing lock... [2025-03-09 01:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:30:01] Production.INFO: ==8487== Lock acquired, processing the job... [2025-03-08 20:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:30:02] Production.INFO: ==8489== Lock acquired, processing the job... [2025-03-09 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:30:02] Production.INFO: ==8489== Releasing lock... [2025-03-09 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:30:02] Production.INFO: ==8487== Releasing lock... [2025-03-08 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:30:03] Production.INFO: ==8491== Lock acquired, processing the job... [2025-03-08 20:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 20:30:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 20:30:03] Production.INFO: ==8493== Lock acquired, processing the job... [2025-03-08 20:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:30:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 20:30:03] Production.INFO: ==8491== Releasing lock... [2025-03-08 20:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 20:30:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 20:30:03] Production.INFO: ==8495== Lock acquired, processing the job... [2025-03-08 20:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:30:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:30:03] Production.INFO: ==8499== Lock acquired, processing the job... [2025-03-08 20:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:30:03] Production.INFO: ==8497== Lock acquired, processing the job... [2025-03-08 20:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:30:03] Production.INFO: Account Balance Start. [2025-03-08 20:30:03] Production.INFO: CreateAllLog Start [2025-03-08 20:30:03] Production.INFO: 117 [2025-03-08 20:30:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:30:03] Production.INFO: ==8495== Releasing lock... [2025-03-08 20:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:30:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:30:03] Production.INFO: ==8501== Lock acquired, processing the job... [2025-03-08 20:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:30:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:30:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:30:03] Production.INFO: ==8506== Lock acquired, processing the job... [2025-03-08 20:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:30:03] Production.INFO: ==8504== Lock acquired, processing the job... [2025-03-08 20:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 20:30:03] Production.INFO: Total Charge 0 [2025-03-08 20:30:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:30:03] Production.INFO: CreateAllLog End [2025-03-08 20:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:30:04] Production.INFO: count ==13 [2025-03-08 20:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:30:04] Production.INFO: Account Balance End. [2025-03-08 20:30:04] Production.INFO: count ==21 [2025-03-08 20:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637601') start [2025-03-08 20:30:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:30:04] Production.INFO: ==8499== Releasing lock... [2025-03-08 20:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:30:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:30:04] Production.ERROR: done [2025-03-08 20:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637601') end [2025-03-08 20:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:30:04] Production.INFO: 1 [2025-03-08 20:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:30:04] Production.INFO: ==8506== Releasing lock... [2025-03-08 20:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:30:04] Production.ERROR: done [2025-03-08 20:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 20:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637602', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 20:30:04] Production.ERROR: done [2025-03-08 20:30:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:30:05 [end_date_ymd] => 2025-03-08 20:30:05 [RateCDR] => 1 ) [2025-03-08 20:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:30:05' and `end` < '2025-03-08 20:30:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637602', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 20:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 20:30:09] Production.INFO: ProcessCDR(1,14637602,1,1,2) [2025-03-08 20:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14637602,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14637602,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:30:09] Production.INFO: ==8504== Releasing lock... [2025-03-08 20:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 20:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-08 20:30:12] Production.ERROR: CronJobId end10 [2025-03-08 20:30:13] Production.INFO: ==8497== Releasing lock... [2025-03-08 20:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:30:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:30:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:30:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:30:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:30:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:30:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:30:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:30:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:30:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:30:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:30:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:30:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:30:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:30:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:30:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:30:15] Production.INFO: call_cost start [2025-03-08 20:30:15] Production.INFO: call_cost end [2025-03-08 20:30:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:30:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:30:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:30:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:30:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:30:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:30:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:30:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:30:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:30:16] Production.INFO: ==8493== Releasing lock... [2025-03-08 20:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:30:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:30:18] Production.INFO: count ==2281 [2025-03-08 20:30:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:30:05 - End Time 2025-03-08 20:30:05 [2025-03-08 20:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637603', 'tblTempUsageDetail_20' ) start [2025-03-08 20:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637603', 'tblTempUsageDetail_20' ) end [2025-03-08 20:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637603', 'tblTempVendorCDR_20' ) start [2025-03-08 20:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637603', 'tblTempVendorCDR_20' ) end [2025-03-08 20:30:18] Production.INFO: ProcessCDR(1,14637603,1,1,2) [2025-03-08 20:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637603', 'tblTempUsageDetail_20' ) start [2025-03-08 20:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637603', 'tblTempUsageDetail_20' ) end [2025-03-08 20:30:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:30:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:30:23] Production.INFO: ==8501== Releasing lock... [2025-03-08 20:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:30:23] Production.INFO: 45.25 MB #Memory Used# [2025-03-09 01:31:01] Production.INFO: ==8564== Lock acquired, processing the job... [2025-03-09 01:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:31:02] Production.INFO: neon service started [2025-03-09 01:31:02] Production.INFO: neon service started [2025-03-09 01:31:02] Production.INFO: ==8564== Releasing lock... [2025-03-09 01:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:31:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:31:02] Production.INFO: ==8566== Lock acquired, processing the job... [2025-03-08 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:31:02] Production.INFO: ==8566== Releasing lock... [2025-03-08 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:31:02] Production.INFO: ==8568== Lock acquired, processing the job... [2025-03-09 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:31:02] Production.INFO: ==8568== Releasing lock... [2025-03-09 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:31:03] Production.INFO: ==8577== Lock acquired, processing the job... [2025-03-08 20:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:31:03] Production.INFO: ==8581== Lock acquired, processing the job... [2025-03-08 20:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:31:03] Production.INFO: Account Balance Start. [2025-03-08 20:31:03] Production.INFO: CreateAllLog Start [2025-03-08 20:31:03] Production.INFO: 117 [2025-03-08 20:31:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:31:03] Production.INFO: ==8573== Lock acquired, processing the job... [2025-03-08 20:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:31:03] Production.INFO: ==8575== Lock acquired, processing the job... [2025-03-08 20:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:31:03] Production.INFO: ==8571== Lock acquired, processing the job... [2025-03-08 20:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:31:03] Production.INFO: count ==13 [2025-03-08 20:31:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:31:03] Production.INFO: count ==21 [2025-03-08 20:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637605') start [2025-03-08 20:31:03] Production.INFO: Total Charge 0 [2025-03-08 20:31:03] Production.INFO: ==8579== Lock acquired, processing the job... [2025-03-08 20:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:31:03] Production.INFO: CreateAllLog End [2025-03-08 20:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637605') end [2025-03-08 20:31:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:31:03] Production.INFO: 1 [2025-03-08 20:31:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:31:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:31:04] Production.INFO: Account Balance End. [2025-03-08 20:31:04] Production.INFO: ==8581== Releasing lock... [2025-03-08 20:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:31:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:31:04] Production.INFO: ==8577== Releasing lock... [2025-03-08 20:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:31:04] Production.INFO: ==8573== Releasing lock... [2025-03-08 20:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:31:04] Production.ERROR: done [2025-03-08 20:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:31:04] Production.ERROR: done [2025-03-08 20:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:31:05 [end_date_ymd] => 2025-03-08 20:31:05 [RateCDR] => 1 ) [2025-03-08 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-08 17:31:05' and `end` < '2025-03-08 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-08 20:31:12] Production.ERROR: CronJobId end10 [2025-03-08 20:31:12] Production.INFO: ==8575== Releasing lock... [2025-03-08 20:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:31:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:31:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:31:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:31:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:31:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:31:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:31:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:31:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:31:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:31:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:31:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:31:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:31:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:31:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:31:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:31:14] Production.INFO: call_cost start [2025-03-08 20:31:14] Production.INFO: call_cost end [2025-03-08 20:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:31:15] Production.INFO: ==8571== Releasing lock... [2025-03-08 20:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:31:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:31:17] Production.INFO: count ==2264 [2025-03-08 20:31:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:31:05 - End Time 2025-03-08 20:31:05 [2025-03-08 20:31:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637608', 'tblTempUsageDetail_20' ) start [2025-03-08 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637608', 'tblTempUsageDetail_20' ) end [2025-03-08 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637608', 'tblTempVendorCDR_20' ) start [2025-03-08 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637608', 'tblTempVendorCDR_20' ) end [2025-03-08 20:31:18] Production.INFO: ProcessCDR(1,14637608,1,1,2) [2025-03-08 20:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637608', 'tblTempUsageDetail_20' ) start [2025-03-08 20:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637608', 'tblTempUsageDetail_20' ) end [2025-03-08 20:31:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:31:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:31:23] Production.INFO: ==8579== Releasing lock... [2025-03-08 20:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:31:23] Production.INFO: 45.25 MB #Memory Used# [2025-03-09 01:32:01] Production.INFO: ==8639== Lock acquired, processing the job... [2025-03-09 01:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:32:01] Production.INFO: neon service started [2025-03-09 01:32:01] Production.INFO: neon service started [2025-03-09 01:32:01] Production.INFO: ==8639== Releasing lock... [2025-03-09 01:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:32:01] Production.INFO: ==8641== Lock acquired, processing the job... [2025-03-08 20:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:32:02] Production.INFO: ==8643== Lock acquired, processing the job... [2025-03-09 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 20:32:02] Production.INFO: ==8641== Releasing lock... [2025-03-08 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:32:02] Production.INFO: ==8643== Releasing lock... [2025-03-09 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:32:03] Production.INFO: ==8648== Lock acquired, processing the job... [2025-03-08 20:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:32:03] Production.INFO: ==8650== Lock acquired, processing the job... [2025-03-08 20:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:32:03] Production.INFO: ==8654== Lock acquired, processing the job... [2025-03-08 20:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:32:03] Production.INFO: Account Balance Start. [2025-03-08 20:32:03] Production.INFO: CreateAllLog Start [2025-03-08 20:32:03] Production.INFO: 117 [2025-03-08 20:32:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:32:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:32:03] Production.INFO: ==8652== Lock acquired, processing the job... [2025-03-08 20:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:32:03] Production.INFO: Total Charge 0 [2025-03-08 20:32:03] Production.INFO: CreateAllLog End [2025-03-08 20:32:03] Production.INFO: ==8650== Releasing lock... [2025-03-08 20:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:32:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:32:03] Production.INFO: ==8656== Lock acquired, processing the job... [2025-03-08 20:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:32:03] Production.INFO: Account Balance End. [2025-03-08 20:32:03] Production.INFO: ==8658== Lock acquired, processing the job... [2025-03-08 20:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:32:03] Production.ERROR: CronJobId end 12 [2025-03-08 20:32:03] Production.INFO: ==8654== Releasing lock... [2025-03-08 20:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:32:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:32:04] Production.INFO: count ==13 [2025-03-08 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-08 20:32:04] Production.INFO: count ==21 [2025-03-08 20:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637612') start [2025-03-08 20:32:04] Production.ERROR: done [2025-03-08 20:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637612') end [2025-03-08 20:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:32:04] Production.INFO: 1 [2025-03-08 20:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:32:04] Production.INFO: ==8658== Releasing lock... [2025-03-08 20:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:32:04] Production.ERROR: done [2025-03-08 20:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:32:05 [end_date_ymd] => 2025-03-08 20:32:05 [RateCDR] => 1 ) [2025-03-08 20:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:32:05' and `end` < '2025-03-08 20:32:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:32:12] Production.ERROR: CronJobId end10 [2025-03-08 20:32:12] Production.INFO: ==8652== Releasing lock... [2025-03-08 20:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:32:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:32:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:32:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:32:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:32:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:32:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:32:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:32:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:32:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:32:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:32:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:32:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:32:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:32:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:32:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:32:14] Production.INFO: call_cost start [2025-03-08 20:32:14] Production.INFO: call_cost end [2025-03-08 20:32:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:32:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:32:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:32:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:32:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:32:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:32:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:32:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:32:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:32:15] Production.INFO: ==8648== Releasing lock... [2025-03-08 20:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:32:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:32:18] Production.INFO: count ==2264 [2025-03-08 20:32:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:32:05 - End Time 2025-03-08 20:32:05 [2025-03-08 20:32:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637613', 'tblTempUsageDetail_20' ) start [2025-03-08 20:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637613', 'tblTempUsageDetail_20' ) end [2025-03-08 20:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637613', 'tblTempVendorCDR_20' ) start [2025-03-08 20:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637613', 'tblTempVendorCDR_20' ) end [2025-03-08 20:32:18] Production.INFO: ProcessCDR(1,14637613,1,1,2) [2025-03-08 20:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637613', 'tblTempUsageDetail_20' ) start [2025-03-08 20:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637613', 'tblTempUsageDetail_20' ) end [2025-03-08 20:32:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:32:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:32:22] Production.INFO: ==8656== Releasing lock... [2025-03-08 20:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:32:22] Production.INFO: 45.25 MB #Memory Used# [2025-03-09 01:33:01] Production.INFO: ==8717== Lock acquired, processing the job... [2025-03-09 01:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:33:01] Production.INFO: neon service started [2025-03-09 01:33:01] Production.INFO: neon service started [2025-03-09 01:33:01] Production.INFO: ==8717== Releasing lock... [2025-03-09 01:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:33:02] Production.INFO: ==8721== Lock acquired, processing the job... [2025-03-09 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:33:02] Production.INFO: ==8721== Releasing lock... [2025-03-09 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:33:02] Production.INFO: ==8719== Lock acquired, processing the job... [2025-03-08 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:33:02] Production.INFO: ==8719== Releasing lock... [2025-03-08 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:33:03] Production.INFO: ==8728== Lock acquired, processing the job... [2025-03-08 20:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:33:03] Production.INFO: ==8732== Lock acquired, processing the job... [2025-03-08 20:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:33:03] Production.INFO: ==8724== Lock acquired, processing the job... [2025-03-08 20:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:33:03] Production.INFO: ==8726== Lock acquired, processing the job... [2025-03-08 20:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:33:04] Production.INFO: ==8730== Lock acquired, processing the job... [2025-03-08 20:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:33:04] Production.INFO: ==8734== Lock acquired, processing the job... [2025-03-08 20:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:33:04] Production.INFO: Account Balance Start. [2025-03-08 20:33:04] Production.INFO: CreateAllLog Start [2025-03-08 20:33:04] Production.INFO: 117 [2025-03-08 20:33:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:33:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:33:04] Production.INFO: count ==13 [2025-03-08 20:33:04] Production.ERROR: done [2025-03-08 20:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:33:04] Production.INFO: count ==21 [2025-03-08 20:33:04] Production.INFO: ==8726== Releasing lock... [2025-03-08 20:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637616') start [2025-03-08 20:33:04] Production.INFO: Total Charge 0 [2025-03-08 20:33:04] Production.INFO: CreateAllLog End [2025-03-08 20:33:04] Production.ERROR: done [2025-03-08 20:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637616') end [2025-03-08 20:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:33:04] Production.INFO: 1 [2025-03-08 20:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:33:04] Production.INFO: ==8734== Releasing lock... [2025-03-08 20:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:33:04] Production.INFO: Account Balance End. [2025-03-08 20:33:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:33:04] Production.INFO: ==8730== Releasing lock... [2025-03-08 20:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:33:05 [end_date_ymd] => 2025-03-08 20:33:05 [RateCDR] => 1 ) [2025-03-08 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-08 17:33:05' and `end` < '2025-03-08 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-08 20:33:12] Production.ERROR: CronJobId end10 [2025-03-08 20:33:12] Production.INFO: ==8728== Releasing lock... [2025-03-08 20:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:33:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:33:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:33:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:33:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:33:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:33:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:33:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:33:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:33:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:33:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:33:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:33:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:33:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:33:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:33:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:33:14] Production.INFO: call_cost start [2025-03-08 20:33:14] Production.INFO: call_cost end [2025-03-08 20:33:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:33:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:33:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:33:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:33:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:33:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:33:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:33:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:33:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:33:15] Production.INFO: ==8724== Releasing lock... [2025-03-08 20:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:33:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:33:18] Production.INFO: count ==2262 [2025-03-08 20:33:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:33:05 - End Time 2025-03-08 20:33:05 [2025-03-08 20:33:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637618', 'tblTempUsageDetail_20' ) start [2025-03-08 20:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637618', 'tblTempUsageDetail_20' ) end [2025-03-08 20:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637618', 'tblTempVendorCDR_20' ) start [2025-03-08 20:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637618', 'tblTempVendorCDR_20' ) end [2025-03-08 20:33:18] Production.INFO: ProcessCDR(1,14637618,1,1,2) [2025-03-08 20:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637618', 'tblTempUsageDetail_20' ) start [2025-03-08 20:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637618', 'tblTempUsageDetail_20' ) end [2025-03-08 20:33:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:33:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:33:22] Production.INFO: ==8732== Releasing lock... [2025-03-08 20:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:33:22] Production.INFO: 45.25 MB #Memory Used# [2025-03-09 01:34:02] Production.INFO: ==8793== Lock acquired, processing the job... [2025-03-09 01:34:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:34:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:34:02] Production.INFO: neon service started [2025-03-09 01:34:02] Production.INFO: neon service started [2025-03-09 01:34:02] Production.INFO: ==8793== Releasing lock... [2025-03-09 01:34:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:34:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:34:02] Production.INFO: ==8797== Lock acquired, processing the job... [2025-03-09 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:34:02] Production.INFO: ==8797== Releasing lock... [2025-03-09 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:34:02] Production.INFO: ==8795== Lock acquired, processing the job... [2025-03-08 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:34:03] Production.INFO: ==8795== Releasing lock... [2025-03-08 20:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:34:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:34:03] Production.INFO: ==8802== Lock acquired, processing the job... [2025-03-08 20:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:34:03] Production.INFO: ==8800== Lock acquired, processing the job... [2025-03-08 20:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:34:04] Production.INFO: ==8802== Releasing lock... [2025-03-08 20:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:34:04] Production.INFO: ==8804== Lock acquired, processing the job... [2025-03-08 20:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:34:04] Production.INFO: ==8810== Lock acquired, processing the job... [2025-03-08 20:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:34:04] Production.INFO: ==8806== Lock acquired, processing the job... [2025-03-08 20:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 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-08 20:34:04] Production.INFO: ==8808== Lock acquired, processing the job... [2025-03-08 20:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:34:04] Production.INFO: count ==13 [2025-03-08 20:34:04] Production.INFO: Account Balance Start. [2025-03-08 20:34:04] Production.INFO: CreateAllLog Start [2025-03-08 20:34:04] Production.INFO: 117 [2025-03-08 20:34:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:34:04] Production.INFO: count ==21 [2025-03-08 20:34:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:34:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637621') start [2025-03-08 20:34:04] Production.INFO: Total Charge 0 [2025-03-08 20:34:04] Production.INFO: CreateAllLog End [2025-03-08 20:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637621') end [2025-03-08 20:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:34:04] Production.INFO: 1 [2025-03-08 20:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:34:04] Production.INFO: ==8810== Releasing lock... [2025-03-08 20:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:34:04] Production.INFO: Account Balance End. [2025-03-08 20:34:04] Production.ERROR: done [2025-03-08 20:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:34:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:34:04] Production.INFO: ==8806== Releasing lock... [2025-03-08 20:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:34:05] Production.ERROR: done [2025-03-08 20:34:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:34:06 [end_date_ymd] => 2025-03-08 20:34:06 [RateCDR] => 1 ) [2025-03-08 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-08 17:34:06' and `end` < '2025-03-08 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-08 20:34:12] Production.ERROR: CronJobId end10 [2025-03-08 20:34:12] Production.INFO: ==8804== Releasing lock... [2025-03-08 20:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:34:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:34:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:34:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:34:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:34:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:34:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:34:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:34:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:34:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:34:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:34:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:34:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:34:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:34:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:34:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:34:14] Production.INFO: call_cost start [2025-03-08 20:34:14] Production.INFO: call_cost end [2025-03-08 20:34:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:34:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:34:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:34:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:34:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:34:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:34:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:34:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:34:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:34:15] Production.INFO: ==8800== Releasing lock... [2025-03-08 20:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:34:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:34:18] Production.INFO: count ==2272 [2025-03-08 20:34:19] Production.ERROR: pbx CDR StartTime 2025-03-08 17:34:06 - End Time 2025-03-08 20:34:06 [2025-03-08 20:34:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637623', 'tblTempUsageDetail_20' ) start [2025-03-08 20:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637623', 'tblTempUsageDetail_20' ) end [2025-03-08 20:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637623', 'tblTempVendorCDR_20' ) start [2025-03-08 20:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637623', 'tblTempVendorCDR_20' ) end [2025-03-08 20:34:19] Production.INFO: ProcessCDR(1,14637623,1,1,2) [2025-03-08 20:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:34:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637623', 'tblTempUsageDetail_20' ) start [2025-03-08 20:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637623', 'tblTempUsageDetail_20' ) end [2025-03-08 20:34:24] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:34:24] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:34:24] Production.INFO: ==8808== Releasing lock... [2025-03-08 20:34:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:34:24] Production.INFO: 45.25 MB #Memory Used# [2025-03-09 01:35:01] Production.INFO: ==8907== Lock acquired, processing the job... [2025-03-09 01:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:35:01] Production.INFO: neon service started [2025-03-09 01:35:01] Production.INFO: neon service started [2025-03-09 01:35:01] Production.INFO: ==8907== Releasing lock... [2025-03-09 01:35:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:35:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:35:02] Production.INFO: ==8909== Lock acquired, processing the job... [2025-03-08 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:35:02] Production.INFO: ==8909== Releasing lock... [2025-03-08 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:35:02] Production.INFO: ==8911== Lock acquired, processing the job... [2025-03-09 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:35:02] Production.INFO: ==8911== Releasing lock... [2025-03-09 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:35:03] Production.INFO: ==8917== Lock acquired, processing the job... [2025-03-08 20:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:35:03] Production.INFO: ==8914== Lock acquired, processing the job... [2025-03-08 20:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:35:03] Production.INFO: ==8921== Lock acquired, processing the job... [2025-03-08 20:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:35:03] Production.INFO: Account Balance Start. [2025-03-08 20:35:03] Production.INFO: CreateAllLog Start [2025-03-08 20:35:03] Production.INFO: 117 [2025-03-08 20:35:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:35:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:35:03] Production.INFO: Total Charge 0 [2025-03-08 20:35:03] Production.INFO: ==8925== Lock acquired, processing the job... [2025-03-08 20:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:35:03] Production.INFO: CreateAllLog End [2025-03-08 20:35:03] Production.INFO: ==8919== Lock acquired, processing the job... [2025-03-08 20:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:35:03] Production.INFO: ==8923== Lock acquired, processing the job... [2025-03-08 20:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:35:03] Production.INFO: count ==13 [2025-03-08 20:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:35:03] Production.INFO: count ==21 [2025-03-08 20:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637627') start [2025-03-08 20:35:03] Production.INFO: Account Balance End. [2025-03-08 20:35:03] Production.INFO: ==8917== Releasing lock... [2025-03-08 20:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:35:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:35:03] Production.ERROR: CronJobId end 12 [2025-03-08 20:35:03] Production.INFO: ==8921== Releasing lock... [2025-03-08 20:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:35:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637627') end [2025-03-08 20:35:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:35:03] Production.INFO: 1 [2025-03-08 20:35:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:35:04] Production.INFO: ==8925== Releasing lock... [2025-03-08 20:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:35:04] Production.ERROR: done [2025-03-08 20:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:35:04] Production.ERROR: done [2025-03-08 20:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:35:05 [end_date_ymd] => 2025-03-08 20:35:05 [RateCDR] => 1 ) [2025-03-08 20:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:35:05' and `end` < '2025-03-08 20:35:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:35:12] Production.ERROR: CronJobId end10 [2025-03-08 20:35:12] Production.INFO: ==8919== Releasing lock... [2025-03-08 20:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:35:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:35:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:35:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:35:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:35:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:35:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:35:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:35:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:35:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:35:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:35:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:35:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:35:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:35:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:35:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:35:14] Production.INFO: call_cost start [2025-03-08 20:35:14] Production.INFO: call_cost end [2025-03-08 20:35:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:35:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:35:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:35:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:35:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:35:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:35:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:35:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:35:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:35:14] Production.INFO: ==8914== Releasing lock... [2025-03-08 20:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:35:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:35:17] Production.INFO: count ==2269 [2025-03-08 20:35:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:35:05 - End Time 2025-03-08 20:35:05 [2025-03-08 20:35:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637628', 'tblTempUsageDetail_20' ) start [2025-03-08 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637628', 'tblTempUsageDetail_20' ) end [2025-03-08 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637628', 'tblTempVendorCDR_20' ) start [2025-03-08 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637628', 'tblTempVendorCDR_20' ) end [2025-03-08 20:35:18] Production.INFO: ProcessCDR(1,14637628,1,1,2) [2025-03-08 20:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637628', 'tblTempUsageDetail_20' ) start [2025-03-08 20:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637628', 'tblTempUsageDetail_20' ) end [2025-03-08 20:35:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:35:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:35:21] Production.INFO: ==8923== Releasing lock... [2025-03-08 20:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:35:21] Production.INFO: 45 MB #Memory Used# [2025-03-09 01:36:02] Production.INFO: ==8985== Lock acquired, processing the job... [2025-03-09 01:36:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:36:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:36:02] Production.INFO: neon service started [2025-03-09 01:36:02] Production.INFO: neon service started [2025-03-09 01:36:02] Production.INFO: ==8985== Releasing lock... [2025-03-09 01:36:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:36:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:36:02] Production.INFO: ==8989== Lock acquired, processing the job... [2025-03-09 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:36:02] Production.INFO: ==8989== Releasing lock... [2025-03-09 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:36:02] Production.INFO: ==8987== Lock acquired, processing the job... [2025-03-08 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:36:03] Production.INFO: ==8987== Releasing lock... [2025-03-08 20:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:36:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:36:03] Production.INFO: ==8992== Lock acquired, processing the job... [2025-03-08 20:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:36:03] Production.INFO: ==8994== Lock acquired, processing the job... [2025-03-08 20:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:36:03] Production.INFO: ==8996== Lock acquired, processing the job... [2025-03-08 20:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:36:04] Production.INFO: ==9002== Lock acquired, processing the job... [2025-03-08 20:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:36:04] Production.INFO: ==8998== Lock acquired, processing the job... [2025-03-08 20:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:36:04] Production.INFO: ==9000== Lock acquired, processing the job... [2025-03-08 20:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 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-08 20:36:04] Production.INFO: count ==13 [2025-03-08 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-08 20:36:04] Production.INFO: count ==21 [2025-03-08 20:36:04] Production.INFO: Account Balance Start. [2025-03-08 20:36:04] Production.INFO: CreateAllLog Start [2025-03-08 20:36:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:36:04] Production.INFO: 117 [2025-03-08 20:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637631') start [2025-03-08 20:36:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:36:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:36:04] Production.INFO: ==8994== Releasing lock... [2025-03-08 20:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:36:04] Production.INFO: Total Charge 0 [2025-03-08 20:36:04] Production.INFO: CreateAllLog End [2025-03-08 20:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637631') end [2025-03-08 20:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:36:04] Production.INFO: 1 [2025-03-08 20:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:36:04] Production.INFO: ==9002== Releasing lock... [2025-03-08 20:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:36:04] Production.ERROR: done [2025-03-08 20:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:36:04] Production.INFO: Account Balance End. [2025-03-08 20:36:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:36:04] Production.INFO: ==8998== Releasing lock... [2025-03-08 20:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:36:05] Production.ERROR: done [2025-03-08 20:36:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:36:06 [end_date_ymd] => 2025-03-08 20:36:06 [RateCDR] => 1 ) [2025-03-08 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-08 17:36:06' and `end` < '2025-03-08 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-08 20:36:11] Production.ERROR: CronJobId end10 [2025-03-08 20:36:11] Production.INFO: ==8996== Releasing lock... [2025-03-08 20:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:36:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:36:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:36:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:36:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:36:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:36:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:36:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:36:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:36:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:36:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:36:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:36:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:36:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:36:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:36:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:36:14] Production.INFO: call_cost start [2025-03-08 20:36:14] Production.INFO: call_cost end [2025-03-08 20:36:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:36:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:36:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:36:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:36:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:36:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:36:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:36:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:36:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:36:15] Production.INFO: ==8992== Releasing lock... [2025-03-08 20:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:36:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:36:18] Production.INFO: count ==2264 [2025-03-08 20:36:19] Production.ERROR: pbx CDR StartTime 2025-03-08 17:36:06 - End Time 2025-03-08 20:36:06 [2025-03-08 20:36:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637633', 'tblTempUsageDetail_20' ) start [2025-03-08 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637633', 'tblTempUsageDetail_20' ) end [2025-03-08 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637633', 'tblTempVendorCDR_20' ) start [2025-03-08 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637633', 'tblTempVendorCDR_20' ) end [2025-03-08 20:36:19] Production.INFO: ProcessCDR(1,14637633,1,1,2) [2025-03-08 20:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637633', 'tblTempUsageDetail_20' ) start [2025-03-08 20:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637633', 'tblTempUsageDetail_20' ) end [2025-03-08 20:36:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:36:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:36:22] Production.INFO: ==9000== Releasing lock... [2025-03-08 20:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:36:22] Production.INFO: 45.25 MB #Memory Used# [2025-03-09 01:37:01] Production.INFO: ==9061== Lock acquired, processing the job... [2025-03-09 01:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:37:01] Production.INFO: neon service started [2025-03-09 01:37:01] Production.INFO: neon service started [2025-03-09 01:37:01] Production.INFO: ==9061== Releasing lock... [2025-03-09 01:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:37:02] Production.INFO: ==9065== Lock acquired, processing the job... [2025-03-09 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:37:02] Production.INFO: ==9065== Releasing lock... [2025-03-09 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:37:02] Production.INFO: ==9063== Lock acquired, processing the job... [2025-03-08 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:37:02] Production.INFO: ==9063== Releasing lock... [2025-03-08 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:37:03] Production.INFO: ==9073== Lock acquired, processing the job... [2025-03-08 20:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:37:03] Production.INFO: ==9077== Lock acquired, processing the job... [2025-03-08 20:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:37:03] Production.INFO: Account Balance Start. [2025-03-08 20:37:03] Production.INFO: CreateAllLog Start [2025-03-08 20:37:03] Production.INFO: 117 [2025-03-08 20:37:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:37:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:37:03] Production.INFO: ==9067== Lock acquired, processing the job... [2025-03-08 20:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 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-08 20:37:03] Production.INFO: Total Charge 0 [2025-03-08 20:37:03] Production.INFO: CreateAllLog End [2025-03-08 20:37:03] Production.INFO: count ==13 [2025-03-08 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-08 20:37:03] Production.INFO: count ==21 [2025-03-08 20:37:03] Production.INFO: ==9069== Lock acquired, processing the job... [2025-03-08 20:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:37:03] Production.INFO: ==9071== Lock acquired, processing the job... [2025-03-08 20:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637635') start [2025-03-08 20:37:03] Production.INFO: Account Balance End. [2025-03-08 20:37:03] Production.INFO: ==9075== Lock acquired, processing the job... [2025-03-08 20:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637635') end [2025-03-08 20:37:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:37:03] Production.INFO: 1 [2025-03-08 20:37:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:37:03] Production.ERROR: CronJobId end 12 [2025-03-08 20:37:03] Production.INFO: ==9073== Releasing lock... [2025-03-08 20:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:37:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:37:03] Production.INFO: ==9077== Releasing lock... [2025-03-08 20:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:37:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:37:04] Production.ERROR: done [2025-03-08 20:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:37:04] Production.INFO: ==9069== Releasing lock... [2025-03-08 20:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:37:04] Production.ERROR: done [2025-03-08 20:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:37:05 [end_date_ymd] => 2025-03-08 20:37:05 [RateCDR] => 1 ) [2025-03-08 20:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:37:05' and `end` < '2025-03-08 20:37:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:37:12] Production.ERROR: CronJobId end10 [2025-03-08 20:37:12] Production.INFO: ==9071== Releasing lock... [2025-03-08 20:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:37:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:37:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:37:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:37:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:37:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:37:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:37:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:37:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:37:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:37:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:37:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:37:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:37:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:37:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:37:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:37:14] Production.INFO: call_cost start [2025-03-08 20:37:14] Production.INFO: call_cost end [2025-03-08 20:37:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:37:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:37:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:37:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:37:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:37:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:37:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:37:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:37:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:37:15] Production.INFO: ==9067== Releasing lock... [2025-03-08 20:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:37:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:37:17] Production.INFO: count ==2272 [2025-03-08 20:37:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:37:05 - End Time 2025-03-08 20:37:05 [2025-03-08 20:37:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637638', 'tblTempUsageDetail_20' ) start [2025-03-08 20:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637638', 'tblTempUsageDetail_20' ) end [2025-03-08 20:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637638', 'tblTempVendorCDR_20' ) start [2025-03-08 20:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637638', 'tblTempVendorCDR_20' ) end [2025-03-08 20:37:18] Production.INFO: ProcessCDR(1,14637638,1,1,2) [2025-03-08 20:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637638', 'tblTempUsageDetail_20' ) start [2025-03-08 20:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637638', 'tblTempUsageDetail_20' ) end [2025-03-08 20:37:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:37:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:37:21] Production.INFO: ==9075== Releasing lock... [2025-03-08 20:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:37:21] Production.INFO: 45 MB #Memory Used# [2025-03-09 01:38:02] Production.INFO: ==9136== Lock acquired, processing the job... [2025-03-09 01:38:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:38:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:38:02] Production.INFO: neon service started [2025-03-09 01:38:02] Production.INFO: neon service started [2025-03-09 01:38:02] Production.INFO: ==9136== Releasing lock... [2025-03-09 01:38:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:38:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:38:02] Production.INFO: ==9138== Lock acquired, processing the job... [2025-03-08 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:38:02] Production.INFO: ==9138== Releasing lock... [2025-03-08 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:38:02] Production.INFO: ==9140== Lock acquired, processing the job... [2025-03-09 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:38:02] Production.INFO: ==9140== Releasing lock... [2025-03-09 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:38:03] Production.INFO: ==9142== Lock acquired, processing the job... [2025-03-08 20:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:38:03] Production.INFO: ==9148== Lock acquired, processing the job... [2025-03-08 20:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:38:03] Production.INFO: ==9144== Lock acquired, processing the job... [2025-03-08 20:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:38:03] Production.INFO: ==9146== Lock acquired, processing the job... [2025-03-08 20:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:38:03] Production.INFO: ==9152== Lock acquired, processing the job... [2025-03-08 20:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:38:03] Production.INFO: Account Balance Start. [2025-03-08 20:38:03] Production.INFO: CreateAllLog Start [2025-03-08 20:38:03] Production.INFO: 117 [2025-03-08 20:38:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:38:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:38:03] Production.INFO: ==9150== Lock acquired, processing the job... [2025-03-08 20:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:38:04] Production.INFO: Total Charge 0 [2025-03-08 20:38:04] Production.INFO: count ==13 [2025-03-08 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-08 20:38:04] Production.INFO: count ==21 [2025-03-08 20:38:04] Production.INFO: CreateAllLog End [2025-03-08 20:38:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637641') start [2025-03-08 20:38:04] Production.INFO: ==9144== Releasing lock... [2025-03-08 20:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637641') end [2025-03-08 20:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:38:04] Production.INFO: 1 [2025-03-08 20:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:38:04] Production.INFO: ==9152== Releasing lock... [2025-03-08 20:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:38:04] Production.ERROR: done [2025-03-08 20:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:38:04] Production.INFO: Account Balance End. [2025-03-08 20:38:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:38:04] Production.INFO: ==9148== Releasing lock... [2025-03-08 20:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:38:04] Production.ERROR: done [2025-03-08 20:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:38:05 [end_date_ymd] => 2025-03-08 20:38:05 [RateCDR] => 1 ) [2025-03-08 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-08 17:38:05' and `end` < '2025-03-08 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-08 20:38:13] Production.ERROR: CronJobId end10 [2025-03-08 20:38:13] Production.INFO: ==9146== Releasing lock... [2025-03-08 20:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:38:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:38:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:38:14] Production.INFO: call_cost start [2025-03-08 20:38:14] Production.INFO: call_cost end [2025-03-08 20:38:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:38:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:38:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:38:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:38:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:38:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:38:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:38:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:38:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:38:15] Production.INFO: ==9142== Releasing lock... [2025-03-08 20:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:38:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:38:18] Production.INFO: count ==2269 [2025-03-08 20:38:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:38:05 - End Time 2025-03-08 20:38:05 [2025-03-08 20:38:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637643', 'tblTempUsageDetail_20' ) start [2025-03-08 20:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637643', 'tblTempUsageDetail_20' ) end [2025-03-08 20:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637643', 'tblTempVendorCDR_20' ) start [2025-03-08 20:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637643', 'tblTempVendorCDR_20' ) end [2025-03-08 20:38:18] Production.INFO: ProcessCDR(1,14637643,1,1,2) [2025-03-08 20:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637643', 'tblTempUsageDetail_20' ) start [2025-03-08 20:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637643', 'tblTempUsageDetail_20' ) end [2025-03-08 20:38:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:38:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:38:22] Production.INFO: ==9150== Releasing lock... [2025-03-08 20:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:38:22] Production.INFO: 45 MB #Memory Used# [2025-03-09 01:39:01] Production.INFO: ==9210== Lock acquired, processing the job... [2025-03-09 01:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:39:01] Production.INFO: neon service started [2025-03-09 01:39:01] Production.INFO: neon service started [2025-03-09 01:39:01] Production.INFO: ==9210== Releasing lock... [2025-03-09 01:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:39:02] Production.INFO: ==9212== Lock acquired, processing the job... [2025-03-08 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:39:02] Production.INFO: ==9214== Lock acquired, processing the job... [2025-03-09 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:39:02] Production.INFO: ==9214== Releasing lock... [2025-03-09 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:39:02] Production.INFO: ==9212== Releasing lock... [2025-03-08 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:39:03] Production.INFO: ==9219== Lock acquired, processing the job... [2025-03-08 20:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:39:03] Production.INFO: ==9221== Lock acquired, processing the job... [2025-03-08 20:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:39:03] Production.INFO: ==9223== Lock acquired, processing the job... [2025-03-08 20:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:39:03] Production.INFO: Account Balance Start. [2025-03-08 20:39:03] Production.INFO: CreateAllLog Start [2025-03-08 20:39:03] Production.INFO: 117 [2025-03-08 20:39:03] Production.INFO: ==9219== Releasing lock... [2025-03-08 20:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:39:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:39:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:39:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:39:03] Production.INFO: ==9217== Lock acquired, processing the job... [2025-03-08 20:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:39:03] Production.INFO: Total Charge 0 [2025-03-08 20:39:03] Production.INFO: CreateAllLog End [2025-03-08 20:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:39:03] Production.INFO: Account Balance End. [2025-03-08 20:39:03] Production.INFO: ==9225== Lock acquired, processing the job... [2025-03-08 20:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:39:03] Production.INFO: ==9227== Lock acquired, processing the job... [2025-03-08 20:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:39:03] Production.ERROR: CronJobId end 12 [2025-03-08 20:39:03] Production.INFO: ==9223== Releasing lock... [2025-03-08 20:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:39:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 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-08 20:39:04] Production.INFO: count ==13 [2025-03-08 20:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:39:04] Production.INFO: count ==21 [2025-03-08 20:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637647') start [2025-03-08 20:39:04] Production.ERROR: done [2025-03-08 20:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637647') end [2025-03-08 20:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:39:04] Production.INFO: 1 [2025-03-08 20:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:39:04] Production.INFO: ==9227== Releasing lock... [2025-03-08 20:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:39:04] Production.ERROR: done [2025-03-08 20:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:39:05 [end_date_ymd] => 2025-03-08 20:39:05 [RateCDR] => 1 ) [2025-03-08 20:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:39:05' and `end` < '2025-03-08 20:39:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:39:10] Production.ERROR: CronJobId end10 [2025-03-08 20:39:10] Production.INFO: ==9221== Releasing lock... [2025-03-08 20:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:39:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:39:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:39:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:39:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:39:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:39:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:39:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:39:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:39:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:39:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:39:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:39:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:39:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:39:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:39:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:39:13] Production.INFO: call_cost start [2025-03-08 20:39:13] Production.INFO: call_cost end [2025-03-08 20:39:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:39:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:39:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:39:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:39:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:39:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:39:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:39:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:39:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:39:14] Production.INFO: ==9217== Releasing lock... [2025-03-08 20:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:39:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:39:17] Production.INFO: count ==2266 [2025-03-08 20:39:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:39:05 - End Time 2025-03-08 20:39:05 [2025-03-08 20:39:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637648', 'tblTempUsageDetail_20' ) start [2025-03-08 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637648', 'tblTempUsageDetail_20' ) end [2025-03-08 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637648', 'tblTempVendorCDR_20' ) start [2025-03-08 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637648', 'tblTempVendorCDR_20' ) end [2025-03-08 20:39:18] Production.INFO: ProcessCDR(1,14637648,1,1,2) [2025-03-08 20:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637648', 'tblTempUsageDetail_20' ) start [2025-03-08 20:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637648', 'tblTempUsageDetail_20' ) end [2025-03-08 20:39:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:39:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:39:23] Production.INFO: ==9225== Releasing lock... [2025-03-08 20:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:39:23] Production.INFO: 45 MB #Memory Used# [2025-03-09 01:40:01] Production.INFO: ==9286== Lock acquired, processing the job... [2025-03-09 01:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:40:01] Production.INFO: neon service started [2025-03-09 01:40:02] Production.INFO: neon service started [2025-03-09 01:40:02] Production.INFO: ==9286== Releasing lock... [2025-03-09 01:40:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:40:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:40:02] Production.INFO: ==9288== Lock acquired, processing the job... [2025-03-08 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:40:02] Production.INFO: ==9290== Lock acquired, processing the job... [2025-03-09 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:40:02] Production.INFO: ==9290== Releasing lock... [2025-03-09 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:40:02] Production.INFO: ==9288== Releasing lock... [2025-03-08 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:40:03] Production.INFO: ==9292== Lock acquired, processing the job... [2025-03-08 20:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 20:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 20:40:03] Production.INFO: ==9295== Lock acquired, processing the job... [2025-03-08 20:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:40:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 20:40:03] Production.INFO: ==9292== Releasing lock... [2025-03-08 20:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 20:40:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 20:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:40:03] Production.INFO: ==9299== Lock acquired, processing the job... [2025-03-08 20:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:40:04] Production.INFO: ==9303== Lock acquired, processing the job... [2025-03-08 20:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:40:04] Production.INFO: ==9297== Lock acquired, processing the job... [2025-03-08 20:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:40:04] Production.INFO: ==9305== Lock acquired, processing the job... [2025-03-08 20:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 20:40:04] Production.INFO: ==9301== Lock acquired, processing the job... [2025-03-08 20:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:40:04] Production.ERROR: done [2025-03-08 20:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:40:04] Production.INFO: ==9307== Lock acquired, processing the job... [2025-03-08 20:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:40:04] Production.INFO: Account Balance Start. [2025-03-08 20:40:04] Production.INFO: CreateAllLog Start [2025-03-08 20:40:04] Production.INFO: 117 [2025-03-08 20:40:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:40:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:40:04] Production.ERROR: done [2025-03-08 20:40:04] Production.INFO: Total Charge 0 [2025-03-08 20:40:04] Production.INFO: CreateAllLog End [2025-03-08 20:40:04] Production.INFO: ==9297== Releasing lock... [2025-03-08 20:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:40:04] Production.ERROR: done [2025-03-08 20:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 20:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637654', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 20:40:04] Production.INFO: count ==13 [2025-03-08 20:40:04] Production.INFO: Account Balance End. [2025-03-08 20:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:40:04] Production.INFO: count ==21 [2025-03-08 20:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637652') start [2025-03-08 20:40:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:40:04] Production.INFO: ==9301== Releasing lock... [2025-03-08 20:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:40:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637652') end [2025-03-08 20:40:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:40:05] Production.INFO: 1 [2025-03-08 20:40:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:40:05] Production.INFO: ==9307== Releasing lock... [2025-03-08 20:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:40:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:40:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:40:05 [end_date_ymd] => 2025-03-08 20:40:05 [RateCDR] => 1 ) [2025-03-08 20:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:40:05' and `end` < '2025-03-08 20:40:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637654', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 20:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 20:40:09] Production.INFO: ProcessCDR(1,14637654,1,1,2) [2025-03-08 20:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14637654,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14637654,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:40:09] Production.INFO: ==9305== Releasing lock... [2025-03-08 20:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 20:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-08 20:40:12] Production.ERROR: CronJobId end10 [2025-03-08 20:40:12] Production.INFO: ==9299== Releasing lock... [2025-03-08 20:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:40:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:40:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:40:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:40:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:40:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:40:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:40:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:40:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:40:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:40:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:40:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:40:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:40:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:40:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:40:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:40:15] Production.INFO: call_cost start [2025-03-08 20:40:15] Production.INFO: call_cost end [2025-03-08 20:40:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:40:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:40:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:40:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:40:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:40:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:40:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:40:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:40:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:40:16] Production.INFO: ==9295== Releasing lock... [2025-03-08 20:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:40:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:40:18] Production.INFO: count ==2269 [2025-03-08 20:40:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:40:05 - End Time 2025-03-08 20:40:05 [2025-03-08 20:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637653', 'tblTempUsageDetail_20' ) start [2025-03-08 20:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637653', 'tblTempUsageDetail_20' ) end [2025-03-08 20:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637653', 'tblTempVendorCDR_20' ) start [2025-03-08 20:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637653', 'tblTempVendorCDR_20' ) end [2025-03-08 20:40:19] Production.INFO: ProcessCDR(1,14637653,1,1,2) [2025-03-08 20:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637653', 'tblTempUsageDetail_20' ) start [2025-03-08 20:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637653', 'tblTempUsageDetail_20' ) end [2025-03-08 20:40:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:40:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:40:23] Production.INFO: ==9303== Releasing lock... [2025-03-08 20:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:40:23] Production.INFO: 45 MB #Memory Used# [2025-03-09 01:41:01] Production.INFO: ==9366== Lock acquired, processing the job... [2025-03-09 01:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:41:01] Production.INFO: neon service started [2025-03-09 01:41:01] Production.INFO: neon service started [2025-03-09 01:41:01] Production.INFO: ==9366== Releasing lock... [2025-03-09 01:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:41:01] Production.INFO: ==9368== Lock acquired, processing the job... [2025-03-08 20:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:41:02] Production.INFO: ==9368== Releasing lock... [2025-03-08 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:41:02] Production.INFO: ==9370== Lock acquired, processing the job... [2025-03-09 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:41:02] Production.INFO: ==9370== Releasing lock... [2025-03-09 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:41:03] Production.INFO: ==9376== Lock acquired, processing the job... [2025-03-08 20:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:41:03] Production.INFO: ==9382== Lock acquired, processing the job... [2025-03-08 20:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 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-08 20:41:03] Production.INFO: ==9372== Lock acquired, processing the job... [2025-03-08 20:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:41:03] Production.INFO: ==9374== Lock acquired, processing the job... [2025-03-08 20:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:41:03] Production.INFO: count ==13 [2025-03-08 20:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 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-08 20:41:03] Production.INFO: count ==21 [2025-03-08 20:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637655') start [2025-03-08 20:41:03] Production.INFO: ==9378== Lock acquired, processing the job... [2025-03-08 20:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:41:03] Production.INFO: ==9380== Lock acquired, processing the job... [2025-03-08 20:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637655') end [2025-03-08 20:41:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:41:03] Production.INFO: 1 [2025-03-08 20:41:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:41:03] Production.INFO: Account Balance Start. [2025-03-08 20:41:03] Production.INFO: CreateAllLog Start [2025-03-08 20:41:03] Production.INFO: 117 [2025-03-08 20:41:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:41:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:41:03] Production.INFO: ==9382== Releasing lock... [2025-03-08 20:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:41:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:41:03] Production.INFO: ==9374== Releasing lock... [2025-03-08 20:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:41:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:41:03] Production.INFO: Total Charge 0 [2025-03-08 20:41:03] Production.INFO: CreateAllLog End [2025-03-08 20:41:03] Production.ERROR: done [2025-03-08 20:41:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:41:03] Production.INFO: Account Balance End. [2025-03-08 20:41:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:41:04] Production.INFO: ==9378== Releasing lock... [2025-03-08 20:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:41:04] Production.ERROR: done [2025-03-08 20:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:41:05 [end_date_ymd] => 2025-03-08 20:41:05 [RateCDR] => 1 ) [2025-03-08 20:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:41:05' and `end` < '2025-03-08 20:41:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:41:11] Production.ERROR: CronJobId end10 [2025-03-08 20:41:11] Production.INFO: ==9376== Releasing lock... [2025-03-08 20:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:41:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:41:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:41:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:41:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:41:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:41:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:41:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:41:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:41:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:41:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:41:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:41:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:41:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:41:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:41:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:41:14] Production.INFO: call_cost start [2025-03-08 20:41:14] Production.INFO: call_cost end [2025-03-08 20:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:41:15] Production.INFO: ==9372== Releasing lock... [2025-03-08 20:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:41:17] Production.INFO: count ==2231 [2025-03-08 20:41:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:41:05 - End Time 2025-03-08 20:41:05 [2025-03-08 20:41:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637659', 'tblTempUsageDetail_20' ) start [2025-03-08 20:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637659', 'tblTempUsageDetail_20' ) end [2025-03-08 20:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637659', 'tblTempVendorCDR_20' ) start [2025-03-08 20:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637659', 'tblTempVendorCDR_20' ) end [2025-03-08 20:41:18] Production.INFO: ProcessCDR(1,14637659,1,1,2) [2025-03-08 20:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637659', 'tblTempUsageDetail_20' ) start [2025-03-08 20:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637659', 'tblTempUsageDetail_20' ) end [2025-03-08 20:41:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:41:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:41:21] Production.INFO: ==9380== Releasing lock... [2025-03-08 20:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:41:21] Production.INFO: 44.75 MB #Memory Used# [2025-03-09 01:42:01] Production.INFO: ==9443== Lock acquired, processing the job... [2025-03-09 01:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:42:01] Production.INFO: neon service started [2025-03-09 01:42:01] Production.INFO: neon service started [2025-03-09 01:42:01] Production.INFO: ==9443== Releasing lock... [2025-03-09 01:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:42:02] Production.INFO: ==9445== Lock acquired, processing the job... [2025-03-08 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:42:02] Production.INFO: ==9447== Lock acquired, processing the job... [2025-03-09 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:42:02] Production.INFO: ==9447== Releasing lock... [2025-03-09 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:42:02] Production.INFO: ==9445== Releasing lock... [2025-03-08 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:42:03] Production.INFO: ==9450== Lock acquired, processing the job... [2025-03-08 20:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:42:03] Production.INFO: ==9452== Lock acquired, processing the job... [2025-03-08 20:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:42:03] Production.INFO: ==9454== Lock acquired, processing the job... [2025-03-08 20:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:42:04] Production.INFO: ==9456== Lock acquired, processing the job... [2025-03-08 20:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:42:04] Production.INFO: ==9452== Releasing lock... [2025-03-08 20:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:42:04] Production.INFO: ==9458== Lock acquired, processing the job... [2025-03-08 20:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:42:04] Production.INFO: ==9460== Lock acquired, processing the job... [2025-03-08 20:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:42:04] Production.INFO: Account Balance Start. [2025-03-08 20:42:04] Production.INFO: CreateAllLog Start [2025-03-08 20:42:04] Production.INFO: 117 [2025-03-08 20:42:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:42:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:42:04] Production.INFO: Total Charge 0 [2025-03-08 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-08 20:42:04] Production.INFO: CreateAllLog End [2025-03-08 20:42:04] Production.INFO: count ==13 [2025-03-08 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-08 20:42:04] Production.INFO: count ==21 [2025-03-08 20:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637663') start [2025-03-08 20:42:04] Production.ERROR: done [2025-03-08 20:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637663') end [2025-03-08 20:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:42:04] Production.INFO: 1 [2025-03-08 20:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:42:04] Production.INFO: ==9460== Releasing lock... [2025-03-08 20:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:42:04] Production.ERROR: done [2025-03-08 20:42:04] Production.INFO: Account Balance End. [2025-03-08 20:42:05] Production.ERROR: CronJobId end 12 [2025-03-08 20:42:05] Production.INFO: ==9456== Releasing lock... [2025-03-08 20:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:42:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:42:05 [end_date_ymd] => 2025-03-08 20:42:05 [RateCDR] => 1 ) [2025-03-08 20:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:42:05' and `end` < '2025-03-08 20:42:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:42:12] Production.ERROR: CronJobId end10 [2025-03-08 20:42:12] Production.INFO: ==9454== Releasing lock... [2025-03-08 20:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:42:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:42:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:42:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:42:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:42:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:42:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:42:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:42:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:42:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:42:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:42:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:42:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:42:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:42:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:42:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:42:14] Production.INFO: call_cost start [2025-03-08 20:42:14] Production.INFO: call_cost end [2025-03-08 20:42:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:42:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:42:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:42:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:42:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:42:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:42:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:42:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:42:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:42:15] Production.INFO: ==9450== Releasing lock... [2025-03-08 20:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:42:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:42:18] Production.INFO: count ==2228 [2025-03-08 20:42:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:42:05 - End Time 2025-03-08 20:42:05 [2025-03-08 20:42:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637664', 'tblTempUsageDetail_20' ) start [2025-03-08 20:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637664', 'tblTempUsageDetail_20' ) end [2025-03-08 20:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637664', 'tblTempVendorCDR_20' ) start [2025-03-08 20:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637664', 'tblTempVendorCDR_20' ) end [2025-03-08 20:42:18] Production.INFO: ProcessCDR(1,14637664,1,1,2) [2025-03-08 20:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637664', 'tblTempUsageDetail_20' ) start [2025-03-08 20:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637664', 'tblTempUsageDetail_20' ) end [2025-03-08 20:42:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:42:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:42:22] Production.INFO: ==9458== Releasing lock... [2025-03-08 20:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:42:22] Production.INFO: 45 MB #Memory Used# [2025-03-09 01:43:01] Production.INFO: ==9519== Lock acquired, processing the job... [2025-03-09 01:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:43:01] Production.INFO: neon service started [2025-03-09 01:43:01] Production.INFO: neon service started [2025-03-09 01:43:01] Production.INFO: ==9519== Releasing lock... [2025-03-09 01:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:43:02] Production.INFO: ==9521== Lock acquired, processing the job... [2025-03-08 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:43:02] Production.INFO: ==9523== Lock acquired, processing the job... [2025-03-09 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:43:02] Production.INFO: ==9523== Releasing lock... [2025-03-09 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:43:02] Production.INFO: ==9521== Releasing lock... [2025-03-08 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:43:03] Production.INFO: ==9528== Lock acquired, processing the job... [2025-03-08 20:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:43:03] Production.INFO: ==9526== Lock acquired, processing the job... [2025-03-08 20:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:43:03] Production.INFO: ==9532== Lock acquired, processing the job... [2025-03-08 20:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:43:03] Production.INFO: Account Balance Start. [2025-03-08 20:43:03] Production.INFO: CreateAllLog Start [2025-03-08 20:43:03] Production.INFO: 117 [2025-03-08 20:43:03] Production.INFO: ==9530== Lock acquired, processing the job... [2025-03-08 20:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:43:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:43:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:43:03] Production.INFO: Total Charge 0 [2025-03-08 20:43:03] Production.INFO: ==9534== Lock acquired, processing the job... [2025-03-08 20:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:43:03] Production.INFO: CreateAllLog End [2025-03-08 20:43:03] Production.INFO: ==9536== Lock acquired, processing the job... [2025-03-08 20:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:43:03] Production.INFO: ==9528== Releasing lock... [2025-03-08 20:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:43:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:43:03] Production.INFO: Account Balance End. [2025-03-08 20:43:03] Production.ERROR: CronJobId end 12 [2025-03-08 20:43:03] Production.INFO: ==9532== Releasing lock... [2025-03-08 20:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:43:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:43:03] Production.INFO: count ==13 [2025-03-08 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-08 20:43:03] Production.INFO: count ==21 [2025-03-08 20:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637668') start [2025-03-08 20:43:04] Production.ERROR: done [2025-03-08 20:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637668') end [2025-03-08 20:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:43:04] Production.INFO: 1 [2025-03-08 20:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:43:04] Production.INFO: ==9536== Releasing lock... [2025-03-08 20:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:43:04] Production.ERROR: done [2025-03-08 20:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:43:05 [end_date_ymd] => 2025-03-08 20:43:05 [RateCDR] => 1 ) [2025-03-08 20:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:43:05' and `end` < '2025-03-08 20:43:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:43:11] Production.ERROR: CronJobId end10 [2025-03-08 20:43:11] Production.INFO: ==9530== Releasing lock... [2025-03-08 20:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:43:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:43:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:43:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:43:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:43:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:43:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:43:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:43:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:43:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:43:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:43:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:43:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:43:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:43:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:43:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:43:14] Production.INFO: call_cost start [2025-03-08 20:43:14] Production.INFO: call_cost end [2025-03-08 20:43:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:43:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:43:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:43:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:43:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:43:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:43:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:43:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:43:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:43:15] Production.INFO: ==9526== Releasing lock... [2025-03-08 20:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:43:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:43:18] Production.INFO: count ==2228 [2025-03-08 20:43:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:43:05 - End Time 2025-03-08 20:43:05 [2025-03-08 20:43:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637669', 'tblTempUsageDetail_20' ) start [2025-03-08 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637669', 'tblTempUsageDetail_20' ) end [2025-03-08 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637669', 'tblTempVendorCDR_20' ) start [2025-03-08 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637669', 'tblTempVendorCDR_20' ) end [2025-03-08 20:43:18] Production.INFO: ProcessCDR(1,14637669,1,1,2) [2025-03-08 20:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637669', 'tblTempUsageDetail_20' ) start [2025-03-08 20:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637669', 'tblTempUsageDetail_20' ) end [2025-03-08 20:43:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:43:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:43:22] Production.INFO: ==9534== Releasing lock... [2025-03-08 20:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:43:22] Production.INFO: 45 MB #Memory Used# [2025-03-09 01:44:01] Production.INFO: ==9595== Lock acquired, processing the job... [2025-03-09 01:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:44:01] Production.INFO: neon service started [2025-03-09 01:44:01] Production.INFO: neon service started [2025-03-09 01:44:01] Production.INFO: ==9595== Releasing lock... [2025-03-09 01:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:44:02] Production.INFO: ==9597== Lock acquired, processing the job... [2025-03-08 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:44:02] Production.INFO: ==9599== Lock acquired, processing the job... [2025-03-09 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:44:02] Production.INFO: ==9599== Releasing lock... [2025-03-09 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:44:02] Production.INFO: ==9597== Releasing lock... [2025-03-08 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:44:03] Production.INFO: ==9606== Lock acquired, processing the job... [2025-03-08 20:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:44:03] Production.INFO: ==9608== Lock acquired, processing the job... [2025-03-08 20:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:44:03] Production.INFO: Account Balance Start. [2025-03-08 20:44:03] Production.INFO: CreateAllLog Start [2025-03-08 20:44:03] Production.INFO: 117 [2025-03-08 20:44:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:44:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:44:03] Production.INFO: Total Charge 0 [2025-03-08 20:44:03] Production.INFO: CreateAllLog End [2025-03-08 20:44:03] Production.INFO: ==9602== Lock acquired, processing the job... [2025-03-08 20:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:44:03] Production.INFO: ==9604== Lock acquired, processing the job... [2025-03-08 20:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:44:04] Production.INFO: ==9612== Lock acquired, processing the job... [2025-03-08 20:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:44:04] Production.INFO: Account Balance End. [2025-03-08 20:44:04] Production.INFO: ==9610== Lock acquired, processing the job... [2025-03-08 20:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:44:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:44:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:44:04] Production.INFO: ==9608== Releasing lock... [2025-03-08 20:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:44:04] Production.INFO: count ==13 [2025-03-08 20:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:44:04] Production.INFO: count ==21 [2025-03-08 20:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637673') start [2025-03-08 20:44:04] Production.ERROR: done [2025-03-08 20:44:04] Production.INFO: ==9604== Releasing lock... [2025-03-08 20:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637673') end [2025-03-08 20:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:44:04] Production.INFO: 1 [2025-03-08 20:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:44:04] Production.INFO: ==9612== Releasing lock... [2025-03-08 20:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:44:04] Production.ERROR: done [2025-03-08 20:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:44:05 [end_date_ymd] => 2025-03-08 20:44:05 [RateCDR] => 1 ) [2025-03-08 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-08 17:44:05' and `end` < '2025-03-08 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-08 20:44:11] Production.ERROR: CronJobId end10 [2025-03-08 20:44:11] Production.INFO: ==9606== Releasing lock... [2025-03-08 20:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:44:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:44:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:44:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:44:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:44:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:44:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:44:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:44:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:44:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:44:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:44:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:44:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:44:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:44:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:44:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:44:14] Production.INFO: call_cost start [2025-03-08 20:44:14] Production.INFO: call_cost end [2025-03-08 20:44:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:44:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:44:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:44:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:44:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:44:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:44:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:44:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:44:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:44:15] Production.INFO: ==9602== Releasing lock... [2025-03-08 20:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:44:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:44:18] Production.INFO: count ==2235 [2025-03-08 20:44:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:44:05 - End Time 2025-03-08 20:44:05 [2025-03-08 20:44:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637674', 'tblTempUsageDetail_20' ) start [2025-03-08 20:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637674', 'tblTempUsageDetail_20' ) end [2025-03-08 20:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637674', 'tblTempVendorCDR_20' ) start [2025-03-08 20:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637674', 'tblTempVendorCDR_20' ) end [2025-03-08 20:44:18] Production.INFO: ProcessCDR(1,14637674,1,1,2) [2025-03-08 20:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637674', 'tblTempUsageDetail_20' ) start [2025-03-08 20:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637674', 'tblTempUsageDetail_20' ) end [2025-03-08 20:44:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:44:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:44:22] Production.INFO: ==9610== Releasing lock... [2025-03-08 20:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:44:22] Production.INFO: 44.75 MB #Memory Used# [2025-03-09 01:45:02] Production.INFO: ==9670== Lock acquired, processing the job... [2025-03-09 01:45:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:45:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:45:02] Production.INFO: neon service started [2025-03-09 01:45:02] Production.INFO: neon service started [2025-03-09 01:45:02] Production.INFO: ==9670== Releasing lock... [2025-03-09 01:45:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:45:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:45:02] Production.INFO: ==9672== Lock acquired, processing the job... [2025-03-08 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:45:03] Production.INFO: ==9674== Lock acquired, processing the job... [2025-03-09 01:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:45:03] Production.INFO: ==9674== Releasing lock... [2025-03-09 01:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:45:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:45:03] Production.INFO: ==9672== Releasing lock... [2025-03-08 20:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:45:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:45:03] Production.INFO: ==9677== Lock acquired, processing the job... [2025-03-08 20:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:45:04] Production.INFO: ==9681== Lock acquired, processing the job... [2025-03-08 20:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:45:04] Production.INFO: ==9679== Lock acquired, processing the job... [2025-03-08 20:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:45:04] Production.INFO: ==9683== Lock acquired, processing the job... [2025-03-08 20:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:45:04] Production.INFO: Account Balance Start. [2025-03-08 20:45:04] Production.INFO: CreateAllLog Start [2025-03-08 20:45:04] Production.INFO: 117 [2025-03-08 20:45:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:45:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:45:04] Production.INFO: Total Charge 0 [2025-03-08 20:45:04] Production.INFO: CreateAllLog End [2025-03-08 20:45:04] Production.INFO: ==9687== Lock acquired, processing the job... [2025-03-08 20:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:45:04] Production.INFO: ==9685== Lock acquired, processing the job... [2025-03-08 20:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:45:04] Production.INFO: ==9679== Releasing lock... [2025-03-08 20:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:45:04] Production.INFO: Account Balance End. [2025-03-08 20:45:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:45:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:45:04] Production.INFO: ==9683== Releasing lock... [2025-03-08 20:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:45:04] Production.INFO: count ==13 [2025-03-08 20:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:45:04] Production.INFO: count ==21 [2025-03-08 20:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637678') start [2025-03-08 20:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637678') end [2025-03-08 20:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:45:04] Production.INFO: 1 [2025-03-08 20:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:45:04] Production.INFO: ==9687== Releasing lock... [2025-03-08 20:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:45:05] Production.ERROR: done [2025-03-08 20:45:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:45:05] Production.ERROR: done [2025-03-08 20:45:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:45:06 [end_date_ymd] => 2025-03-08 20:45:06 [RateCDR] => 1 ) [2025-03-08 20: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-08 17:45:06' and `end` < '2025-03-08 20: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-08 20:45:12] Production.ERROR: CronJobId end10 [2025-03-08 20:45:12] Production.INFO: ==9681== Releasing lock... [2025-03-08 20:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:45:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:45:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:45:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:45:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:45:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:45:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:45:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:45:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:45:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:45:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:45:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:45:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:45:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:45:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:45:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:45:15] Production.INFO: call_cost start [2025-03-08 20:45:15] Production.INFO: call_cost end [2025-03-08 20:45:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:45:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:45:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:45:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:45:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:45:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:45:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:45:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:45:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:45:15] Production.INFO: ==9677== Releasing lock... [2025-03-08 20:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:45:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:45:18] Production.INFO: count ==2235 [2025-03-08 20:45:19] Production.ERROR: pbx CDR StartTime 2025-03-08 17:45:06 - End Time 2025-03-08 20:45:06 [2025-03-08 20:45:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637679', 'tblTempUsageDetail_20' ) start [2025-03-08 20:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637679', 'tblTempUsageDetail_20' ) end [2025-03-08 20:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637679', 'tblTempVendorCDR_20' ) start [2025-03-08 20:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637679', 'tblTempVendorCDR_20' ) end [2025-03-08 20:45:19] Production.INFO: ProcessCDR(1,14637679,1,1,2) [2025-03-08 20:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637679', 'tblTempUsageDetail_20' ) start [2025-03-08 20:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637679', 'tblTempUsageDetail_20' ) end [2025-03-08 20:45:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:45:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:45:22] Production.INFO: ==9685== Releasing lock... [2025-03-08 20:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:45:22] Production.INFO: 44.75 MB #Memory Used# [2025-03-09 01:46:01] Production.INFO: ==9744== Lock acquired, processing the job... [2025-03-09 01:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:46:01] Production.INFO: neon service started [2025-03-09 01:46:01] Production.INFO: neon service started [2025-03-09 01:46:01] Production.INFO: ==9744== Releasing lock... [2025-03-09 01:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:46:02] Production.INFO: ==9746== Lock acquired, processing the job... [2025-03-08 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:46:02] Production.INFO: ==9748== Lock acquired, processing the job... [2025-03-09 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:46:02] Production.INFO: ==9748== Releasing lock... [2025-03-09 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:46:02] Production.INFO: ==9746== Releasing lock... [2025-03-08 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:46:03] Production.INFO: ==9751== Lock acquired, processing the job... [2025-03-08 20:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:46:03] Production.INFO: ==9757== Lock acquired, processing the job... [2025-03-08 20:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:46:03] Production.INFO: ==9753== Lock acquired, processing the job... [2025-03-08 20:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:46:03] Production.INFO: ==9761== Lock acquired, processing the job... [2025-03-08 20:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:46:03] Production.INFO: Account Balance Start. [2025-03-08 20:46:03] Production.INFO: CreateAllLog Start [2025-03-08 20:46:03] Production.INFO: 117 [2025-03-08 20:46:03] Production.INFO: ==9759== Lock acquired, processing the job... [2025-03-08 20:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:46:03] Production.INFO: ==9755== Lock acquired, processing the job... [2025-03-08 20:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:46:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:46:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:46:03] Production.INFO: Total Charge 0 [2025-03-08 20:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:46:03] Production.INFO: count ==13 [2025-03-08 20:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:46:03] Production.INFO: CreateAllLog End [2025-03-08 20:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:46:03] Production.INFO: count ==21 [2025-03-08 20:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637683') start [2025-03-08 20:46:03] Production.INFO: ==9753== Releasing lock... [2025-03-08 20:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:46:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:46:04] Production.ERROR: done [2025-03-08 20:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637683') end [2025-03-08 20:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:46:04] Production.INFO: 1 [2025-03-08 20:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:46:04] Production.INFO: ==9761== Releasing lock... [2025-03-08 20:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:46:04] Production.ERROR: done [2025-03-08 20:46:04] Production.INFO: Account Balance End. [2025-03-08 20:46:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:46:04] Production.INFO: ==9757== Releasing lock... [2025-03-08 20:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:46:05 [end_date_ymd] => 2025-03-08 20:46:05 [RateCDR] => 1 ) [2025-03-08 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-08 17:46:05' and `end` < '2025-03-08 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-08 20:46:14] Production.ERROR: CronJobId end10 [2025-03-08 20:46:14] Production.INFO: ==9755== Releasing lock... [2025-03-08 20:46:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:46:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:46:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:46:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:46:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:46:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:46:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:46:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:46:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:46:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:46:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:46:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:46:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:46:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:46:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:46:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:46:15] Production.INFO: call_cost start [2025-03-08 20:46:15] Production.INFO: call_cost end [2025-03-08 20:46:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:46:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:46:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:46:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:46:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:46:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:46:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:46:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:46:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:46:16] Production.INFO: ==9751== Releasing lock... [2025-03-08 20:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:46:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:46:18] Production.INFO: count ==2232 [2025-03-08 20:46:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:46:05 - End Time 2025-03-08 20:46:05 [2025-03-08 20:46:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637684', 'tblTempUsageDetail_20' ) start [2025-03-08 20:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637684', 'tblTempUsageDetail_20' ) end [2025-03-08 20:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637684', 'tblTempVendorCDR_20' ) start [2025-03-08 20:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637684', 'tblTempVendorCDR_20' ) end [2025-03-08 20:46:19] Production.INFO: ProcessCDR(1,14637684,1,1,2) [2025-03-08 20:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637684', 'tblTempUsageDetail_20' ) start [2025-03-08 20:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637684', 'tblTempUsageDetail_20' ) end [2025-03-08 20:46:24] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:46:24] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:46:24] Production.INFO: ==9759== Releasing lock... [2025-03-08 20:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:46:24] Production.INFO: 44.75 MB #Memory Used# [2025-03-09 01:47:02] Production.INFO: ==9820== Lock acquired, processing the job... [2025-03-09 01:47:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:47:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:47:02] Production.INFO: neon service started [2025-03-09 01:47:02] Production.INFO: neon service started [2025-03-09 01:47:02] Production.INFO: ==9820== Releasing lock... [2025-03-09 01:47:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:47:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:47:02] Production.INFO: ==9822== Lock acquired, processing the job... [2025-03-08 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:47:03] Production.INFO: ==9824== Lock acquired, processing the job... [2025-03-09 01:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:47:03] Production.INFO: ==9824== Releasing lock... [2025-03-09 01:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:47:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:47:03] Production.INFO: ==9822== Releasing lock... [2025-03-08 20:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:47:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:47:04] Production.INFO: ==9827== Lock acquired, processing the job... [2025-03-08 20:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:47:04] Production.INFO: ==9829== Lock acquired, processing the job... [2025-03-08 20:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:47:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:47:04] Production.INFO: ==9835== Lock acquired, processing the job... [2025-03-08 20:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:47:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:47:04] Production.INFO: ==9831== Lock acquired, processing the job... [2025-03-08 20:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:47:04] Production.INFO: ==9833== Lock acquired, processing the job... [2025-03-08 20:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:47:04] Production.ERROR: done [2025-03-08 20:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:47:04] Production.INFO: ==9829== Releasing lock... [2025-03-08 20:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:47:04] Production.INFO: ==9837== Lock acquired, processing the job... [2025-03-08 20:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:47:04] Production.INFO: Account Balance Start. [2025-03-08 20:47:04] Production.INFO: CreateAllLog Start [2025-03-08 20:47:04] Production.INFO: 117 [2025-03-08 20:47:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:47:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:47:04] Production.INFO: Total Charge 0 [2025-03-08 20:47:04] Production.INFO: CreateAllLog End [2025-03-08 20:47:04] Production.ERROR: done [2025-03-08 20:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:47:04] Production.INFO: Account Balance End. [2025-03-08 20:47:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:47:04] Production.INFO: ==9833== Releasing lock... [2025-03-08 20:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:47:04] Production.INFO: count ==13 [2025-03-08 20:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:47:04] Production.INFO: count ==21 [2025-03-08 20:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637688') start [2025-03-08 20:47:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637688') end [2025-03-08 20:47:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:47:05] Production.INFO: 1 [2025-03-08 20:47:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:47:05] Production.INFO: ==9837== Releasing lock... [2025-03-08 20:47:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:47:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:47:05 [end_date_ymd] => 2025-03-08 20:47:05 [RateCDR] => 1 ) [2025-03-08 20:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:47:05' and `end` < '2025-03-08 20:47:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:47:11] Production.ERROR: CronJobId end10 [2025-03-08 20:47:11] Production.INFO: ==9831== Releasing lock... [2025-03-08 20:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:47:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:47:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:47:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:47:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:47:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:47:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:47:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:47:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:47:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:47:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:47:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:47:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:47:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:47:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:47:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:47:14] Production.INFO: call_cost start [2025-03-08 20:47:14] Production.INFO: call_cost end [2025-03-08 20:47:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:47:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:47:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:47:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:47:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:47:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:47:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:47:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:47:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:47:15] Production.INFO: ==9827== Releasing lock... [2025-03-08 20:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:47:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:47:18] Production.INFO: count ==2238 [2025-03-08 20:47:19] Production.ERROR: pbx CDR StartTime 2025-03-08 17:47:05 - End Time 2025-03-08 20:47:05 [2025-03-08 20:47:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637689', 'tblTempUsageDetail_20' ) start [2025-03-08 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637689', 'tblTempUsageDetail_20' ) end [2025-03-08 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637689', 'tblTempVendorCDR_20' ) start [2025-03-08 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637689', 'tblTempVendorCDR_20' ) end [2025-03-08 20:47:19] Production.INFO: ProcessCDR(1,14637689,1,1,2) [2025-03-08 20:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637689', 'tblTempUsageDetail_20' ) start [2025-03-08 20:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637689', 'tblTempUsageDetail_20' ) end [2025-03-08 20:47:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:47:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:47:22] Production.INFO: ==9835== Releasing lock... [2025-03-08 20:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:47:22] Production.INFO: 44.75 MB #Memory Used# [2025-03-09 01:48:01] Production.INFO: ==9899== Lock acquired, processing the job... [2025-03-09 01:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:48:01] Production.INFO: neon service started [2025-03-09 01:48:01] Production.INFO: neon service started [2025-03-09 01:48:01] Production.INFO: ==9899== Releasing lock... [2025-03-09 01:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:48:02] Production.INFO: ==9903== Lock acquired, processing the job... [2025-03-09 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:48:02] Production.INFO: ==9903== Releasing lock... [2025-03-09 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:48:02] Production.INFO: ==9901== Lock acquired, processing the job... [2025-03-08 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:48:02] Production.INFO: ==9901== Releasing lock... [2025-03-08 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:48:03] Production.INFO: ==9912== Lock acquired, processing the job... [2025-03-08 20:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:48:03] Production.INFO: ==9916== Lock acquired, processing the job... [2025-03-08 20:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:48:03] Production.INFO: Account Balance Start. [2025-03-08 20:48:03] Production.INFO: CreateAllLog Start [2025-03-08 20:48:03] Production.INFO: 117 [2025-03-08 20:48:03] Production.INFO: ==9906== Lock acquired, processing the job... [2025-03-08 20:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:48:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:48:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:48:03] Production.INFO: ==9908== Lock acquired, processing the job... [2025-03-08 20:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:48:03] Production.INFO: count ==13 [2025-03-08 20:48:03] Production.INFO: ==9910== Lock acquired, processing the job... [2025-03-08 20:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:48:03] Production.INFO: count ==21 [2025-03-08 20:48:03] Production.INFO: ==9914== Lock acquired, processing the job... [2025-03-08 20:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:48:03] Production.INFO: Total Charge 0 [2025-03-08 20:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637691') start [2025-03-08 20:48:03] Production.INFO: CreateAllLog End [2025-03-08 20:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637691') end [2025-03-08 20:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:48:04] Production.INFO: 1 [2025-03-08 20:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:48:04] Production.INFO: ==9916== Releasing lock... [2025-03-08 20:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:48:04] Production.INFO: Account Balance End. [2025-03-08 20:48:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:48:04] Production.INFO: ==9912== Releasing lock... [2025-03-08 20:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:48:04] Production.ERROR: done [2025-03-08 20:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:48:04] Production.INFO: ==9908== Releasing lock... [2025-03-08 20:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:48:04] Production.ERROR: done [2025-03-08 20:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:48:05 [end_date_ymd] => 2025-03-08 20:48:05 [RateCDR] => 1 ) [2025-03-08 20:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:48:05' and `end` < '2025-03-08 20:48:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:48:12] Production.ERROR: CronJobId end10 [2025-03-08 20:48:12] Production.INFO: ==9910== Releasing lock... [2025-03-08 20:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:48:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:48:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:48:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:48:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:48:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:48:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:48:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:48:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:48:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:48:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:48:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:48:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:48:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:48:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:48:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:48:14] Production.INFO: call_cost start [2025-03-08 20:48:14] Production.INFO: call_cost end [2025-03-08 20:48:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:48:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:48:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:48:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:48:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:48:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:48:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:48:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:48:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:48:15] Production.INFO: ==9906== Releasing lock... [2025-03-08 20:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:48:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:48:18] Production.INFO: count ==2236 [2025-03-08 20:48:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:48:05 - End Time 2025-03-08 20:48:05 [2025-03-08 20:48:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637694', 'tblTempUsageDetail_20' ) start [2025-03-08 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637694', 'tblTempUsageDetail_20' ) end [2025-03-08 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637694', 'tblTempVendorCDR_20' ) start [2025-03-08 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637694', 'tblTempVendorCDR_20' ) end [2025-03-08 20:48:18] Production.INFO: ProcessCDR(1,14637694,1,1,2) [2025-03-08 20:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637694', 'tblTempUsageDetail_20' ) start [2025-03-08 20:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637694', 'tblTempUsageDetail_20' ) end [2025-03-08 20:48:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:48:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:48:22] Production.INFO: ==9914== Releasing lock... [2025-03-08 20:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:48:22] Production.INFO: 45 MB #Memory Used# [2025-03-09 01:49:02] Production.INFO: ==9973== Lock acquired, processing the job... [2025-03-09 01:49:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:49:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:49:02] Production.INFO: neon service started [2025-03-09 01:49:02] Production.INFO: neon service started [2025-03-09 01:49:02] Production.INFO: ==9973== Releasing lock... [2025-03-09 01:49:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:49:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:49:02] Production.INFO: ==9975== Lock acquired, processing the job... [2025-03-08 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:49:02] Production.INFO: ==9975== Releasing lock... [2025-03-08 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:49:02] Production.INFO: ==9977== Lock acquired, processing the job... [2025-03-09 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:49:02] Production.INFO: ==9977== Releasing lock... [2025-03-09 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:49:03] Production.INFO: ==9981== Lock acquired, processing the job... [2025-03-08 20:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:49:03] Production.INFO: ==9979== Lock acquired, processing the job... [2025-03-08 20:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:49:03] Production.INFO: ==9987== Lock acquired, processing the job... [2025-03-08 20:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:49:04] Production.INFO: ==9983== Lock acquired, processing the job... [2025-03-08 20:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:49:04] Production.INFO: ==9985== Lock acquired, processing the job... [2025-03-08 20:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:49:04] Production.INFO: ==9989== Lock acquired, processing the job... [2025-03-08 20:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:49:04] Production.INFO: Account Balance Start. [2025-03-08 20:49:04] Production.INFO: CreateAllLog Start [2025-03-08 20:49:04] Production.INFO: 117 [2025-03-08 20:49:04] Production.INFO: ==9981== Releasing lock... [2025-03-08 20:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:49:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:49:04] Production.ERROR: done [2025-03-08 20:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:49:04] Production.INFO: Reseller ==> 0 [2025-03-08 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-08 20:49:04] Production.INFO: Total Charge 0 [2025-03-08 20:49:04] Production.INFO: count ==13 [2025-03-08 20:49:04] Production.INFO: CreateAllLog End [2025-03-08 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-08 20:49:04] Production.INFO: count ==21 [2025-03-08 20:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637698') start [2025-03-08 20:49:04] Production.ERROR: done [2025-03-08 20:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637698') end [2025-03-08 20:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:49:04] Production.INFO: 1 [2025-03-08 20:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:49:04] Production.INFO: Account Balance End. [2025-03-08 20:49:04] Production.INFO: ==9989== Releasing lock... [2025-03-08 20:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:49:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:49:04] Production.INFO: ==9985== Releasing lock... [2025-03-08 20:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:49:05 [end_date_ymd] => 2025-03-08 20:49:05 [RateCDR] => 1 ) [2025-03-08 20:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:49:05' and `end` < '2025-03-08 20:49:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:49:13] Production.ERROR: CronJobId end10 [2025-03-08 20:49:13] Production.INFO: ==9983== Releasing lock... [2025-03-08 20:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:49:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:49:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:49:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:49:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:49:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:49:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:49:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:49:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:49:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:49:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:49:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:49:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:49:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:49:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:49:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:49:14] Production.INFO: call_cost start [2025-03-08 20:49:14] Production.INFO: call_cost end [2025-03-08 20:49:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:49:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:49:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:49:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:49:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:49:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:49:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:49:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:49:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:49:15] Production.INFO: ==9979== Releasing lock... [2025-03-08 20:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:49:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:49:17] Production.INFO: count ==2229 [2025-03-08 20:49:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:49:05 - End Time 2025-03-08 20:49:05 [2025-03-08 20:49:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637699', 'tblTempUsageDetail_20' ) start [2025-03-08 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637699', 'tblTempUsageDetail_20' ) end [2025-03-08 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637699', 'tblTempVendorCDR_20' ) start [2025-03-08 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637699', 'tblTempVendorCDR_20' ) end [2025-03-08 20:49:18] Production.INFO: ProcessCDR(1,14637699,1,1,2) [2025-03-08 20:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637699', 'tblTempUsageDetail_20' ) start [2025-03-08 20:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637699', 'tblTempUsageDetail_20' ) end [2025-03-08 20:49:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:49:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:49:22] Production.INFO: ==9987== Releasing lock... [2025-03-08 20:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:49:22] Production.INFO: 45 MB #Memory Used# [2025-03-09 01:50:01] Production.INFO: ==10083== Lock acquired, processing the job... [2025-03-09 01:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:50:01] Production.INFO: neon service started [2025-03-09 01:50:01] Production.INFO: neon service started [2025-03-09 01:50:01] Production.INFO: ==10083== Releasing lock... [2025-03-09 01:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:50:01] Production.INFO: ==10087== Lock acquired, processing the job... [2025-03-09 01:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:50:01] Production.INFO: ==10087== Releasing lock... [2025-03-09 01:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:50:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:50:02] Production.INFO: ==10085== Lock acquired, processing the job... [2025-03-08 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:50:02] Production.INFO: ==10085== Releasing lock... [2025-03-08 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:50:03] Production.INFO: ==10096== Lock acquired, processing the job... [2025-03-08 20:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:50:03] Production.INFO: ==10090== Lock acquired, processing the job... [2025-03-08 20:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 20:50:03] Production.INFO: ==10094== Lock acquired, processing the job... [2025-03-08 20:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:50:03] Production.INFO: ==10092== Lock acquired, processing the job... [2025-03-08 20:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:50:03] Production.INFO: ==10098== Lock acquired, processing the job... [2025-03-08 20:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 20:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 20:50:04] Production.ERROR: CronJob PID - 10092 [2025-03-08 20:50:04] Production.ERROR: CronJob Title - System Alerts [2025-03-08 20:50:04] Production.ERROR: CronJob ID - 5 [2025-03-08 20:50:04] Production.ERROR: CronJob Last Run Time 2025-03-08 20:50:00 [2025-03-08 20:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 20:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 20:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 20:50:04] Production.ERROR: CronJob PID - 10094 [2025-03-08 20:50:04] Production.ERROR: CronJob Title - Account Block [2025-03-08 20:50:04] Production.ERROR: CronJob ID - 7 [2025-03-08 20:50:04] Production.ERROR: CronJob Last Run Time 2025-03-08 20:50:00 [2025-03-08 20:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 20:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 20:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 20:50:04] Production.ERROR: CronJob PID - 10096 [2025-03-08 20:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-08 20:50:04] Production.ERROR: CronJob ID - 10 [2025-03-08 20:50:04] Production.ERROR: CronJob Last Run Time 2025-03-08 20:50:00 [2025-03-08 20:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 20:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 20:50:04] Production.INFO: ==10104== Lock acquired, processing the job... [2025-03-08 20:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:50:04] Production.INFO: ==10100== Lock acquired, processing the job... [2025-03-08 20:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:50:04] Production.INFO: Account Balance Start. [2025-03-08 20:50:04] Production.INFO: CreateAllLog Start [2025-03-08 20:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:50:04] Production.INFO: 117 [2025-03-08 20:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 20:50:04] Production.INFO: ==10090== Releasing lock... [2025-03-08 20:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 20:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 20:50:04] Production.INFO: ==10102== Lock acquired, processing the job... [2025-03-08 20:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 20:50:04] Production.INFO: count ==13 [2025-03-08 20:50:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:50:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:50:04] Production.INFO: count ==21 [2025-03-08 20:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637703') start [2025-03-08 20:50:04] Production.INFO: Total Charge 0 [2025-03-08 20:50:04] Production.INFO: ==10094== Releasing lock... [2025-03-08 20:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:50:04] Production.INFO: CreateAllLog End [2025-03-08 20:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637703') end [2025-03-08 20:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:50:04] Production.INFO: 1 [2025-03-08 20:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:50:04] Production.INFO: ==10104== Releasing lock... [2025-03-08 20:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:50:04] Production.ERROR: done [2025-03-08 20:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:50:04] Production.ERROR: done [2025-03-08 20:50:04] Production.ERROR: done [2025-03-08 20:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 20:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637704', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 20:50:04] Production.INFO: Account Balance End. [2025-03-08 20:50:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:50:04] Production.INFO: ==10098== Releasing lock... [2025-03-08 20:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:50:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:50:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:50:05 [end_date_ymd] => 2025-03-08 20:50:05 [RateCDR] => 1 ) [2025-03-08 20:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:50:05' and `end` < '2025-03-08 20:50:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637704', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 20:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 20:50:09] Production.INFO: ProcessCDR(1,14637704,1,1,2) [2025-03-08 20:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14637704,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14637704,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:50:09] Production.INFO: ==10102== Releasing lock... [2025-03-08 20:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 20:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-08 20:50:13] Production.ERROR: CronJobId end10 [2025-03-08 20:50:13] Production.INFO: ==10096== Releasing lock... [2025-03-08 20:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:50:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:50:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:50:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:50:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:50:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:50:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:50:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:50:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:50:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:50:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:50:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:50:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:50:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:50:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:50:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:50:16] Production.INFO: call_cost start [2025-03-08 20:50:16] Production.INFO: call_cost end [2025-03-08 20:50:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:50:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:50:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:50:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:50:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:50:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:50:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:50:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:50:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:50:17] Production.INFO: ==10092== Releasing lock... [2025-03-08 20:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:50:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:50:18] Production.INFO: count ==2232 [2025-03-08 20:50:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:50:05 - End Time 2025-03-08 20:50:05 [2025-03-08 20:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637705', 'tblTempUsageDetail_20' ) start [2025-03-08 20:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637705', 'tblTempUsageDetail_20' ) end [2025-03-08 20:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637705', 'tblTempVendorCDR_20' ) start [2025-03-08 20:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637705', 'tblTempVendorCDR_20' ) end [2025-03-08 20:50:19] Production.INFO: ProcessCDR(1,14637705,1,1,2) [2025-03-08 20:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637705', 'tblTempUsageDetail_20' ) start [2025-03-08 20:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637705', 'tblTempUsageDetail_20' ) end [2025-03-08 20:50:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:50:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:50:22] Production.INFO: ==10100== Releasing lock... [2025-03-08 20:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:50:22] Production.INFO: 45 MB #Memory Used# [2025-03-09 01:51:01] Production.INFO: ==10162== Lock acquired, processing the job... [2025-03-09 01:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:51:01] Production.INFO: neon service started [2025-03-09 01:51:01] Production.INFO: neon service started [2025-03-09 01:51:01] Production.INFO: ==10162== Releasing lock... [2025-03-09 01:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:51:02] Production.INFO: ==10164== Lock acquired, processing the job... [2025-03-08 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:51:02] Production.INFO: ==10164== Releasing lock... [2025-03-08 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:51:02] Production.INFO: ==10166== Lock acquired, processing the job... [2025-03-09 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:51:02] Production.INFO: ==10166== Releasing lock... [2025-03-09 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:51:03] Production.INFO: ==10173== Lock acquired, processing the job... [2025-03-08 20:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:51:03] Production.INFO: ==10177== Lock acquired, processing the job... [2025-03-08 20:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:51:03] Production.INFO: ==10169== Lock acquired, processing the job... [2025-03-08 20:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:51:03] Production.INFO: ==10171== Lock acquired, processing the job... [2025-03-08 20:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:51:03] Production.INFO: ==10175== Lock acquired, processing the job... [2025-03-08 20:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:51:03] Production.INFO: ==10179== Lock acquired, processing the job... [2025-03-08 20:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:51:03] Production.INFO: Account Balance Start. [2025-03-08 20:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:51:03] Production.INFO: CreateAllLog Start [2025-03-08 20:51:03] Production.INFO: 117 [2025-03-08 20:51:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:51:03] Production.INFO: count ==13 [2025-03-08 20:51:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:51:04] Production.ERROR: done [2025-03-08 20: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-08 20:51:04] Production.INFO: count ==21 [2025-03-08 20:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637709') start [2025-03-08 20:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:51:04] Production.INFO: Total Charge 0 [2025-03-08 20:51:04] Production.INFO: ==10171== Releasing lock... [2025-03-08 20:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:51:04] Production.INFO: CreateAllLog End [2025-03-08 20:51:04] Production.ERROR: done [2025-03-08 20:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637709') end [2025-03-08 20:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:51:04] Production.INFO: 1 [2025-03-08 20:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:51:04] Production.INFO: ==10179== Releasing lock... [2025-03-08 20:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:51:04] Production.INFO: Account Balance End. [2025-03-08 20:51:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:51:04] Production.INFO: ==10175== Releasing lock... [2025-03-08 20:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:51:05 [end_date_ymd] => 2025-03-08 20:51:05 [RateCDR] => 1 ) [2025-03-08 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-08 17:51:05' and `end` < '2025-03-08 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-08 20:51:12] Production.ERROR: CronJobId end10 [2025-03-08 20:51:12] Production.INFO: ==10173== Releasing lock... [2025-03-08 20:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:51:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:51:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:51:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:51:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:51:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:51:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:51:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:51:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:51:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:51:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:51:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:51:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:51:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:51:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:51:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:51:14] Production.INFO: call_cost start [2025-03-08 20:51:14] Production.INFO: call_cost end [2025-03-08 20:51:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:51:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:51:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:51:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:51:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:51:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:51:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:51:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:51:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:51:15] Production.INFO: ==10169== Releasing lock... [2025-03-08 20:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:51:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:51:17] Production.INFO: count ==2191 [2025-03-08 20:51:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:51:05 - End Time 2025-03-08 20:51:05 [2025-03-08 20:51:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637710', 'tblTempUsageDetail_20' ) start [2025-03-08 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637710', 'tblTempUsageDetail_20' ) end [2025-03-08 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637710', 'tblTempVendorCDR_20' ) start [2025-03-08 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637710', 'tblTempVendorCDR_20' ) end [2025-03-08 20:51:18] Production.INFO: ProcessCDR(1,14637710,1,1,2) [2025-03-08 20:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637710', 'tblTempUsageDetail_20' ) start [2025-03-08 20:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637710', 'tblTempUsageDetail_20' ) end [2025-03-08 20:51:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:51:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:51:23] Production.INFO: ==10177== Releasing lock... [2025-03-08 20:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:51:23] Production.INFO: 44.5 MB #Memory Used# [2025-03-09 01:52:02] Production.INFO: ==10234== Lock acquired, processing the job... [2025-03-09 01:52:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:52:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:52:02] Production.INFO: neon service started [2025-03-09 01:52:02] Production.INFO: neon service started [2025-03-09 01:52:02] Production.INFO: ==10234== Releasing lock... [2025-03-09 01:52:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:52:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:52:02] Production.INFO: ==10236== Lock acquired, processing the job... [2025-03-08 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:52:03] Production.INFO: ==10236== Releasing lock... [2025-03-08 20:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:52:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:52:03] Production.INFO: ==10238== Lock acquired, processing the job... [2025-03-09 01:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:52:03] Production.INFO: ==10238== Releasing lock... [2025-03-09 01:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:52:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:52:03] Production.INFO: ==10241== Lock acquired, processing the job... [2025-03-08 20:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:52:03] Production.INFO: ==10247== Lock acquired, processing the job... [2025-03-08 20:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:52:04] Production.INFO: ==10245== Lock acquired, processing the job... [2025-03-08 20:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:52:04] Production.INFO: Account Balance Start. [2025-03-08 20:52:04] Production.INFO: CreateAllLog Start [2025-03-08 20:52:04] Production.INFO: 117 [2025-03-08 20:52:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:52:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:52:04] Production.INFO: Total Charge 0 [2025-03-08 20:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:52:04] Production.INFO: CreateAllLog End [2025-03-08 20:52:04] Production.INFO: ==10251== Lock acquired, processing the job... [2025-03-08 20:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:52:04] Production.INFO: ==10243== Lock acquired, processing the job... [2025-03-08 20:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:52:04] Production.INFO: Account Balance End. [2025-03-08 20:52:04] Production.INFO: ==10249== Lock acquired, processing the job... [2025-03-08 20:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 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-08 20:52:04] Production.INFO: count ==13 [2025-03-08 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-08 20:52:04] Production.INFO: count ==21 [2025-03-08 20:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:52:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:52:04] Production.INFO: ==10247== Releasing lock... [2025-03-08 20:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637713') start [2025-03-08 20:52:04] Production.INFO: ==10243== Releasing lock... [2025-03-08 20:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637713') end [2025-03-08 20:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:52:04] Production.INFO: 1 [2025-03-08 20:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:52:05] Production.INFO: ==10251== Releasing lock... [2025-03-08 20:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:52:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:52:05] Production.ERROR: done [2025-03-08 20:52:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:52:05] Production.ERROR: done [2025-03-08 20:52:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:52:06 [end_date_ymd] => 2025-03-08 20:52:06 [RateCDR] => 1 ) [2025-03-08 20:52:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:52:06' and `end` < '2025-03-08 20:52:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:52:12] Production.ERROR: CronJobId end10 [2025-03-08 20:52:12] Production.INFO: ==10245== Releasing lock... [2025-03-08 20:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:52:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:52:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:52:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:52:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:52:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:52:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:52:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:52:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:52:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:52:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:52:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:52:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:52:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:52:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:52:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:52:15] Production.INFO: call_cost start [2025-03-08 20:52:15] Production.INFO: call_cost end [2025-03-08 20:52:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:52:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:52:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:52:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:52:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:52:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:52:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:52:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:52:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:52:16] Production.INFO: ==10241== Releasing lock... [2025-03-08 20:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:52:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:52:18] Production.INFO: count ==2111 [2025-03-08 20:52:19] Production.ERROR: pbx CDR StartTime 2025-03-08 17:52:06 - End Time 2025-03-08 20:52:06 [2025-03-08 20:52:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637715', 'tblTempUsageDetail_20' ) start [2025-03-08 20:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637715', 'tblTempUsageDetail_20' ) end [2025-03-08 20:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637715', 'tblTempVendorCDR_20' ) start [2025-03-08 20:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637715', 'tblTempVendorCDR_20' ) end [2025-03-08 20:52:19] Production.INFO: ProcessCDR(1,14637715,1,1,2) [2025-03-08 20:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637715', 'tblTempUsageDetail_20' ) start [2025-03-08 20:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637715', 'tblTempUsageDetail_20' ) end [2025-03-08 20:52:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:52:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:52:22] Production.INFO: ==10249== Releasing lock... [2025-03-08 20:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:52:22] Production.INFO: 44 MB #Memory Used# [2025-03-09 01:53:01] Production.INFO: ==10305== Lock acquired, processing the job... [2025-03-09 01:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:53:01] Production.INFO: neon service started [2025-03-09 01:53:01] Production.INFO: neon service started [2025-03-09 01:53:01] Production.INFO: ==10305== Releasing lock... [2025-03-09 01:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:53:02] Production.INFO: ==10307== Lock acquired, processing the job... [2025-03-08 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:53:02] Production.INFO: ==10309== Lock acquired, processing the job... [2025-03-09 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:53:02] Production.INFO: ==10309== Releasing lock... [2025-03-09 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:53:02] Production.INFO: ==10307== Releasing lock... [2025-03-08 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:53:03] Production.INFO: ==10312== Lock acquired, processing the job... [2025-03-08 20:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:53:03] Production.INFO: ==10316== Lock acquired, processing the job... [2025-03-08 20:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:53:04] Production.INFO: ==10314== Lock acquired, processing the job... [2025-03-08 20:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:53:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:53:04] Production.INFO: ==10320== Lock acquired, processing the job... [2025-03-08 20:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:53:04] Production.INFO: ==10318== Lock acquired, processing the job... [2025-03-08 20:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:53:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:53:04] Production.INFO: ==10322== Lock acquired, processing the job... [2025-03-08 20:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:53:04] Production.INFO: Account Balance Start. [2025-03-08 20:53:04] Production.INFO: CreateAllLog Start [2025-03-08 20:53:04] Production.INFO: 117 [2025-03-08 20:53:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:53:04] Production.INFO: ==10314== Releasing lock... [2025-03-08 20:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:53:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:53:04] Production.INFO: Total Charge 0 [2025-03-08 20:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:53:04] Production.INFO: CreateAllLog End [2025-03-08 20:53:04] Production.INFO: count ==13 [2025-03-08 20:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:53:04] Production.INFO: count ==21 [2025-03-08 20:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637719') start [2025-03-08 20:53:04] Production.ERROR: done [2025-03-08 20:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637719') end [2025-03-08 20:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:53:04] Production.INFO: 1 [2025-03-08 20:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:53:04] Production.ERROR: done [2025-03-08 20:53:04] Production.INFO: ==10322== Releasing lock... [2025-03-08 20:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:53:04] Production.INFO: Account Balance End. [2025-03-08 20:53:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:53:04] Production.INFO: ==10318== Releasing lock... [2025-03-08 20:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:53:05 [end_date_ymd] => 2025-03-08 20:53:05 [RateCDR] => 1 ) [2025-03-08 20:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:53:05' and `end` < '2025-03-08 20:53:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:53:13] Production.ERROR: CronJobId end10 [2025-03-08 20:53:13] Production.INFO: ==10316== Releasing lock... [2025-03-08 20:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:53:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:53:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:53:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:53:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:53:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:53:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:53:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:53:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:53:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:53:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:53:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:53:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:53:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:53:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:53:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:53:15] Production.INFO: call_cost start [2025-03-08 20:53:15] Production.INFO: call_cost end [2025-03-08 20:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:53:16] Production.INFO: ==10312== Releasing lock... [2025-03-08 20:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:53:18] Production.INFO: count ==2019 [2025-03-08 20:53:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:53:05 - End Time 2025-03-08 20:53:05 [2025-03-08 20:53:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637720', 'tblTempUsageDetail_20' ) start [2025-03-08 20:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637720', 'tblTempUsageDetail_20' ) end [2025-03-08 20:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637720', 'tblTempVendorCDR_20' ) start [2025-03-08 20:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637720', 'tblTempVendorCDR_20' ) end [2025-03-08 20:53:19] Production.INFO: ProcessCDR(1,14637720,1,1,2) [2025-03-08 20:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637720', 'tblTempUsageDetail_20' ) start [2025-03-08 20:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637720', 'tblTempUsageDetail_20' ) end [2025-03-08 20:53:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:53:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:53:22] Production.INFO: ==10320== Releasing lock... [2025-03-08 20:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:53:22] Production.INFO: 43.25 MB #Memory Used# [2025-03-09 01:54:02] Production.INFO: ==10376== Lock acquired, processing the job... [2025-03-09 01:54:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:54:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:54:02] Production.INFO: neon service started [2025-03-09 01:54:02] Production.INFO: neon service started [2025-03-09 01:54:02] Production.INFO: ==10376== Releasing lock... [2025-03-09 01:54:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:54:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:54:02] Production.INFO: ==10378== Lock acquired, processing the job... [2025-03-08 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:54:02] Production.INFO: ==10380== Lock acquired, processing the job... [2025-03-09 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:54:03] Production.INFO: ==10380== Releasing lock... [2025-03-09 01:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:54:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:54:03] Production.INFO: ==10378== Releasing lock... [2025-03-08 20:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:54:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:54:04] Production.INFO: ==10383== Lock acquired, processing the job... [2025-03-08 20:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:54:04] Production.INFO: ==10385== Lock acquired, processing the job... [2025-03-08 20:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:54:04] Production.INFO: ==10393== Lock acquired, processing the job... [2025-03-08 20:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:54:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:54:04] Production.INFO: ==10387== Lock acquired, processing the job... [2025-03-08 20:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:54:04] Production.INFO: count ==13 [2025-03-08 20: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-08 20:54:04] Production.INFO: count ==21 [2025-03-08 20:54:04] Production.INFO: ==10389== Lock acquired, processing the job... [2025-03-08 20:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637723') start [2025-03-08 20:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:54:04] Production.INFO: ==10391== Lock acquired, processing the job... [2025-03-08 20:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:54:04] Production.INFO: ==10385== Releasing lock... [2025-03-08 20:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637723') end [2025-03-08 20:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:54:04] Production.INFO: 1 [2025-03-08 20:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:54:04] Production.INFO: Account Balance Start. [2025-03-08 20:54:04] Production.INFO: CreateAllLog Start [2025-03-08 20:54:04] Production.INFO: 117 [2025-03-08 20:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:54:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:54:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:54:04] Production.INFO: ==10393== Releasing lock... [2025-03-08 20:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:54:04] Production.INFO: Total Charge 0 [2025-03-08 20:54:04] Production.INFO: CreateAllLog End [2025-03-08 20:54:04] Production.INFO: Account Balance End. [2025-03-08 20:54:05] Production.ERROR: CronJobId end 12 [2025-03-08 20:54:05] Production.INFO: ==10389== Releasing lock... [2025-03-08 20:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:54:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:54:05] Production.ERROR: done [2025-03-08 20:54:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:54:05] Production.ERROR: done [2025-03-08 20:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:54:05 [end_date_ymd] => 2025-03-08 20:54:05 [RateCDR] => 1 ) [2025-03-08 20:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:54:05' and `end` < '2025-03-08 20:54:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:54:12] Production.ERROR: CronJobId end10 [2025-03-08 20:54:12] Production.INFO: ==10387== Releasing lock... [2025-03-08 20:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:54:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:54:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:54:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:54:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:54:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:54:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:54:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:54:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:54:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:54:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:54:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:54:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:54:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:54:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:54:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:54:15] Production.INFO: call_cost start [2025-03-08 20:54:15] Production.INFO: call_cost end [2025-03-08 20:54:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:54:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:54:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:54:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:54:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:54:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:54:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:54:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:54:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:54:16] Production.INFO: ==10383== Releasing lock... [2025-03-08 20:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:54:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:54:18] Production.INFO: count ==1867 [2025-03-08 20:54:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:54:05 - End Time 2025-03-08 20:54:05 [2025-03-08 20:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637725', 'tblTempUsageDetail_20' ) start [2025-03-08 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637725', 'tblTempUsageDetail_20' ) end [2025-03-08 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637725', 'tblTempVendorCDR_20' ) start [2025-03-08 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637725', 'tblTempVendorCDR_20' ) end [2025-03-08 20:54:18] Production.INFO: ProcessCDR(1,14637725,1,1,2) [2025-03-08 20:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637725', 'tblTempUsageDetail_20' ) start [2025-03-08 20:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637725', 'tblTempUsageDetail_20' ) end [2025-03-08 20:54:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:54:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:54:23] Production.INFO: ==10391== Releasing lock... [2025-03-08 20:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:54:23] Production.INFO: 42 MB #Memory Used# [2025-03-09 01:55:01] Production.INFO: ==10446== Lock acquired, processing the job... [2025-03-09 01:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:55:01] Production.INFO: neon service started [2025-03-09 01:55:01] Production.INFO: neon service started [2025-03-09 01:55:01] Production.INFO: ==10446== Releasing lock... [2025-03-09 01:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:55:02] Production.INFO: ==10448== Lock acquired, processing the job... [2025-03-08 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:55:02] Production.INFO: ==10448== Releasing lock... [2025-03-08 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:55:03] Production.INFO: ==10450== Lock acquired, processing the job... [2025-03-09 01:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:55:03] Production.INFO: ==10450== Releasing lock... [2025-03-09 01:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:55:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:55:03] Production.INFO: ==10452== Lock acquired, processing the job... [2025-03-08 20:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:55:03] Production.INFO: ==10456== Lock acquired, processing the job... [2025-03-08 20:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:55:03] Production.INFO: ==10458== Lock acquired, processing the job... [2025-03-08 20:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:55:03] Production.INFO: Account Balance Start. [2025-03-08 20:55:03] Production.INFO: CreateAllLog Start [2025-03-08 20:55:03] Production.INFO: 117 [2025-03-08 20:55:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:55:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:55:03] Production.INFO: Total Charge 0 [2025-03-08 20:55:03] Production.INFO: CreateAllLog End [2025-03-08 20:55:03] Production.INFO: ==10454== Lock acquired, processing the job... [2025-03-08 20:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:55:03] Production.INFO: Account Balance End. [2025-03-08 20:55:03] Production.ERROR: CronJobId end 12 [2025-03-08 20:55:03] Production.INFO: ==10458== Releasing lock... [2025-03-08 20:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:55:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:55:03] Production.INFO: ==10460== Lock acquired, processing the job... [2025-03-08 20:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:55:04] Production.INFO: ==10462== Lock acquired, processing the job... [2025-03-08 20:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:55:04] Production.ERROR: done [2025-03-08 20:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:55:04] Production.INFO: count ==13 [2025-03-08 20:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:55:04] Production.INFO: count ==21 [2025-03-08 20:55:04] Production.INFO: ==10454== Releasing lock... [2025-03-08 20:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637729') start [2025-03-08 20:55:04] Production.ERROR: done [2025-03-08 20:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637729') end [2025-03-08 20:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:55:04] Production.INFO: 1 [2025-03-08 20:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:55:04] Production.INFO: ==10462== Releasing lock... [2025-03-08 20:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:55:05 [end_date_ymd] => 2025-03-08 20:55:05 [RateCDR] => 1 ) [2025-03-08 20:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:55:05' and `end` < '2025-03-08 20:55:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:55:13] Production.ERROR: CronJobId end10 [2025-03-08 20:55:13] Production.INFO: ==10456== Releasing lock... [2025-03-08 20:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:55:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:55:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:55:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:55:14] Production.INFO: call_cost start [2025-03-08 20:55:14] Production.INFO: call_cost end [2025-03-08 20:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:55:15] Production.INFO: ==10452== Releasing lock... [2025-03-08 20:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:55:17] Production.INFO: count ==1714 [2025-03-08 20:55:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:55:05 - End Time 2025-03-08 20:55:05 [2025-03-08 20:55:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637730', 'tblTempUsageDetail_20' ) start [2025-03-08 20:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637730', 'tblTempUsageDetail_20' ) end [2025-03-08 20:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637730', 'tblTempVendorCDR_20' ) start [2025-03-08 20:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637730', 'tblTempVendorCDR_20' ) end [2025-03-08 20:55:18] Production.INFO: ProcessCDR(1,14637730,1,1,2) [2025-03-08 20:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637730', 'tblTempUsageDetail_20' ) start [2025-03-08 20:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637730', 'tblTempUsageDetail_20' ) end [2025-03-08 20:55:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:55:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:55:21] Production.INFO: ==10460== Releasing lock... [2025-03-08 20:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:55:21] Production.INFO: 41 MB #Memory Used# [2025-03-09 01:56:02] Production.INFO: ==10524== Lock acquired, processing the job... [2025-03-09 01:56:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:56:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:56:02] Production.INFO: neon service started [2025-03-09 01:56:02] Production.INFO: neon service started [2025-03-09 01:56:02] Production.INFO: ==10524== Releasing lock... [2025-03-09 01:56:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:56:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:56:02] Production.INFO: ==10526== Lock acquired, processing the job... [2025-03-08 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:56:02] Production.INFO: ==10526== Releasing lock... [2025-03-08 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:56:03] Production.INFO: ==10528== Lock acquired, processing the job... [2025-03-09 01:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:56:03] Production.INFO: ==10528== Releasing lock... [2025-03-09 01:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:56:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:56:03] Production.INFO: ==10538== Lock acquired, processing the job... [2025-03-08 20:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:56:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:56:04] Production.INFO: ==10540== Lock acquired, processing the job... [2025-03-08 20:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:56:04] Production.INFO: ==10532== Lock acquired, processing the job... [2025-03-08 20:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:56:04] Production.INFO: ==10530== Lock acquired, processing the job... [2025-03-08 20:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:56:04] Production.INFO: ==10534== Lock acquired, processing the job... [2025-03-08 20:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:56:04] Production.INFO: ==10536== Lock acquired, processing the job... [2025-03-08 20:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:56:04] Production.INFO: Account Balance Start. [2025-03-08 20:56:04] Production.INFO: CreateAllLog Start [2025-03-08 20:56:04] Production.INFO: 117 [2025-03-08 20:56:04] Production.INFO: count ==13 [2025-03-08 20:56:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 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-08 20:56:04] Production.INFO: count ==21 [2025-03-08 20:56:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637731') start [2025-03-08 20:56:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:56:04] Production.ERROR: done [2025-03-08 20:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:56:04] Production.INFO: Total Charge 0 [2025-03-08 20:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637731') end [2025-03-08 20:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:56:04] Production.INFO: 1 [2025-03-08 20:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:56:04] Production.INFO: CreateAllLog End [2025-03-08 20:56:04] Production.INFO: ==10540== Releasing lock... [2025-03-08 20:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:56:04] Production.ERROR: done [2025-03-08 20:56:04] Production.INFO: ==10532== Releasing lock... [2025-03-08 20:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:56:04] Production.INFO: Account Balance End. [2025-03-08 20:56:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:56:04] Production.INFO: ==10536== Releasing lock... [2025-03-08 20:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:56:05 [end_date_ymd] => 2025-03-08 20:56:05 [RateCDR] => 1 ) [2025-03-08 20:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:56:05' and `end` < '2025-03-08 20:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:56:13] Production.ERROR: CronJobId end10 [2025-03-08 20:56:13] Production.INFO: ==10534== Releasing lock... [2025-03-08 20:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:56:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:56:14] Production.INFO: call_cost start [2025-03-08 20:56:14] Production.INFO: call_cost end [2025-03-08 20:56:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:56:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:56:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:56:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:56:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:56:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:56:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:56:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:56:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:56:15] Production.INFO: ==10530== Releasing lock... [2025-03-08 20:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:56:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:56:17] Production.INFO: count ==1610 [2025-03-08 20:56:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:56:05 - End Time 2025-03-08 20:56:05 [2025-03-08 20:56:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637735', 'tblTempUsageDetail_20' ) start [2025-03-08 20:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637735', 'tblTempUsageDetail_20' ) end [2025-03-08 20:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637735', 'tblTempVendorCDR_20' ) start [2025-03-08 20:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637735', 'tblTempVendorCDR_20' ) end [2025-03-08 20:56:18] Production.INFO: ProcessCDR(1,14637735,1,1,2) [2025-03-08 20:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637735', 'tblTempUsageDetail_20' ) start [2025-03-08 20:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637735', 'tblTempUsageDetail_20' ) end [2025-03-08 20:56:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:56:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:56:21] Production.INFO: ==10538== Releasing lock... [2025-03-08 20:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:56:21] Production.INFO: 40 MB #Memory Used# [2025-03-09 01:57:01] Production.INFO: ==10603== Lock acquired, processing the job... [2025-03-09 01:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:57:01] Production.INFO: neon service started [2025-03-09 01:57:01] Production.INFO: neon service started [2025-03-09 01:57:01] Production.INFO: ==10603== Releasing lock... [2025-03-09 01:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:57:02] Production.INFO: ==10607== Lock acquired, processing the job... [2025-03-09 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:57:02] Production.INFO: ==10607== Releasing lock... [2025-03-09 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:57:02] Production.INFO: ==10605== Lock acquired, processing the job... [2025-03-08 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:57:02] Production.INFO: ==10605== Releasing lock... [2025-03-08 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 20:57:03] Production.INFO: ==10616== Lock acquired, processing the job... [2025-03-08 20:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:57:03] Production.INFO: ==10620== Lock acquired, processing the job... [2025-03-08 20:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:57:03] Production.INFO: Account Balance Start. [2025-03-08 20:57:03] Production.INFO: CreateAllLog Start [2025-03-08 20:57:03] Production.INFO: 117 [2025-03-08 20:57:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:57:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:57:03] Production.INFO: ==10614== Lock acquired, processing the job... [2025-03-08 20:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:57:03] Production.INFO: ==10610== Lock acquired, processing the job... [2025-03-08 20:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:57:03] Production.INFO: ==10612== Lock acquired, processing the job... [2025-03-08 20:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:57:03] Production.INFO: Total Charge 0 [2025-03-08 20:57:03] Production.INFO: count ==13 [2025-03-08 20:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:57:03] Production.INFO: ==10618== Lock acquired, processing the job... [2025-03-08 20:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:57:03] Production.INFO: CreateAllLog End [2025-03-08 20:57:03] Production.INFO: count ==21 [2025-03-08 20:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637737') start [2025-03-08 20:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637737') end [2025-03-08 20:57:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:57:03] Production.INFO: 1 [2025-03-08 20:57:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:57:04] Production.INFO: ==10620== Releasing lock... [2025-03-08 20:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:57:04] Production.INFO: Account Balance End. [2025-03-08 20:57:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:57:04] Production.INFO: ==10616== Releasing lock... [2025-03-08 20:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:57:04] Production.ERROR: done [2025-03-08 20:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:57:04] Production.INFO: ==10612== Releasing lock... [2025-03-08 20:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:57:04] Production.ERROR: done [2025-03-08 20:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:57:05 [end_date_ymd] => 2025-03-08 20:57:05 [RateCDR] => 1 ) [2025-03-08 20:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:57:05' and `end` < '2025-03-08 20:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:57:12] Production.ERROR: CronJobId end10 [2025-03-08 20:57:12] Production.INFO: ==10614== Releasing lock... [2025-03-08 20:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:57:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:57:15] Production.INFO: call_cost start [2025-03-08 20:57:15] Production.INFO: call_cost end [2025-03-08 20:57:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:57:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:57:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:57:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:57:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:57:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:57:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:57:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:57:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:57:16] Production.INFO: ==10610== Releasing lock... [2025-03-08 20:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:57:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:57:17] Production.INFO: count ==1449 [2025-03-08 20:57:18] Production.ERROR: pbx CDR StartTime 2025-03-08 17:57:05 - End Time 2025-03-08 20:57:05 [2025-03-08 20:57:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637740', 'tblTempUsageDetail_20' ) start [2025-03-08 20:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637740', 'tblTempUsageDetail_20' ) end [2025-03-08 20:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637740', 'tblTempVendorCDR_20' ) start [2025-03-08 20:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637740', 'tblTempVendorCDR_20' ) end [2025-03-08 20:57:18] Production.INFO: ProcessCDR(1,14637740,1,1,2) [2025-03-08 20:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637740', 'tblTempUsageDetail_20' ) start [2025-03-08 20:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637740', 'tblTempUsageDetail_20' ) end [2025-03-08 20:57:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:57:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:57:23] Production.INFO: ==10618== Releasing lock... [2025-03-08 20:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:57:23] Production.INFO: 39.25 MB #Memory Used# [2025-03-09 01:58:02] Production.INFO: ==10680== Lock acquired, processing the job... [2025-03-09 01:58:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:58:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:58:02] Production.INFO: neon service started [2025-03-09 01:58:02] Production.INFO: neon service started [2025-03-09 01:58:02] Production.INFO: ==10680== Releasing lock... [2025-03-09 01:58:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:58:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:58:02] Production.INFO: ==10682== Lock acquired, processing the job... [2025-03-08 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:58:02] Production.INFO: ==10682== Releasing lock... [2025-03-08 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:58:02] Production.INFO: ==10684== Lock acquired, processing the job... [2025-03-09 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:58:03] Production.INFO: ==10684== Releasing lock... [2025-03-09 01:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:58:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:58:03] Production.INFO: ==10690== Lock acquired, processing the job... [2025-03-08 20:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:58:03] Production.INFO: ==10696== Lock acquired, processing the job... [2025-03-08 20:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:58:03] Production.INFO: ==10688== Lock acquired, processing the job... [2025-03-08 20:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:58:03] Production.INFO: ==10692== Lock acquired, processing the job... [2025-03-08 20:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:58:04] Production.INFO: ==10694== Lock acquired, processing the job... [2025-03-08 20:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:58:04] Production.INFO: ==10699== Lock acquired, processing the job... [2025-03-08 20:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:58:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:58:04] Production.INFO: Account Balance Start. [2025-03-08 20:58:04] Production.INFO: CreateAllLog Start [2025-03-08 20:58:04] Production.INFO: 117 [2025-03-08 20:58:04] Production.INFO: ==10690== Releasing lock... [2025-03-08 20:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:58:04] Production.INFO: count ==13 [2025-03-08 20:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:58:04] Production.INFO: count ==21 [2025-03-08 20:58:04] Production.INFO: Date 2025-03-08 [2025-03-08 20:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637744') start [2025-03-08 20:58:04] Production.INFO: Reseller ==> 0 [2025-03-08 20:58:04] Production.ERROR: done [2025-03-08 20:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:58:04] Production.INFO: Total Charge 0 [2025-03-08 20:58:04] Production.INFO: CreateAllLog End [2025-03-08 20:58:04] Production.ERROR: done [2025-03-08 20:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637744') end [2025-03-08 20:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:58:04] Production.INFO: 1 [2025-03-08 20:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:58:04] Production.INFO: ==10699== Releasing lock... [2025-03-08 20:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:58:04] Production.INFO: Account Balance End. [2025-03-08 20:58:04] Production.ERROR: CronJobId end 12 [2025-03-08 20:58:04] Production.INFO: ==10694== Releasing lock... [2025-03-08 20:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:58:05 [end_date_ymd] => 2025-03-08 20:58:05 [RateCDR] => 1 ) [2025-03-08 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-08 17:58:05' and `end` < '2025-03-08 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-08 20:58:12] Production.ERROR: CronJobId end10 [2025-03-08 20:58:12] Production.INFO: ==10692== Releasing lock... [2025-03-08 20:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:58:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:58:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:58:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:58:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:58:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:58:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:58:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:58:15] Production.INFO: call_cost start [2025-03-08 20:58:15] Production.INFO: call_cost end [2025-03-08 20:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:58:15] Production.INFO: ==10688== Releasing lock... [2025-03-08 20:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:58:17] Production.INFO: count ==1304 [2025-03-08 20:58:17] Production.ERROR: pbx CDR StartTime 2025-03-08 17:58:05 - End Time 2025-03-08 20:58:05 [2025-03-08 20:58:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637745', 'tblTempUsageDetail_20' ) start [2025-03-08 20:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637745', 'tblTempUsageDetail_20' ) end [2025-03-08 20:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637745', 'tblTempVendorCDR_20' ) start [2025-03-08 20:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637745', 'tblTempVendorCDR_20' ) end [2025-03-08 20:58:17] Production.INFO: ProcessCDR(1,14637745,1,1,2) [2025-03-08 20:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637745', 'tblTempUsageDetail_20' ) start [2025-03-08 20:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637745', 'tblTempUsageDetail_20' ) end [2025-03-08 20:58:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:58:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:58:21] Production.INFO: ==10696== Releasing lock... [2025-03-08 20:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:58:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 01:59:01] Production.INFO: ==10760== Lock acquired, processing the job... [2025-03-09 01:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 01:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 01:59:01] Production.INFO: neon service started [2025-03-09 01:59:01] Production.INFO: neon service started [2025-03-09 01:59:01] Production.INFO: ==10760== Releasing lock... [2025-03-09 01:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 01:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 20:59:01] Production.INFO: ==10762== Lock acquired, processing the job... [2025-03-08 20:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 20:59:02] Production.INFO: ==10762== Releasing lock... [2025-03-08 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 20:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:59:02] Production.INFO: ==10764== Lock acquired, processing the job... [2025-03-09 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:59:02] Production.INFO: ==10764== Releasing lock... [2025-03-09 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 01:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 20:59:03] Production.INFO: ==10767== Lock acquired, processing the job... [2025-03-08 20:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 20:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 20:59:03] Production.INFO: ==10773== Lock acquired, processing the job... [2025-03-08 20:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 20:59:03] Production.INFO: ==10775== Lock acquired, processing the job... [2025-03-08 20:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 20:59:03] Production.INFO: Account Balance Start. [2025-03-08 20:59:03] Production.INFO: CreateAllLog Start [2025-03-08 20:59:03] Production.INFO: 117 [2025-03-08 20:59:03] Production.INFO: Date 2025-03-08 [2025-03-08 20:59:03] Production.INFO: ==10769== Lock acquired, processing the job... [2025-03-08 20:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 20:59:03] Production.INFO: Reseller ==> 0 [2025-03-08 20:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 20:59:03] Production.INFO: Total Charge 0 [2025-03-08 20:59:03] Production.INFO: CreateAllLog End [2025-03-08 20:59:03] Production.INFO: ==10771== Lock acquired, processing the job... [2025-03-08 20:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 20:59:03] Production.INFO: ==10777== Lock acquired, processing the job... [2025-03-08 20:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 20:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 20:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 20:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 20:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 20:59:03] Production.INFO: Account Balance End. [2025-03-08 20:59:03] Production.ERROR: CronJobId end 12 [2025-03-08 20:59:03] Production.INFO: ==10773== Releasing lock... [2025-03-08 20:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 20:59:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 20:59:03] Production.ERROR: done [2025-03-08 20:59:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 20:59:03] Production.INFO: ==10769== Releasing lock... [2025-03-08 20:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 20:59:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 20:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:59:03] Production.INFO: count ==13 [2025-03-08 20:59:03] Production.ERROR: done [2025-03-08 20:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 20:59:03] Production.INFO: count ==21 [2025-03-08 20:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637749') start [2025-03-08 20:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637749') end [2025-03-08 20:59:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 20:59:03] Production.INFO: 1 [2025-03-08 20:59:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 20:59:04] Production.INFO: ==10777== Releasing lock... [2025-03-08 20:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 20:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 20:59:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 17:59:04 [end_date_ymd] => 2025-03-08 20:59:04 [RateCDR] => 1 ) [2025-03-08 20:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 17:59:04' and `end` < '2025-03-08 20:59:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 20:59:11] Production.ERROR: CronJobId end10 [2025-03-08 20:59:11] Production.INFO: ==10771== Releasing lock... [2025-03-08 20:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 20:59:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 20:59:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 20:59:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 20:59:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 20:59:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 20:59:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 20:59:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 20:59:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 20:59:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 20:59:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 20:59:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 20:59:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 20:59:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 20:59:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 20:59:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 20:59:14] Production.INFO: call_cost start [2025-03-08 20:59:14] Production.INFO: call_cost end [2025-03-08 20:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 20:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 20:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 20:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 20:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 20:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 20:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 20:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 20:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 20:59:15] Production.INFO: ==10767== Releasing lock... [2025-03-08 20:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 20:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 20:59:17] Production.INFO: count ==1258 [2025-03-08 20:59:17] Production.ERROR: pbx CDR StartTime 2025-03-08 17:59:04 - End Time 2025-03-08 20:59:04 [2025-03-08 20:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 20:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637750', 'tblTempUsageDetail_20' ) start [2025-03-08 20:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637750', 'tblTempUsageDetail_20' ) end [2025-03-08 20:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637750', 'tblTempVendorCDR_20' ) start [2025-03-08 20:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637750', 'tblTempVendorCDR_20' ) end [2025-03-08 20:59:17] Production.INFO: ProcessCDR(1,14637750,1,1,2) [2025-03-08 20:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 20:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 20:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637750', 'tblTempUsageDetail_20' ) start [2025-03-08 20:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637750', 'tblTempUsageDetail_20' ) end [2025-03-08 20:59:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 20:59:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 20:59:20] Production.INFO: ==10775== Releasing lock... [2025-03-08 20:59:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 20:59:20] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 02:00:02] Production.INFO: ==10842== Lock acquired, processing the job... [2025-03-09 02:00:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:00:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:00:02] Production.INFO: neon service started [2025-03-09 02:00:02] Production.INFO: neon service started [2025-03-09 02:00:02] Production.INFO: ==10842== Releasing lock... [2025-03-09 02:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:00:02] Production.INFO: ==10846== Lock acquired, processing the job... [2025-03-09 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:00:02] Production.INFO: ==10846== Releasing lock... [2025-03-09 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:00:02] Production.INFO: ==10844== Lock acquired, processing the job... [2025-03-08 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:00:02] Production.INFO: ==10844== Releasing lock... [2025-03-08 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:00:03] Production.INFO: ==10849== Lock acquired, processing the job... [2025-03-08 21:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 21:00:03] Production.INFO: ==10851== Lock acquired, processing the job... [2025-03-08 21:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 21:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 21:00:04] Production.ERROR: CronJob PID - 10851 [2025-03-08 21:00:04] Production.ERROR: CronJob Title - System Alerts [2025-03-08 21:00:04] Production.ERROR: CronJob ID - 5 [2025-03-08 21:00:04] Production.ERROR: CronJob Last Run Time 2025-03-08 21:00:00 [2025-03-08 21:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 21:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 21:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 21:00:04] Production.INFO: ==10849== Releasing lock... [2025-03-08 21:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 21:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 21:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:00:04] Production.INFO: ==10859== Lock acquired, processing the job... [2025-03-08 21:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:00:04] Production.INFO: ==10863== Lock acquired, processing the job... [2025-03-08 21:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:00:04] Production.INFO: ==10853== Lock acquired, processing the job... [2025-03-08 21:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:00:04] Production.INFO: ==10855== Lock acquired, processing the job... [2025-03-08 21:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:00:04] Production.INFO: count ==13 [2025-03-08 21:00:04] Production.INFO: ==10857== Lock acquired, processing the job... [2025-03-08 21:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:00:04] Production.INFO: count ==21 [2025-03-08 21:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637752') start [2025-03-08 21:00:04] Production.INFO: ==10861== Lock acquired, processing the job... [2025-03-08 21:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 21:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:00:04] Production.ERROR: done [2025-03-08 21:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:00:04] Production.INFO: Account Balance Start. [2025-03-08 21:00:04] Production.INFO: CreateAllLog Start [2025-03-08 21:00:04] Production.INFO: 117 [2025-03-08 21:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637752') end [2025-03-08 21:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:00:04] Production.INFO: 1 [2025-03-08 21:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:00:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:00:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:00:04] Production.INFO: Total Charge 0 [2025-03-08 21:00:04] Production.INFO: CreateAllLog End [2025-03-08 21:00:04] Production.INFO: ==10863== Releasing lock... [2025-03-08 21:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:00:04] Production.INFO: ==10853== Releasing lock... [2025-03-08 21:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:00:04] Production.ERROR: done [2025-03-08 21:00:04] Production.ERROR: done [2025-03-08 21:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 21:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637756', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 21:00:05] Production.INFO: Account Balance End. [2025-03-08 21:00:05] Production.ERROR: CronJobId end 12 [2025-03-08 21:00:05] Production.INFO: ==10857== Releasing lock... [2025-03-08 21:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:00:06 [end_date_ymd] => 2025-03-08 21:00:06 [RateCDR] => 1 ) [2025-03-08 21:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:00:06' and `end` < '2025-03-08 21:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637756', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 21:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 21:00:09] Production.INFO: ProcessCDR(1,14637756,1,1,2) [2025-03-08 21:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14637756,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14637756,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:00:09] Production.INFO: ==10861== Releasing lock... [2025-03-08 21:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 21:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-08 21:00:14] Production.ERROR: CronJobId end10 [2025-03-08 21:00:14] Production.INFO: ==10855== Releasing lock... [2025-03-08 21:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:00:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:00:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:00:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:00:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:00:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:00:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:00:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:00:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:00:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:00:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:00:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:00:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:00:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:00:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:00:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:00:15] Production.INFO: call_cost start [2025-03-08 21:00:15] Production.INFO: call_cost end [2025-03-08 21:00:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:00:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:00:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:00:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:00:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:00:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:00:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:00:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:00:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:00:16] Production.INFO: ==10851== Releasing lock... [2025-03-08 21:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:00:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:00:18] Production.INFO: count ==1260 [2025-03-08 21:00:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:00:06 - End Time 2025-03-08 21:00:06 [2025-03-08 21:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637755', 'tblTempUsageDetail_20' ) start [2025-03-08 21:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637755', 'tblTempUsageDetail_20' ) end [2025-03-08 21:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637755', 'tblTempVendorCDR_20' ) start [2025-03-08 21:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637755', 'tblTempVendorCDR_20' ) end [2025-03-08 21:00:18] Production.INFO: ProcessCDR(1,14637755,1,1,2) [2025-03-08 21:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637755', 'tblTempUsageDetail_20' ) start [2025-03-08 21:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637755', 'tblTempUsageDetail_20' ) end [2025-03-08 21:00:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:00:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:00:23] Production.INFO: ==10859== Releasing lock... [2025-03-08 21:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:00:23] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 02:01:01] Production.INFO: ==10928== Lock acquired, processing the job... [2025-03-09 02:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:01:01] Production.INFO: neon service started [2025-03-09 02:01:01] Production.INFO: neon service started [2025-03-09 02:01:01] Production.INFO: ==10928== Releasing lock... [2025-03-09 02:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:01:02] Production.INFO: ==10939== Lock acquired, processing the job... [2025-03-08 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 02:01:02] Production.INFO: ==10941== Lock acquired, processing the job... [2025-03-09 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:01:02] Production.INFO: ==10941== Releasing lock... [2025-03-09 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:01:02] Production.INFO: ==10939== Releasing lock... [2025-03-08 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:01:03] Production.INFO: ==10948== Lock acquired, processing the job... [2025-03-08 21:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:01:03] Production.INFO: ==10952== Lock acquired, processing the job... [2025-03-08 21:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:01:04] Production.INFO: ==10944== Lock acquired, processing the job... [2025-03-08 21:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:01:04] Production.INFO: ==10946== Lock acquired, processing the job... [2025-03-08 21:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:01:04] Production.ERROR: done [2025-03-08 21:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:01:04] Production.INFO: ==10950== Lock acquired, processing the job... [2025-03-08 21:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:01:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:01:04] Production.INFO: ==10954== Lock acquired, processing the job... [2025-03-08 21:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:01:04] Production.ERROR: done [2025-03-08 21:01:04] Production.INFO: Account Balance Start. [2025-03-08 21:01:04] Production.INFO: CreateAllLog Start [2025-03-08 21:01:04] Production.INFO: 117 [2025-03-08 21:01:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:01:04] Production.INFO: Reseller ==> 0 [2025-03-08 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-08 21:01:04] Production.INFO: count ==13 [2025-03-08 21:01:04] Production.INFO: Total Charge 0 [2025-03-08 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-08 21:01:04] Production.INFO: count ==21 [2025-03-08 21:01:04] Production.INFO: CreateAllLog End [2025-03-08 21:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637760') start [2025-03-08 21:01:04] Production.INFO: ==10946== Releasing lock... [2025-03-08 21:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637760') end [2025-03-08 21:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:01:04] Production.INFO: 1 [2025-03-08 21:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:01:04] Production.INFO: Account Balance End. [2025-03-08 21:01:04] Production.INFO: ==10954== Releasing lock... [2025-03-08 21:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:01:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:01:04] Production.INFO: ==10950== Releasing lock... [2025-03-08 21:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:01:05 [end_date_ymd] => 2025-03-08 21:01:05 [RateCDR] => 1 ) [2025-03-08 21:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:01:05' and `end` < '2025-03-08 21:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:01:12] Production.ERROR: CronJobId end10 [2025-03-08 21:01:12] Production.INFO: ==10948== Releasing lock... [2025-03-08 21:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:01:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:01:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:01:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:01:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:01:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:01:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:01:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:01:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:01:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:01:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:01:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:01:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:01:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:01:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:01:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:01:15] Production.INFO: call_cost start [2025-03-08 21:01:15] Production.INFO: call_cost end [2025-03-08 21:01:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:01:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:01:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:01:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:01:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:01:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:01:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:01:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:01:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:01:15] Production.INFO: ==10944== Releasing lock... [2025-03-08 21:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:01:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:01:17] Production.INFO: count ==1218 [2025-03-08 21:01:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:01:05 - End Time 2025-03-08 21:01:05 [2025-03-08 21:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637761', 'tblTempUsageDetail_20' ) start [2025-03-08 21:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637761', 'tblTempUsageDetail_20' ) end [2025-03-08 21:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637761', 'tblTempVendorCDR_20' ) start [2025-03-08 21:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637761', 'tblTempVendorCDR_20' ) end [2025-03-08 21:01:18] Production.INFO: ProcessCDR(1,14637761,1,1,2) [2025-03-08 21:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637761', 'tblTempUsageDetail_20' ) start [2025-03-08 21:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637761', 'tblTempUsageDetail_20' ) end [2025-03-08 21:01:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:01:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:01:21] Production.INFO: ==10952== Releasing lock... [2025-03-08 21:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:01:21] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 02:02:02] Production.INFO: ==11017== Lock acquired, processing the job... [2025-03-09 02:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:02:02] Production.INFO: neon service started [2025-03-09 02:02:02] Production.INFO: neon service started [2025-03-09 02:02:02] Production.INFO: ==11017== Releasing lock... [2025-03-09 02:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:02:02] Production.INFO: ==11019== Lock acquired, processing the job... [2025-03-08 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:02:02] Production.INFO: ==11019== Releasing lock... [2025-03-08 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:02:02] Production.INFO: ==11021== Lock acquired, processing the job... [2025-03-09 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:02:03] Production.INFO: ==11021== Releasing lock... [2025-03-09 02:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:02:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:02:03] Production.INFO: ==11024== Lock acquired, processing the job... [2025-03-08 21:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:02:03] Production.INFO: ==11026== Lock acquired, processing the job... [2025-03-08 21:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:02:03] Production.INFO: ==11028== Lock acquired, processing the job... [2025-03-08 21:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:02:03] Production.INFO: ==11032== Lock acquired, processing the job... [2025-03-08 21:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:02:04] Production.INFO: ==11034== Lock acquired, processing the job... [2025-03-08 21:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:02:04] Production.INFO: ==11030== Lock acquired, processing the job... [2025-03-08 21:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:02:04] Production.INFO: Account Balance Start. [2025-03-08 21:02:04] Production.INFO: CreateAllLog Start [2025-03-08 21:02:04] Production.INFO: 117 [2025-03-08 21:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:02:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:02:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:02:04] Production.INFO: count ==13 [2025-03-08 21:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:02:04] Production.INFO: count ==21 [2025-03-08 21:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637765') start [2025-03-08 21:02:04] Production.INFO: ==11026== Releasing lock... [2025-03-08 21:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:02:04] Production.INFO: Total Charge 0 [2025-03-08 21:02:04] Production.INFO: CreateAllLog End [2025-03-08 21:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637765') end [2025-03-08 21:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:02:04] Production.INFO: 1 [2025-03-08 21:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:02:04] Production.INFO: ==11034== Releasing lock... [2025-03-08 21:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:02:04] Production.ERROR: done [2025-03-08 21:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:02:04] Production.INFO: Account Balance End. [2025-03-08 21:02:04] Production.ERROR: done [2025-03-08 21:02:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:02:04] Production.INFO: ==11030== Releasing lock... [2025-03-08 21:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:02:05 [end_date_ymd] => 2025-03-08 21:02:05 [RateCDR] => 1 ) [2025-03-08 21:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:02:05' and `end` < '2025-03-08 21:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:02:11] Production.ERROR: CronJobId end10 [2025-03-08 21:02:11] Production.INFO: ==11028== Releasing lock... [2025-03-08 21:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:02:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:02:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:02:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:02:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:02:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:02:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:02:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:02:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:02:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:02:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:02:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:02:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:02:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:02:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:02:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:02:14] Production.INFO: call_cost start [2025-03-08 21:02:14] Production.INFO: call_cost end [2025-03-08 21:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:02:15] Production.INFO: ==11024== Releasing lock... [2025-03-08 21:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:02:17] Production.INFO: count ==1214 [2025-03-08 21:02:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:02:05 - End Time 2025-03-08 21:02:05 [2025-03-08 21:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637766', 'tblTempUsageDetail_20' ) start [2025-03-08 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637766', 'tblTempUsageDetail_20' ) end [2025-03-08 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637766', 'tblTempVendorCDR_20' ) start [2025-03-08 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637766', 'tblTempVendorCDR_20' ) end [2025-03-08 21:02:18] Production.INFO: ProcessCDR(1,14637766,1,1,2) [2025-03-08 21:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637766', 'tblTempUsageDetail_20' ) start [2025-03-08 21:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637766', 'tblTempUsageDetail_20' ) end [2025-03-08 21:02:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:02:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:02:22] Production.INFO: ==11032== Releasing lock... [2025-03-08 21:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:02:22] Production.INFO: 37 MB #Memory Used# [2025-03-09 02:03:01] Production.INFO: ==11092== Lock acquired, processing the job... [2025-03-09 02:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:03:01] Production.INFO: neon service started [2025-03-09 02:03:01] Production.INFO: neon service started [2025-03-09 02:03:01] Production.INFO: ==11092== Releasing lock... [2025-03-09 02:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:03:01] Production.INFO: ==11094== Lock acquired, processing the job... [2025-03-08 21:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:03:02] Production.INFO: ==11094== Releasing lock... [2025-03-08 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:03:02] Production.INFO: ==11096== Lock acquired, processing the job... [2025-03-09 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:03:02] Production.INFO: ==11096== Releasing lock... [2025-03-09 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:03:02] Production.INFO: 26 MB #Memory Used# [2025-03-08 21:03:03] Production.INFO: ==11099== Lock acquired, processing the job... [2025-03-08 21:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:03:03] Production.INFO: ==11101== Lock acquired, processing the job... [2025-03-08 21:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:03:03] Production.INFO: ==11109== Lock acquired, processing the job... [2025-03-08 21:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:03:03] Production.INFO: ==11103== Lock acquired, processing the job... [2025-03-08 21:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:03:03] Production.INFO: ==11105== Lock acquired, processing the job... [2025-03-08 21:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:03:03] Production.INFO: ==11107== Lock acquired, processing the job... [2025-03-08 21:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:03:03] Production.INFO: Account Balance Start. [2025-03-08 21:03:03] Production.INFO: CreateAllLog Start [2025-03-08 21:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:03:03] Production.INFO: 117 [2025-03-08 21:03:03] Production.INFO: count ==13 [2025-03-08 21:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:03:03] Production.INFO: count ==21 [2025-03-08 21:03:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:03:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637768') start [2025-03-08 21:03:03] Production.INFO: Total Charge 0 [2025-03-08 21:03:03] Production.INFO: CreateAllLog End [2025-03-08 21:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637768') end [2025-03-08 21:03:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:03:03] Production.INFO: 1 [2025-03-08 21:03:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:03:03] Production.INFO: ==11101== Releasing lock... [2025-03-08 21:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:03:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:03:03] Production.ERROR: done [2025-03-08 21:03:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:03:03] Production.INFO: ==11109== Releasing lock... [2025-03-08 21:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:03:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:03:04] Production.INFO: Account Balance End. [2025-03-08 21:03:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:03:04] Production.INFO: ==11105== Releasing lock... [2025-03-08 21:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:03:04] Production.ERROR: done [2025-03-08 21:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:03:05 [end_date_ymd] => 2025-03-08 21:03:05 [RateCDR] => 1 ) [2025-03-08 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-08 18:03:05' and `end` < '2025-03-08 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-08 21:03:11] Production.ERROR: CronJobId end10 [2025-03-08 21:03:11] Production.INFO: ==11103== Releasing lock... [2025-03-08 21:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:03:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:03:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:03:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:03:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:03:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:03:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:03:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:03:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:03:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:03:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:03:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:03:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:03:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:03:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:03:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:03:13] Production.INFO: call_cost start [2025-03-08 21:03:13] Production.INFO: call_cost end [2025-03-08 21:03:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:03:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:03:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:03:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:03:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:03:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:03:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:03:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:03:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:03:14] Production.INFO: ==11099== Releasing lock... [2025-03-08 21:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:03:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:03:17] Production.INFO: count ==1218 [2025-03-08 21:03:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:03:05 - End Time 2025-03-08 21:03:05 [2025-03-08 21:03:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637771', 'tblTempUsageDetail_20' ) start [2025-03-08 21:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637771', 'tblTempUsageDetail_20' ) end [2025-03-08 21:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637771', 'tblTempVendorCDR_20' ) start [2025-03-08 21:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637771', 'tblTempVendorCDR_20' ) end [2025-03-08 21:03:17] Production.INFO: ProcessCDR(1,14637771,1,1,2) [2025-03-08 21:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637771', 'tblTempUsageDetail_20' ) start [2025-03-08 21:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637771', 'tblTempUsageDetail_20' ) end [2025-03-08 21:03:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:03:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:03:22] Production.INFO: ==11107== Releasing lock... [2025-03-08 21:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:03:22] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 02:04:02] Production.INFO: ==11173== Lock acquired, processing the job... [2025-03-09 02:04:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:04:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:04:02] Production.INFO: neon service started [2025-03-09 02:04:02] Production.INFO: neon service started [2025-03-09 02:04:02] Production.INFO: ==11173== Releasing lock... [2025-03-09 02:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:04:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:04:02] Production.INFO: ==11175== Lock acquired, processing the job... [2025-03-08 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:04:02] Production.INFO: ==11175== Releasing lock... [2025-03-08 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:04:02] Production.INFO: ==11177== Lock acquired, processing the job... [2025-03-09 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:04:02] Production.INFO: ==11177== Releasing lock... [2025-03-09 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:04:03] Production.INFO: ==11185== Lock acquired, processing the job... [2025-03-08 21:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:04:03] Production.INFO: ==11179== Lock acquired, processing the job... [2025-03-08 21:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:04:03] Production.INFO: Account Balance Start. [2025-03-08 21:04:03] Production.INFO: CreateAllLog Start [2025-03-08 21:04:03] Production.INFO: 117 [2025-03-08 21:04:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:04:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:04:03] Production.INFO: ==11189== Lock acquired, processing the job... [2025-03-08 21:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:04:03] Production.INFO: ==11181== Lock acquired, processing the job... [2025-03-08 21:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:04:03] Production.INFO: Total Charge 0 [2025-03-08 21:04:03] Production.INFO: CreateAllLog End [2025-03-08 21:04:03] Production.INFO: ==11183== Lock acquired, processing the job... [2025-03-08 21:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:04:04] Production.INFO: Account Balance End. [2025-03-08 21:04:04] Production.INFO: ==11187== Lock acquired, processing the job... [2025-03-08 21:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:04:04] Production.INFO: count ==13 [2025-03-08 21:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:04:04] Production.INFO: count ==21 [2025-03-08 21:04:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637774') start [2025-03-08 21:04:04] Production.INFO: ==11185== Releasing lock... [2025-03-08 21:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637774') end [2025-03-08 21:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:04:04] Production.INFO: 1 [2025-03-08 21:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:04:04] Production.INFO: ==11189== Releasing lock... [2025-03-08 21:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:04:04] Production.INFO: ==11181== Releasing lock... [2025-03-08 21:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:04:04] Production.ERROR: done [2025-03-08 21:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:04:04] Production.ERROR: done [2025-03-08 21:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:04:05 [end_date_ymd] => 2025-03-08 21:04:05 [RateCDR] => 1 ) [2025-03-08 21:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:04:05' and `end` < '2025-03-08 21:04:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:04:13] Production.ERROR: CronJobId end10 [2025-03-08 21:04:13] Production.INFO: ==11183== Releasing lock... [2025-03-08 21:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:04:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:04:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:04:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:04:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:04:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:04:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:04:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:04:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:04:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:04:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:04:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:04:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:04:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:04:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:04:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:04:13] Production.INFO: call_cost start [2025-03-08 21:04:13] Production.INFO: call_cost end [2025-03-08 21:04:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:04:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:04:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:04:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:04:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:04:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:04:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:04:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:04:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:04:14] Production.INFO: ==11179== Releasing lock... [2025-03-08 21:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:04:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:04:17] Production.INFO: count ==1218 [2025-03-08 21:04:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:04:05 - End Time 2025-03-08 21:04:05 [2025-03-08 21:04:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637776', 'tblTempUsageDetail_20' ) start [2025-03-08 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637776', 'tblTempUsageDetail_20' ) end [2025-03-08 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637776', 'tblTempVendorCDR_20' ) start [2025-03-08 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637776', 'tblTempVendorCDR_20' ) end [2025-03-08 21:04:18] Production.INFO: ProcessCDR(1,14637776,1,1,2) [2025-03-08 21:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637776', 'tblTempUsageDetail_20' ) start [2025-03-08 21:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637776', 'tblTempUsageDetail_20' ) end [2025-03-08 21:04:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:04:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:04:21] Production.INFO: ==11187== Releasing lock... [2025-03-08 21:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:04:21] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 02:05:01] Production.INFO: ==11291== Lock acquired, processing the job... [2025-03-09 02:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:05:01] Production.INFO: neon service started [2025-03-09 02:05:01] Production.INFO: neon service started [2025-03-09 02:05:01] Production.INFO: ==11291== Releasing lock... [2025-03-09 02:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:05:02] Production.INFO: ==11293== Lock acquired, processing the job... [2025-03-08 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 02:05:02] Production.INFO: ==11295== Lock acquired, processing the job... [2025-03-09 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:05:02] Production.INFO: ==11295== Releasing lock... [2025-03-09 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:05:02] Production.INFO: ==11293== Releasing lock... [2025-03-08 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:05:03] Production.INFO: ==11300== Lock acquired, processing the job... [2025-03-08 21:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:05:03] Production.INFO: ==11302== Lock acquired, processing the job... [2025-03-08 21:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:05:03] Production.INFO: ==11304== Lock acquired, processing the job... [2025-03-08 21:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:05:03] Production.INFO: Account Balance Start. [2025-03-08 21:05:03] Production.INFO: CreateAllLog Start [2025-03-08 21:05:03] Production.INFO: 117 [2025-03-08 21:05:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:05:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:05:03] Production.INFO: ==11300== Releasing lock... [2025-03-08 21:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:05:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:05:03] Production.INFO: Total Charge 0 [2025-03-08 21:05:03] Production.INFO: ==11298== Lock acquired, processing the job... [2025-03-08 21:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:05:03] Production.INFO: CreateAllLog End [2025-03-08 21:05:03] Production.INFO: ==11306== Lock acquired, processing the job... [2025-03-08 21:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:05:03] Production.INFO: Account Balance End. [2025-03-08 21:05:03] Production.INFO: ==11308== Lock acquired, processing the job... [2025-03-08 21:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:05:03] Production.ERROR: CronJobId end 12 [2025-03-08 21:05:03] Production.INFO: ==11304== Releasing lock... [2025-03-08 21:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:05:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:05:04] Production.INFO: count ==13 [2025-03-08 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-08 21:05:04] Production.INFO: count ==21 [2025-03-08 21:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637780') start [2025-03-08 21:05:04] Production.ERROR: done [2025-03-08 21:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:05:04] Production.ERROR: done [2025-03-08 21:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637780') end [2025-03-08 21:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:05:04] Production.INFO: 1 [2025-03-08 21:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:05:04] Production.INFO: ==11308== Releasing lock... [2025-03-08 21:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:05:05 [end_date_ymd] => 2025-03-08 21:05:05 [RateCDR] => 1 ) [2025-03-08 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-08 18:05:05' and `end` < '2025-03-08 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-08 21:05:11] Production.ERROR: CronJobId end10 [2025-03-08 21:05:11] Production.INFO: ==11302== Releasing lock... [2025-03-08 21:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:05:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:05:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:05:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:05:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:05:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:05:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:05:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:05:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:05:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:05:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:05:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:05:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:05:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:05:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:05:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:05:14] Production.INFO: call_cost start [2025-03-08 21:05:14] Production.INFO: call_cost end [2025-03-08 21:05:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:05:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:05:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:05:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:05:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:05:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:05:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:05:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:05:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:05:14] Production.INFO: ==11298== Releasing lock... [2025-03-08 21:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:05:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:05:17] Production.INFO: count ==1216 [2025-03-08 21:05:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:05:05 - End Time 2025-03-08 21:05:05 [2025-03-08 21:05:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637781', 'tblTempUsageDetail_20' ) start [2025-03-08 21:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637781', 'tblTempUsageDetail_20' ) end [2025-03-08 21:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637781', 'tblTempVendorCDR_20' ) start [2025-03-08 21:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637781', 'tblTempVendorCDR_20' ) end [2025-03-08 21:05:17] Production.INFO: ProcessCDR(1,14637781,1,1,2) [2025-03-08 21:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637781', 'tblTempUsageDetail_20' ) start [2025-03-08 21:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637781', 'tblTempUsageDetail_20' ) end [2025-03-08 21:05:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:05:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:05:21] Production.INFO: ==11306== Releasing lock... [2025-03-08 21:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:05:21] Production.INFO: 37 MB #Memory Used# [2025-03-09 02:06:02] Production.INFO: ==11367== Lock acquired, processing the job... [2025-03-09 02:06:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:06:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:06:02] Production.INFO: neon service started [2025-03-09 02:06:02] Production.INFO: neon service started [2025-03-09 02:06:02] Production.INFO: ==11367== Releasing lock... [2025-03-09 02:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:06:02] Production.INFO: ==11370== Lock acquired, processing the job... [2025-03-08 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:06:02] Production.INFO: ==11370== Releasing lock... [2025-03-08 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:06:03] Production.INFO: ==11372== Lock acquired, processing the job... [2025-03-09 02:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:06:03] Production.INFO: ==11372== Releasing lock... [2025-03-09 02:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:06:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:06:03] Production.INFO: ==11382== Lock acquired, processing the job... [2025-03-08 21:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:06:03] Production.INFO: ==11384== Lock acquired, processing the job... [2025-03-08 21:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:06:04] Production.INFO: ==11374== Lock acquired, processing the job... [2025-03-08 21:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:06:04] Production.INFO: ==11376== Lock acquired, processing the job... [2025-03-08 21:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:06:04] Production.INFO: ==11378== Lock acquired, processing the job... [2025-03-08 21:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 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-08 21:06:04] Production.INFO: ==11380== Lock acquired, processing the job... [2025-03-08 21:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:06:04] Production.INFO: count ==13 [2025-03-08 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-08 21:06:04] Production.INFO: count ==21 [2025-03-08 21:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637782') start [2025-03-08 21:06:04] Production.ERROR: done [2025-03-08 21:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:06:04] Production.INFO: Account Balance Start. [2025-03-08 21:06:04] Production.INFO: CreateAllLog Start [2025-03-08 21:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:06:04] Production.INFO: 117 [2025-03-08 21:06:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:06:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637782') end [2025-03-08 21:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:06:04] Production.INFO: 1 [2025-03-08 21:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:06:04] Production.INFO: ==11384== Releasing lock... [2025-03-08 21:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:06:04] Production.ERROR: done [2025-03-08 21:06:04] Production.INFO: ==11376== Releasing lock... [2025-03-08 21:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:06:04] Production.INFO: Total Charge 0 [2025-03-08 21:06:04] Production.INFO: CreateAllLog End [2025-03-08 21:06:04] Production.INFO: Account Balance End. [2025-03-08 21:06:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:06:04] Production.INFO: ==11380== Releasing lock... [2025-03-08 21:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:06:05 [end_date_ymd] => 2025-03-08 21:06:05 [RateCDR] => 1 ) [2025-03-08 21:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:06:05' and `end` < '2025-03-08 21:06:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:06:12] Production.ERROR: CronJobId end10 [2025-03-08 21:06:12] Production.INFO: ==11378== Releasing lock... [2025-03-08 21:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:06:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:06:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:06:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:06:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:06:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:06:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:06:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:06:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:06:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:06:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:06:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:06:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:06:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:06:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:06:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:06:14] Production.INFO: call_cost start [2025-03-08 21:06:14] Production.INFO: call_cost end [2025-03-08 21:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:06:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:06:15] Production.INFO: ==11374== Releasing lock... [2025-03-08 21:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:06:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:06:17] Production.INFO: count ==1206 [2025-03-08 21:06:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:06:05 - End Time 2025-03-08 21:06:05 [2025-03-08 21:06:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637786', 'tblTempUsageDetail_20' ) start [2025-03-08 21:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637786', 'tblTempUsageDetail_20' ) end [2025-03-08 21:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637786', 'tblTempVendorCDR_20' ) start [2025-03-08 21:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637786', 'tblTempVendorCDR_20' ) end [2025-03-08 21:06:18] Production.INFO: ProcessCDR(1,14637786,1,1,2) [2025-03-08 21:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637786', 'tblTempUsageDetail_20' ) start [2025-03-08 21:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637786', 'tblTempUsageDetail_20' ) end [2025-03-08 21:06:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:06:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:06:21] Production.INFO: ==11382== Releasing lock... [2025-03-08 21:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:06:21] Production.INFO: 37 MB #Memory Used# [2025-03-09 02:07:01] Production.INFO: ==11446== Lock acquired, processing the job... [2025-03-09 02:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:07:01] Production.INFO: neon service started [2025-03-09 02:07:01] Production.INFO: neon service started [2025-03-09 02:07:01] Production.INFO: ==11446== Releasing lock... [2025-03-09 02:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:07:02] Production.INFO: ==11451== Lock acquired, processing the job... [2025-03-09 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:07:02] Production.INFO: ==11451== Releasing lock... [2025-03-09 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:07:02] Production.INFO: ==11449== Lock acquired, processing the job... [2025-03-08 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:07:02] Production.INFO: ==11449== Releasing lock... [2025-03-08 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:07:03] Production.INFO: ==11453== Lock acquired, processing the job... [2025-03-08 21:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:07:03] Production.INFO: ==11463== Lock acquired, processing the job... [2025-03-08 21:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:07:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:07:04] Production.INFO: ==11461== Lock acquired, processing the job... [2025-03-08 21:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:07:04] Production.INFO: ==11455== Lock acquired, processing the job... [2025-03-08 21:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:07:04] Production.INFO: count ==13 [2025-03-08 21:07:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:07:04] Production.INFO: count ==21 [2025-03-08 21:07:04] Production.INFO: ==11457== Lock acquired, processing the job... [2025-03-08 21:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637788') start [2025-03-08 21:07:04] Production.INFO: ==11459== Lock acquired, processing the job... [2025-03-08 21:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637788') end [2025-03-08 21:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:07:04] Production.INFO: 1 [2025-03-08 21:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:07:04] Production.INFO: Account Balance Start. [2025-03-08 21:07:04] Production.INFO: CreateAllLog Start [2025-03-08 21:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:07:04] Production.INFO: 117 [2025-03-08 21:07:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:07:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:07:04] Production.INFO: Total Charge 0 [2025-03-08 21:07:04] Production.INFO: CreateAllLog End [2025-03-08 21:07:04] Production.INFO: ==11463== Releasing lock... [2025-03-08 21:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:07:04] Production.INFO: ==11455== Releasing lock... [2025-03-08 21:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:07:04] Production.ERROR: done [2025-03-08 21:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:07:05] Production.ERROR: done [2025-03-08 21:07:05] Production.INFO: Account Balance End. [2025-03-08 21:07:05] Production.ERROR: CronJobId end 12 [2025-03-08 21:07:05] Production.INFO: ==11459== Releasing lock... [2025-03-08 21:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:07:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:07:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:07:06 [end_date_ymd] => 2025-03-08 21:07:06 [RateCDR] => 1 ) [2025-03-08 21: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-08 18:07:06' and `end` < '2025-03-08 21: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-08 21:07:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php: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-08 21:07:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:07:12] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:07:12] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:07:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:07:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:07:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:07:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:07:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:07:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:07:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:07:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:07:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:07:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:07:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:07:13] Production.INFO: call_cost start [2025-03-08 21:07:13] Production.INFO: call_cost end [2025-03-08 21:07:13] Production.ERROR: CronJobId end10 [2025-03-08 21:07:13] Production.INFO: ==11457== Releasing lock... [2025-03-08 21:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:07:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:07:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:07:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:07:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:07:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:07:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:07:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:07:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:07:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:07:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:07:14] Production.INFO: ==11453== Releasing lock... [2025-03-08 21:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:07:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:07:18] Production.INFO: count ==1204 [2025-03-08 21:07:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:07:06 - End Time 2025-03-08 21:07:06 [2025-03-08 21:07:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637791', 'tblTempUsageDetail_20' ) start [2025-03-08 21:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637791', 'tblTempUsageDetail_20' ) end [2025-03-08 21:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637791', 'tblTempVendorCDR_20' ) start [2025-03-08 21:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637791', 'tblTempVendorCDR_20' ) end [2025-03-08 21:07:18] Production.INFO: ProcessCDR(1,14637791,1,1,2) [2025-03-08 21:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637791', 'tblTempUsageDetail_20' ) start [2025-03-08 21:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637791', 'tblTempUsageDetail_20' ) end [2025-03-08 21:07:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:07:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:07:23] Production.INFO: ==11461== Releasing lock... [2025-03-08 21:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:07:23] Production.INFO: 37 MB #Memory Used# [2025-03-09 02:08:02] Production.INFO: ==11536== Lock acquired, processing the job... [2025-03-09 02:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:08:02] Production.INFO: neon service started [2025-03-09 02:08:02] Production.INFO: neon service started [2025-03-09 02:08:02] Production.INFO: ==11536== Releasing lock... [2025-03-09 02:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:08:02] Production.INFO: ==11538== Lock acquired, processing the job... [2025-03-08 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:08:02] Production.INFO: ==11538== Releasing lock... [2025-03-08 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:08:03] Production.INFO: ==11540== Lock acquired, processing the job... [2025-03-09 02:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:08:03] Production.INFO: ==11540== Releasing lock... [2025-03-09 02:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:08:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:08:03] Production.INFO: ==11542== Lock acquired, processing the job... [2025-03-08 21:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:08:04] Production.INFO: ==11550== Lock acquired, processing the job... [2025-03-08 21:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:08:04] Production.INFO: ==11552== Lock acquired, processing the job... [2025-03-08 21:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:08:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:08:04] Production.INFO: ==11544== Lock acquired, processing the job... [2025-03-08 21:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:08:04] Production.INFO: ==11548== Lock acquired, processing the job... [2025-03-08 21:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:08:04] Production.INFO: ==11546== Lock acquired, processing the job... [2025-03-08 21:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:08:04] Production.INFO: Account Balance Start. [2025-03-08 21:08:04] Production.INFO: CreateAllLog Start [2025-03-08 21:08:04] Production.INFO: 117 [2025-03-08 21:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:08:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:08:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:08:04] Production.INFO: count ==13 [2025-03-08 21:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:08:04] Production.ERROR: done [2025-03-08 21:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:08:04] Production.INFO: count ==21 [2025-03-08 21:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637793') start [2025-03-08 21:08:04] Production.INFO: Total Charge 0 [2025-03-08 21:08:04] Production.INFO: CreateAllLog End [2025-03-08 21:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637793') end [2025-03-08 21:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:08:04] Production.INFO: 1 [2025-03-08 21:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:08:04] Production.ERROR: done [2025-03-08 21:08:04] Production.INFO: ==11544== Releasing lock... [2025-03-08 21:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:08:04] Production.INFO: ==11552== Releasing lock... [2025-03-08 21:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:08:04] Production.INFO: Account Balance End. [2025-03-08 21:08:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:08:04] Production.INFO: ==11548== Releasing lock... [2025-03-08 21:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:08:05 [end_date_ymd] => 2025-03-08 21:08:05 [RateCDR] => 1 ) [2025-03-08 21:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:08:05' and `end` < '2025-03-08 21:08:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:08:12] Production.ERROR: CronJobId end10 [2025-03-08 21:08:12] Production.INFO: ==11546== Releasing lock... [2025-03-08 21:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:08:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:08:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:08:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:08:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:08:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:08:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:08:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:08:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:08:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:08:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:08:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:08:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:08:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:08:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:08:15] Production.INFO: call_cost start [2025-03-08 21:08:15] Production.INFO: call_cost end [2025-03-08 21:08:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:08:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:08:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:08:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:08:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:08:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:08:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:08:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:08:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:08:16] Production.INFO: ==11542== Releasing lock... [2025-03-08 21:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:08:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:08:17] Production.INFO: count ==1208 [2025-03-08 21:08:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:08:05 - End Time 2025-03-08 21:08:05 [2025-03-08 21:08:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637796', 'tblTempUsageDetail_20' ) start [2025-03-08 21:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637796', 'tblTempUsageDetail_20' ) end [2025-03-08 21:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637796', 'tblTempVendorCDR_20' ) start [2025-03-08 21:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637796', 'tblTempVendorCDR_20' ) end [2025-03-08 21:08:18] Production.INFO: ProcessCDR(1,14637796,1,1,2) [2025-03-08 21:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637796', 'tblTempUsageDetail_20' ) start [2025-03-08 21:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637796', 'tblTempUsageDetail_20' ) end [2025-03-08 21:08:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:08:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:08:23] Production.INFO: ==11550== Releasing lock... [2025-03-08 21:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:08:23] Production.INFO: 37 MB #Memory Used# [2025-03-09 02:09:01] Production.INFO: ==11616== Lock acquired, processing the job... [2025-03-09 02:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:09:01] Production.INFO: neon service started [2025-03-09 02:09:01] Production.INFO: neon service started [2025-03-09 02:09:01] Production.INFO: ==11616== Releasing lock... [2025-03-09 02:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:09:02] Production.INFO: ==11618== Lock acquired, processing the job... [2025-03-08 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:09:02] Production.INFO: ==11618== Releasing lock... [2025-03-08 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:09:02] Production.INFO: ==11620== Lock acquired, processing the job... [2025-03-09 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:09:02] Production.INFO: ==11620== Releasing lock... [2025-03-09 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:09:03] Production.INFO: ==11631== Lock acquired, processing the job... [2025-03-08 21:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:09:03] Production.INFO: ==11633== Lock acquired, processing the job... [2025-03-08 21:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:09:03] Production.INFO: ==11623== Lock acquired, processing the job... [2025-03-08 21:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:09:03] Production.INFO: ==11625== Lock acquired, processing the job... [2025-03-08 21:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:09:03] Production.INFO: ==11627== Lock acquired, processing the job... [2025-03-08 21:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:09:03] Production.INFO: ==11629== Lock acquired, processing the job... [2025-03-08 21:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:09:03] Production.INFO: count ==13 [2025-03-08 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-08 21:09:03] Production.ERROR: done [2025-03-08 21:09:03] Production.INFO: count ==21 [2025-03-08 21:09:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637798') start [2025-03-08 21:09:03] Production.INFO: Account Balance Start. [2025-03-08 21:09:03] Production.INFO: CreateAllLog Start [2025-03-08 21:09:03] Production.INFO: 117 [2025-03-08 21:09:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:09:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637798') end [2025-03-08 21:09:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:09:03] Production.INFO: 1 [2025-03-08 21:09:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:09:04] Production.ERROR: done [2025-03-08 21:09:04] Production.INFO: ==11625== Releasing lock... [2025-03-08 21:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:09:04] Production.INFO: Total Charge 0 [2025-03-08 21:09:04] Production.INFO: ==11633== Releasing lock... [2025-03-08 21:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:09:04] Production.INFO: CreateAllLog End [2025-03-08 21:09:04] Production.INFO: Account Balance End. [2025-03-08 21:09:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:09:04] Production.INFO: ==11629== Releasing lock... [2025-03-08 21:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:09:05 [end_date_ymd] => 2025-03-08 21:09:05 [RateCDR] => 1 ) [2025-03-08 21:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:09:05' and `end` < '2025-03-08 21:09:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:09:12] Production.ERROR: CronJobId end10 [2025-03-08 21:09:12] Production.INFO: ==11627== Releasing lock... [2025-03-08 21:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:09:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:09:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:09:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:09:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:09:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:09:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:09:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:09:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:09:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:09:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:09:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:09:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:09:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:09:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:09:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:09:14] Production.INFO: call_cost start [2025-03-08 21:09:14] Production.INFO: call_cost end [2025-03-08 21:09:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:09:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:09:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:09:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:09:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:09:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:09:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:09:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:09:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:09:15] Production.INFO: ==11623== Releasing lock... [2025-03-08 21:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:09:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:09:17] Production.INFO: count ==1208 [2025-03-08 21:09:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:09:05 - End Time 2025-03-08 21:09:05 [2025-03-08 21:09:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637801', 'tblTempUsageDetail_20' ) start [2025-03-08 21:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637801', 'tblTempUsageDetail_20' ) end [2025-03-08 21:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637801', 'tblTempVendorCDR_20' ) start [2025-03-08 21:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637801', 'tblTempVendorCDR_20' ) end [2025-03-08 21:09:17] Production.INFO: ProcessCDR(1,14637801,1,1,2) [2025-03-08 21:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637801', 'tblTempUsageDetail_20' ) start [2025-03-08 21:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637801', 'tblTempUsageDetail_20' ) end [2025-03-08 21:09:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:09:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:09:22] Production.INFO: ==11631== Releasing lock... [2025-03-08 21:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:09:22] Production.INFO: 37 MB #Memory Used# [2025-03-09 02:10:02] Production.INFO: ==11697== Lock acquired, processing the job... [2025-03-09 02:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:10:02] Production.INFO: neon service started [2025-03-09 02:10:02] Production.INFO: neon service started [2025-03-09 02:10:02] Production.INFO: ==11697== Releasing lock... [2025-03-09 02:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:10:02] Production.INFO: ==11699== Lock acquired, processing the job... [2025-03-08 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 02:10:02] Production.INFO: ==11701== Lock acquired, processing the job... [2025-03-09 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 21:10:02] Production.INFO: ==11699== Releasing lock... [2025-03-08 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:10:03] Production.INFO: ==11701== Releasing lock... [2025-03-09 02:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:10:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:10:04] Production.INFO: ==11703== Lock acquired, processing the job... [2025-03-08 21:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 21:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 21:10:04] Production.INFO: ==11705== Lock acquired, processing the job... [2025-03-08 21:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 21:10:04] Production.INFO: ==11703== Releasing lock... [2025-03-08 21:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 21:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 21:10:04] Production.INFO: ==11709== Lock acquired, processing the job... [2025-03-08 21:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:10:04] Production.INFO: ==11707== Lock acquired, processing the job... [2025-03-08 21:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:10:04] Production.INFO: ==11713== Lock acquired, processing the job... [2025-03-08 21:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:10:04] Production.INFO: ==11711== Lock acquired, processing the job... [2025-03-08 21:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:10:04] Production.INFO: ==11715== Lock acquired, processing the job... [2025-03-08 21:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 21:10:04] Production.INFO: ==11717== Lock acquired, processing the job... [2025-03-08 21:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:10:04] Production.INFO: Account Balance Start. [2025-03-08 21:10:04] Production.INFO: CreateAllLog Start [2025-03-08 21:10:04] Production.INFO: 117 [2025-03-08 21:10:04] Production.INFO: ==11707== Releasing lock... [2025-03-08 21:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 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-08 21:10:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:10:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:10:04] Production.INFO: count ==13 [2025-03-08 21:10:05] Production.INFO: Total Charge 0 [2025-03-08 21: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-08 21:10:05] Production.INFO: count ==21 [2025-03-08 21:10:05] Production.ERROR: done [2025-03-08 21:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:10:05] Production.INFO: CreateAllLog End [2025-03-08 21:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637804') start [2025-03-08 21:10:05] Production.ERROR: done [2025-03-08 21:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 21:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637806', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 21:10:05] Production.ERROR: done [2025-03-08 21:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637804') end [2025-03-08 21:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:10:05] Production.INFO: 1 [2025-03-08 21:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:10:05] Production.INFO: ==11717== Releasing lock... [2025-03-08 21:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:10:05] Production.INFO: Account Balance End. [2025-03-08 21:10:05] Production.ERROR: CronJobId end 12 [2025-03-08 21:10:05] Production.INFO: ==11711== Releasing lock... [2025-03-08 21:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:10:06 [end_date_ymd] => 2025-03-08 21:10:06 [RateCDR] => 1 ) [2025-03-08 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-08 18:10:06' and `end` < '2025-03-08 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-08 21:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637806', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 21:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 21:10:09] Production.INFO: ProcessCDR(1,14637806,1,1,2) [2025-03-08 21:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14637806,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14637806,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:10:09] Production.INFO: ==11715== Releasing lock... [2025-03-08 21:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 21:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-08 21:10:14] Production.ERROR: CronJobId end10 [2025-03-08 21:10:14] Production.INFO: ==11709== Releasing lock... [2025-03-08 21:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:10:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:10:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:10:16] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:10:16] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:10:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:10:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:10:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:10:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:10:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:10:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:10:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:10:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:10:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:10:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:10:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:10:16] Production.INFO: call_cost start [2025-03-08 21:10:16] Production.INFO: call_cost end [2025-03-08 21:10:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:10:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:10:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:10:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:10:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:10:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:10:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:10:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:10:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:10:17] Production.INFO: ==11705== Releasing lock... [2025-03-08 21:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:10:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:10:18] Production.INFO: count ==1205 [2025-03-08 21:10:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:10:06 - End Time 2025-03-08 21:10:06 [2025-03-08 21:10:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637807', 'tblTempUsageDetail_20' ) start [2025-03-08 21:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637807', 'tblTempUsageDetail_20' ) end [2025-03-08 21:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637807', 'tblTempVendorCDR_20' ) start [2025-03-08 21:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637807', 'tblTempVendorCDR_20' ) end [2025-03-08 21:10:18] Production.INFO: ProcessCDR(1,14637807,1,1,2) [2025-03-08 21:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637807', 'tblTempUsageDetail_20' ) start [2025-03-08 21:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637807', 'tblTempUsageDetail_20' ) end [2025-03-08 21:10:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:10:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:10:23] Production.INFO: ==11713== Releasing lock... [2025-03-08 21:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:10:23] Production.INFO: 37 MB #Memory Used# [2025-03-09 02:11:01] Production.INFO: ==11784== Lock acquired, processing the job... [2025-03-09 02:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:11:01] Production.INFO: neon service started [2025-03-09 02:11:01] Production.INFO: neon service started [2025-03-09 02:11:01] Production.INFO: ==11784== Releasing lock... [2025-03-09 02:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:11:02] Production.INFO: ==11786== Lock acquired, processing the job... [2025-03-08 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 02:11:02] Production.INFO: ==11788== Lock acquired, processing the job... [2025-03-09 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:11:02] Production.INFO: ==11788== Releasing lock... [2025-03-09 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:11:02] Production.INFO: ==11786== Releasing lock... [2025-03-08 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:11:03] Production.INFO: ==11791== Lock acquired, processing the job... [2025-03-08 21:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:11:03] Production.INFO: ==11793== Lock acquired, processing the job... [2025-03-08 21:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:11:03] Production.INFO: ==11799== Lock acquired, processing the job... [2025-03-08 21:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:11:03] Production.INFO: ==11795== Lock acquired, processing the job... [2025-03-08 21:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:11:03] Production.INFO: ==11797== Lock acquired, processing the job... [2025-03-08 21:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:11:04] Production.INFO: ==11793== Releasing lock... [2025-03-08 21:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:11:04] Production.INFO: Account Balance Start. [2025-03-08 21:11:04] Production.INFO: CreateAllLog Start [2025-03-08 21:11:04] Production.INFO: 117 [2025-03-08 21:11:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:11:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:11:04] Production.INFO: ==11801== Lock acquired, processing the job... [2025-03-08 21:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:11:04] Production.INFO: Total Charge 0 [2025-03-08 21:11:04] Production.INFO: CreateAllLog End [2025-03-08 21:11:04] Production.ERROR: done [2025-03-08 21:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:11:04] Production.INFO: count ==13 [2025-03-08 21:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:11:04] Production.INFO: count ==21 [2025-03-08 21:11:04] Production.ERROR: done [2025-03-08 21:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637811') start [2025-03-08 21:11:04] Production.INFO: Account Balance End. [2025-03-08 21:11:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:11:04] Production.INFO: ==11797== Releasing lock... [2025-03-08 21:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637811') end [2025-03-08 21:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:11:04] Production.INFO: 1 [2025-03-08 21:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:11:04] Production.INFO: ==11801== Releasing lock... [2025-03-08 21:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:11:05 [end_date_ymd] => 2025-03-08 21:11:05 [RateCDR] => 1 ) [2025-03-08 21:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:11:05' and `end` < '2025-03-08 21:11:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:11:11] Production.ERROR: CronJobId end10 [2025-03-08 21:11:11] Production.INFO: ==11795== Releasing lock... [2025-03-08 21:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:11:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:11:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:11:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:11:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:11:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:11:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:11:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:11:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:11:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:11:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:11:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:11:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:11:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:11:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:11:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:11:13] Production.INFO: call_cost start [2025-03-08 21:11:13] Production.INFO: call_cost end [2025-03-08 21:11:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:11:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:11:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:11:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:11:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:11:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:11:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:11:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:11:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:11:14] Production.INFO: ==11791== Releasing lock... [2025-03-08 21:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:11:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:11:17] Production.INFO: count ==1210 [2025-03-08 21:11:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:11:05 - End Time 2025-03-08 21:11:05 [2025-03-08 21:11:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637812', 'tblTempUsageDetail_20' ) start [2025-03-08 21:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637812', 'tblTempUsageDetail_20' ) end [2025-03-08 21:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637812', 'tblTempVendorCDR_20' ) start [2025-03-08 21:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637812', 'tblTempVendorCDR_20' ) end [2025-03-08 21:11:17] Production.INFO: ProcessCDR(1,14637812,1,1,2) [2025-03-08 21:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637812', 'tblTempUsageDetail_20' ) start [2025-03-08 21:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637812', 'tblTempUsageDetail_20' ) end [2025-03-08 21:11:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:11:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:11:21] Production.INFO: ==11799== Releasing lock... [2025-03-08 21:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:11:21] Production.INFO: 37 MB #Memory Used# [2025-03-09 02:12:02] Production.INFO: ==11865== Lock acquired, processing the job... [2025-03-09 02:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:12:02] Production.INFO: neon service started [2025-03-09 02:12:02] Production.INFO: neon service started [2025-03-09 02:12:02] Production.INFO: ==11865== Releasing lock... [2025-03-09 02:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:12:02] Production.INFO: ==11867== Lock acquired, processing the job... [2025-03-08 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 02:12:02] Production.INFO: ==11869== Lock acquired, processing the job... [2025-03-09 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:12:02] Production.INFO: ==11869== Releasing lock... [2025-03-09 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:12:02] Production.INFO: ==11867== Releasing lock... [2025-03-08 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:12:03] Production.INFO: ==11872== Lock acquired, processing the job... [2025-03-08 21:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:12:03] Production.INFO: ==11874== Lock acquired, processing the job... [2025-03-08 21:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:12:03] Production.INFO: ==11878== Lock acquired, processing the job... [2025-03-08 21:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:12:03] Production.INFO: ==11876== Lock acquired, processing the job... [2025-03-08 21:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:12:03] Production.INFO: ==11874== Releasing lock... [2025-03-08 21:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:12:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:12:03] Production.INFO: ==11880== Lock acquired, processing the job... [2025-03-08 21:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:12:03] Production.INFO: Account Balance Start. [2025-03-08 21:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:12:03] Production.INFO: CreateAllLog Start [2025-03-08 21:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:12:03] Production.INFO: 117 [2025-03-08 21:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:12:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:12:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:12:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:12:04] Production.INFO: ==11882== Lock acquired, processing the job... [2025-03-08 21:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:12:04] Production.INFO: Total Charge 0 [2025-03-08 21:12:04] Production.INFO: CreateAllLog End [2025-03-08 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-08 21:12:04] Production.INFO: count ==13 [2025-03-08 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-08 21:12:04] Production.INFO: count ==21 [2025-03-08 21:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637816') start [2025-03-08 21:12:04] Production.ERROR: done [2025-03-08 21:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637816') end [2025-03-08 21:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:12:04] Production.INFO: 1 [2025-03-08 21:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:12:04] Production.ERROR: done [2025-03-08 21:12:04] Production.INFO: ==11882== Releasing lock... [2025-03-08 21:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:12:04] Production.INFO: Account Balance End. [2025-03-08 21:12:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:12:04] Production.INFO: ==11878== Releasing lock... [2025-03-08 21:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:12:05 [end_date_ymd] => 2025-03-08 21:12:05 [RateCDR] => 1 ) [2025-03-08 21:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:12:05' and `end` < '2025-03-08 21:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:12:12] Production.ERROR: CronJobId end10 [2025-03-08 21:12:12] Production.INFO: ==11876== Releasing lock... [2025-03-08 21:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:12:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:12:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:12:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:12:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:12:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:12:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:12:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:12:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:12:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:12:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:12:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:12:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:12:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:12:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:12:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:12:14] Production.INFO: call_cost start [2025-03-08 21:12:14] Production.INFO: call_cost end [2025-03-08 21:12:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:12:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:12:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:12:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:12:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:12:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:12:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:12:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:12:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:12:15] Production.INFO: ==11872== Releasing lock... [2025-03-08 21:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:12:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:12:17] Production.INFO: count ==1209 [2025-03-08 21:12:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:12:05 - End Time 2025-03-08 21:12:05 [2025-03-08 21:12:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637817', 'tblTempUsageDetail_20' ) start [2025-03-08 21:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637817', 'tblTempUsageDetail_20' ) end [2025-03-08 21:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637817', 'tblTempVendorCDR_20' ) start [2025-03-08 21:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637817', 'tblTempVendorCDR_20' ) end [2025-03-08 21:12:17] Production.INFO: ProcessCDR(1,14637817,1,1,2) [2025-03-08 21:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637817', 'tblTempUsageDetail_20' ) start [2025-03-08 21:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637817', 'tblTempUsageDetail_20' ) end [2025-03-08 21:12:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:12:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:12:21] Production.INFO: ==11880== Releasing lock... [2025-03-08 21:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:12:21] Production.INFO: 37 MB #Memory Used# [2025-03-09 02:13:01] Production.INFO: ==11944== Lock acquired, processing the job... [2025-03-09 02:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:13:01] Production.INFO: neon service started [2025-03-09 02:13:01] Production.INFO: neon service started [2025-03-09 02:13:01] Production.INFO: ==11944== Releasing lock... [2025-03-09 02:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:13:01] Production.INFO: ==11946== Lock acquired, processing the job... [2025-03-08 21:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:13:02] Production.INFO: ==11946== Releasing lock... [2025-03-08 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:13:02] Production.INFO: ==11948== Lock acquired, processing the job... [2025-03-09 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:13:02] Production.INFO: ==11948== Releasing lock... [2025-03-09 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:13:03] Production.INFO: ==11960== Lock acquired, processing the job... [2025-03-08 21:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:13:03] Production.INFO: ==11958== Lock acquired, processing the job... [2025-03-08 21:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 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-08 21:13:03] Production.INFO: ==11950== Lock acquired, processing the job... [2025-03-08 21:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:13:03] Production.INFO: count ==13 [2025-03-08 21:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:13:03] Production.INFO: count ==21 [2025-03-08 21:13:03] Production.INFO: ==11952== Lock acquired, processing the job... [2025-03-08 21:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:13:03] Production.INFO: ==11954== Lock acquired, processing the job... [2025-03-08 21:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:13:03] Production.INFO: ==11956== Lock acquired, processing the job... [2025-03-08 21:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637818') start [2025-03-08 21:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637818') end [2025-03-08 21:13:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:13:03] Production.INFO: 1 [2025-03-08 21:13:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:13:03] Production.INFO: ==11960== Releasing lock... [2025-03-08 21:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:13:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:13:03] Production.INFO: Account Balance Start. [2025-03-08 21:13:03] Production.INFO: CreateAllLog Start [2025-03-08 21:13:03] Production.INFO: 117 [2025-03-08 21:13:03] Production.ERROR: done [2025-03-08 21:13:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:13:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:13:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:13:03] Production.INFO: Total Charge 0 [2025-03-08 21:13:03] Production.INFO: CreateAllLog End [2025-03-08 21:13:03] Production.ERROR: done [2025-03-08 21:13:03] Production.INFO: ==11952== Releasing lock... [2025-03-08 21:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:13:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:13:04] Production.INFO: Account Balance End. [2025-03-08 21:13:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:13:04] Production.INFO: ==11956== Releasing lock... [2025-03-08 21:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:13:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:13:04 [end_date_ymd] => 2025-03-08 21:13:04 [RateCDR] => 1 ) [2025-03-08 21:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:13:04' and `end` < '2025-03-08 21:13:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:13:11] Production.ERROR: CronJobId end10 [2025-03-08 21:13:11] Production.INFO: ==11954== Releasing lock... [2025-03-08 21:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:13:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:13:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:13:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:13:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:13:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:13:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:13:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:13:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:13:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:13:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:13:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:13:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:13:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:13:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:13:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:13:14] Production.INFO: call_cost start [2025-03-08 21:13:14] Production.INFO: call_cost end [2025-03-08 21:13:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:13:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:13:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:13:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:13:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:13:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:13:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:13:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:13:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:13:15] Production.INFO: ==11950== Releasing lock... [2025-03-08 21:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:13:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:13:17] Production.INFO: count ==1202 [2025-03-08 21:13:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:13:04 - End Time 2025-03-08 21:13:04 [2025-03-08 21:13:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637822', 'tblTempUsageDetail_20' ) start [2025-03-08 21:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637822', 'tblTempUsageDetail_20' ) end [2025-03-08 21:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637822', 'tblTempVendorCDR_20' ) start [2025-03-08 21:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637822', 'tblTempVendorCDR_20' ) end [2025-03-08 21:13:17] Production.INFO: ProcessCDR(1,14637822,1,1,2) [2025-03-08 21:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637822', 'tblTempUsageDetail_20' ) start [2025-03-08 21:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637822', 'tblTempUsageDetail_20' ) end [2025-03-08 21:13:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:13:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:13:20] Production.INFO: ==11958== Releasing lock... [2025-03-08 21:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:13:20] Production.INFO: 37 MB #Memory Used# [2025-03-09 02:14:01] Production.INFO: ==12023== Lock acquired, processing the job... [2025-03-09 02:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:14:01] Production.INFO: neon service started [2025-03-09 02:14:01] Production.INFO: neon service started [2025-03-09 02:14:01] Production.INFO: ==12023== Releasing lock... [2025-03-09 02:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:14:02] Production.INFO: ==12025== Lock acquired, processing the job... [2025-03-08 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 02:14:02] Production.INFO: ==12027== Lock acquired, processing the job... [2025-03-09 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:14:02] Production.INFO: ==12027== Releasing lock... [2025-03-09 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:14:03] Production.INFO: ==12025== Releasing lock... [2025-03-08 21:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:14:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:14:03] Production.INFO: ==12034== Lock acquired, processing the job... [2025-03-08 21:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:14:04] Production.INFO: ==12040== Lock acquired, processing the job... [2025-03-08 21:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:14:04] Production.INFO: ==12030== Lock acquired, processing the job... [2025-03-08 21:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:14:04] Production.INFO: count ==13 [2025-03-08 21:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:14:04] Production.INFO: count ==21 [2025-03-08 21:14:04] Production.INFO: ==12032== Lock acquired, processing the job... [2025-03-08 21:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:14:04] Production.INFO: ==12038== Lock acquired, processing the job... [2025-03-08 21:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:14:04] Production.INFO: ==12036== Lock acquired, processing the job... [2025-03-08 21:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637823') start [2025-03-08 21:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:14:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637823') end [2025-03-08 21:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:14:04] Production.INFO: 1 [2025-03-08 21:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:14:04] Production.INFO: Account Balance Start. [2025-03-08 21:14:04] Production.INFO: CreateAllLog Start [2025-03-08 21:14:04] Production.INFO: 117 [2025-03-08 21:14:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:14:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:14:04] Production.INFO: ==12040== Releasing lock... [2025-03-08 21:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:14:04] Production.INFO: Total Charge 0 [2025-03-08 21:14:04] Production.INFO: CreateAllLog End [2025-03-08 21:14:04] Production.ERROR: done [2025-03-08 21:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:14:04] Production.INFO: ==12032== Releasing lock... [2025-03-08 21:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:14:04] Production.ERROR: done [2025-03-08 21:14:04] Production.INFO: Account Balance End. [2025-03-08 21:14:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:14:04] Production.INFO: ==12036== Releasing lock... [2025-03-08 21:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:14:05 [end_date_ymd] => 2025-03-08 21:14:05 [RateCDR] => 1 ) [2025-03-08 21:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:14:05' and `end` < '2025-03-08 21:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:14:11] Production.ERROR: CronJobId end10 [2025-03-08 21:14:11] Production.INFO: ==12034== Releasing lock... [2025-03-08 21:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:14:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:14:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:14:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:14:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:14:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:14:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:14:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:14:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:14:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:14:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:14:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:14:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:14:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:14:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:14:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:14:14] Production.INFO: call_cost start [2025-03-08 21:14:14] Production.INFO: call_cost end [2025-03-08 21:14:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:14:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:14:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:14:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:14:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:14:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:14:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:14:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:14:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:14:15] Production.INFO: ==12030== Releasing lock... [2025-03-08 21:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:14:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:14:18] Production.INFO: count ==1204 [2025-03-08 21:14:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:14:05 - End Time 2025-03-08 21:14:05 [2025-03-08 21:14:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637827', 'tblTempUsageDetail_20' ) start [2025-03-08 21:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637827', 'tblTempUsageDetail_20' ) end [2025-03-08 21:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637827', 'tblTempVendorCDR_20' ) start [2025-03-08 21:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637827', 'tblTempVendorCDR_20' ) end [2025-03-08 21:14:18] Production.INFO: ProcessCDR(1,14637827,1,1,2) [2025-03-08 21:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637827', 'tblTempUsageDetail_20' ) start [2025-03-08 21:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637827', 'tblTempUsageDetail_20' ) end [2025-03-08 21:14:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:14:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:14:21] Production.INFO: ==12038== Releasing lock... [2025-03-08 21:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:14:21] Production.INFO: 37 MB #Memory Used# [2025-03-09 02:15:01] Production.INFO: ==12100== Lock acquired, processing the job... [2025-03-09 02:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:15:01] Production.INFO: neon service started [2025-03-09 02:15:01] Production.INFO: neon service started [2025-03-09 02:15:01] Production.INFO: ==12100== Releasing lock... [2025-03-09 02:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:15:01] Production.INFO: ==12104== Lock acquired, processing the job... [2025-03-09 02:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:15:01] Production.INFO: ==12104== Releasing lock... [2025-03-09 02:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:15:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:15:01] Production.INFO: ==12102== Lock acquired, processing the job... [2025-03-08 21:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:15:02] Production.INFO: ==12102== Releasing lock... [2025-03-08 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:15:03] Production.INFO: ==12107== Lock acquired, processing the job... [2025-03-08 21:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:15:03] Production.INFO: ==12111== Lock acquired, processing the job... [2025-03-08 21:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:15:03] Production.INFO: ==12113== Lock acquired, processing the job... [2025-03-08 21:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:15:03] Production.INFO: Account Balance Start. [2025-03-08 21:15:03] Production.INFO: CreateAllLog Start [2025-03-08 21:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:15:03] Production.INFO: 117 [2025-03-08 21:15:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:15:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:15:03] Production.INFO: Total Charge 0 [2025-03-08 21:15:03] Production.INFO: ==12109== Lock acquired, processing the job... [2025-03-08 21:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:15:03] Production.INFO: CreateAllLog End [2025-03-08 21:15:03] Production.INFO: Account Balance End. [2025-03-08 21:15:03] Production.INFO: ==12117== Lock acquired, processing the job... [2025-03-08 21:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:15:03] Production.INFO: ==12115== Lock acquired, processing the job... [2025-03-08 21:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:15:03] Production.ERROR: CronJobId end 12 [2025-03-08 21:15:03] Production.INFO: ==12113== Releasing lock... [2025-03-08 21:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:15:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:15:03] Production.INFO: count ==13 [2025-03-08 21:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:15:03] Production.INFO: count ==21 [2025-03-08 21:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637831') start [2025-03-08 21:15:03] Production.INFO: ==12109== Releasing lock... [2025-03-08 21:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:15:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637831') end [2025-03-08 21:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:15:04] Production.INFO: 1 [2025-03-08 21:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:15:04] Production.INFO: ==12117== Releasing lock... [2025-03-08 21:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:15:04] Production.ERROR: done [2025-03-08 21:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:15:04] Production.ERROR: done [2025-03-08 21:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:15:05 [end_date_ymd] => 2025-03-08 21:15:05 [RateCDR] => 1 ) [2025-03-08 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-08 18:15:05' and `end` < '2025-03-08 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-08 21:15:11] Production.ERROR: CronJobId end10 [2025-03-08 21:15:11] Production.INFO: ==12111== Releasing lock... [2025-03-08 21:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:15:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:15:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:15:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:15:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:15:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:15:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:15:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:15:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:15:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:15:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:15:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:15:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:15:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:15:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:15:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:15:13] Production.INFO: call_cost start [2025-03-08 21:15:13] Production.INFO: call_cost end [2025-03-08 21:15:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:15:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:15:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:15:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:15:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:15:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:15:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:15:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:15:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:15:14] Production.INFO: ==12107== Releasing lock... [2025-03-08 21:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:15:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:15:17] Production.INFO: count ==1201 [2025-03-08 21:15:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:15:05 - End Time 2025-03-08 21:15:05 [2025-03-08 21:15:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637832', 'tblTempUsageDetail_20' ) start [2025-03-08 21:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637832', 'tblTempUsageDetail_20' ) end [2025-03-08 21:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637832', 'tblTempVendorCDR_20' ) start [2025-03-08 21:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637832', 'tblTempVendorCDR_20' ) end [2025-03-08 21:15:17] Production.INFO: ProcessCDR(1,14637832,1,1,2) [2025-03-08 21:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637832', 'tblTempUsageDetail_20' ) start [2025-03-08 21:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637832', 'tblTempUsageDetail_20' ) end [2025-03-08 21:15:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:15:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:15:21] Production.INFO: ==12115== Releasing lock... [2025-03-08 21:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:15:21] Production.INFO: 37 MB #Memory Used# [2025-03-09 02:16:01] Production.INFO: ==12181== Lock acquired, processing the job... [2025-03-09 02:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:16:01] Production.INFO: neon service started [2025-03-09 02:16:01] Production.INFO: neon service started [2025-03-09 02:16:01] Production.INFO: ==12181== Releasing lock... [2025-03-09 02:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:16:02] Production.INFO: ==12186== Lock acquired, processing the job... [2025-03-09 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:16:02] Production.INFO: ==12186== Releasing lock... [2025-03-09 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:16:02] Production.INFO: ==12184== Lock acquired, processing the job... [2025-03-08 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:16:02] Production.INFO: ==12184== Releasing lock... [2025-03-08 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:16:03] Production.INFO: ==12188== Lock acquired, processing the job... [2025-03-08 21:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:16:03] Production.INFO: ==12192== Lock acquired, processing the job... [2025-03-08 21:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:16:03] Production.INFO: ==12190== Lock acquired, processing the job... [2025-03-08 21:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:16:03] Production.INFO: ==12196== Lock acquired, processing the job... [2025-03-08 21:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:16:03] Production.INFO: ==12194== Lock acquired, processing the job... [2025-03-08 21:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:16:04] Production.INFO: ==12198== Lock acquired, processing the job... [2025-03-08 21:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:16:04] Production.INFO: Account Balance Start. [2025-03-08 21:16:04] Production.INFO: CreateAllLog Start [2025-03-08 21:16:04] Production.INFO: 117 [2025-03-08 21:16:04] Production.INFO: Date 2025-03-08 [2025-03-08 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-08 21:16:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:16:04] Production.INFO: count ==13 [2025-03-08 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-08 21:16:04] Production.INFO: count ==21 [2025-03-08 21:16:04] Production.INFO: ==12190== Releasing lock... [2025-03-08 21:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637835') start [2025-03-08 21:16:04] Production.ERROR: done [2025-03-08 21:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:16:04] Production.INFO: Total Charge 0 [2025-03-08 21:16:04] Production.INFO: CreateAllLog End [2025-03-08 21:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637835') end [2025-03-08 21:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:16:04] Production.INFO: 1 [2025-03-08 21:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:16:04] Production.INFO: ==12198== Releasing lock... [2025-03-08 21:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:16:04] Production.ERROR: done [2025-03-08 21:16:04] Production.INFO: Account Balance End. [2025-03-08 21:16:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:16:04] Production.INFO: ==12194== Releasing lock... [2025-03-08 21:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:16:05 [end_date_ymd] => 2025-03-08 21:16:05 [RateCDR] => 1 ) [2025-03-08 21:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:16:05' and `end` < '2025-03-08 21:16:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:16:12] Production.ERROR: CronJobId end10 [2025-03-08 21:16:12] Production.INFO: ==12192== Releasing lock... [2025-03-08 21:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:16:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:16:14] Production.INFO: call_cost start [2025-03-08 21:16:14] Production.INFO: call_cost end [2025-03-08 21:16:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:16:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:16:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:16:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:16:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:16:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:16:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:16:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:16:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:16:15] Production.INFO: ==12188== Releasing lock... [2025-03-08 21:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:16:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:16:17] Production.INFO: count ==1198 [2025-03-08 21:16:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:16:05 - End Time 2025-03-08 21:16:05 [2025-03-08 21:16:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637837', 'tblTempUsageDetail_20' ) start [2025-03-08 21:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637837', 'tblTempUsageDetail_20' ) end [2025-03-08 21:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637837', 'tblTempVendorCDR_20' ) start [2025-03-08 21:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637837', 'tblTempVendorCDR_20' ) end [2025-03-08 21:16:18] Production.INFO: ProcessCDR(1,14637837,1,1,2) [2025-03-08 21:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637837', 'tblTempUsageDetail_20' ) start [2025-03-08 21:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637837', 'tblTempUsageDetail_20' ) end [2025-03-08 21:16:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:16:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:16:23] Production.INFO: ==12196== Releasing lock... [2025-03-08 21:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:16:23] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 02:17:02] Production.INFO: ==12260== Lock acquired, processing the job... [2025-03-09 02:17:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:17:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:17:02] Production.INFO: neon service started [2025-03-09 02:17:02] Production.INFO: neon service started [2025-03-09 02:17:02] Production.INFO: ==12260== Releasing lock... [2025-03-09 02:17:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:17:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 02:17:02] Production.INFO: ==12264== Lock acquired, processing the job... [2025-03-09 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:17:02] Production.INFO: ==12264== Releasing lock... [2025-03-09 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:17:02] Production.INFO: ==12262== Lock acquired, processing the job... [2025-03-08 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:17:03] Production.INFO: ==12262== Releasing lock... [2025-03-08 21:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:17:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:17:04] Production.INFO: ==12273== Lock acquired, processing the job... [2025-03-08 21:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:17:04] Production.INFO: Account Balance Start. [2025-03-08 21:17:04] Production.INFO: CreateAllLog Start [2025-03-08 21:17:04] Production.INFO: 117 [2025-03-08 21:17:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:17:04] Production.INFO: ==12277== Lock acquired, processing the job... [2025-03-08 21:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:17:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:17:04] Production.INFO: Total Charge 0 [2025-03-08 21:17:04] Production.INFO: CreateAllLog End [2025-03-08 21:17:04] Production.INFO: ==12267== Lock acquired, processing the job... [2025-03-08 21:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:17:04] Production.INFO: ==12269== Lock acquired, processing the job... [2025-03-08 21:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21: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-08 21:17:04] Production.INFO: count ==13 [2025-03-08 21: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-08 21:17:04] Production.INFO: count ==21 [2025-03-08 21:17:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637839') start [2025-03-08 21:17:04] Production.INFO: ==12271== Lock acquired, processing the job... [2025-03-08 21:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:17:04] Production.INFO: Account Balance End. [2025-03-08 21:17:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:17:04] Production.INFO: ==12273== Releasing lock... [2025-03-08 21:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:17:04] Production.INFO: ==12275== Lock acquired, processing the job... [2025-03-08 21:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637839') end [2025-03-08 21:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:17:04] Production.INFO: 1 [2025-03-08 21:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:17:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:17:04] Production.INFO: ==12277== Releasing lock... [2025-03-08 21:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:17:05] Production.ERROR: done [2025-03-08 21:17:05] Production.INFO: ==12269== Releasing lock... [2025-03-08 21:17:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:17:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:17:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:17:05] Production.ERROR: done [2025-03-08 21:17:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:17:06 [end_date_ymd] => 2025-03-08 21:17:06 [RateCDR] => 1 ) [2025-03-08 21: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-08 18:17:06' and `end` < '2025-03-08 21: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-08 21:17:13] Production.ERROR: CronJobId end10 [2025-03-08 21:17:13] Production.INFO: ==12271== Releasing lock... [2025-03-08 21:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:17:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:17:14] Production.INFO: call_cost start [2025-03-08 21:17:14] Production.INFO: call_cost end [2025-03-08 21:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:17:15] Production.INFO: ==12267== Releasing lock... [2025-03-08 21:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:17:18] Production.INFO: count ==1193 [2025-03-08 21:17:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:17:06 - End Time 2025-03-08 21:17:06 [2025-03-08 21:17:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637842', 'tblTempUsageDetail_20' ) start [2025-03-08 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637842', 'tblTempUsageDetail_20' ) end [2025-03-08 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637842', 'tblTempVendorCDR_20' ) start [2025-03-08 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637842', 'tblTempVendorCDR_20' ) end [2025-03-08 21:17:18] Production.INFO: ProcessCDR(1,14637842,1,1,2) [2025-03-08 21:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637842', 'tblTempUsageDetail_20' ) start [2025-03-08 21:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637842', 'tblTempUsageDetail_20' ) end [2025-03-08 21:17:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:17:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:17:21] Production.INFO: ==12275== Releasing lock... [2025-03-08 21:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:17:21] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 02:18:01] Production.INFO: ==12338== Lock acquired, processing the job... [2025-03-09 02:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:18:01] Production.INFO: neon service started [2025-03-09 02:18:01] Production.INFO: neon service started [2025-03-09 02:18:01] Production.INFO: ==12338== Releasing lock... [2025-03-09 02:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:18:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:18:02] Production.INFO: ==12340== Lock acquired, processing the job... [2025-03-08 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 02:18:02] Production.INFO: ==12342== Lock acquired, processing the job... [2025-03-09 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 21:18:02] Production.INFO: ==12340== Releasing lock... [2025-03-08 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:18:02] Production.INFO: ==12342== Releasing lock... [2025-03-09 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:18:03] Production.INFO: ==12350== Lock acquired, processing the job... [2025-03-08 21:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:18:03] Production.INFO: ==12344== Lock acquired, processing the job... [2025-03-08 21:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:18:03] Production.INFO: ==12357== Lock acquired, processing the job... [2025-03-08 21:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:18:03] Production.INFO: Account Balance Start. [2025-03-08 21:18:03] Production.INFO: CreateAllLog Start [2025-03-08 21:18:03] Production.INFO: 117 [2025-03-08 21:18:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:18:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:18:03] Production.INFO: Total Charge 0 [2025-03-08 21:18:03] Production.INFO: CreateAllLog End [2025-03-08 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-08 21:18:03] Production.INFO: ==12346== Lock acquired, processing the job... [2025-03-08 21:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:18:03] Production.INFO: count ==13 [2025-03-08 21:18:03] Production.INFO: Account Balance End. [2025-03-08 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-08 21:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:18:03] Production.INFO: count ==21 [2025-03-08 21:18:03] Production.ERROR: CronJobId end 12 [2025-03-08 21:18:03] Production.INFO: ==12350== Releasing lock... [2025-03-08 21:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:18:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:18:03] Production.INFO: ==12348== Lock acquired, processing the job... [2025-03-08 21:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637844') start [2025-03-08 21:18:03] Production.INFO: ==12355== Lock acquired, processing the job... [2025-03-08 21:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637844') end [2025-03-08 21:18:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:18:03] Production.INFO: 1 [2025-03-08 21:18:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:18:04] Production.INFO: ==12357== Releasing lock... [2025-03-08 21:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:18:04] Production.INFO: ==12346== Releasing lock... [2025-03-08 21:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:18:04] Production.ERROR: done [2025-03-08 21:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:18:04] Production.ERROR: done [2025-03-08 21:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:18:05 [end_date_ymd] => 2025-03-08 21:18:05 [RateCDR] => 1 ) [2025-03-08 21:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:18:05' and `end` < '2025-03-08 21:18:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:18:12] Production.ERROR: CronJobId end10 [2025-03-08 21:18:12] Production.INFO: ==12348== Releasing lock... [2025-03-08 21:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:18:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:18:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:18:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:18:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:18:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:18:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:18:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:18:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:18:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:18:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:18:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:18:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:18:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:18:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:18:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:18:14] Production.INFO: call_cost start [2025-03-08 21:18:14] Production.INFO: call_cost end [2025-03-08 21:18:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:18:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:18:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:18:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:18:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:18:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:18:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:18:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:18:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:18:15] Production.INFO: ==12344== Releasing lock... [2025-03-08 21:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:18:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:18:17] Production.INFO: count ==1192 [2025-03-08 21:18:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:18:05 - End Time 2025-03-08 21:18:05 [2025-03-08 21:18:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637847', 'tblTempUsageDetail_20' ) start [2025-03-08 21:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637847', 'tblTempUsageDetail_20' ) end [2025-03-08 21:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637847', 'tblTempVendorCDR_20' ) start [2025-03-08 21:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637847', 'tblTempVendorCDR_20' ) end [2025-03-08 21:18:17] Production.INFO: ProcessCDR(1,14637847,1,1,2) [2025-03-08 21:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637847', 'tblTempUsageDetail_20' ) start [2025-03-08 21:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637847', 'tblTempUsageDetail_20' ) end [2025-03-08 21:18:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:18:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:18:21] Production.INFO: ==12355== Releasing lock... [2025-03-08 21:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:18:21] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 02:19:02] Production.INFO: ==12415== Lock acquired, processing the job... [2025-03-09 02:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:19:02] Production.INFO: neon service started [2025-03-09 02:19:02] Production.INFO: neon service started [2025-03-09 02:19:02] Production.INFO: ==12415== Releasing lock... [2025-03-09 02:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:19:02] Production.INFO: ==12417== Lock acquired, processing the job... [2025-03-08 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:19:02] Production.INFO: ==12417== Releasing lock... [2025-03-08 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:19:02] Production.INFO: ==12419== Lock acquired, processing the job... [2025-03-09 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:19:03] Production.INFO: ==12419== Releasing lock... [2025-03-09 02:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:19:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:19:03] Production.INFO: ==12424== Lock acquired, processing the job... [2025-03-08 21:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:19:03] Production.INFO: ==12422== Lock acquired, processing the job... [2025-03-08 21:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:19:03] Production.INFO: ==12432== Lock acquired, processing the job... [2025-03-08 21:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:19:03] Production.INFO: ==12428== Lock acquired, processing the job... [2025-03-08 21:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 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-08 21:19:03] Production.INFO: count ==13 [2025-03-08 21:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 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-08 21:19:03] Production.INFO: count ==21 [2025-03-08 21:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637848') start [2025-03-08 21:19:04] Production.INFO: ==12426== Lock acquired, processing the job... [2025-03-08 21:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:19:04] Production.INFO: Account Balance Start. [2025-03-08 21:19:04] Production.INFO: CreateAllLog Start [2025-03-08 21:19:04] Production.INFO: 117 [2025-03-08 21:19:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:19:04] Production.INFO: ==12430== Lock acquired, processing the job... [2025-03-08 21:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:19:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:19:04] Production.INFO: Total Charge 0 [2025-03-08 21:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637848') end [2025-03-08 21:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:19:04] Production.INFO: 1 [2025-03-08 21:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:19:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:19:04] Production.INFO: CreateAllLog End [2025-03-08 21:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:19:04] Production.INFO: ==12432== Releasing lock... [2025-03-08 21:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:19:04] Production.INFO: ==12424== Releasing lock... [2025-03-08 21:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:19:04] Production.INFO: Account Balance End. [2025-03-08 21:19:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:19:04] Production.INFO: ==12428== Releasing lock... [2025-03-08 21:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:19:04] Production.ERROR: done [2025-03-08 21:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:19:04] Production.ERROR: done [2025-03-08 21:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:19:05 [end_date_ymd] => 2025-03-08 21:19:05 [RateCDR] => 1 ) [2025-03-08 21:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:19:05' and `end` < '2025-03-08 21:19:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:19:12] Production.ERROR: CronJobId end10 [2025-03-08 21:19:12] Production.INFO: ==12426== Releasing lock... [2025-03-08 21:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:19:14] Production.INFO: call_cost start [2025-03-08 21:19:14] Production.INFO: call_cost end [2025-03-08 21:19:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:19:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:19:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:19:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:19:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:19:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:19:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:19:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:19:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:19:15] Production.INFO: ==12422== Releasing lock... [2025-03-08 21:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:19:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:19:17] Production.INFO: count ==1185 [2025-03-08 21:19:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:19:05 - End Time 2025-03-08 21:19:05 [2025-03-08 21:19:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637852', 'tblTempUsageDetail_20' ) start [2025-03-08 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637852', 'tblTempUsageDetail_20' ) end [2025-03-08 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637852', 'tblTempVendorCDR_20' ) start [2025-03-08 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637852', 'tblTempVendorCDR_20' ) end [2025-03-08 21:19:18] Production.INFO: ProcessCDR(1,14637852,1,1,2) [2025-03-08 21:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637852', 'tblTempUsageDetail_20' ) start [2025-03-08 21:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637852', 'tblTempUsageDetail_20' ) end [2025-03-08 21:19:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:19:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:19:22] Production.INFO: ==12430== Releasing lock... [2025-03-08 21:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:19:22] Production.INFO: 37 MB #Memory Used# [2025-03-09 02:20:01] Production.INFO: ==12497== Lock acquired, processing the job... [2025-03-09 02:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:20:01] Production.INFO: neon service started [2025-03-09 02:20:01] Production.INFO: neon service started [2025-03-09 02:20:01] Production.INFO: ==12497== Releasing lock... [2025-03-09 02:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:20:02] Production.INFO: ==12501== Lock acquired, processing the job... [2025-03-09 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:20:02] Production.INFO: ==12501== Releasing lock... [2025-03-09 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:20:02] Production.INFO: ==12499== Lock acquired, processing the job... [2025-03-08 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:20:02] Production.INFO: ==12499== Releasing lock... [2025-03-08 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:20:03] Production.INFO: ==12509== Lock acquired, processing the job... [2025-03-08 21:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:20:03] Production.INFO: ==12507== Lock acquired, processing the job... [2025-03-08 21:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:20:03] Production.INFO: ==12515== Lock acquired, processing the job... [2025-03-08 21:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:20:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:20:03] Production.INFO: ==12520== Lock acquired, processing the job... [2025-03-08 21:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:20:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:20:03] Production.INFO: ==12505== Lock acquired, processing the job... [2025-03-08 21:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 21:20:03] Production.INFO: ==12513== Lock acquired, processing the job... [2025-03-08 21:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:20:03] Production.INFO: ==12509== Releasing lock... [2025-03-08 21:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:20:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:20:03] Production.INFO: ==12511== Lock acquired, processing the job... [2025-03-08 21:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 21:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 21:20:04] Production.ERROR: CronJob PID - 12507 [2025-03-08 21:20:04] Production.ERROR: CronJob Title - System Alerts [2025-03-08 21:20:04] Production.ERROR: CronJob ID - 5 [2025-03-08 21:20:04] Production.ERROR: CronJob Last Run Time 2025-03-08 21:20:00 [2025-03-08 21:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 21:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 21:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 21:20:04] Production.ERROR: CronJob PID - 12513 [2025-03-08 21:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-08 21:20:04] Production.ERROR: CronJob ID - 12 [2025-03-08 21:20:04] Production.ERROR: CronJob Last Run Time 2025-03-08 21:20:00 [2025-03-08 21:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 21:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 21:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 21:20:04] Production.ERROR: CronJob PID - 12515 [2025-03-08 21:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-08 21:20:04] Production.ERROR: CronJob ID - 16 [2025-03-08 21:20:04] Production.ERROR: CronJob Last Run Time 2025-03-08 21:20:00 [2025-03-08 21:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 21:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 21:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 21:20:04] Production.ERROR: CronJob PID - 12520 [2025-03-08 21:20:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-08 21:20:04] Production.ERROR: CronJob ID - 19 [2025-03-08 21:20:04] Production.ERROR: CronJob Last Run Time 2025-03-08 21:20:00 [2025-03-08 21:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 21:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 21:20:04] Production.INFO: ==12518== Lock acquired, processing the job... [2025-03-08 21:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 21:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 21:20:04] Production.INFO: ==12505== Releasing lock... [2025-03-08 21:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 21:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 21:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:20:04] Production.INFO: Account Balance Start. [2025-03-08 21:20:04] Production.INFO: CreateAllLog Start [2025-03-08 21:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:20:04] Production.INFO: 117 [2025-03-08 21:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:20:04] Production.INFO: count ==13 [2025-03-08 21:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:20:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:20:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:20:04] Production.INFO: count ==21 [2025-03-08 21:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637855') start [2025-03-08 21:20:04] Production.ERROR: done [2025-03-08 21:20:04] Production.INFO: Total Charge 0 [2025-03-08 21:20:04] Production.INFO: CreateAllLog End [2025-03-08 21:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637855') end [2025-03-08 21:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:20:04] Production.INFO: 1 [2025-03-08 21:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:20:04] Production.INFO: ==12520== Releasing lock... [2025-03-08 21:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:20:04] Production.ERROR: done [2025-03-08 21:20:04] Production.ERROR: done [2025-03-08 21:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 21:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637857', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 21:20:04] Production.INFO: Account Balance End. [2025-03-08 21:20:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:20:04] Production.INFO: ==12513== Releasing lock... [2025-03-08 21:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:20:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:20:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:20:05 [end_date_ymd] => 2025-03-08 21:20:05 [RateCDR] => 1 ) [2025-03-08 21:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:20:05' and `end` < '2025-03-08 21:20:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637857', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 21:20:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 21:20:08] Production.INFO: ProcessCDR(1,14637857,1,1,2) [2025-03-08 21:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14637857,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14637857,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:20:09] Production.INFO: ==12518== Releasing lock... [2025-03-08 21:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 21:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-08 21:20:13] Production.ERROR: CronJobId end10 [2025-03-08 21:20:13] Production.INFO: ==12511== Releasing lock... [2025-03-08 21:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:20:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:20:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:20:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:20:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:20:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:20:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:20:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:20:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:20:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:20:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:20:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:20:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:20:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:20:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:20:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:20:15] Production.INFO: call_cost start [2025-03-08 21:20:15] Production.INFO: call_cost end [2025-03-08 21:20:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:20:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:20:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:20:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:20:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:20:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:20:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:20:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:20:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:20:16] Production.INFO: ==12507== Releasing lock... [2025-03-08 21:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:20:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:20:17] Production.INFO: count ==1181 [2025-03-08 21:20:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:20:05 - End Time 2025-03-08 21:20:05 [2025-03-08 21:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637858', 'tblTempUsageDetail_20' ) start [2025-03-08 21:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637858', 'tblTempUsageDetail_20' ) end [2025-03-08 21:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637858', 'tblTempVendorCDR_20' ) start [2025-03-08 21:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637858', 'tblTempVendorCDR_20' ) end [2025-03-08 21:20:18] Production.INFO: ProcessCDR(1,14637858,1,1,2) [2025-03-08 21:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637858', 'tblTempUsageDetail_20' ) start [2025-03-08 21:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637858', 'tblTempUsageDetail_20' ) end [2025-03-08 21:20:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:20:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:20:21] Production.INFO: ==12515== Releasing lock... [2025-03-08 21:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:20:21] Production.INFO: 37 MB #Memory Used# [2025-03-09 02:21:02] Production.INFO: ==12621== Lock acquired, processing the job... [2025-03-09 02:21:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:21:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:21:02] Production.INFO: neon service started [2025-03-09 02:21:02] Production.INFO: neon service started [2025-03-09 02:21:02] Production.INFO: ==12621== Releasing lock... [2025-03-09 02:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:21:02] Production.INFO: ==12625== Lock acquired, processing the job... [2025-03-09 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:21:02] Production.INFO: ==12625== Releasing lock... [2025-03-09 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:21:02] Production.INFO: ==12623== Lock acquired, processing the job... [2025-03-08 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:21:02] Production.INFO: ==12623== Releasing lock... [2025-03-08 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:21:03] Production.INFO: ==12634== Lock acquired, processing the job... [2025-03-08 21:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:21:04] Production.INFO: Account Balance Start. [2025-03-08 21:21:04] Production.INFO: CreateAllLog Start [2025-03-08 21:21:04] Production.INFO: 117 [2025-03-08 21:21:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:21:04] Production.INFO: ==12638== Lock acquired, processing the job... [2025-03-08 21:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:21:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:21:04] Production.INFO: Total Charge 0 [2025-03-08 21:21:04] Production.INFO: ==12628== Lock acquired, processing the job... [2025-03-08 21:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:21:04] Production.INFO: CreateAllLog End [2025-03-08 21: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-08 21:21:04] Production.INFO: ==12630== Lock acquired, processing the job... [2025-03-08 21:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:21:04] Production.INFO: ==12632== Lock acquired, processing the job... [2025-03-08 21:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:21:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:21:04] Production.INFO: count ==13 [2025-03-08 21:21:04] Production.INFO: Account Balance End. [2025-03-08 21: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-08 21:21:04] Production.INFO: count ==21 [2025-03-08 21:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637860') start [2025-03-08 21:21:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:21:04] Production.INFO: ==12634== Releasing lock... [2025-03-08 21:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:21:04] Production.INFO: ==12636== Lock acquired, processing the job... [2025-03-08 21:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637860') end [2025-03-08 21:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:21:04] Production.INFO: 1 [2025-03-08 21:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:21:04] Production.INFO: ==12638== Releasing lock... [2025-03-08 21:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:21:04] Production.INFO: ==12630== Releasing lock... [2025-03-08 21:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:21:04] Production.ERROR: done [2025-03-08 21:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:21:04] Production.ERROR: done [2025-03-08 21:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:21:05 [end_date_ymd] => 2025-03-08 21:21:05 [RateCDR] => 1 ) [2025-03-08 21:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:21:05' and `end` < '2025-03-08 21:21:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:21:12] Production.ERROR: CronJobId end10 [2025-03-08 21:21:12] Production.INFO: ==12632== Releasing lock... [2025-03-08 21:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:21:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:21:15] Production.INFO: call_cost start [2025-03-08 21:21:15] Production.INFO: call_cost end [2025-03-08 21:21:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:21:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:21:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:21:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:21:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:21:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:21:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:21:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:21:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:21:16] Production.INFO: ==12628== Releasing lock... [2025-03-08 21:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:21:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:21:18] Production.INFO: count ==1151 [2025-03-08 21:21:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:21:05 - End Time 2025-03-08 21:21:05 [2025-03-08 21:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637863', 'tblTempUsageDetail_20' ) start [2025-03-08 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637863', 'tblTempUsageDetail_20' ) end [2025-03-08 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637863', 'tblTempVendorCDR_20' ) start [2025-03-08 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637863', 'tblTempVendorCDR_20' ) end [2025-03-08 21:21:18] Production.INFO: ProcessCDR(1,14637863,1,1,2) [2025-03-08 21:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637863', 'tblTempUsageDetail_20' ) start [2025-03-08 21:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637863', 'tblTempUsageDetail_20' ) end [2025-03-08 21:21:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:21:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:21:21] Production.INFO: ==12636== Releasing lock... [2025-03-08 21:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:21:21] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 02:22:01] Production.INFO: ==12700== Lock acquired, processing the job... [2025-03-09 02:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:22:01] Production.INFO: neon service started [2025-03-09 02:22:01] Production.INFO: neon service started [2025-03-09 02:22:01] Production.INFO: ==12700== Releasing lock... [2025-03-09 02:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:22:01] Production.INFO: ==12703== Lock acquired, processing the job... [2025-03-08 21:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:22:02] Production.INFO: ==12703== Releasing lock... [2025-03-08 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:22:02] Production.INFO: ==12705== Lock acquired, processing the job... [2025-03-09 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:22:02] Production.INFO: ==12705== Releasing lock... [2025-03-09 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:22:03] Production.INFO: ==12707== Lock acquired, processing the job... [2025-03-08 21:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:22:03] Production.INFO: ==12711== Lock acquired, processing the job... [2025-03-08 21:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:22:03] Production.INFO: ==12709== Lock acquired, processing the job... [2025-03-08 21:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:22:03] Production.INFO: ==12713== Lock acquired, processing the job... [2025-03-08 21:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:22:03] Production.INFO: ==12717== Lock acquired, processing the job... [2025-03-08 21:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:22:03] Production.INFO: ==12715== Lock acquired, processing the job... [2025-03-08 21:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:22:03] Production.INFO: count ==13 [2025-03-08 21:22:03] Production.INFO: Account Balance Start. [2025-03-08 21:22:03] Production.INFO: CreateAllLog Start [2025-03-08 21:22:03] Production.INFO: 117 [2025-03-08 21:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:22:03] Production.INFO: ==12709== Releasing lock... [2025-03-08 21:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:22:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:22:03] Production.INFO: count ==21 [2025-03-08 21:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637866') start [2025-03-08 21:22:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:22:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637866') end [2025-03-08 21:22:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:22:03] Production.INFO: 1 [2025-03-08 21:22:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:22:03] Production.INFO: Total Charge 0 [2025-03-08 21:22:03] Production.INFO: ==12717== Releasing lock... [2025-03-08 21:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:22:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:22:03] Production.INFO: CreateAllLog End [2025-03-08 21:22:04] Production.ERROR: done [2025-03-08 21:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:22:04] Production.INFO: Account Balance End. [2025-03-08 21:22:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:22:04] Production.INFO: ==12713== Releasing lock... [2025-03-08 21:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:22:04] Production.ERROR: done [2025-03-08 21:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:22:05 [end_date_ymd] => 2025-03-08 21:22:05 [RateCDR] => 1 ) [2025-03-08 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-08 18:22:05' and `end` < '2025-03-08 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-08 21:22:11] Production.ERROR: CronJobId end10 [2025-03-08 21:22:11] Production.INFO: ==12711== Releasing lock... [2025-03-08 21:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:22:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:22:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:22:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:22:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:22:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:22:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:22:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:22:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:22:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:22:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:22:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:22:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:22:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:22:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:22:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:22:14] Production.INFO: call_cost start [2025-03-08 21:22:14] Production.INFO: call_cost end [2025-03-08 21:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:22:15] Production.INFO: ==12707== Releasing lock... [2025-03-08 21:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:22:17] Production.INFO: count ==1149 [2025-03-08 21:22:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:22:05 - End Time 2025-03-08 21:22:05 [2025-03-08 21:22:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637868', 'tblTempUsageDetail_20' ) start [2025-03-08 21:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637868', 'tblTempUsageDetail_20' ) end [2025-03-08 21:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637868', 'tblTempVendorCDR_20' ) start [2025-03-08 21:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637868', 'tblTempVendorCDR_20' ) end [2025-03-08 21:22:17] Production.INFO: ProcessCDR(1,14637868,1,1,2) [2025-03-08 21:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:22:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637868', 'tblTempUsageDetail_20' ) start [2025-03-08 21:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637868', 'tblTempUsageDetail_20' ) end [2025-03-08 21:22:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:22:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:22:20] Production.INFO: ==12715== Releasing lock... [2025-03-08 21:22:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:22:20] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 02:23:01] Production.INFO: ==12780== Lock acquired, processing the job... [2025-03-09 02:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:23:02] Production.INFO: neon service started [2025-03-09 02:23:02] Production.INFO: neon service started [2025-03-09 02:23:02] Production.INFO: ==12780== Releasing lock... [2025-03-09 02:23:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:23:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:23:02] Production.INFO: ==12782== Lock acquired, processing the job... [2025-03-08 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 02:23:02] Production.INFO: ==12784== Lock acquired, processing the job... [2025-03-09 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:23:02] Production.INFO: ==12784== Releasing lock... [2025-03-09 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:23:02] Production.INFO: ==12782== Releasing lock... [2025-03-08 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:23:03] Production.INFO: ==12791== Lock acquired, processing the job... [2025-03-08 21:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:23:03] Production.INFO: ==12793== Lock acquired, processing the job... [2025-03-08 21:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:23:03] Production.INFO: ==12786== Lock acquired, processing the job... [2025-03-08 21:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:23:03] Production.INFO: ==12789== Lock acquired, processing the job... [2025-03-08 21:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:23:03] Production.INFO: Account Balance Start. [2025-03-08 21:23:03] Production.INFO: CreateAllLog Start [2025-03-08 21:23:03] Production.INFO: 117 [2025-03-08 21:23:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:23:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:23:04] Production.INFO: Total Charge 0 [2025-03-08 21:23:04] Production.INFO: ==12795== Lock acquired, processing the job... [2025-03-08 21:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:23:04] Production.INFO: CreateAllLog End [2025-03-08 21:23:04] Production.INFO: ==12797== Lock acquired, processing the job... [2025-03-08 21:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:23:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:23:04] Production.INFO: count ==13 [2025-03-08 21:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:23:04] Production.INFO: ==12789== Releasing lock... [2025-03-08 21:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:23:04] Production.INFO: count ==21 [2025-03-08 21:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637872') start [2025-03-08 21:23:04] Production.INFO: Account Balance End. [2025-03-08 21:23:04] Production.ERROR: done [2025-03-08 21:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:23:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:23:04] Production.INFO: ==12793== Releasing lock... [2025-03-08 21:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:23:04] Production.ERROR: done [2025-03-08 21:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637872') end [2025-03-08 21:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:23:04] Production.INFO: 1 [2025-03-08 21:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:23:04] Production.INFO: ==12797== Releasing lock... [2025-03-08 21:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:23:05 [end_date_ymd] => 2025-03-08 21:23:05 [RateCDR] => 1 ) [2025-03-08 21:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:23:05' and `end` < '2025-03-08 21:23:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:23:12] Production.ERROR: CronJobId end10 [2025-03-08 21:23:12] Production.INFO: ==12791== Releasing lock... [2025-03-08 21:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:23:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:23:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:23:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:23:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:23:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:23:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:23:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:23:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:23:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:23:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:23:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:23:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:23:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:23:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:23:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:23:14] Production.INFO: call_cost start [2025-03-08 21:23:14] Production.INFO: call_cost end [2025-03-08 21:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:23:15] Production.INFO: ==12786== Releasing lock... [2025-03-08 21:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:23:17] Production.INFO: count ==1150 [2025-03-08 21:23:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:23:05 - End Time 2025-03-08 21:23:05 [2025-03-08 21:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637873', 'tblTempUsageDetail_20' ) start [2025-03-08 21:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637873', 'tblTempUsageDetail_20' ) end [2025-03-08 21:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637873', 'tblTempVendorCDR_20' ) start [2025-03-08 21:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637873', 'tblTempVendorCDR_20' ) end [2025-03-08 21:23:17] Production.INFO: ProcessCDR(1,14637873,1,1,2) [2025-03-08 21:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637873', 'tblTempUsageDetail_20' ) start [2025-03-08 21:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637873', 'tblTempUsageDetail_20' ) end [2025-03-08 21:23:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:23:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:23:21] Production.INFO: ==12795== Releasing lock... [2025-03-08 21:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:23:21] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 02:24:01] Production.INFO: ==12858== Lock acquired, processing the job... [2025-03-09 02:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:24:01] Production.INFO: neon service started [2025-03-09 02:24:01] Production.INFO: neon service started [2025-03-09 02:24:01] Production.INFO: ==12858== Releasing lock... [2025-03-09 02:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:24:01] Production.INFO: ==12862== Lock acquired, processing the job... [2025-03-09 02:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:24:01] Production.INFO: ==12862== Releasing lock... [2025-03-09 02:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:24:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:24:01] Production.INFO: ==12860== Lock acquired, processing the job... [2025-03-08 21:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:24:02] Production.INFO: ==12860== Releasing lock... [2025-03-08 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:24:03] Production.INFO: ==12866== Lock acquired, processing the job... [2025-03-08 21:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:24:03] Production.INFO: ==12872== Lock acquired, processing the job... [2025-03-08 21:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:24:03] Production.INFO: ==12864== Lock acquired, processing the job... [2025-03-08 21:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:24:03] Production.INFO: ==12868== Lock acquired, processing the job... [2025-03-08 21:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:24:03] Production.INFO: ==12870== Lock acquired, processing the job... [2025-03-08 21:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:24:03] Production.INFO: ==12875== Lock acquired, processing the job... [2025-03-08 21:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:24:03] Production.INFO: ==12866== Releasing lock... [2025-03-08 21:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:24:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:24:03] Production.INFO: Account Balance Start. [2025-03-08 21:24:03] Production.INFO: CreateAllLog Start [2025-03-08 21:24:03] Production.INFO: 117 [2025-03-08 21:24:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:24:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:24:03] Production.ERROR: done [2025-03-08 21:24:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:24:03] Production.INFO: Total Charge 0 [2025-03-08 21:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:24:03] Production.INFO: count ==13 [2025-03-08 21:24:03] Production.INFO: CreateAllLog End [2025-03-08 21:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:24:03] Production.INFO: count ==21 [2025-03-08 21:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637877') start [2025-03-08 21:24:04] Production.ERROR: done [2025-03-08 21:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637877') end [2025-03-08 21:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:24:04] Production.INFO: 1 [2025-03-08 21:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:24:04] Production.INFO: ==12875== Releasing lock... [2025-03-08 21:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:24:04] Production.INFO: Account Balance End. [2025-03-08 21:24:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:24:04] Production.INFO: ==12870== Releasing lock... [2025-03-08 21:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:24:05 [end_date_ymd] => 2025-03-08 21:24:05 [RateCDR] => 1 ) [2025-03-08 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-08 18:24:05' and `end` < '2025-03-08 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-08 21:24:13] Production.ERROR: CronJobId end10 [2025-03-08 21:24:13] Production.INFO: ==12868== Releasing lock... [2025-03-08 21:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:24:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:24:15] Production.INFO: call_cost start [2025-03-08 21:24:15] Production.INFO: call_cost end [2025-03-08 21:24:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:24:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:24:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:24:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:24:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:24:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:24:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:24:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:24:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:24:16] Production.INFO: ==12864== Releasing lock... [2025-03-08 21:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:24:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:24:17] Production.INFO: count ==1150 [2025-03-08 21:24:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:24:05 - End Time 2025-03-08 21:24:05 [2025-03-08 21:24:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637878', 'tblTempUsageDetail_20' ) start [2025-03-08 21:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637878', 'tblTempUsageDetail_20' ) end [2025-03-08 21:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637878', 'tblTempVendorCDR_20' ) start [2025-03-08 21:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637878', 'tblTempVendorCDR_20' ) end [2025-03-08 21:24:17] Production.INFO: ProcessCDR(1,14637878,1,1,2) [2025-03-08 21:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:24:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637878', 'tblTempUsageDetail_20' ) start [2025-03-08 21:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637878', 'tblTempUsageDetail_20' ) end [2025-03-08 21:24:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:24:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:24:20] Production.INFO: ==12872== Releasing lock... [2025-03-08 21:24:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:24:20] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 02:25:01] Production.INFO: ==12939== Lock acquired, processing the job... [2025-03-09 02:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:25:01] Production.INFO: neon service started [2025-03-09 02:25:01] Production.INFO: neon service started [2025-03-09 02:25:01] Production.INFO: ==12939== Releasing lock... [2025-03-09 02:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:25:02] Production.INFO: ==12941== Lock acquired, processing the job... [2025-03-08 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:25:02] Production.INFO: ==12941== Releasing lock... [2025-03-08 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:25:02] Production.INFO: ==12943== Lock acquired, processing the job... [2025-03-09 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:25:02] Production.INFO: ==12943== Releasing lock... [2025-03-09 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:25:03] Production.INFO: ==12947== Lock acquired, processing the job... [2025-03-08 21:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:25:03] Production.INFO: ==12949== Lock acquired, processing the job... [2025-03-08 21:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:25:03] Production.INFO: ==12945== Lock acquired, processing the job... [2025-03-08 21:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:25:03] Production.INFO: ==12947== Releasing lock... [2025-03-08 21:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:25:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:25:03] Production.INFO: ==12951== Lock acquired, processing the job... [2025-03-08 21:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:25:03] Production.INFO: ==12954== Lock acquired, processing the job... [2025-03-08 21:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:25:03] Production.INFO: Account Balance Start. [2025-03-08 21:25:03] Production.INFO: CreateAllLog Start [2025-03-08 21:25:03] Production.INFO: 117 [2025-03-08 21:25:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:25:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:25:04] Production.INFO: ==12956== Lock acquired, processing the job... [2025-03-08 21:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:25:04] Production.INFO: Total Charge 0 [2025-03-08 21:25:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:25:04] Production.INFO: CreateAllLog End [2025-03-08 21:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:25:04] Production.INFO: count ==13 [2025-03-08 21:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:25:04] Production.INFO: count ==21 [2025-03-08 21:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637882') start [2025-03-08 21:25:04] Production.ERROR: done [2025-03-08 21:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:25:04] Production.INFO: Account Balance End. [2025-03-08 21:25:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:25:04] Production.INFO: ==12951== Releasing lock... [2025-03-08 21:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:25:04] Production.ERROR: done [2025-03-08 21:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637882') end [2025-03-08 21:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:25:04] Production.INFO: 1 [2025-03-08 21:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:25:04] Production.INFO: ==12956== Releasing lock... [2025-03-08 21:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:25:05 [end_date_ymd] => 2025-03-08 21:25:05 [RateCDR] => 1 ) [2025-03-08 21:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:25:05' and `end` < '2025-03-08 21:25:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:25:11] Production.ERROR: CronJobId end10 [2025-03-08 21:25:11] Production.INFO: ==12949== Releasing lock... [2025-03-08 21:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:25:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:25:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:25:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:25:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:25:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:25:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:25:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:25:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:25:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:25:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:25:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:25:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:25:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:25:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:25:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:25:14] Production.INFO: call_cost start [2025-03-08 21:25:14] Production.INFO: call_cost end [2025-03-08 21:25:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:25:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:25:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:25:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:25:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:25:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:25:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:25:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:25:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:25:15] Production.INFO: ==12945== Releasing lock... [2025-03-08 21:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:25:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:25:17] Production.INFO: count ==1147 [2025-03-08 21:25:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:25:05 - End Time 2025-03-08 21:25:05 [2025-03-08 21:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637883', 'tblTempUsageDetail_20' ) start [2025-03-08 21:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637883', 'tblTempUsageDetail_20' ) end [2025-03-08 21:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637883', 'tblTempVendorCDR_20' ) start [2025-03-08 21:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637883', 'tblTempVendorCDR_20' ) end [2025-03-08 21:25:17] Production.INFO: ProcessCDR(1,14637883,1,1,2) [2025-03-08 21:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637883', 'tblTempUsageDetail_20' ) start [2025-03-08 21:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637883', 'tblTempUsageDetail_20' ) end [2025-03-08 21:25:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:25:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:25:21] Production.INFO: ==12954== Releasing lock... [2025-03-08 21:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:25:21] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 02:26:02] Production.INFO: ==13018== Lock acquired, processing the job... [2025-03-09 02:26:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:26:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:26:02] Production.INFO: neon service started [2025-03-09 02:26:02] Production.INFO: neon service started [2025-03-09 02:26:02] Production.INFO: ==13018== Releasing lock... [2025-03-09 02:26:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:26:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:26:02] Production.INFO: ==13023== Lock acquired, processing the job... [2025-03-09 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:26:02] Production.INFO: ==13023== Releasing lock... [2025-03-09 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:26:02] Production.INFO: ==13021== Lock acquired, processing the job... [2025-03-08 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:26:03] Production.INFO: ==13021== Releasing lock... [2025-03-08 21:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:26:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:26:04] Production.INFO: ==13025== Lock acquired, processing the job... [2025-03-08 21:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:26:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:26:04] Production.INFO: ==13027== Lock acquired, processing the job... [2025-03-08 21:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:26:04] Production.INFO: ==13031== Lock acquired, processing the job... [2025-03-08 21:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:26:04] Production.INFO: Account Balance Start. [2025-03-08 21:26:04] Production.INFO: CreateAllLog Start [2025-03-08 21:26:04] Production.INFO: 117 [2025-03-08 21:26:04] Production.INFO: ==13027== Releasing lock... [2025-03-08 21:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:26:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:26:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:26:04] Production.INFO: Total Charge 0 [2025-03-08 21:26:04] Production.INFO: CreateAllLog End [2025-03-08 21:26:04] Production.INFO: Account Balance End. [2025-03-08 21:26:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:26:04] Production.INFO: ==13031== Releasing lock... [2025-03-08 21:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:26:04] Production.INFO: ==13029== Lock acquired, processing the job... [2025-03-08 21:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:26:04] Production.INFO: ==13033== Lock acquired, processing the job... [2025-03-08 21:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:26:04] Production.INFO: ==13035== Lock acquired, processing the job... [2025-03-08 21:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:26: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-08 21:26:05] Production.INFO: count ==13 [2025-03-08 21:26:05] Production.ERROR: done [2025-03-08 21:26:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:26:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:26:05] Production.INFO: count ==21 [2025-03-08 21:26:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637887') start [2025-03-08 21:26:05] Production.ERROR: done [2025-03-08 21:26:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637887') end [2025-03-08 21:26:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:26:05] Production.INFO: 1 [2025-03-08 21:26:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:26:05] Production.INFO: ==13035== Releasing lock... [2025-03-08 21:26:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:26:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:26:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:26:06 [end_date_ymd] => 2025-03-08 21:26:06 [RateCDR] => 1 ) [2025-03-08 21: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-08 18:26:06' and `end` < '2025-03-08 21: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-08 21:26:13] Production.ERROR: CronJobId end10 [2025-03-08 21:26:13] Production.INFO: ==13029== Releasing lock... [2025-03-08 21:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:26:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:26:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:26:16] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:26:16] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:26:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:26:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:26:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:26:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:26:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:26:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:26:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:26:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:26:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:26:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:26:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:26:16] Production.INFO: call_cost start [2025-03-08 21:26:16] Production.INFO: call_cost end [2025-03-08 21:26:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:26:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:26:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:26:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:26:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:26:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:26:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:26:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:26:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:26:17] Production.INFO: ==13025== Releasing lock... [2025-03-08 21:26:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:26:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:26:18] Production.INFO: count ==1146 [2025-03-08 21:26:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:26:06 - End Time 2025-03-08 21:26:06 [2025-03-08 21:26:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637888', 'tblTempUsageDetail_20' ) start [2025-03-08 21:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637888', 'tblTempUsageDetail_20' ) end [2025-03-08 21:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637888', 'tblTempVendorCDR_20' ) start [2025-03-08 21:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637888', 'tblTempVendorCDR_20' ) end [2025-03-08 21:26:19] Production.INFO: ProcessCDR(1,14637888,1,1,2) [2025-03-08 21:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637888', 'tblTempUsageDetail_20' ) start [2025-03-08 21:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637888', 'tblTempUsageDetail_20' ) end [2025-03-08 21:26:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:26:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:26:22] Production.INFO: ==13033== Releasing lock... [2025-03-08 21:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:26:22] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 02:27:01] Production.INFO: ==13098== Lock acquired, processing the job... [2025-03-09 02:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:27:01] Production.INFO: neon service started [2025-03-09 02:27:01] Production.INFO: neon service started [2025-03-09 02:27:01] Production.INFO: ==13098== Releasing lock... [2025-03-09 02:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:27:02] Production.INFO: ==13100== Lock acquired, processing the job... [2025-03-08 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:27:02] Production.INFO: ==13100== Releasing lock... [2025-03-08 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:27:02] Production.INFO: ==13102== Lock acquired, processing the job... [2025-03-09 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:27:02] Production.INFO: ==13102== Releasing lock... [2025-03-09 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:27:03] Production.INFO: ==13112== Lock acquired, processing the job... [2025-03-08 21:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:27:03] Production.INFO: ==13114== Lock acquired, processing the job... [2025-03-08 21:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:27:03] Production.INFO: ==13104== Lock acquired, processing the job... [2025-03-08 21:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:27:03] Production.INFO: count ==13 [2025-03-08 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-08 21:27:03] Production.INFO: count ==21 [2025-03-08 21:27:03] Production.INFO: ==13108== Lock acquired, processing the job... [2025-03-08 21:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:27:03] Production.INFO: ==13106== Lock acquired, processing the job... [2025-03-08 21:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637889') start [2025-03-08 21:27:03] Production.INFO: ==13110== Lock acquired, processing the job... [2025-03-08 21:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637889') end [2025-03-08 21:27:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:27:03] Production.INFO: 1 [2025-03-08 21:27:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:27:03] Production.INFO: ==13114== Releasing lock... [2025-03-08 21:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:27:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:27:03] Production.ERROR: done [2025-03-08 21:27:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:27:03] Production.INFO: Account Balance Start. [2025-03-08 21:27:03] Production.INFO: CreateAllLog Start [2025-03-08 21:27:03] Production.INFO: 117 [2025-03-08 21:27:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:27:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:27:03] Production.INFO: Total Charge 0 [2025-03-08 21:27:03] Production.INFO: CreateAllLog End [2025-03-08 21:27:04] Production.INFO: ==13106== Releasing lock... [2025-03-08 21:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:27:04] Production.ERROR: done [2025-03-08 21:27:04] Production.INFO: Account Balance End. [2025-03-08 21:27:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:27:04] Production.INFO: ==13110== Releasing lock... [2025-03-08 21:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:27:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:27:04 [end_date_ymd] => 2025-03-08 21:27:04 [RateCDR] => 1 ) [2025-03-08 21:27:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:27:04' and `end` < '2025-03-08 21:27:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:27:12] Production.ERROR: CronJobId end10 [2025-03-08 21:27:12] Production.INFO: ==13108== Releasing lock... [2025-03-08 21:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:27:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:27:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:27:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:27:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:27:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:27:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:27:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:27:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:27:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:27:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:27:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:27:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:27:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:27:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:27:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:27:14] Production.INFO: call_cost start [2025-03-08 21:27:14] Production.INFO: call_cost end [2025-03-08 21:27:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:27:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:27:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:27:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:27:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:27:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:27:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:27:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:27:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:27:15] Production.INFO: ==13104== Releasing lock... [2025-03-08 21:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:27:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:27:16] Production.INFO: count ==1153 [2025-03-08 21:27:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:27:04 - End Time 2025-03-08 21:27:04 [2025-03-08 21:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637893', 'tblTempUsageDetail_20' ) start [2025-03-08 21:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637893', 'tblTempUsageDetail_20' ) end [2025-03-08 21:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637893', 'tblTempVendorCDR_20' ) start [2025-03-08 21:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637893', 'tblTempVendorCDR_20' ) end [2025-03-08 21:27:17] Production.INFO: ProcessCDR(1,14637893,1,1,2) [2025-03-08 21:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:27:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637893', 'tblTempUsageDetail_20' ) start [2025-03-08 21:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637893', 'tblTempUsageDetail_20' ) end [2025-03-08 21:27:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:27:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:27:20] Production.INFO: ==13112== Releasing lock... [2025-03-08 21:27:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:27:20] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 02:28:02] Production.INFO: ==13171== Lock acquired, processing the job... [2025-03-09 02:28:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:28:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:28:02] Production.INFO: neon service started [2025-03-09 02:28:02] Production.INFO: neon service started [2025-03-09 02:28:02] Production.INFO: ==13171== Releasing lock... [2025-03-09 02:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:28:02] Production.INFO: ==13173== Lock acquired, processing the job... [2025-03-08 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:28:02] Production.INFO: ==13173== Releasing lock... [2025-03-08 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:28:03] Production.INFO: ==13175== Lock acquired, processing the job... [2025-03-09 02:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:28:03] Production.INFO: ==13175== Releasing lock... [2025-03-09 02:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:28:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:28:03] Production.INFO: ==13177== Lock acquired, processing the job... [2025-03-08 21:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:28:04] Production.INFO: ==13185== Lock acquired, processing the job... [2025-03-08 21:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:28:04] Production.INFO: ==13187== Lock acquired, processing the job... [2025-03-08 21:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:28:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:28:04] Production.INFO: ==13179== Lock acquired, processing the job... [2025-03-08 21:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:28:04] Production.INFO: ==13181== Lock acquired, processing the job... [2025-03-08 21:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:28:04] Production.INFO: ==13183== Lock acquired, processing the job... [2025-03-08 21:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:28:04] Production.INFO: count ==13 [2025-03-08 21:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:28:04] Production.INFO: count ==21 [2025-03-08 21:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637895') start [2025-03-08 21:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:28:04] Production.INFO: Account Balance Start. [2025-03-08 21:28:04] Production.INFO: CreateAllLog Start [2025-03-08 21:28:04] Production.INFO: 117 [2025-03-08 21:28:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:28:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637895') end [2025-03-08 21:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:28:04] Production.INFO: 1 [2025-03-08 21:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:28:04] Production.INFO: ==13187== Releasing lock... [2025-03-08 21:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:28:04] Production.INFO: Total Charge 0 [2025-03-08 21:28:04] Production.INFO: CreateAllLog End [2025-03-08 21:28:04] Production.ERROR: done [2025-03-08 21:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:28:04] Production.INFO: ==13179== Releasing lock... [2025-03-08 21:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:28:04] Production.INFO: Account Balance End. [2025-03-08 21:28:04] Production.ERROR: done [2025-03-08 21:28:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:28:04] Production.INFO: ==13183== Releasing lock... [2025-03-08 21:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:28:05 [end_date_ymd] => 2025-03-08 21:28:05 [RateCDR] => 1 ) [2025-03-08 21:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:28:05' and `end` < '2025-03-08 21:28:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:28:12] Production.ERROR: CronJobId end10 [2025-03-08 21:28:12] Production.INFO: ==13181== Releasing lock... [2025-03-08 21:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:28:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:28:15] Production.INFO: call_cost start [2025-03-08 21:28:15] Production.INFO: call_cost end [2025-03-08 21:28:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:28:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:28:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:28:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:28:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:28:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:28:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:28:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:28:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:28:16] Production.INFO: ==13177== Releasing lock... [2025-03-08 21:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:28:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:28:18] Production.INFO: count ==1153 [2025-03-08 21:28:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:28:05 - End Time 2025-03-08 21:28:05 [2025-03-08 21:28:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637898', 'tblTempUsageDetail_20' ) start [2025-03-08 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637898', 'tblTempUsageDetail_20' ) end [2025-03-08 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637898', 'tblTempVendorCDR_20' ) start [2025-03-08 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637898', 'tblTempVendorCDR_20' ) end [2025-03-08 21:28:18] Production.INFO: ProcessCDR(1,14637898,1,1,2) [2025-03-08 21:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637898', 'tblTempUsageDetail_20' ) start [2025-03-08 21:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637898', 'tblTempUsageDetail_20' ) end [2025-03-08 21:28:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:28:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:28:23] Production.INFO: ==13185== Releasing lock... [2025-03-08 21:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:28:23] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 02:29:01] Production.INFO: ==13242== Lock acquired, processing the job... [2025-03-09 02:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:29:01] Production.INFO: neon service started [2025-03-09 02:29:01] Production.INFO: neon service started [2025-03-09 02:29:01] Production.INFO: ==13242== Releasing lock... [2025-03-09 02:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:29:02] Production.INFO: ==13246== Lock acquired, processing the job... [2025-03-09 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:29:02] Production.INFO: ==13246== Releasing lock... [2025-03-09 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:29:02] Production.INFO: ==13244== Lock acquired, processing the job... [2025-03-08 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:29:02] Production.INFO: ==13244== Releasing lock... [2025-03-08 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:29:03] Production.INFO: ==13249== Lock acquired, processing the job... [2025-03-08 21:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:29:03] Production.INFO: ==13251== Lock acquired, processing the job... [2025-03-08 21:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:29:03] Production.INFO: ==13253== Lock acquired, processing the job... [2025-03-08 21:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:29:03] Production.INFO: ==13255== Lock acquired, processing the job... [2025-03-08 21:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:29:03] Production.INFO: Account Balance Start. [2025-03-08 21:29:03] Production.INFO: CreateAllLog Start [2025-03-08 21:29:03] Production.INFO: 117 [2025-03-08 21:29:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:29:03] Production.INFO: ==13257== Lock acquired, processing the job... [2025-03-08 21:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:29:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:29:03] Production.INFO: Total Charge 0 [2025-03-08 21:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:29:03] Production.INFO: CreateAllLog End [2025-03-08 21:29:03] Production.INFO: ==13259== Lock acquired, processing the job... [2025-03-08 21:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:29:03] Production.INFO: ==13251== Releasing lock... [2025-03-08 21:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:29:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:29:04] Production.INFO: count ==13 [2025-03-08 21:29:04] Production.ERROR: done [2025-03-08 21:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 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-08 21:29:04] Production.INFO: count ==21 [2025-03-08 21:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637902') start [2025-03-08 21:29:04] Production.INFO: Account Balance End. [2025-03-08 21:29:04] Production.ERROR: done [2025-03-08 21:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637902') end [2025-03-08 21:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:29:04] Production.INFO: 1 [2025-03-08 21:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:29:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:29:04] Production.INFO: ==13255== Releasing lock... [2025-03-08 21:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:29:04] Production.INFO: ==13259== Releasing lock... [2025-03-08 21:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:29:05 [end_date_ymd] => 2025-03-08 21:29:05 [RateCDR] => 1 ) [2025-03-08 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-08 18:29:05' and `end` < '2025-03-08 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-08 21:29:12] Production.ERROR: CronJobId end10 [2025-03-08 21:29:12] Production.INFO: ==13253== Releasing lock... [2025-03-08 21:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:29:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:29:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:29:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:29:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:29:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:29:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:29:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:29:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:29:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:29:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:29:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:29:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:29:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:29:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:29:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:29:14] Production.INFO: call_cost start [2025-03-08 21:29:14] Production.INFO: call_cost end [2025-03-08 21:29:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:29:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:29:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:29:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:29:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:29:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:29:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:29:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:29:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:29:15] Production.INFO: ==13249== Releasing lock... [2025-03-08 21:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:29:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:29:17] Production.INFO: count ==1151 [2025-03-08 21:29:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:29:05 - End Time 2025-03-08 21:29:05 [2025-03-08 21:29:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637903', 'tblTempUsageDetail_20' ) start [2025-03-08 21:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637903', 'tblTempUsageDetail_20' ) end [2025-03-08 21:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637903', 'tblTempVendorCDR_20' ) start [2025-03-08 21:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637903', 'tblTempVendorCDR_20' ) end [2025-03-08 21:29:17] Production.INFO: ProcessCDR(1,14637903,1,1,2) [2025-03-08 21:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637903', 'tblTempUsageDetail_20' ) start [2025-03-08 21:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637903', 'tblTempUsageDetail_20' ) end [2025-03-08 21:29:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:29:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:29:21] Production.INFO: ==13257== Releasing lock... [2025-03-08 21:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:29:21] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 02:30:02] Production.INFO: ==13321== Lock acquired, processing the job... [2025-03-09 02:30:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:30:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:30:02] Production.INFO: neon service started [2025-03-09 02:30:02] Production.INFO: neon service started [2025-03-09 02:30:02] Production.INFO: ==13321== Releasing lock... [2025-03-09 02:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:30:02] Production.INFO: ==13323== Lock acquired, processing the job... [2025-03-08 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:30:02] Production.INFO: ==13323== Releasing lock... [2025-03-08 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:30:03] Production.INFO: ==13325== Lock acquired, processing the job... [2025-03-09 02:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:30:03] Production.INFO: ==13325== Releasing lock... [2025-03-09 02:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:30:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:30:04] Production.INFO: ==13327== Lock acquired, processing the job... [2025-03-08 21:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 21:30:04] Production.INFO: ==13329== Lock acquired, processing the job... [2025-03-08 21:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 21:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 21:30:04] Production.INFO: ==13327== Releasing lock... [2025-03-08 21:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 21:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 21:30:04] Production.INFO: ==13331== Lock acquired, processing the job... [2025-03-08 21:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:30:04] Production.INFO: ==13337== Lock acquired, processing the job... [2025-03-08 21:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:30:04] Production.INFO: ==13333== Lock acquired, processing the job... [2025-03-08 21:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:30:04] Production.INFO: ==13339== Lock acquired, processing the job... [2025-03-08 21:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 21:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:30:04] Production.INFO: ==13335== Lock acquired, processing the job... [2025-03-08 21:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:30:04] Production.INFO: ==13341== Lock acquired, processing the job... [2025-03-08 21:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:30:04] Production.INFO: ==13331== Releasing lock... [2025-03-08 21:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:30:04] Production.INFO: Account Balance Start. [2025-03-08 21:30:04] Production.INFO: CreateAllLog Start [2025-03-08 21:30:04] Production.INFO: 117 [2025-03-08 21:30:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:30:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:30:04] Production.INFO: count ==13 [2025-03-08 21:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:30:04] Production.INFO: count ==21 [2025-03-08 21:30:04] Production.ERROR: done [2025-03-08 21:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637907') start [2025-03-08 21:30:04] Production.INFO: Total Charge 0 [2025-03-08 21:30:04] Production.INFO: CreateAllLog End [2025-03-08 21:30:04] Production.ERROR: done [2025-03-08 21:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14637907') end [2025-03-08 21:30:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:30:05] Production.INFO: 1 [2025-03-08 21:30:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:30:05] Production.ERROR: done [2025-03-08 21:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 21:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637909', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 21:30:05] Production.INFO: ==13341== Releasing lock... [2025-03-08 21:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:30:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:30:05] Production.INFO: Account Balance End. [2025-03-08 21:30:05] Production.ERROR: CronJobId end 12 [2025-03-08 21:30:05] Production.INFO: ==13335== Releasing lock... [2025-03-08 21:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:30:06 [end_date_ymd] => 2025-03-08 21:30:06 [RateCDR] => 1 ) [2025-03-08 21:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:30:06' and `end` < '2025-03-08 21:30:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637909', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 21:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 21:30:09] Production.INFO: ProcessCDR(1,14637909,1,1,2) [2025-03-08 21:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14637909,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14637909,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:30:09] Production.INFO: ==13339== Releasing lock... [2025-03-08 21:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 21:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-08 21:30:14] Production.ERROR: CronJobId end10 [2025-03-08 21:30:14] Production.INFO: ==13333== Releasing lock... [2025-03-08 21:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:30:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:30:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:30:16] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:30:16] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:30:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:30:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:30:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:30:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:30:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:30:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:30:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:30:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:30:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:30:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:30:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:30:16] Production.INFO: call_cost start [2025-03-08 21:30:16] Production.INFO: call_cost end [2025-03-08 21:30:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:30:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:30:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:30:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:30:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:30:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:30:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:30:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:30:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:30:17] Production.INFO: ==13329== Releasing lock... [2025-03-08 21:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:30:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:30:18] Production.INFO: count ==1152 [2025-03-08 21:30:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:30:06 - End Time 2025-03-08 21:30:06 [2025-03-08 21:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637908', 'tblTempUsageDetail_20' ) start [2025-03-08 21:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637908', 'tblTempUsageDetail_20' ) end [2025-03-08 21:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637908', 'tblTempVendorCDR_20' ) start [2025-03-08 21:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637908', 'tblTempVendorCDR_20' ) end [2025-03-08 21:30:18] Production.INFO: ProcessCDR(1,14637908,1,1,2) [2025-03-08 21:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637908', 'tblTempUsageDetail_20' ) start [2025-03-08 21:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637908', 'tblTempUsageDetail_20' ) end [2025-03-08 21:30:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:30:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:30:22] Production.INFO: ==13337== Releasing lock... [2025-03-08 21:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:30:22] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 02:31:01] Production.INFO: ==13405== Lock acquired, processing the job... [2025-03-09 02:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:31:01] Production.INFO: neon service started [2025-03-09 02:31:01] Production.INFO: neon service started [2025-03-09 02:31:01] Production.INFO: ==13405== Releasing lock... [2025-03-09 02:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:31:02] Production.INFO: ==13409== Lock acquired, processing the job... [2025-03-09 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:31:02] Production.INFO: ==13409== Releasing lock... [2025-03-09 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:31:02] Production.INFO: ==13407== Lock acquired, processing the job... [2025-03-08 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:31:02] Production.INFO: ==13407== Releasing lock... [2025-03-08 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:31:03] Production.INFO: ==13416== Lock acquired, processing the job... [2025-03-08 21:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:31:03] Production.INFO: ==13418== Lock acquired, processing the job... [2025-03-08 21:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:31:03] Production.INFO: ==13420== Lock acquired, processing the job... [2025-03-08 21:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:31:03] Production.INFO: Account Balance Start. [2025-03-08 21:31:03] Production.INFO: CreateAllLog Start [2025-03-08 21:31:03] Production.INFO: 117 [2025-03-08 21:31:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:31:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:31:03] Production.INFO: Total Charge 0 [2025-03-08 21:31:03] Production.INFO: CreateAllLog End [2025-03-08 21:31:03] Production.INFO: ==13414== Lock acquired, processing the job... [2025-03-08 21:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:31:03] Production.INFO: ==13422== Lock acquired, processing the job... [2025-03-08 21:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:31:03] Production.INFO: ==13412== Lock acquired, processing the job... [2025-03-08 21:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:31:03] Production.ERROR: done [2025-03-08 21:31:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:31:03] Production.INFO: Account Balance End. [2025-03-08 21:31:03] Production.ERROR: done [2025-03-08 21:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:31:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:31:04] Production.INFO: ==13418== Releasing lock... [2025-03-08 21:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 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-08 21:31:04] Production.INFO: count ==13 [2025-03-08 21:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:31:04] Production.INFO: count ==21 [2025-03-08 21:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637911') start [2025-03-08 21:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637911') end [2025-03-08 21:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:31:04] Production.INFO: 1 [2025-03-08 21:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:31:04] Production.INFO: ==13414== Releasing lock... [2025-03-08 21:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:31:04] Production.INFO: ==13422== Releasing lock... [2025-03-08 21:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:31:05 [end_date_ymd] => 2025-03-08 21:31:05 [RateCDR] => 1 ) [2025-03-08 21:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:31:05' and `end` < '2025-03-08 21:31:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:31:11] Production.ERROR: CronJobId end10 [2025-03-08 21:31:11] Production.INFO: ==13416== Releasing lock... [2025-03-08 21:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:31:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:31:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:31:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:31:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:31:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:31:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:31:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:31:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:31:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:31:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:31:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:31:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:31:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:31:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:31:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:31:14] Production.INFO: call_cost start [2025-03-08 21:31:14] Production.INFO: call_cost end [2025-03-08 21:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:31:15] Production.INFO: ==13412== Releasing lock... [2025-03-08 21:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:31:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:31:17] Production.INFO: count ==1156 [2025-03-08 21:31:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:31:05 - End Time 2025-03-08 21:31:05 [2025-03-08 21:31:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637914', 'tblTempUsageDetail_20' ) start [2025-03-08 21:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637914', 'tblTempUsageDetail_20' ) end [2025-03-08 21:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637914', 'tblTempVendorCDR_20' ) start [2025-03-08 21:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637914', 'tblTempVendorCDR_20' ) end [2025-03-08 21:31:17] Production.INFO: ProcessCDR(1,14637914,1,1,2) [2025-03-08 21:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:31:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637914', 'tblTempUsageDetail_20' ) start [2025-03-08 21:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637914', 'tblTempUsageDetail_20' ) end [2025-03-08 21:31:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:31:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:31:20] Production.INFO: ==13420== Releasing lock... [2025-03-08 21:31:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:31:20] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 02:32:02] Production.INFO: ==13480== Lock acquired, processing the job... [2025-03-09 02:32:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:32:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:32:02] Production.INFO: neon service started [2025-03-09 02:32:02] Production.INFO: neon service started [2025-03-09 02:32:02] Production.INFO: ==13480== Releasing lock... [2025-03-09 02:32:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:32:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:32:02] Production.INFO: ==13484== Lock acquired, processing the job... [2025-03-09 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:32:02] Production.INFO: ==13484== Releasing lock... [2025-03-09 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:32:02] Production.INFO: ==13482== Lock acquired, processing the job... [2025-03-08 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:32:02] Production.INFO: ==13482== Releasing lock... [2025-03-08 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:32:03] Production.INFO: ==13487== Lock acquired, processing the job... [2025-03-08 21:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:32:03] Production.INFO: ==13493== Lock acquired, processing the job... [2025-03-08 21:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:32:03] Production.INFO: ==13495== Lock acquired, processing the job... [2025-03-08 21:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:32:03] Production.INFO: Account Balance Start. [2025-03-08 21:32:03] Production.INFO: CreateAllLog Start [2025-03-08 21:32:03] Production.INFO: 117 [2025-03-08 21:32:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:32:03] Production.INFO: ==13489== Lock acquired, processing the job... [2025-03-08 21:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:32:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:32:04] Production.INFO: ==13491== Lock acquired, processing the job... [2025-03-08 21:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:32:04] Production.INFO: Total Charge 0 [2025-03-08 21:32:04] Production.INFO: CreateAllLog End [2025-03-08 21:32:04] Production.INFO: ==13497== Lock acquired, processing the job... [2025-03-08 21:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:32:04] Production.INFO: Account Balance End. [2025-03-08 21:32:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:32:04] Production.INFO: ==13493== Releasing lock... [2025-03-08 21:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:32:04] Production.ERROR: done [2025-03-08 21:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:32:04] Production.INFO: count ==13 [2025-03-08 21:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:32:04] Production.INFO: count ==21 [2025-03-08 21:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637918') start [2025-03-08 21:32:04] Production.INFO: ==13489== Releasing lock... [2025-03-08 21:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:32:04] Production.ERROR: done [2025-03-08 21:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637918') end [2025-03-08 21:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:32:04] Production.INFO: 1 [2025-03-08 21:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:32:04] Production.INFO: ==13497== Releasing lock... [2025-03-08 21:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:32:05 [end_date_ymd] => 2025-03-08 21:32:05 [RateCDR] => 1 ) [2025-03-08 21:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:32:05' and `end` < '2025-03-08 21:32:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:32:11] Production.ERROR: CronJobId end10 [2025-03-08 21:32:11] Production.INFO: ==13491== Releasing lock... [2025-03-08 21:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:32:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:32:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:32:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:32:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:32:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:32:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:32:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:32:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:32:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:32:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:32:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:32:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:32:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:32:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:32:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:32:14] Production.INFO: call_cost start [2025-03-08 21:32:14] Production.INFO: call_cost end [2025-03-08 21:32:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:32:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:32:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:32:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:32:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:32:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:32:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:32:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:32:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:32:15] Production.INFO: ==13487== Releasing lock... [2025-03-08 21:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:32:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:32:17] Production.INFO: count ==1159 [2025-03-08 21:32:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:32:05 - End Time 2025-03-08 21:32:05 [2025-03-08 21:32:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637919', 'tblTempUsageDetail_20' ) start [2025-03-08 21:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637919', 'tblTempUsageDetail_20' ) end [2025-03-08 21:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637919', 'tblTempVendorCDR_20' ) start [2025-03-08 21:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637919', 'tblTempVendorCDR_20' ) end [2025-03-08 21:32:17] Production.INFO: ProcessCDR(1,14637919,1,1,2) [2025-03-08 21:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637919', 'tblTempUsageDetail_20' ) start [2025-03-08 21:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637919', 'tblTempUsageDetail_20' ) end [2025-03-08 21:32:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:32:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:32:21] Production.INFO: ==13495== Releasing lock... [2025-03-08 21:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:32:21] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 02:33:01] Production.INFO: ==13557== Lock acquired, processing the job... [2025-03-09 02:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:33:01] Production.INFO: neon service started [2025-03-09 02:33:01] Production.INFO: neon service started [2025-03-09 02:33:01] Production.INFO: ==13557== Releasing lock... [2025-03-09 02:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:33:01] Production.INFO: ==13559== Lock acquired, processing the job... [2025-03-08 21:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:33:02] Production.INFO: ==13559== Releasing lock... [2025-03-08 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:33:02] Production.INFO: ==13561== Lock acquired, processing the job... [2025-03-09 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:33:02] Production.INFO: ==13561== Releasing lock... [2025-03-09 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:33:03] Production.INFO: ==13563== Lock acquired, processing the job... [2025-03-08 21:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:33:03] Production.INFO: ==13565== Lock acquired, processing the job... [2025-03-08 21:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:33:03] Production.INFO: ==13574== Lock acquired, processing the job... [2025-03-08 21:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:33:03] Production.INFO: ==13568== Lock acquired, processing the job... [2025-03-08 21:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:33:03] Production.INFO: ==13570== Lock acquired, processing the job... [2025-03-08 21:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:33:03] Production.INFO: ==13572== Lock acquired, processing the job... [2025-03-08 21:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:33:03] Production.INFO: count ==13 [2025-03-08 21:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:33:03] Production.INFO: count ==21 [2025-03-08 21:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637922') start [2025-03-08 21:33:03] Production.INFO: Account Balance Start. [2025-03-08 21:33:03] Production.INFO: CreateAllLog Start [2025-03-08 21:33:03] Production.INFO: 117 [2025-03-08 21:33:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:33:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:33:03] Production.INFO: Total Charge 0 [2025-03-08 21:33:03] Production.INFO: ==13565== Releasing lock... [2025-03-08 21:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:33:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:33:03] Production.INFO: CreateAllLog End [2025-03-08 21:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637922') end [2025-03-08 21:33:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:33:03] Production.INFO: 1 [2025-03-08 21:33:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:33:03] Production.INFO: ==13574== Releasing lock... [2025-03-08 21:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:33:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:33:03] Production.ERROR: done [2025-03-08 21:33:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:33:03] Production.INFO: Account Balance End. [2025-03-08 21:33:03] Production.ERROR: CronJobId end 12 [2025-03-08 21:33:03] Production.INFO: ==13570== Releasing lock... [2025-03-08 21:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:33:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:33:04] Production.ERROR: done [2025-03-08 21:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:33:05 [end_date_ymd] => 2025-03-08 21:33:05 [RateCDR] => 1 ) [2025-03-08 21:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:33:05' and `end` < '2025-03-08 21:33:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:33:13] Production.ERROR: CronJobId end10 [2025-03-08 21:33:13] Production.INFO: ==13568== Releasing lock... [2025-03-08 21:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:33:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:33:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:33:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:33:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:33:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:33:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:33:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:33:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:33:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:33:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:33:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:33:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:33:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:33:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:33:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:33:14] Production.INFO: call_cost start [2025-03-08 21:33:14] Production.INFO: call_cost end [2025-03-08 21:33:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:33:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:33:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:33:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:33:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:33:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:33:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:33:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:33:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:33:15] Production.INFO: ==13563== Releasing lock... [2025-03-08 21:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:33:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:33:17] Production.INFO: count ==1154 [2025-03-08 21:33:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:33:05 - End Time 2025-03-08 21:33:05 [2025-03-08 21:33:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637924', 'tblTempUsageDetail_20' ) start [2025-03-08 21:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637924', 'tblTempUsageDetail_20' ) end [2025-03-08 21:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637924', 'tblTempVendorCDR_20' ) start [2025-03-08 21:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637924', 'tblTempVendorCDR_20' ) end [2025-03-08 21:33:17] Production.INFO: ProcessCDR(1,14637924,1,1,2) [2025-03-08 21:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637924', 'tblTempUsageDetail_20' ) start [2025-03-08 21:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637924', 'tblTempUsageDetail_20' ) end [2025-03-08 21:33:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:33:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:33:22] Production.INFO: ==13572== Releasing lock... [2025-03-08 21:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:33:22] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 02:34:01] Production.INFO: ==13630== Lock acquired, processing the job... [2025-03-09 02:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:34:02] Production.INFO: neon service started [2025-03-09 02:34:02] Production.INFO: neon service started [2025-03-09 02:34:02] Production.INFO: ==13630== Releasing lock... [2025-03-09 02:34:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:34:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:34:02] Production.INFO: ==13632== Lock acquired, processing the job... [2025-03-08 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:34:02] Production.INFO: ==13632== Releasing lock... [2025-03-08 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:34:03] Production.INFO: ==13634== Lock acquired, processing the job... [2025-03-09 02:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:34:03] Production.INFO: ==13634== Releasing lock... [2025-03-09 02:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:34:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:34:04] Production.INFO: ==13645== Lock acquired, processing the job... [2025-03-08 21:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:34:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:34:04] Production.INFO: ==13647== Lock acquired, processing the job... [2025-03-08 21:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:34:04] Production.INFO: ==13639== Lock acquired, processing the job... [2025-03-08 21:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:34:04] Production.INFO: ==13637== Lock acquired, processing the job... [2025-03-08 21:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:34:04] Production.INFO: ==13643== Lock acquired, processing the job... [2025-03-08 21:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:34:04] Production.INFO: ==13641== Lock acquired, processing the job... [2025-03-08 21:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:34:04] Production.INFO: count ==13 [2025-03-08 21:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:34:04] Production.INFO: count ==21 [2025-03-08 21:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637925') start [2025-03-08 21:34:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:34:04] Production.INFO: Account Balance Start. [2025-03-08 21:34:04] Production.INFO: CreateAllLog Start [2025-03-08 21:34:04] Production.INFO: 117 [2025-03-08 21:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:34:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:34:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637925') end [2025-03-08 21:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:34:04] Production.INFO: 1 [2025-03-08 21:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:34:04] Production.INFO: Total Charge 0 [2025-03-08 21:34:04] Production.INFO: CreateAllLog End [2025-03-08 21:34:04] Production.INFO: ==13647== Releasing lock... [2025-03-08 21:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:34:04] Production.ERROR: done [2025-03-08 21:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:34:04] Production.INFO: ==13639== Releasing lock... [2025-03-08 21:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:34:05] Production.ERROR: done [2025-03-08 21:34:05] Production.INFO: Account Balance End. [2025-03-08 21:34:05] Production.ERROR: CronJobId end 12 [2025-03-08 21:34:05] Production.INFO: ==13643== Releasing lock... [2025-03-08 21:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:34:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:34:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:34:06 [end_date_ymd] => 2025-03-08 21:34:06 [RateCDR] => 1 ) [2025-03-08 21: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-08 18:34:06' and `end` < '2025-03-08 21: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-08 21:34:13] Production.ERROR: CronJobId end10 [2025-03-08 21:34:13] Production.INFO: ==13641== Releasing lock... [2025-03-08 21:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:34:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:34:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:34:16] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:34:16] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:34:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:34:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:34:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:34:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:34:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:34:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:34:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:34:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:34:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:34:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:34:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:34:16] Production.INFO: call_cost start [2025-03-08 21:34:16] Production.INFO: call_cost end [2025-03-08 21:34:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:34:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:34:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:34:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:34:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:34:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:34:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:34:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:34:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:34:17] Production.INFO: ==13637== Releasing lock... [2025-03-08 21:34:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:34:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:34:18] Production.INFO: count ==1156 [2025-03-08 21:34:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:34:06 - End Time 2025-03-08 21:34:06 [2025-03-08 21:34:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637929', 'tblTempUsageDetail_20' ) start [2025-03-08 21:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637929', 'tblTempUsageDetail_20' ) end [2025-03-08 21:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637929', 'tblTempVendorCDR_20' ) start [2025-03-08 21:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637929', 'tblTempVendorCDR_20' ) end [2025-03-08 21:34:18] Production.INFO: ProcessCDR(1,14637929,1,1,2) [2025-03-08 21:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637929', 'tblTempUsageDetail_20' ) start [2025-03-08 21:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637929', 'tblTempUsageDetail_20' ) end [2025-03-08 21:34:24] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:34:24] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:34:24] Production.INFO: ==13645== Releasing lock... [2025-03-08 21:34:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:34:24] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 02:35:01] Production.INFO: ==13701== Lock acquired, processing the job... [2025-03-09 02:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:35:01] Production.INFO: neon service started [2025-03-09 02:35:01] Production.INFO: neon service started [2025-03-09 02:35:01] Production.INFO: ==13701== Releasing lock... [2025-03-09 02:35:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:35:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:35:01] Production.INFO: ==13705== Lock acquired, processing the job... [2025-03-09 02:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:35:01] Production.INFO: ==13705== Releasing lock... [2025-03-09 02:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:35:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:35:02] Production.INFO: ==13703== Lock acquired, processing the job... [2025-03-08 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:35:02] Production.INFO: ==13703== Releasing lock... [2025-03-08 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:35:03] Production.INFO: ==13708== Lock acquired, processing the job... [2025-03-08 21:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:35:03] Production.INFO: ==13712== Lock acquired, processing the job... [2025-03-08 21:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:35:03] Production.INFO: ==13718== Lock acquired, processing the job... [2025-03-08 21:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:35:03] Production.INFO: ==13710== Lock acquired, processing the job... [2025-03-08 21:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:35:03] Production.INFO: count ==13 [2025-03-08 21:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:35:03] Production.INFO: count ==21 [2025-03-08 21:35:03] Production.INFO: ==13714== Lock acquired, processing the job... [2025-03-08 21:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:35:03] Production.INFO: ==13716== Lock acquired, processing the job... [2025-03-08 21:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637931') start [2025-03-08 21:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:35:03] Production.INFO: Account Balance Start. [2025-03-08 21:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637931') end [2025-03-08 21:35:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:35:03] Production.INFO: 1 [2025-03-08 21:35:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:35:03] Production.INFO: CreateAllLog Start [2025-03-08 21:35:03] Production.INFO: 117 [2025-03-08 21:35:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:35:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:35:03] Production.INFO: ==13718== Releasing lock... [2025-03-08 21:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:35:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:35:03] Production.INFO: Total Charge 0 [2025-03-08 21:35:04] Production.INFO: CreateAllLog End [2025-03-08 21:35:04] Production.ERROR: done [2025-03-08 21:35:04] Production.INFO: ==13710== Releasing lock... [2025-03-08 21:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:35:04] Production.INFO: Account Balance End. [2025-03-08 21:35:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:35:04] Production.INFO: ==13714== Releasing lock... [2025-03-08 21:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:35:04] Production.ERROR: done [2025-03-08 21:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:35:05 [end_date_ymd] => 2025-03-08 21:35:05 [RateCDR] => 1 ) [2025-03-08 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-08 18:35:05' and `end` < '2025-03-08 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-08 21:35:12] Production.ERROR: CronJobId end10 [2025-03-08 21:35:12] Production.INFO: ==13712== Releasing lock... [2025-03-08 21:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:35:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:35:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:35:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:35:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:35:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:35:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:35:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:35:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:35:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:35:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:35:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:35:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:35:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:35:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:35:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:35:14] Production.INFO: call_cost start [2025-03-08 21:35:14] Production.INFO: call_cost end [2025-03-08 21:35:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:35:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:35:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:35:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:35:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:35:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:35:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:35:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:35:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:35:15] Production.INFO: ==13708== Releasing lock... [2025-03-08 21:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:35:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:35:17] Production.INFO: count ==1155 [2025-03-08 21:35:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:35:05 - End Time 2025-03-08 21:35:05 [2025-03-08 21:35:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637934', 'tblTempUsageDetail_20' ) start [2025-03-08 21:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637934', 'tblTempUsageDetail_20' ) end [2025-03-08 21:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637934', 'tblTempVendorCDR_20' ) start [2025-03-08 21:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637934', 'tblTempVendorCDR_20' ) end [2025-03-08 21:35:18] Production.INFO: ProcessCDR(1,14637934,1,1,2) [2025-03-08 21:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637934', 'tblTempUsageDetail_20' ) start [2025-03-08 21:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637934', 'tblTempUsageDetail_20' ) end [2025-03-08 21:35:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:35:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:35:21] Production.INFO: ==13716== Releasing lock... [2025-03-08 21:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:35:21] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 02:36:01] Production.INFO: ==13812== Lock acquired, processing the job... [2025-03-09 02:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:36:01] Production.INFO: neon service started [2025-03-09 02:36:01] Production.INFO: neon service started [2025-03-09 02:36:01] Production.INFO: ==13812== Releasing lock... [2025-03-09 02:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:36:02] Production.INFO: ==13814== Lock acquired, processing the job... [2025-03-08 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:36:02] Production.INFO: ==13814== Releasing lock... [2025-03-08 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:36:02] Production.INFO: ==13816== Lock acquired, processing the job... [2025-03-09 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:36:02] Production.INFO: ==13816== Releasing lock... [2025-03-09 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:36:03] Production.INFO: ==13820== Lock acquired, processing the job... [2025-03-08 21:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:36:03] Production.INFO: ==13828== Lock acquired, processing the job... [2025-03-08 21:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:36:03] Production.INFO: ==13818== Lock acquired, processing the job... [2025-03-08 21:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:36:03] Production.INFO: ==13822== Lock acquired, processing the job... [2025-03-08 21:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:36:03] Production.INFO: count ==13 [2025-03-08 21:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:36:03] Production.INFO: count ==21 [2025-03-08 21:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637936') start [2025-03-08 21:36:03] Production.INFO: ==13824== Lock acquired, processing the job... [2025-03-08 21:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:36:03] Production.INFO: ==13826== Lock acquired, processing the job... [2025-03-08 21:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:36:03] Production.INFO: ==13820== Releasing lock... [2025-03-08 21:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:36:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637936') end [2025-03-08 21:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:36:04] Production.INFO: 1 [2025-03-08 21:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:36:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:36:04] Production.INFO: Account Balance Start. [2025-03-08 21:36:04] Production.INFO: ==13828== Releasing lock... [2025-03-08 21:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:36:04] Production.INFO: CreateAllLog Start [2025-03-08 21:36:04] Production.INFO: 117 [2025-03-08 21:36:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:36:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:36:04] Production.INFO: Total Charge 0 [2025-03-08 21:36:04] Production.ERROR: done [2025-03-08 21:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:36:04] Production.INFO: CreateAllLog End [2025-03-08 21:36:04] Production.ERROR: done [2025-03-08 21:36:04] Production.INFO: Account Balance End. [2025-03-08 21:36:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:36:04] Production.INFO: ==13824== Releasing lock... [2025-03-08 21:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:36:05 [end_date_ymd] => 2025-03-08 21:36:05 [RateCDR] => 1 ) [2025-03-08 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-08 18:36:05' and `end` < '2025-03-08 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-08 21:36:12] Production.ERROR: CronJobId end10 [2025-03-08 21:36:12] Production.INFO: ==13822== Releasing lock... [2025-03-08 21:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:36:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:36:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:36:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:36:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:36:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:36:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:36:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:36:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:36:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:36:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:36:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:36:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:36:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:36:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:36:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:36:13] Production.INFO: call_cost start [2025-03-08 21:36:13] Production.INFO: call_cost end [2025-03-08 21:36:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:36:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:36:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:36:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:36:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:36:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:36:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:36:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:36:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:36:14] Production.INFO: ==13818== Releasing lock... [2025-03-08 21:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:36:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:36:17] Production.INFO: count ==1155 [2025-03-08 21:36:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:36:05 - End Time 2025-03-08 21:36:05 [2025-03-08 21:36:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637939', 'tblTempUsageDetail_20' ) start [2025-03-08 21:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637939', 'tblTempUsageDetail_20' ) end [2025-03-08 21:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637939', 'tblTempVendorCDR_20' ) start [2025-03-08 21:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637939', 'tblTempVendorCDR_20' ) end [2025-03-08 21:36:17] Production.INFO: ProcessCDR(1,14637939,1,1,2) [2025-03-08 21:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637939', 'tblTempUsageDetail_20' ) start [2025-03-08 21:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637939', 'tblTempUsageDetail_20' ) end [2025-03-08 21:36:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:36:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:36:21] Production.INFO: ==13826== Releasing lock... [2025-03-08 21:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:36:21] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 02:37:01] Production.INFO: ==13881== Lock acquired, processing the job... [2025-03-09 02:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:37:01] Production.INFO: neon service started [2025-03-09 02:37:01] Production.INFO: neon service started [2025-03-09 02:37:01] Production.INFO: ==13881== Releasing lock... [2025-03-09 02:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:37:01] Production.INFO: ==13885== Lock acquired, processing the job... [2025-03-09 02:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:37:01] Production.INFO: ==13885== Releasing lock... [2025-03-09 02:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:37:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:37:01] Production.INFO: ==13883== Lock acquired, processing the job... [2025-03-08 21:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:37:02] Production.INFO: ==13883== Releasing lock... [2025-03-08 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:37:03] Production.INFO: ==13887== Lock acquired, processing the job... [2025-03-08 21:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:37:03] Production.INFO: ==13891== Lock acquired, processing the job... [2025-03-08 21:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:37:03] Production.INFO: ==13893== Lock acquired, processing the job... [2025-03-08 21:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:37:03] Production.INFO: ==13889== Lock acquired, processing the job... [2025-03-08 21:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:37:03] Production.INFO: Account Balance Start. [2025-03-08 21:37:03] Production.INFO: CreateAllLog Start [2025-03-08 21:37:03] Production.INFO: 117 [2025-03-08 21:37:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:37:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:37:03] Production.INFO: Total Charge 0 [2025-03-08 21:37:03] Production.INFO: CreateAllLog End [2025-03-08 21:37:03] Production.INFO: ==13897== Lock acquired, processing the job... [2025-03-08 21:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:37:03] Production.INFO: ==13895== Lock acquired, processing the job... [2025-03-08 21:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:37:03] Production.INFO: Account Balance End. [2025-03-08 21:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:37:03] Production.ERROR: CronJobId end 12 [2025-03-08 21:37:03] Production.INFO: ==13893== Releasing lock... [2025-03-08 21:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:37:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:37:03] Production.INFO: count ==13 [2025-03-08 21:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:37:03] Production.INFO: count ==21 [2025-03-08 21:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637943') start [2025-03-08 21:37:03] Production.INFO: ==13889== Releasing lock... [2025-03-08 21:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:37:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637943') end [2025-03-08 21:37:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:37:03] Production.INFO: 1 [2025-03-08 21:37:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:37:03] Production.ERROR: done [2025-03-08 21:37:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:37:03] Production.INFO: ==13897== Releasing lock... [2025-03-08 21:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:37:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:37:04] Production.ERROR: done [2025-03-08 21:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:37:05 [end_date_ymd] => 2025-03-08 21:37:05 [RateCDR] => 1 ) [2025-03-08 21:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:37:05' and `end` < '2025-03-08 21:37:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:37:11] Production.ERROR: CronJobId end10 [2025-03-08 21:37:11] Production.INFO: ==13891== Releasing lock... [2025-03-08 21:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:37:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:37:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:37:12] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:37:12] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:37:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:37:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:37:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:37:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:37:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:37:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:37:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:37:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:37:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:37:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:37:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:37:13] Production.INFO: call_cost start [2025-03-08 21:37:13] Production.INFO: call_cost end [2025-03-08 21:37:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:37:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:37:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:37:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:37:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:37:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:37:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:37:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:37:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:37:14] Production.INFO: ==13887== Releasing lock... [2025-03-08 21:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:37:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:37:17] Production.INFO: count ==1154 [2025-03-08 21:37:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:37:05 - End Time 2025-03-08 21:37:05 [2025-03-08 21:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637944', 'tblTempUsageDetail_20' ) start [2025-03-08 21:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637944', 'tblTempUsageDetail_20' ) end [2025-03-08 21:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637944', 'tblTempVendorCDR_20' ) start [2025-03-08 21:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637944', 'tblTempVendorCDR_20' ) end [2025-03-08 21:37:17] Production.INFO: ProcessCDR(1,14637944,1,1,2) [2025-03-08 21:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637944', 'tblTempUsageDetail_20' ) start [2025-03-08 21:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637944', 'tblTempUsageDetail_20' ) end [2025-03-08 21:37:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:37:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:37:20] Production.INFO: ==13895== Releasing lock... [2025-03-08 21:37:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:37:20] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 02:38:01] Production.INFO: ==13955== Lock acquired, processing the job... [2025-03-09 02:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:38:01] Production.INFO: neon service started [2025-03-09 02:38:01] Production.INFO: neon service started [2025-03-09 02:38:01] Production.INFO: ==13955== Releasing lock... [2025-03-09 02:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:38:02] Production.INFO: ==13958== Lock acquired, processing the job... [2025-03-08 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 02:38:02] Production.INFO: ==13960== Lock acquired, processing the job... [2025-03-09 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:38:02] Production.INFO: ==13960== Releasing lock... [2025-03-09 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:38:02] Production.INFO: ==13958== Releasing lock... [2025-03-08 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:38:03] Production.INFO: ==13964== Lock acquired, processing the job... [2025-03-08 21:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:38:03] Production.INFO: ==13966== Lock acquired, processing the job... [2025-03-08 21:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:38:03] Production.INFO: ==13970== Lock acquired, processing the job... [2025-03-08 21:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:38:03] Production.INFO: ==13964== Releasing lock... [2025-03-08 21:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:38:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:38:04] Production.INFO: ==13962== Lock acquired, processing the job... [2025-03-08 21:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:38:04] Production.INFO: ==13968== Lock acquired, processing the job... [2025-03-08 21:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:38:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:38:04] Production.ERROR: done [2025-03-08 21:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:38:04] Production.INFO: ==13972== Lock acquired, processing the job... [2025-03-08 21:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:38:04] Production.ERROR: done [2025-03-08 21:38:04] Production.INFO: Account Balance Start. [2025-03-08 21:38:04] Production.INFO: CreateAllLog Start [2025-03-08 21:38:04] Production.INFO: 117 [2025-03-08 21:38:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:38:04] Production.INFO: Reseller ==> 0 [2025-03-08 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-08 21:38:04] Production.INFO: Total Charge 0 [2025-03-08 21:38:04] Production.INFO: CreateAllLog End [2025-03-08 21:38:04] Production.INFO: count ==13 [2025-03-08 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-08 21:38:04] Production.INFO: count ==21 [2025-03-08 21:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637948') start [2025-03-08 21:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637948') end [2025-03-08 21:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:38:04] Production.INFO: 1 [2025-03-08 21:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:38:04] Production.INFO: ==13972== Releasing lock... [2025-03-08 21:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:38:04] Production.INFO: Account Balance End. [2025-03-08 21:38:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:38:04] Production.INFO: ==13968== Releasing lock... [2025-03-08 21:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:38:05 [end_date_ymd] => 2025-03-08 21:38:05 [RateCDR] => 1 ) [2025-03-08 21:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:38:05' and `end` < '2025-03-08 21:38:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:38:12] Production.ERROR: CronJobId end10 [2025-03-08 21:38:12] Production.INFO: ==13966== Releasing lock... [2025-03-08 21:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:38:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:38:15] Production.INFO: call_cost start [2025-03-08 21:38:15] Production.INFO: call_cost end [2025-03-08 21:38:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:38:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:38:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:38:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:38:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:38:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:38:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:38:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:38:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:38:16] Production.INFO: ==13962== Releasing lock... [2025-03-08 21:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:38:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:38:17] Production.INFO: count ==1156 [2025-03-08 21:38:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:38:05 - End Time 2025-03-08 21:38:05 [2025-03-08 21:38:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637949', 'tblTempUsageDetail_20' ) start [2025-03-08 21:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637949', 'tblTempUsageDetail_20' ) end [2025-03-08 21:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637949', 'tblTempVendorCDR_20' ) start [2025-03-08 21:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637949', 'tblTempVendorCDR_20' ) end [2025-03-08 21:38:17] Production.INFO: ProcessCDR(1,14637949,1,1,2) [2025-03-08 21:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637949', 'tblTempUsageDetail_20' ) start [2025-03-08 21:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637949', 'tblTempUsageDetail_20' ) end [2025-03-08 21:38:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:38:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:38:22] Production.INFO: ==13970== Releasing lock... [2025-03-08 21:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:38:22] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 02:39:02] Production.INFO: ==14027== Lock acquired, processing the job... [2025-03-09 02:39:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:39:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:39:02] Production.INFO: neon service started [2025-03-09 02:39:02] Production.INFO: neon service started [2025-03-09 02:39:02] Production.INFO: ==14027== Releasing lock... [2025-03-09 02:39:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:39:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:39:02] Production.INFO: ==14031== Lock acquired, processing the job... [2025-03-09 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:39:02] Production.INFO: ==14031== Releasing lock... [2025-03-09 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:39:02] Production.INFO: ==14029== Lock acquired, processing the job... [2025-03-08 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:39:03] Production.INFO: ==14029== Releasing lock... [2025-03-08 21:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:39:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:39:03] Production.INFO: ==14039== Lock acquired, processing the job... [2025-03-08 21:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:39:03] Production.INFO: ==14041== Lock acquired, processing the job... [2025-03-08 21:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:39:04] Production.INFO: Account Balance Start. [2025-03-08 21:39:04] Production.INFO: CreateAllLog Start [2025-03-08 21:39:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:39:04] Production.INFO: 117 [2025-03-08 21:39:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:39:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:39:04] Production.INFO: Total Charge 0 [2025-03-08 21:39:04] Production.INFO: CreateAllLog End [2025-03-08 21:39:04] Production.INFO: ==14035== Lock acquired, processing the job... [2025-03-08 21:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:39:04] Production.INFO: ==14033== Lock acquired, processing the job... [2025-03-08 21:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:39:04] Production.INFO: ==14037== Lock acquired, processing the job... [2025-03-08 21:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:39:04] Production.INFO: Account Balance End. [2025-03-08 21:39:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:39:04] Production.INFO: ==14039== Releasing lock... [2025-03-08 21:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:39:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:39:04] Production.INFO: ==14044== Lock acquired, processing the job... [2025-03-08 21:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:39:04] Production.ERROR: done [2025-03-08 21:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 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-08 21:39:04] Production.INFO: ==14035== Releasing lock... [2025-03-08 21:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:39:04] Production.INFO: count ==13 [2025-03-08 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-08 21:39:04] Production.INFO: count ==21 [2025-03-08 21:39:04] Production.ERROR: done [2025-03-08 21:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637953') start [2025-03-08 21:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637953') end [2025-03-08 21:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:39:04] Production.INFO: 1 [2025-03-08 21:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:39:05] Production.INFO: ==14044== Releasing lock... [2025-03-08 21:39:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:39:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:39:05 [end_date_ymd] => 2025-03-08 21:39:05 [RateCDR] => 1 ) [2025-03-08 21:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:39:05' and `end` < '2025-03-08 21:39:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:39:12] Production.ERROR: CronJobId end10 [2025-03-08 21:39:12] Production.INFO: ==14037== Releasing lock... [2025-03-08 21:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:39:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:39:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:39:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:39:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:39:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:39:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:39:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:39:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:39:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:39:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:39:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:39:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:39:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:39:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:39:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:39:15] Production.INFO: call_cost start [2025-03-08 21:39:15] Production.INFO: call_cost end [2025-03-08 21:39:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:39:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:39:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:39:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:39:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:39:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:39:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:39:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:39:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:39:16] Production.INFO: ==14033== Releasing lock... [2025-03-08 21:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:39:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:39:18] Production.INFO: count ==1153 [2025-03-08 21:39:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:39:05 - End Time 2025-03-08 21:39:05 [2025-03-08 21:39:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637954', 'tblTempUsageDetail_20' ) start [2025-03-08 21:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637954', 'tblTempUsageDetail_20' ) end [2025-03-08 21:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637954', 'tblTempVendorCDR_20' ) start [2025-03-08 21:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637954', 'tblTempVendorCDR_20' ) end [2025-03-08 21:39:18] Production.INFO: ProcessCDR(1,14637954,1,1,2) [2025-03-08 21:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637954', 'tblTempUsageDetail_20' ) start [2025-03-08 21:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637954', 'tblTempUsageDetail_20' ) end [2025-03-08 21:39:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:39:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:39:21] Production.INFO: ==14041== Releasing lock... [2025-03-08 21:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:39:21] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 02:40:01] Production.INFO: ==14098== Lock acquired, processing the job... [2025-03-09 02:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:40:01] Production.INFO: neon service started [2025-03-09 02:40:01] Production.INFO: neon service started [2025-03-09 02:40:01] Production.INFO: ==14098== Releasing lock... [2025-03-09 02:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:40:02] Production.INFO: ==14102== Lock acquired, processing the job... [2025-03-09 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:40:02] Production.INFO: ==14102== Releasing lock... [2025-03-09 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:40:02] Production.INFO: ==14100== Lock acquired, processing the job... [2025-03-08 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:40:02] Production.INFO: ==14100== Releasing lock... [2025-03-08 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:40:03] Production.INFO: ==14104== Lock acquired, processing the job... [2025-03-08 21:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 21:40:03] Production.INFO: ==14106== Lock acquired, processing the job... [2025-03-08 21:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 21:40:03] Production.INFO: ==14108== Lock acquired, processing the job... [2025-03-08 21:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:40:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 21:40:03] Production.INFO: ==14104== Releasing lock... [2025-03-08 21:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 21:40:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 21:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:40:03] Production.INFO: ==14110== Lock acquired, processing the job... [2025-03-08 21:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:40:03] Production.INFO: ==14115== Lock acquired, processing the job... [2025-03-08 21:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:40:04] Production.INFO: ==14119== Lock acquired, processing the job... [2025-03-08 21:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:40:04] Production.INFO: ==14113== Lock acquired, processing the job... [2025-03-08 21:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:40:04] Production.INFO: ==14117== Lock acquired, processing the job... [2025-03-08 21:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 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-08 21:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:40:04] Production.INFO: count ==13 [2025-03-08 21:40:04] Production.INFO: Account Balance Start. [2025-03-08 21:40:04] Production.INFO: CreateAllLog Start [2025-03-08 21:40:04] Production.INFO: 117 [2025-03-08 21:40:04] Production.INFO: ==14108== Releasing lock... [2025-03-08 21:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:40:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:40:04] Production.INFO: Reseller ==> 0 [2025-03-08 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-08 21:40:04] Production.INFO: Total Charge 0 [2025-03-08 21:40:04] Production.INFO: count ==21 [2025-03-08 21:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637957') start [2025-03-08 21:40:04] Production.INFO: CreateAllLog End [2025-03-08 21:40:04] Production.ERROR: done [2025-03-08 21:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637957') end [2025-03-08 21:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:40:04] Production.INFO: 1 [2025-03-08 21:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:40:04] Production.INFO: ==14119== Releasing lock... [2025-03-08 21:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:40:04] Production.ERROR: done [2025-03-08 21:40:04] Production.ERROR: done [2025-03-08 21:40:04] Production.INFO: Account Balance End. [2025-03-08 21:40:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:40:04] Production.INFO: ==14113== Releasing lock... [2025-03-08 21:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:40:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 21:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637959', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 21:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:40:06 [end_date_ymd] => 2025-03-08 21:40:06 [RateCDR] => 1 ) [2025-03-08 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-08 18:40:06' and `end` < '2025-03-08 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-08 21:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14637959', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 21:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 21:40:09] Production.INFO: ProcessCDR(1,14637959,1,1,2) [2025-03-08 21:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14637959,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14637959,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:40:09] Production.INFO: ==14117== Releasing lock... [2025-03-08 21:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 21:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-08 21:40:14] Production.ERROR: CronJobId end10 [2025-03-08 21:40:14] Production.INFO: ==14110== Releasing lock... [2025-03-08 21:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:40:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:40:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:40:16] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:40:16] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:40:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:40:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:40:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:40:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:40:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:40:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:40:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:40:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:40:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:40:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:40:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:40:16] Production.INFO: call_cost start [2025-03-08 21:40:16] Production.INFO: call_cost end [2025-03-08 21:40:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:40:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:40:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:40:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:40:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:40:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:40:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:40:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:40:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:40:17] Production.INFO: ==14106== Releasing lock... [2025-03-08 21:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:40:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:40:18] Production.INFO: count ==1147 [2025-03-08 21:40:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:40:06 - End Time 2025-03-08 21:40:06 [2025-03-08 21:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637960', 'tblTempUsageDetail_20' ) start [2025-03-08 21:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637960', 'tblTempUsageDetail_20' ) end [2025-03-08 21:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637960', 'tblTempVendorCDR_20' ) start [2025-03-08 21:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637960', 'tblTempVendorCDR_20' ) end [2025-03-08 21:40:18] Production.INFO: ProcessCDR(1,14637960,1,1,2) [2025-03-08 21:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637960', 'tblTempUsageDetail_20' ) start [2025-03-08 21:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637960', 'tblTempUsageDetail_20' ) end [2025-03-08 21:40:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:40:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:40:21] Production.INFO: ==14115== Releasing lock... [2025-03-08 21:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:40:21] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 02:41:02] Production.INFO: ==14178== Lock acquired, processing the job... [2025-03-09 02:41:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:41:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:41:02] Production.INFO: neon service started [2025-03-09 02:41:02] Production.INFO: neon service started [2025-03-09 02:41:02] Production.INFO: ==14178== Releasing lock... [2025-03-09 02:41:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:41:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:41:02] Production.INFO: ==14180== Lock acquired, processing the job... [2025-03-08 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:41:02] Production.INFO: ==14180== Releasing lock... [2025-03-08 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:41:02] Production.INFO: ==14182== Lock acquired, processing the job... [2025-03-09 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:41:02] Production.INFO: ==14182== Releasing lock... [2025-03-09 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:41:03] Production.INFO: ==14189== Lock acquired, processing the job... [2025-03-08 21:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:41:03] Production.INFO: ==14195== Lock acquired, processing the job... [2025-03-08 21:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:41:03] Production.INFO: ==14185== Lock acquired, processing the job... [2025-03-08 21:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:41:03] Production.INFO: ==14187== Lock acquired, processing the job... [2025-03-08 21:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:41:03] Production.INFO: count ==13 [2025-03-08 21:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:41:03] Production.INFO: count ==21 [2025-03-08 21:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637961') start [2025-03-08 21:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:41:03] Production.INFO: ==14191== Lock acquired, processing the job... [2025-03-08 21:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:41:04] Production.INFO: ==14193== Lock acquired, processing the job... [2025-03-08 21:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637961') end [2025-03-08 21:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:41:04] Production.INFO: 1 [2025-03-08 21:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:41:04] Production.INFO: Account Balance Start. [2025-03-08 21:41:04] Production.INFO: CreateAllLog Start [2025-03-08 21:41:04] Production.INFO: 117 [2025-03-08 21:41:04] Production.INFO: ==14195== Releasing lock... [2025-03-08 21:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:41:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:41:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:41:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:41:04] Production.INFO: Total Charge 0 [2025-03-08 21:41:04] Production.INFO: CreateAllLog End [2025-03-08 21:41:04] Production.INFO: ==14187== Releasing lock... [2025-03-08 21:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:41:04] Production.ERROR: done [2025-03-08 21:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:41:04] Production.ERROR: done [2025-03-08 21:41:04] Production.INFO: Account Balance End. [2025-03-08 21:41:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:41:04] Production.INFO: ==14191== Releasing lock... [2025-03-08 21:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:41:05 [end_date_ymd] => 2025-03-08 21:41:05 [RateCDR] => 1 ) [2025-03-08 21:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:41:05' and `end` < '2025-03-08 21:41:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:41:13] Production.ERROR: CronJobId end10 [2025-03-08 21:41:13] Production.INFO: ==14189== Releasing lock... [2025-03-08 21:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:41:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:41:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:41:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:41:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:41:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:41:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:41:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:41:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:41:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:41:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:41:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:41:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:41:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:41:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:41:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:41:14] Production.INFO: call_cost start [2025-03-08 21:41:14] Production.INFO: call_cost end [2025-03-08 21:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:41:15] Production.INFO: ==14185== Releasing lock... [2025-03-08 21:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:41:17] Production.INFO: count ==1131 [2025-03-08 21:41:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:41:05 - End Time 2025-03-08 21:41:05 [2025-03-08 21:41:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637965', 'tblTempUsageDetail_20' ) start [2025-03-08 21:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637965', 'tblTempUsageDetail_20' ) end [2025-03-08 21:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637965', 'tblTempVendorCDR_20' ) start [2025-03-08 21:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637965', 'tblTempVendorCDR_20' ) end [2025-03-08 21:41:17] Production.INFO: ProcessCDR(1,14637965,1,1,2) [2025-03-08 21:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637965', 'tblTempUsageDetail_20' ) start [2025-03-08 21:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637965', 'tblTempUsageDetail_20' ) end [2025-03-08 21:41:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:41:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:41:21] Production.INFO: ==14193== Releasing lock... [2025-03-08 21:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:41:21] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 02:42:01] Production.INFO: ==14251== Lock acquired, processing the job... [2025-03-09 02:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:42:01] Production.INFO: neon service started [2025-03-09 02:42:01] Production.INFO: neon service started [2025-03-09 02:42:01] Production.INFO: ==14251== Releasing lock... [2025-03-09 02:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:42:01] Production.INFO: ==14255== Lock acquired, processing the job... [2025-03-09 02:42:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:42:01] Production.INFO: ==14255== Releasing lock... [2025-03-09 02:42:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:42:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:42:02] Production.INFO: ==14253== Lock acquired, processing the job... [2025-03-08 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:42:02] Production.INFO: ==14253== Releasing lock... [2025-03-08 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:42:03] Production.INFO: ==14260== Lock acquired, processing the job... [2025-03-08 21:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:42:03] Production.INFO: ==14258== Lock acquired, processing the job... [2025-03-08 21:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:42:03] Production.INFO: ==14266== Lock acquired, processing the job... [2025-03-08 21:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:42:03] Production.INFO: ==14260== Releasing lock... [2025-03-08 21:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:42:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:42:03] Production.INFO: ==14264== Lock acquired, processing the job... [2025-03-08 21:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:42:03] Production.INFO: ==14262== Lock acquired, processing the job... [2025-03-08 21:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:42:03] Production.INFO: ==14268== Lock acquired, processing the job... [2025-03-08 21:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:42:03] Production.ERROR: done [2025-03-08 21:42:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:42:03] Production.INFO: Account Balance Start. [2025-03-08 21:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:42:03] Production.INFO: CreateAllLog Start [2025-03-08 21:42:03] Production.INFO: 117 [2025-03-08 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-08 21:42:03] Production.INFO: count ==13 [2025-03-08 21:42:03] Production.INFO: Date 2025-03-08 [2025-03-08 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-08 21:42:03] Production.INFO: count ==21 [2025-03-08 21:42:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:42:03] Production.ERROR: done [2025-03-08 21:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14637968') start [2025-03-08 21:42:03] Production.INFO: Total Charge 0 [2025-03-08 21:42:04] Production.INFO: CreateAllLog End [2025-03-08 21:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637968') end [2025-03-08 21:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:42:04] Production.INFO: 1 [2025-03-08 21:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:42:04] Production.INFO: Account Balance End. [2025-03-08 21:42:04] Production.INFO: ==14268== Releasing lock... [2025-03-08 21:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:42:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:42:04] Production.INFO: ==14264== Releasing lock... [2025-03-08 21:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:42:05 [end_date_ymd] => 2025-03-08 21:42:05 [RateCDR] => 1 ) [2025-03-08 21:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:42:05' and `end` < '2025-03-08 21:42:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:42:13] Production.ERROR: CronJobId end10 [2025-03-08 21:42:13] Production.INFO: ==14262== Releasing lock... [2025-03-08 21:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:42:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:42:14] Production.INFO: call_cost start [2025-03-08 21:42:14] Production.INFO: call_cost end [2025-03-08 21:42:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:42:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:42:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:42:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:42:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:42:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:42:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:42:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:42:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:42:15] Production.INFO: ==14258== Releasing lock... [2025-03-08 21:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:42:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:42:17] Production.INFO: count ==1121 [2025-03-08 21:42:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:42:05 - End Time 2025-03-08 21:42:05 [2025-03-08 21:42:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637970', 'tblTempUsageDetail_20' ) start [2025-03-08 21:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637970', 'tblTempUsageDetail_20' ) end [2025-03-08 21:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637970', 'tblTempVendorCDR_20' ) start [2025-03-08 21:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637970', 'tblTempVendorCDR_20' ) end [2025-03-08 21:42:17] Production.INFO: ProcessCDR(1,14637970,1,1,2) [2025-03-08 21:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637970', 'tblTempUsageDetail_20' ) start [2025-03-08 21:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637970', 'tblTempUsageDetail_20' ) end [2025-03-08 21:42:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:42:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:42:22] Production.INFO: ==14266== Releasing lock... [2025-03-08 21:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:42:22] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 02:43:02] Production.INFO: ==14322== Lock acquired, processing the job... [2025-03-09 02:43:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:43:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:43:02] Production.INFO: neon service started [2025-03-09 02:43:02] Production.INFO: neon service started [2025-03-09 02:43:02] Production.INFO: ==14322== Releasing lock... [2025-03-09 02:43:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:43:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:43:02] Production.INFO: ==14324== Lock acquired, processing the job... [2025-03-08 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:43:02] Production.INFO: ==14324== Releasing lock... [2025-03-08 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:43:02] Production.INFO: ==14326== Lock acquired, processing the job... [2025-03-09 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:43:02] Production.INFO: ==14326== Releasing lock... [2025-03-09 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:43:03] Production.INFO: ==14331== Lock acquired, processing the job... [2025-03-08 21:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:43:03] Production.INFO: ==14333== Lock acquired, processing the job... [2025-03-08 21:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:43:03] Production.INFO: ==14329== Lock acquired, processing the job... [2025-03-08 21:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:43:03] Production.INFO: ==14335== Lock acquired, processing the job... [2025-03-08 21:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:43:04] Production.INFO: ==14337== Lock acquired, processing the job... [2025-03-08 21:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:43:04] Production.INFO: ==14331== Releasing lock... [2025-03-08 21:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:43:04] Production.INFO: Account Balance Start. [2025-03-08 21:43:04] Production.INFO: CreateAllLog Start [2025-03-08 21:43:04] Production.INFO: 117 [2025-03-08 21:43:04] Production.INFO: ==14339== Lock acquired, processing the job... [2025-03-08 21:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:43:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:43:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:43:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:43:04] Production.INFO: Total Charge 0 [2025-03-08 21:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:43:04] Production.INFO: CreateAllLog End [2025-03-08 21:43:04] Production.INFO: count ==13 [2025-03-08 21:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:43:04] Production.INFO: count ==21 [2025-03-08 21:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637974') start [2025-03-08 21:43:04] Production.ERROR: done [2025-03-08 21:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:43:04] Production.ERROR: done [2025-03-08 21:43:04] Production.INFO: Account Balance End. [2025-03-08 21:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637974') end [2025-03-08 21:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:43:04] Production.INFO: 1 [2025-03-08 21:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:43:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:43:04] Production.INFO: ==14335== Releasing lock... [2025-03-08 21:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:43:04] Production.INFO: ==14339== Releasing lock... [2025-03-08 21:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:43:05 [end_date_ymd] => 2025-03-08 21:43:05 [RateCDR] => 1 ) [2025-03-08 21:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:43:05' and `end` < '2025-03-08 21:43:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:43:13] Production.ERROR: CronJobId end10 [2025-03-08 21:43:13] Production.INFO: ==14333== Releasing lock... [2025-03-08 21:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:43:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:43:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:43:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:43:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:43:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:43:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:43:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:43:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:43:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:43:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:43:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:43:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:43:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:43:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:43:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:43:15] Production.INFO: call_cost start [2025-03-08 21:43:15] Production.INFO: call_cost end [2025-03-08 21:43:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:43:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:43:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:43:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:43:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:43:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:43:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:43:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:43:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:43:16] Production.INFO: ==14329== Releasing lock... [2025-03-08 21:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:43:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:43:18] Production.INFO: count ==1120 [2025-03-08 21:43:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:43:05 - End Time 2025-03-08 21:43:05 [2025-03-08 21:43:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637975', 'tblTempUsageDetail_20' ) start [2025-03-08 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637975', 'tblTempUsageDetail_20' ) end [2025-03-08 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637975', 'tblTempVendorCDR_20' ) start [2025-03-08 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637975', 'tblTempVendorCDR_20' ) end [2025-03-08 21:43:18] Production.INFO: ProcessCDR(1,14637975,1,1,2) [2025-03-08 21:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637975', 'tblTempUsageDetail_20' ) start [2025-03-08 21:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637975', 'tblTempUsageDetail_20' ) end [2025-03-08 21:43:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:43:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:43:21] Production.INFO: ==14337== Releasing lock... [2025-03-08 21:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:43:21] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 02:44:01] Production.INFO: ==14392== Lock acquired, processing the job... [2025-03-09 02:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:44:01] Production.INFO: neon service started [2025-03-09 02:44:01] Production.INFO: neon service started [2025-03-09 02:44:01] Production.INFO: ==14392== Releasing lock... [2025-03-09 02:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:44:01] Production.INFO: ==14397== Lock acquired, processing the job... [2025-03-09 02:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:44:01] Production.INFO: ==14397== Releasing lock... [2025-03-09 02:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:44:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:44:02] Production.INFO: ==14394== Lock acquired, processing the job... [2025-03-08 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:44:02] Production.INFO: ==14394== Releasing lock... [2025-03-08 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:44:03] Production.INFO: ==14399== Lock acquired, processing the job... [2025-03-08 21:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:44:03] Production.INFO: ==14401== Lock acquired, processing the job... [2025-03-08 21:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:44:03] Production.INFO: ==14405== Lock acquired, processing the job... [2025-03-08 21:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:44:03] Production.INFO: Account Balance Start. [2025-03-08 21:44:03] Production.INFO: CreateAllLog Start [2025-03-08 21:44:03] Production.INFO: 117 [2025-03-08 21:44:03] Production.INFO: ==14407== Lock acquired, processing the job... [2025-03-08 21:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:44:03] Production.INFO: ==14403== Lock acquired, processing the job... [2025-03-08 21:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:44:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:44:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:44:03] Production.INFO: ==14401== Releasing lock... [2025-03-08 21:44:03] Production.INFO: Total Charge 0 [2025-03-08 21:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:44:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:44:03] Production.INFO: CreateAllLog End [2025-03-08 21:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:44:03] Production.INFO: ==14409== Lock acquired, processing the job... [2025-03-08 21:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 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-08 21:44:03] Production.INFO: Account Balance End. [2025-03-08 21:44:04] Production.INFO: count ==13 [2025-03-08 21:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:44:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:44:04] Production.INFO: ==14405== Releasing lock... [2025-03-08 21:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:44:04] Production.INFO: count ==21 [2025-03-08 21:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637979') start [2025-03-08 21:44:04] Production.ERROR: done [2025-03-08 21:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637979') end [2025-03-08 21:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:44:04] Production.INFO: 1 [2025-03-08 21:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:44:04] Production.ERROR: done [2025-03-08 21:44:04] Production.INFO: ==14409== Releasing lock... [2025-03-08 21:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:44:05 [end_date_ymd] => 2025-03-08 21:44:05 [RateCDR] => 1 ) [2025-03-08 21:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:44:05' and `end` < '2025-03-08 21:44:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:44:11] Production.ERROR: CronJobId end10 [2025-03-08 21:44:11] Production.INFO: ==14403== Releasing lock... [2025-03-08 21:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:44:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:44:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:44:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:44:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:44:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:44:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:44:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:44:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:44:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:44:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:44:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:44:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:44:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:44:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:44:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:44:14] Production.INFO: call_cost start [2025-03-08 21:44:14] Production.INFO: call_cost end [2025-03-08 21:44:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:44:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:44:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:44:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:44:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:44:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:44:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:44:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:44:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:44:15] Production.INFO: ==14399== Releasing lock... [2025-03-08 21:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:44:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:44:17] Production.INFO: count ==1123 [2025-03-08 21:44:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:44:05 - End Time 2025-03-08 21:44:05 [2025-03-08 21:44:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637980', 'tblTempUsageDetail_20' ) start [2025-03-08 21:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637980', 'tblTempUsageDetail_20' ) end [2025-03-08 21:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637980', 'tblTempVendorCDR_20' ) start [2025-03-08 21:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637980', 'tblTempVendorCDR_20' ) end [2025-03-08 21:44:17] Production.INFO: ProcessCDR(1,14637980,1,1,2) [2025-03-08 21:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637980', 'tblTempUsageDetail_20' ) start [2025-03-08 21:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637980', 'tblTempUsageDetail_20' ) end [2025-03-08 21:44:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:44:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:44:21] Production.INFO: ==14407== Releasing lock... [2025-03-08 21:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:44:21] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 02:45:01] Production.INFO: ==14464== Lock acquired, processing the job... [2025-03-09 02:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:45:01] Production.INFO: neon service started [2025-03-09 02:45:01] Production.INFO: neon service started [2025-03-09 02:45:01] Production.INFO: ==14464== Releasing lock... [2025-03-09 02:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:45:02] Production.INFO: ==14468== Lock acquired, processing the job... [2025-03-09 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:45:02] Production.INFO: ==14468== Releasing lock... [2025-03-09 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:45:02] Production.INFO: ==14466== Lock acquired, processing the job... [2025-03-08 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:45:02] Production.INFO: ==14466== Releasing lock... [2025-03-08 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:45:03] Production.INFO: ==14471== Lock acquired, processing the job... [2025-03-08 21:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:45:03] Production.INFO: ==14473== Lock acquired, processing the job... [2025-03-08 21:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:45:03] Production.INFO: ==14477== Lock acquired, processing the job... [2025-03-08 21:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:45:03] Production.INFO: ==14475== Lock acquired, processing the job... [2025-03-08 21:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:45:03] Production.INFO: Account Balance Start. [2025-03-08 21:45:03] Production.INFO: CreateAllLog Start [2025-03-08 21:45:03] Production.INFO: 117 [2025-03-08 21:45:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:45:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:45:03] Production.INFO: ==14473== Releasing lock... [2025-03-08 21:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:45:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:45:03] Production.INFO: Total Charge 0 [2025-03-08 21:45:03] Production.INFO: CreateAllLog End [2025-03-08 21:45:03] Production.INFO: ==14479== Lock acquired, processing the job... [2025-03-08 21:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:45:04] Production.INFO: ==14481== Lock acquired, processing the job... [2025-03-08 21:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:45:04] Production.INFO: Account Balance End. [2025-03-08 21:45:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:45:04] Production.INFO: ==14477== Releasing lock... [2025-03-08 21:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 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-08 21:45:04] Production.INFO: count ==13 [2025-03-08 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-08 21:45:04] Production.INFO: count ==21 [2025-03-08 21:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637984') start [2025-03-08 21:45:04] Production.ERROR: done [2025-03-08 21:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637984') end [2025-03-08 21:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:45:04] Production.INFO: 1 [2025-03-08 21:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:45:04] Production.INFO: ==14481== Releasing lock... [2025-03-08 21:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:45:04] Production.ERROR: done [2025-03-08 21:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:45:05 [end_date_ymd] => 2025-03-08 21:45:05 [RateCDR] => 1 ) [2025-03-08 21:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:45:05' and `end` < '2025-03-08 21:45:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:45:12] Production.ERROR: CronJobId end10 [2025-03-08 21:45:12] Production.INFO: ==14475== Releasing lock... [2025-03-08 21:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:45:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:45:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:45:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:45:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:45:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:45:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:45:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:45:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:45:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:45:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:45:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:45:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:45:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:45:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:45:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:45:14] Production.INFO: call_cost start [2025-03-08 21:45:14] Production.INFO: call_cost end [2025-03-08 21:45:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:45:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:45:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:45:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:45:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:45:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:45:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:45:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:45:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:45:15] Production.INFO: ==14471== Releasing lock... [2025-03-08 21:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:45:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:45:17] Production.INFO: count ==1122 [2025-03-08 21:45:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:45:05 - End Time 2025-03-08 21:45:05 [2025-03-08 21:45:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637985', 'tblTempUsageDetail_20' ) start [2025-03-08 21:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637985', 'tblTempUsageDetail_20' ) end [2025-03-08 21:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637985', 'tblTempVendorCDR_20' ) start [2025-03-08 21:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637985', 'tblTempVendorCDR_20' ) end [2025-03-08 21:45:18] Production.INFO: ProcessCDR(1,14637985,1,1,2) [2025-03-08 21:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637985', 'tblTempUsageDetail_20' ) start [2025-03-08 21:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637985', 'tblTempUsageDetail_20' ) end [2025-03-08 21:45:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:45:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:45:21] Production.INFO: ==14479== Releasing lock... [2025-03-08 21:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:45:21] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 02:46:02] Production.INFO: ==14534== Lock acquired, processing the job... [2025-03-09 02:46:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:46:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:46:02] Production.INFO: neon service started [2025-03-09 02:46:02] Production.INFO: neon service started [2025-03-09 02:46:02] Production.INFO: ==14534== Releasing lock... [2025-03-09 02:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:46:02] Production.INFO: ==14538== Lock acquired, processing the job... [2025-03-09 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:46:02] Production.INFO: ==14538== Releasing lock... [2025-03-09 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:46:02] Production.INFO: ==14536== Lock acquired, processing the job... [2025-03-08 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:46:03] Production.INFO: ==14536== Releasing lock... [2025-03-08 21:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:46:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:46:04] Production.INFO: ==14547== Lock acquired, processing the job... [2025-03-08 21:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:46:04] Production.INFO: ==14551== Lock acquired, processing the job... [2025-03-08 21:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:46:04] Production.INFO: Account Balance Start. [2025-03-08 21:46:04] Production.INFO: CreateAllLog Start [2025-03-08 21:46:04] Production.INFO: 117 [2025-03-08 21:46:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:46:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:46:04] Production.INFO: Total Charge 0 [2025-03-08 21:46:04] Production.INFO: CreateAllLog End [2025-03-08 21:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:46:04] Production.INFO: ==14541== Lock acquired, processing the job... [2025-03-08 21:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:46:04] Production.INFO: ==14543== Lock acquired, processing the job... [2025-03-08 21:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:46:04] Production.INFO: count ==13 [2025-03-08 21:46:04] Production.INFO: Account Balance End. [2025-03-08 21:46:04] Production.INFO: ==14545== Lock acquired, processing the job... [2025-03-08 21:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:46:04] Production.INFO: count ==21 [2025-03-08 21:46:04] Production.INFO: ==14549== Lock acquired, processing the job... [2025-03-08 21:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637987') start [2025-03-08 21:46:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:46:04] Production.INFO: ==14547== Releasing lock... [2025-03-08 21:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:46:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637987') end [2025-03-08 21:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:46:04] Production.INFO: 1 [2025-03-08 21:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:46:04] Production.INFO: ==14551== Releasing lock... [2025-03-08 21:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:46:04] Production.ERROR: done [2025-03-08 21:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:46:04] Production.INFO: ==14543== Releasing lock... [2025-03-08 21:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:46:05] Production.ERROR: done [2025-03-08 21:46:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:46:06 [end_date_ymd] => 2025-03-08 21:46:06 [RateCDR] => 1 ) [2025-03-08 21: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-08 18:46:06' and `end` < '2025-03-08 21: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-08 21:46:12] Production.ERROR: CronJobId end10 [2025-03-08 21:46:12] Production.INFO: ==14545== Releasing lock... [2025-03-08 21:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:46:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:46:14] Production.INFO: call_cost start [2025-03-08 21:46:14] Production.INFO: call_cost end [2025-03-08 21:46:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:46:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:46:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:46:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:46:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:46:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:46:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:46:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:46:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:46:15] Production.INFO: ==14541== Releasing lock... [2025-03-08 21:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:46:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:46:18] Production.INFO: count ==1126 [2025-03-08 21:46:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:46:06 - End Time 2025-03-08 21:46:06 [2025-03-08 21:46:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637990', 'tblTempUsageDetail_20' ) start [2025-03-08 21:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637990', 'tblTempUsageDetail_20' ) end [2025-03-08 21:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637990', 'tblTempVendorCDR_20' ) start [2025-03-08 21:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637990', 'tblTempVendorCDR_20' ) end [2025-03-08 21:46:18] Production.INFO: ProcessCDR(1,14637990,1,1,2) [2025-03-08 21:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637990', 'tblTempUsageDetail_20' ) start [2025-03-08 21:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637990', 'tblTempUsageDetail_20' ) end [2025-03-08 21:46:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:46:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:46:23] Production.INFO: ==14549== Releasing lock... [2025-03-08 21:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:46:23] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 02:47:01] Production.INFO: ==14610== Lock acquired, processing the job... [2025-03-09 02:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:47:01] Production.INFO: neon service started [2025-03-09 02:47:01] Production.INFO: neon service started [2025-03-09 02:47:01] Production.INFO: ==14610== Releasing lock... [2025-03-09 02:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:47:02] Production.INFO: ==14612== Lock acquired, processing the job... [2025-03-08 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 02:47:02] Production.INFO: ==14614== Lock acquired, processing the job... [2025-03-09 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 21:47:02] Production.INFO: ==14612== Releasing lock... [2025-03-08 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:47:02] Production.INFO: ==14614== Releasing lock... [2025-03-09 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:47:03] Production.INFO: ==14616== Lock acquired, processing the job... [2025-03-08 21:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:47:03] Production.INFO: ==14618== Lock acquired, processing the job... [2025-03-08 21:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:47:03] Production.INFO: ==14620== Lock acquired, processing the job... [2025-03-08 21:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:47:03] Production.INFO: ==14618== Releasing lock... [2025-03-08 21:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:47:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:47:03] Production.INFO: ==14624== Lock acquired, processing the job... [2025-03-08 21:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:47:03] Production.INFO: ==14622== Lock acquired, processing the job... [2025-03-08 21:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:47:03] Production.INFO: ==14627== Lock acquired, processing the job... [2025-03-08 21:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:47:04] Production.INFO: Account Balance Start. [2025-03-08 21:47:04] Production.INFO: CreateAllLog Start [2025-03-08 21:47:04] Production.INFO: 117 [2025-03-08 21:47:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:47:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:47:04] Production.ERROR: done [2025-03-08 21:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:47:04] Production.INFO: Total Charge 0 [2025-03-08 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-08 21:47:04] Production.INFO: CreateAllLog End [2025-03-08 21:47:04] Production.INFO: count ==13 [2025-03-08 21:47:04] Production.ERROR: done [2025-03-08 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-08 21:47:04] Production.INFO: count ==21 [2025-03-08 21:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637994') start [2025-03-08 21:47:04] Production.INFO: Account Balance End. [2025-03-08 21:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637994') end [2025-03-08 21:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:47:04] Production.INFO: 1 [2025-03-08 21:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:47:04] Production.INFO: ==14627== Releasing lock... [2025-03-08 21:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:47:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:47:04] Production.INFO: ==14622== Releasing lock... [2025-03-08 21:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:47:05 [end_date_ymd] => 2025-03-08 21:47:05 [RateCDR] => 1 ) [2025-03-08 21:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:47:05' and `end` < '2025-03-08 21:47:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:47:11] Production.ERROR: CronJobId end10 [2025-03-08 21:47:11] Production.INFO: ==14620== Releasing lock... [2025-03-08 21:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:47:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:47:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:47:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:47:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:47:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:47:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:47:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:47:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:47:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:47:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:47:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:47:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:47:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:47:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:47:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:47:13] Production.INFO: call_cost start [2025-03-08 21:47:13] Production.INFO: call_cost end [2025-03-08 21:47:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:47:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:47:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:47:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:47:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:47:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:47:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:47:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:47:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:47:14] Production.INFO: ==14616== Releasing lock... [2025-03-08 21:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:47:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:47:17] Production.INFO: count ==1127 [2025-03-08 21:47:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:47:05 - End Time 2025-03-08 21:47:05 [2025-03-08 21:47:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637995', 'tblTempUsageDetail_20' ) start [2025-03-08 21:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14637995', 'tblTempUsageDetail_20' ) end [2025-03-08 21:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637995', 'tblTempVendorCDR_20' ) start [2025-03-08 21:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14637995', 'tblTempVendorCDR_20' ) end [2025-03-08 21:47:17] Production.INFO: ProcessCDR(1,14637995,1,1,2) [2025-03-08 21:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14637995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14637995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14637995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14637995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637995', 'tblTempUsageDetail_20' ) start [2025-03-08 21:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14637995', 'tblTempUsageDetail_20' ) end [2025-03-08 21:47:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:47:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:47:22] Production.INFO: ==14624== Releasing lock... [2025-03-08 21:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:47:22] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 02:48:02] Production.INFO: ==14683== Lock acquired, processing the job... [2025-03-09 02:48:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:48:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:48:02] Production.INFO: neon service started [2025-03-09 02:48:02] Production.INFO: neon service started [2025-03-09 02:48:02] Production.INFO: ==14683== Releasing lock... [2025-03-09 02:48:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:48:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:48:02] Production.INFO: ==14685== Lock acquired, processing the job... [2025-03-08 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:48:02] Production.INFO: ==14685== Releasing lock... [2025-03-08 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:48:03] Production.INFO: ==14687== Lock acquired, processing the job... [2025-03-09 02:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:48:03] Production.INFO: ==14687== Releasing lock... [2025-03-09 02:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:48:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:48:03] Production.INFO: ==14692== Lock acquired, processing the job... [2025-03-08 21:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:48:03] Production.INFO: ==14689== Lock acquired, processing the job... [2025-03-08 21:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:48:03] Production.INFO: ==14694== Lock acquired, processing the job... [2025-03-08 21:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:48:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:48:04] Production.INFO: ==14692== Releasing lock... [2025-03-08 21:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:48:04] Production.INFO: ==14696== Lock acquired, processing the job... [2025-03-08 21:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:48:04] Production.INFO: ==14698== Lock acquired, processing the job... [2025-03-08 21:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:48:04] Production.INFO: ==14700== Lock acquired, processing the job... [2025-03-08 21:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:48:04] Production.INFO: Account Balance Start. [2025-03-08 21:48:04] Production.INFO: CreateAllLog Start [2025-03-08 21:48:04] Production.INFO: 117 [2025-03-08 21:48:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:48:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:48:04] Production.INFO: count ==13 [2025-03-08 21:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:48:04] Production.INFO: count ==21 [2025-03-08 21:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637999') start [2025-03-08 21:48:04] Production.INFO: Total Charge 0 [2025-03-08 21:48:04] Production.INFO: CreateAllLog End [2025-03-08 21:48:04] Production.ERROR: done [2025-03-08 21:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14637999') end [2025-03-08 21:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:48:04] Production.INFO: 1 [2025-03-08 21:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:48:04] Production.INFO: ==14700== Releasing lock... [2025-03-08 21:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:48:04] Production.INFO: Account Balance End. [2025-03-08 21:48:05] Production.ERROR: CronJobId end 12 [2025-03-08 21:48:05] Production.INFO: ==14696== Releasing lock... [2025-03-08 21:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:48:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:48:05] Production.ERROR: done [2025-03-08 21:48:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:48:06 [end_date_ymd] => 2025-03-08 21:48:06 [RateCDR] => 1 ) [2025-03-08 21:48:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:48:06' and `end` < '2025-03-08 21:48:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:48:13] Production.ERROR: CronJobId end10 [2025-03-08 21:48:13] Production.INFO: ==14694== Releasing lock... [2025-03-08 21:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:48:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:48:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:48:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:48:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:48:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:48:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:48:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:48:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:48:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:48:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:48:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:48:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:48:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:48:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:48:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:48:15] Production.INFO: call_cost start [2025-03-08 21:48:15] Production.INFO: call_cost end [2025-03-08 21:48:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:48:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:48:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:48:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:48:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:48:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:48:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:48:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:48:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:48:16] Production.INFO: ==14689== Releasing lock... [2025-03-08 21:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:48:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:48:18] Production.INFO: count ==1130 [2025-03-08 21:48:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:48:06 - End Time 2025-03-08 21:48:06 [2025-03-08 21:48:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638000', 'tblTempUsageDetail_20' ) start [2025-03-08 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638000', 'tblTempUsageDetail_20' ) end [2025-03-08 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638000', 'tblTempVendorCDR_20' ) start [2025-03-08 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638000', 'tblTempVendorCDR_20' ) end [2025-03-08 21:48:18] Production.INFO: ProcessCDR(1,14638000,1,1,2) [2025-03-08 21:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638000', 'tblTempUsageDetail_20' ) start [2025-03-08 21:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638000', 'tblTempUsageDetail_20' ) end [2025-03-08 21:48:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:48:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:48:23] Production.INFO: ==14698== Releasing lock... [2025-03-08 21:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:48:23] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 02:49:01] Production.INFO: ==14756== Lock acquired, processing the job... [2025-03-09 02:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:49:01] Production.INFO: neon service started [2025-03-09 02:49:01] Production.INFO: neon service started [2025-03-09 02:49:01] Production.INFO: ==14756== Releasing lock... [2025-03-09 02:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:49:02] Production.INFO: ==14760== Lock acquired, processing the job... [2025-03-09 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:49:02] Production.INFO: ==14760== Releasing lock... [2025-03-09 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:49:02] Production.INFO: ==14758== Lock acquired, processing the job... [2025-03-08 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:49:02] Production.INFO: ==14758== Releasing lock... [2025-03-08 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:49:03] Production.INFO: ==14765== Lock acquired, processing the job... [2025-03-08 21:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:49:03] Production.INFO: ==14763== Lock acquired, processing the job... [2025-03-08 21:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:49:03] Production.INFO: ==14773== Lock acquired, processing the job... [2025-03-08 21:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:49:03] Production.INFO: count ==13 [2025-03-08 21:49:03] Production.INFO: ==14767== Lock acquired, processing the job... [2025-03-08 21:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:49:03] Production.INFO: ==14765== Releasing lock... [2025-03-08 21:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:49:03] Production.INFO: ==14769== Lock acquired, processing the job... [2025-03-08 21:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:49:03] Production.INFO: ==14771== Lock acquired, processing the job... [2025-03-08 21:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:49:03] Production.INFO: count ==21 [2025-03-08 21:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638002') start [2025-03-08 21:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:49:03] Production.INFO: Account Balance Start. [2025-03-08 21:49:03] Production.INFO: CreateAllLog Start [2025-03-08 21:49:03] Production.INFO: 117 [2025-03-08 21:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638002') end [2025-03-08 21:49:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:49:03] Production.INFO: 1 [2025-03-08 21:49:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:49:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:49:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:49:03] Production.INFO: Total Charge 0 [2025-03-08 21:49:03] Production.INFO: CreateAllLog End [2025-03-08 21:49:03] Production.INFO: ==14773== Releasing lock... [2025-03-08 21:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:49:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:49:03] Production.ERROR: done [2025-03-08 21:49:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:49:04] Production.INFO: Account Balance End. [2025-03-08 21:49:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:49:04] Production.INFO: ==14769== Releasing lock... [2025-03-08 21:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:49:04] Production.ERROR: done [2025-03-08 21:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:49:05 [end_date_ymd] => 2025-03-08 21:49:05 [RateCDR] => 1 ) [2025-03-08 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-08 18:49:05' and `end` < '2025-03-08 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-08 21:49:11] Production.ERROR: CronJobId end10 [2025-03-08 21:49:11] Production.INFO: ==14767== Releasing lock... [2025-03-08 21:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:49:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:49:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:49:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:49:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:49:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:49:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:49:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:49:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:49:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:49:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:49:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:49:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:49:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:49:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:49:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:49:14] Production.INFO: call_cost start [2025-03-08 21:49:14] Production.INFO: call_cost end [2025-03-08 21:49:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:49:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:49:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:49:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:49:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:49:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:49:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:49:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:49:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:49:14] Production.INFO: ==14763== Releasing lock... [2025-03-08 21:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:49:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:49:17] Production.INFO: count ==1133 [2025-03-08 21:49:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:49:05 - End Time 2025-03-08 21:49:05 [2025-03-08 21:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638005', 'tblTempUsageDetail_20' ) start [2025-03-08 21:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638005', 'tblTempUsageDetail_20' ) end [2025-03-08 21:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638005', 'tblTempVendorCDR_20' ) start [2025-03-08 21:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638005', 'tblTempVendorCDR_20' ) end [2025-03-08 21:49:17] Production.INFO: ProcessCDR(1,14638005,1,1,2) [2025-03-08 21:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638005', 'tblTempUsageDetail_20' ) start [2025-03-08 21:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638005', 'tblTempUsageDetail_20' ) end [2025-03-08 21:49:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:49:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:49:20] Production.INFO: ==14771== Releasing lock... [2025-03-08 21:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:49:20] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 02:50:02] Production.INFO: ==14826== Lock acquired, processing the job... [2025-03-09 02:50:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:50:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:50:02] Production.INFO: neon service started [2025-03-09 02:50:02] Production.INFO: neon service started [2025-03-09 02:50:02] Production.INFO: ==14826== Releasing lock... [2025-03-09 02:50:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:50:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:50:02] Production.INFO: ==14831== Lock acquired, processing the job... [2025-03-09 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:50:02] Production.INFO: ==14831== Releasing lock... [2025-03-09 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:50:02] Production.INFO: ==14829== Lock acquired, processing the job... [2025-03-08 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:50:02] Production.INFO: ==14829== Releasing lock... [2025-03-08 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:50:03] Production.INFO: ==14837== Lock acquired, processing the job... [2025-03-08 21:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:50:03] Production.INFO: ==14839== Lock acquired, processing the job... [2025-03-08 21:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:50:04] Production.INFO: ==14837== Releasing lock... [2025-03-08 21:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:50:04] Production.INFO: ==14833== Lock acquired, processing the job... [2025-03-08 21:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 21:50:04] Production.INFO: ==14835== Lock acquired, processing the job... [2025-03-08 21:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 21:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 21:50:04] Production.ERROR: CronJob PID - 14839 [2025-03-08 21:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-08 21:50:04] Production.ERROR: CronJob ID - 10 [2025-03-08 21:50:04] Production.ERROR: CronJob Last Run Time 2025-03-08 21:50:00 [2025-03-08 21:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 21:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 21:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 21:50:04] Production.INFO: ==14833== Releasing lock... [2025-03-08 21:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 21:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 21:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:50:04] Production.INFO: ==14847== Lock acquired, processing the job... [2025-03-08 21:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:50:04] Production.INFO: ==14841== Lock acquired, processing the job... [2025-03-08 21:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:50:04] Production.INFO: ==14843== Lock acquired, processing the job... [2025-03-08 21:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:50:04] Production.INFO: ==14845== Lock acquired, processing the job... [2025-03-08 21:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 21:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:50:04] Production.INFO: count ==13 [2025-03-08 21:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:50:04] Production.INFO: count ==21 [2025-03-08 21:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638008') start [2025-03-08 21:50:04] Production.INFO: Account Balance Start. [2025-03-08 21:50:04] Production.INFO: CreateAllLog Start [2025-03-08 21:50:04] Production.INFO: 117 [2025-03-08 21:50:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:50:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14638008') end [2025-03-08 21:50:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:50:05] Production.INFO: 1 [2025-03-08 21:50:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:50:05] Production.INFO: Total Charge 0 [2025-03-08 21:50:05] Production.INFO: CreateAllLog End [2025-03-08 21:50:05] Production.ERROR: done [2025-03-08 21:50:05] Production.INFO: ==14847== Releasing lock... [2025-03-08 21:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:50:05] Production.ERROR: done [2025-03-08 21:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 21:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638010', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 21:50:05] Production.INFO: Account Balance End. [2025-03-08 21:50:05] Production.ERROR: done [2025-03-08 21:50:05] Production.ERROR: CronJobId end 12 [2025-03-08 21:50:05] Production.INFO: ==14841== Releasing lock... [2025-03-08 21:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:50:06 [end_date_ymd] => 2025-03-08 21:50:06 [RateCDR] => 1 ) [2025-03-08 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-08 18:50:06' and `end` < '2025-03-08 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-08 21:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638010', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 21:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 21:50:09] Production.INFO: ProcessCDR(1,14638010,1,1,2) [2025-03-08 21:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14638010,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14638010,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:50:10] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:50:10] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:50:10] Production.INFO: ==14845== Releasing lock... [2025-03-08 21:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 21:50:10] Production.INFO: 26 MB #Memory Used# [2025-03-08 21:50:14] Production.ERROR: CronJobId end10 [2025-03-08 21:50:14] Production.INFO: ==14839== Releasing lock... [2025-03-08 21:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:50:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:50:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:50:16] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:50:16] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:50:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:50:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:50:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:50:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:50:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:50:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:50:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:50:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:50:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:50:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:50:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:50:17] Production.INFO: call_cost start [2025-03-08 21:50:17] Production.INFO: call_cost end [2025-03-08 21:50:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:50:18] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:50:18] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:50:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:50:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:50:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:50:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:50:18] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:50:18] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:50:18] Production.INFO: ==14835== Releasing lock... [2025-03-08 21:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:50:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:50:19] Production.INFO: count ==1134 [2025-03-08 21:50:19] Production.ERROR: pbx CDR StartTime 2025-03-08 18:50:06 - End Time 2025-03-08 21:50:06 [2025-03-08 21:50:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638011', 'tblTempUsageDetail_20' ) start [2025-03-08 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638011', 'tblTempUsageDetail_20' ) end [2025-03-08 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638011', 'tblTempVendorCDR_20' ) start [2025-03-08 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638011', 'tblTempVendorCDR_20' ) end [2025-03-08 21:50:19] Production.INFO: ProcessCDR(1,14638011,1,1,2) [2025-03-08 21:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638011', 'tblTempUsageDetail_20' ) start [2025-03-08 21:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638011', 'tblTempUsageDetail_20' ) end [2025-03-08 21:50:24] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:50:24] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:50:24] Production.INFO: ==14843== Releasing lock... [2025-03-08 21:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:50:24] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 02:51:01] Production.INFO: ==14903== Lock acquired, processing the job... [2025-03-09 02:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:51:01] Production.INFO: neon service started [2025-03-09 02:51:01] Production.INFO: neon service started [2025-03-09 02:51:01] Production.INFO: ==14903== Releasing lock... [2025-03-09 02:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:51:01] Production.INFO: ==14907== Lock acquired, processing the job... [2025-03-09 02:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:51:01] Production.INFO: ==14907== Releasing lock... [2025-03-09 02:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:51:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:51:02] Production.INFO: ==14905== Lock acquired, processing the job... [2025-03-08 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:51:02] Production.INFO: ==14905== Releasing lock... [2025-03-08 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:51:03] Production.INFO: ==14909== Lock acquired, processing the job... [2025-03-08 21:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:51:03] Production.INFO: ==14917== Lock acquired, processing the job... [2025-03-08 21:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:51:03] Production.INFO: ==14911== Lock acquired, processing the job... [2025-03-08 21:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:51:03] Production.INFO: ==14913== Lock acquired, processing the job... [2025-03-08 21:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:51:03] Production.INFO: ==14915== Lock acquired, processing the job... [2025-03-08 21:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:51:03] Production.INFO: ==14920== Lock acquired, processing the job... [2025-03-08 21:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:51:03] Production.ERROR: done [2025-03-08 21:51:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:51:03] Production.INFO: Account Balance Start. [2025-03-08 21:51:03] Production.INFO: CreateAllLog Start [2025-03-08 21:51:03] Production.INFO: 117 [2025-03-08 21:51:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:51:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:51:03] Production.INFO: count ==13 [2025-03-08 21:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:51:03] Production.INFO: count ==21 [2025-03-08 21:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638014') start [2025-03-08 21:51:03] Production.INFO: Total Charge 0 [2025-03-08 21:51:03] Production.ERROR: done [2025-03-08 21:51:03] Production.INFO: CreateAllLog End [2025-03-08 21:51:03] Production.INFO: ==14911== Releasing lock... [2025-03-08 21:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:51:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638014') end [2025-03-08 21:51:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:51:03] Production.INFO: 1 [2025-03-08 21:51:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:51:03] Production.INFO: ==14920== Releasing lock... [2025-03-08 21:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:51:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:51:04] Production.INFO: Account Balance End. [2025-03-08 21:51:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:51:04] Production.INFO: ==14915== Releasing lock... [2025-03-08 21:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:51:05 [end_date_ymd] => 2025-03-08 21:51:05 [RateCDR] => 1 ) [2025-03-08 21:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:51:05' and `end` < '2025-03-08 21:51:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:51:12] Production.ERROR: CronJobId end10 [2025-03-08 21:51:12] Production.INFO: ==14913== Releasing lock... [2025-03-08 21:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:51:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:51:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:51:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:51:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:51:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:51:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:51:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:51:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:51:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:51:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:51:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:51:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:51:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:51:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:51:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:51:13] Production.INFO: call_cost start [2025-03-08 21:51:13] Production.INFO: call_cost end [2025-03-08 21:51:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:51:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:51:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:51:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:51:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:51:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:51:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:51:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:51:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:51:14] Production.INFO: ==14909== Releasing lock... [2025-03-08 21:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:51:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:51:17] Production.INFO: count ==1138 [2025-03-08 21:51:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:51:05 - End Time 2025-03-08 21:51:05 [2025-03-08 21:51:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638016', 'tblTempUsageDetail_20' ) start [2025-03-08 21:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638016', 'tblTempUsageDetail_20' ) end [2025-03-08 21:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638016', 'tblTempVendorCDR_20' ) start [2025-03-08 21:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638016', 'tblTempVendorCDR_20' ) end [2025-03-08 21:51:17] Production.INFO: ProcessCDR(1,14638016,1,1,2) [2025-03-08 21:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638016', 'tblTempUsageDetail_20' ) start [2025-03-08 21:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638016', 'tblTempUsageDetail_20' ) end [2025-03-08 21:51:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:51:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:51:21] Production.INFO: ==14917== Releasing lock... [2025-03-08 21:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:51:21] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 02:52:01] Production.INFO: ==15020== Lock acquired, processing the job... [2025-03-09 02:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:52:01] Production.INFO: neon service started [2025-03-09 02:52:01] Production.INFO: neon service started [2025-03-09 02:52:01] Production.INFO: ==15020== Releasing lock... [2025-03-09 02:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:52:02] Production.INFO: ==15022== Lock acquired, processing the job... [2025-03-08 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:52:02] Production.INFO: ==15022== Releasing lock... [2025-03-08 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:52:02] Production.INFO: ==15024== Lock acquired, processing the job... [2025-03-09 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:52:02] Production.INFO: ==15024== Releasing lock... [2025-03-09 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:52:03] Production.INFO: ==15035== Lock acquired, processing the job... [2025-03-08 21:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:52:03] Production.INFO: ==15037== Lock acquired, processing the job... [2025-03-08 21:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:52:03] Production.INFO: ==15027== Lock acquired, processing the job... [2025-03-08 21:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:52:03] Production.INFO: ==15031== Lock acquired, processing the job... [2025-03-08 21:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:52:03] Production.INFO: count ==13 [2025-03-08 21:52:03] Production.INFO: ==15029== Lock acquired, processing the job... [2025-03-08 21:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:52:03] Production.INFO: count ==21 [2025-03-08 21:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638017') start [2025-03-08 21:52:03] Production.INFO: ==15033== Lock acquired, processing the job... [2025-03-08 21:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:52:03] Production.ERROR: done [2025-03-08 21:52:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:52:03] Production.INFO: Account Balance Start. [2025-03-08 21:52:03] Production.INFO: CreateAllLog Start [2025-03-08 21:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:52:03] Production.INFO: 117 [2025-03-08 21:52:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638017') end [2025-03-08 21:52:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:52:03] Production.INFO: 1 [2025-03-08 21:52:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:52:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:52:04] Production.INFO: ==15037== Releasing lock... [2025-03-08 21:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:52:04] Production.INFO: Total Charge 0 [2025-03-08 21:52:04] Production.ERROR: done [2025-03-08 21:52:04] Production.INFO: CreateAllLog End [2025-03-08 21:52:04] Production.INFO: Account Balance End. [2025-03-08 21:52:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:52:04] Production.INFO: ==15033== Releasing lock... [2025-03-08 21:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:52:04] Production.INFO: ==15029== Releasing lock... [2025-03-08 21:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:52:05 [end_date_ymd] => 2025-03-08 21:52:05 [RateCDR] => 1 ) [2025-03-08 21:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:52:05' and `end` < '2025-03-08 21:52:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:52:11] Production.ERROR: CronJobId end10 [2025-03-08 21:52:11] Production.INFO: ==15031== Releasing lock... [2025-03-08 21:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:52:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:52:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:52:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:52:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:52:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:52:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:52:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:52:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:52:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:52:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:52:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:52:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:52:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:52:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:52:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:52:14] Production.INFO: call_cost start [2025-03-08 21:52:14] Production.INFO: call_cost end [2025-03-08 21:52:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:52:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:52:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:52:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:52:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:52:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:52:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:52:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:52:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:52:15] Production.INFO: ==15027== Releasing lock... [2025-03-08 21:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:52:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:52:17] Production.INFO: count ==1136 [2025-03-08 21:52:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:52:05 - End Time 2025-03-08 21:52:05 [2025-03-08 21:52:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638021', 'tblTempUsageDetail_20' ) start [2025-03-08 21:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638021', 'tblTempUsageDetail_20' ) end [2025-03-08 21:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638021', 'tblTempVendorCDR_20' ) start [2025-03-08 21:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638021', 'tblTempVendorCDR_20' ) end [2025-03-08 21:52:17] Production.INFO: ProcessCDR(1,14638021,1,1,2) [2025-03-08 21:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638021', 'tblTempUsageDetail_20' ) start [2025-03-08 21:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638021', 'tblTempUsageDetail_20' ) end [2025-03-08 21:52:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:52:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:52:22] Production.INFO: ==15035== Releasing lock... [2025-03-08 21:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:52:22] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 02:53:02] Production.INFO: ==15094== Lock acquired, processing the job... [2025-03-09 02:53:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:53:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:53:02] Production.INFO: neon service started [2025-03-09 02:53:02] Production.INFO: neon service started [2025-03-09 02:53:02] Production.INFO: ==15094== Releasing lock... [2025-03-09 02:53:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:53:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:53:02] Production.INFO: ==15097== Lock acquired, processing the job... [2025-03-08 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 02:53:03] Production.INFO: ==15099== Lock acquired, processing the job... [2025-03-09 02:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 21:53:03] Production.INFO: ==15097== Releasing lock... [2025-03-08 21:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:53:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:53:03] Production.INFO: ==15099== Releasing lock... [2025-03-09 02:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:53:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:53:03] Production.INFO: ==15103== Lock acquired, processing the job... [2025-03-08 21:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:53:04] Production.INFO: ==15105== Lock acquired, processing the job... [2025-03-08 21:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:53:04] Production.INFO: ==15101== Lock acquired, processing the job... [2025-03-08 21:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:53:04] Production.INFO: ==15107== Lock acquired, processing the job... [2025-03-08 21:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:53:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:53:04] Production.INFO: ==15109== Lock acquired, processing the job... [2025-03-08 21:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:53:04] Production.INFO: Account Balance Start. [2025-03-08 21:53:04] Production.INFO: CreateAllLog Start [2025-03-08 21:53:04] Production.INFO: 117 [2025-03-08 21:53:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:53:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:53:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:53:04] Production.INFO: ==15111== Lock acquired, processing the job... [2025-03-08 21:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:53:04] Production.INFO: ==15103== Releasing lock... [2025-03-08 21:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:53:04] Production.INFO: Total Charge 0 [2025-03-08 21:53:04] Production.INFO: CreateAllLog End [2025-03-08 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-08 21:53:04] Production.INFO: count ==13 [2025-03-08 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-08 21:53:04] Production.INFO: count ==21 [2025-03-08 21:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638025') start [2025-03-08 21:53:04] Production.ERROR: done [2025-03-08 21:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:53:04] Production.INFO: Account Balance End. [2025-03-08 21:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638025') end [2025-03-08 21:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:53:04] Production.INFO: 1 [2025-03-08 21:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:53:04] Production.ERROR: done [2025-03-08 21:53:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:53:04] Production.INFO: ==15107== Releasing lock... [2025-03-08 21:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:53:04] Production.INFO: ==15111== Releasing lock... [2025-03-08 21:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:53:05 [end_date_ymd] => 2025-03-08 21:53:05 [RateCDR] => 1 ) [2025-03-08 21:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:53:05' and `end` < '2025-03-08 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-08 21:53:12] Production.ERROR: CronJobId end10 [2025-03-08 21:53:12] Production.INFO: ==15105== Releasing lock... [2025-03-08 21:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:53:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:53:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:53:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:53:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:53:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:53:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:53:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:53:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:53:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:53:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:53:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:53:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:53:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:53:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:53:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:53:14] Production.INFO: call_cost start [2025-03-08 21:53:14] Production.INFO: call_cost end [2025-03-08 21:53:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:53:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:53:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:53:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:53:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:53:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:53:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:53:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:53:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:53:15] Production.INFO: ==15101== Releasing lock... [2025-03-08 21:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:53:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:53:18] Production.INFO: count ==1134 [2025-03-08 21:53:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:53:05 - End Time 2025-03-08 21:53:05 [2025-03-08 21:53:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638026', 'tblTempUsageDetail_20' ) start [2025-03-08 21:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638026', 'tblTempUsageDetail_20' ) end [2025-03-08 21:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638026', 'tblTempVendorCDR_20' ) start [2025-03-08 21:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638026', 'tblTempVendorCDR_20' ) end [2025-03-08 21:53:18] Production.INFO: ProcessCDR(1,14638026,1,1,2) [2025-03-08 21:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638026', 'tblTempUsageDetail_20' ) start [2025-03-08 21:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638026', 'tblTempUsageDetail_20' ) end [2025-03-08 21:53:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:53:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:53:21] Production.INFO: ==15109== Releasing lock... [2025-03-08 21:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:53:21] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 02:54:01] Production.INFO: ==15163== Lock acquired, processing the job... [2025-03-09 02:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:54:01] Production.INFO: neon service started [2025-03-09 02:54:01] Production.INFO: neon service started [2025-03-09 02:54:01] Production.INFO: ==15163== Releasing lock... [2025-03-09 02:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:54:02] Production.INFO: ==15167== Lock acquired, processing the job... [2025-03-09 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:54:02] Production.INFO: ==15167== Releasing lock... [2025-03-09 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:54:02] Production.INFO: ==15165== Lock acquired, processing the job... [2025-03-08 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:54:02] Production.INFO: ==15165== Releasing lock... [2025-03-08 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:54:03] Production.INFO: ==15172== Lock acquired, processing the job... [2025-03-08 21:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:54:03] Production.INFO: ==15170== Lock acquired, processing the job... [2025-03-08 21:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:54:03] Production.INFO: ==15176== Lock acquired, processing the job... [2025-03-08 21:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:54:03] Production.INFO: Account Balance Start. [2025-03-08 21:54:03] Production.INFO: CreateAllLog Start [2025-03-08 21:54:03] Production.INFO: 117 [2025-03-08 21:54:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:54:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:54:03] Production.INFO: Total Charge 0 [2025-03-08 21:54:03] Production.INFO: CreateAllLog End [2025-03-08 21:54:03] Production.INFO: ==15174== Lock acquired, processing the job... [2025-03-08 21:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:54:03] Production.INFO: ==15178== Lock acquired, processing the job... [2025-03-08 21:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:54:03] Production.INFO: Account Balance End. [2025-03-08 21:54:04] Production.INFO: ==15180== Lock acquired, processing the job... [2025-03-08 21:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:54:04] Production.INFO: ==15172== Releasing lock... [2025-03-08 21:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:54:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:54:04] Production.INFO: ==15176== Releasing lock... [2025-03-08 21:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 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-08 21:54:04] Production.INFO: count ==13 [2025-03-08 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-08 21:54:04] Production.INFO: count ==21 [2025-03-08 21:54:04] Production.ERROR: done [2025-03-08 21:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638030') start [2025-03-08 21:54:04] Production.ERROR: done [2025-03-08 21:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638030') end [2025-03-08 21:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:54:04] Production.INFO: 1 [2025-03-08 21:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:54:04] Production.INFO: ==15180== Releasing lock... [2025-03-08 21:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:54:05 [end_date_ymd] => 2025-03-08 21:54:05 [RateCDR] => 1 ) [2025-03-08 21:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:54:05' and `end` < '2025-03-08 21:54:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:54:11] Production.ERROR: CronJobId end10 [2025-03-08 21:54:11] Production.INFO: ==15174== Releasing lock... [2025-03-08 21:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:54:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:54:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:54:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:54:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:54:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:54:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:54:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:54:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:54:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:54:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:54:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:54:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:54:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:54:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:54:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:54:14] Production.INFO: call_cost start [2025-03-08 21:54:14] Production.INFO: call_cost end [2025-03-08 21:54:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:54:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:54:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:54:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:54:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:54:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:54:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:54:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:54:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:54:15] Production.INFO: ==15170== Releasing lock... [2025-03-08 21:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:54:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:54:17] Production.INFO: count ==1134 [2025-03-08 21:54:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:54:05 - End Time 2025-03-08 21:54:05 [2025-03-08 21:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638031', 'tblTempUsageDetail_20' ) start [2025-03-08 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638031', 'tblTempUsageDetail_20' ) end [2025-03-08 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638031', 'tblTempVendorCDR_20' ) start [2025-03-08 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638031', 'tblTempVendorCDR_20' ) end [2025-03-08 21:54:18] Production.INFO: ProcessCDR(1,14638031,1,1,2) [2025-03-08 21:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638031', 'tblTempUsageDetail_20' ) start [2025-03-08 21:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638031', 'tblTempUsageDetail_20' ) end [2025-03-08 21:54:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:54:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:54:22] Production.INFO: ==15178== Releasing lock... [2025-03-08 21:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:54:22] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 02:55:02] Production.INFO: ==15233== Lock acquired, processing the job... [2025-03-09 02:55:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:55:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:55:02] Production.INFO: neon service started [2025-03-09 02:55:02] Production.INFO: neon service started [2025-03-09 02:55:02] Production.INFO: ==15233== Releasing lock... [2025-03-09 02:55:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:55:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:55:02] Production.INFO: ==15235== Lock acquired, processing the job... [2025-03-08 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 02:55:03] Production.INFO: ==15237== Lock acquired, processing the job... [2025-03-09 02:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:55:03] Production.INFO: ==15237== Releasing lock... [2025-03-09 02:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:55:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:55:03] Production.INFO: ==15235== Releasing lock... [2025-03-08 21:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:55:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:55:04] Production.INFO: ==15240== Lock acquired, processing the job... [2025-03-08 21:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:55:04] Production.INFO: ==15242== Lock acquired, processing the job... [2025-03-08 21:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:55:04] Production.INFO: ==15244== Lock acquired, processing the job... [2025-03-08 21:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:55:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:55:04] Production.INFO: ==15250== Lock acquired, processing the job... [2025-03-08 21:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:55:04] Production.INFO: ==15246== Lock acquired, processing the job... [2025-03-08 21:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:55:04] Production.INFO: ==15248== Lock acquired, processing the job... [2025-03-08 21:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 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-08 21:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:55:04] Production.INFO: count ==13 [2025-03-08 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-08 21:55:04] Production.INFO: count ==21 [2025-03-08 21:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638034') start [2025-03-08 21:55:04] Production.INFO: Account Balance Start. [2025-03-08 21:55:04] Production.INFO: CreateAllLog Start [2025-03-08 21:55:04] Production.INFO: 117 [2025-03-08 21:55:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:55:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:55:04] Production.INFO: Total Charge 0 [2025-03-08 21:55:04] Production.INFO: CreateAllLog End [2025-03-08 21:55:04] Production.INFO: ==15242== Releasing lock... [2025-03-08 21:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638034') end [2025-03-08 21:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:55:04] Production.INFO: 1 [2025-03-08 21:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:55:04] Production.INFO: ==15250== Releasing lock... [2025-03-08 21:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:55:04] Production.ERROR: done [2025-03-08 21:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:55:05] Production.INFO: Account Balance End. [2025-03-08 21:55:05] Production.ERROR: CronJobId end 12 [2025-03-08 21:55:05] Production.INFO: ==15246== Releasing lock... [2025-03-08 21:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:55:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:55:05] Production.ERROR: done [2025-03-08 21:55:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:55:06 [end_date_ymd] => 2025-03-08 21:55:06 [RateCDR] => 1 ) [2025-03-08 21:55:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:55:06' and `end` < '2025-03-08 21:55:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:55:13] Production.ERROR: CronJobId end10 [2025-03-08 21:55:13] Production.INFO: ==15244== Releasing lock... [2025-03-08 21:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:55:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:55:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:55:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:55:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:55:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:55:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:55:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:55:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:55:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:55:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:55:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:55:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:55:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:55:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:55:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:55:16] Production.INFO: call_cost start [2025-03-08 21:55:16] Production.INFO: call_cost end [2025-03-08 21:55:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:55:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:55:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:55:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:55:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:55:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:55:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:55:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:55:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:55:17] Production.INFO: ==15240== Releasing lock... [2025-03-08 21:55:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:55:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:55:18] Production.INFO: count ==1131 [2025-03-08 21:55:18] Production.ERROR: pbx CDR StartTime 2025-03-08 18:55:06 - End Time 2025-03-08 21:55:06 [2025-03-08 21:55:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638036', 'tblTempUsageDetail_20' ) start [2025-03-08 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638036', 'tblTempUsageDetail_20' ) end [2025-03-08 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638036', 'tblTempVendorCDR_20' ) start [2025-03-08 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638036', 'tblTempVendorCDR_20' ) end [2025-03-08 21:55:18] Production.INFO: ProcessCDR(1,14638036,1,1,2) [2025-03-08 21:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638036', 'tblTempUsageDetail_20' ) start [2025-03-08 21:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638036', 'tblTempUsageDetail_20' ) end [2025-03-08 21:55:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:55:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:55:21] Production.INFO: ==15248== Releasing lock... [2025-03-08 21:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:55:21] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 02:56:01] Production.INFO: ==15304== Lock acquired, processing the job... [2025-03-09 02:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:56:01] Production.INFO: neon service started [2025-03-09 02:56:01] Production.INFO: neon service started [2025-03-09 02:56:01] Production.INFO: ==15304== Releasing lock... [2025-03-09 02:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:56:02] Production.INFO: ==15308== Lock acquired, processing the job... [2025-03-09 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:56:02] Production.INFO: ==15308== Releasing lock... [2025-03-09 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:56:02] Production.INFO: ==15306== Lock acquired, processing the job... [2025-03-08 21:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:56:02] Production.INFO: ==15306== Releasing lock... [2025-03-08 21:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:56:03] Production.INFO: ==15310== Lock acquired, processing the job... [2025-03-08 21:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:56:03] Production.INFO: ==15314== Lock acquired, processing the job... [2025-03-08 21:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:56:03] Production.INFO: ==15316== Lock acquired, processing the job... [2025-03-08 21:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:56:03] Production.INFO: Account Balance Start. [2025-03-08 21:56:03] Production.INFO: CreateAllLog Start [2025-03-08 21:56:03] Production.INFO: 117 [2025-03-08 21:56:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:56:03] Production.INFO: ==15312== Lock acquired, processing the job... [2025-03-08 21:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:56:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:56:03] Production.INFO: ==15318== Lock acquired, processing the job... [2025-03-08 21:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:56:03] Production.INFO: Total Charge 0 [2025-03-08 21:56:03] Production.INFO: CreateAllLog End [2025-03-08 21:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:56:03] Production.INFO: ==15321== Lock acquired, processing the job... [2025-03-08 21:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 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-08 21:56:04] Production.INFO: Account Balance End. [2025-03-08 21:56:04] Production.INFO: count ==13 [2025-03-08 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-08 21:56:04] Production.INFO: count ==21 [2025-03-08 21:56:04] Production.ERROR: done [2025-03-08 21:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:56:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:56:04] Production.INFO: ==15316== Releasing lock... [2025-03-08 21:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638040') start [2025-03-08 21:56:04] Production.INFO: ==15312== Releasing lock... [2025-03-08 21:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:56:04] Production.ERROR: done [2025-03-08 21:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638040') end [2025-03-08 21:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:56:04] Production.INFO: 1 [2025-03-08 21:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:56:04] Production.INFO: ==15321== Releasing lock... [2025-03-08 21:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:56:05 [end_date_ymd] => 2025-03-08 21:56:05 [RateCDR] => 1 ) [2025-03-08 21:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:56:05' and `end` < '2025-03-08 21:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:56:11] Production.ERROR: CronJobId end10 [2025-03-08 21:56:11] Production.INFO: ==15314== Releasing lock... [2025-03-08 21:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:56:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:56:14] Production.INFO: call_cost start [2025-03-08 21:56:14] Production.INFO: call_cost end [2025-03-08 21:56:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:56:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:56:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:56:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:56:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:56:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:56:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:56:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:56:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:56:15] Production.INFO: ==15310== Releasing lock... [2025-03-08 21:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:56:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:56:17] Production.INFO: count ==1130 [2025-03-08 21:56:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:56:05 - End Time 2025-03-08 21:56:05 [2025-03-08 21:56:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638041', 'tblTempUsageDetail_20' ) start [2025-03-08 21:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638041', 'tblTempUsageDetail_20' ) end [2025-03-08 21:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638041', 'tblTempVendorCDR_20' ) start [2025-03-08 21:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638041', 'tblTempVendorCDR_20' ) end [2025-03-08 21:56:17] Production.INFO: ProcessCDR(1,14638041,1,1,2) [2025-03-08 21:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:56:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638041', 'tblTempUsageDetail_20' ) start [2025-03-08 21:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638041', 'tblTempUsageDetail_20' ) end [2025-03-08 21:56:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:56:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:56:20] Production.INFO: ==15318== Releasing lock... [2025-03-08 21:56:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:56:20] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 02:57:02] Production.INFO: ==15374== Lock acquired, processing the job... [2025-03-09 02:57:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:57:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:57:02] Production.INFO: neon service started [2025-03-09 02:57:02] Production.INFO: neon service started [2025-03-09 02:57:02] Production.INFO: ==15374== Releasing lock... [2025-03-09 02:57:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:57:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:57:02] Production.INFO: ==15378== Lock acquired, processing the job... [2025-03-09 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:57:02] Production.INFO: ==15378== Releasing lock... [2025-03-09 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:57:02] Production.INFO: ==15376== Lock acquired, processing the job... [2025-03-08 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:57:03] Production.INFO: ==15376== Releasing lock... [2025-03-08 21:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:57:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:57:03] Production.INFO: ==15387== Lock acquired, processing the job... [2025-03-08 21:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:57:03] Production.INFO: ==15389== Lock acquired, processing the job... [2025-03-08 21:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:57:04] Production.INFO: Account Balance Start. [2025-03-08 21:57:04] Production.INFO: CreateAllLog Start [2025-03-08 21:57:04] Production.INFO: 117 [2025-03-08 21:57:04] Production.INFO: ==15381== Lock acquired, processing the job... [2025-03-08 21:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:57:04] Production.INFO: ==15383== Lock acquired, processing the job... [2025-03-08 21:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:57:04] Production.INFO: Date 2025-03-08 [2025-03-08 21:57:04] Production.INFO: ==15385== Lock acquired, processing the job... [2025-03-08 21:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:57:04] Production.INFO: Reseller ==> 0 [2025-03-08 21:57:04] Production.INFO: ==15391== Lock acquired, processing the job... [2025-03-08 21:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:57:04] Production.INFO: Total Charge 0 [2025-03-08 21:57:04] Production.INFO: CreateAllLog End [2025-03-08 21:57:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:57:04] Production.ERROR: done [2025-03-08 21:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:57:04] Production.INFO: Account Balance End. [2025-03-08 21:57:04] Production.INFO: count ==13 [2025-03-08 21:57:04] Production.ERROR: done [2025-03-08 21:57:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:57:04] Production.INFO: ==15387== Releasing lock... [2025-03-08 21:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:57:04] Production.INFO: count ==21 [2025-03-08 21:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638044') start [2025-03-08 21:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638044') end [2025-03-08 21:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:57:04] Production.INFO: 1 [2025-03-08 21:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:57:04] Production.INFO: ==15383== Releasing lock... [2025-03-08 21:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:57:04] Production.INFO: ==15391== Releasing lock... [2025-03-08 21:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:57:05 [end_date_ymd] => 2025-03-08 21:57:05 [RateCDR] => 1 ) [2025-03-08 21:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:57:05' and `end` < '2025-03-08 21:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:57:12] Production.ERROR: CronJobId end10 [2025-03-08 21:57:12] Production.INFO: ==15385== Releasing lock... [2025-03-08 21:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:57:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:57:14] Production.INFO: call_cost start [2025-03-08 21:57:14] Production.INFO: call_cost end [2025-03-08 21:57:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:57:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:57:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:57:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:57:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:57:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:57:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:57:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:57:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:57:15] Production.INFO: ==15381== Releasing lock... [2025-03-08 21:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:57:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:57:17] Production.INFO: count ==1131 [2025-03-08 21:57:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:57:05 - End Time 2025-03-08 21:57:05 [2025-03-08 21:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638046', 'tblTempUsageDetail_20' ) start [2025-03-08 21:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638046', 'tblTempUsageDetail_20' ) end [2025-03-08 21:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638046', 'tblTempVendorCDR_20' ) start [2025-03-08 21:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638046', 'tblTempVendorCDR_20' ) end [2025-03-08 21:57:17] Production.INFO: ProcessCDR(1,14638046,1,1,2) [2025-03-08 21:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638046', 'tblTempUsageDetail_20' ) start [2025-03-08 21:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638046', 'tblTempUsageDetail_20' ) end [2025-03-08 21:57:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:57:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:57:22] Production.INFO: ==15389== Releasing lock... [2025-03-08 21:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:57:22] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 02:58:01] Production.INFO: ==15446== Lock acquired, processing the job... [2025-03-09 02:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:58:01] Production.INFO: neon service started [2025-03-09 02:58:01] Production.INFO: neon service started [2025-03-09 02:58:01] Production.INFO: ==15446== Releasing lock... [2025-03-09 02:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 02:58:02] Production.INFO: ==15450== Lock acquired, processing the job... [2025-03-09 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 21:58:02] Production.INFO: ==15448== Lock acquired, processing the job... [2025-03-08 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 02:58:02] Production.INFO: ==15450== Releasing lock... [2025-03-09 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:58:02] Production.INFO: ==15448== Releasing lock... [2025-03-08 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 21:58:03] Production.INFO: ==15453== Lock acquired, processing the job... [2025-03-08 21:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:58:03] Production.INFO: ==15455== Lock acquired, processing the job... [2025-03-08 21:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:58:03] Production.INFO: ==15461== Lock acquired, processing the job... [2025-03-08 21:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:58:03] Production.INFO: ==15457== Lock acquired, processing the job... [2025-03-08 21:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:58:03] Production.INFO: ==15463== Lock acquired, processing the job... [2025-03-08 21:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:58:03] Production.INFO: ==15455== Releasing lock... [2025-03-08 21:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:58:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:58:03] Production.INFO: ==15459== Lock acquired, processing the job... [2025-03-08 21:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:58:03] Production.INFO: count ==13 [2025-03-08 21:58:03] Production.ERROR: done [2025-03-08 21:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:58:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:58:03] Production.INFO: count ==21 [2025-03-08 21:58:03] Production.INFO: Account Balance Start. [2025-03-08 21:58:03] Production.INFO: CreateAllLog Start [2025-03-08 21:58:03] Production.INFO: 117 [2025-03-08 21:58:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:58:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638049') start [2025-03-08 21:58:04] Production.INFO: Total Charge 0 [2025-03-08 21:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638049') end [2025-03-08 21:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:58:04] Production.INFO: 1 [2025-03-08 21:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:58:04] Production.INFO: CreateAllLog End [2025-03-08 21:58:04] Production.INFO: ==15463== Releasing lock... [2025-03-08 21:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:58:04] Production.ERROR: done [2025-03-08 21:58:04] Production.INFO: Account Balance End. [2025-03-08 21:58:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:58:04] Production.INFO: ==15459== Releasing lock... [2025-03-08 21:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:58:05 [end_date_ymd] => 2025-03-08 21:58:05 [RateCDR] => 1 ) [2025-03-08 21:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:58:05' and `end` < '2025-03-08 21:58:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:58:11] Production.ERROR: CronJobId end10 [2025-03-08 21:58:11] Production.INFO: ==15457== Releasing lock... [2025-03-08 21:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:58:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:58:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:58:12] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:58:12] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:58:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:58:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:58:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:58:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:58:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:58:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:58:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:58:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:58:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:58:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:58:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:58:13] Production.INFO: call_cost start [2025-03-08 21:58:13] Production.INFO: call_cost end [2025-03-08 21:58:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:58:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:58:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:58:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:58:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:58:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:58:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:58:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:58:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:58:14] Production.INFO: ==15453== Releasing lock... [2025-03-08 21:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:58:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:58:17] Production.INFO: count ==1126 [2025-03-08 21:58:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:58:05 - End Time 2025-03-08 21:58:05 [2025-03-08 21:58:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638051', 'tblTempUsageDetail_20' ) start [2025-03-08 21:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638051', 'tblTempUsageDetail_20' ) end [2025-03-08 21:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638051', 'tblTempVendorCDR_20' ) start [2025-03-08 21:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638051', 'tblTempVendorCDR_20' ) end [2025-03-08 21:58:17] Production.INFO: ProcessCDR(1,14638051,1,1,2) [2025-03-08 21:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:58:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638051', 'tblTempUsageDetail_20' ) start [2025-03-08 21:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638051', 'tblTempUsageDetail_20' ) end [2025-03-08 21:58:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:58:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:58:20] Production.INFO: ==15461== Releasing lock... [2025-03-08 21:58:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:58:20] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 02:59:01] Production.INFO: ==15516== Lock acquired, processing the job... [2025-03-09 02:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 02:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 02:59:02] Production.INFO: neon service started [2025-03-09 02:59:02] Production.INFO: neon service started [2025-03-09 02:59:02] Production.INFO: ==15516== Releasing lock... [2025-03-09 02:59:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 02:59:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 21:59:02] Production.INFO: ==15518== Lock acquired, processing the job... [2025-03-08 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 21:59:02] Production.INFO: ==15518== Releasing lock... [2025-03-08 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 21:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 02:59:02] Production.INFO: ==15520== Lock acquired, processing the job... [2025-03-09 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 02:59:02] Production.INFO: ==15520== Releasing lock... [2025-03-09 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 02:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 21:59:03] Production.INFO: ==15527== Lock acquired, processing the job... [2025-03-08 21:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 21:59:03] Production.INFO: ==15531== Lock acquired, processing the job... [2025-03-08 21:59:03] Production.INFO: ==15523== Lock acquired, processing the job... [2025-03-08 21:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 21:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 21:59:03] Production.INFO: ==15525== Lock acquired, processing the job... [2025-03-08 21:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 21:59:03] Production.INFO: ==15529== Lock acquired, processing the job... [2025-03-08 21:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 21:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 21:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 21:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 21:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 21:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 21:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 21:59:03] Production.INFO: Account Balance Start. [2025-03-08 21:59:03] Production.INFO: CreateAllLog Start [2025-03-08 21:59:03] Production.INFO: 117 [2025-03-08 21:59:03] Production.INFO: ==15533== Lock acquired, processing the job... [2025-03-08 21:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 21:59:03] Production.INFO: Date 2025-03-08 [2025-03-08 21:59:03] Production.INFO: Reseller ==> 0 [2025-03-08 21:59:03] Production.INFO: Total Charge 0 [2025-03-08 21:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:59:04] Production.INFO: CreateAllLog End [2025-03-08 21:59:04] Production.INFO: count ==13 [2025-03-08 21:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 21:59:04] Production.INFO: count ==21 [2025-03-08 21:59:04] Production.INFO: ==15525== Releasing lock... [2025-03-08 21:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 21:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 21:59:04] Production.ERROR: done [2025-03-08 21:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 21:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638055') start [2025-03-08 21:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638055') end [2025-03-08 21:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 21:59:04] Production.INFO: 1 [2025-03-08 21:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 21:59:04] Production.ERROR: done [2025-03-08 21:59:04] Production.INFO: ==15533== Releasing lock... [2025-03-08 21:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 21:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 21:59:04] Production.INFO: Account Balance End. [2025-03-08 21:59:04] Production.ERROR: CronJobId end 12 [2025-03-08 21:59:04] Production.INFO: ==15529== Releasing lock... [2025-03-08 21:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 21:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 21:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 18:59:05 [end_date_ymd] => 2025-03-08 21:59:05 [RateCDR] => 1 ) [2025-03-08 21:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 18:59:05' and `end` < '2025-03-08 21:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 21:59:11] Production.ERROR: CronJobId end10 [2025-03-08 21:59:11] Production.INFO: ==15527== Releasing lock... [2025-03-08 21:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 21:59:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 21:59:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 21:59:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 21:59:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 21:59:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 21:59:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 21:59:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 21:59:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 21:59:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 21:59:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 21:59:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 21:59:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 21:59:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 21:59:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 21:59:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 21:59:13] Production.INFO: call_cost start [2025-03-08 21:59:13] Production.INFO: call_cost end [2025-03-08 21:59:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 21:59:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 21:59:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 21:59:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 21:59:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 21:59:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 21:59:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 21:59:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 21:59:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 21:59:14] Production.INFO: ==15523== Releasing lock... [2025-03-08 21:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 21:59:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 21:59:17] Production.INFO: count ==1126 [2025-03-08 21:59:17] Production.ERROR: pbx CDR StartTime 2025-03-08 18:59:05 - End Time 2025-03-08 21:59:05 [2025-03-08 21:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 21:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638056', 'tblTempUsageDetail_20' ) start [2025-03-08 21:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638056', 'tblTempUsageDetail_20' ) end [2025-03-08 21:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638056', 'tblTempVendorCDR_20' ) start [2025-03-08 21:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638056', 'tblTempVendorCDR_20' ) end [2025-03-08 21:59:17] Production.INFO: ProcessCDR(1,14638056,1,1,2) [2025-03-08 21:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 21:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 21:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638056', 'tblTempUsageDetail_20' ) start [2025-03-08 21:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638056', 'tblTempUsageDetail_20' ) end [2025-03-08 21:59:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 21:59:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 21:59:22] Production.INFO: ==15531== Releasing lock... [2025-03-08 21:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 21:59:22] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 03:00:01] Production.INFO: ==15586== Lock acquired, processing the job... [2025-03-09 03:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:00:01] Production.INFO: neon service started [2025-03-09 03:00:01] Production.INFO: neon service started [2025-03-09 03:00:01] Production.INFO: ==15586== Releasing lock... [2025-03-09 03:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:00:01] Production.INFO: ==15588== Lock acquired, processing the job... [2025-03-08 22:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:00:02] Production.INFO: ==15588== Releasing lock... [2025-03-08 22:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:00:02] Production.INFO: ==15590== Lock acquired, processing the job... [2025-03-09 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:00:02] Production.INFO: ==15590== Releasing lock... [2025-03-09 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:00:03] Production.INFO: ==15595== Lock acquired, processing the job... [2025-03-08 22:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:00:03] Production.INFO: ==15597== Lock acquired, processing the job... [2025-03-08 22:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:00:03] Production.INFO: ==15593== Lock acquired, processing the job... [2025-03-08 22:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 22:00:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:00:03] Production.INFO: ==15599== Lock acquired, processing the job... [2025-03-08 22:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:00:03] Production.INFO: ==15601== Lock acquired, processing the job... [2025-03-08 22:00:03] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts# [2025-03-08 22:00:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 22:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 22:00:03] Production.ERROR: CronJob PID - 15595 [2025-03-08 22:00:03] Production.ERROR: CronJob Title - System Alerts [2025-03-08 22:00:03] Production.ERROR: CronJob ID - 5 [2025-03-08 22:00:03] Production.ERROR: CronJob Last Run Time 2025-03-08 22:00:00 [2025-03-08 22:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 22:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 22:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 22:00:03] Production.ERROR: CronJob PID - 15597 [2025-03-08 22:00:03] Production.ERROR: CronJob Title - Account Block [2025-03-08 22:00:03] Production.ERROR: CronJob ID - 7 [2025-03-08 22:00:03] Production.ERROR: CronJob Last Run Time 2025-03-08 22:00:00 [2025-03-08 22:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 22:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 22:00:03] Production.INFO: ==15603== Lock acquired, processing the job... [2025-03-08 22:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:00:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 22:00:03] Production.INFO: ==15593== Releasing lock... [2025-03-08 22:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 22:00:03] Production.INFO: ==15605== Lock acquired, processing the job... [2025-03-08 22:00:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 22:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:00:03] Production.INFO: ==15607== Lock acquired, processing the job... [2025-03-08 22:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 22:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:00:04] Production.INFO: Account Balance Start. [2025-03-08 22:00:04] Production.INFO: CreateAllLog Start [2025-03-08 22:00:04] Production.INFO: 117 [2025-03-08 22:00:04] Production.INFO: ==15609== Lock acquired, processing the job... [2025-03-08 22:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:00:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:00:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: Total Charge 0 [2025-03-08 22:00:04] Production.INFO: ==15597== Releasing lock... [2025-03-08 22:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:00:04] Production.INFO: CreateAllLog End [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: count ==13 [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 5 [2025-03-08 22:00:04] Production.INFO: count ==21 [2025-03-08 22:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638060') start [2025-03-08 22:00:04] Production.ERROR: done [2025-03-08 22:00:04] Production.ERROR: done [2025-03-08 22:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 6 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' ) [2025-03-08 22:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 22:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638061', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' ) [2025-03-08 22:00:04] Production.ERROR: done [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: Account Balance End. [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' ) [2025-03-08 22:00:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:00:04] Production.INFO: ==15603== Releasing lock... [2025-03-08 22:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:00:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 0 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 1 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' ) [2025-03-08 22:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638060') end [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.INFO: 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' ) [2025-03-08 22:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 1 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 4 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 19 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: ==15609== Releasing lock... [2025-03-08 22:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '218', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 0 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:04] Production.INFO: PaymentMethod - 1 [2025-03-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' ) [2025-03-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-08 22:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:00:06 [end_date_ymd] => 2025-03-08 22:00:06 [RateCDR] => 1 ) [2025-03-08 22:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:00:06' and `end` < '2025-03-08 22:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:00:06] Production.ERROR: CronJobId end11 [2025-03-08 22:00:06] Production.INFO: ==15601== Releasing lock... [2025-03-08 22:00:06] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops# [2025-03-08 22:00:06] Production.INFO: 30.5 MB #Memory Used# [2025-03-08 22:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638061', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 22:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 22:00:09] Production.INFO: ProcessCDR(1,14638061,1,1,2) [2025-03-08 22:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14638061,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14638061,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:00:09] Production.INFO: ==15607== Releasing lock... [2025-03-08 22:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 22:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-08 22:00:13] Production.ERROR: CronJobId end10 [2025-03-08 22:00:13] Production.INFO: ==15599== Releasing lock... [2025-03-08 22:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:00:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:00:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:00:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:00:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:00:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:00:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:00:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:00:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:00:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:00:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:00:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:00:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:00:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:00:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:00:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:00:15] Production.INFO: call_cost start [2025-03-08 22:00:15] Production.INFO: call_cost end [2025-03-08 22:00:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:00:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:00:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:00:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:00:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:00:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:00:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:00:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:00:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:00:16] Production.INFO: ==15595== Releasing lock... [2025-03-08 22:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:00:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:00:18] Production.INFO: count ==1122 [2025-03-08 22:00:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:00:06 - End Time 2025-03-08 22:00:06 [2025-03-08 22:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638062', 'tblTempUsageDetail_20' ) start [2025-03-08 22:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638062', 'tblTempUsageDetail_20' ) end [2025-03-08 22:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638062', 'tblTempVendorCDR_20' ) start [2025-03-08 22:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638062', 'tblTempVendorCDR_20' ) end [2025-03-08 22:00:18] Production.INFO: ProcessCDR(1,14638062,1,1,2) [2025-03-08 22:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638062', 'tblTempUsageDetail_20' ) start [2025-03-08 22:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638062', 'tblTempUsageDetail_20' ) end [2025-03-08 22:00:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:00:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:00:21] Production.INFO: ==15605== Releasing lock... [2025-03-08 22:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:00:21] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 03:01:01] Production.INFO: ==15667== Lock acquired, processing the job... [2025-03-09 03:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:01:01] Production.INFO: neon service started [2025-03-09 03:01:01] Production.INFO: neon service started [2025-03-09 03:01:01] Production.INFO: ==15667== Releasing lock... [2025-03-09 03:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:01:02] Production.INFO: ==15679== Lock acquired, processing the job... [2025-03-08 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:01:02] Production.INFO: ==15679== Releasing lock... [2025-03-08 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:01:02] Production.INFO: ==15681== Lock acquired, processing the job... [2025-03-09 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:01:02] Production.INFO: ==15681== Releasing lock... [2025-03-09 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:01:03] Production.INFO: ==15687== Lock acquired, processing the job... [2025-03-08 22:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:01:03] Production.INFO: ==15692== Lock acquired, processing the job... [2025-03-08 22:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:01:03] Production.INFO: ==15683== Lock acquired, processing the job... [2025-03-08 22:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:01:03] Production.INFO: ==15685== Lock acquired, processing the job... [2025-03-08 22:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:01:03] Production.INFO: ==15689== Lock acquired, processing the job... [2025-03-08 22:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:01:03] Production.INFO: ==15694== Lock acquired, processing the job... [2025-03-08 22:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:01:03] Production.INFO: Account Balance Start. [2025-03-08 22:01:03] Production.INFO: CreateAllLog Start [2025-03-08 22:01:03] Production.INFO: 117 [2025-03-08 22:01:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:01:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:01:04] Production.ERROR: done [2025-03-08 22:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:01:04] Production.INFO: Total Charge 0 [2025-03-08 22:01:04] Production.INFO: CreateAllLog End [2025-03-08 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-08 22:01:04] Production.INFO: count ==13 [2025-03-08 22:01:04] Production.INFO: ==15685== Releasing lock... [2025-03-08 22:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:01:04] Production.ERROR: done [2025-03-08 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-08 22:01:04] Production.INFO: count ==21 [2025-03-08 22:01:04] Production.INFO: Account Balance End. [2025-03-08 22:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638066') start [2025-03-08 22:01:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:01:04] Production.INFO: ==15689== Releasing lock... [2025-03-08 22:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638066') end [2025-03-08 22:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:01:04] Production.INFO: 1 [2025-03-08 22:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:01:04] Production.INFO: ==15694== Releasing lock... [2025-03-08 22:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:01:05 [end_date_ymd] => 2025-03-08 22:01:05 [RateCDR] => 1 ) [2025-03-08 22:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:01:05' and `end` < '2025-03-08 22:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:01:11] Production.ERROR: CronJobId end10 [2025-03-08 22:01:11] Production.INFO: ==15687== Releasing lock... [2025-03-08 22:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:01:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:01:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:01:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:01:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:01:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:01:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:01:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:01:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:01:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:01:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:01:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:01:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:01:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:01:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:01:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:01:14] Production.INFO: call_cost start [2025-03-08 22:01:14] Production.INFO: call_cost end [2025-03-08 22:01:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:01:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:01:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:01:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:01:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:01:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:01:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:01:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:01:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:01:15] Production.INFO: ==15683== Releasing lock... [2025-03-08 22:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:01:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:01:17] Production.INFO: count ==1109 [2025-03-08 22:01:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:01:05 - End Time 2025-03-08 22:01:05 [2025-03-08 22:01:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638067', 'tblTempUsageDetail_20' ) start [2025-03-08 22:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638067', 'tblTempUsageDetail_20' ) end [2025-03-08 22:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638067', 'tblTempVendorCDR_20' ) start [2025-03-08 22:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638067', 'tblTempVendorCDR_20' ) end [2025-03-08 22:01:17] Production.INFO: ProcessCDR(1,14638067,1,1,2) [2025-03-08 22:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638067', 'tblTempUsageDetail_20' ) start [2025-03-08 22:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638067', 'tblTempUsageDetail_20' ) end [2025-03-08 22:01:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:01:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:01:22] Production.INFO: ==15692== Releasing lock... [2025-03-08 22:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:01:22] Production.INFO: 36 MB #Memory Used# [2025-03-09 03:02:01] Production.INFO: ==15747== Lock acquired, processing the job... [2025-03-09 03:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:02:01] Production.INFO: neon service started [2025-03-09 03:02:01] Production.INFO: neon service started [2025-03-09 03:02:01] Production.INFO: ==15747== Releasing lock... [2025-03-09 03:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:02:02] Production.INFO: ==15749== Lock acquired, processing the job... [2025-03-08 22:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:02:02] Production.INFO: ==15751== Lock acquired, processing the job... [2025-03-09 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:02:02] Production.INFO: ==15751== Releasing lock... [2025-03-09 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:02:02] Production.INFO: ==15749== Releasing lock... [2025-03-08 22:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:02:03] Production.INFO: ==15754== Lock acquired, processing the job... [2025-03-08 22:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:02:03] Production.INFO: ==15756== Lock acquired, processing the job... [2025-03-08 22:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:02:03] Production.INFO: ==15764== Lock acquired, processing the job... [2025-03-08 22:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:02:03] Production.INFO: count ==13 [2025-03-08 22:02:03] Production.INFO: ==15758== Lock acquired, processing the job... [2025-03-08 22:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:02:03] Production.INFO: count ==21 [2025-03-08 22:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638070') start [2025-03-08 22:02:03] Production.INFO: ==15760== Lock acquired, processing the job... [2025-03-08 22:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:02:03] Production.INFO: ==15756== Releasing lock... [2025-03-08 22:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:02:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:02:03] Production.INFO: ==15762== Lock acquired, processing the job... [2025-03-08 22:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638070') end [2025-03-08 22:02:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:02:03] Production.INFO: 1 [2025-03-08 22:02:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:02:03] Production.INFO: Account Balance Start. [2025-03-08 22:02:03] Production.INFO: CreateAllLog Start [2025-03-08 22:02:03] Production.INFO: 117 [2025-03-08 22:02:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:02:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:02:03] Production.INFO: ==15764== Releasing lock... [2025-03-08 22:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:02:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:02:04] Production.INFO: Total Charge 0 [2025-03-08 22:02:04] Production.INFO: CreateAllLog End [2025-03-08 22:02:04] Production.ERROR: done [2025-03-08 22:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:02:04] Production.INFO: Account Balance End. [2025-03-08 22:02:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:02:04] Production.INFO: ==15760== Releasing lock... [2025-03-08 22:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:02:04] Production.ERROR: done [2025-03-08 22:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:02:05 [end_date_ymd] => 2025-03-08 22:02:05 [RateCDR] => 1 ) [2025-03-08 22:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:02:05' and `end` < '2025-03-08 22:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:02:11] Production.ERROR: CronJobId end10 [2025-03-08 22:02:11] Production.INFO: ==15758== Releasing lock... [2025-03-08 22:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:02:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:02:14] Production.INFO: call_cost start [2025-03-08 22:02:14] Production.INFO: call_cost end [2025-03-08 22:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:02:15] Production.INFO: ==15754== Releasing lock... [2025-03-08 22:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:02:17] Production.INFO: count ==1109 [2025-03-08 22:02:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:02:05 - End Time 2025-03-08 22:02:05 [2025-03-08 22:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638072', 'tblTempUsageDetail_20' ) start [2025-03-08 22:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638072', 'tblTempUsageDetail_20' ) end [2025-03-08 22:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638072', 'tblTempVendorCDR_20' ) start [2025-03-08 22:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638072', 'tblTempVendorCDR_20' ) end [2025-03-08 22:02:17] Production.INFO: ProcessCDR(1,14638072,1,1,2) [2025-03-08 22:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:02:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:02:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638072', 'tblTempUsageDetail_20' ) start [2025-03-08 22:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638072', 'tblTempUsageDetail_20' ) end [2025-03-08 22:02:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:02:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:02:21] Production.INFO: ==15762== Releasing lock... [2025-03-08 22:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:02:21] Production.INFO: 36 MB #Memory Used# [2025-03-09 03:03:02] Production.INFO: ==15824== Lock acquired, processing the job... [2025-03-09 03:03:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:03:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:03:02] Production.INFO: neon service started [2025-03-09 03:03:02] Production.INFO: neon service started [2025-03-09 03:03:02] Production.INFO: ==15824== Releasing lock... [2025-03-09 03:03:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:03:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 03:03:02] Production.INFO: ==15828== Lock acquired, processing the job... [2025-03-09 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:03:02] Production.INFO: ==15828== Releasing lock... [2025-03-09 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:03:02] Production.INFO: ==15826== Lock acquired, processing the job... [2025-03-08 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:03:03] Production.INFO: ==15826== Releasing lock... [2025-03-08 22:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:03:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:03:03] Production.INFO: ==15835== Lock acquired, processing the job... [2025-03-08 22:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:03:04] Production.INFO: ==15837== Lock acquired, processing the job... [2025-03-08 22:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:03:04] Production.INFO: Account Balance Start. [2025-03-08 22:03:04] Production.INFO: CreateAllLog Start [2025-03-08 22:03:04] Production.INFO: 117 [2025-03-08 22:03:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:03:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:03:04] Production.INFO: Total Charge 0 [2025-03-08 22:03:04] Production.INFO: CreateAllLog End [2025-03-08 22:03:04] Production.INFO: Account Balance End. [2025-03-08 22:03:04] Production.INFO: ==15831== Lock acquired, processing the job... [2025-03-08 22:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:03:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:03:04] Production.INFO: ==15837== Releasing lock... [2025-03-08 22:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:03:04] Production.INFO: ==15833== Lock acquired, processing the job... [2025-03-08 22:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:03:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:03:04] Production.INFO: ==15839== Lock acquired, processing the job... [2025-03-08 22:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:03:04] Production.INFO: ==15841== Lock acquired, processing the job... [2025-03-08 22:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:03:04] Production.INFO: count ==13 [2025-03-08 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-08 22:03:04] Production.INFO: ==15833== Releasing lock... [2025-03-08 22:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:03:04] Production.INFO: count ==21 [2025-03-08 22:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638076') start [2025-03-08 22:03:05] Production.ERROR: PBX CALL prc_importPBXExtension('14638076') end [2025-03-08 22:03:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:03:05] Production.INFO: 1 [2025-03-08 22:03:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:03:05] Production.INFO: ==15841== Releasing lock... [2025-03-08 22:03:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:03:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:03:05] Production.ERROR: done [2025-03-08 22:03:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:03:05] Production.ERROR: done [2025-03-08 22:03:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:03:06 [end_date_ymd] => 2025-03-08 22:03:06 [RateCDR] => 1 ) [2025-03-08 22:03:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:03:06' and `end` < '2025-03-08 22:03:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:03:14] Production.ERROR: CronJobId end10 [2025-03-08 22:03:14] Production.INFO: ==15835== Releasing lock... [2025-03-08 22:03:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:03:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:03:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:03:16] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:03:16] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:03:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:03:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:03:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:03:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:03:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:03:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:03:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:03:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:03:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:03:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:03:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:03:16] Production.INFO: call_cost start [2025-03-08 22:03:16] Production.INFO: call_cost end [2025-03-08 22:03:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:03:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:03:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:03:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:03:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:03:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:03:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:03:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:03:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:03:17] Production.INFO: ==15831== Releasing lock... [2025-03-08 22:03:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:03:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:03:18] Production.INFO: count ==1110 [2025-03-08 22:03:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:03:06 - End Time 2025-03-08 22:03:06 [2025-03-08 22:03:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638077', 'tblTempUsageDetail_20' ) start [2025-03-08 22:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638077', 'tblTempUsageDetail_20' ) end [2025-03-08 22:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638077', 'tblTempVendorCDR_20' ) start [2025-03-08 22:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638077', 'tblTempVendorCDR_20' ) end [2025-03-08 22:03:18] Production.INFO: ProcessCDR(1,14638077,1,1,2) [2025-03-08 22:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638077', 'tblTempUsageDetail_20' ) start [2025-03-08 22:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638077', 'tblTempUsageDetail_20' ) end [2025-03-08 22:03:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:03:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:03:22] Production.INFO: ==15839== Releasing lock... [2025-03-08 22:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:03:22] Production.INFO: 36 MB #Memory Used# [2025-03-09 03:04:01] Production.INFO: ==15896== Lock acquired, processing the job... [2025-03-09 03:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:04:01] Production.INFO: neon service started [2025-03-09 03:04:01] Production.INFO: neon service started [2025-03-09 03:04:01] Production.INFO: ==15896== Releasing lock... [2025-03-09 03:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:04:01] Production.INFO: ==15898== Lock acquired, processing the job... [2025-03-08 22:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:04:02] Production.INFO: ==15898== Releasing lock... [2025-03-08 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:04:02] Production.INFO: ==15900== Lock acquired, processing the job... [2025-03-09 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:04:02] Production.INFO: ==15900== Releasing lock... [2025-03-09 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:04:03] Production.INFO: ==15909== Lock acquired, processing the job... [2025-03-08 22:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:04:03] Production.INFO: ==15913== Lock acquired, processing the job... [2025-03-08 22:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:04:03] Production.INFO: ==15903== Lock acquired, processing the job... [2025-03-08 22:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:04:03] Production.INFO: Account Balance Start. [2025-03-08 22:04:03] Production.INFO: CreateAllLog Start [2025-03-08 22:04:03] Production.INFO: 117 [2025-03-08 22:04:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:04:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:04:03] Production.INFO: Total Charge 0 [2025-03-08 22:04:03] Production.INFO: ==15905== Lock acquired, processing the job... [2025-03-08 22:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:04:03] Production.INFO: count ==13 [2025-03-08 22:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:04:03] Production.INFO: count ==21 [2025-03-08 22:04:03] Production.INFO: CreateAllLog End [2025-03-08 22:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638079') start [2025-03-08 22:04:03] Production.INFO: ==15907== Lock acquired, processing the job... [2025-03-08 22:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638079') end [2025-03-08 22:04:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:04:03] Production.INFO: 1 [2025-03-08 22:04:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:04:03] Production.INFO: ==15911== Lock acquired, processing the job... [2025-03-08 22:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:04:03] Production.INFO: Account Balance End. [2025-03-08 22:04:03] Production.INFO: ==15913== Releasing lock... [2025-03-08 22:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:04:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:04:03] Production.ERROR: CronJobId end 12 [2025-03-08 22:04:03] Production.INFO: ==15909== Releasing lock... [2025-03-08 22:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:04:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:04:03] Production.INFO: ==15905== Releasing lock... [2025-03-08 22:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:04:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:04:04] Production.ERROR: done [2025-03-08 22:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:04:04] Production.ERROR: done [2025-03-08 22:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:04:04 [end_date_ymd] => 2025-03-08 22:04:04 [RateCDR] => 1 ) [2025-03-08 22:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:04:04' and `end` < '2025-03-08 22: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-08 22:04:11] Production.ERROR: CronJobId end10 [2025-03-08 22:04:11] Production.INFO: ==15907== Releasing lock... [2025-03-08 22:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:04:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:04:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:04:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:04:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:04:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:04:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:04:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:04:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:04:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:04:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:04:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:04:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:04:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:04:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:04:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:04:14] Production.INFO: call_cost start [2025-03-08 22:04:14] Production.INFO: call_cost end [2025-03-08 22:04:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:04:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:04:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:04:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:04:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:04:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:04:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:04:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:04:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:04:15] Production.INFO: ==15903== Releasing lock... [2025-03-08 22:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:04:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:04:17] Production.INFO: count ==1110 [2025-03-08 22:04:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:04:04 - End Time 2025-03-08 22:04:04 [2025-03-08 22:04:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638082', 'tblTempUsageDetail_20' ) start [2025-03-08 22:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638082', 'tblTempUsageDetail_20' ) end [2025-03-08 22:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638082', 'tblTempVendorCDR_20' ) start [2025-03-08 22:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638082', 'tblTempVendorCDR_20' ) end [2025-03-08 22:04:17] Production.INFO: ProcessCDR(1,14638082,1,1,2) [2025-03-08 22:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:04:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638082', 'tblTempUsageDetail_20' ) start [2025-03-08 22:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638082', 'tblTempUsageDetail_20' ) end [2025-03-08 22:04:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:04:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:04:20] Production.INFO: ==15911== Releasing lock... [2025-03-08 22:04:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:04:20] Production.INFO: 36 MB #Memory Used# [2025-03-09 03:05:01] Production.INFO: ==15966== Lock acquired, processing the job... [2025-03-09 03:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:05:01] Production.INFO: neon service started [2025-03-09 03:05:01] Production.INFO: neon service started [2025-03-09 03:05:01] Production.INFO: ==15966== Releasing lock... [2025-03-09 03:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:05:02] Production.INFO: ==15968== Lock acquired, processing the job... [2025-03-08 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:05:02] Production.INFO: ==15970== Lock acquired, processing the job... [2025-03-09 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:05:02] Production.INFO: ==15970== Releasing lock... [2025-03-09 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:05:02] Production.INFO: ==15968== Releasing lock... [2025-03-08 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:05:03] Production.INFO: ==15975== Lock acquired, processing the job... [2025-03-08 22:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:05:03] Production.INFO: ==15973== Lock acquired, processing the job... [2025-03-08 22:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:05:03] Production.INFO: ==15981== Lock acquired, processing the job... [2025-03-08 22:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:05:03] Production.INFO: ==15977== Lock acquired, processing the job... [2025-03-08 22:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:05:03] Production.INFO: ==15979== Lock acquired, processing the job... [2025-03-08 22:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:05:03] Production.INFO: ==15983== Lock acquired, processing the job... [2025-03-08 22:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:05:04] Production.INFO: Account Balance Start. [2025-03-08 22:05:04] Production.INFO: CreateAllLog Start [2025-03-08 22:05:04] Production.INFO: 117 [2025-03-08 22:05:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:05:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:05:04] Production.INFO: count ==13 [2025-03-08 22:05:04] Production.INFO: ==15975== Releasing lock... [2025-03-08 22:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:05:04] Production.INFO: count ==21 [2025-03-08 22:05:04] Production.INFO: Total Charge 0 [2025-03-08 22:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638086') start [2025-03-08 22:05:04] Production.INFO: CreateAllLog End [2025-03-08 22:05:04] Production.ERROR: done [2025-03-08 22:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638086') end [2025-03-08 22:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:05:04] Production.INFO: 1 [2025-03-08 22:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:05:04] Production.INFO: Account Balance End. [2025-03-08 22:05:04] Production.INFO: ==15983== Releasing lock... [2025-03-08 22:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:05:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:05:04] Production.INFO: ==15979== Releasing lock... [2025-03-08 22:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:05:04] Production.ERROR: done [2025-03-08 22:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:05:05 [end_date_ymd] => 2025-03-08 22:05:05 [RateCDR] => 1 ) [2025-03-08 22:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:05:05' and `end` < '2025-03-08 22:05:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:05:11] Production.ERROR: CronJobId end10 [2025-03-08 22:05:11] Production.INFO: ==15977== Releasing lock... [2025-03-08 22:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:05:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:05:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:05:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:05:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:05:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:05:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:05:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:05:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:05:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:05:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:05:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:05:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:05:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:05:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:05:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:05:14] Production.INFO: call_cost start [2025-03-08 22:05:14] Production.INFO: call_cost end [2025-03-08 22:05:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:05:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:05:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:05:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:05:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:05:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:05:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:05:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:05:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:05:14] Production.INFO: ==15973== Releasing lock... [2025-03-08 22:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:05:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:05:17] Production.INFO: count ==1108 [2025-03-08 22:05:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:05:05 - End Time 2025-03-08 22:05:05 [2025-03-08 22:05:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638087', 'tblTempUsageDetail_20' ) start [2025-03-08 22:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638087', 'tblTempUsageDetail_20' ) end [2025-03-08 22:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638087', 'tblTempVendorCDR_20' ) start [2025-03-08 22:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638087', 'tblTempVendorCDR_20' ) end [2025-03-08 22:05:17] Production.INFO: ProcessCDR(1,14638087,1,1,2) [2025-03-08 22:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638087', 'tblTempUsageDetail_20' ) start [2025-03-08 22:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638087', 'tblTempUsageDetail_20' ) end [2025-03-08 22:05:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:05:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:05:22] Production.INFO: ==15981== Releasing lock... [2025-03-08 22:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:05:22] Production.INFO: 36 MB #Memory Used# [2025-03-09 03:06:01] Production.INFO: ==16047== Lock acquired, processing the job... [2025-03-09 03:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:06:01] Production.INFO: neon service started [2025-03-09 03:06:01] Production.INFO: neon service started [2025-03-09 03:06:01] Production.INFO: ==16047== Releasing lock... [2025-03-09 03:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:06:02] Production.INFO: ==16049== Lock acquired, processing the job... [2025-03-08 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:06:02] Production.INFO: ==16051== Lock acquired, processing the job... [2025-03-09 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:06:02] Production.INFO: ==16051== Releasing lock... [2025-03-09 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:06:02] Production.INFO: ==16049== Releasing lock... [2025-03-08 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:06:03] Production.INFO: ==16056== Lock acquired, processing the job... [2025-03-08 22:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:06:03] Production.INFO: ==16060== Lock acquired, processing the job... [2025-03-08 22:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:06:03] Production.INFO: ==16058== Lock acquired, processing the job... [2025-03-08 22:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:06:03] Production.INFO: Account Balance Start. [2025-03-08 22:06:03] Production.INFO: CreateAllLog Start [2025-03-08 22:06:03] Production.INFO: 117 [2025-03-08 22:06:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:06:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:06:03] Production.INFO: Total Charge 0 [2025-03-08 22:06:03] Production.INFO: CreateAllLog End [2025-03-08 22:06:03] Production.INFO: ==16056== Releasing lock... [2025-03-08 22:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:06:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:06:03] Production.INFO: ==16054== Lock acquired, processing the job... [2025-03-08 22:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:06:03] Production.INFO: ==16062== Lock acquired, processing the job... [2025-03-08 22:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:06:03] Production.INFO: Account Balance End. [2025-03-08 22:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:06:03] Production.ERROR: CronJobId end 12 [2025-03-08 22:06:03] Production.INFO: ==16060== Releasing lock... [2025-03-08 22:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:06:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:06:03] Production.INFO: ==16064== Lock acquired, processing the job... [2025-03-08 22:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:06:03] Production.INFO: count ==13 [2025-03-08 22:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:06:03] Production.INFO: count ==21 [2025-03-08 22:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638091') start [2025-03-08 22:06:03] Production.ERROR: done [2025-03-08 22:06:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:06:04] Production.ERROR: done [2025-03-08 22:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638091') end [2025-03-08 22:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:06:04] Production.INFO: 1 [2025-03-08 22:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:06:04] Production.INFO: ==16064== Releasing lock... [2025-03-08 22:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:06:05 [end_date_ymd] => 2025-03-08 22:06:05 [RateCDR] => 1 ) [2025-03-08 22:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:06:05' and `end` < '2025-03-08 22:06:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:06:10] Production.ERROR: CronJobId end10 [2025-03-08 22:06:10] Production.INFO: ==16058== Releasing lock... [2025-03-08 22:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:06:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:06:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:06:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:06:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:06:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:06:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:06:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:06:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:06:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:06:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:06:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:06:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:06:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:06:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:06:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:06:14] Production.INFO: call_cost start [2025-03-08 22:06:14] Production.INFO: call_cost end [2025-03-08 22:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:06:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:06:15] Production.INFO: ==16054== Releasing lock... [2025-03-08 22:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:06:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:06:17] Production.INFO: count ==1108 [2025-03-08 22:06:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:06:05 - End Time 2025-03-08 22:06:05 [2025-03-08 22:06:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638092', 'tblTempUsageDetail_20' ) start [2025-03-08 22:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638092', 'tblTempUsageDetail_20' ) end [2025-03-08 22:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638092', 'tblTempVendorCDR_20' ) start [2025-03-08 22:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638092', 'tblTempVendorCDR_20' ) end [2025-03-08 22:06:17] Production.INFO: ProcessCDR(1,14638092,1,1,2) [2025-03-08 22:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638092', 'tblTempUsageDetail_20' ) start [2025-03-08 22:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638092', 'tblTempUsageDetail_20' ) end [2025-03-08 22:06:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:06:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:06:22] Production.INFO: ==16062== Releasing lock... [2025-03-08 22:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:06:22] Production.INFO: 36 MB #Memory Used# [2025-03-09 03:07:01] Production.INFO: ==16159== Lock acquired, processing the job... [2025-03-09 03:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:07:01] Production.INFO: neon service started [2025-03-09 03:07:01] Production.INFO: neon service started [2025-03-09 03:07:01] Production.INFO: ==16159== Releasing lock... [2025-03-09 03:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:07:02] Production.INFO: ==16161== Lock acquired, processing the job... [2025-03-08 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:07:02] Production.INFO: ==16161== Releasing lock... [2025-03-08 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:07:02] Production.INFO: ==16163== Lock acquired, processing the job... [2025-03-09 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:07:02] Production.INFO: ==16163== Releasing lock... [2025-03-09 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:07:03] Production.INFO: ==16169== Lock acquired, processing the job... [2025-03-08 22:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:07:03] Production.INFO: ==16165== Lock acquired, processing the job... [2025-03-08 22:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:07:03] Production.INFO: ==16176== Lock acquired, processing the job... [2025-03-08 22:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:07:03] Production.INFO: ==16167== Lock acquired, processing the job... [2025-03-08 22:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:07:03] Production.INFO: ==16173== Lock acquired, processing the job... [2025-03-08 22:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:07:03] Production.INFO: ==16171== Lock acquired, processing the job... [2025-03-08 22:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:07:03] Production.INFO: count ==13 [2025-03-08 22:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:07:03] Production.INFO: count ==21 [2025-03-08 22:07:03] Production.INFO: Account Balance Start. [2025-03-08 22:07:03] Production.INFO: CreateAllLog Start [2025-03-08 22:07:03] Production.INFO: 117 [2025-03-08 22:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638095') start [2025-03-08 22:07:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:07:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:07:03] Production.INFO: Total Charge 0 [2025-03-08 22:07:03] Production.INFO: CreateAllLog End [2025-03-08 22:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638095') end [2025-03-08 22:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:07:04] Production.INFO: 1 [2025-03-08 22:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:07:04] Production.INFO: ==16167== Releasing lock... [2025-03-08 22:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:07:04] Production.INFO: ==16176== Releasing lock... [2025-03-08 22:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:07:04] Production.ERROR: done [2025-03-08 22:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:07:04] Production.INFO: Account Balance End. [2025-03-08 22:07:04] Production.ERROR: done [2025-03-08 22:07:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:07:04] Production.INFO: ==16171== Releasing lock... [2025-03-08 22:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:07:05 [end_date_ymd] => 2025-03-08 22:07:05 [RateCDR] => 1 ) [2025-03-08 22:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:07:05' and `end` < '2025-03-08 22:07:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:07:12] Production.ERROR: CronJobId end10 [2025-03-08 22:07:12] Production.INFO: ==16169== Releasing lock... [2025-03-08 22:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:07:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:07:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:07:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:07:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:07:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:07:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:07:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:07:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:07:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:07:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:07:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:07:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:07:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:07:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:07:14] Production.INFO: call_cost start [2025-03-08 22:07:14] Production.INFO: call_cost end [2025-03-08 22:07:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:07:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:07:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:07:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:07:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:07:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:07:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:07:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:07:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:07:15] Production.INFO: ==16165== Releasing lock... [2025-03-08 22:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:07:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:07:17] Production.INFO: count ==1106 [2025-03-08 22:07:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:07:05 - End Time 2025-03-08 22:07:05 [2025-03-08 22:07:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638097', 'tblTempUsageDetail_20' ) start [2025-03-08 22:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638097', 'tblTempUsageDetail_20' ) end [2025-03-08 22:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638097', 'tblTempVendorCDR_20' ) start [2025-03-08 22:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638097', 'tblTempVendorCDR_20' ) end [2025-03-08 22:07:17] Production.INFO: ProcessCDR(1,14638097,1,1,2) [2025-03-08 22:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:07:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638097', 'tblTempUsageDetail_20' ) start [2025-03-08 22:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638097', 'tblTempUsageDetail_20' ) end [2025-03-08 22:07:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:07:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:07:20] Production.INFO: ==16173== Releasing lock... [2025-03-08 22:07:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:07:20] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 03:08:02] Production.INFO: ==16230== Lock acquired, processing the job... [2025-03-09 03:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:08:02] Production.INFO: neon service started [2025-03-09 03:08:02] Production.INFO: neon service started [2025-03-09 03:08:02] Production.INFO: ==16230== Releasing lock... [2025-03-09 03:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:08:02] Production.INFO: ==16232== Lock acquired, processing the job... [2025-03-08 22:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:08:02] Production.INFO: ==16232== Releasing lock... [2025-03-08 22:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:08:03] Production.INFO: ==16234== Lock acquired, processing the job... [2025-03-09 03:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:08:03] Production.INFO: ==16234== Releasing lock... [2025-03-09 03:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:08:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:08:03] Production.INFO: ==16241== Lock acquired, processing the job... [2025-03-08 22:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:08:03] Production.INFO: ==16239== Lock acquired, processing the job... [2025-03-08 22:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:08:03] Production.INFO: ==16237== Lock acquired, processing the job... [2025-03-08 22:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:08:03] Production.INFO: ==16243== Lock acquired, processing the job... [2025-03-08 22:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:08:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:08:04] Production.INFO: Account Balance Start. [2025-03-08 22:08:04] Production.INFO: CreateAllLog Start [2025-03-08 22:08:04] Production.INFO: 117 [2025-03-08 22:08:04] Production.INFO: ==16245== Lock acquired, processing the job... [2025-03-08 22:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:08:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:08:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:08:04] Production.INFO: ==16247== Lock acquired, processing the job... [2025-03-08 22:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:08:04] Production.INFO: Total Charge 0 [2025-03-08 22:08:04] Production.INFO: CreateAllLog End [2025-03-08 22:08:04] Production.INFO: ==16239== Releasing lock... [2025-03-08 22:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 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-08 22:08:04] Production.INFO: count ==13 [2025-03-08 22:08:04] Production.ERROR: done [2025-03-08 22:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 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-08 22:08:04] Production.INFO: count ==21 [2025-03-08 22:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638101') start [2025-03-08 22:08:04] Production.ERROR: done [2025-03-08 22:08:04] Production.INFO: Account Balance End. [2025-03-08 22:08:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:08:04] Production.INFO: ==16243== Releasing lock... [2025-03-08 22:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638101') end [2025-03-08 22:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:08:04] Production.INFO: 1 [2025-03-08 22:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:08:04] Production.INFO: ==16247== Releasing lock... [2025-03-08 22:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:08:05 [end_date_ymd] => 2025-03-08 22:08:05 [RateCDR] => 1 ) [2025-03-08 22:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:08:05' and `end` < '2025-03-08 22:08:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:08:12] Production.ERROR: CronJobId end10 [2025-03-08 22:08:12] Production.INFO: ==16241== Releasing lock... [2025-03-08 22:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:08:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:08:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:08:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:08:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:08:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:08:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:08:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:08:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:08:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:08:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:08:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:08:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:08:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:08:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:08:15] Production.INFO: call_cost start [2025-03-08 22:08:15] Production.INFO: call_cost end [2025-03-08 22:08:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:08:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:08:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:08:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:08:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:08:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:08:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:08:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:08:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:08:16] Production.INFO: ==16237== Releasing lock... [2025-03-08 22:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:08:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:08:17] Production.INFO: count ==1108 [2025-03-08 22:08:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:08:05 - End Time 2025-03-08 22:08:05 [2025-03-08 22:08:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638102', 'tblTempUsageDetail_20' ) start [2025-03-08 22:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638102', 'tblTempUsageDetail_20' ) end [2025-03-08 22:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638102', 'tblTempVendorCDR_20' ) start [2025-03-08 22:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638102', 'tblTempVendorCDR_20' ) end [2025-03-08 22:08:17] Production.INFO: ProcessCDR(1,14638102,1,1,2) [2025-03-08 22:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638102', 'tblTempUsageDetail_20' ) start [2025-03-08 22:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638102', 'tblTempUsageDetail_20' ) end [2025-03-08 22:08:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:08:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:08:21] Production.INFO: ==16245== Releasing lock... [2025-03-08 22:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:08:21] Production.INFO: 36 MB #Memory Used# [2025-03-09 03:09:01] Production.INFO: ==16301== Lock acquired, processing the job... [2025-03-09 03:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:09:01] Production.INFO: neon service started [2025-03-09 03:09:01] Production.INFO: neon service started [2025-03-09 03:09:01] Production.INFO: ==16301== Releasing lock... [2025-03-09 03:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:09:02] Production.INFO: ==16303== Lock acquired, processing the job... [2025-03-08 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:09:02] Production.INFO: ==16305== Lock acquired, processing the job... [2025-03-09 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:09:02] Production.INFO: ==16305== Releasing lock... [2025-03-09 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:09:02] Production.INFO: ==16303== Releasing lock... [2025-03-08 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:09:03] Production.INFO: ==16308== Lock acquired, processing the job... [2025-03-08 22:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:09:03] Production.INFO: ==16314== Lock acquired, processing the job... [2025-03-08 22:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:09:03] Production.INFO: ==16310== Lock acquired, processing the job... [2025-03-08 22:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:09:03] Production.INFO: Account Balance Start. [2025-03-08 22:09:03] Production.INFO: CreateAllLog Start [2025-03-08 22:09:03] Production.INFO: ==16312== Lock acquired, processing the job... [2025-03-08 22:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:09:03] Production.INFO: 117 [2025-03-08 22:09:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:09:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:09:03] Production.INFO: Total Charge 0 [2025-03-08 22:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:09:03] Production.INFO: CreateAllLog End [2025-03-08 22:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:09:03] Production.INFO: ==16316== Lock acquired, processing the job... [2025-03-08 22:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:09:03] Production.INFO: ==16318== Lock acquired, processing the job... [2025-03-08 22:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:09:03] Production.INFO: Account Balance End. [2025-03-08 22:09:03] Production.ERROR: CronJobId end 12 [2025-03-08 22:09:04] Production.INFO: ==16314== Releasing lock... [2025-03-08 22:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:09:04] Production.INFO: ==16310== Releasing lock... [2025-03-08 22:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 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-08 22:09:04] Production.INFO: count ==13 [2025-03-08 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-08 22:09:04] Production.INFO: count ==21 [2025-03-08 22:09:04] Production.ERROR: done [2025-03-08 22:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638106') start [2025-03-08 22:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638106') end [2025-03-08 22:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:09:04] Production.INFO: 1 [2025-03-08 22:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:09:04] Production.INFO: ==16318== Releasing lock... [2025-03-08 22:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:09:04] Production.ERROR: done [2025-03-08 22:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:09:05 [end_date_ymd] => 2025-03-08 22:09:05 [RateCDR] => 1 ) [2025-03-08 22:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:09:05' and `end` < '2025-03-08 22:09:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:09:11] Production.ERROR: CronJobId end10 [2025-03-08 22:09:11] Production.INFO: ==16312== Releasing lock... [2025-03-08 22:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:09:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:09:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:09:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:09:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:09:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:09:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:09:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:09:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:09:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:09:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:09:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:09:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:09:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:09:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:09:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:09:13] Production.INFO: call_cost start [2025-03-08 22:09:13] Production.INFO: call_cost end [2025-03-08 22:09:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:09:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:09:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:09:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:09:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:09:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:09:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:09:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:09:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:09:14] Production.INFO: ==16308== Releasing lock... [2025-03-08 22:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:09:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:09:17] Production.INFO: count ==1112 [2025-03-08 22:09:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:09:05 - End Time 2025-03-08 22:09:05 [2025-03-08 22:09:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638107', 'tblTempUsageDetail_20' ) start [2025-03-08 22:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638107', 'tblTempUsageDetail_20' ) end [2025-03-08 22:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638107', 'tblTempVendorCDR_20' ) start [2025-03-08 22:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638107', 'tblTempVendorCDR_20' ) end [2025-03-08 22:09:17] Production.INFO: ProcessCDR(1,14638107,1,1,2) [2025-03-08 22:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638107', 'tblTempUsageDetail_20' ) start [2025-03-08 22:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638107', 'tblTempUsageDetail_20' ) end [2025-03-08 22:09:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:09:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:09:22] Production.INFO: ==16316== Releasing lock... [2025-03-08 22:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:09:22] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 03:10:02] Production.INFO: ==16371== Lock acquired, processing the job... [2025-03-09 03:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:10:02] Production.INFO: neon service started [2025-03-09 03:10:02] Production.INFO: neon service started [2025-03-09 03:10:02] Production.INFO: ==16371== Releasing lock... [2025-03-09 03:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:10:02] Production.INFO: ==16374== Lock acquired, processing the job... [2025-03-08 22:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:10:02] Production.INFO: ==16376== Lock acquired, processing the job... [2025-03-09 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:10:02] Production.INFO: ==16376== Releasing lock... [2025-03-09 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:10:03] Production.INFO: ==16374== Releasing lock... [2025-03-08 22:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:10:04] Production.INFO: ==16378== Lock acquired, processing the job... [2025-03-08 22:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 22:10:04] Production.INFO: ==16382== Lock acquired, processing the job... [2025-03-08 22:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 22:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 22:10:04] Production.INFO: ==16378== Releasing lock... [2025-03-08 22:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 22:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 22:10:04] Production.INFO: ==16386== Lock acquired, processing the job... [2025-03-08 22:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:10:04] Production.INFO: ==16380== Lock acquired, processing the job... [2025-03-08 22:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:10:04] Production.INFO: ==16384== Lock acquired, processing the job... [2025-03-08 22:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:10:04] Production.INFO: Account Balance Start. [2025-03-08 22:10:04] Production.INFO: CreateAllLog Start [2025-03-08 22:10:04] Production.INFO: ==16390== Lock acquired, processing the job... [2025-03-08 22:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 22:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:10:04] Production.INFO: 117 [2025-03-08 22:10:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:10:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:10:04] Production.INFO: ==16388== Lock acquired, processing the job... [2025-03-08 22:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:10:04] Production.INFO: Total Charge 0 [2025-03-08 22:10:04] Production.INFO: CreateAllLog End [2025-03-08 22:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:10:04] Production.INFO: ==16382== Releasing lock... [2025-03-08 22:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:10:04] Production.INFO: ==16392== Lock acquired, processing the job... [2025-03-08 22:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:10:04] Production.ERROR: done [2025-03-08 22:10:05] Production.INFO: Account Balance End. [2025-03-08 22: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-08 22:10:05] Production.ERROR: done [2025-03-08 22:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:10:05] Production.ERROR: CronJobId end 12 [2025-03-08 22:10:05] Production.INFO: ==16386== Releasing lock... [2025-03-08 22:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 22:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638112', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 22:10:05] Production.INFO: count ==13 [2025-03-08 22: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-08 22:10:05] Production.INFO: count ==21 [2025-03-08 22:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14638111') start [2025-03-08 22:10:05] Production.ERROR: done [2025-03-08 22:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14638111') end [2025-03-08 22:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:10:05] Production.INFO: 1 [2025-03-08 22:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:10:05] Production.INFO: ==16392== Releasing lock... [2025-03-08 22:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:10:06 [end_date_ymd] => 2025-03-08 22:10:06 [RateCDR] => 1 ) [2025-03-08 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-08 19:10:06' and `end` < '2025-03-08 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-08 22:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638112', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 22:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 22:10:09] Production.INFO: ProcessCDR(1,14638112,1,1,2) [2025-03-08 22:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14638112,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14638112,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:10:10] Production.INFO: ==16390== Releasing lock... [2025-03-08 22:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 22:10:10] Production.INFO: 26 MB #Memory Used# [2025-03-08 22:10:13] Production.ERROR: CronJobId end10 [2025-03-08 22:10:13] Production.INFO: ==16384== Releasing lock... [2025-03-08 22:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:10:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:10:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:10:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:10:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:10:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:10:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:10:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:10:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:10:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:10:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:10:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:10:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:10:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:10:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:10:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:10:16] Production.INFO: call_cost start [2025-03-08 22:10:16] Production.INFO: call_cost end [2025-03-08 22:10:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:10:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:10:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:10:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:10:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:10:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:10:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:10:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:10:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:10:17] Production.INFO: ==16380== Releasing lock... [2025-03-08 22:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:10:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:10:19] Production.INFO: count ==1117 [2025-03-08 22:10:19] Production.ERROR: pbx CDR StartTime 2025-03-08 19:10:06 - End Time 2025-03-08 22:10:06 [2025-03-08 22:10:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638113', 'tblTempUsageDetail_20' ) start [2025-03-08 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638113', 'tblTempUsageDetail_20' ) end [2025-03-08 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638113', 'tblTempVendorCDR_20' ) start [2025-03-08 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638113', 'tblTempVendorCDR_20' ) end [2025-03-08 22:10:19] Production.INFO: ProcessCDR(1,14638113,1,1,2) [2025-03-08 22:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638113', 'tblTempUsageDetail_20' ) start [2025-03-08 22:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638113', 'tblTempUsageDetail_20' ) end [2025-03-08 22:10:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:10:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:10:22] Production.INFO: ==16388== Releasing lock... [2025-03-08 22:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:10:22] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 03:11:01] Production.INFO: ==16448== Lock acquired, processing the job... [2025-03-09 03:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:11:01] Production.INFO: neon service started [2025-03-09 03:11:01] Production.INFO: neon service started [2025-03-09 03:11:01] Production.INFO: ==16448== Releasing lock... [2025-03-09 03:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:11:01] Production.INFO: ==16450== Lock acquired, processing the job... [2025-03-08 22:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:11:02] Production.INFO: ==16450== Releasing lock... [2025-03-08 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:11:02] Production.INFO: ==16452== Lock acquired, processing the job... [2025-03-09 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:11:02] Production.INFO: ==16452== Releasing lock... [2025-03-09 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:11:03] Production.INFO: ==16456== Lock acquired, processing the job... [2025-03-08 22:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:11:03] Production.INFO: ==16462== Lock acquired, processing the job... [2025-03-08 22:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:11:03] Production.INFO: ==16454== Lock acquired, processing the job... [2025-03-08 22:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:11:03] Production.INFO: ==16458== Lock acquired, processing the job... [2025-03-08 22:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:11:03] Production.INFO: ==16460== Lock acquired, processing the job... [2025-03-08 22:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:11:03] Production.INFO: ==16464== Lock acquired, processing the job... [2025-03-08 22:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:11:03] Production.ERROR: done [2025-03-08 22:11:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:11:03] Production.INFO: Account Balance Start. [2025-03-08 22:11:03] Production.INFO: CreateAllLog Start [2025-03-08 22:11:03] Production.INFO: 117 [2025-03-08 22:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:11:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:11:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:11:03] Production.INFO: count ==13 [2025-03-08 22:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:11:03] Production.INFO: count ==21 [2025-03-08 22:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638116') start [2025-03-08 22:11:03] Production.INFO: Total Charge 0 [2025-03-08 22:11:03] Production.ERROR: done [2025-03-08 22:11:03] Production.INFO: CreateAllLog End [2025-03-08 22:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638116') end [2025-03-08 22:11:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:11:03] Production.INFO: 1 [2025-03-08 22:11:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:11:03] Production.INFO: ==16456== Releasing lock... [2025-03-08 22:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:11:03] Production.INFO: ==16464== Releasing lock... [2025-03-08 22:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:11:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:11:03] Production.INFO: Account Balance End. [2025-03-08 22:11:03] Production.ERROR: CronJobId end 12 [2025-03-08 22:11:03] Production.INFO: ==16460== Releasing lock... [2025-03-08 22:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:11:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:11:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:11:04 [end_date_ymd] => 2025-03-08 22:11:04 [RateCDR] => 1 ) [2025-03-08 22:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:11:04' and `end` < '2025-03-08 22:11:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:11:11] Production.ERROR: CronJobId end10 [2025-03-08 22:11:11] Production.INFO: ==16458== Releasing lock... [2025-03-08 22:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:11:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:11:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:11:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:11:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:11:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:11:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:11:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:11:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:11:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:11:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:11:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:11:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:11:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:11:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:11:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:11:13] Production.INFO: call_cost start [2025-03-08 22:11:13] Production.INFO: call_cost end [2025-03-08 22:11:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:11:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:11:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:11:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:11:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:11:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:11:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:11:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:11:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:11:14] Production.INFO: ==16454== Releasing lock... [2025-03-08 22:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:11:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:11:16] Production.INFO: count ==1089 [2025-03-08 22:11:16] Production.ERROR: pbx CDR StartTime 2025-03-08 19:11:04 - End Time 2025-03-08 22:11:04 [2025-03-08 22:11:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:11:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638118', 'tblTempUsageDetail_20' ) start [2025-03-08 22:11:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638118', 'tblTempUsageDetail_20' ) end [2025-03-08 22:11:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638118', 'tblTempVendorCDR_20' ) start [2025-03-08 22:11:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638118', 'tblTempVendorCDR_20' ) end [2025-03-08 22:11:16] Production.INFO: ProcessCDR(1,14638118,1,1,2) [2025-03-08 22:11:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638118', 'tblTempUsageDetail_20' ) start [2025-03-08 22:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638118', 'tblTempUsageDetail_20' ) end [2025-03-08 22:11:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:11:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:11:21] Production.INFO: ==16462== Releasing lock... [2025-03-08 22:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:11:21] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 03:12:01] Production.INFO: ==16519== Lock acquired, processing the job... [2025-03-09 03:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:12:02] Production.INFO: neon service started [2025-03-09 03:12:02] Production.INFO: neon service started [2025-03-09 03:12:02] Production.INFO: ==16519== Releasing lock... [2025-03-09 03:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:12:02] Production.INFO: ==16523== Lock acquired, processing the job... [2025-03-09 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:12:02] Production.INFO: ==16523== Releasing lock... [2025-03-09 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:12:02] Production.INFO: ==16521== Lock acquired, processing the job... [2025-03-08 22:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:12:02] Production.INFO: ==16521== Releasing lock... [2025-03-08 22:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:12:03] Production.INFO: ==16525== Lock acquired, processing the job... [2025-03-08 22:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:12:03] Production.INFO: ==16527== Lock acquired, processing the job... [2025-03-08 22:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:12:03] Production.INFO: ==16529== Lock acquired, processing the job... [2025-03-08 22:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:12:03] Production.INFO: ==16527== Releasing lock... [2025-03-08 22:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:12:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:12:03] Production.INFO: ==16531== Lock acquired, processing the job... [2025-03-08 22:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:12:04] Production.INFO: ==16534== Lock acquired, processing the job... [2025-03-08 22:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:12:04] Production.INFO: Account Balance Start. [2025-03-08 22:12:04] Production.INFO: CreateAllLog Start [2025-03-08 22:12:04] Production.INFO: 117 [2025-03-08 22:12:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:12:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:12:04] Production.INFO: ==16536== Lock acquired, processing the job... [2025-03-08 22:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:12:04] Production.INFO: Total Charge 0 [2025-03-08 22:12:04] Production.INFO: CreateAllLog End [2025-03-08 22:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:12:04] Production.INFO: count ==13 [2025-03-08 22:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:12:04] Production.INFO: count ==21 [2025-03-08 22:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638122') start [2025-03-08 22:12:04] Production.ERROR: done [2025-03-08 22:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638122') end [2025-03-08 22:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:12:04] Production.INFO: 1 [2025-03-08 22:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:12:04] Production.INFO: ==16536== Releasing lock... [2025-03-08 22:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:12:04] Production.ERROR: done [2025-03-08 22:12:04] Production.INFO: Account Balance End. [2025-03-08 22:12:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:12:04] Production.INFO: ==16531== Releasing lock... [2025-03-08 22:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:12:05 [end_date_ymd] => 2025-03-08 22:12:05 [RateCDR] => 1 ) [2025-03-08 22:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:12:05' and `end` < '2025-03-08 22:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:12:13] Production.ERROR: CronJobId end10 [2025-03-08 22:12:13] Production.INFO: ==16529== Releasing lock... [2025-03-08 22:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:12:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:12:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:12:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:12:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:12:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:12:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:12:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:12:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:12:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:12:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:12:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:12:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:12:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:12:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:12:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:12:14] Production.INFO: call_cost start [2025-03-08 22:12:14] Production.INFO: call_cost end [2025-03-08 22:12:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:12:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:12:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:12:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:12:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:12:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:12:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:12:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:12:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:12:15] Production.INFO: ==16525== Releasing lock... [2025-03-08 22:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:12:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:12:17] Production.INFO: count ==1088 [2025-03-08 22:12:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:12:05 - End Time 2025-03-08 22:12:05 [2025-03-08 22:12:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638123', 'tblTempUsageDetail_20' ) start [2025-03-08 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638123', 'tblTempUsageDetail_20' ) end [2025-03-08 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638123', 'tblTempVendorCDR_20' ) start [2025-03-08 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638123', 'tblTempVendorCDR_20' ) end [2025-03-08 22:12:18] Production.INFO: ProcessCDR(1,14638123,1,1,2) [2025-03-08 22:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638123', 'tblTempUsageDetail_20' ) start [2025-03-08 22:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638123', 'tblTempUsageDetail_20' ) end [2025-03-08 22:12:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:12:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:12:21] Production.INFO: ==16534== Releasing lock... [2025-03-08 22:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:12:21] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 03:13:01] Production.INFO: ==16591== Lock acquired, processing the job... [2025-03-09 03:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:13:01] Production.INFO: neon service started [2025-03-09 03:13:01] Production.INFO: neon service started [2025-03-09 03:13:01] Production.INFO: ==16591== Releasing lock... [2025-03-09 03:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:13:01] Production.INFO: ==16595== Lock acquired, processing the job... [2025-03-09 03:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:13:01] Production.INFO: ==16595== Releasing lock... [2025-03-09 03:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:13:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:13:01] Production.INFO: ==16593== Lock acquired, processing the job... [2025-03-08 22:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:13:02] Production.INFO: ==16593== Releasing lock... [2025-03-08 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:13:02] Production.INFO: ==16600== Lock acquired, processing the job... [2025-03-08 22:13:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:13:02] Production.INFO: ==16604== Lock acquired, processing the job... [2025-03-08 22:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:13:03] Production.INFO: ==16608== Lock acquired, processing the job... [2025-03-08 22:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:13:03] Production.INFO: Account Balance Start. [2025-03-08 22:13:03] Production.INFO: CreateAllLog Start [2025-03-08 22:13:03] Production.INFO: 117 [2025-03-08 22:13:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:13:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:13:03] Production.INFO: Total Charge 0 [2025-03-08 22:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:13:03] Production.INFO: CreateAllLog End [2025-03-08 22:13:03] Production.INFO: count ==13 [2025-03-08 22:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:13:03] Production.INFO: count ==21 [2025-03-08 22:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638126') start [2025-03-08 22:13:03] Production.INFO: ==16598== Lock acquired, processing the job... [2025-03-08 22:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:13:03] Production.INFO: ==16600== Releasing lock... [2025-03-08 22:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:13:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:13:03] Production.INFO: ==16602== Lock acquired, processing the job... [2025-03-08 22:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:13:03] Production.INFO: Account Balance End. [2025-03-08 22:13:03] Production.INFO: ==16606== Lock acquired, processing the job... [2025-03-08 22:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638126') end [2025-03-08 22:13:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:13:03] Production.INFO: 1 [2025-03-08 22:13:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:13:03] Production.ERROR: CronJobId end 12 [2025-03-08 22:13:03] Production.INFO: ==16604== Releasing lock... [2025-03-08 22:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:13:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:13:03] Production.INFO: ==16608== Releasing lock... [2025-03-08 22:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:13:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:13:03] Production.ERROR: done [2025-03-08 22:13:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:13:03] Production.ERROR: done [2025-03-08 22:13:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:13:04 [end_date_ymd] => 2025-03-08 22:13:04 [RateCDR] => 1 ) [2025-03-08 22:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:13:04' and `end` < '2025-03-08 22:13:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:13:11] Production.ERROR: CronJobId end10 [2025-03-08 22:13:11] Production.INFO: ==16602== Releasing lock... [2025-03-08 22:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:13:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:13:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:13:12] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:13:12] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:13:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:13:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:13:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:13:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:13:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:13:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:13:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:13:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:13:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:13:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:13:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:13:12] Production.INFO: call_cost start [2025-03-08 22:13:12] Production.INFO: call_cost end [2025-03-08 22:13:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:13:13] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:13:13] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:13:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:13:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:13:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:13:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:13:13] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:13:13] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:13:13] Production.INFO: ==16598== Releasing lock... [2025-03-08 22:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:13:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:13:16] Production.INFO: count ==1083 [2025-03-08 22:13:16] Production.ERROR: pbx CDR StartTime 2025-03-08 19:13:04 - End Time 2025-03-08 22:13:04 [2025-03-08 22:13:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:13:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638128', 'tblTempUsageDetail_20' ) start [2025-03-08 22:13:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638128', 'tblTempUsageDetail_20' ) end [2025-03-08 22:13:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638128', 'tblTempVendorCDR_20' ) start [2025-03-08 22:13:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638128', 'tblTempVendorCDR_20' ) end [2025-03-08 22:13:16] Production.INFO: ProcessCDR(1,14638128,1,1,2) [2025-03-08 22:13:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638128', 'tblTempUsageDetail_20' ) start [2025-03-08 22:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638128', 'tblTempUsageDetail_20' ) end [2025-03-08 22:13:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:13:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:13:20] Production.INFO: ==16606== Releasing lock... [2025-03-08 22:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:13:20] Production.INFO: 36 MB #Memory Used# [2025-03-09 03:14:01] Production.INFO: ==16666== Lock acquired, processing the job... [2025-03-09 03:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:14:01] Production.INFO: neon service started [2025-03-09 03:14:01] Production.INFO: neon service started [2025-03-09 03:14:01] Production.INFO: ==16666== Releasing lock... [2025-03-09 03:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:14:02] Production.INFO: ==16668== Lock acquired, processing the job... [2025-03-08 22:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:14:02] Production.INFO: ==16668== Releasing lock... [2025-03-08 22:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:14:02] Production.INFO: ==16670== Lock acquired, processing the job... [2025-03-09 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:14:02] Production.INFO: ==16670== Releasing lock... [2025-03-09 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:14:03] Production.INFO: ==16676== Lock acquired, processing the job... [2025-03-08 22:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:14:03] Production.INFO: ==16682== Lock acquired, processing the job... [2025-03-08 22:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:14:03] Production.INFO: count ==13 [2025-03-08 22:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22: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-08 22:14:03] Production.INFO: count ==21 [2025-03-08 22:14:03] Production.INFO: ==16672== Lock acquired, processing the job... [2025-03-08 22:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638129') start [2025-03-08 22:14:03] Production.INFO: ==16674== Lock acquired, processing the job... [2025-03-08 22:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:14:03] Production.INFO: ==16678== Lock acquired, processing the job... [2025-03-08 22:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638129') end [2025-03-08 22:14:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:14:03] Production.INFO: 1 [2025-03-08 22:14:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:14:03] Production.INFO: ==16682== Releasing lock... [2025-03-08 22:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:14:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:14:03] Production.INFO: ==16680== Lock acquired, processing the job... [2025-03-08 22:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:14:04] Production.INFO: Account Balance Start. [2025-03-08 22:14:04] Production.INFO: CreateAllLog Start [2025-03-08 22:14:04] Production.INFO: 117 [2025-03-08 22:14:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:14:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:14:04] Production.INFO: ==16674== Releasing lock... [2025-03-08 22:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:14:04] Production.INFO: Total Charge 0 [2025-03-08 22:14:04] Production.ERROR: done [2025-03-08 22:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:14:04] Production.INFO: CreateAllLog End [2025-03-08 22:14:04] Production.ERROR: done [2025-03-08 22:14:04] Production.INFO: Account Balance End. [2025-03-08 22:14:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:14:04] Production.INFO: ==16678== Releasing lock... [2025-03-08 22:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:14:05 [end_date_ymd] => 2025-03-08 22:14:05 [RateCDR] => 1 ) [2025-03-08 22:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:14:05' and `end` < '2025-03-08 22:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:14:12] Production.ERROR: CronJobId end10 [2025-03-08 22:14:12] Production.INFO: ==16676== Releasing lock... [2025-03-08 22:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:14:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:14:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:14:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:14:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:14:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:14:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:14:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:14:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:14:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:14:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:14:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:14:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:14:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:14:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:14:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:14:14] Production.INFO: call_cost start [2025-03-08 22:14:14] Production.INFO: call_cost end [2025-03-08 22:14:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:14:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:14:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:14:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:14:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:14:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:14:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:14:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:14:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:14:15] Production.INFO: ==16672== Releasing lock... [2025-03-08 22:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:14:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:14:17] Production.INFO: count ==1084 [2025-03-08 22:14:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:14:05 - End Time 2025-03-08 22:14:05 [2025-03-08 22:14:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638133', 'tblTempUsageDetail_20' ) start [2025-03-08 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638133', 'tblTempUsageDetail_20' ) end [2025-03-08 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638133', 'tblTempVendorCDR_20' ) start [2025-03-08 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638133', 'tblTempVendorCDR_20' ) end [2025-03-08 22:14:18] Production.INFO: ProcessCDR(1,14638133,1,1,2) [2025-03-08 22:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638133', 'tblTempUsageDetail_20' ) start [2025-03-08 22:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638133', 'tblTempUsageDetail_20' ) end [2025-03-08 22:14:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:14:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:14:22] Production.INFO: ==16680== Releasing lock... [2025-03-08 22:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:14:22] Production.INFO: 36 MB #Memory Used# [2025-03-09 03:15:02] Production.INFO: ==16740== Lock acquired, processing the job... [2025-03-09 03:15:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:15:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:15:02] Production.INFO: neon service started [2025-03-09 03:15:02] Production.INFO: neon service started [2025-03-09 03:15:02] Production.INFO: ==16740== Releasing lock... [2025-03-09 03:15:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:15:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:15:02] Production.INFO: ==16743== Lock acquired, processing the job... [2025-03-08 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:15:02] Production.INFO: ==16745== Lock acquired, processing the job... [2025-03-09 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:15:03] Production.INFO: ==16745== Releasing lock... [2025-03-09 03:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:15:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:15:03] Production.INFO: ==16743== Releasing lock... [2025-03-08 22:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:15:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:15:04] Production.INFO: ==16749== Lock acquired, processing the job... [2025-03-08 22:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:15:04] Production.INFO: ==16751== Lock acquired, processing the job... [2025-03-08 22:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:15:04] Production.INFO: ==16753== Lock acquired, processing the job... [2025-03-08 22:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:15:04] Production.INFO: ==16747== Lock acquired, processing the job... [2025-03-08 22:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:15:04] Production.INFO: Account Balance Start. [2025-03-08 22:15:04] Production.INFO: CreateAllLog Start [2025-03-08 22:15:04] Production.INFO: 117 [2025-03-08 22:15:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:15:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:15:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:15:04] Production.INFO: Total Charge 0 [2025-03-08 22:15:04] Production.INFO: CreateAllLog End [2025-03-08 22:15:04] Production.INFO: ==16755== Lock acquired, processing the job... [2025-03-08 22:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:15:04] Production.INFO: ==16757== Lock acquired, processing the job... [2025-03-08 22:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:15:04] Production.INFO: ==16749== Releasing lock... [2025-03-08 22:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:15:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22: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-08 22:15:04] Production.INFO: count ==13 [2025-03-08 22: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-08 22:15:04] Production.INFO: count ==21 [2025-03-08 22:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638137') start [2025-03-08 22:15:04] Production.INFO: Account Balance End. [2025-03-08 22:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638137') end [2025-03-08 22:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:15:04] Production.INFO: 1 [2025-03-08 22:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:15:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:15:04] Production.INFO: ==16753== Releasing lock... [2025-03-08 22:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:15:04] Production.INFO: ==16757== Releasing lock... [2025-03-08 22:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:15:04] Production.ERROR: done [2025-03-08 22:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:15:05] Production.ERROR: done [2025-03-08 22:15:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:15:06 [end_date_ymd] => 2025-03-08 22:15:06 [RateCDR] => 1 ) [2025-03-08 22: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-08 19:15:06' and `end` < '2025-03-08 22: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-08 22:15:12] Production.ERROR: CronJobId end10 [2025-03-08 22:15:12] Production.INFO: ==16751== Releasing lock... [2025-03-08 22:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:15:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:15:15] Production.INFO: call_cost start [2025-03-08 22:15:15] Production.INFO: call_cost end [2025-03-08 22:15:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:15:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:15:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:15:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:15:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:15:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:15:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:15:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:15:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:15:16] Production.INFO: ==16747== Releasing lock... [2025-03-08 22:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:15:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:15:18] Production.INFO: count ==1085 [2025-03-08 22:15:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:15:06 - End Time 2025-03-08 22:15:06 [2025-03-08 22:15:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638138', 'tblTempUsageDetail_20' ) start [2025-03-08 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638138', 'tblTempUsageDetail_20' ) end [2025-03-08 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638138', 'tblTempVendorCDR_20' ) start [2025-03-08 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638138', 'tblTempVendorCDR_20' ) end [2025-03-08 22:15:18] Production.INFO: ProcessCDR(1,14638138,1,1,2) [2025-03-08 22:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638138', 'tblTempUsageDetail_20' ) start [2025-03-08 22:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638138', 'tblTempUsageDetail_20' ) end [2025-03-08 22:15:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:15:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:15:21] Production.INFO: ==16755== Releasing lock... [2025-03-08 22:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:15:21] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 03:16:01] Production.INFO: ==16811== Lock acquired, processing the job... [2025-03-09 03:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:16:01] Production.INFO: neon service started [2025-03-09 03:16:01] Production.INFO: neon service started [2025-03-09 03:16:01] Production.INFO: ==16811== Releasing lock... [2025-03-09 03:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:16:02] Production.INFO: ==16813== Lock acquired, processing the job... [2025-03-08 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:16:02] Production.INFO: ==16815== Lock acquired, processing the job... [2025-03-09 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 22:16:02] Production.INFO: ==16813== Releasing lock... [2025-03-08 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:16:02] Production.INFO: ==16815== Releasing lock... [2025-03-09 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:16:03] Production.INFO: ==16820== Lock acquired, processing the job... [2025-03-08 22:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:16:03] Production.INFO: ==16828== Lock acquired, processing the job... [2025-03-08 22:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:16:03] Production.INFO: ==16826== Lock acquired, processing the job... [2025-03-08 22:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:16:03] Production.INFO: ==16818== Lock acquired, processing the job... [2025-03-08 22:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:16:03] Production.INFO: ==16822== Lock acquired, processing the job... [2025-03-08 22:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:16:03] Production.INFO: count ==13 [2025-03-08 22:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:16:03] Production.INFO: count ==21 [2025-03-08 22:16:03] Production.INFO: ==16824== Lock acquired, processing the job... [2025-03-08 22:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638140') start [2025-03-08 22:16:03] Production.INFO: ==16820== Releasing lock... [2025-03-08 22:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:16:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638140') end [2025-03-08 22:16:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:16:03] Production.INFO: 1 [2025-03-08 22:16:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:16:03] Production.INFO: ==16828== Releasing lock... [2025-03-08 22:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:16:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:16:03] Production.ERROR: done [2025-03-08 22:16:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:16:03] Production.INFO: Account Balance Start. [2025-03-08 22:16:03] Production.INFO: CreateAllLog Start [2025-03-08 22:16:03] Production.INFO: 117 [2025-03-08 22:16:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:16:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:16:04] Production.INFO: Total Charge 0 [2025-03-08 22:16:04] Production.INFO: CreateAllLog End [2025-03-08 22:16:04] Production.ERROR: done [2025-03-08 22:16:04] Production.INFO: Account Balance End. [2025-03-08 22:16:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:16:04] Production.INFO: ==16824== Releasing lock... [2025-03-08 22:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:16:05 [end_date_ymd] => 2025-03-08 22:16:05 [RateCDR] => 1 ) [2025-03-08 22:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:16:05' and `end` < '2025-03-08 22:16:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:16:11] Production.ERROR: CronJobId end10 [2025-03-08 22:16:11] Production.INFO: ==16822== Releasing lock... [2025-03-08 22:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:16:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:16:14] Production.INFO: call_cost start [2025-03-08 22:16:14] Production.INFO: call_cost end [2025-03-08 22:16:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:16:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:16:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:16:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:16:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:16:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:16:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:16:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:16:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:16:15] Production.INFO: ==16818== Releasing lock... [2025-03-08 22:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:16:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:16:17] Production.INFO: count ==1124 [2025-03-08 22:16:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:16:05 - End Time 2025-03-08 22:16:05 [2025-03-08 22:16:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638143', 'tblTempUsageDetail_20' ) start [2025-03-08 22:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638143', 'tblTempUsageDetail_20' ) end [2025-03-08 22:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638143', 'tblTempVendorCDR_20' ) start [2025-03-08 22:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638143', 'tblTempVendorCDR_20' ) end [2025-03-08 22:16:17] Production.INFO: ProcessCDR(1,14638143,1,1,2) [2025-03-08 22:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638143', 'tblTempUsageDetail_20' ) start [2025-03-08 22:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638143', 'tblTempUsageDetail_20' ) end [2025-03-08 22:16:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:16:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:16:22] Production.INFO: ==16826== Releasing lock... [2025-03-08 22:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:16:22] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 03:17:02] Production.INFO: ==16898== Lock acquired, processing the job... [2025-03-09 03:17:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:17:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:17:02] Production.INFO: neon service started [2025-03-09 03:17:02] Production.INFO: neon service started [2025-03-09 03:17:02] Production.INFO: ==16898== Releasing lock... [2025-03-09 03:17:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:17:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 22:17:02] Production.INFO: ==16900== Lock acquired, processing the job... [2025-03-08 22:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:17:02] Production.INFO: ==16900== Releasing lock... [2025-03-08 22:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:17:03] Production.INFO: ==16902== Lock acquired, processing the job... [2025-03-09 03:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:17:03] Production.INFO: ==16902== Releasing lock... [2025-03-09 03:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:17:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:17:03] Production.INFO: ==16911== Lock acquired, processing the job... [2025-03-08 22:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:17:03] Production.INFO: Account Balance Start. [2025-03-08 22:17:03] Production.INFO: CreateAllLog Start [2025-03-08 22:17:03] Production.INFO: 117 [2025-03-08 22:17:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:17:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:17:03] Production.INFO: Total Charge 0 [2025-03-08 22:17:03] Production.INFO: CreateAllLog End [2025-03-08 22:17:03] Production.INFO: ==16915== Lock acquired, processing the job... [2025-03-08 22:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:17:03] Production.INFO: Account Balance End. [2025-03-08 22:17:03] Production.ERROR: CronJobId end 12 [2025-03-08 22:17:03] Production.INFO: ==16911== Releasing lock... [2025-03-08 22:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:17:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:17:03] Production.INFO: ==16905== Lock acquired, processing the job... [2025-03-08 22:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:17:04] Production.INFO: ==16907== Lock acquired, processing the job... [2025-03-08 22:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:17:04] Production.INFO: ==16909== Lock acquired, processing the job... [2025-03-08 22:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:17:04] Production.INFO: count ==13 [2025-03-08 22:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:17:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:17:04] Production.INFO: count ==21 [2025-03-08 22:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638145') start [2025-03-08 22:17:04] Production.INFO: ==16913== Lock acquired, processing the job... [2025-03-08 22:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638145') end [2025-03-08 22:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:17:04] Production.INFO: 1 [2025-03-08 22:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:17:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:17:04] Production.INFO: ==16915== Releasing lock... [2025-03-08 22:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:17:04] Production.INFO: ==16907== Releasing lock... [2025-03-08 22:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:17:04] Production.ERROR: done [2025-03-08 22:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:17:04] Production.ERROR: done [2025-03-08 22:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:17:05 [end_date_ymd] => 2025-03-08 22:17:05 [RateCDR] => 1 ) [2025-03-08 22:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:17:05' and `end` < '2025-03-08 22:17:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:17:17] Production.ERROR: CronJobId end10 [2025-03-08 22:17:17] Production.INFO: ==16909== Releasing lock... [2025-03-08 22:17:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:17:17] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:17:17] Production.INFO: count ==1164 [2025-03-08 22:17:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:17:17] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:17:17] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:17:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:17:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:17:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:17:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:17:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:17:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:17:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:17:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:17:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:17:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:17:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:17:18] Production.INFO: call_cost start [2025-03-08 22:17:18] Production.INFO: call_cost end [2025-03-08 22:17:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:17:05 - End Time 2025-03-08 22:17:05 [2025-03-08 22:17:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638148', 'tblTempUsageDetail_20' ) start [2025-03-08 22:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638148', 'tblTempUsageDetail_20' ) end [2025-03-08 22:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638148', 'tblTempVendorCDR_20' ) start [2025-03-08 22:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638148', 'tblTempVendorCDR_20' ) end [2025-03-08 22:17:18] Production.INFO: ProcessCDR(1,14638148,1,1,2) [2025-03-08 22:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:17:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:17:19] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:17:19] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:17:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:17:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:17:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:17:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:17:19] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:17:19] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:17:19] Production.INFO: ==16905== Releasing lock... [2025-03-08 22:17:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:17:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638148', 'tblTempUsageDetail_20' ) start [2025-03-08 22:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638148', 'tblTempUsageDetail_20' ) end [2025-03-08 22:17:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:17:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:17:22] Production.INFO: ==16913== Releasing lock... [2025-03-08 22:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:17:22] Production.INFO: 37 MB #Memory Used# [2025-03-09 03:18:01] Production.INFO: ==16968== Lock acquired, processing the job... [2025-03-09 03:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:18:01] Production.INFO: neon service started [2025-03-09 03:18:01] Production.INFO: neon service started [2025-03-09 03:18:01] Production.INFO: ==16968== Releasing lock... [2025-03-09 03:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:18:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:18:01] Production.INFO: ==16972== Lock acquired, processing the job... [2025-03-09 03:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:18:02] Production.INFO: ==16972== Releasing lock... [2025-03-09 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:18:02] Production.INFO: ==16970== Lock acquired, processing the job... [2025-03-08 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:18:02] Production.INFO: ==16970== Releasing lock... [2025-03-08 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:18:03] Production.INFO: ==16981== Lock acquired, processing the job... [2025-03-08 22:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:18:03] Production.INFO: ==16985== Lock acquired, processing the job... [2025-03-08 22:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:18:03] Production.INFO: Account Balance Start. [2025-03-08 22:18:03] Production.INFO: CreateAllLog Start [2025-03-08 22:18:03] Production.INFO: 117 [2025-03-08 22:18:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:18:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:18:03] Production.INFO: Total Charge 0 [2025-03-08 22:18:03] Production.INFO: CreateAllLog End [2025-03-08 22:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:18:03] Production.INFO: ==16975== Lock acquired, processing the job... [2025-03-08 22:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:18:03] Production.INFO: count ==13 [2025-03-08 22:18:03] Production.INFO: Account Balance End. [2025-03-08 22:18:03] Production.INFO: ==16977== Lock acquired, processing the job... [2025-03-08 22:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:18:03] Production.INFO: count ==21 [2025-03-08 22:18:03] Production.INFO: ==16979== Lock acquired, processing the job... [2025-03-08 22:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638150') start [2025-03-08 22:18:03] Production.INFO: ==16983== Lock acquired, processing the job... [2025-03-08 22:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:18:03] Production.ERROR: CronJobId end 12 [2025-03-08 22:18:03] Production.INFO: ==16981== Releasing lock... [2025-03-08 22:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:18:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638150') end [2025-03-08 22:18:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:18:03] Production.INFO: 1 [2025-03-08 22:18:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:18:03] Production.INFO: ==16985== Releasing lock... [2025-03-08 22:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:18:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:18:03] Production.INFO: ==16977== Releasing lock... [2025-03-08 22:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:18:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:18:04] Production.ERROR: done [2025-03-08 22:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:18:04] Production.ERROR: done [2025-03-08 22:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:18:05 [end_date_ymd] => 2025-03-08 22:18:05 [RateCDR] => 1 ) [2025-03-08 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-08 19:18:05' and `end` < '2025-03-08 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-08 22:18:12] Production.ERROR: CronJobId end10 [2025-03-08 22:18:12] Production.INFO: ==16979== Releasing lock... [2025-03-08 22:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:18:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:18:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:18:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:18:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:18:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:18:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:18:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:18:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:18:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:18:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:18:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:18:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:18:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:18:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:18:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:18:13] Production.INFO: call_cost start [2025-03-08 22:18:13] Production.INFO: call_cost end [2025-03-08 22:18:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:18:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:18:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:18:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:18:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:18:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:18:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:18:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:18:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:18:14] Production.INFO: ==16975== Releasing lock... [2025-03-08 22:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:18:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:18:17] Production.INFO: count ==1195 [2025-03-08 22:18:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:18:05 - End Time 2025-03-08 22:18:05 [2025-03-08 22:18:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638153', 'tblTempUsageDetail_20' ) start [2025-03-08 22:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638153', 'tblTempUsageDetail_20' ) end [2025-03-08 22:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638153', 'tblTempVendorCDR_20' ) start [2025-03-08 22:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638153', 'tblTempVendorCDR_20' ) end [2025-03-08 22:18:17] Production.INFO: ProcessCDR(1,14638153,1,1,2) [2025-03-08 22:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638153', 'tblTempUsageDetail_20' ) start [2025-03-08 22:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638153', 'tblTempUsageDetail_20' ) end [2025-03-08 22:18:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:18:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:18:20] Production.INFO: ==16983== Releasing lock... [2025-03-08 22:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:18:20] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 03:19:02] Production.INFO: ==17040== Lock acquired, processing the job... [2025-03-09 03:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:19:02] Production.INFO: neon service started [2025-03-09 03:19:02] Production.INFO: neon service started [2025-03-09 03:19:02] Production.INFO: ==17040== Releasing lock... [2025-03-09 03:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:19:02] Production.INFO: ==17042== Lock acquired, processing the job... [2025-03-08 22:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:19:02] Production.INFO: ==17044== Lock acquired, processing the job... [2025-03-09 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:19:02] Production.INFO: ==17044== Releasing lock... [2025-03-09 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:19:02] Production.INFO: ==17042== Releasing lock... [2025-03-08 22:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:19:03] Production.INFO: ==17046== Lock acquired, processing the job... [2025-03-08 22:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:19:03] Production.INFO: ==17051== Lock acquired, processing the job... [2025-03-08 22:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:19:04] Production.INFO: ==17049== Lock acquired, processing the job... [2025-03-08 22:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:19:04] Production.INFO: ==17053== Lock acquired, processing the job... [2025-03-08 22:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:19:04] Production.INFO: ==17055== Lock acquired, processing the job... [2025-03-08 22:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:19:04] Production.INFO: ==17057== Lock acquired, processing the job... [2025-03-08 22:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:19:04] Production.INFO: Account Balance Start. [2025-03-08 22:19:04] Production.INFO: CreateAllLog Start [2025-03-08 22:19:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:19:04] Production.INFO: 117 [2025-03-08 22:19:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:19:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:19:04] Production.INFO: Total Charge 0 [2025-03-08 22:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:19:04] Production.INFO: CreateAllLog End [2025-03-08 22:19:04] Production.INFO: count ==13 [2025-03-08 22:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:19:04] Production.INFO: count ==21 [2025-03-08 22:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638157') start [2025-03-08 22:19:04] Production.INFO: ==17049== Releasing lock... [2025-03-08 22:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:19:04] Production.INFO: Account Balance End. [2025-03-08 22:19:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:19:04] Production.INFO: ==17053== Releasing lock... [2025-03-08 22:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:19:05] Production.ERROR: PBX CALL prc_importPBXExtension('14638157') end [2025-03-08 22:19:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:19:05] Production.INFO: 1 [2025-03-08 22:19:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:19:05] Production.ERROR: done [2025-03-08 22:19:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:19:05] Production.INFO: ==17057== Releasing lock... [2025-03-08 22:19:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:19:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:19:05] Production.ERROR: done [2025-03-08 22:19:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:19:06 [end_date_ymd] => 2025-03-08 22:19:06 [RateCDR] => 1 ) [2025-03-08 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-08 19:19:06' and `end` < '2025-03-08 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-08 22:19:14] Production.ERROR: CronJobId end10 [2025-03-08 22:19:14] Production.INFO: ==17051== Releasing lock... [2025-03-08 22:19:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:19:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:19:15] Production.INFO: call_cost start [2025-03-08 22:19:15] Production.INFO: call_cost end [2025-03-08 22:19:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:19:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:19:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:19:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:19:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:19:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:19:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:19:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:19:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:19:16] Production.INFO: ==17046== Releasing lock... [2025-03-08 22:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:19:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:19:18] Production.INFO: count ==1339 [2025-03-08 22:19:19] Production.ERROR: pbx CDR StartTime 2025-03-08 19:19:06 - End Time 2025-03-08 22:19:06 [2025-03-08 22:19:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638158', 'tblTempUsageDetail_20' ) start [2025-03-08 22:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638158', 'tblTempUsageDetail_20' ) end [2025-03-08 22:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638158', 'tblTempVendorCDR_20' ) start [2025-03-08 22:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638158', 'tblTempVendorCDR_20' ) end [2025-03-08 22:19:19] Production.INFO: ProcessCDR(1,14638158,1,1,2) [2025-03-08 22:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638158', 'tblTempUsageDetail_20' ) start [2025-03-08 22:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638158', 'tblTempUsageDetail_20' ) end [2025-03-08 22:19:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:19:24] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:19:24] Production.INFO: ==17055== Releasing lock... [2025-03-08 22:19:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:19:24] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 03:20:01] Production.INFO: ==17115== Lock acquired, processing the job... [2025-03-09 03:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:20:01] Production.INFO: neon service started [2025-03-09 03:20:01] Production.INFO: neon service started [2025-03-09 03:20:01] Production.INFO: ==17115== Releasing lock... [2025-03-09 03:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:20:02] Production.INFO: ==17117== Lock acquired, processing the job... [2025-03-08 22:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:20:02] Production.INFO: ==17117== Releasing lock... [2025-03-08 22:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:20:02] Production.INFO: ==17119== Lock acquired, processing the job... [2025-03-09 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:20:02] Production.INFO: ==17119== Releasing lock... [2025-03-09 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:20:03] Production.INFO: ==17125== Lock acquired, processing the job... [2025-03-08 22:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:20:03] Production.INFO: ==17134== Lock acquired, processing the job... [2025-03-08 22:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 22:20:03] Production.INFO: ==17121== Lock acquired, processing the job... [2025-03-08 22:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 22:20:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:20:03] Production.INFO: ==17136== Lock acquired, processing the job... [2025-03-08 22:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:20:03] Production.INFO: ==17123== Lock acquired, processing the job... [2025-03-08 22:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:20:03] Production.INFO: ==17127== Lock acquired, processing the job... [2025-03-08 22:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:20:03] Production.INFO: ==17130== Lock acquired, processing the job... [2025-03-08 22:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:20:04] Production.INFO: ==17132== Lock acquired, processing the job... [2025-03-08 22:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 22:20:04] Production.INFO: ==17125== Releasing lock... [2025-03-08 22:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 22:20:04] Production.ERROR: CronJob PID - 17123 [2025-03-08 22:20:04] Production.ERROR: CronJob Title - System Alerts [2025-03-08 22:20:04] Production.ERROR: CronJob ID - 5 [2025-03-08 22:20:04] Production.ERROR: CronJob Last Run Time 2025-03-08 22:20:00 [2025-03-08 22:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 22:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 22:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 22:20:04] Production.ERROR: CronJob PID - 17127 [2025-03-08 22:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-08 22:20:04] Production.ERROR: CronJob ID - 10 [2025-03-08 22:20:04] Production.ERROR: CronJob Last Run Time 2025-03-08 22:20:00 [2025-03-08 22:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 22:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 22:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 22:20:04] Production.ERROR: CronJob PID - 17134 [2025-03-08 22:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-08 22:20:04] Production.ERROR: CronJob ID - 17 [2025-03-08 22:20:04] Production.ERROR: CronJob Last Run Time 2025-03-08 22:20:00 [2025-03-08 22:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 22:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 22:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 22:20:04] Production.ERROR: CronJob PID - 17136 [2025-03-08 22:20:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-08 22:20:04] Production.ERROR: CronJob ID - 19 [2025-03-08 22:20:04] Production.ERROR: CronJob Last Run Time 2025-03-08 22:20:00 [2025-03-08 22:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 22:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 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-08 22:20:04] Production.INFO: Account Balance Start. [2025-03-08 22:20:04] Production.INFO: CreateAllLog Start [2025-03-08 22:20:04] Production.INFO: 117 [2025-03-08 22:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 22:20:04] Production.INFO: ==17121== Releasing lock... [2025-03-08 22:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 22:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 22:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:20:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:20:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:20:04] Production.INFO: count ==13 [2025-03-08 22:20:04] Production.ERROR: done [2025-03-08 22:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:20:04] Production.INFO: count ==21 [2025-03-08 22:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638160') start [2025-03-08 22:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 22:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638163', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 22:20:04] Production.INFO: Total Charge 0 [2025-03-08 22:20:04] Production.INFO: CreateAllLog End [2025-03-08 22:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638160') end [2025-03-08 22:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:20:04] Production.INFO: 1 [2025-03-08 22:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:20:04] Production.INFO: ==17136== Releasing lock... [2025-03-08 22:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:20:04] Production.ERROR: done [2025-03-08 22:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:20:04] Production.ERROR: done [2025-03-08 22:20:04] Production.INFO: Account Balance End. [2025-03-08 22:20:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:20:04] Production.INFO: ==17130== Releasing lock... [2025-03-08 22:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:20:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:20:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:20:05 [end_date_ymd] => 2025-03-08 22:20:05 [RateCDR] => 1 ) [2025-03-08 22:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:20:05' and `end` < '2025-03-08 22:20:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638163', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 22:20:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 22:20:08] Production.INFO: ProcessCDR(1,14638163,1,1,2) [2025-03-08 22:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14638163,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14638163,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:20:08] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:20:08] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:20:08] Production.INFO: ==17134== Releasing lock... [2025-03-08 22:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 22:20:08] Production.INFO: 26 MB #Memory Used# [2025-03-08 22:20:14] Production.ERROR: CronJobId end10 [2025-03-08 22:20:14] Production.INFO: ==17127== Releasing lock... [2025-03-08 22:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:20:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:20:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:20:16] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:20:16] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:20:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:20:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:20:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:20:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:20:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:20:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:20:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:20:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:20:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:20:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:20:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:20:16] Production.INFO: call_cost start [2025-03-08 22:20:16] Production.INFO: call_cost end [2025-03-08 22:20:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:20:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:20:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:20:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:20:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:20:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:20:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:20:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:20:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:20:17] Production.INFO: ==17123== Releasing lock... [2025-03-08 22:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:20:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:20:18] Production.INFO: count ==1341 [2025-03-08 22:20:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:20:05 - End Time 2025-03-08 22:20:05 [2025-03-08 22:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638164', 'tblTempUsageDetail_20' ) start [2025-03-08 22:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638164', 'tblTempUsageDetail_20' ) end [2025-03-08 22:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638164', 'tblTempVendorCDR_20' ) start [2025-03-08 22:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638164', 'tblTempVendorCDR_20' ) end [2025-03-08 22:20:18] Production.INFO: ProcessCDR(1,14638164,1,1,2) [2025-03-08 22:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638164', 'tblTempUsageDetail_20' ) start [2025-03-08 22:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638164', 'tblTempUsageDetail_20' ) end [2025-03-08 22:20:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:20:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:20:21] Production.INFO: ==17132== Releasing lock... [2025-03-08 22:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:20:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 03:21:02] Production.INFO: ==17192== Lock acquired, processing the job... [2025-03-09 03:21:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:21:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:21:02] Production.INFO: neon service started [2025-03-09 03:21:02] Production.INFO: neon service started [2025-03-09 03:21:02] Production.INFO: ==17192== Releasing lock... [2025-03-09 03:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:21:02] Production.INFO: ==17196== Lock acquired, processing the job... [2025-03-09 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:21:02] Production.INFO: ==17196== Releasing lock... [2025-03-09 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:21:02] Production.INFO: ==17194== Lock acquired, processing the job... [2025-03-08 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:21:02] Production.INFO: ==17194== Releasing lock... [2025-03-08 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:21:03] Production.INFO: ==17209== Lock acquired, processing the job... [2025-03-08 22:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:21:03] Production.INFO: ==17207== Lock acquired, processing the job... [2025-03-08 22:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:21:03] Production.INFO: ==17198== Lock acquired, processing the job... [2025-03-08 22:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:21:03] Production.INFO: count ==13 [2025-03-08 22:21:03] Production.INFO: ==17200== Lock acquired, processing the job... [2025-03-08 22:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:21:04] Production.INFO: count ==21 [2025-03-08 22:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638165') start [2025-03-08 22:21:04] Production.INFO: ==17202== Lock acquired, processing the job... [2025-03-08 22:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:21:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:21:04] Production.INFO: ==17205== Lock acquired, processing the job... [2025-03-08 22:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:21:04] Production.INFO: Account Balance Start. [2025-03-08 22:21:04] Production.INFO: CreateAllLog Start [2025-03-08 22:21:04] Production.INFO: 117 [2025-03-08 22:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638165') end [2025-03-08 22:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:21:04] Production.INFO: 1 [2025-03-08 22:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:21:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:21:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:21:04] Production.INFO: Total Charge 0 [2025-03-08 22:21:04] Production.INFO: CreateAllLog End [2025-03-08 22:21:04] Production.INFO: ==17209== Releasing lock... [2025-03-08 22:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:21:04] Production.ERROR: done [2025-03-08 22:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:21:04] Production.INFO: Account Balance End. [2025-03-08 22:21:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:21:04] Production.INFO: ==17205== Releasing lock... [2025-03-08 22:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:21:04] Production.ERROR: done [2025-03-08 22:21:04] Production.INFO: ==17200== Releasing lock... [2025-03-08 22:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:21:05 [end_date_ymd] => 2025-03-08 22:21:05 [RateCDR] => 1 ) [2025-03-08 22:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:21:05' and `end` < '2025-03-08 22:21:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:21:12] Production.ERROR: CronJobId end10 [2025-03-08 22:21:12] Production.INFO: ==17202== Releasing lock... [2025-03-08 22:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:21:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:21:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:21:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:21:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:21:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:21:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:21:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:21:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:21:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:21:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:21:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:21:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:21:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:21:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:21:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:21:14] Production.INFO: call_cost start [2025-03-08 22:21:14] Production.INFO: call_cost end [2025-03-08 22:21:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:21:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:21:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:21:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:21:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:21:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:21:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:21:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:21:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:21:15] Production.INFO: ==17198== Releasing lock... [2025-03-08 22:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:21:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:21:17] Production.INFO: count ==1334 [2025-03-08 22:21:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:21:05 - End Time 2025-03-08 22:21:05 [2025-03-08 22:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638169', 'tblTempUsageDetail_20' ) start [2025-03-08 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638169', 'tblTempUsageDetail_20' ) end [2025-03-08 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638169', 'tblTempVendorCDR_20' ) start [2025-03-08 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638169', 'tblTempVendorCDR_20' ) end [2025-03-08 22:21:18] Production.INFO: ProcessCDR(1,14638169,1,1,2) [2025-03-08 22:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638169', 'tblTempUsageDetail_20' ) start [2025-03-08 22:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638169', 'tblTempUsageDetail_20' ) end [2025-03-08 22:21:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:21:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:21:21] Production.INFO: ==17207== Releasing lock... [2025-03-08 22:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:21:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 03:22:01] Production.INFO: ==17263== Lock acquired, processing the job... [2025-03-09 03:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:22:01] Production.INFO: neon service started [2025-03-09 03:22:01] Production.INFO: neon service started [2025-03-09 03:22:01] Production.INFO: ==17263== Releasing lock... [2025-03-09 03:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:22:01] Production.INFO: ==17267== Lock acquired, processing the job... [2025-03-09 03:22:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:22:01] Production.INFO: ==17267== Releasing lock... [2025-03-09 03:22:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:22:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:22:02] Production.INFO: ==17265== Lock acquired, processing the job... [2025-03-08 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:22:02] Production.INFO: ==17265== Releasing lock... [2025-03-08 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:22:03] Production.INFO: ==17271== Lock acquired, processing the job... [2025-03-08 22:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:22:03] Production.INFO: ==17269== Lock acquired, processing the job... [2025-03-08 22:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:22:03] Production.INFO: ==17273== Lock acquired, processing the job... [2025-03-08 22:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:22:03] Production.INFO: ==17275== Lock acquired, processing the job... [2025-03-08 22:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:22:03] Production.INFO: ==17278== Lock acquired, processing the job... [2025-03-08 22:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:22:03] Production.INFO: Account Balance Start. [2025-03-08 22:22:03] Production.INFO: CreateAllLog Start [2025-03-08 22:22:03] Production.INFO: 117 [2025-03-08 22:22:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:22:03] Production.INFO: ==17280== Lock acquired, processing the job... [2025-03-08 22:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:22:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:22:03] Production.INFO: Total Charge 0 [2025-03-08 22:22:03] Production.INFO: CreateAllLog End [2025-03-08 22:22:03] Production.INFO: ==17271== Releasing lock... [2025-03-08 22:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:22:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:22:03] Production.INFO: count ==13 [2025-03-08 22:22:04] Production.ERROR: done [2025-03-08 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-08 22:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:22:04] Production.INFO: count ==21 [2025-03-08 22:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638173') start [2025-03-08 22:22:04] Production.INFO: Account Balance End. [2025-03-08 22:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638173') end [2025-03-08 22:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:22:04] Production.INFO: 1 [2025-03-08 22:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:22:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:22:04] Production.INFO: ==17275== Releasing lock... [2025-03-08 22:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:22:04] Production.INFO: ==17280== Releasing lock... [2025-03-08 22:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:22:04] Production.ERROR: done [2025-03-08 22:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:22:05 [end_date_ymd] => 2025-03-08 22:22:05 [RateCDR] => 1 ) [2025-03-08 22:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:22:05' and `end` < '2025-03-08 22:22:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:22:13] Production.ERROR: CronJobId end10 [2025-03-08 22:22:13] Production.INFO: ==17273== Releasing lock... [2025-03-08 22:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:22:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:22:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:22:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:22:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:22:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:22:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:22:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:22:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:22:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:22:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:22:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:22:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:22:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:22:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:22:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:22:16] Production.INFO: call_cost start [2025-03-08 22:22:16] Production.INFO: call_cost end [2025-03-08 22:22:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:22:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:22:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:22:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:22:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:22:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:22:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:22:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:22:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:22:17] Production.INFO: ==17269== Releasing lock... [2025-03-08 22:22:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:22:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:22:17] Production.INFO: count ==1336 [2025-03-08 22:22:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:22:05 - End Time 2025-03-08 22:22:05 [2025-03-08 22:22:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638174', 'tblTempUsageDetail_20' ) start [2025-03-08 22:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638174', 'tblTempUsageDetail_20' ) end [2025-03-08 22:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638174', 'tblTempVendorCDR_20' ) start [2025-03-08 22:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638174', 'tblTempVendorCDR_20' ) end [2025-03-08 22:22:17] Production.INFO: ProcessCDR(1,14638174,1,1,2) [2025-03-08 22:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638174', 'tblTempUsageDetail_20' ) start [2025-03-08 22:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638174', 'tblTempUsageDetail_20' ) end [2025-03-08 22:22:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:22:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:22:22] Production.INFO: ==17278== Releasing lock... [2025-03-08 22:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:22:22] Production.INFO: 38 MB #Memory Used# [2025-03-09 03:23:01] Production.INFO: ==17377== Lock acquired, processing the job... [2025-03-09 03:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:23:01] Production.INFO: neon service started [2025-03-09 03:23:01] Production.INFO: neon service started [2025-03-09 03:23:01] Production.INFO: ==17377== Releasing lock... [2025-03-09 03:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:23:02] Production.INFO: ==17379== Lock acquired, processing the job... [2025-03-08 22:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:23:02] Production.INFO: ==17379== Releasing lock... [2025-03-08 22:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:23:02] Production.INFO: ==17381== Lock acquired, processing the job... [2025-03-09 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:23:02] Production.INFO: ==17381== Releasing lock... [2025-03-09 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:23:03] Production.INFO: ==17383== Lock acquired, processing the job... [2025-03-08 22:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:23:03] Production.INFO: ==17391== Lock acquired, processing the job... [2025-03-08 22:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:23:03] Production.INFO: ==17387== Lock acquired, processing the job... [2025-03-08 22:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:23:03] Production.INFO: ==17385== Lock acquired, processing the job... [2025-03-08 22:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:23:03] Production.INFO: ==17393== Lock acquired, processing the job... [2025-03-08 22:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:23:03] Production.INFO: ==17389== Lock acquired, processing the job... [2025-03-08 22:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:23:03] Production.INFO: Account Balance Start. [2025-03-08 22:23:03] Production.INFO: CreateAllLog Start [2025-03-08 22:23:03] Production.INFO: 117 [2025-03-08 22:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:23:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:23:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:23:03] Production.INFO: count ==13 [2025-03-08 22:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:23:03] Production.INFO: count ==21 [2025-03-08 22:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638176') start [2025-03-08 22:23:03] Production.INFO: Total Charge 0 [2025-03-08 22:23:03] Production.INFO: CreateAllLog End [2025-03-08 22:23:03] Production.ERROR: done [2025-03-08 22:23:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:23:03] Production.INFO: ==17385== Releasing lock... [2025-03-08 22:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:23:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638176') end [2025-03-08 22:23:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:23:03] Production.INFO: 1 [2025-03-08 22:23:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:23:04] Production.INFO: ==17393== Releasing lock... [2025-03-08 22:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:23:04] Production.INFO: Account Balance End. [2025-03-08 22:23:04] Production.ERROR: done [2025-03-08 22:23:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:23:04] Production.INFO: ==17389== Releasing lock... [2025-03-08 22:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:23:05 [end_date_ymd] => 2025-03-08 22:23:05 [RateCDR] => 1 ) [2025-03-08 22:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:23:05' and `end` < '2025-03-08 22:23:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:23:12] Production.ERROR: CronJobId end10 [2025-03-08 22:23:12] Production.INFO: ==17387== Releasing lock... [2025-03-08 22:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:23:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:23:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:23:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:23:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:23:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:23:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:23:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:23:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:23:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:23:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:23:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:23:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:23:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:23:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:23:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:23:14] Production.INFO: call_cost start [2025-03-08 22:23:14] Production.INFO: call_cost end [2025-03-08 22:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:23:15] Production.INFO: ==17383== Releasing lock... [2025-03-08 22:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:23:17] Production.INFO: count ==1340 [2025-03-08 22:23:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:23:05 - End Time 2025-03-08 22:23:05 [2025-03-08 22:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638179', 'tblTempUsageDetail_20' ) start [2025-03-08 22:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638179', 'tblTempUsageDetail_20' ) end [2025-03-08 22:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638179', 'tblTempVendorCDR_20' ) start [2025-03-08 22:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638179', 'tblTempVendorCDR_20' ) end [2025-03-08 22:23:17] Production.INFO: ProcessCDR(1,14638179,1,1,2) [2025-03-08 22:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638179', 'tblTempUsageDetail_20' ) start [2025-03-08 22:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638179', 'tblTempUsageDetail_20' ) end [2025-03-08 22:23:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:23:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:23:20] Production.INFO: ==17391== Releasing lock... [2025-03-08 22:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:23:20] Production.INFO: 38 MB #Memory Used# [2025-03-09 03:24:02] Production.INFO: ==17452== Lock acquired, processing the job... [2025-03-09 03:24:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:24:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:24:02] Production.INFO: neon service started [2025-03-09 03:24:02] Production.INFO: neon service started [2025-03-09 03:24:02] Production.INFO: ==17452== Releasing lock... [2025-03-09 03:24:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:24:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:24:02] Production.INFO: ==17454== Lock acquired, processing the job... [2025-03-08 22:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:24:02] Production.INFO: ==17456== Lock acquired, processing the job... [2025-03-09 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:24:03] Production.INFO: ==17456== Releasing lock... [2025-03-09 03:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:24:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:24:03] Production.INFO: ==17454== Releasing lock... [2025-03-08 22:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:24:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:24:04] Production.INFO: ==17461== Lock acquired, processing the job... [2025-03-08 22:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:24:04] Production.INFO: ==17465== Lock acquired, processing the job... [2025-03-08 22:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:24:04] Production.INFO: Account Balance Start. [2025-03-08 22:24:04] Production.INFO: CreateAllLog Start [2025-03-08 22:24:04] Production.INFO: 117 [2025-03-08 22:24:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:24:04] Production.INFO: ==17459== Lock acquired, processing the job... [2025-03-08 22:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:24:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:24:04] Production.INFO: Total Charge 0 [2025-03-08 22:24:04] Production.INFO: ==17463== Lock acquired, processing the job... [2025-03-08 22:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:24:04] Production.INFO: CreateAllLog End [2025-03-08 22:24:04] Production.INFO: ==17461== Releasing lock... [2025-03-08 22:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:24:04] Production.INFO: ==17467== Lock acquired, processing the job... [2025-03-08 22:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:24:04] Production.INFO: ==17469== Lock acquired, processing the job... [2025-03-08 22:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:24:04] Production.INFO: Account Balance End. [2025-03-08 22:24:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:24:04] Production.INFO: ==17465== Releasing lock... [2025-03-08 22:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:24:04] Production.INFO: count ==13 [2025-03-08 22:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:24:04] Production.ERROR: done [2025-03-08 22:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:24:04] Production.INFO: count ==21 [2025-03-08 22:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14638183') start [2025-03-08 22:24:05] Production.ERROR: done [2025-03-08 22:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14638183') end [2025-03-08 22:24:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:24:05] Production.INFO: 1 [2025-03-08 22:24:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:24:05] Production.INFO: ==17469== Releasing lock... [2025-03-08 22:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:24:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:24:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:24:06 [end_date_ymd] => 2025-03-08 22:24:06 [RateCDR] => 1 ) [2025-03-08 22:24:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:24:06' and `end` < '2025-03-08 22:24:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:24:12] Production.ERROR: CronJobId end10 [2025-03-08 22:24:12] Production.INFO: ==17463== Releasing lock... [2025-03-08 22:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:24:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:24:14] Production.INFO: call_cost start [2025-03-08 22:24:14] Production.INFO: call_cost end [2025-03-08 22:24:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:24:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:24:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:24:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:24:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:24:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:24:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:24:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:24:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:24:15] Production.INFO: ==17459== Releasing lock... [2025-03-08 22:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:24:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:24:18] Production.INFO: count ==1340 [2025-03-08 22:24:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:24:06 - End Time 2025-03-08 22:24:06 [2025-03-08 22:24:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638184', 'tblTempUsageDetail_20' ) start [2025-03-08 22:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638184', 'tblTempUsageDetail_20' ) end [2025-03-08 22:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638184', 'tblTempVendorCDR_20' ) start [2025-03-08 22:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638184', 'tblTempVendorCDR_20' ) end [2025-03-08 22:24:18] Production.INFO: ProcessCDR(1,14638184,1,1,2) [2025-03-08 22:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638184', 'tblTempUsageDetail_20' ) start [2025-03-08 22:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638184', 'tblTempUsageDetail_20' ) end [2025-03-08 22:24:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:24:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:24:22] Production.INFO: ==17467== Releasing lock... [2025-03-08 22:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:24:22] Production.INFO: 38 MB #Memory Used# [2025-03-09 03:25:02] Production.INFO: ==17527== Lock acquired, processing the job... [2025-03-09 03:25:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:25:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:25:02] Production.INFO: neon service started [2025-03-09 03:25:02] Production.INFO: neon service started [2025-03-09 03:25:02] Production.INFO: ==17527== Releasing lock... [2025-03-09 03:25:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:25:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:25:02] Production.INFO: ==17530== Lock acquired, processing the job... [2025-03-08 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:25:02] Production.INFO: ==17532== Lock acquired, processing the job... [2025-03-09 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:25:02] Production.INFO: ==17532== Releasing lock... [2025-03-09 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:25:02] Production.INFO: ==17530== Releasing lock... [2025-03-08 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:25:03] Production.INFO: ==17534== Lock acquired, processing the job... [2025-03-08 22:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:25:03] Production.INFO: ==17536== Lock acquired, processing the job... [2025-03-08 22:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:25:03] Production.INFO: ==17538== Lock acquired, processing the job... [2025-03-08 22:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:25:04] Production.INFO: ==17542== Lock acquired, processing the job... [2025-03-08 22:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:25:04] Production.INFO: ==17540== Lock acquired, processing the job... [2025-03-08 22:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:25:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:25:04] Production.INFO: ==17545== Lock acquired, processing the job... [2025-03-08 22:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:25:04] Production.INFO: Account Balance Start. [2025-03-08 22:25:04] Production.INFO: CreateAllLog Start [2025-03-08 22:25:04] Production.INFO: 117 [2025-03-08 22:25:04] Production.INFO: Date 2025-03-08 [2025-03-08 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-08 22:25:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:25:04] Production.INFO: count ==13 [2025-03-08 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-08 22:25:04] Production.INFO: count ==21 [2025-03-08 22:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638188') start [2025-03-08 22:25:04] Production.INFO: Total Charge 0 [2025-03-08 22:25:04] Production.INFO: CreateAllLog End [2025-03-08 22:25:04] Production.INFO: ==17536== Releasing lock... [2025-03-08 22:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:25:04] Production.ERROR: done [2025-03-08 22:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638188') end [2025-03-08 22:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:25:04] Production.INFO: 1 [2025-03-08 22:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:25:04] Production.INFO: ==17545== Releasing lock... [2025-03-08 22:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:25:04] Production.ERROR: done [2025-03-08 22:25:04] Production.INFO: Account Balance End. [2025-03-08 22:25:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:25:04] Production.INFO: ==17540== Releasing lock... [2025-03-08 22:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:25:05 [end_date_ymd] => 2025-03-08 22:25:05 [RateCDR] => 1 ) [2025-03-08 22:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:25:05' and `end` < '2025-03-08 22:25:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:25:12] Production.ERROR: CronJobId end10 [2025-03-08 22:25:12] Production.INFO: ==17538== Releasing lock... [2025-03-08 22:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:25:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:25:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:25:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:25:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:25:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:25:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:25:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:25:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:25:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:25:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:25:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:25:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:25:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:25:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:25:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:25:14] Production.INFO: call_cost start [2025-03-08 22:25:14] Production.INFO: call_cost end [2025-03-08 22:25:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:25:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:25:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:25:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:25:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:25:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:25:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:25:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:25:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:25:15] Production.INFO: ==17534== Releasing lock... [2025-03-08 22:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:25:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:25:17] Production.INFO: count ==1338 [2025-03-08 22:25:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:25:05 - End Time 2025-03-08 22:25:05 [2025-03-08 22:25:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638189', 'tblTempUsageDetail_20' ) start [2025-03-08 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638189', 'tblTempUsageDetail_20' ) end [2025-03-08 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638189', 'tblTempVendorCDR_20' ) start [2025-03-08 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638189', 'tblTempVendorCDR_20' ) end [2025-03-08 22:25:18] Production.INFO: ProcessCDR(1,14638189,1,1,2) [2025-03-08 22:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638189', 'tblTempUsageDetail_20' ) start [2025-03-08 22:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638189', 'tblTempUsageDetail_20' ) end [2025-03-08 22:25:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:25:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:25:21] Production.INFO: ==17542== Releasing lock... [2025-03-08 22:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:25:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 03:26:01] Production.INFO: ==17599== Lock acquired, processing the job... [2025-03-09 03:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:26:01] Production.INFO: neon service started [2025-03-09 03:26:01] Production.INFO: neon service started [2025-03-09 03:26:01] Production.INFO: ==17599== Releasing lock... [2025-03-09 03:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:26:01] Production.INFO: ==17601== Lock acquired, processing the job... [2025-03-08 22:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:26:02] Production.INFO: ==17601== Releasing lock... [2025-03-08 22:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:26:02] Production.INFO: ==17603== Lock acquired, processing the job... [2025-03-09 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:26:02] Production.INFO: ==17603== Releasing lock... [2025-03-09 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:26:03] Production.INFO: ==17611== Lock acquired, processing the job... [2025-03-08 22:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:26:03] Production.INFO: Account Balance Start. [2025-03-08 22:26:03] Production.INFO: CreateAllLog Start [2025-03-08 22:26:03] Production.INFO: 117 [2025-03-08 22:26:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:26:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:26:03] Production.INFO: Total Charge 0 [2025-03-08 22:26:03] Production.INFO: CreateAllLog End [2025-03-08 22:26:03] Production.INFO: ==17613== Lock acquired, processing the job... [2025-03-08 22:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:26:03] Production.INFO: ==17605== Lock acquired, processing the job... [2025-03-08 22:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:26:03] Production.INFO: Account Balance End. [2025-03-08 22:26:03] Production.INFO: ==17607== Lock acquired, processing the job... [2025-03-08 22:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:26:03] Production.ERROR: CronJobId end 12 [2025-03-08 22:26:03] Production.INFO: ==17611== Releasing lock... [2025-03-08 22:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:26:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:26:03] Production.INFO: ==17609== Lock acquired, processing the job... [2025-03-08 22:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:26:03] Production.INFO: ==17615== Lock acquired, processing the job... [2025-03-08 22:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:26:03] Production.ERROR: done [2025-03-08 22:26:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:26:03] Production.INFO: count ==13 [2025-03-08 22:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:26:03] Production.INFO: count ==21 [2025-03-08 22:26:03] Production.ERROR: done [2025-03-08 22:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638193') start [2025-03-08 22:26:03] Production.INFO: ==17607== Releasing lock... [2025-03-08 22:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:26:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638193') end [2025-03-08 22:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:26:04] Production.INFO: 1 [2025-03-08 22:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:26:04] Production.INFO: ==17615== Releasing lock... [2025-03-08 22:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:26:04 [end_date_ymd] => 2025-03-08 22:26:04 [RateCDR] => 1 ) [2025-03-08 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-08 19:26:04' and `end` < '2025-03-08 22:26:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:26:11] Production.ERROR: CronJobId end10 [2025-03-08 22:26:11] Production.INFO: ==17609== Releasing lock... [2025-03-08 22:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:26:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:26:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:26:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:26:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:26:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:26:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:26:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:26:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:26:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:26:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:26:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:26:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:26:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:26:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:26:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:26:13] Production.INFO: call_cost start [2025-03-08 22:26:13] Production.INFO: call_cost end [2025-03-08 22:26:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:26:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:26:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:26:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:26:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:26:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:26:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:26:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:26:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:26:14] Production.INFO: ==17605== Releasing lock... [2025-03-08 22:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:26:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:26:17] Production.INFO: count ==1343 [2025-03-08 22:26:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:26:04 - End Time 2025-03-08 22:26:04 [2025-03-08 22:26:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638194', 'tblTempUsageDetail_20' ) start [2025-03-08 22:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638194', 'tblTempUsageDetail_20' ) end [2025-03-08 22:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638194', 'tblTempVendorCDR_20' ) start [2025-03-08 22:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638194', 'tblTempVendorCDR_20' ) end [2025-03-08 22:26:17] Production.INFO: ProcessCDR(1,14638194,1,1,2) [2025-03-08 22:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638194', 'tblTempUsageDetail_20' ) start [2025-03-08 22:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638194', 'tblTempUsageDetail_20' ) end [2025-03-08 22:26:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:26:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:26:20] Production.INFO: ==17613== Releasing lock... [2025-03-08 22:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:26:20] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 03:27:01] Production.INFO: ==17669== Lock acquired, processing the job... [2025-03-09 03:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:27:01] Production.INFO: neon service started [2025-03-09 03:27:01] Production.INFO: neon service started [2025-03-09 03:27:01] Production.INFO: ==17669== Releasing lock... [2025-03-09 03:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:27:02] Production.INFO: ==17673== Lock acquired, processing the job... [2025-03-09 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:27:02] Production.INFO: ==17673== Releasing lock... [2025-03-09 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:27:02] Production.INFO: ==17671== Lock acquired, processing the job... [2025-03-08 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:27:02] Production.INFO: ==17671== Releasing lock... [2025-03-08 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:27:03] Production.INFO: ==17684== Lock acquired, processing the job... [2025-03-08 22:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:27:03] Production.INFO: ==17688== Lock acquired, processing the job... [2025-03-08 22:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:27:03] Production.INFO: Account Balance Start. [2025-03-08 22:27:03] Production.INFO: CreateAllLog Start [2025-03-08 22:27:03] Production.INFO: 117 [2025-03-08 22:27:03] Production.INFO: ==17678== Lock acquired, processing the job... [2025-03-08 22:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:27:03] Production.INFO: count ==13 [2025-03-08 22:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:27:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:27:03] Production.INFO: count ==21 [2025-03-08 22:27:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638196') start [2025-03-08 22:27:03] Production.INFO: ==17680== Lock acquired, processing the job... [2025-03-08 22:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:27:03] Production.INFO: Total Charge 0 [2025-03-08 22:27:03] Production.INFO: ==17682== Lock acquired, processing the job... [2025-03-08 22:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:27:03] Production.INFO: CreateAllLog End [2025-03-08 22:27:03] Production.INFO: ==17686== Lock acquired, processing the job... [2025-03-08 22:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638196') end [2025-03-08 22:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:27:04] Production.INFO: 1 [2025-03-08 22:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:27:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:27:04] Production.INFO: ==17688== Releasing lock... [2025-03-08 22:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:27:04] Production.INFO: Account Balance End. [2025-03-08 22:27:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:27:04] Production.INFO: ==17684== Releasing lock... [2025-03-08 22:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:27:04] Production.ERROR: done [2025-03-08 22:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:27:04] Production.INFO: ==17680== Releasing lock... [2025-03-08 22:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:27:04] Production.ERROR: done [2025-03-08 22:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:27:05 [end_date_ymd] => 2025-03-08 22:27:05 [RateCDR] => 1 ) [2025-03-08 22:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:27:05' and `end` < '2025-03-08 22:27:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:27:11] Production.ERROR: CronJobId end10 [2025-03-08 22:27:11] Production.INFO: ==17682== Releasing lock... [2025-03-08 22:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:27:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:27:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:27:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:27:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:27:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:27:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:27:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:27:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:27:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:27:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:27:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:27:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:27:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:27:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:27:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:27:14] Production.INFO: call_cost start [2025-03-08 22:27:14] Production.INFO: call_cost end [2025-03-08 22:27:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:27:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:27:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:27:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:27:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:27:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:27:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:27:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:27:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:27:15] Production.INFO: ==17678== Releasing lock... [2025-03-08 22:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:27:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:27:17] Production.INFO: count ==1344 [2025-03-08 22:27:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:27:05 - End Time 2025-03-08 22:27:05 [2025-03-08 22:27:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638199', 'tblTempUsageDetail_20' ) start [2025-03-08 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638199', 'tblTempUsageDetail_20' ) end [2025-03-08 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638199', 'tblTempVendorCDR_20' ) start [2025-03-08 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638199', 'tblTempVendorCDR_20' ) end [2025-03-08 22:27:18] Production.INFO: ProcessCDR(1,14638199,1,1,2) [2025-03-08 22:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638199', 'tblTempUsageDetail_20' ) start [2025-03-08 22:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638199', 'tblTempUsageDetail_20' ) end [2025-03-08 22:27:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:27:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:27:22] Production.INFO: ==17686== Releasing lock... [2025-03-08 22:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:27:22] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 03:28:01] Production.INFO: ==17743== Lock acquired, processing the job... [2025-03-09 03:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:28:01] Production.INFO: neon service started [2025-03-09 03:28:01] Production.INFO: neon service started [2025-03-09 03:28:01] Production.INFO: ==17743== Releasing lock... [2025-03-09 03:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:28:01] Production.INFO: ==17745== Lock acquired, processing the job... [2025-03-08 22:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:28:02] Production.INFO: ==17745== Releasing lock... [2025-03-08 22:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:28:02] Production.INFO: ==17747== Lock acquired, processing the job... [2025-03-09 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:28:02] Production.INFO: ==17747== Releasing lock... [2025-03-09 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:28:03] Production.INFO: ==17754== Lock acquired, processing the job... [2025-03-08 22:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:28:03] Production.INFO: ==17750== Lock acquired, processing the job... [2025-03-08 22:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:28:03] Production.INFO: ==17758== Lock acquired, processing the job... [2025-03-08 22:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:28:03] Production.INFO: ==17752== Lock acquired, processing the job... [2025-03-08 22:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:28:03] Production.INFO: ==17756== Lock acquired, processing the job... [2025-03-08 22:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:28:03] Production.INFO: ==17760== Lock acquired, processing the job... [2025-03-08 22:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:28:03] Production.INFO: Account Balance Start. [2025-03-08 22:28:03] Production.INFO: CreateAllLog Start [2025-03-08 22:28:03] Production.INFO: 117 [2025-03-08 22:28:03] Production.INFO: count ==13 [2025-03-08 22:28:03] Production.ERROR: done [2025-03-08 22:28:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:28:03] Production.INFO: count ==21 [2025-03-08 22:28:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638203') start [2025-03-08 22:28:03] Production.INFO: ==17752== Releasing lock... [2025-03-08 22:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:28:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:28:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:28:03] Production.INFO: Total Charge 0 [2025-03-08 22:28:03] Production.INFO: CreateAllLog End [2025-03-08 22:28:03] Production.ERROR: done [2025-03-08 22:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638203') end [2025-03-08 22:28:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:28:03] Production.INFO: 1 [2025-03-08 22:28:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:28:03] Production.INFO: ==17760== Releasing lock... [2025-03-08 22:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:28:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:28:04] Production.INFO: Account Balance End. [2025-03-08 22:28:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:28:04] Production.INFO: ==17756== Releasing lock... [2025-03-08 22:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:28:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:28:04 [end_date_ymd] => 2025-03-08 22:28:04 [RateCDR] => 1 ) [2025-03-08 22:28:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:28:04' and `end` < '2025-03-08 22:28:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:28:12] Production.ERROR: CronJobId end10 [2025-03-08 22:28:12] Production.INFO: ==17754== Releasing lock... [2025-03-08 22:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:28:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:28:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:28:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:28:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:28:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:28:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:28:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:28:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:28:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:28:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:28:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:28:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:28:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:28:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:28:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:28:13] Production.INFO: call_cost start [2025-03-08 22:28:13] Production.INFO: call_cost end [2025-03-08 22:28:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:28:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:28:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:28:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:28:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:28:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:28:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:28:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:28:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:28:14] Production.INFO: ==17750== Releasing lock... [2025-03-08 22:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:28:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:28:17] Production.INFO: count ==1346 [2025-03-08 22:28:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:28:04 - End Time 2025-03-08 22:28:04 [2025-03-08 22:28:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638204', 'tblTempUsageDetail_20' ) start [2025-03-08 22:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638204', 'tblTempUsageDetail_20' ) end [2025-03-08 22:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638204', 'tblTempVendorCDR_20' ) start [2025-03-08 22:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638204', 'tblTempVendorCDR_20' ) end [2025-03-08 22:28:17] Production.INFO: ProcessCDR(1,14638204,1,1,2) [2025-03-08 22:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638204', 'tblTempUsageDetail_20' ) start [2025-03-08 22:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638204', 'tblTempUsageDetail_20' ) end [2025-03-08 22:28:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:28:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:28:22] Production.INFO: ==17758== Releasing lock... [2025-03-08 22:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:28:22] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 03:29:01] Production.INFO: ==17813== Lock acquired, processing the job... [2025-03-09 03:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:29:01] Production.INFO: neon service started [2025-03-09 03:29:01] Production.INFO: neon service started [2025-03-09 03:29:01] Production.INFO: ==17813== Releasing lock... [2025-03-09 03:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:29:02] Production.INFO: ==17816== Lock acquired, processing the job... [2025-03-08 22:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:29:02] Production.INFO: ==17818== Lock acquired, processing the job... [2025-03-09 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 22:29:02] Production.INFO: ==17816== Releasing lock... [2025-03-08 22:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:29:02] Production.INFO: ==17818== Releasing lock... [2025-03-09 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:29:03] Production.INFO: ==17828== Lock acquired, processing the job... [2025-03-08 22:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:29:03] Production.INFO: ==17830== Lock acquired, processing the job... [2025-03-08 22:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:29:03] Production.INFO: ==17820== Lock acquired, processing the job... [2025-03-08 22:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:29:03] Production.INFO: ==17824== Lock acquired, processing the job... [2025-03-08 22:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:29:03] Production.INFO: ==17822== Lock acquired, processing the job... [2025-03-08 22:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:29:03] Production.INFO: ==17826== Lock acquired, processing the job... [2025-03-08 22:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:29:03] Production.INFO: count ==13 [2025-03-08 22:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:29:03] Production.INFO: count ==21 [2025-03-08 22:29:03] Production.INFO: Account Balance Start. [2025-03-08 22:29:03] Production.INFO: CreateAllLog Start [2025-03-08 22:29:03] Production.ERROR: done [2025-03-08 22:29:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:29:03] Production.INFO: 117 [2025-03-08 22:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638205') start [2025-03-08 22:29:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638205') end [2025-03-08 22:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:29:04] Production.INFO: 1 [2025-03-08 22:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:29:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:29:04] Production.INFO: Total Charge 0 [2025-03-08 22:29:04] Production.INFO: CreateAllLog End [2025-03-08 22:29:04] Production.INFO: ==17830== Releasing lock... [2025-03-08 22:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:29:04] Production.ERROR: done [2025-03-08 22:29:04] Production.INFO: ==17822== Releasing lock... [2025-03-08 22:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:29:04] Production.INFO: Account Balance End. [2025-03-08 22:29:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:29:04] Production.INFO: ==17826== Releasing lock... [2025-03-08 22:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:29:05 [end_date_ymd] => 2025-03-08 22:29:05 [RateCDR] => 1 ) [2025-03-08 22:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:29:05' and `end` < '2025-03-08 22:29:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:29:11] Production.ERROR: CronJobId end10 [2025-03-08 22:29:11] Production.INFO: ==17824== Releasing lock... [2025-03-08 22:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:29:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:29:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:29:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:29:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:29:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:29:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:29:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:29:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:29:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:29:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:29:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:29:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:29:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:29:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:29:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:29:14] Production.INFO: call_cost start [2025-03-08 22:29:14] Production.INFO: call_cost end [2025-03-08 22:29:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:29:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:29:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:29:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:29:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:29:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:29:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:29:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:29:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:29:15] Production.INFO: ==17820== Releasing lock... [2025-03-08 22:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:29:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:29:17] Production.INFO: count ==1348 [2025-03-08 22:29:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:29:05 - End Time 2025-03-08 22:29:05 [2025-03-08 22:29:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638209', 'tblTempUsageDetail_20' ) start [2025-03-08 22:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638209', 'tblTempUsageDetail_20' ) end [2025-03-08 22:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638209', 'tblTempVendorCDR_20' ) start [2025-03-08 22:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638209', 'tblTempVendorCDR_20' ) end [2025-03-08 22:29:17] Production.INFO: ProcessCDR(1,14638209,1,1,2) [2025-03-08 22:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638209', 'tblTempUsageDetail_20' ) start [2025-03-08 22:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638209', 'tblTempUsageDetail_20' ) end [2025-03-08 22:29:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:29:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:29:21] Production.INFO: ==17828== Releasing lock... [2025-03-08 22:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:29:21] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 03:30:02] Production.INFO: ==17895== Lock acquired, processing the job... [2025-03-09 03:30:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:30:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:30:02] Production.INFO: neon service started [2025-03-09 03:30:02] Production.INFO: neon service started [2025-03-09 03:30:02] Production.INFO: ==17895== Releasing lock... [2025-03-09 03:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:30:02] Production.INFO: ==17899== Lock acquired, processing the job... [2025-03-09 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:30:02] Production.INFO: ==17899== Releasing lock... [2025-03-09 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:30:02] Production.INFO: ==17897== Lock acquired, processing the job... [2025-03-08 22:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:30:03] Production.INFO: ==17897== Releasing lock... [2025-03-08 22:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:30:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:30:04] Production.INFO: ==17902== Lock acquired, processing the job... [2025-03-08 22:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 22:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 22:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 22:30:04] Production.INFO: ==17902== Releasing lock... [2025-03-08 22:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 22:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 22:30:04] Production.INFO: ==17914== Lock acquired, processing the job... [2025-03-08 22:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:30:04] Production.INFO: ==17904== Lock acquired, processing the job... [2025-03-08 22:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:30:04] Production.INFO: ==17918== Lock acquired, processing the job... [2025-03-08 22:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:30:04] Production.INFO: ==17907== Lock acquired, processing the job... [2025-03-08 22:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:30:04] Production.INFO: ==17910== Lock acquired, processing the job... [2025-03-08 22:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:30:04] Production.INFO: ==17912== Lock acquired, processing the job... [2025-03-08 22:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:30:04] Production.INFO: ==17916== Lock acquired, processing the job... [2025-03-08 22:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 22:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:30:04] Production.INFO: count ==13 [2025-03-08 22:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:30:04] Production.INFO: count ==21 [2025-03-08 22:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638210') start [2025-03-08 22:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:30:04] Production.INFO: Account Balance Start. [2025-03-08 22:30:04] Production.INFO: CreateAllLog Start [2025-03-08 22:30:04] Production.INFO: 117 [2025-03-08 22:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:30:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:30:04] Production.ERROR: done [2025-03-08 22:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:30:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:30:04] Production.INFO: Total Charge 0 [2025-03-08 22:30:04] Production.INFO: CreateAllLog End [2025-03-08 22:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638210') end [2025-03-08 22:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:30:04] Production.INFO: 1 [2025-03-08 22:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:30:05] Production.INFO: ==17918== Releasing lock... [2025-03-08 22:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:30:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:30:05] Production.ERROR: done [2025-03-08 22:30:05] Production.INFO: ==17907== Releasing lock... [2025-03-08 22:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:30:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:30:05] Production.ERROR: done [2025-03-08 22:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 22:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638215', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 22:30:05] Production.INFO: Account Balance End. [2025-03-08 22:30:05] Production.ERROR: CronJobId end 12 [2025-03-08 22:30:05] Production.INFO: ==17912== Releasing lock... [2025-03-08 22:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:30:06 [end_date_ymd] => 2025-03-08 22:30:06 [RateCDR] => 1 ) [2025-03-08 22:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:30:06' and `end` < '2025-03-08 22:30:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:30:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638215', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 22:30:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 22:30:10] Production.INFO: ProcessCDR(1,14638215,1,1,2) [2025-03-08 22:30:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14638215,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14638215,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:30:10] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:30:10] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:30:10] Production.INFO: ==17916== Releasing lock... [2025-03-08 22:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 22:30:10] Production.INFO: 26 MB #Memory Used# [2025-03-08 22:30:14] Production.ERROR: CronJobId end10 [2025-03-08 22:30:14] Production.INFO: ==17910== Releasing lock... [2025-03-08 22:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:30:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:30:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:30:16] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:30:16] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:30:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:30:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:30:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:30:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:30:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:30:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:30:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:30:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:30:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:30:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:30:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:30:16] Production.INFO: call_cost start [2025-03-08 22:30:16] Production.INFO: call_cost end [2025-03-08 22:30:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:30:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:30:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:30:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:30:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:30:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:30:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:30:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:30:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:30:17] Production.INFO: ==17904== Releasing lock... [2025-03-08 22:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:30:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:30:18] Production.INFO: count ==1347 [2025-03-08 22:30:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:30:06 - End Time 2025-03-08 22:30:06 [2025-03-08 22:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638214', 'tblTempUsageDetail_20' ) start [2025-03-08 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638214', 'tblTempUsageDetail_20' ) end [2025-03-08 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638214', 'tblTempVendorCDR_20' ) start [2025-03-08 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638214', 'tblTempVendorCDR_20' ) end [2025-03-08 22:30:18] Production.INFO: ProcessCDR(1,14638214,1,1,2) [2025-03-08 22:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638214', 'tblTempUsageDetail_20' ) start [2025-03-08 22:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638214', 'tblTempUsageDetail_20' ) end [2025-03-08 22:30:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:30:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:30:22] Production.INFO: ==17914== Releasing lock... [2025-03-08 22:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:30:22] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 03:31:01] Production.INFO: ==17983== Lock acquired, processing the job... [2025-03-09 03:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:31:01] Production.INFO: neon service started [2025-03-09 03:31:01] Production.INFO: neon service started [2025-03-09 03:31:01] Production.INFO: ==17983== Releasing lock... [2025-03-09 03:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:31:02] Production.INFO: ==17987== Lock acquired, processing the job... [2025-03-09 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:31:02] Production.INFO: ==17987== Releasing lock... [2025-03-09 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:31:02] Production.INFO: ==17985== Lock acquired, processing the job... [2025-03-08 22:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:31:02] Production.INFO: ==17985== Releasing lock... [2025-03-08 22:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:31:03] Production.INFO: ==17992== Lock acquired, processing the job... [2025-03-08 22:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:31:03] Production.INFO: ==17994== Lock acquired, processing the job... [2025-03-08 22:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:31:03] Production.INFO: ==17990== Lock acquired, processing the job... [2025-03-08 22:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:31:03] Production.INFO: ==17996== Lock acquired, processing the job... [2025-03-08 22:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:31:03] Production.INFO: ==17998== Lock acquired, processing the job... [2025-03-08 22:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:31:03] Production.INFO: Account Balance Start. [2025-03-08 22:31:03] Production.INFO: CreateAllLog Start [2025-03-08 22:31:03] Production.INFO: 117 [2025-03-08 22:31:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:31:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:31:03] Production.INFO: Total Charge 0 [2025-03-08 22:31:03] Production.INFO: ==18000== Lock acquired, processing the job... [2025-03-08 22:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:31:03] Production.INFO: CreateAllLog End [2025-03-08 22:31:04] Production.INFO: ==17992== Releasing lock... [2025-03-08 22:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:31:04] Production.INFO: count ==13 [2025-03-08 22:31:04] Production.ERROR: done [2025-03-08 22:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:31:04] Production.INFO: count ==21 [2025-03-08 22:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638219') start [2025-03-08 22:31:04] Production.INFO: Account Balance End. [2025-03-08 22:31:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:31:04] Production.INFO: ==17996== Releasing lock... [2025-03-08 22:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:31:04] Production.ERROR: done [2025-03-08 22:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638219') end [2025-03-08 22:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:31:04] Production.INFO: 1 [2025-03-08 22:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:31:04] Production.INFO: ==18000== Releasing lock... [2025-03-08 22:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:31:05 [end_date_ymd] => 2025-03-08 22:31:05 [RateCDR] => 1 ) [2025-03-08 22:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:31:05' and `end` < '2025-03-08 22:31:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:31:11] Production.ERROR: CronJobId end10 [2025-03-08 22:31:11] Production.INFO: ==17994== Releasing lock... [2025-03-08 22:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:31:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:31:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:31:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:31:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:31:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:31:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:31:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:31:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:31:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:31:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:31:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:31:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:31:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:31:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:31:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:31:14] Production.INFO: call_cost start [2025-03-08 22:31:14] Production.INFO: call_cost end [2025-03-08 22:31:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:31:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:31:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:31:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:31:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:31:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:31:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:31:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:31:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:31:14] Production.INFO: ==17990== Releasing lock... [2025-03-08 22:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:31:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:31:17] Production.INFO: count ==1334 [2025-03-08 22:31:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:31:05 - End Time 2025-03-08 22:31:05 [2025-03-08 22:31:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638220', 'tblTempUsageDetail_20' ) start [2025-03-08 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638220', 'tblTempUsageDetail_20' ) end [2025-03-08 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638220', 'tblTempVendorCDR_20' ) start [2025-03-08 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638220', 'tblTempVendorCDR_20' ) end [2025-03-08 22:31:18] Production.INFO: ProcessCDR(1,14638220,1,1,2) [2025-03-08 22:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638220', 'tblTempUsageDetail_20' ) start [2025-03-08 22:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638220', 'tblTempUsageDetail_20' ) end [2025-03-08 22:31:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:31:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:31:21] Production.INFO: ==17998== Releasing lock... [2025-03-08 22:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:31:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 03:32:02] Production.INFO: ==18055== Lock acquired, processing the job... [2025-03-09 03:32:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:32:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:32:02] Production.INFO: neon service started [2025-03-09 03:32:02] Production.INFO: neon service started [2025-03-09 03:32:02] Production.INFO: ==18055== Releasing lock... [2025-03-09 03:32:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:32:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:32:02] Production.INFO: ==18057== Lock acquired, processing the job... [2025-03-08 22:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:32:02] Production.INFO: ==18057== Releasing lock... [2025-03-08 22:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:32:02] Production.INFO: ==18059== Lock acquired, processing the job... [2025-03-09 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:32:03] Production.INFO: ==18059== Releasing lock... [2025-03-09 03:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:32:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:32:03] Production.INFO: ==18067== Lock acquired, processing the job... [2025-03-08 22:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:32:03] Production.INFO: Account Balance Start. [2025-03-08 22:32:03] Production.INFO: CreateAllLog Start [2025-03-08 22:32:03] Production.INFO: 117 [2025-03-08 22:32:03] Production.INFO: ==18061== Lock acquired, processing the job... [2025-03-08 22:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:32:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:32:03] Production.INFO: ==18071== Lock acquired, processing the job... [2025-03-08 22:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:32:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:32:03] Production.INFO: Total Charge 0 [2025-03-08 22:32:03] Production.INFO: ==18063== Lock acquired, processing the job... [2025-03-08 22:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:32:03] Production.INFO: CreateAllLog End [2025-03-08 22:32:03] Production.INFO: ==18065== Lock acquired, processing the job... [2025-03-08 22:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:32:04] Production.INFO: ==18069== Lock acquired, processing the job... [2025-03-08 22:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:32:04] Production.INFO: Account Balance End. [2025-03-08 22:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:32:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:32:04] Production.INFO: ==18067== Releasing lock... [2025-03-08 22:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:32:04] Production.INFO: count ==13 [2025-03-08 22:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:32:04] Production.INFO: count ==21 [2025-03-08 22:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638223') start [2025-03-08 22:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638223') end [2025-03-08 22:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:32:04] Production.INFO: 1 [2025-03-08 22:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:32:04] Production.INFO: ==18063== Releasing lock... [2025-03-08 22:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:32:04] Production.INFO: ==18071== Releasing lock... [2025-03-08 22:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:32:04] Production.ERROR: done [2025-03-08 22:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:32:04] Production.ERROR: done [2025-03-08 22:32:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:32:06 [end_date_ymd] => 2025-03-08 22:32:06 [RateCDR] => 1 ) [2025-03-08 22:32:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:32:06' and `end` < '2025-03-08 22:32:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:32:11] Production.ERROR: CronJobId end10 [2025-03-08 22:32:11] Production.INFO: ==18065== Releasing lock... [2025-03-08 22:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:32:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:32:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:32:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:32:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:32:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:32:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:32:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:32:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:32:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:32:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:32:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:32:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:32:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:32:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:32:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:32:13] Production.INFO: call_cost start [2025-03-08 22:32:13] Production.INFO: call_cost end [2025-03-08 22:32:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:32:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:32:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:32:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:32:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:32:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:32:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:32:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:32:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:32:14] Production.INFO: ==18061== Releasing lock... [2025-03-08 22:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:32:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:32:18] Production.INFO: count ==1334 [2025-03-08 22:32:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:32:06 - End Time 2025-03-08 22:32:06 [2025-03-08 22:32:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638225', 'tblTempUsageDetail_20' ) start [2025-03-08 22:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638225', 'tblTempUsageDetail_20' ) end [2025-03-08 22:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638225', 'tblTempVendorCDR_20' ) start [2025-03-08 22:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638225', 'tblTempVendorCDR_20' ) end [2025-03-08 22:32:18] Production.INFO: ProcessCDR(1,14638225,1,1,2) [2025-03-08 22:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638225', 'tblTempUsageDetail_20' ) start [2025-03-08 22:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638225', 'tblTempUsageDetail_20' ) end [2025-03-08 22:32:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:32:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:32:23] Production.INFO: ==18069== Releasing lock... [2025-03-08 22:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:32:23] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 03:33:01] Production.INFO: ==18125== Lock acquired, processing the job... [2025-03-09 03:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:33:01] Production.INFO: neon service started [2025-03-09 03:33:01] Production.INFO: neon service started [2025-03-09 03:33:01] Production.INFO: ==18125== Releasing lock... [2025-03-09 03:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:33:01] Production.INFO: ==18127== Lock acquired, processing the job... [2025-03-08 22:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:33:02] Production.INFO: ==18127== Releasing lock... [2025-03-08 22:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:33:02] Production.INFO: ==18129== Lock acquired, processing the job... [2025-03-09 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:33:02] Production.INFO: ==18129== Releasing lock... [2025-03-09 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:33:03] Production.INFO: ==18131== Lock acquired, processing the job... [2025-03-08 22:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:33:03] Production.INFO: ==18133== Lock acquired, processing the job... [2025-03-08 22:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:33:03] Production.INFO: ==18135== Lock acquired, processing the job... [2025-03-08 22:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:33:03] Production.INFO: ==18139== Lock acquired, processing the job... [2025-03-08 22:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:33:03] Production.INFO: ==18137== Lock acquired, processing the job... [2025-03-08 22:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:33:03] Production.INFO: ==18141== Lock acquired, processing the job... [2025-03-08 22:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:33:03] Production.INFO: Account Balance Start. [2025-03-08 22:33:03] Production.INFO: CreateAllLog Start [2025-03-08 22:33:03] Production.INFO: 117 [2025-03-08 22:33:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:33:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:33:03] Production.INFO: ==18133== Releasing lock... [2025-03-08 22:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:33:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:33:03] Production.INFO: Total Charge 0 [2025-03-08 22:33:03] Production.INFO: CreateAllLog End [2025-03-08 22:33:03] Production.INFO: count ==13 [2025-03-08 22:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:33:03] Production.INFO: count ==21 [2025-03-08 22:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638229') start [2025-03-08 22:33:03] Production.ERROR: done [2025-03-08 22:33:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638229') end [2025-03-08 22:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:33:04] Production.INFO: 1 [2025-03-08 22:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:33:04] Production.ERROR: done [2025-03-08 22:33:04] Production.INFO: ==18141== Releasing lock... [2025-03-08 22:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:33:04] Production.INFO: Account Balance End. [2025-03-08 22:33:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:33:04] Production.INFO: ==18137== Releasing lock... [2025-03-08 22:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:33:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:33:04 [end_date_ymd] => 2025-03-08 22:33:04 [RateCDR] => 1 ) [2025-03-08 22: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-08 19:33:04' and `end` < '2025-03-08 22: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-08 22:33:13] Production.ERROR: CronJobId end10 [2025-03-08 22:33:13] Production.INFO: ==18135== Releasing lock... [2025-03-08 22:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:33:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:33:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:33:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:33:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:33:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:33:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:33:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:33:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:33:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:33:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:33:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:33:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:33:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:33:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:33:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:33:15] Production.INFO: call_cost start [2025-03-08 22:33:15] Production.INFO: call_cost end [2025-03-08 22:33:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:33:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:33:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:33:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:33:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:33:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:33:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:33:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:33:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:33:16] Production.INFO: ==18131== Releasing lock... [2025-03-08 22:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:33:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:33:17] Production.INFO: count ==1327 [2025-03-08 22:33:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:33:04 - End Time 2025-03-08 22:33:04 [2025-03-08 22:33:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638230', 'tblTempUsageDetail_20' ) start [2025-03-08 22:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638230', 'tblTempUsageDetail_20' ) end [2025-03-08 22:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638230', 'tblTempVendorCDR_20' ) start [2025-03-08 22:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638230', 'tblTempVendorCDR_20' ) end [2025-03-08 22:33:17] Production.INFO: ProcessCDR(1,14638230,1,1,2) [2025-03-08 22:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638230', 'tblTempUsageDetail_20' ) start [2025-03-08 22:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638230', 'tblTempUsageDetail_20' ) end [2025-03-08 22:33:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:33:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:33:20] Production.INFO: ==18139== Releasing lock... [2025-03-08 22:33:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:33:20] Production.INFO: 38 MB #Memory Used# [2025-03-09 03:34:02] Production.INFO: ==18208== Lock acquired, processing the job... [2025-03-09 03:34:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:34:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:34:02] Production.INFO: neon service started [2025-03-09 03:34:02] Production.INFO: neon service started [2025-03-09 03:34:02] Production.INFO: ==18208== Releasing lock... [2025-03-09 03:34:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:34:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:34:02] Production.INFO: ==18211== Lock acquired, processing the job... [2025-03-08 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:34:02] Production.INFO: ==18211== Releasing lock... [2025-03-08 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:34:02] Production.INFO: ==18213== Lock acquired, processing the job... [2025-03-09 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:34:02] Production.INFO: ==18213== Releasing lock... [2025-03-09 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:34:03] Production.INFO: ==18216== Lock acquired, processing the job... [2025-03-08 22:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:34:03] Production.INFO: ==18222== Lock acquired, processing the job... [2025-03-08 22:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:34:03] Production.INFO: Account Balance Start. [2025-03-08 22:34:03] Production.INFO: CreateAllLog Start [2025-03-08 22:34:03] Production.INFO: 117 [2025-03-08 22:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:34:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:34:03] Production.INFO: ==18218== Lock acquired, processing the job... [2025-03-08 22:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:34:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:34:03] Production.INFO: Total Charge 0 [2025-03-08 22:34:03] Production.INFO: CreateAllLog End [2025-03-08 22:34:03] Production.INFO: ==18220== Lock acquired, processing the job... [2025-03-08 22:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:34:04] Production.INFO: Account Balance End. [2025-03-08 22:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:34:04] Production.INFO: ==18224== Lock acquired, processing the job... [2025-03-08 22:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:34:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:34:04] Production.INFO: ==18222== Releasing lock... [2025-03-08 22:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:34:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:34:04] Production.INFO: ==18226== Lock acquired, processing the job... [2025-03-08 22:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:34:04] Production.INFO: ==18218== Releasing lock... [2025-03-08 22:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:34:04] Production.INFO: count ==13 [2025-03-08 22:34:04] Production.ERROR: done [2025-03-08 22:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:34:04] Production.INFO: count ==21 [2025-03-08 22:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638234') start [2025-03-08 22:34:04] Production.ERROR: done [2025-03-08 22:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638234') end [2025-03-08 22:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:34:04] Production.INFO: 1 [2025-03-08 22:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:34:04] Production.INFO: ==18226== Releasing lock... [2025-03-08 22:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:34:05 [end_date_ymd] => 2025-03-08 22:34:05 [RateCDR] => 1 ) [2025-03-08 22:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:34:05' and `end` < '2025-03-08 22:34:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:34:12] Production.ERROR: CronJobId end10 [2025-03-08 22:34:12] Production.INFO: ==18220== Releasing lock... [2025-03-08 22:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:34:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:34:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:34:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:34:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:34:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:34:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:34:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:34:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:34:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:34:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:34:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:34:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:34:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:34:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:34:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:34:14] Production.INFO: call_cost start [2025-03-08 22:34:14] Production.INFO: call_cost end [2025-03-08 22:34:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:34:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:34:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:34:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:34:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:34:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:34:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:34:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:34:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:34:15] Production.INFO: ==18216== Releasing lock... [2025-03-08 22:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:34:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:34:17] Production.INFO: count ==1327 [2025-03-08 22:34:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:34:05 - End Time 2025-03-08 22:34:05 [2025-03-08 22:34:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638235', 'tblTempUsageDetail_20' ) start [2025-03-08 22:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638235', 'tblTempUsageDetail_20' ) end [2025-03-08 22:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638235', 'tblTempVendorCDR_20' ) start [2025-03-08 22:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638235', 'tblTempVendorCDR_20' ) end [2025-03-08 22:34:17] Production.INFO: ProcessCDR(1,14638235,1,1,2) [2025-03-08 22:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638235', 'tblTempUsageDetail_20' ) start [2025-03-08 22:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638235', 'tblTempUsageDetail_20' ) end [2025-03-08 22:34:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:34:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:34:21] Production.INFO: ==18224== Releasing lock... [2025-03-08 22:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:34:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 03:35:01] Production.INFO: ==18280== Lock acquired, processing the job... [2025-03-09 03:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:35:01] Production.INFO: neon service started [2025-03-09 03:35:01] Production.INFO: neon service started [2025-03-09 03:35:01] Production.INFO: ==18280== Releasing lock... [2025-03-09 03:35:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:35:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:35:01] Production.INFO: ==18282== Lock acquired, processing the job... [2025-03-08 22:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:35:02] Production.INFO: ==18282== Releasing lock... [2025-03-08 22:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:35:02] Production.INFO: ==18284== Lock acquired, processing the job... [2025-03-09 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:35:02] Production.INFO: ==18284== Releasing lock... [2025-03-09 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:35:03] Production.INFO: ==18295== Lock acquired, processing the job... [2025-03-08 22:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:35:03] Production.INFO: ==18293== Lock acquired, processing the job... [2025-03-08 22:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:35:03] Production.INFO: ==18287== Lock acquired, processing the job... [2025-03-08 22:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:35:03] Production.INFO: Account Balance Start. [2025-03-08 22:35:03] Production.INFO: CreateAllLog Start [2025-03-08 22:35:03] Production.INFO: ==18289== Lock acquired, processing the job... [2025-03-08 22:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:35:03] Production.INFO: 117 [2025-03-08 22:35:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:35:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:35:03] Production.INFO: ==18291== Lock acquired, processing the job... [2025-03-08 22:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:35:03] Production.INFO: Total Charge 0 [2025-03-08 22:35:03] Production.INFO: CreateAllLog End [2025-03-08 22:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:35:03] Production.INFO: ==18297== Lock acquired, processing the job... [2025-03-08 22:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:35:03] Production.INFO: count ==13 [2025-03-08 22:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:35:03] Production.INFO: count ==21 [2025-03-08 22:35:03] Production.INFO: Account Balance End. [2025-03-08 22:35:03] Production.ERROR: done [2025-03-08 22:35:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638239') start [2025-03-08 22:35:03] Production.INFO: ==18289== Releasing lock... [2025-03-08 22:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:35:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:35:03] Production.ERROR: CronJobId end 12 [2025-03-08 22:35:03] Production.INFO: ==18293== Releasing lock... [2025-03-08 22:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:35:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:35:03] Production.ERROR: done [2025-03-08 22:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638239') end [2025-03-08 22:35:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:35:03] Production.INFO: 1 [2025-03-08 22:35:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:35:03] Production.INFO: ==18297== Releasing lock... [2025-03-08 22:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:35:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:35:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:35:04 [end_date_ymd] => 2025-03-08 22:35:04 [RateCDR] => 1 ) [2025-03-08 22:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:35:04' and `end` < '2025-03-08 22:35:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:35:10] Production.ERROR: CronJobId end10 [2025-03-08 22:35:10] Production.INFO: ==18291== Releasing lock... [2025-03-08 22:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:35:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:35:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:35:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:35:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:35:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:35:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:35:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:35:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:35:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:35:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:35:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:35:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:35:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:35:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:35:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:35:13] Production.INFO: call_cost start [2025-03-08 22:35:13] Production.INFO: call_cost end [2025-03-08 22:35:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:35:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:35:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:35:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:35:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:35:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:35:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:35:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:35:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:35:14] Production.INFO: ==18287== Releasing lock... [2025-03-08 22:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:35:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:35:16] Production.INFO: count ==1323 [2025-03-08 22:35:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:35:04 - End Time 2025-03-08 22:35:04 [2025-03-08 22:35:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638240', 'tblTempUsageDetail_20' ) start [2025-03-08 22:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638240', 'tblTempUsageDetail_20' ) end [2025-03-08 22:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638240', 'tblTempVendorCDR_20' ) start [2025-03-08 22:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638240', 'tblTempVendorCDR_20' ) end [2025-03-08 22:35:17] Production.INFO: ProcessCDR(1,14638240,1,1,2) [2025-03-08 22:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638240', 'tblTempUsageDetail_20' ) start [2025-03-08 22:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638240', 'tblTempUsageDetail_20' ) end [2025-03-08 22:35:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:35:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:35:21] Production.INFO: ==18295== Releasing lock... [2025-03-08 22:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:35:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 03:36:01] Production.INFO: ==18355== Lock acquired, processing the job... [2025-03-09 03:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:36:02] Production.INFO: neon service started [2025-03-09 03:36:02] Production.INFO: neon service started [2025-03-09 03:36:02] Production.INFO: ==18355== Releasing lock... [2025-03-09 03:36:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:36:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:36:02] Production.INFO: ==18357== Lock acquired, processing the job... [2025-03-08 22:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:36:02] Production.INFO: ==18357== Releasing lock... [2025-03-08 22:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:36:02] Production.INFO: ==18360== Lock acquired, processing the job... [2025-03-09 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:36:02] Production.INFO: ==18360== Releasing lock... [2025-03-09 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:36:03] Production.INFO: ==18368== Lock acquired, processing the job... [2025-03-08 22:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:36:03] Production.INFO: ==18370== Lock acquired, processing the job... [2025-03-08 22:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:36:03] Production.INFO: ==18362== Lock acquired, processing the job... [2025-03-08 22:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:36:03] Production.INFO: ==18364== Lock acquired, processing the job... [2025-03-08 22:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:36:03] Production.INFO: Account Balance Start. [2025-03-08 22:36:03] Production.INFO: CreateAllLog Start [2025-03-08 22:36:03] Production.INFO: 117 [2025-03-08 22:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:36:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:36:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:36:03] Production.INFO: Total Charge 0 [2025-03-08 22:36:03] Production.INFO: ==18366== Lock acquired, processing the job... [2025-03-08 22:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:36:03] Production.INFO: CreateAllLog End [2025-03-08 22:36:04] Production.INFO: ==18372== Lock acquired, processing the job... [2025-03-08 22:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:36:04] Production.INFO: count ==13 [2025-03-08 22:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:36:04] Production.INFO: count ==21 [2025-03-08 22:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638244') start [2025-03-08 22:36:04] Production.INFO: ==18364== Releasing lock... [2025-03-08 22:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:36:04] Production.ERROR: done [2025-03-08 22:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638244') end [2025-03-08 22:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:36:04] Production.INFO: 1 [2025-03-08 22:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:36:04] Production.INFO: Account Balance End. [2025-03-08 22:36:04] Production.ERROR: done [2025-03-08 22:36:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:36:04] Production.INFO: ==18368== Releasing lock... [2025-03-08 22:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:36:04] Production.INFO: ==18372== Releasing lock... [2025-03-08 22:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:36:05 [end_date_ymd] => 2025-03-08 22:36:05 [RateCDR] => 1 ) [2025-03-08 22:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:36:05' and `end` < '2025-03-08 22:36:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:36:11] Production.ERROR: CronJobId end10 [2025-03-08 22:36:11] Production.INFO: ==18366== Releasing lock... [2025-03-08 22:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:36:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:36:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:36:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:36:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:36:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:36:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:36:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:36:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:36:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:36:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:36:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:36:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:36:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:36:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:36:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:36:13] Production.INFO: call_cost start [2025-03-08 22:36:13] Production.INFO: call_cost end [2025-03-08 22:36:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:36:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:36:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:36:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:36:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:36:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:36:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:36:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:36:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:36:14] Production.INFO: ==18362== Releasing lock... [2025-03-08 22:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:36:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:36:17] Production.INFO: count ==1323 [2025-03-08 22:36:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:36:05 - End Time 2025-03-08 22:36:05 [2025-03-08 22:36:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638245', 'tblTempUsageDetail_20' ) start [2025-03-08 22:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638245', 'tblTempUsageDetail_20' ) end [2025-03-08 22:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638245', 'tblTempVendorCDR_20' ) start [2025-03-08 22:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638245', 'tblTempVendorCDR_20' ) end [2025-03-08 22:36:17] Production.INFO: ProcessCDR(1,14638245,1,1,2) [2025-03-08 22:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638245', 'tblTempUsageDetail_20' ) start [2025-03-08 22:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638245', 'tblTempUsageDetail_20' ) end [2025-03-08 22:36:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:36:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:36:20] Production.INFO: ==18370== Releasing lock... [2025-03-08 22:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:36:20] Production.INFO: 38 MB #Memory Used# [2025-03-09 03:37:01] Production.INFO: ==18426== Lock acquired, processing the job... [2025-03-09 03:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:37:01] Production.INFO: neon service started [2025-03-09 03:37:01] Production.INFO: neon service started [2025-03-09 03:37:01] Production.INFO: ==18426== Releasing lock... [2025-03-09 03:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:37:02] Production.INFO: ==18430== Lock acquired, processing the job... [2025-03-09 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 22:37:02] Production.INFO: ==18428== Lock acquired, processing the job... [2025-03-08 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:37:02] Production.INFO: ==18430== Releasing lock... [2025-03-09 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:37:02] Production.INFO: ==18428== Releasing lock... [2025-03-08 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:37:03] Production.INFO: ==18433== Lock acquired, processing the job... [2025-03-08 22:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:37:03] Production.INFO: ==18435== Lock acquired, processing the job... [2025-03-08 22:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:37:03] Production.INFO: ==18437== Lock acquired, processing the job... [2025-03-08 22:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:37:03] Production.INFO: ==18439== Lock acquired, processing the job... [2025-03-08 22:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:37:03] Production.INFO: ==18441== Lock acquired, processing the job... [2025-03-08 22:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:37:03] Production.INFO: Account Balance Start. [2025-03-08 22:37:03] Production.INFO: CreateAllLog Start [2025-03-08 22:37:03] Production.INFO: 117 [2025-03-08 22:37:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:37:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:37:03] Production.INFO: ==18443== Lock acquired, processing the job... [2025-03-08 22:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:37:03] Production.INFO: Total Charge 0 [2025-03-08 22:37:03] Production.INFO: CreateAllLog End [2025-03-08 22:37:03] Production.INFO: ==18435== Releasing lock... [2025-03-08 22:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:37:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:37:04] Production.INFO: count ==13 [2025-03-08 22:37:04] Production.ERROR: done [2025-03-08 22:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:37:04] Production.INFO: count ==21 [2025-03-08 22:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638249') start [2025-03-08 22:37:04] Production.ERROR: done [2025-03-08 22:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638249') end [2025-03-08 22:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:37:04] Production.INFO: 1 [2025-03-08 22:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:37:04] Production.INFO: Account Balance End. [2025-03-08 22:37:04] Production.INFO: ==18443== Releasing lock... [2025-03-08 22:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:37:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:37:04] Production.INFO: ==18439== Releasing lock... [2025-03-08 22:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:37:05 [end_date_ymd] => 2025-03-08 22:37:05 [RateCDR] => 1 ) [2025-03-08 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-08 19:37:05' and `end` < '2025-03-08 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-08 22:37:12] Production.ERROR: CronJobId end10 [2025-03-08 22:37:12] Production.INFO: ==18437== Releasing lock... [2025-03-08 22:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:37:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:37:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:37:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:37:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:37:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:37:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:37:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:37:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:37:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:37:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:37:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:37:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:37:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:37:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:37:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:37:14] Production.INFO: call_cost start [2025-03-08 22:37:14] Production.INFO: call_cost end [2025-03-08 22:37:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:37:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:37:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:37:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:37:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:37:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:37:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:37:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:37:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:37:15] Production.INFO: ==18433== Releasing lock... [2025-03-08 22:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:37:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:37:17] Production.INFO: count ==1315 [2025-03-08 22:37:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:37:05 - End Time 2025-03-08 22:37:05 [2025-03-08 22:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638250', 'tblTempUsageDetail_20' ) start [2025-03-08 22:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638250', 'tblTempUsageDetail_20' ) end [2025-03-08 22:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638250', 'tblTempVendorCDR_20' ) start [2025-03-08 22:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638250', 'tblTempVendorCDR_20' ) end [2025-03-08 22:37:17] Production.INFO: ProcessCDR(1,14638250,1,1,2) [2025-03-08 22:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638250', 'tblTempUsageDetail_20' ) start [2025-03-08 22:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638250', 'tblTempUsageDetail_20' ) end [2025-03-08 22:37:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:37:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:37:21] Production.INFO: ==18441== Releasing lock... [2025-03-08 22:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:37:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 03:38:02] Production.INFO: ==18537== Lock acquired, processing the job... [2025-03-09 03:38:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:38:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:38:02] Production.INFO: neon service started [2025-03-09 03:38:02] Production.INFO: neon service started [2025-03-09 03:38:02] Production.INFO: ==18537== Releasing lock... [2025-03-09 03:38:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:38:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:38:02] Production.INFO: ==18539== Lock acquired, processing the job... [2025-03-08 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:38:02] Production.INFO: ==18539== Releasing lock... [2025-03-08 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:38:02] Production.INFO: ==18541== Lock acquired, processing the job... [2025-03-09 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:38:03] Production.INFO: ==18541== Releasing lock... [2025-03-09 03:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:38:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:38:03] Production.INFO: ==18550== Lock acquired, processing the job... [2025-03-08 22:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:38:03] Production.INFO: ==18554== Lock acquired, processing the job... [2025-03-08 22:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:38:03] Production.INFO: Account Balance Start. [2025-03-08 22:38:03] Production.INFO: CreateAllLog Start [2025-03-08 22:38:03] Production.INFO: 117 [2025-03-08 22:38:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:38:03] Production.INFO: ==18544== Lock acquired, processing the job... [2025-03-08 22:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:38:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:38:03] Production.INFO: ==18546== Lock acquired, processing the job... [2025-03-08 22:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:38:03] Production.INFO: Total Charge 0 [2025-03-08 22:38:03] Production.INFO: ==18548== Lock acquired, processing the job... [2025-03-08 22:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:38:03] Production.INFO: count ==13 [2025-03-08 22:38:03] Production.INFO: CreateAllLog End [2025-03-08 22: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-08 22:38:03] Production.INFO: count ==21 [2025-03-08 22:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638252') start [2025-03-08 22:38:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:38:04] Production.INFO: ==18552== Lock acquired, processing the job... [2025-03-08 22:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:38:04] Production.INFO: Account Balance End. [2025-03-08 22:38:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638252') end [2025-03-08 22:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:38:04] Production.INFO: 1 [2025-03-08 22:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:38:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:38:04] Production.INFO: ==18550== Releasing lock... [2025-03-08 22:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:38:04] Production.INFO: ==18554== Releasing lock... [2025-03-08 22:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:38:04] Production.INFO: ==18546== Releasing lock... [2025-03-08 22:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:38:04] Production.ERROR: done [2025-03-08 22:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:38:04] Production.ERROR: done [2025-03-08 22:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:38:05 [end_date_ymd] => 2025-03-08 22:38:05 [RateCDR] => 1 ) [2025-03-08 22:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:38:05' and `end` < '2025-03-08 22:38:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:38:12] Production.ERROR: CronJobId end10 [2025-03-08 22:38:12] Production.INFO: ==18548== Releasing lock... [2025-03-08 22:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:38:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:38:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:38:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:38:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:38:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:38:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:38:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:38:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:38:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:38:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:38:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:38:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:38:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:38:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:38:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:38:13] Production.INFO: call_cost start [2025-03-08 22:38:13] Production.INFO: call_cost end [2025-03-08 22:38:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:38:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:38:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:38:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:38:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:38:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:38:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:38:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:38:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:38:14] Production.INFO: ==18544== Releasing lock... [2025-03-08 22:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:38:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:38:17] Production.INFO: count ==1311 [2025-03-08 22:38:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:38:05 - End Time 2025-03-08 22:38:05 [2025-03-08 22:38:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638255', 'tblTempUsageDetail_20' ) start [2025-03-08 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638255', 'tblTempUsageDetail_20' ) end [2025-03-08 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638255', 'tblTempVendorCDR_20' ) start [2025-03-08 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638255', 'tblTempVendorCDR_20' ) end [2025-03-08 22:38:18] Production.INFO: ProcessCDR(1,14638255,1,1,2) [2025-03-08 22:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638255', 'tblTempUsageDetail_20' ) start [2025-03-08 22:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638255', 'tblTempUsageDetail_20' ) end [2025-03-08 22:38:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:38:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:38:21] Production.INFO: ==18552== Releasing lock... [2025-03-08 22:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:38:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 03:39:01] Production.INFO: ==18609== Lock acquired, processing the job... [2025-03-09 03:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:39:01] Production.INFO: neon service started [2025-03-09 03:39:01] Production.INFO: neon service started [2025-03-09 03:39:01] Production.INFO: ==18609== Releasing lock... [2025-03-09 03:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:39:01] Production.INFO: ==18611== Lock acquired, processing the job... [2025-03-08 22:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:39:02] Production.INFO: ==18611== Releasing lock... [2025-03-08 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:39:02] Production.INFO: ==18613== Lock acquired, processing the job... [2025-03-09 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:39:02] Production.INFO: ==18613== Releasing lock... [2025-03-09 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:39:03] Production.INFO: ==18617== Lock acquired, processing the job... [2025-03-08 22:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:39:03] Production.INFO: ==18625== Lock acquired, processing the job... [2025-03-08 22:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:39:03] Production.INFO: ==18615== Lock acquired, processing the job... [2025-03-08 22:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:39:03] Production.INFO: count ==13 [2025-03-08 22:39:03] Production.INFO: ==18617== Releasing lock... [2025-03-08 22:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:39:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:39:03] Production.INFO: ==18621== Lock acquired, processing the job... [2025-03-08 22:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:39:03] Production.INFO: count ==21 [2025-03-08 22:39:03] Production.INFO: ==18619== Lock acquired, processing the job... [2025-03-08 22:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638257') start [2025-03-08 22:39:03] Production.INFO: ==18623== Lock acquired, processing the job... [2025-03-08 22:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638257') end [2025-03-08 22:39:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:39:03] Production.INFO: 1 [2025-03-08 22:39:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:39:03] Production.INFO: ==18625== Releasing lock... [2025-03-08 22:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:39:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:39:03] Production.INFO: Account Balance Start. [2025-03-08 22:39:03] Production.INFO: CreateAllLog Start [2025-03-08 22:39:03] Production.INFO: 117 [2025-03-08 22:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:39:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:39:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:39:03] Production.INFO: Total Charge 0 [2025-03-08 22:39:03] Production.INFO: CreateAllLog End [2025-03-08 22:39:03] Production.INFO: Account Balance End. [2025-03-08 22:39:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:39:04] Production.INFO: ==18621== Releasing lock... [2025-03-08 22:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:39:04] Production.ERROR: done [2025-03-08 22:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:39:04] Production.ERROR: done [2025-03-08 22:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:39:05 [end_date_ymd] => 2025-03-08 22:39:05 [RateCDR] => 1 ) [2025-03-08 22:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:39:05' and `end` < '2025-03-08 22:39:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:39:12] Production.ERROR: CronJobId end10 [2025-03-08 22:39:12] Production.INFO: ==18619== Releasing lock... [2025-03-08 22:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:39:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:39:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:39:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:39:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:39:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:39:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:39:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:39:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:39:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:39:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:39:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:39:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:39:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:39:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:39:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:39:14] Production.INFO: call_cost start [2025-03-08 22:39:14] Production.INFO: call_cost end [2025-03-08 22:39:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:39:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:39:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:39:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:39:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:39:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:39:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:39:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:39:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:39:15] Production.INFO: ==18615== Releasing lock... [2025-03-08 22:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:39:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:39:17] Production.INFO: count ==1313 [2025-03-08 22:39:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:39:05 - End Time 2025-03-08 22:39:05 [2025-03-08 22:39:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638260', 'tblTempUsageDetail_20' ) start [2025-03-08 22:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638260', 'tblTempUsageDetail_20' ) end [2025-03-08 22:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638260', 'tblTempVendorCDR_20' ) start [2025-03-08 22:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638260', 'tblTempVendorCDR_20' ) end [2025-03-08 22:39:17] Production.INFO: ProcessCDR(1,14638260,1,1,2) [2025-03-08 22:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638260', 'tblTempUsageDetail_20' ) start [2025-03-08 22:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638260', 'tblTempUsageDetail_20' ) end [2025-03-08 22:39:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:39:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:39:21] Production.INFO: ==18623== Releasing lock... [2025-03-08 22:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:39:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 03:40:01] Production.INFO: ==18683== Lock acquired, processing the job... [2025-03-09 03:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:40:02] Production.INFO: neon service started [2025-03-09 03:40:02] Production.INFO: neon service started [2025-03-09 03:40:02] Production.INFO: ==18683== Releasing lock... [2025-03-09 03:40:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:40:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:40:02] Production.INFO: ==18685== Lock acquired, processing the job... [2025-03-08 22:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:40:02] Production.INFO: ==18685== Releasing lock... [2025-03-08 22:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:40:02] Production.INFO: ==18687== Lock acquired, processing the job... [2025-03-09 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:40:02] Production.INFO: ==18687== Releasing lock... [2025-03-09 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:40:03] Production.INFO: ==18691== Lock acquired, processing the job... [2025-03-08 22:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:40:03] Production.INFO: ==18689== Lock acquired, processing the job... [2025-03-08 22:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 22:40:03] Production.INFO: ==18695== Lock acquired, processing the job... [2025-03-08 22:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 22:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 22:40:04] Production.ERROR: CronJob PID - 18691 [2025-03-08 22:40:04] Production.ERROR: CronJob Title - System Alerts [2025-03-08 22:40:04] Production.ERROR: CronJob ID - 5 [2025-03-08 22:40:04] Production.ERROR: CronJob Last Run Time 2025-03-08 22:40:00 [2025-03-08 22:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 22:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 22:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 22:40:04] Production.ERROR: CronJob PID - 18695 [2025-03-08 22:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-08 22:40:04] Production.ERROR: CronJob ID - 10 [2025-03-08 22:40:04] Production.ERROR: CronJob Last Run Time 2025-03-08 22:40:00 [2025-03-08 22:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 22:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 22:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 22:40:04] Production.INFO: ==18689== Releasing lock... [2025-03-08 22:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 22:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 22:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:40:04] Production.INFO: ==18693== Lock acquired, processing the job... [2025-03-08 22:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:40:04] Production.INFO: ==18697== Lock acquired, processing the job... [2025-03-08 22:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:40:04] Production.INFO: ==18703== Lock acquired, processing the job... [2025-03-08 22:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:40:04] Production.INFO: ==18699== Lock acquired, processing the job... [2025-03-08 22:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:40:04] Production.INFO: ==18701== Lock acquired, processing the job... [2025-03-08 22:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 22:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:40:04] Production.INFO: Account Balance Start. [2025-03-08 22:40:04] Production.INFO: CreateAllLog Start [2025-03-08 22:40:04] Production.INFO: 117 [2025-03-08 22:40:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:40:04] Production.INFO: Reseller ==> 0 [2025-03-08 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-08 22:40:04] Production.INFO: count ==13 [2025-03-08 22:40:04] Production.ERROR: done [2025-03-08 22:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:40:04] Production.ERROR: done [2025-03-08 22:40:04] Production.INFO: count ==21 [2025-03-08 22:40:04] Production.INFO: ==18693== Releasing lock... [2025-03-08 22:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:40:04] Production.INFO: Total Charge 0 [2025-03-08 22:40:04] Production.INFO: CreateAllLog End [2025-03-08 22:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638264') start [2025-03-08 22:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 22:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638265', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 22:40:04] Production.ERROR: done [2025-03-08 22:40:04] Production.INFO: Account Balance End. [2025-03-08 22:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638264') end [2025-03-08 22:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:40:04] Production.INFO: 1 [2025-03-08 22:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:40:05] Production.INFO: ==18703== Releasing lock... [2025-03-08 22:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:40:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:40:05] Production.ERROR: CronJobId end 12 [2025-03-08 22:40:05] Production.INFO: ==18697== Releasing lock... [2025-03-08 22:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:40:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:40:05 [end_date_ymd] => 2025-03-08 22:40:05 [RateCDR] => 1 ) [2025-03-08 22:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:40:05' and `end` < '2025-03-08 22:40:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638265', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 22:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 22:40:09] Production.INFO: ProcessCDR(1,14638265,1,1,2) [2025-03-08 22:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14638265,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14638265,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:40:09] Production.INFO: ==18701== Releasing lock... [2025-03-08 22:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 22:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-08 22:40:13] Production.ERROR: CronJobId end10 [2025-03-08 22:40:13] Production.INFO: ==18695== Releasing lock... [2025-03-08 22:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:40:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:40:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:40:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:40:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:40:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:40:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:40:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:40:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:40:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:40:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:40:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:40:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:40:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:40:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:40:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:40:16] Production.INFO: call_cost start [2025-03-08 22:40:16] Production.INFO: call_cost end [2025-03-08 22:40:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:40:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:40:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:40:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:40:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:40:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:40:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:40:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:40:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:40:17] Production.INFO: ==18691== Releasing lock... [2025-03-08 22:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:40:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:40:18] Production.INFO: count ==1315 [2025-03-08 22:40:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:40:05 - End Time 2025-03-08 22:40:05 [2025-03-08 22:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638266', 'tblTempUsageDetail_20' ) start [2025-03-08 22:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638266', 'tblTempUsageDetail_20' ) end [2025-03-08 22:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638266', 'tblTempVendorCDR_20' ) start [2025-03-08 22:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638266', 'tblTempVendorCDR_20' ) end [2025-03-08 22:40:18] Production.INFO: ProcessCDR(1,14638266,1,1,2) [2025-03-08 22:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638266', 'tblTempUsageDetail_20' ) start [2025-03-08 22:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638266', 'tblTempUsageDetail_20' ) end [2025-03-08 22:40:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:40:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:40:21] Production.INFO: ==18699== Releasing lock... [2025-03-08 22:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:40:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 03:41:01] Production.INFO: ==18759== Lock acquired, processing the job... [2025-03-09 03:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:41:01] Production.INFO: neon service started [2025-03-09 03:41:01] Production.INFO: neon service started [2025-03-09 03:41:01] Production.INFO: ==18759== Releasing lock... [2025-03-09 03:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:41:01] Production.INFO: ==18765== Lock acquired, processing the job... [2025-03-09 03:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:41:01] Production.INFO: ==18765== Releasing lock... [2025-03-09 03:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:41:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:41:01] Production.INFO: ==18763== Lock acquired, processing the job... [2025-03-08 22:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:41:02] Production.INFO: ==18763== Releasing lock... [2025-03-08 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:41:03] Production.INFO: ==18771== Lock acquired, processing the job... [2025-03-08 22:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:41:03] Production.INFO: ==18773== Lock acquired, processing the job... [2025-03-08 22:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:41:03] Production.INFO: ==18769== Lock acquired, processing the job... [2025-03-08 22:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:41:03] Production.INFO: Account Balance Start. [2025-03-08 22:41:03] Production.INFO: CreateAllLog Start [2025-03-08 22:41:03] Production.INFO: 117 [2025-03-08 22:41:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:41:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:41:03] Production.INFO: ==18767== Lock acquired, processing the job... [2025-03-08 22:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:41:03] Production.INFO: Total Charge 0 [2025-03-08 22:41:03] Production.INFO: CreateAllLog End [2025-03-08 22:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:41:03] Production.INFO: ==18775== Lock acquired, processing the job... [2025-03-08 22:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:41:03] Production.INFO: ==18777== Lock acquired, processing the job... [2025-03-08 22:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:41:03] Production.INFO: Account Balance End. [2025-03-08 22:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:41:03] Production.INFO: ==18769== Releasing lock... [2025-03-08 22:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:41:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:41:03] Production.ERROR: CronJobId end 12 [2025-03-08 22:41:03] Production.INFO: ==18773== Releasing lock... [2025-03-08 22:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:41:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 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-08 22:41:03] Production.INFO: count ==13 [2025-03-08 22:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:41:03] Production.INFO: count ==21 [2025-03-08 22:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638270') start [2025-03-08 22:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638270') end [2025-03-08 22:41:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:41:03] Production.INFO: 1 [2025-03-08 22:41:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:41:04] Production.ERROR: done [2025-03-08 22:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:41:04] Production.INFO: ==18777== Releasing lock... [2025-03-08 22:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:41:04] Production.ERROR: done [2025-03-08 22:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:41:05 [end_date_ymd] => 2025-03-08 22:41:05 [RateCDR] => 1 ) [2025-03-08 22:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:41:05' and `end` < '2025-03-08 22:41:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:41:11] Production.ERROR: CronJobId end10 [2025-03-08 22:41:11] Production.INFO: ==18771== Releasing lock... [2025-03-08 22:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:41:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:41:14] Production.INFO: call_cost start [2025-03-08 22:41:14] Production.INFO: call_cost end [2025-03-08 22:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:41:15] Production.INFO: ==18767== Releasing lock... [2025-03-08 22:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:41:17] Production.INFO: count ==1334 [2025-03-08 22:41:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:41:05 - End Time 2025-03-08 22:41:05 [2025-03-08 22:41:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638271', 'tblTempUsageDetail_20' ) start [2025-03-08 22:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638271', 'tblTempUsageDetail_20' ) end [2025-03-08 22:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638271', 'tblTempVendorCDR_20' ) start [2025-03-08 22:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638271', 'tblTempVendorCDR_20' ) end [2025-03-08 22:41:17] Production.INFO: ProcessCDR(1,14638271,1,1,2) [2025-03-08 22:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:41:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638271', 'tblTempUsageDetail_20' ) start [2025-03-08 22:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638271', 'tblTempUsageDetail_20' ) end [2025-03-08 22:41:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:41:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:41:21] Production.INFO: ==18775== Releasing lock... [2025-03-08 22:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:41:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 03:42:01] Production.INFO: ==18833== Lock acquired, processing the job... [2025-03-09 03:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:42:01] Production.INFO: neon service started [2025-03-09 03:42:01] Production.INFO: neon service started [2025-03-09 03:42:01] Production.INFO: ==18833== Releasing lock... [2025-03-09 03:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:42:02] Production.INFO: ==18835== Lock acquired, processing the job... [2025-03-08 22:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:42:02] Production.INFO: ==18835== Releasing lock... [2025-03-08 22:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:42:02] Production.INFO: ==18837== Lock acquired, processing the job... [2025-03-09 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:42:02] Production.INFO: ==18837== Releasing lock... [2025-03-09 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:42:03] Production.INFO: ==18846== Lock acquired, processing the job... [2025-03-08 22:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:42:03] Production.INFO: Account Balance Start. [2025-03-08 22:42:03] Production.INFO: CreateAllLog Start [2025-03-08 22:42:03] Production.INFO: ==18848== Lock acquired, processing the job... [2025-03-08 22:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:42:03] Production.INFO: 117 [2025-03-08 22:42:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:42:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:42:03] Production.INFO: ==18840== Lock acquired, processing the job... [2025-03-08 22:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:42:03] Production.INFO: Total Charge 0 [2025-03-08 22:42:03] Production.INFO: ==18844== Lock acquired, processing the job... [2025-03-08 22:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:42:03] Production.INFO: CreateAllLog End [2025-03-08 22:42:03] Production.INFO: ==18842== Lock acquired, processing the job... [2025-03-08 22:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:42:03] Production.INFO: ==18850== Lock acquired, processing the job... [2025-03-08 22:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:42:03] Production.INFO: Account Balance End. [2025-03-08 22:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:42:03] Production.INFO: count ==13 [2025-03-08 22:42:03] Production.ERROR: CronJobId end 12 [2025-03-08 22:42:03] Production.INFO: ==18846== Releasing lock... [2025-03-08 22:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:42:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:42:03] Production.INFO: count ==21 [2025-03-08 22:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638273') start [2025-03-08 22:42:04] Production.ERROR: done [2025-03-08 22:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638273') end [2025-03-08 22:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:42:04] Production.INFO: 1 [2025-03-08 22:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:42:04] Production.ERROR: done [2025-03-08 22:42:04] Production.INFO: ==18850== Releasing lock... [2025-03-08 22:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:42:04] Production.INFO: ==18842== Releasing lock... [2025-03-08 22:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:42:05 [end_date_ymd] => 2025-03-08 22:42:05 [RateCDR] => 1 ) [2025-03-08 22:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:42:05' and `end` < '2025-03-08 22:42:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:42:12] Production.ERROR: CronJobId end10 [2025-03-08 22:42:12] Production.INFO: ==18844== Releasing lock... [2025-03-08 22:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:42:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:42:14] Production.INFO: call_cost start [2025-03-08 22:42:14] Production.INFO: call_cost end [2025-03-08 22:42:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:42:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:42:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:42:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:42:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:42:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:42:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:42:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:42:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:42:15] Production.INFO: ==18840== Releasing lock... [2025-03-08 22:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:42:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:42:17] Production.INFO: count ==1334 [2025-03-08 22:42:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:42:05 - End Time 2025-03-08 22:42:05 [2025-03-08 22:42:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638276', 'tblTempUsageDetail_20' ) start [2025-03-08 22:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638276', 'tblTempUsageDetail_20' ) end [2025-03-08 22:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638276', 'tblTempVendorCDR_20' ) start [2025-03-08 22:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638276', 'tblTempVendorCDR_20' ) end [2025-03-08 22:42:17] Production.INFO: ProcessCDR(1,14638276,1,1,2) [2025-03-08 22:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638276', 'tblTempUsageDetail_20' ) start [2025-03-08 22:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638276', 'tblTempUsageDetail_20' ) end [2025-03-08 22:42:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:42:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:42:22] Production.INFO: ==18848== Releasing lock... [2025-03-08 22:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:42:22] Production.INFO: 38 MB #Memory Used# [2025-03-09 03:43:01] Production.INFO: ==18903== Lock acquired, processing the job... [2025-03-09 03:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:43:01] Production.INFO: neon service started [2025-03-09 03:43:01] Production.INFO: neon service started [2025-03-09 03:43:01] Production.INFO: ==18903== Releasing lock... [2025-03-09 03:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:43:01] Production.INFO: ==18905== Lock acquired, processing the job... [2025-03-08 22:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:43:02] Production.INFO: ==18905== Releasing lock... [2025-03-08 22:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:43:02] Production.INFO: ==18907== Lock acquired, processing the job... [2025-03-09 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:43:02] Production.INFO: ==18907== Releasing lock... [2025-03-09 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:43:02] Production.INFO: ==18910== Lock acquired, processing the job... [2025-03-08 22:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:43:03] Production.INFO: ==18912== Lock acquired, processing the job... [2025-03-08 22:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:43:03] Production.INFO: ==18916== Lock acquired, processing the job... [2025-03-08 22:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:43:03] Production.INFO: ==18914== Lock acquired, processing the job... [2025-03-08 22:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:43:03] Production.INFO: Account Balance Start. [2025-03-08 22:43:03] Production.INFO: CreateAllLog Start [2025-03-08 22:43:03] Production.INFO: 117 [2025-03-08 22:43:03] Production.INFO: ==18918== Lock acquired, processing the job... [2025-03-08 22:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:43:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:43:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:43:03] Production.INFO: ==18920== Lock acquired, processing the job... [2025-03-08 22:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:43:03] Production.INFO: Total Charge 0 [2025-03-08 22:43:03] Production.INFO: CreateAllLog End [2025-03-08 22:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:43:03] Production.INFO: count ==13 [2025-03-08 22:43:03] Production.INFO: ==18912== Releasing lock... [2025-03-08 22:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:43:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:43:03] Production.INFO: count ==21 [2025-03-08 22:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638280') start [2025-03-08 22:43:03] Production.INFO: Account Balance End. [2025-03-08 22:43:03] Production.ERROR: CronJobId end 12 [2025-03-08 22:43:03] Production.INFO: ==18916== Releasing lock... [2025-03-08 22:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:43:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:43:03] Production.ERROR: done [2025-03-08 22:43:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638280') end [2025-03-08 22:43:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:43:03] Production.INFO: 1 [2025-03-08 22:43:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:43:03] Production.ERROR: done [2025-03-08 22:43:03] Production.INFO: ==18920== Releasing lock... [2025-03-08 22:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:43:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:43:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:43:04 [end_date_ymd] => 2025-03-08 22:43:04 [RateCDR] => 1 ) [2025-03-08 22:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:43:04' and `end` < '2025-03-08 22:43:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:43:11] Production.ERROR: CronJobId end10 [2025-03-08 22:43:11] Production.INFO: ==18914== Releasing lock... [2025-03-08 22:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:43:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:43:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:43:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:43:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:43:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:43:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:43:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:43:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:43:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:43:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:43:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:43:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:43:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:43:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:43:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:43:13] Production.INFO: call_cost start [2025-03-08 22:43:13] Production.INFO: call_cost end [2025-03-08 22:43:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:43:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:43:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:43:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:43:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:43:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:43:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:43:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:43:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:43:14] Production.INFO: ==18910== Releasing lock... [2025-03-08 22:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:43:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:43:17] Production.INFO: count ==1334 [2025-03-08 22:43:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:43:04 - End Time 2025-03-08 22:43:04 [2025-03-08 22:43:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638281', 'tblTempUsageDetail_20' ) start [2025-03-08 22:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638281', 'tblTempUsageDetail_20' ) end [2025-03-08 22:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638281', 'tblTempVendorCDR_20' ) start [2025-03-08 22:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638281', 'tblTempVendorCDR_20' ) end [2025-03-08 22:43:17] Production.INFO: ProcessCDR(1,14638281,1,1,2) [2025-03-08 22:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:43:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638281', 'tblTempUsageDetail_20' ) start [2025-03-08 22:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638281', 'tblTempUsageDetail_20' ) end [2025-03-08 22:43:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:43:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:43:20] Production.INFO: ==18918== Releasing lock... [2025-03-08 22:43:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:43:20] Production.INFO: 38 MB #Memory Used# [2025-03-09 03:44:01] Production.INFO: ==18976== Lock acquired, processing the job... [2025-03-09 03:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:44:01] Production.INFO: neon service started [2025-03-09 03:44:01] Production.INFO: neon service started [2025-03-09 03:44:01] Production.INFO: ==18976== Releasing lock... [2025-03-09 03:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:44:02] Production.INFO: ==18978== Lock acquired, processing the job... [2025-03-08 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:44:02] Production.INFO: ==18980== Lock acquired, processing the job... [2025-03-09 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:44:02] Production.INFO: ==18980== Releasing lock... [2025-03-09 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:44:02] Production.INFO: ==18978== Releasing lock... [2025-03-08 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:44:03] Production.INFO: ==18983== Lock acquired, processing the job... [2025-03-08 22:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:44:03] Production.INFO: ==18985== Lock acquired, processing the job... [2025-03-08 22:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:44:03] Production.INFO: ==18987== Lock acquired, processing the job... [2025-03-08 22:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:44:04] Production.INFO: ==18989== Lock acquired, processing the job... [2025-03-08 22:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:44:04] Production.INFO: ==18991== Lock acquired, processing the job... [2025-03-08 22:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:44:04] Production.INFO: ==18993== Lock acquired, processing the job... [2025-03-08 22:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:44:04] Production.INFO: Account Balance Start. [2025-03-08 22:44:04] Production.INFO: CreateAllLog Start [2025-03-08 22:44:04] Production.INFO: 117 [2025-03-08 22:44:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:44:04] Production.INFO: Reseller ==> 0 [2025-03-08 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-08 22:44:04] Production.INFO: Total Charge 0 [2025-03-08 22:44:04] Production.INFO: CreateAllLog End [2025-03-08 22:44:04] Production.INFO: count ==13 [2025-03-08 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-08 22:44:04] Production.INFO: count ==21 [2025-03-08 22:44:04] Production.INFO: ==18985== Releasing lock... [2025-03-08 22:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638285') start [2025-03-08 22:44:04] Production.ERROR: done [2025-03-08 22:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638285') end [2025-03-08 22:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:44:04] Production.INFO: 1 [2025-03-08 22:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:44:04] Production.INFO: ==18993== Releasing lock... [2025-03-08 22:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:44:04] Production.ERROR: done [2025-03-08 22:44:04] Production.INFO: Account Balance End. [2025-03-08 22:44:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:44:04] Production.INFO: ==18989== Releasing lock... [2025-03-08 22:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:44:05 [end_date_ymd] => 2025-03-08 22:44:05 [RateCDR] => 1 ) [2025-03-08 22:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:44:05' and `end` < '2025-03-08 22:44:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:44:12] Production.ERROR: CronJobId end10 [2025-03-08 22:44:12] Production.INFO: ==18987== Releasing lock... [2025-03-08 22:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:44:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:44:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:44:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:44:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:44:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:44:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:44:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:44:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:44:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:44:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:44:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:44:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:44:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:44:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:44:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:44:15] Production.INFO: call_cost start [2025-03-08 22:44:15] Production.INFO: call_cost end [2025-03-08 22:44:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:44:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:44:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:44:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:44:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:44:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:44:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:44:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:44:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:44:16] Production.INFO: ==18983== Releasing lock... [2025-03-08 22:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:44:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:44:18] Production.INFO: count ==1333 [2025-03-08 22:44:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:44:05 - End Time 2025-03-08 22:44:05 [2025-03-08 22:44:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638286', 'tblTempUsageDetail_20' ) start [2025-03-08 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638286', 'tblTempUsageDetail_20' ) end [2025-03-08 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638286', 'tblTempVendorCDR_20' ) start [2025-03-08 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638286', 'tblTempVendorCDR_20' ) end [2025-03-08 22:44:18] Production.INFO: ProcessCDR(1,14638286,1,1,2) [2025-03-08 22:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638286', 'tblTempUsageDetail_20' ) start [2025-03-08 22:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638286', 'tblTempUsageDetail_20' ) end [2025-03-08 22:44:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:44:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:44:22] Production.INFO: ==18991== Releasing lock... [2025-03-08 22:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:44:22] Production.INFO: 38 MB #Memory Used# [2025-03-09 03:45:02] Production.INFO: ==19055== Lock acquired, processing the job... [2025-03-09 03:45:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:45:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:45:02] Production.INFO: neon service started [2025-03-09 03:45:02] Production.INFO: neon service started [2025-03-09 03:45:02] Production.INFO: ==19055== Releasing lock... [2025-03-09 03:45:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:45:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:45:02] Production.INFO: ==19057== Lock acquired, processing the job... [2025-03-08 22:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:45:02] Production.INFO: ==19059== Lock acquired, processing the job... [2025-03-09 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:45:02] Production.INFO: ==19059== Releasing lock... [2025-03-09 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:45:03] Production.INFO: ==19057== Releasing lock... [2025-03-08 22:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:45:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:45:03] Production.INFO: ==19062== Lock acquired, processing the job... [2025-03-08 22:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:45:04] Production.INFO: ==19066== Lock acquired, processing the job... [2025-03-08 22:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:45:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:45:04] Production.INFO: ==19068== Lock acquired, processing the job... [2025-03-08 22:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:45:04] Production.INFO: Account Balance Start. [2025-03-08 22:45:04] Production.INFO: CreateAllLog Start [2025-03-08 22:45:04] Production.INFO: 117 [2025-03-08 22:45:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:45:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:45:04] Production.INFO: ==19064== Lock acquired, processing the job... [2025-03-08 22:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:45:04] Production.INFO: Total Charge 0 [2025-03-08 22:45:04] Production.INFO: ==19070== Lock acquired, processing the job... [2025-03-08 22:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:45:04] Production.INFO: CreateAllLog End [2025-03-08 22:45:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:45:04] Production.INFO: ==19072== Lock acquired, processing the job... [2025-03-08 22:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:45:04] Production.INFO: Account Balance End. [2025-03-08 22:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:45:04] Production.INFO: count ==13 [2025-03-08 22:45:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:45:04] Production.INFO: ==19068== Releasing lock... [2025-03-08 22:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:45:04] Production.INFO: count ==21 [2025-03-08 22:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638290') start [2025-03-08 22:45:04] Production.ERROR: done [2025-03-08 22:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:45:04] Production.INFO: ==19064== Releasing lock... [2025-03-08 22:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638290') end [2025-03-08 22:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:45:04] Production.INFO: 1 [2025-03-08 22:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:45:04] Production.INFO: ==19072== Releasing lock... [2025-03-08 22:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:45:04] Production.ERROR: done [2025-03-08 22:45:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:45:06 [end_date_ymd] => 2025-03-08 22:45:06 [RateCDR] => 1 ) [2025-03-08 22: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-08 19:45:06' and `end` < '2025-03-08 22: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-08 22:45:12] Production.ERROR: CronJobId end10 [2025-03-08 22:45:12] Production.INFO: ==19066== Releasing lock... [2025-03-08 22:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:45:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:45:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:45:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:45:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:45:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:45:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:45:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:45:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:45:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:45:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:45:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:45:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:45:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:45:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:45:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:45:14] Production.INFO: call_cost start [2025-03-08 22:45:14] Production.INFO: call_cost end [2025-03-08 22:45:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:45:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:45:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:45:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:45:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:45:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:45:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:45:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:45:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:45:15] Production.INFO: ==19062== Releasing lock... [2025-03-08 22:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:45:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:45:18] Production.INFO: count ==1334 [2025-03-08 22:45:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:45:06 - End Time 2025-03-08 22:45:06 [2025-03-08 22:45:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638291', 'tblTempUsageDetail_20' ) start [2025-03-08 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638291', 'tblTempUsageDetail_20' ) end [2025-03-08 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638291', 'tblTempVendorCDR_20' ) start [2025-03-08 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638291', 'tblTempVendorCDR_20' ) end [2025-03-08 22:45:18] Production.INFO: ProcessCDR(1,14638291,1,1,2) [2025-03-08 22:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:45:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:45:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638291', 'tblTempUsageDetail_20' ) start [2025-03-08 22:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638291', 'tblTempUsageDetail_20' ) end [2025-03-08 22:45:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:45:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:45:23] Production.INFO: ==19070== Releasing lock... [2025-03-08 22:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:45:23] Production.INFO: 38 MB #Memory Used# [2025-03-09 03:46:01] Production.INFO: ==19132== Lock acquired, processing the job... [2025-03-09 03:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:46:01] Production.INFO: neon service started [2025-03-09 03:46:01] Production.INFO: neon service started [2025-03-09 03:46:01] Production.INFO: ==19132== Releasing lock... [2025-03-09 03:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:46:02] Production.INFO: ==19134== Lock acquired, processing the job... [2025-03-08 22:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:46:02] Production.INFO: ==19136== Lock acquired, processing the job... [2025-03-09 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:46:02] Production.INFO: ==19136== Releasing lock... [2025-03-09 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:46:02] Production.INFO: ==19134== Releasing lock... [2025-03-08 22:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:46:03] Production.INFO: ==19147== Lock acquired, processing the job... [2025-03-08 22:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:46:03] Production.INFO: ==19149== Lock acquired, processing the job... [2025-03-08 22:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:46:03] Production.INFO: count ==13 [2025-03-08 22:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:46:03] Production.INFO: count ==21 [2025-03-08 22:46:04] Production.INFO: ==19139== Lock acquired, processing the job... [2025-03-08 22:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638292') start [2025-03-08 22:46:04] Production.INFO: ==19141== Lock acquired, processing the job... [2025-03-08 22:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:46:04] Production.ERROR: done [2025-03-08 22:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:46:04] Production.INFO: ==19145== Lock acquired, processing the job... [2025-03-08 22:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:46:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:46:04] Production.INFO: ==19143== Lock acquired, processing the job... [2025-03-08 22:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638292') end [2025-03-08 22:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:46:04] Production.INFO: 1 [2025-03-08 22:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:46:04] Production.INFO: ==19149== Releasing lock... [2025-03-08 22:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:46:04] Production.INFO: Account Balance Start. [2025-03-08 22:46:04] Production.INFO: CreateAllLog Start [2025-03-08 22:46:04] Production.ERROR: done [2025-03-08 22:46:04] Production.INFO: 117 [2025-03-08 22:46:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:46:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:46:04] Production.INFO: Total Charge 0 [2025-03-08 22:46:04] Production.INFO: CreateAllLog End [2025-03-08 22:46:04] Production.INFO: ==19141== Releasing lock... [2025-03-08 22:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:46:04] Production.INFO: Account Balance End. [2025-03-08 22:46:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:46:04] Production.INFO: ==19145== Releasing lock... [2025-03-08 22:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:46:05 [end_date_ymd] => 2025-03-08 22:46:05 [RateCDR] => 1 ) [2025-03-08 22:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:46:05' and `end` < '2025-03-08 22:46:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:46:14] Production.ERROR: CronJobId end10 [2025-03-08 22:46:14] Production.INFO: ==19143== Releasing lock... [2025-03-08 22:46:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:46:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:46:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:46:16] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:46:16] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:46:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:46:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:46:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:46:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:46:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:46:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:46:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:46:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:46:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:46:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:46:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:46:16] Production.INFO: call_cost start [2025-03-08 22:46:16] Production.INFO: call_cost end [2025-03-08 22:46:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:46:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:46:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:46:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:46:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:46:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:46:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:46:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:46:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:46:17] Production.INFO: ==19139== Releasing lock... [2025-03-08 22:46:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:46:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:46:17] Production.INFO: count ==1333 [2025-03-08 22:46:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:46:05 - End Time 2025-03-08 22:46:05 [2025-03-08 22:46:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638296', 'tblTempUsageDetail_20' ) start [2025-03-08 22:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638296', 'tblTempUsageDetail_20' ) end [2025-03-08 22:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638296', 'tblTempVendorCDR_20' ) start [2025-03-08 22:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638296', 'tblTempVendorCDR_20' ) end [2025-03-08 22:46:18] Production.INFO: ProcessCDR(1,14638296,1,1,2) [2025-03-08 22:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638296', 'tblTempUsageDetail_20' ) start [2025-03-08 22:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638296', 'tblTempUsageDetail_20' ) end [2025-03-08 22:46:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:46:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:46:21] Production.INFO: ==19147== Releasing lock... [2025-03-08 22:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:46:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 03:47:02] Production.INFO: ==19210== Lock acquired, processing the job... [2025-03-09 03:47:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:47:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:47:02] Production.INFO: neon service started [2025-03-09 03:47:02] Production.INFO: neon service started [2025-03-09 03:47:02] Production.INFO: ==19210== Releasing lock... [2025-03-09 03:47:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:47:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:47:02] Production.INFO: ==19215== Lock acquired, processing the job... [2025-03-09 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:47:02] Production.INFO: ==19215== Releasing lock... [2025-03-09 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:47:02] Production.INFO: ==19212== Lock acquired, processing the job... [2025-03-08 22:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:47:03] Production.INFO: ==19212== Releasing lock... [2025-03-08 22:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:47:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:47:03] Production.INFO: ==19217== Lock acquired, processing the job... [2025-03-08 22:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:47:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:47:04] Production.INFO: ==19221== Lock acquired, processing the job... [2025-03-08 22:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:47:04] Production.INFO: ==19223== Lock acquired, processing the job... [2025-03-08 22:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:47:04] Production.INFO: ==19219== Lock acquired, processing the job... [2025-03-08 22:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:47:04] Production.INFO: Account Balance Start. [2025-03-08 22:47:04] Production.INFO: CreateAllLog Start [2025-03-08 22:47:04] Production.INFO: 117 [2025-03-08 22:47:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:47:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:47:04] Production.INFO: Total Charge 0 [2025-03-08 22:47:04] Production.INFO: ==19225== Lock acquired, processing the job... [2025-03-08 22:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:47:04] Production.INFO: ==19227== Lock acquired, processing the job... [2025-03-08 22:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:47:04] Production.INFO: CreateAllLog End [2025-03-08 22:47:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:47:04] Production.INFO: ==19219== Releasing lock... [2025-03-08 22:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:47:04] Production.INFO: count ==13 [2025-03-08 22:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:47:04] Production.INFO: count ==21 [2025-03-08 22:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638300') start [2025-03-08 22:47:04] Production.INFO: Account Balance End. [2025-03-08 22:47:05] Production.ERROR: PBX CALL prc_importPBXExtension('14638300') end [2025-03-08 22:47:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:47:05] Production.INFO: 1 [2025-03-08 22:47:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:47:05] Production.ERROR: done [2025-03-08 22:47:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:47:05] Production.ERROR: CronJobId end 12 [2025-03-08 22:47:05] Production.INFO: ==19223== Releasing lock... [2025-03-08 22:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:47:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:47:05] Production.INFO: ==19227== Releasing lock... [2025-03-08 22:47:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:47:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:47:05] Production.ERROR: done [2025-03-08 22:47:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:47:06 [end_date_ymd] => 2025-03-08 22:47:06 [RateCDR] => 1 ) [2025-03-08 22: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-08 19:47:06' and `end` < '2025-03-08 22: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-08 22:47:14] Production.ERROR: CronJobId end10 [2025-03-08 22:47:14] Production.INFO: ==19221== Releasing lock... [2025-03-08 22:47:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:47:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:47:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:47:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:47:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:47:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:47:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:47:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:47:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:47:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:47:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:47:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:47:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:47:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:47:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:47:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:47:16] Production.INFO: call_cost start [2025-03-08 22:47:16] Production.INFO: call_cost end [2025-03-08 22:47:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:47:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:47:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:47:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:47:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:47:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:47:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:47:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:47:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:47:17] Production.INFO: ==19217== Releasing lock... [2025-03-08 22:47:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:47:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:47:18] Production.INFO: count ==1330 [2025-03-08 22:47:19] Production.ERROR: pbx CDR StartTime 2025-03-08 19:47:06 - End Time 2025-03-08 22:47:06 [2025-03-08 22:47:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638301', 'tblTempUsageDetail_20' ) start [2025-03-08 22:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638301', 'tblTempUsageDetail_20' ) end [2025-03-08 22:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638301', 'tblTempVendorCDR_20' ) start [2025-03-08 22:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638301', 'tblTempVendorCDR_20' ) end [2025-03-08 22:47:19] Production.INFO: ProcessCDR(1,14638301,1,1,2) [2025-03-08 22:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638301', 'tblTempUsageDetail_20' ) start [2025-03-08 22:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638301', 'tblTempUsageDetail_20' ) end [2025-03-08 22:47:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:47:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:47:22] Production.INFO: ==19225== Releasing lock... [2025-03-08 22:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:47:22] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 03:48:01] Production.INFO: ==19285== Lock acquired, processing the job... [2025-03-09 03:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:48:01] Production.INFO: neon service started [2025-03-09 03:48:01] Production.INFO: neon service started [2025-03-09 03:48:01] Production.INFO: ==19285== Releasing lock... [2025-03-09 03:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:48:02] Production.INFO: ==19287== Lock acquired, processing the job... [2025-03-08 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:48:02] Production.INFO: ==19289== Lock acquired, processing the job... [2025-03-09 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:48:02] Production.INFO: ==19289== Releasing lock... [2025-03-09 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:48:02] Production.INFO: ==19287== Releasing lock... [2025-03-08 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:48:03] Production.INFO: ==19300== Lock acquired, processing the job... [2025-03-08 22:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:48:03] Production.INFO: ==19295== Lock acquired, processing the job... [2025-03-08 22:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:48:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:48:03] Production.INFO: ==19291== Lock acquired, processing the job... [2025-03-08 22:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:48:03] Production.INFO: ==19293== Lock acquired, processing the job... [2025-03-08 22:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:48:03] Production.INFO: ==19297== Lock acquired, processing the job... [2025-03-08 22:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:48:03] Production.INFO: ==19302== Lock acquired, processing the job... [2025-03-08 22:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:48:03] Production.INFO: Account Balance Start. [2025-03-08 22:48:03] Production.INFO: CreateAllLog Start [2025-03-08 22:48:03] Production.INFO: 117 [2025-03-08 22:48:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:48:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:48:03] Production.INFO: Total Charge 0 [2025-03-08 22:48:03] Production.INFO: CreateAllLog End [2025-03-08 22:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:48:03] Production.ERROR: done [2025-03-08 22:48:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:48:04] Production.INFO: count ==13 [2025-03-08 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-08 22:48:04] Production.INFO: count ==21 [2025-03-08 22:48:04] Production.INFO: ==19293== Releasing lock... [2025-03-08 22:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638305') start [2025-03-08 22:48:04] Production.ERROR: done [2025-03-08 22:48:04] Production.INFO: Account Balance End. [2025-03-08 22:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638305') end [2025-03-08 22:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:48:04] Production.INFO: 1 [2025-03-08 22:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:48:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:48:04] Production.INFO: ==19297== Releasing lock... [2025-03-08 22:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:48:04] Production.INFO: ==19302== Releasing lock... [2025-03-08 22:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:48:05 [end_date_ymd] => 2025-03-08 22:48:05 [RateCDR] => 1 ) [2025-03-08 22:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:48:05' and `end` < '2025-03-08 22:48:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:48:10] Production.ERROR: CronJobId end10 [2025-03-08 22:48:10] Production.INFO: ==19295== Releasing lock... [2025-03-08 22:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:48:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:48:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:48:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:48:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:48:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:48:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:48:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:48:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:48:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:48:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:48:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:48:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:48:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:48:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:48:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:48:14] Production.INFO: call_cost start [2025-03-08 22:48:14] Production.INFO: call_cost end [2025-03-08 22:48:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:48:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:48:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:48:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:48:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:48:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:48:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:48:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:48:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:48:15] Production.INFO: ==19291== Releasing lock... [2025-03-08 22:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:48:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:48:17] Production.INFO: count ==1331 [2025-03-08 22:48:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:48:05 - End Time 2025-03-08 22:48:05 [2025-03-08 22:48:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638306', 'tblTempUsageDetail_20' ) start [2025-03-08 22:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638306', 'tblTempUsageDetail_20' ) end [2025-03-08 22:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638306', 'tblTempVendorCDR_20' ) start [2025-03-08 22:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638306', 'tblTempVendorCDR_20' ) end [2025-03-08 22:48:17] Production.INFO: ProcessCDR(1,14638306,1,1,2) [2025-03-08 22:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638306', 'tblTempUsageDetail_20' ) start [2025-03-08 22:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638306', 'tblTempUsageDetail_20' ) end [2025-03-08 22:48:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:48:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:48:22] Production.INFO: ==19300== Releasing lock... [2025-03-08 22:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:48:22] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 03:49:02] Production.INFO: ==19357== Lock acquired, processing the job... [2025-03-09 03:49:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:49:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:49:02] Production.INFO: neon service started [2025-03-09 03:49:02] Production.INFO: neon service started [2025-03-09 03:49:02] Production.INFO: ==19357== Releasing lock... [2025-03-09 03:49:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:49:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:49:02] Production.INFO: ==19361== Lock acquired, processing the job... [2025-03-09 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:49:02] Production.INFO: ==19361== Releasing lock... [2025-03-09 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:49:02] Production.INFO: ==19359== Lock acquired, processing the job... [2025-03-08 22:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:49:03] Production.INFO: ==19359== Releasing lock... [2025-03-08 22:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:49:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:49:04] Production.INFO: ==19369== Lock acquired, processing the job... [2025-03-08 22:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:49:04] Production.INFO: ==19363== Lock acquired, processing the job... [2025-03-08 22:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:49:04] Production.INFO: ==19373== Lock acquired, processing the job... [2025-03-08 22:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:49:04] Production.INFO: ==19365== Lock acquired, processing the job... [2025-03-08 22:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:49:04] Production.INFO: ==19367== Lock acquired, processing the job... [2025-03-08 22:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:49:04] Production.INFO: Account Balance Start. [2025-03-08 22:49:04] Production.INFO: CreateAllLog Start [2025-03-08 22:49:04] Production.INFO: 117 [2025-03-08 22:49:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:49:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:49:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:49:04] Production.INFO: Total Charge 0 [2025-03-08 22:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:49:04] Production.INFO: ==19371== Lock acquired, processing the job... [2025-03-08 22:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:49:04] Production.INFO: CreateAllLog End [2025-03-08 22:49:04] Production.INFO: count ==13 [2025-03-08 22:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:49:04] Production.INFO: count ==21 [2025-03-08 22:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638308') start [2025-03-08 22:49:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:49:04] Production.INFO: Account Balance End. [2025-03-08 22:49:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:49:04] Production.INFO: ==19369== Releasing lock... [2025-03-08 22:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638308') end [2025-03-08 22:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:49:04] Production.INFO: 1 [2025-03-08 22:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:49:04] Production.INFO: ==19365== Releasing lock... [2025-03-08 22:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:49:04] Production.INFO: ==19373== Releasing lock... [2025-03-08 22:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:49:04] Production.ERROR: done [2025-03-08 22:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:49:04] Production.ERROR: done [2025-03-08 22:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:49:05 [end_date_ymd] => 2025-03-08 22:49:05 [RateCDR] => 1 ) [2025-03-08 22:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:49:05' and `end` < '2025-03-08 22:49:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:49:13] Production.ERROR: CronJobId end10 [2025-03-08 22:49:13] Production.INFO: ==19367== Releasing lock... [2025-03-08 22:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:49:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:49:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:49:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:49:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:49:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:49:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:49:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:49:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:49:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:49:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:49:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:49:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:49:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:49:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:49:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:49:15] Production.INFO: call_cost start [2025-03-08 22:49:15] Production.INFO: call_cost end [2025-03-08 22:49:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:49:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:49:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:49:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:49:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:49:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:49:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:49:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:49:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:49:16] Production.INFO: ==19363== Releasing lock... [2025-03-08 22:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:49:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:49:17] Production.INFO: count ==1331 [2025-03-08 22:49:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:49:05 - End Time 2025-03-08 22:49:05 [2025-03-08 22:49:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638311', 'tblTempUsageDetail_20' ) start [2025-03-08 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638311', 'tblTempUsageDetail_20' ) end [2025-03-08 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638311', 'tblTempVendorCDR_20' ) start [2025-03-08 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638311', 'tblTempVendorCDR_20' ) end [2025-03-08 22:49:18] Production.INFO: ProcessCDR(1,14638311,1,1,2) [2025-03-08 22:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638311', 'tblTempUsageDetail_20' ) start [2025-03-08 22:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638311', 'tblTempUsageDetail_20' ) end [2025-03-08 22:49:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:49:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:49:21] Production.INFO: ==19371== Releasing lock... [2025-03-08 22:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:49:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 03:50:01] Production.INFO: ==19427== Lock acquired, processing the job... [2025-03-09 03:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:50:01] Production.INFO: neon service started [2025-03-09 03:50:01] Production.INFO: neon service started [2025-03-09 03:50:01] Production.INFO: ==19427== Releasing lock... [2025-03-09 03:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:50:02] Production.INFO: ==19429== Lock acquired, processing the job... [2025-03-08 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:50:02] Production.INFO: ==19431== Lock acquired, processing the job... [2025-03-09 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:50:02] Production.INFO: ==19431== Releasing lock... [2025-03-09 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:50:02] Production.INFO: ==19429== Releasing lock... [2025-03-08 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:50:03] Production.INFO: ==19438== Lock acquired, processing the job... [2025-03-08 22:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:50:03] Production.INFO: ==19434== Lock acquired, processing the job... [2025-03-08 22:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 22:50:03] Production.INFO: ==19444== Lock acquired, processing the job... [2025-03-08 22:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:50:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 22:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 22:50:03] Production.ERROR: CronJob PID - 19438 [2025-03-08 22:50:03] Production.ERROR: CronJob Title - Account Block [2025-03-08 22:50:03] Production.ERROR: CronJob ID - 7 [2025-03-08 22:50:03] Production.ERROR: CronJob Last Run Time 2025-03-08 22:50:00 [2025-03-08 22:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 22:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 22:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 22:50:03] Production.ERROR: CronJob PID - 19444 [2025-03-08 22:50:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-08 22:50:03] Production.ERROR: CronJob ID - 16 [2025-03-08 22:50:03] Production.ERROR: CronJob Last Run Time 2025-03-08 22:50:00 [2025-03-08 22:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 22:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 22:50:03] Production.INFO: ==19436== Lock acquired, processing the job... [2025-03-08 22:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:50:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:50:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 22:50:03] Production.INFO: ==19434== Releasing lock... [2025-03-08 22:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 22:50:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 22:50:04] Production.INFO: ==19448== Lock acquired, processing the job... [2025-03-08 22:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:50:04] Production.INFO: ==19446== Lock acquired, processing the job... [2025-03-08 22:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 22:50:04] Production.INFO: ==19440== Lock acquired, processing the job... [2025-03-08 22:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:50:04] Production.INFO: ==19442== Lock acquired, processing the job... [2025-03-08 22:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:50:04] Production.INFO: ==19438== Releasing lock... [2025-03-08 22:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 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-08 22:50:04] Production.INFO: Account Balance Start. [2025-03-08 22:50:04] Production.INFO: CreateAllLog Start [2025-03-08 22:50:04] Production.INFO: 117 [2025-03-08 22:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:50:04] Production.INFO: count ==13 [2025-03-08 22:50:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:50:04] Production.INFO: count ==21 [2025-03-08 22:50:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638314') start [2025-03-08 22:50:04] Production.ERROR: done [2025-03-08 22:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:50:04] Production.INFO: Total Charge 0 [2025-03-08 22:50:04] Production.INFO: CreateAllLog End [2025-03-08 22:50:04] Production.ERROR: done [2025-03-08 22:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 22:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638316', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 22:50:04] Production.ERROR: done [2025-03-08 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638314') end [2025-03-08 22:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:50:04] Production.INFO: 1 [2025-03-08 22:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:50:04] Production.INFO: ==19448== Releasing lock... [2025-03-08 22:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:50:04] Production.INFO: Account Balance End. [2025-03-08 22:50:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:50:04] Production.INFO: ==19442== Releasing lock... [2025-03-08 22:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:50:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:50:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:50:05 [end_date_ymd] => 2025-03-08 22:50:05 [RateCDR] => 1 ) [2025-03-08 22:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:50:05' and `end` < '2025-03-08 22:50:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638316', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 22:50:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 22:50:08] Production.INFO: ProcessCDR(1,14638316,1,1,2) [2025-03-08 22:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14638316,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14638316,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:50:09] Production.INFO: ==19446== Releasing lock... [2025-03-08 22:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 22:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-08 22:50:13] Production.ERROR: CronJobId end10 [2025-03-08 22:50:13] Production.INFO: ==19440== Releasing lock... [2025-03-08 22:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:50:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:50:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:50:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:50:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:50:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:50:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:50:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:50:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:50:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:50:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:50:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:50:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:50:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:50:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:50:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:50:15] Production.INFO: call_cost start [2025-03-08 22:50:15] Production.INFO: call_cost end [2025-03-08 22:50:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:50:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:50:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:50:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:50:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:50:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:50:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:50:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:50:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:50:16] Production.INFO: ==19436== Releasing lock... [2025-03-08 22:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:50:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:50:18] Production.INFO: count ==1327 [2025-03-08 22:50:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:50:05 - End Time 2025-03-08 22:50:05 [2025-03-08 22:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638317', 'tblTempUsageDetail_20' ) start [2025-03-08 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638317', 'tblTempUsageDetail_20' ) end [2025-03-08 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638317', 'tblTempVendorCDR_20' ) start [2025-03-08 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638317', 'tblTempVendorCDR_20' ) end [2025-03-08 22:50:18] Production.INFO: ProcessCDR(1,14638317,1,1,2) [2025-03-08 22:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638317', 'tblTempUsageDetail_20' ) start [2025-03-08 22:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638317', 'tblTempUsageDetail_20' ) end [2025-03-08 22:50:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:50:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:50:21] Production.INFO: ==19444== Releasing lock... [2025-03-08 22:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:50:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 03:51:02] Production.INFO: ==19502== Lock acquired, processing the job... [2025-03-09 03:51:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:51:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:51:02] Production.INFO: neon service started [2025-03-09 03:51:02] Production.INFO: neon service started [2025-03-09 03:51:02] Production.INFO: ==19502== Releasing lock... [2025-03-09 03:51:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:51:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:51:02] Production.INFO: ==19504== Lock acquired, processing the job... [2025-03-08 22:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:51:02] Production.INFO: ==19506== Lock acquired, processing the job... [2025-03-09 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:51:02] Production.INFO: ==19506== Releasing lock... [2025-03-09 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:51:03] Production.INFO: ==19504== Releasing lock... [2025-03-08 22:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:51:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:51:03] Production.INFO: ==19509== Lock acquired, processing the job... [2025-03-08 22:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:51:03] Production.INFO: ==19511== Lock acquired, processing the job... [2025-03-08 22:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:51:03] Production.INFO: ==19517== Lock acquired, processing the job... [2025-03-08 22:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:51:04] Production.INFO: ==19513== Lock acquired, processing the job... [2025-03-08 22:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:51:04] Production.INFO: ==19519== Lock acquired, processing the job... [2025-03-08 22:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:51:04] Production.INFO: ==19515== Lock acquired, processing the job... [2025-03-08 22:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:51:04] Production.ERROR: done [2025-03-08 22:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:51:04] Production.INFO: Account Balance Start. [2025-03-08 22:51:04] Production.INFO: CreateAllLog Start [2025-03-08 22:51:04] Production.INFO: 117 [2025-03-08 22:51:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:51:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:51:04] Production.INFO: Total Charge 0 [2025-03-08 22:51:04] Production.INFO: count ==13 [2025-03-08 22:51:04] Production.INFO: CreateAllLog End [2025-03-08 22:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:51:04] Production.INFO: ==19511== Releasing lock... [2025-03-08 22:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:51:04] Production.ERROR: done [2025-03-08 22:51:04] Production.INFO: count ==21 [2025-03-08 22:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638321') start [2025-03-08 22:51:04] Production.INFO: Account Balance End. [2025-03-08 22:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638321') end [2025-03-08 22:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:51:04] Production.INFO: 1 [2025-03-08 22:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:51:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:51:04] Production.INFO: ==19515== Releasing lock... [2025-03-08 22:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:51:04] Production.INFO: ==19519== Releasing lock... [2025-03-08 22:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:51:05 [end_date_ymd] => 2025-03-08 22:51:05 [RateCDR] => 1 ) [2025-03-08 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-08 19:51:05' and `end` < '2025-03-08 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-08 22:51:12] Production.ERROR: CronJobId end10 [2025-03-08 22:51:12] Production.INFO: ==19513== Releasing lock... [2025-03-08 22:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:51:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:51:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:51:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:51:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:51:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:51:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:51:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:51:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:51:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:51:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:51:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:51:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:51:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:51:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:51:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:51:13] Production.INFO: call_cost start [2025-03-08 22:51:13] Production.INFO: call_cost end [2025-03-08 22:51:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:51:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:51:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:51:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:51:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:51:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:51:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:51:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:51:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:51:14] Production.INFO: ==19509== Releasing lock... [2025-03-08 22:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:51:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:51:17] Production.INFO: count ==1334 [2025-03-08 22:51:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:51:05 - End Time 2025-03-08 22:51:05 [2025-03-08 22:51:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638322', 'tblTempUsageDetail_20' ) start [2025-03-08 22:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638322', 'tblTempUsageDetail_20' ) end [2025-03-08 22:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638322', 'tblTempVendorCDR_20' ) start [2025-03-08 22:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638322', 'tblTempVendorCDR_20' ) end [2025-03-08 22:51:18] Production.INFO: ProcessCDR(1,14638322,1,1,2) [2025-03-08 22:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638322', 'tblTempUsageDetail_20' ) start [2025-03-08 22:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638322', 'tblTempUsageDetail_20' ) end [2025-03-08 22:51:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:51:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:51:21] Production.INFO: ==19517== Releasing lock... [2025-03-08 22:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:51:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 03:52:01] Production.INFO: ==19571== Lock acquired, processing the job... [2025-03-09 03:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:52:01] Production.INFO: neon service started [2025-03-09 03:52:01] Production.INFO: neon service started [2025-03-09 03:52:01] Production.INFO: ==19571== Releasing lock... [2025-03-09 03:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:52:01] Production.INFO: ==19575== Lock acquired, processing the job... [2025-03-09 03:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:52:01] Production.INFO: ==19575== Releasing lock... [2025-03-09 03:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:52:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:52:02] Production.INFO: ==19573== Lock acquired, processing the job... [2025-03-08 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:52:02] Production.INFO: ==19573== Releasing lock... [2025-03-08 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:52:03] Production.INFO: ==19577== Lock acquired, processing the job... [2025-03-08 22:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:52:03] Production.INFO: ==19585== Lock acquired, processing the job... [2025-03-08 22:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:52:03] Production.INFO: ==19579== Lock acquired, processing the job... [2025-03-08 22:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:52:03] Production.INFO: ==19581== Lock acquired, processing the job... [2025-03-08 22:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:52:03] Production.INFO: ==19583== Lock acquired, processing the job... [2025-03-08 22:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:52:03] Production.INFO: ==19588== Lock acquired, processing the job... [2025-03-08 22:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:52:03] Production.INFO: Account Balance Start. [2025-03-08 22:52:03] Production.INFO: CreateAllLog Start [2025-03-08 22:52:03] Production.INFO: 117 [2025-03-08 22:52:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:52:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:52:03] Production.INFO: Total Charge 0 [2025-03-08 22:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:52:03] Production.INFO: CreateAllLog End [2025-03-08 22:52:03] Production.INFO: count ==13 [2025-03-08 22:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:52:03] Production.INFO: count ==21 [2025-03-08 22:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638326') start [2025-03-08 22:52:03] Production.ERROR: done [2025-03-08 22:52:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:52:03] Production.INFO: ==19579== Releasing lock... [2025-03-08 22:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:52:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:52:03] Production.INFO: Account Balance End. [2025-03-08 22:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638326') end [2025-03-08 22:52:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:52:03] Production.INFO: 1 [2025-03-08 22:52:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:52:03] Production.ERROR: done [2025-03-08 22:52:03] Production.ERROR: CronJobId end 12 [2025-03-08 22:52:03] Production.INFO: ==19583== Releasing lock... [2025-03-08 22:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:52:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:52:03] Production.INFO: ==19588== Releasing lock... [2025-03-08 22:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:52:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:52:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:52:04 [end_date_ymd] => 2025-03-08 22:52:04 [RateCDR] => 1 ) [2025-03-08 22:52:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:52:04' and `end` < '2025-03-08 22:52:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:52:11] Production.ERROR: CronJobId end10 [2025-03-08 22:52:11] Production.INFO: ==19581== Releasing lock... [2025-03-08 22:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:52:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:52:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:52:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:52:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:52:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:52:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:52:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:52:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:52:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:52:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:52:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:52:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:52:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:52:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:52:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:52:14] Production.INFO: call_cost start [2025-03-08 22:52:14] Production.INFO: call_cost end [2025-03-08 22:52:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:52:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:52:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:52:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:52:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:52:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:52:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:52:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:52:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:52:15] Production.INFO: ==19577== Releasing lock... [2025-03-08 22:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:52:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:52:17] Production.INFO: count ==1340 [2025-03-08 22:52:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:52:04 - End Time 2025-03-08 22:52:04 [2025-03-08 22:52:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638327', 'tblTempUsageDetail_20' ) start [2025-03-08 22:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638327', 'tblTempUsageDetail_20' ) end [2025-03-08 22:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638327', 'tblTempVendorCDR_20' ) start [2025-03-08 22:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638327', 'tblTempVendorCDR_20' ) end [2025-03-08 22:52:17] Production.INFO: ProcessCDR(1,14638327,1,1,2) [2025-03-08 22:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638327', 'tblTempUsageDetail_20' ) start [2025-03-08 22:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638327', 'tblTempUsageDetail_20' ) end [2025-03-08 22:52:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:52:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:52:21] Production.INFO: ==19585== Releasing lock... [2025-03-08 22:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:52:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 03:53:01] Production.INFO: ==19689== Lock acquired, processing the job... [2025-03-09 03:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:53:01] Production.INFO: neon service started [2025-03-09 03:53:01] Production.INFO: neon service started [2025-03-09 03:53:01] Production.INFO: ==19689== Releasing lock... [2025-03-09 03:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:53:02] Production.INFO: ==19691== Lock acquired, processing the job... [2025-03-08 22:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:53:02] Production.INFO: ==19691== Releasing lock... [2025-03-08 22:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:53:02] Production.INFO: ==19693== Lock acquired, processing the job... [2025-03-09 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:53:02] Production.INFO: ==19693== Releasing lock... [2025-03-09 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:53:03] Production.INFO: ==19705== Lock acquired, processing the job... [2025-03-08 22:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:53:03] Production.INFO: ==19703== Lock acquired, processing the job... [2025-03-08 22:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:53:03] Production.INFO: ==19695== Lock acquired, processing the job... [2025-03-08 22:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:53:03] Production.INFO: ==19697== Lock acquired, processing the job... [2025-03-08 22:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:53:03] Production.INFO: count ==13 [2025-03-08 22:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:53:03] Production.INFO: ==19699== Lock acquired, processing the job... [2025-03-08 22:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:53:03] Production.INFO: count ==21 [2025-03-08 22:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638328') start [2025-03-08 22:53:03] Production.INFO: ==19701== Lock acquired, processing the job... [2025-03-08 22:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638328') end [2025-03-08 22:53:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:53:03] Production.INFO: 1 [2025-03-08 22:53:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:53:03] Production.INFO: Account Balance Start. [2025-03-08 22:53:03] Production.INFO: CreateAllLog Start [2025-03-08 22:53:03] Production.INFO: 117 [2025-03-08 22:53:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:53:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:53:04] Production.INFO: Total Charge 0 [2025-03-08 22:53:04] Production.INFO: CreateAllLog End [2025-03-08 22:53:04] Production.INFO: ==19705== Releasing lock... [2025-03-08 22:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:53:04] Production.ERROR: done [2025-03-08 22:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:53:04] Production.INFO: ==19697== Releasing lock... [2025-03-08 22:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:53:04] Production.INFO: Account Balance End. [2025-03-08 22:53:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:53:04] Production.INFO: ==19701== Releasing lock... [2025-03-08 22:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:53:04] Production.ERROR: done [2025-03-08 22:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:53:05 [end_date_ymd] => 2025-03-08 22:53:05 [RateCDR] => 1 ) [2025-03-08 22:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:53:05' and `end` < '2025-03-08 22:53:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:53:11] Production.ERROR: CronJobId end10 [2025-03-08 22:53:11] Production.INFO: ==19699== Releasing lock... [2025-03-08 22:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:53:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:53:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:53:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:53:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:53:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:53:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:53:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:53:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:53:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:53:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:53:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:53:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:53:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:53:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:53:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:53:13] Production.INFO: call_cost start [2025-03-08 22:53:13] Production.INFO: call_cost end [2025-03-08 22:53:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:53:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:53:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:53:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:53:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:53:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:53:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:53:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:53:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:53:14] Production.INFO: ==19695== Releasing lock... [2025-03-08 22:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:53:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:53:17] Production.INFO: count ==1341 [2025-03-08 22:53:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:53:05 - End Time 2025-03-08 22:53:05 [2025-03-08 22:53:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638332', 'tblTempUsageDetail_20' ) start [2025-03-08 22:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638332', 'tblTempUsageDetail_20' ) end [2025-03-08 22:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638332', 'tblTempVendorCDR_20' ) start [2025-03-08 22:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638332', 'tblTempVendorCDR_20' ) end [2025-03-08 22:53:17] Production.INFO: ProcessCDR(1,14638332,1,1,2) [2025-03-08 22:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:53:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638332', 'tblTempUsageDetail_20' ) start [2025-03-08 22:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638332', 'tblTempUsageDetail_20' ) end [2025-03-08 22:53:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:53:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:53:20] Production.INFO: ==19703== Releasing lock... [2025-03-08 22:53:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:53:20] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 03:54:02] Production.INFO: ==19762== Lock acquired, processing the job... [2025-03-09 03:54:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:54:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:54:02] Production.INFO: neon service started [2025-03-09 03:54:02] Production.INFO: neon service started [2025-03-09 03:54:02] Production.INFO: ==19762== Releasing lock... [2025-03-09 03:54:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:54:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:54:02] Production.INFO: ==19764== Lock acquired, processing the job... [2025-03-08 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:54:02] Production.INFO: ==19764== Releasing lock... [2025-03-08 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:54:03] Production.INFO: ==19766== Lock acquired, processing the job... [2025-03-09 03:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:54:03] Production.INFO: ==19766== Releasing lock... [2025-03-09 03:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:54:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:54:03] Production.INFO: ==19774== Lock acquired, processing the job... [2025-03-08 22:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:54:03] Production.INFO: ==19776== Lock acquired, processing the job... [2025-03-08 22:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:54:03] Production.INFO: ==19768== Lock acquired, processing the job... [2025-03-08 22:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:54:04] Production.INFO: Account Balance Start. [2025-03-08 22:54:04] Production.INFO: CreateAllLog Start [2025-03-08 22:54:04] Production.INFO: 117 [2025-03-08 22:54:04] Production.INFO: ==19770== Lock acquired, processing the job... [2025-03-08 22:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:54:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:54:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:54:04] Production.INFO: ==19772== Lock acquired, processing the job... [2025-03-08 22:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:54:04] Production.INFO: ==19778== Lock acquired, processing the job... [2025-03-08 22:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:54:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:54:04] Production.INFO: Total Charge 0 [2025-03-08 22:54:04] Production.INFO: CreateAllLog End [2025-03-08 22:54:04] Production.ERROR: done [2025-03-08 22:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:54:04] Production.INFO: count ==13 [2025-03-08 22:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:54:04] Production.INFO: count ==21 [2025-03-08 22:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638336') start [2025-03-08 22:54:04] Production.INFO: ==19770== Releasing lock... [2025-03-08 22:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:54:04] Production.ERROR: done [2025-03-08 22:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638336') end [2025-03-08 22:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:54:04] Production.INFO: 1 [2025-03-08 22:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:54:04] Production.INFO: Account Balance End. [2025-03-08 22:54:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:54:04] Production.INFO: ==19774== Releasing lock... [2025-03-08 22:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:54:04] Production.INFO: ==19778== Releasing lock... [2025-03-08 22:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:54:05 [end_date_ymd] => 2025-03-08 22:54:05 [RateCDR] => 1 ) [2025-03-08 22:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:54:05' and `end` < '2025-03-08 22:54:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:54:11] Production.ERROR: CronJobId end10 [2025-03-08 22:54:11] Production.INFO: ==19772== Releasing lock... [2025-03-08 22:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:54:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:54:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:54:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:54:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:54:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:54:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:54:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:54:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:54:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:54:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:54:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:54:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:54:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:54:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:54:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:54:14] Production.INFO: call_cost start [2025-03-08 22:54:14] Production.INFO: call_cost end [2025-03-08 22:54:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:54:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:54:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:54:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:54:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:54:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:54:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:54:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:54:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:54:15] Production.INFO: ==19768== Releasing lock... [2025-03-08 22:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:54:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:54:17] Production.INFO: count ==1333 [2025-03-08 22:54:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:54:05 - End Time 2025-03-08 22:54:05 [2025-03-08 22:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638337', 'tblTempUsageDetail_20' ) start [2025-03-08 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638337', 'tblTempUsageDetail_20' ) end [2025-03-08 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638337', 'tblTempVendorCDR_20' ) start [2025-03-08 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638337', 'tblTempVendorCDR_20' ) end [2025-03-08 22:54:18] Production.INFO: ProcessCDR(1,14638337,1,1,2) [2025-03-08 22:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638337', 'tblTempUsageDetail_20' ) start [2025-03-08 22:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638337', 'tblTempUsageDetail_20' ) end [2025-03-08 22:54:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:54:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:54:21] Production.INFO: ==19776== Releasing lock... [2025-03-08 22:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:54:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 03:55:01] Production.INFO: ==19831== Lock acquired, processing the job... [2025-03-09 03:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:55:01] Production.INFO: neon service started [2025-03-09 03:55:01] Production.INFO: neon service started [2025-03-09 03:55:01] Production.INFO: ==19831== Releasing lock... [2025-03-09 03:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:55:02] Production.INFO: ==19835== Lock acquired, processing the job... [2025-03-09 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 22:55:02] Production.INFO: ==19833== Lock acquired, processing the job... [2025-03-08 22:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:55:02] Production.INFO: ==19835== Releasing lock... [2025-03-09 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:55:02] Production.INFO: ==19833== Releasing lock... [2025-03-08 22:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:55:03] Production.INFO: ==19838== Lock acquired, processing the job... [2025-03-08 22:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:55:03] Production.INFO: ==19842== Lock acquired, processing the job... [2025-03-08 22:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:55:03] Production.INFO: ==19848== Lock acquired, processing the job... [2025-03-08 22:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:55:03] Production.INFO: count ==13 [2025-03-08 22:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:55:03] Production.INFO: count ==21 [2025-03-08 22:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638339') start [2025-03-08 22:55:03] Production.INFO: ==19846== Lock acquired, processing the job... [2025-03-08 22:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638339') end [2025-03-08 22:55:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:55:03] Production.INFO: 1 [2025-03-08 22:55:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:55:03] Production.INFO: ==19840== Lock acquired, processing the job... [2025-03-08 22:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:55:03] Production.INFO: ==19848== Releasing lock... [2025-03-08 22:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:55:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:55:03] Production.INFO: ==19844== Lock acquired, processing the job... [2025-03-08 22:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:55:04] Production.ERROR: done [2025-03-08 22:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:55:04] Production.INFO: Account Balance Start. [2025-03-08 22:55:04] Production.INFO: CreateAllLog Start [2025-03-08 22:55:04] Production.INFO: 117 [2025-03-08 22:55:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:55:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:55:04] Production.INFO: Total Charge 0 [2025-03-08 22:55:04] Production.INFO: CreateAllLog End [2025-03-08 22:55:04] Production.ERROR: done [2025-03-08 22:55:04] Production.INFO: Account Balance End. [2025-03-08 22:55:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:55:04] Production.INFO: ==19844== Releasing lock... [2025-03-08 22:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:55:04] Production.INFO: ==19840== Releasing lock... [2025-03-08 22:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:55:05 [end_date_ymd] => 2025-03-08 22:55:05 [RateCDR] => 1 ) [2025-03-08 22:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:55:05' and `end` < '2025-03-08 22:55:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:55:11] Production.ERROR: CronJobId end10 [2025-03-08 22:55:11] Production.INFO: ==19842== Releasing lock... [2025-03-08 22:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:55:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:55:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:55:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:55:14] Production.INFO: call_cost start [2025-03-08 22:55:14] Production.INFO: call_cost end [2025-03-08 22:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:55:15] Production.INFO: ==19838== Releasing lock... [2025-03-08 22:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:55:17] Production.INFO: count ==1328 [2025-03-08 22:55:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:55:05 - End Time 2025-03-08 22:55:05 [2025-03-08 22:55:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638342', 'tblTempUsageDetail_20' ) start [2025-03-08 22:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638342', 'tblTempUsageDetail_20' ) end [2025-03-08 22:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638342', 'tblTempVendorCDR_20' ) start [2025-03-08 22:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638342', 'tblTempVendorCDR_20' ) end [2025-03-08 22:55:17] Production.INFO: ProcessCDR(1,14638342,1,1,2) [2025-03-08 22:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:55:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638342', 'tblTempUsageDetail_20' ) start [2025-03-08 22:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638342', 'tblTempUsageDetail_20' ) end [2025-03-08 22:55:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:55:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:55:20] Production.INFO: ==19846== Releasing lock... [2025-03-08 22:55:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:55:20] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 03:56:02] Production.INFO: ==19910== Lock acquired, processing the job... [2025-03-09 03:56:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:56:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:56:02] Production.INFO: neon service started [2025-03-09 03:56:02] Production.INFO: neon service started [2025-03-09 03:56:02] Production.INFO: ==19910== Releasing lock... [2025-03-09 03:56:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:56:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:56:02] Production.INFO: ==19912== Lock acquired, processing the job... [2025-03-08 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:56:02] Production.INFO: ==19914== Lock acquired, processing the job... [2025-03-09 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:56:02] Production.INFO: ==19914== Releasing lock... [2025-03-09 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:56:03] Production.INFO: ==19912== Releasing lock... [2025-03-08 22:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:56:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:56:03] Production.INFO: ==19919== Lock acquired, processing the job... [2025-03-08 22:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:56:03] Production.INFO: ==19927== Lock acquired, processing the job... [2025-03-08 22:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:56:04] Production.INFO: count ==13 [2025-03-08 22:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:56:04] Production.INFO: count ==21 [2025-03-08 22:56:04] Production.INFO: ==19917== Lock acquired, processing the job... [2025-03-08 22:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638343') start [2025-03-08 22:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638343') end [2025-03-08 22:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:56:04] Production.INFO: 1 [2025-03-08 22:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:56:04] Production.INFO: ==19927== Releasing lock... [2025-03-08 22:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:56:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:56:04] Production.INFO: ==19923== Lock acquired, processing the job... [2025-03-08 22:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:56:04] Production.INFO: ==19921== Lock acquired, processing the job... [2025-03-08 22:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:56:04] Production.INFO: ==19925== Lock acquired, processing the job... [2025-03-08 22:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:56:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:56:04] Production.INFO: Account Balance Start. [2025-03-08 22:56:04] Production.INFO: CreateAllLog Start [2025-03-08 22:56:04] Production.INFO: 117 [2025-03-08 22:56:04] Production.INFO: Date 2025-03-08 [2025-03-08 22:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:56:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:56:04] Production.INFO: Total Charge 0 [2025-03-08 22:56:04] Production.INFO: ==19919== Releasing lock... [2025-03-08 22:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:56:04] Production.INFO: CreateAllLog End [2025-03-08 22:56:04] Production.INFO: Account Balance End. [2025-03-08 22:56:04] Production.ERROR: done [2025-03-08 22:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:56:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:56:04] Production.INFO: ==19923== Releasing lock... [2025-03-08 22:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:56:04] Production.ERROR: done [2025-03-08 22:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:56:05 [end_date_ymd] => 2025-03-08 22:56:05 [RateCDR] => 1 ) [2025-03-08 22:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:56:05' and `end` < '2025-03-08 22:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:56:12] Production.ERROR: CronJobId end10 [2025-03-08 22:56:12] Production.INFO: ==19921== Releasing lock... [2025-03-08 22:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:56:14] Production.INFO: call_cost start [2025-03-08 22:56:14] Production.INFO: call_cost end [2025-03-08 22:56:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:56:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:56:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:56:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:56:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:56:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:56:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:56:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:56:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:56:15] Production.INFO: ==19917== Releasing lock... [2025-03-08 22:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:56:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:56:18] Production.INFO: count ==1329 [2025-03-08 22:56:18] Production.ERROR: pbx CDR StartTime 2025-03-08 19:56:05 - End Time 2025-03-08 22:56:05 [2025-03-08 22:56:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638347', 'tblTempUsageDetail_20' ) start [2025-03-08 22:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638347', 'tblTempUsageDetail_20' ) end [2025-03-08 22:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638347', 'tblTempVendorCDR_20' ) start [2025-03-08 22:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638347', 'tblTempVendorCDR_20' ) end [2025-03-08 22:56:18] Production.INFO: ProcessCDR(1,14638347,1,1,2) [2025-03-08 22:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638347', 'tblTempUsageDetail_20' ) start [2025-03-08 22:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638347', 'tblTempUsageDetail_20' ) end [2025-03-08 22:56:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:56:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:56:21] Production.INFO: ==19925== Releasing lock... [2025-03-08 22:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:56:21] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 03:57:01] Production.INFO: ==19983== Lock acquired, processing the job... [2025-03-09 03:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:57:01] Production.INFO: neon service started [2025-03-09 03:57:01] Production.INFO: neon service started [2025-03-09 03:57:01] Production.INFO: ==19983== Releasing lock... [2025-03-09 03:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:57:01] Production.INFO: ==19985== Lock acquired, processing the job... [2025-03-08 22:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:57:02] Production.INFO: ==19985== Releasing lock... [2025-03-08 22:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:57:02] Production.INFO: ==19987== Lock acquired, processing the job... [2025-03-09 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:57:02] Production.INFO: ==19987== Releasing lock... [2025-03-09 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:57:03] Production.INFO: ==19989== Lock acquired, processing the job... [2025-03-08 22:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:57:03] Production.INFO: ==19991== Lock acquired, processing the job... [2025-03-08 22:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:57:03] Production.INFO: ==19995== Lock acquired, processing the job... [2025-03-08 22:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:57:03] Production.INFO: ==19993== Lock acquired, processing the job... [2025-03-08 22:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:57:03] Production.INFO: Account Balance Start. [2025-03-08 22:57:03] Production.INFO: CreateAllLog Start [2025-03-08 22:57:03] Production.INFO: 117 [2025-03-08 22:57:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:57:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:57:03] Production.INFO: Total Charge 0 [2025-03-08 22:57:03] Production.INFO: ==19997== Lock acquired, processing the job... [2025-03-08 22:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:57:03] Production.INFO: CreateAllLog End [2025-03-08 22:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:57:03] Production.INFO: ==19999== Lock acquired, processing the job... [2025-03-08 22:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:57:03] Production.INFO: ==19991== Releasing lock... [2025-03-08 22:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:57:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:57:03] Production.INFO: Account Balance End. [2025-03-08 22:57:03] Production.ERROR: CronJobId end 12 [2025-03-08 22:57:03] Production.INFO: ==19995== Releasing lock... [2025-03-08 22:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:57:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:57:03] Production.INFO: count ==13 [2025-03-08 22:57:03] Production.ERROR: done [2025-03-08 22:57:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:57:03] Production.INFO: count ==21 [2025-03-08 22:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638351') start [2025-03-08 22:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638351') end [2025-03-08 22:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:57:04] Production.INFO: 1 [2025-03-08 22:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:57:04] Production.ERROR: done [2025-03-08 22:57:04] Production.INFO: ==19999== Releasing lock... [2025-03-08 22:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:57:05 [end_date_ymd] => 2025-03-08 22:57:05 [RateCDR] => 1 ) [2025-03-08 22:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:57:05' and `end` < '2025-03-08 22:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:57:11] Production.ERROR: CronJobId end10 [2025-03-08 22:57:11] Production.INFO: ==19993== Releasing lock... [2025-03-08 22:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:57:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:57:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:57:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:57:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:57:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:57:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:57:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:57:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:57:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:57:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:57:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:57:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:57:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:57:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:57:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:57:14] Production.INFO: call_cost start [2025-03-08 22:57:14] Production.INFO: call_cost end [2025-03-08 22:57:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:57:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:57:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:57:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:57:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:57:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:57:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:57:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:57:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:57:14] Production.INFO: ==19989== Releasing lock... [2025-03-08 22:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:57:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:57:17] Production.INFO: count ==1325 [2025-03-08 22:57:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:57:05 - End Time 2025-03-08 22:57:05 [2025-03-08 22:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638352', 'tblTempUsageDetail_20' ) start [2025-03-08 22:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638352', 'tblTempUsageDetail_20' ) end [2025-03-08 22:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638352', 'tblTempVendorCDR_20' ) start [2025-03-08 22:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638352', 'tblTempVendorCDR_20' ) end [2025-03-08 22:57:17] Production.INFO: ProcessCDR(1,14638352,1,1,2) [2025-03-08 22:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638352', 'tblTempUsageDetail_20' ) start [2025-03-08 22:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638352', 'tblTempUsageDetail_20' ) end [2025-03-08 22:57:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:57:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:57:20] Production.INFO: ==19997== Releasing lock... [2025-03-08 22:57:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:57:20] Production.INFO: 38 MB #Memory Used# [2025-03-09 03:58:01] Production.INFO: ==20053== Lock acquired, processing the job... [2025-03-09 03:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:58:01] Production.INFO: neon service started [2025-03-09 03:58:01] Production.INFO: neon service started [2025-03-09 03:58:01] Production.INFO: ==20053== Releasing lock... [2025-03-09 03:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:58:02] Production.INFO: ==20057== Lock acquired, processing the job... [2025-03-09 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:58:02] Production.INFO: ==20057== Releasing lock... [2025-03-09 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:58:02] Production.INFO: ==20055== Lock acquired, processing the job... [2025-03-08 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 22:58:02] Production.INFO: ==20055== Releasing lock... [2025-03-08 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:58:03] Production.INFO: ==20059== Lock acquired, processing the job... [2025-03-08 22:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:58:03] Production.INFO: ==20063== Lock acquired, processing the job... [2025-03-08 22:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:58:03] Production.INFO: ==20067== Lock acquired, processing the job... [2025-03-08 22:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:58:03] Production.INFO: ==20061== Lock acquired, processing the job... [2025-03-08 22:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:58:03] Production.INFO: ==20065== Lock acquired, processing the job... [2025-03-08 22:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:58:03] Production.INFO: ==20069== Lock acquired, processing the job... [2025-03-08 22:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:58:04] Production.INFO: Account Balance Start. [2025-03-08 22:58:04] Production.INFO: CreateAllLog Start [2025-03-08 22:58:04] Production.INFO: 117 [2025-03-08 22:58:04] Production.INFO: Date 2025-03-08 [2025-03-08 22: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-08 22:58:04] Production.INFO: Reseller ==> 0 [2025-03-08 22:58:04] Production.INFO: Total Charge 0 [2025-03-08 22:58:04] Production.INFO: CreateAllLog End [2025-03-08 22:58:04] Production.INFO: count ==13 [2025-03-08 22: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-08 22:58:04] Production.INFO: count ==21 [2025-03-08 22:58:04] Production.ERROR: done [2025-03-08 22:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638355') start [2025-03-08 22:58:04] Production.INFO: ==20061== Releasing lock... [2025-03-08 22:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638355') end [2025-03-08 22:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:58:04] Production.INFO: 1 [2025-03-08 22:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:58:04] Production.ERROR: done [2025-03-08 22:58:04] Production.INFO: ==20069== Releasing lock... [2025-03-08 22:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:58:04] Production.INFO: Account Balance End. [2025-03-08 22:58:04] Production.ERROR: CronJobId end 12 [2025-03-08 22:58:04] Production.INFO: ==20065== Releasing lock... [2025-03-08 22:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:58:05 [end_date_ymd] => 2025-03-08 22:58:05 [RateCDR] => 1 ) [2025-03-08 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-08 19:58:05' and `end` < '2025-03-08 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-08 22:58:10] Production.ERROR: CronJobId end10 [2025-03-08 22:58:10] Production.INFO: ==20063== Releasing lock... [2025-03-08 22:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:58:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:58:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:58:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:58:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:58:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:58:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:58:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:58:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:58:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:58:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:58:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:58:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:58:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:58:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:58:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:58:14] Production.INFO: call_cost start [2025-03-08 22:58:14] Production.INFO: call_cost end [2025-03-08 22:58:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:58:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:58:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:58:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:58:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:58:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:58:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:58:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:58:15] Production.INFO: ==20059== Releasing lock... [2025-03-08 22:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:58:17] Production.INFO: count ==1317 [2025-03-08 22:58:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:58:05 - End Time 2025-03-08 22:58:05 [2025-03-08 22:58:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638357', 'tblTempUsageDetail_20' ) start [2025-03-08 22:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638357', 'tblTempUsageDetail_20' ) end [2025-03-08 22:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638357', 'tblTempVendorCDR_20' ) start [2025-03-08 22:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638357', 'tblTempVendorCDR_20' ) end [2025-03-08 22:58:17] Production.INFO: ProcessCDR(1,14638357,1,1,2) [2025-03-08 22:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:58:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638357', 'tblTempUsageDetail_20' ) start [2025-03-08 22:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638357', 'tblTempUsageDetail_20' ) end [2025-03-08 22:58:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:58:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:58:20] Production.INFO: ==20067== Releasing lock... [2025-03-08 22:58:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:58:20] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 03:59:01] Production.INFO: ==20126== Lock acquired, processing the job... [2025-03-09 03:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 03:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 03:59:01] Production.INFO: neon service started [2025-03-09 03:59:01] Production.INFO: neon service started [2025-03-09 03:59:01] Production.INFO: ==20126== Releasing lock... [2025-03-09 03:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 03:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 22:59:02] Production.INFO: ==20128== Lock acquired, processing the job... [2025-03-08 22:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:59:02] Production.INFO: ==20130== Lock acquired, processing the job... [2025-03-09 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:59:02] Production.INFO: ==20130== Releasing lock... [2025-03-09 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 03:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 22:59:02] Production.INFO: ==20128== Releasing lock... [2025-03-08 22:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 22:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 22:59:03] Production.INFO: ==20135== Lock acquired, processing the job... [2025-03-08 22:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 22:59:03] Production.INFO: ==20137== Lock acquired, processing the job... [2025-03-08 22:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 22:59:03] Production.INFO: ==20139== Lock acquired, processing the job... [2025-03-08 22:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 22:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 22:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 22:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 22:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 22:59:03] Production.INFO: Account Balance Start. [2025-03-08 22:59:03] Production.INFO: CreateAllLog Start [2025-03-08 22:59:03] Production.INFO: 117 [2025-03-08 22:59:03] Production.INFO: Date 2025-03-08 [2025-03-08 22:59:03] Production.INFO: Reseller ==> 0 [2025-03-08 22:59:03] Production.INFO: ==20135== Releasing lock... [2025-03-08 22:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 22:59:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 22:59:03] Production.INFO: Total Charge 0 [2025-03-08 22:59:03] Production.INFO: CreateAllLog End [2025-03-08 22:59:03] Production.INFO: ==20133== Lock acquired, processing the job... [2025-03-08 22:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 22:59:03] Production.INFO: ==20141== Lock acquired, processing the job... [2025-03-08 22:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 22:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 22:59:03] Production.INFO: ==20143== Lock acquired, processing the job... [2025-03-08 22:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 22:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 22:59:03] Production.INFO: Account Balance End. [2025-03-08 22:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:59:03] Production.ERROR: CronJobId end 12 [2025-03-08 22:59:03] Production.INFO: ==20139== Releasing lock... [2025-03-08 22:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 22:59:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 22:59:03] Production.INFO: count ==13 [2025-03-08 22:59:03] Production.ERROR: done [2025-03-08 22:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 22:59:03] Production.INFO: count ==21 [2025-03-08 22:59:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 22:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638361') start [2025-03-08 22:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638361') end [2025-03-08 22:59:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 22:59:03] Production.INFO: 1 [2025-03-08 22:59:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 22:59:03] Production.ERROR: done [2025-03-08 22:59:03] Production.INFO: ==20143== Releasing lock... [2025-03-08 22:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 22:59:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 22:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 19:59:05 [end_date_ymd] => 2025-03-08 22:59:05 [RateCDR] => 1 ) [2025-03-08 22:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 19:59:05' and `end` < '2025-03-08 22:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 22:59:12] Production.ERROR: CronJobId end10 [2025-03-08 22:59:12] Production.INFO: ==20137== Releasing lock... [2025-03-08 22:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 22:59:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 22:59:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 22:59:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 22:59:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 22:59:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 22:59:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 22:59:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 22:59:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 22:59:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 22:59:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 22:59:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 22:59:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 22:59:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 22:59:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 22:59:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 22:59:14] Production.INFO: call_cost start [2025-03-08 22:59:14] Production.INFO: call_cost end [2025-03-08 22:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 22:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 22:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 22:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 22:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 22:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 22:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 22:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 22:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 22:59:15] Production.INFO: ==20133== Releasing lock... [2025-03-08 22:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 22:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 22:59:17] Production.INFO: count ==1318 [2025-03-08 22:59:17] Production.ERROR: pbx CDR StartTime 2025-03-08 19:59:05 - End Time 2025-03-08 22:59:05 [2025-03-08 22:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 22:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638362', 'tblTempUsageDetail_20' ) start [2025-03-08 22:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638362', 'tblTempUsageDetail_20' ) end [2025-03-08 22:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638362', 'tblTempVendorCDR_20' ) start [2025-03-08 22:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638362', 'tblTempVendorCDR_20' ) end [2025-03-08 22:59:17] Production.INFO: ProcessCDR(1,14638362,1,1,2) [2025-03-08 22:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 22:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 22:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638362', 'tblTempUsageDetail_20' ) start [2025-03-08 22:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638362', 'tblTempUsageDetail_20' ) end [2025-03-08 22:59:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 22:59:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 22:59:20] Production.INFO: ==20141== Releasing lock... [2025-03-08 22:59:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 22:59:20] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 04:00:01] Production.INFO: ==20199== Lock acquired, processing the job... [2025-03-09 04:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:00:01] Production.INFO: neon service started [2025-03-09 04:00:01] Production.INFO: neon service started [2025-03-09 04:00:01] Production.INFO: ==20199== Releasing lock... [2025-03-09 04:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:00:02] Production.INFO: ==20201== Lock acquired, processing the job... [2025-03-08 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:00:02] Production.INFO: ==20201== Releasing lock... [2025-03-08 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:00:02] Production.INFO: ==20203== Lock acquired, processing the job... [2025-03-09 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:00:02] Production.INFO: ==20203== Releasing lock... [2025-03-09 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:00:03] Production.INFO: ==20208== Lock acquired, processing the job... [2025-03-08 23:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:00:03] Production.INFO: ==20206== Lock acquired, processing the job... [2025-03-08 23:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 23:00:03] Production.INFO: ==20214== Lock acquired, processing the job... [2025-03-08 23:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:00:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:00:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 23:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 23:00:03] Production.ERROR: CronJob PID - 20208 [2025-03-08 23:00:03] Production.ERROR: CronJob Title - System Alerts [2025-03-08 23:00:03] Production.ERROR: CronJob ID - 5 [2025-03-08 23:00:03] Production.ERROR: CronJob Last Run Time 2025-03-08 23:00:00 [2025-03-08 23:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 23:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 23:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 23:00:03] Production.ERROR: CronJob PID - 20214 [2025-03-08 23:00:03] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-08 23:00:03] Production.ERROR: CronJob ID - 12 [2025-03-08 23:00:03] Production.ERROR: CronJob Last Run Time 2025-03-08 23:00:00 [2025-03-08 23:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 23:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 23:00:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 23:00:03] Production.INFO: ==20206== Releasing lock... [2025-03-08 23:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 23:00:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 23:00:03] Production.INFO: ==20210== Lock acquired, processing the job... [2025-03-08 23:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:00:03] Production.INFO: ==20220== Lock acquired, processing the job... [2025-03-08 23:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:00:03] Production.INFO: Account Balance Start. [2025-03-08 23:00:03] Production.INFO: CreateAllLog Start [2025-03-08 23:00:03] Production.INFO: 117 [2025-03-08 23:00:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:00:03] Production.INFO: ==20212== Lock acquired, processing the job... [2025-03-08 23:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:00:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:00:04] Production.INFO: Total Charge 0 [2025-03-08 23:00:04] Production.INFO: ==20216== Lock acquired, processing the job... [2025-03-08 23:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:00:04] Production.INFO: CreateAllLog End [2025-03-08 23:00:04] Production.INFO: ==20218== Lock acquired, processing the job... [2025-03-08 23:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 23:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:00:04] Production.INFO: count ==13 [2025-03-08 23:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:00:04] Production.INFO: count ==21 [2025-03-08 23:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638365') start [2025-03-08 23:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638365') end [2025-03-08 23:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:00:04] Production.INFO: 1 [2025-03-08 23:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:00:04] Production.INFO: ==20210== Releasing lock... [2025-03-08 23:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:00:04] Production.INFO: ==20220== Releasing lock... [2025-03-08 23:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:00:04] Production.INFO: Account Balance End. [2025-03-08 23:00:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:00:04] Production.INFO: ==20214== Releasing lock... [2025-03-08 23:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:00:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:00:04] Production.ERROR: done [2025-03-08 23:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:00:04] Production.ERROR: done [2025-03-08 23:00:04] Production.ERROR: done [2025-03-08 23:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 23:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638367', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 23:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:00:06 [end_date_ymd] => 2025-03-08 23:00:06 [RateCDR] => 1 ) [2025-03-08 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-08 20:00:06' and `end` < '2025-03-08 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-08 23:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638367', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 23:00:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 23:00:08] Production.INFO: ProcessCDR(1,14638367,1,1,2) [2025-03-08 23:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14638367,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14638367,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:00:09] Production.INFO: ==20218== Releasing lock... [2025-03-08 23:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 23:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-08 23:00:14] Production.ERROR: CronJobId end10 [2025-03-08 23:00:14] Production.INFO: ==20212== Releasing lock... [2025-03-08 23:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:00:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:00:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:00:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:00:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:00:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:00:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:00:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:00:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:00:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:00:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:00:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:00:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:00:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:00:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:00:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:00:16] Production.INFO: call_cost start [2025-03-08 23:00:16] Production.INFO: call_cost end [2025-03-08 23:00:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:00:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:00:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:00:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:00:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:00:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:00:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:00:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:00:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:00:17] Production.INFO: ==20208== Releasing lock... [2025-03-08 23:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:00:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:00:18] Production.INFO: count ==1316 [2025-03-08 23:00:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:00:06 - End Time 2025-03-08 23:00:06 [2025-03-08 23:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638368', 'tblTempUsageDetail_20' ) start [2025-03-08 23:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638368', 'tblTempUsageDetail_20' ) end [2025-03-08 23:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638368', 'tblTempVendorCDR_20' ) start [2025-03-08 23:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638368', 'tblTempVendorCDR_20' ) end [2025-03-08 23:00:18] Production.INFO: ProcessCDR(1,14638368,1,1,2) [2025-03-08 23:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638368', 'tblTempUsageDetail_20' ) start [2025-03-08 23:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638368', 'tblTempUsageDetail_20' ) end [2025-03-08 23:00:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:00:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:00:21] Production.INFO: ==20216== Releasing lock... [2025-03-08 23:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:00:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 04:01:02] Production.INFO: ==20355== Lock acquired, processing the job... [2025-03-09 04:01:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:01:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:01:02] Production.INFO: neon service started [2025-03-09 04:01:02] Production.INFO: neon service started [2025-03-09 04:01:02] Production.INFO: ==20355== Releasing lock... [2025-03-09 04:01:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:01:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:01:02] Production.INFO: ==20369== Lock acquired, processing the job... [2025-03-09 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 23:01:02] Production.INFO: ==20367== Lock acquired, processing the job... [2025-03-08 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:01:02] Production.INFO: ==20369== Releasing lock... [2025-03-09 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:01:03] Production.INFO: ==20367== Releasing lock... [2025-03-08 23:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:01:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:01:04] Production.INFO: ==20376== Lock acquired, processing the job... [2025-03-08 23:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:01:04] Production.INFO: ==20382== Lock acquired, processing the job... [2025-03-08 23:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:01:04] Production.INFO: ==20372== Lock acquired, processing the job... [2025-03-08 23:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 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-08 23:01:04] Production.INFO: ==20374== Lock acquired, processing the job... [2025-03-08 23:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:01:04] Production.INFO: count ==13 [2025-03-08 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-08 23:01:04] Production.INFO: count ==21 [2025-03-08 23:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638369') start [2025-03-08 23:01:04] Production.INFO: ==20378== Lock acquired, processing the job... [2025-03-08 23:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:01:04] Production.INFO: ==20380== Lock acquired, processing the job... [2025-03-08 23:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:01:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638369') end [2025-03-08 23:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:01:04] Production.INFO: 1 [2025-03-08 23:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:01:04] Production.INFO: Account Balance Start. [2025-03-08 23:01:04] Production.INFO: CreateAllLog Start [2025-03-08 23:01:04] Production.INFO: 117 [2025-03-08 23:01:04] Production.INFO: ==20382== Releasing lock... [2025-03-08 23:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:01:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:01:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:01:04] Production.INFO: Total Charge 0 [2025-03-08 23:01:04] Production.INFO: CreateAllLog End [2025-03-08 23:01:04] Production.INFO: ==20374== Releasing lock... [2025-03-08 23:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:01:04] Production.ERROR: done [2025-03-08 23:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:01:04] Production.ERROR: done [2025-03-08 23:01:05] Production.INFO: Account Balance End. [2025-03-08 23:01:05] Production.ERROR: CronJobId end 12 [2025-03-08 23:01:05] Production.INFO: ==20378== Releasing lock... [2025-03-08 23:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:01:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:01:05 [end_date_ymd] => 2025-03-08 23:01:05 [RateCDR] => 1 ) [2025-03-08 23:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:01:05' and `end` < '2025-03-08 23:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:01:13] Production.ERROR: CronJobId end10 [2025-03-08 23:01:13] Production.INFO: ==20376== Releasing lock... [2025-03-08 23:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:01:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:01:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:01:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:01:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:01:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:01:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:01:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:01:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:01:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:01:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:01:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:01:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:01:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:01:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:01:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:01:15] Production.INFO: call_cost start [2025-03-08 23:01:15] Production.INFO: call_cost end [2025-03-08 23:01:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:01:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:01:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:01:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:01:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:01:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:01:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:01:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:01:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:01:16] Production.INFO: ==20372== Releasing lock... [2025-03-08 23:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:01:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:01:18] Production.INFO: count ==1288 [2025-03-08 23:01:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:01:05 - End Time 2025-03-08 23:01:05 [2025-03-08 23:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638373', 'tblTempUsageDetail_20' ) start [2025-03-08 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638373', 'tblTempUsageDetail_20' ) end [2025-03-08 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638373', 'tblTempVendorCDR_20' ) start [2025-03-08 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638373', 'tblTempVendorCDR_20' ) end [2025-03-08 23:01:18] Production.INFO: ProcessCDR(1,14638373,1,1,2) [2025-03-08 23:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638373', 'tblTempUsageDetail_20' ) start [2025-03-08 23:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638373', 'tblTempUsageDetail_20' ) end [2025-03-08 23:01:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:01:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:01:23] Production.INFO: ==20380== Releasing lock... [2025-03-08 23:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:01:23] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 04:02:01] Production.INFO: ==20441== Lock acquired, processing the job... [2025-03-09 04:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:02:01] Production.INFO: neon service started [2025-03-09 04:02:01] Production.INFO: neon service started [2025-03-09 04:02:01] Production.INFO: ==20441== Releasing lock... [2025-03-09 04:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:02:02] Production.INFO: ==20445== Lock acquired, processing the job... [2025-03-09 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:02:02] Production.INFO: ==20445== Releasing lock... [2025-03-09 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:02:02] Production.INFO: ==20443== Lock acquired, processing the job... [2025-03-08 23:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:02:02] Production.INFO: ==20443== Releasing lock... [2025-03-08 23:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:02:03] Production.INFO: ==20447== Lock acquired, processing the job... [2025-03-08 23:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:02:03] Production.INFO: ==20451== Lock acquired, processing the job... [2025-03-08 23:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:02:03] Production.INFO: ==20455== Lock acquired, processing the job... [2025-03-08 23:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:02:03] Production.INFO: ==20449== Lock acquired, processing the job... [2025-03-08 23:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:02:03] Production.INFO: ==20453== Lock acquired, processing the job... [2025-03-08 23:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:02:03] Production.INFO: ==20457== Lock acquired, processing the job... [2025-03-08 23:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:02:03] Production.INFO: Account Balance Start. [2025-03-08 23:02:03] Production.INFO: CreateAllLog Start [2025-03-08 23:02:03] Production.INFO: 117 [2025-03-08 23:02:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:02:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:02:03] Production.ERROR: done [2025-03-08 23:02:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:02:03] Production.INFO: Total Charge 0 [2025-03-08 23:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:02:04] Production.INFO: CreateAllLog End [2025-03-08 23:02:04] Production.INFO: count ==13 [2025-03-08 23:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:02:04] Production.INFO: count ==21 [2025-03-08 23:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638377') start [2025-03-08 23:02:04] Production.ERROR: done [2025-03-08 23:02:04] Production.INFO: ==20449== Releasing lock... [2025-03-08 23:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638377') end [2025-03-08 23:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:02:04] Production.INFO: 1 [2025-03-08 23:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:02:04] Production.INFO: ==20457== Releasing lock... [2025-03-08 23:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:02:04] Production.INFO: Account Balance End. [2025-03-08 23:02:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:02:04] Production.INFO: ==20453== Releasing lock... [2025-03-08 23:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:02:05 [end_date_ymd] => 2025-03-08 23:02:05 [RateCDR] => 1 ) [2025-03-08 23:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:02:05' and `end` < '2025-03-08 23:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:02:12] Production.ERROR: CronJobId end10 [2025-03-08 23:02:12] Production.INFO: ==20451== Releasing lock... [2025-03-08 23:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:02:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:02:14] Production.INFO: call_cost start [2025-03-08 23:02:14] Production.INFO: call_cost end [2025-03-08 23:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:02:15] Production.INFO: ==20447== Releasing lock... [2025-03-08 23:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:02:17] Production.INFO: count ==1289 [2025-03-08 23:02:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:02:05 - End Time 2025-03-08 23:02:05 [2025-03-08 23:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638378', 'tblTempUsageDetail_20' ) start [2025-03-08 23:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638378', 'tblTempUsageDetail_20' ) end [2025-03-08 23:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638378', 'tblTempVendorCDR_20' ) start [2025-03-08 23:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638378', 'tblTempVendorCDR_20' ) end [2025-03-08 23:02:17] Production.INFO: ProcessCDR(1,14638378,1,1,2) [2025-03-08 23:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:02:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:02:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638378', 'tblTempUsageDetail_20' ) start [2025-03-08 23:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638378', 'tblTempUsageDetail_20' ) end [2025-03-08 23:02:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:02:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:02:21] Production.INFO: ==20455== Releasing lock... [2025-03-08 23:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:02:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 04:03:02] Production.INFO: ==20516== Lock acquired, processing the job... [2025-03-09 04:03:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:03:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:03:02] Production.INFO: neon service started [2025-03-09 04:03:02] Production.INFO: neon service started [2025-03-09 04:03:02] Production.INFO: ==20516== Releasing lock... [2025-03-09 04:03:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:03:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 23:03:02] Production.INFO: ==20518== Lock acquired, processing the job... [2025-03-08 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:03:02] Production.INFO: ==20520== Lock acquired, processing the job... [2025-03-09 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 23:03:02] Production.INFO: ==20518== Releasing lock... [2025-03-08 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:03:02] Production.INFO: ==20520== Releasing lock... [2025-03-09 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:03:03] Production.INFO: ==20522== Lock acquired, processing the job... [2025-03-08 23:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:03:03] Production.INFO: ==20524== Lock acquired, processing the job... [2025-03-08 23:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:03:03] Production.INFO: ==20528== Lock acquired, processing the job... [2025-03-08 23:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:03:03] Production.INFO: ==20526== Lock acquired, processing the job... [2025-03-08 23:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:03:03] Production.INFO: ==20532== Lock acquired, processing the job... [2025-03-08 23:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:03:03] Production.INFO: ==20530== Lock acquired, processing the job... [2025-03-08 23:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:03:03] Production.INFO: Account Balance Start. [2025-03-08 23:03:03] Production.INFO: CreateAllLog Start [2025-03-08 23:03:03] Production.INFO: 117 [2025-03-08 23:03:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:03:04] Production.INFO: Reseller ==> 0 [2025-03-08 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-08 23:03:04] Production.INFO: count ==13 [2025-03-08 23:03:04] Production.INFO: Total Charge 0 [2025-03-08 23:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:03:04] Production.INFO: count ==21 [2025-03-08 23:03:04] Production.INFO: CreateAllLog End [2025-03-08 23:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638382') start [2025-03-08 23:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638382') end [2025-03-08 23:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:03:04] Production.INFO: 1 [2025-03-08 23:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:03:04] Production.INFO: ==20524== Releasing lock... [2025-03-08 23:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:03:04] Production.INFO: ==20532== Releasing lock... [2025-03-08 23:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:03:04] Production.ERROR: done [2025-03-08 23:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:03:04] Production.INFO: Account Balance End. [2025-03-08 23:03:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:03:04] Production.INFO: ==20528== Releasing lock... [2025-03-08 23:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:03:04] Production.ERROR: done [2025-03-08 23:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:03:05 [end_date_ymd] => 2025-03-08 23:03:05 [RateCDR] => 1 ) [2025-03-08 23:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:03:05' and `end` < '2025-03-08 23:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:03:12] Production.ERROR: CronJobId end10 [2025-03-08 23:03:12] Production.INFO: ==20526== Releasing lock... [2025-03-08 23:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:03:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:03:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:03:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:03:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:03:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:03:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:03:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:03:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:03:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:03:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:03:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:03:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:03:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:03:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:03:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:03:15] Production.INFO: call_cost start [2025-03-08 23:03:15] Production.INFO: call_cost end [2025-03-08 23:03:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:03:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:03:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:03:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:03:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:03:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:03:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:03:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:03:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:03:16] Production.INFO: ==20522== Releasing lock... [2025-03-08 23:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:03:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:03:17] Production.INFO: count ==1289 [2025-03-08 23:03:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:03:05 - End Time 2025-03-08 23:03:05 [2025-03-08 23:03:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638383', 'tblTempUsageDetail_20' ) start [2025-03-08 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638383', 'tblTempUsageDetail_20' ) end [2025-03-08 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638383', 'tblTempVendorCDR_20' ) start [2025-03-08 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638383', 'tblTempVendorCDR_20' ) end [2025-03-08 23:03:18] Production.INFO: ProcessCDR(1,14638383,1,1,2) [2025-03-08 23:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638383', 'tblTempUsageDetail_20' ) start [2025-03-08 23:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638383', 'tblTempUsageDetail_20' ) end [2025-03-08 23:03:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:03:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:03:22] Production.INFO: ==20530== Releasing lock... [2025-03-08 23:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:03:22] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 04:04:01] Production.INFO: ==20595== Lock acquired, processing the job... [2025-03-09 04:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:04:01] Production.INFO: neon service started [2025-03-09 04:04:01] Production.INFO: neon service started [2025-03-09 04:04:01] Production.INFO: ==20595== Releasing lock... [2025-03-09 04:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:04:01] Production.INFO: ==20599== Lock acquired, processing the job... [2025-03-09 04:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:04:01] Production.INFO: ==20599== Releasing lock... [2025-03-09 04:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:04:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:04:02] Production.INFO: ==20597== Lock acquired, processing the job... [2025-03-08 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:04:02] Production.INFO: ==20597== Releasing lock... [2025-03-08 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:04:03] Production.INFO: ==20608== Lock acquired, processing the job... [2025-03-08 23:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:04:03] Production.INFO: ==20610== Lock acquired, processing the job... [2025-03-08 23:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:04:03] Production.INFO: Account Balance Start. [2025-03-08 23:04:03] Production.INFO: CreateAllLog Start [2025-03-08 23:04:03] Production.INFO: 117 [2025-03-08 23:04:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:04:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:04:03] Production.INFO: Total Charge 0 [2025-03-08 23:04:03] Production.INFO: CreateAllLog End [2025-03-08 23:04:03] Production.INFO: ==20602== Lock acquired, processing the job... [2025-03-08 23:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:04:03] Production.INFO: ==20604== Lock acquired, processing the job... [2025-03-08 23:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:04:03] Production.INFO: ==20606== Lock acquired, processing the job... [2025-03-08 23:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:04:03] Production.INFO: ==20612== Lock acquired, processing the job... [2025-03-08 23:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:04:03] Production.INFO: Account Balance End. [2025-03-08 23:04:03] Production.ERROR: done [2025-03-08 23:04:03] Production.ERROR: CronJobId end 12 [2025-03-08 23:04:03] Production.INFO: ==20608== Releasing lock... [2025-03-08 23:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:04:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:04:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 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-08 23:04:03] Production.INFO: count ==13 [2025-03-08 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-08 23:04:03] Production.INFO: count ==21 [2025-03-08 23:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638386') start [2025-03-08 23:04:03] Production.ERROR: done [2025-03-08 23:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638386') end [2025-03-08 23:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:04:04] Production.INFO: 1 [2025-03-08 23:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:04:04] Production.INFO: ==20612== Releasing lock... [2025-03-08 23:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:04:04] Production.INFO: ==20604== Releasing lock... [2025-03-08 23:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:04:05 [end_date_ymd] => 2025-03-08 23:04:05 [RateCDR] => 1 ) [2025-03-08 23:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:04:05' and `end` < '2025-03-08 23:04:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:04:11] Production.ERROR: CronJobId end10 [2025-03-08 23:04:11] Production.INFO: ==20606== Releasing lock... [2025-03-08 23:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:04:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:04:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:04:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:04:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:04:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:04:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:04:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:04:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:04:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:04:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:04:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:04:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:04:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:04:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:04:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:04:13] Production.INFO: call_cost start [2025-03-08 23:04:13] Production.INFO: call_cost end [2025-03-08 23:04:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:04:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:04:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:04:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:04:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:04:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:04:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:04:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:04:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:04:14] Production.INFO: ==20602== Releasing lock... [2025-03-08 23:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:04:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:04:17] Production.INFO: count ==1292 [2025-03-08 23:04:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:04:05 - End Time 2025-03-08 23:04:05 [2025-03-08 23:04:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638388', 'tblTempUsageDetail_20' ) start [2025-03-08 23:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638388', 'tblTempUsageDetail_20' ) end [2025-03-08 23:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638388', 'tblTempVendorCDR_20' ) start [2025-03-08 23:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638388', 'tblTempVendorCDR_20' ) end [2025-03-08 23:04:17] Production.INFO: ProcessCDR(1,14638388,1,1,2) [2025-03-08 23:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638388', 'tblTempUsageDetail_20' ) start [2025-03-08 23:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638388', 'tblTempUsageDetail_20' ) end [2025-03-08 23:04:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:04:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:04:22] Production.INFO: ==20610== Releasing lock... [2025-03-08 23:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:04:22] Production.INFO: 38 MB #Memory Used# [2025-03-09 04:05:02] Production.INFO: ==20746== Lock acquired, processing the job... [2025-03-09 04:05:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:05:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:05:02] Production.INFO: neon service started [2025-03-09 04:05:02] Production.INFO: neon service started [2025-03-09 04:05:02] Production.INFO: ==20746== Releasing lock... [2025-03-09 04:05:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:05:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:05:02] Production.INFO: ==20748== Lock acquired, processing the job... [2025-03-08 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:05:02] Production.INFO: ==20750== Lock acquired, processing the job... [2025-03-09 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:05:02] Production.INFO: ==20750== Releasing lock... [2025-03-09 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:05:03] Production.INFO: ==20748== Releasing lock... [2025-03-08 23:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:05:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:05:03] Production.INFO: ==20755== Lock acquired, processing the job... [2025-03-08 23:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:05:03] Production.INFO: ==20763== Lock acquired, processing the job... [2025-03-08 23:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:05:04] Production.INFO: ==20753== Lock acquired, processing the job... [2025-03-08 23:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:05:04] Production.INFO: ==20755== Releasing lock... [2025-03-08 23:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 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-08 23:05:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:05:04] Production.INFO: ==20757== Lock acquired, processing the job... [2025-03-08 23:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:05:04] Production.INFO: count ==13 [2025-03-08 23:05:04] Production.INFO: ==20759== Lock acquired, processing the job... [2025-03-08 23:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 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-08 23:05:04] Production.INFO: count ==21 [2025-03-08 23:05:04] Production.INFO: ==20761== Lock acquired, processing the job... [2025-03-08 23:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638390') start [2025-03-08 23:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638390') end [2025-03-08 23:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:05:04] Production.INFO: 1 [2025-03-08 23:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:05:04] Production.INFO: Account Balance Start. [2025-03-08 23:05:04] Production.INFO: CreateAllLog Start [2025-03-08 23:05:04] Production.INFO: 117 [2025-03-08 23:05:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:05:04] Production.INFO: ==20763== Releasing lock... [2025-03-08 23:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:05:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:05:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:05:04] Production.INFO: Total Charge 0 [2025-03-08 23:05:04] Production.INFO: CreateAllLog End [2025-03-08 23:05:04] Production.ERROR: done [2025-03-08 23:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:05:04] Production.ERROR: done [2025-03-08 23:05:05] Production.INFO: Account Balance End. [2025-03-08 23:05:05] Production.ERROR: CronJobId end 12 [2025-03-08 23:05:05] Production.INFO: ==20759== Releasing lock... [2025-03-08 23:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:05:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:05:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:05:06 [end_date_ymd] => 2025-03-08 23:05:06 [RateCDR] => 1 ) [2025-03-08 23:05:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:05:06' and `end` < '2025-03-08 23:05:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:05:13] Production.ERROR: CronJobId end10 [2025-03-08 23:05:13] Production.INFO: ==20757== Releasing lock... [2025-03-08 23:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:05:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:05:14] Production.INFO: call_cost start [2025-03-08 23:05:14] Production.INFO: call_cost end [2025-03-08 23:05:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:05:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:05:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:05:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:05:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:05:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:05:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:05:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:05:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:05:15] Production.INFO: ==20753== Releasing lock... [2025-03-08 23:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:05:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:05:18] Production.INFO: count ==1289 [2025-03-08 23:05:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:05:06 - End Time 2025-03-08 23:05:06 [2025-03-08 23:05:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638393', 'tblTempUsageDetail_20' ) start [2025-03-08 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638393', 'tblTempUsageDetail_20' ) end [2025-03-08 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638393', 'tblTempVendorCDR_20' ) start [2025-03-08 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638393', 'tblTempVendorCDR_20' ) end [2025-03-08 23:05:18] Production.INFO: ProcessCDR(1,14638393,1,1,2) [2025-03-08 23:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638393', 'tblTempUsageDetail_20' ) start [2025-03-08 23:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638393', 'tblTempUsageDetail_20' ) end [2025-03-08 23:05:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:05:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:05:23] Production.INFO: ==20761== Releasing lock... [2025-03-08 23:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:05:23] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 04:06:01] Production.INFO: ==20820== Lock acquired, processing the job... [2025-03-09 04:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:06:01] Production.INFO: neon service started [2025-03-09 04:06:01] Production.INFO: neon service started [2025-03-09 04:06:01] Production.INFO: ==20820== Releasing lock... [2025-03-09 04:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:06:01] Production.INFO: ==20822== Lock acquired, processing the job... [2025-03-08 23:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:06:02] Production.INFO: ==20822== Releasing lock... [2025-03-08 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:06:02] Production.INFO: ==20824== Lock acquired, processing the job... [2025-03-09 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:06:02] Production.INFO: ==20824== Releasing lock... [2025-03-09 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:06:03] Production.INFO: ==20827== Lock acquired, processing the job... [2025-03-08 23:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:06:03] Production.INFO: ==20833== Lock acquired, processing the job... [2025-03-08 23:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:06:03] Production.INFO: ==20835== Lock acquired, processing the job... [2025-03-08 23:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:06:03] Production.INFO: ==20829== Lock acquired, processing the job... [2025-03-08 23:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:06:03] Production.INFO: Account Balance Start. [2025-03-08 23:06:03] Production.INFO: CreateAllLog Start [2025-03-08 23:06:03] Production.INFO: 117 [2025-03-08 23:06:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:06:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:06:03] Production.INFO: Total Charge 0 [2025-03-08 23:06:03] Production.INFO: CreateAllLog End [2025-03-08 23:06:03] Production.INFO: ==20831== Lock acquired, processing the job... [2025-03-08 23:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:06:03] Production.INFO: ==20837== Lock acquired, processing the job... [2025-03-08 23:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:06:03] Production.INFO: Account Balance End. [2025-03-08 23:06:03] Production.ERROR: done [2025-03-08 23:06:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:06:03] Production.ERROR: CronJobId end 12 [2025-03-08 23:06:03] Production.INFO: ==20833== Releasing lock... [2025-03-08 23:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:06:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:06:03] Production.INFO: count ==13 [2025-03-08 23:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:06:03] Production.INFO: count ==21 [2025-03-08 23:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638397') start [2025-03-08 23:06:03] Production.ERROR: done [2025-03-08 23:06:03] Production.INFO: ==20829== Releasing lock... [2025-03-08 23:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:06:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638397') end [2025-03-08 23:06:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:06:03] Production.INFO: 1 [2025-03-08 23:06:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:06:04] Production.INFO: ==20837== Releasing lock... [2025-03-08 23:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:06:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:06:04 [end_date_ymd] => 2025-03-08 23:06:04 [RateCDR] => 1 ) [2025-03-08 23:06:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:06:04' and `end` < '2025-03-08 23:06:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:06:10] Production.ERROR: CronJobId end10 [2025-03-08 23:06:10] Production.INFO: ==20831== Releasing lock... [2025-03-08 23:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:06:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:06:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:06:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:06:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:06:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:06:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:06:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:06:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:06:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:06:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:06:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:06:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:06:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:06:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:06:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:06:13] Production.INFO: call_cost start [2025-03-08 23:06:13] Production.INFO: call_cost end [2025-03-08 23:06:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:06:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:06:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:06:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:06:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:06:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:06:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:06:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:06:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:06:14] Production.INFO: ==20827== Releasing lock... [2025-03-08 23:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:06:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:06:17] Production.INFO: count ==1297 [2025-03-08 23:06:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:06:04 - End Time 2025-03-08 23:06:04 [2025-03-08 23:06:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638398', 'tblTempUsageDetail_20' ) start [2025-03-08 23:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638398', 'tblTempUsageDetail_20' ) end [2025-03-08 23:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638398', 'tblTempVendorCDR_20' ) start [2025-03-08 23:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638398', 'tblTempVendorCDR_20' ) end [2025-03-08 23:06:17] Production.INFO: ProcessCDR(1,14638398,1,1,2) [2025-03-08 23:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:06:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:06:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:06:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:06:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638398', 'tblTempUsageDetail_20' ) start [2025-03-08 23:06:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638398', 'tblTempUsageDetail_20' ) end [2025-03-08 23:06:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:06:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:06:20] Production.INFO: ==20835== Releasing lock... [2025-03-08 23:06:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:06:20] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 04:07:01] Production.INFO: ==20894== Lock acquired, processing the job... [2025-03-09 04:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:07:01] Production.INFO: neon service started [2025-03-09 04:07:01] Production.INFO: neon service started [2025-03-09 04:07:01] Production.INFO: ==20894== Releasing lock... [2025-03-09 04:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:07:02] Production.INFO: ==20896== Lock acquired, processing the job... [2025-03-08 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:07:02] Production.INFO: ==20898== Lock acquired, processing the job... [2025-03-09 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 23:07:02] Production.INFO: ==20896== Releasing lock... [2025-03-08 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:07:02] Production.INFO: ==20898== Releasing lock... [2025-03-09 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:07:03] Production.INFO: ==20908== Lock acquired, processing the job... [2025-03-08 23:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:07:03] Production.ERROR: done [2025-03-08 23:07:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:07:03] Production.INFO: ==20900== Lock acquired, processing the job... [2025-03-08 23:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:07:03] Production.INFO: ==20902== Lock acquired, processing the job... [2025-03-08 23:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:07:03] Production.INFO: ==20904== Lock acquired, processing the job... [2025-03-08 23:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:07:03] Production.INFO: ==20910== Lock acquired, processing the job... [2025-03-08 23:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:07:03] Production.INFO: ==20906== Lock acquired, processing the job... [2025-03-08 23:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:07:03] Production.ERROR: done [2025-03-08 23:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:07:04] Production.INFO: count ==13 [2025-03-08 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-08 23:07:04] Production.INFO: count ==21 [2025-03-08 23:07:04] Production.INFO: Account Balance Start. [2025-03-08 23:07:04] Production.INFO: CreateAllLog Start [2025-03-08 23:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638399') start [2025-03-08 23:07:04] Production.INFO: 117 [2025-03-08 23:07:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:07:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638399') end [2025-03-08 23:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:07:04] Production.INFO: 1 [2025-03-08 23:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:07:04] Production.INFO: ==20902== Releasing lock... [2025-03-08 23:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:07:04] Production.INFO: Total Charge 0 [2025-03-08 23:07:04] Production.INFO: ==20910== Releasing lock... [2025-03-08 23:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:07:04] Production.INFO: CreateAllLog End [2025-03-08 23:07:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:07:04 [end_date_ymd] => 2025-03-08 23:07:04 [RateCDR] => 1 ) [2025-03-08 23:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:07:04' and `end` < '2025-03-08 23:07:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:07:04] Production.INFO: Account Balance End. [2025-03-08 23:07:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:07:04] Production.INFO: ==20906== Releasing lock... [2025-03-08 23:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:07:12] Production.ERROR: CronJobId end10 [2025-03-08 23:07:12] Production.INFO: ==20904== Releasing lock... [2025-03-08 23:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:07:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:07:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:07:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:07:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:07:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:07:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:07:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:07:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:07:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:07:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:07:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:07:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:07:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:07:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:07:14] Production.INFO: call_cost start [2025-03-08 23:07:14] Production.INFO: call_cost end [2025-03-08 23:07:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:07:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:07:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:07:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:07:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:07:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:07:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:07:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:07:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:07:15] Production.INFO: ==20900== Releasing lock... [2025-03-08 23:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:07:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:07:16] Production.INFO: count ==1297 [2025-03-08 23:07:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:07:04 - End Time 2025-03-08 23:07:04 [2025-03-08 23:07:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638402', 'tblTempUsageDetail_20' ) start [2025-03-08 23:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638402', 'tblTempUsageDetail_20' ) end [2025-03-08 23:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638402', 'tblTempVendorCDR_20' ) start [2025-03-08 23:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638402', 'tblTempVendorCDR_20' ) end [2025-03-08 23:07:17] Production.INFO: ProcessCDR(1,14638402,1,1,2) [2025-03-08 23:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:07:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638402', 'tblTempUsageDetail_20' ) start [2025-03-08 23:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638402', 'tblTempUsageDetail_20' ) end [2025-03-08 23:07:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:07:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:07:20] Production.INFO: ==20908== Releasing lock... [2025-03-08 23:07:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:07:20] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 04:08:01] Production.INFO: ==21048== Lock acquired, processing the job... [2025-03-09 04:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:08:01] Production.INFO: neon service started [2025-03-09 04:08:01] Production.INFO: neon service started [2025-03-09 04:08:01] Production.INFO: ==21048== Releasing lock... [2025-03-09 04:08:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:08:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:08:02] Production.INFO: ==21052== Lock acquired, processing the job... [2025-03-09 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 23:08:02] Production.INFO: ==21050== Lock acquired, processing the job... [2025-03-08 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:08:02] Production.INFO: ==21052== Releasing lock... [2025-03-09 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:08:02] Production.INFO: ==21050== Releasing lock... [2025-03-08 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:08:03] Production.INFO: ==21055== Lock acquired, processing the job... [2025-03-08 23:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:08:03] Production.INFO: ==21057== Lock acquired, processing the job... [2025-03-08 23:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:08:03] Production.INFO: ==21059== Lock acquired, processing the job... [2025-03-08 23:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:08:03] Production.INFO: ==21063== Lock acquired, processing the job... [2025-03-08 23:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:08:03] Production.INFO: ==21061== Lock acquired, processing the job... [2025-03-08 23:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:08:03] Production.INFO: ==21065== Lock acquired, processing the job... [2025-03-08 23:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:08:03] Production.INFO: ==21057== Releasing lock... [2025-03-08 23:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:08:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:08:03] Production.INFO: Account Balance Start. [2025-03-08 23:08:03] Production.INFO: CreateAllLog Start [2025-03-08 23:08:03] Production.INFO: 117 [2025-03-08 23:08:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:08:03] Production.INFO: count ==13 [2025-03-08 23:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:08:04] Production.INFO: count ==21 [2025-03-08 23:08:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638406') start [2025-03-08 23:08:04] Production.INFO: Total Charge 0 [2025-03-08 23:08:04] Production.INFO: CreateAllLog End [2025-03-08 23:08:04] Production.ERROR: done [2025-03-08 23:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638406') end [2025-03-08 23:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:08:04] Production.INFO: 1 [2025-03-08 23:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:08:04] Production.INFO: Account Balance End. [2025-03-08 23:08:04] Production.ERROR: done [2025-03-08 23:08:04] Production.INFO: ==21065== Releasing lock... [2025-03-08 23:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:08:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:08:04] Production.INFO: ==21061== Releasing lock... [2025-03-08 23:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:08:05 [end_date_ymd] => 2025-03-08 23:08:05 [RateCDR] => 1 ) [2025-03-08 23:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:08:05' and `end` < '2025-03-08 23:08:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:08:11] Production.ERROR: CronJobId end10 [2025-03-08 23:08:11] Production.INFO: ==21059== Releasing lock... [2025-03-08 23:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:08:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:08:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:08:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:08:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:08:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:08:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:08:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:08:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:08:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:08:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:08:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:08:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:08:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:08:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:08:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:08:13] Production.INFO: call_cost start [2025-03-08 23:08:13] Production.INFO: call_cost end [2025-03-08 23:08:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:08:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:08:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:08:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:08:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:08:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:08:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:08:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:08:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:08:14] Production.INFO: ==21055== Releasing lock... [2025-03-08 23:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:08:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:08:17] Production.INFO: count ==1296 [2025-03-08 23:08:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:08:05 - End Time 2025-03-08 23:08:05 [2025-03-08 23:08:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638408', 'tblTempUsageDetail_20' ) start [2025-03-08 23:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638408', 'tblTempUsageDetail_20' ) end [2025-03-08 23:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638408', 'tblTempVendorCDR_20' ) start [2025-03-08 23:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638408', 'tblTempVendorCDR_20' ) end [2025-03-08 23:08:17] Production.INFO: ProcessCDR(1,14638408,1,1,2) [2025-03-08 23:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:08:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638408', 'tblTempUsageDetail_20' ) start [2025-03-08 23:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638408', 'tblTempUsageDetail_20' ) end [2025-03-08 23:08:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:08:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:08:20] Production.INFO: ==21063== Releasing lock... [2025-03-08 23:08:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:08:20] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 04:09:01] Production.INFO: ==21156== Lock acquired, processing the job... [2025-03-09 04:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:09:01] Production.INFO: neon service started [2025-03-09 04:09:01] Production.INFO: neon service started [2025-03-09 04:09:01] Production.INFO: ==21156== Releasing lock... [2025-03-09 04:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:09:02] Production.INFO: ==21159== Lock acquired, processing the job... [2025-03-08 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:09:02] Production.INFO: ==21159== Releasing lock... [2025-03-08 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:09:02] Production.INFO: ==21161== Lock acquired, processing the job... [2025-03-09 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:09:02] Production.INFO: ==21161== Releasing lock... [2025-03-09 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:09:03] Production.INFO: ==21167== Lock acquired, processing the job... [2025-03-08 23:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:09:03] Production.INFO: ==21173== Lock acquired, processing the job... [2025-03-08 23:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:09:03] Production.INFO: ==21163== Lock acquired, processing the job... [2025-03-08 23:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:09:03] Production.INFO: ==21165== Lock acquired, processing the job... [2025-03-08 23:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:09:03] Production.INFO: count ==13 [2025-03-08 23:09:03] Production.INFO: ==21169== Lock acquired, processing the job... [2025-03-08 23:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:09:03] Production.INFO: count ==21 [2025-03-08 23:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638409') start [2025-03-08 23:09:03] Production.INFO: ==21171== Lock acquired, processing the job... [2025-03-08 23:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638409') end [2025-03-08 23:09:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:09:03] Production.INFO: 1 [2025-03-08 23:09:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:09:03] Production.INFO: Account Balance Start. [2025-03-08 23:09:03] Production.INFO: CreateAllLog Start [2025-03-08 23:09:03] Production.INFO: 117 [2025-03-08 23:09:04] Production.INFO: ==21173== Releasing lock... [2025-03-08 23:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:09:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:09:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:09:04] Production.INFO: ==21165== Releasing lock... [2025-03-08 23:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:09:04] Production.ERROR: done [2025-03-08 23:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:09:04] Production.INFO: Total Charge 0 [2025-03-08 23:09:04] Production.INFO: CreateAllLog End [2025-03-08 23:09:04] Production.ERROR: done [2025-03-08 23:09:04] Production.INFO: Account Balance End. [2025-03-08 23:09:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:09:04] Production.INFO: ==21169== Releasing lock... [2025-03-08 23:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:09:05 [end_date_ymd] => 2025-03-08 23:09:05 [RateCDR] => 1 ) [2025-03-08 23:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:09:05' and `end` < '2025-03-08 23:09:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:09:11] Production.ERROR: CronJobId end10 [2025-03-08 23:09:11] Production.INFO: ==21167== Releasing lock... [2025-03-08 23:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:09:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:09:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:09:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:09:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:09:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:09:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:09:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:09:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:09:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:09:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:09:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:09:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:09:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:09:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:09:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:09:13] Production.INFO: call_cost start [2025-03-08 23:09:13] Production.INFO: call_cost end [2025-03-08 23:09:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:09:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:09:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:09:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:09:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:09:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:09:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:09:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:09:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:09:14] Production.INFO: ==21163== Releasing lock... [2025-03-08 23:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:09:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:09:17] Production.INFO: count ==1297 [2025-03-08 23:09:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:09:05 - End Time 2025-03-08 23:09:05 [2025-03-08 23:09:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638413', 'tblTempUsageDetail_20' ) start [2025-03-08 23:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638413', 'tblTempUsageDetail_20' ) end [2025-03-08 23:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638413', 'tblTempVendorCDR_20' ) start [2025-03-08 23:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638413', 'tblTempVendorCDR_20' ) end [2025-03-08 23:09:17] Production.INFO: ProcessCDR(1,14638413,1,1,2) [2025-03-08 23:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638413', 'tblTempUsageDetail_20' ) start [2025-03-08 23:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638413', 'tblTempUsageDetail_20' ) end [2025-03-08 23:09:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:09:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:09:22] Production.INFO: ==21171== Releasing lock... [2025-03-08 23:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:09:22] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 04:10:02] Production.INFO: ==21229== Lock acquired, processing the job... [2025-03-09 04:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:10:02] Production.INFO: neon service started [2025-03-09 04:10:02] Production.INFO: neon service started [2025-03-09 04:10:02] Production.INFO: ==21229== Releasing lock... [2025-03-09 04:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:10:02] Production.INFO: ==21233== Lock acquired, processing the job... [2025-03-09 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:10:02] Production.INFO: ==21233== Releasing lock... [2025-03-09 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:10:02] Production.INFO: ==21231== Lock acquired, processing the job... [2025-03-08 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:10:03] Production.INFO: ==21231== Releasing lock... [2025-03-08 23:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:10:03] Production.INFO: ==21238== Lock acquired, processing the job... [2025-03-08 23:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:10:03] Production.INFO: ==21240== Lock acquired, processing the job... [2025-03-08 23:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:10:04] Production.INFO: ==21242== Lock acquired, processing the job... [2025-03-08 23:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:10:04] Production.INFO: ==21236== Lock acquired, processing the job... [2025-03-08 23:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 23:10:04] Production.INFO: ==21250== Lock acquired, processing the job... [2025-03-08 23:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 23:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 23:10:04] Production.ERROR: CronJob PID - 21238 [2025-03-08 23:10:04] Production.ERROR: CronJob Title - System Alerts [2025-03-08 23:10:04] Production.ERROR: CronJob ID - 5 [2025-03-08 23:10:04] Production.ERROR: CronJob Last Run Time 2025-03-08 23:10:00 [2025-03-08 23:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 23:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 23:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 23:10:04] Production.ERROR: CronJob PID - 21242 [2025-03-08 23:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-08 23:10:04] Production.ERROR: CronJob ID - 10 [2025-03-08 23:10:04] Production.ERROR: CronJob Last Run Time 2025-03-08 23:10:00 [2025-03-08 23:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 23:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 23:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 23:10:04] Production.ERROR: CronJob PID - 21250 [2025-03-08 23:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-08 23:10:04] Production.ERROR: CronJob ID - 19 [2025-03-08 23:10:04] Production.ERROR: CronJob Last Run Time 2025-03-08 23:10:00 [2025-03-08 23:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 23:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 23:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 23:10:04] Production.INFO: ==21240== Releasing lock... [2025-03-08 23:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:10:04] Production.INFO: ==21236== Releasing lock... [2025-03-08 23:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 23:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 23:10:04] Production.INFO: ==21244== Lock acquired, processing the job... [2025-03-08 23:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 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-08 23:10:04] Production.INFO: count ==13 [2025-03-08 23:10:04] Production.INFO: ==21248== Lock acquired, processing the job... [2025-03-08 23:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 23:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:10:04] Production.INFO: count ==21 [2025-03-08 23:10:04] Production.INFO: ==21246== Lock acquired, processing the job... [2025-03-08 23:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638416') start [2025-03-08 23:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:10:04] Production.INFO: Account Balance Start. [2025-03-08 23:10:04] Production.INFO: CreateAllLog Start [2025-03-08 23:10:04] Production.INFO: 117 [2025-03-08 23:10:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:10:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638416') end [2025-03-08 23:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:10:04] Production.INFO: 1 [2025-03-08 23:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:10:04] Production.INFO: ==21250== Releasing lock... [2025-03-08 23:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:10:04] Production.INFO: Total Charge 0 [2025-03-08 23:10:04] Production.INFO: CreateAllLog End [2025-03-08 23:10:05] Production.ERROR: done [2025-03-08 23:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:10:05] Production.ERROR: done [2025-03-08 23:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 23:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638418', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 23:10:05] Production.INFO: Account Balance End. [2025-03-08 23:10:05] Production.ERROR: done [2025-03-08 23:10:05] Production.ERROR: CronJobId end 12 [2025-03-08 23:10:05] Production.INFO: ==21244== Releasing lock... [2025-03-08 23:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:10:06 [end_date_ymd] => 2025-03-08 23:10:06 [RateCDR] => 1 ) [2025-03-08 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-08 20:10:06' and `end` < '2025-03-08 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-08 23:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638418', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 23:10:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 23:10:08] Production.INFO: ProcessCDR(1,14638418,1,1,2) [2025-03-08 23:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14638418,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14638418,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:10:08] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:10:08] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:10:08] Production.INFO: ==21248== Releasing lock... [2025-03-08 23:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 23:10:08] Production.INFO: 26 MB #Memory Used# [2025-03-08 23:10:14] Production.ERROR: CronJobId end10 [2025-03-08 23:10:14] Production.INFO: ==21242== Releasing lock... [2025-03-08 23:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:10:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:10:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:10:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:10:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:10:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:10:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:10:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:10:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:10:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:10:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:10:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:10:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:10:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:10:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:10:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:10:15] Production.INFO: call_cost start [2025-03-08 23:10:15] Production.INFO: call_cost end [2025-03-08 23:10:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:10:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:10:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:10:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:10:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:10:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:10:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:10:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:10:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:10:16] Production.INFO: ==21238== Releasing lock... [2025-03-08 23:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:10:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:10:18] Production.INFO: count ==1294 [2025-03-08 23:10:19] Production.ERROR: pbx CDR StartTime 2025-03-08 20:10:06 - End Time 2025-03-08 23:10:06 [2025-03-08 23:10:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638419', 'tblTempUsageDetail_20' ) start [2025-03-08 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638419', 'tblTempUsageDetail_20' ) end [2025-03-08 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638419', 'tblTempVendorCDR_20' ) start [2025-03-08 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638419', 'tblTempVendorCDR_20' ) end [2025-03-08 23:10:19] Production.INFO: ProcessCDR(1,14638419,1,1,2) [2025-03-08 23:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638419', 'tblTempUsageDetail_20' ) start [2025-03-08 23:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638419', 'tblTempUsageDetail_20' ) end [2025-03-08 23:10:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:10:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:10:22] Production.INFO: ==21246== Releasing lock... [2025-03-08 23:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:10:22] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 04:11:01] Production.INFO: ==21306== Lock acquired, processing the job... [2025-03-09 04:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:11:01] Production.INFO: neon service started [2025-03-09 04:11:01] Production.INFO: neon service started [2025-03-09 04:11:01] Production.INFO: ==21306== Releasing lock... [2025-03-09 04:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:11:02] Production.INFO: ==21308== Lock acquired, processing the job... [2025-03-08 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:11:02] Production.INFO: ==21310== Lock acquired, processing the job... [2025-03-09 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:11:02] Production.INFO: ==21310== Releasing lock... [2025-03-09 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:11:02] Production.INFO: ==21308== Releasing lock... [2025-03-08 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:11:03] Production.INFO: ==21313== Lock acquired, processing the job... [2025-03-08 23:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:11:03] Production.INFO: ==21315== Lock acquired, processing the job... [2025-03-08 23:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:11:03] Production.INFO: ==21319== Lock acquired, processing the job... [2025-03-08 23:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:11:03] Production.INFO: Account Balance Start. [2025-03-08 23:11:03] Production.INFO: CreateAllLog Start [2025-03-08 23:11:03] Production.INFO: 117 [2025-03-08 23:11:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:11:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:11:03] Production.INFO: Total Charge 0 [2025-03-08 23:11:03] Production.INFO: CreateAllLog End [2025-03-08 23:11:03] Production.INFO: ==21315== Releasing lock... [2025-03-08 23:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:11:03] Production.INFO: Account Balance End. [2025-03-08 23:11:03] Production.INFO: ==21317== Lock acquired, processing the job... [2025-03-08 23:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:11:03] Production.ERROR: CronJobId end 12 [2025-03-08 23:11:03] Production.INFO: ==21319== Releasing lock... [2025-03-08 23:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:11:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:11:03] Production.INFO: ==21323== Lock acquired, processing the job... [2025-03-08 23:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:11:03] Production.INFO: ==21321== Lock acquired, processing the job... [2025-03-08 23:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:11:03] Production.INFO: count ==13 [2025-03-08 23:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:11:03] Production.INFO: count ==21 [2025-03-08 23:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638423') start [2025-03-08 23:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638423') end [2025-03-08 23:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:11:04] Production.INFO: 1 [2025-03-08 23:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:11:04] Production.INFO: ==21323== Releasing lock... [2025-03-08 23:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:11:04] Production.ERROR: done [2025-03-08 23:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:11:04] Production.ERROR: done [2025-03-08 23:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:11:05 [end_date_ymd] => 2025-03-08 23:11:05 [RateCDR] => 1 ) [2025-03-08 23:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:11:05' and `end` < '2025-03-08 23:11:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:11:11] Production.ERROR: CronJobId end10 [2025-03-08 23:11:11] Production.INFO: ==21317== Releasing lock... [2025-03-08 23:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:11:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:11:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:11:12] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:11:12] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:11:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:11:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:11:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:11:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:11:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:11:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:11:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:11:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:11:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:11:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:11:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:11:13] Production.INFO: call_cost start [2025-03-08 23:11:13] Production.INFO: call_cost end [2025-03-08 23:11:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:11:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:11:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:11:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:11:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:11:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:11:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:11:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:11:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:11:14] Production.INFO: ==21313== Releasing lock... [2025-03-08 23:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:11:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:11:17] Production.INFO: count ==1285 [2025-03-08 23:11:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:11:05 - End Time 2025-03-08 23:11:05 [2025-03-08 23:11:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638424', 'tblTempUsageDetail_20' ) start [2025-03-08 23:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638424', 'tblTempUsageDetail_20' ) end [2025-03-08 23:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638424', 'tblTempVendorCDR_20' ) start [2025-03-08 23:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638424', 'tblTempVendorCDR_20' ) end [2025-03-08 23:11:17] Production.INFO: ProcessCDR(1,14638424,1,1,2) [2025-03-08 23:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638424', 'tblTempUsageDetail_20' ) start [2025-03-08 23:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638424', 'tblTempUsageDetail_20' ) end [2025-03-08 23:11:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:11:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:11:22] Production.INFO: ==21321== Releasing lock... [2025-03-08 23:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:11:22] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 04:12:02] Production.INFO: ==21461== Lock acquired, processing the job... [2025-03-09 04:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:12:02] Production.INFO: neon service started [2025-03-09 04:12:02] Production.INFO: neon service started [2025-03-09 04:12:02] Production.INFO: ==21461== Releasing lock... [2025-03-09 04:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:12:02] Production.INFO: ==21463== Lock acquired, processing the job... [2025-03-08 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:12:02] Production.INFO: ==21463== Releasing lock... [2025-03-08 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:12:02] Production.INFO: ==21465== Lock acquired, processing the job... [2025-03-09 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:12:03] Production.INFO: ==21465== Releasing lock... [2025-03-09 04:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:12:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:12:03] Production.INFO: ==21471== Lock acquired, processing the job... [2025-03-08 23:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:12:03] Production.INFO: ==21476== Lock acquired, processing the job... [2025-03-08 23:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:12:03] Production.INFO: ==21467== Lock acquired, processing the job... [2025-03-08 23:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:12:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:12:03] Production.INFO: ==21469== Lock acquired, processing the job... [2025-03-08 23:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:12:03] Production.INFO: ==21473== Lock acquired, processing the job... [2025-03-08 23:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:12:04] Production.INFO: ==21478== Lock acquired, processing the job... [2025-03-08 23:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:12:04] Production.INFO: Account Balance Start. [2025-03-08 23:12:04] Production.INFO: CreateAllLog Start [2025-03-08 23:12:04] Production.INFO: 117 [2025-03-08 23:12:04] Production.ERROR: done [2025-03-08 23:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:12:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:12:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:12:04] Production.INFO: count ==13 [2025-03-08 23:12:04] Production.INFO: Total Charge 0 [2025-03-08 23:12:04] Production.ERROR: done [2025-03-08 23:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:12:04] Production.INFO: count ==21 [2025-03-08 23:12:04] Production.INFO: CreateAllLog End [2025-03-08 23:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638428') start [2025-03-08 23:12:04] Production.INFO: ==21469== Releasing lock... [2025-03-08 23:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638428') end [2025-03-08 23:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:12:04] Production.INFO: 1 [2025-03-08 23:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:12:04] Production.INFO: Account Balance End. [2025-03-08 23:12:04] Production.INFO: ==21478== Releasing lock... [2025-03-08 23:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:12:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:12:04] Production.INFO: ==21473== Releasing lock... [2025-03-08 23:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:12:05 [end_date_ymd] => 2025-03-08 23:12:05 [RateCDR] => 1 ) [2025-03-08 23:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:12:05' and `end` < '2025-03-08 23:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:12:11] Production.ERROR: CronJobId end10 [2025-03-08 23:12:11] Production.INFO: ==21471== Releasing lock... [2025-03-08 23:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:12:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:12:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:12:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:12:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:12:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:12:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:12:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:12:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:12:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:12:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:12:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:12:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:12:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:12:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:12:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:12:14] Production.INFO: call_cost start [2025-03-08 23:12:14] Production.INFO: call_cost end [2025-03-08 23:12:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:12:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:12:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:12:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:12:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:12:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:12:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:12:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:12:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:12:15] Production.INFO: ==21467== Releasing lock... [2025-03-08 23:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:12:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:12:17] Production.INFO: count ==1282 [2025-03-08 23:12:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:12:05 - End Time 2025-03-08 23:12:05 [2025-03-08 23:12:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638429', 'tblTempUsageDetail_20' ) start [2025-03-08 23:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638429', 'tblTempUsageDetail_20' ) end [2025-03-08 23:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638429', 'tblTempVendorCDR_20' ) start [2025-03-08 23:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638429', 'tblTempVendorCDR_20' ) end [2025-03-08 23:12:17] Production.INFO: ProcessCDR(1,14638429,1,1,2) [2025-03-08 23:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638429', 'tblTempUsageDetail_20' ) start [2025-03-08 23:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638429', 'tblTempUsageDetail_20' ) end [2025-03-08 23:12:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:12:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:12:21] Production.INFO: ==21476== Releasing lock... [2025-03-08 23:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:12:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 04:13:01] Production.INFO: ==21540== Lock acquired, processing the job... [2025-03-09 04:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:13:01] Production.INFO: neon service started [2025-03-09 04:13:01] Production.INFO: neon service started [2025-03-09 04:13:01] Production.INFO: ==21540== Releasing lock... [2025-03-09 04:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:13:02] Production.INFO: ==21542== Lock acquired, processing the job... [2025-03-08 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:13:02] Production.INFO: ==21544== Lock acquired, processing the job... [2025-03-09 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:13:02] Production.INFO: ==21544== Releasing lock... [2025-03-09 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:13:02] Production.INFO: ==21542== Releasing lock... [2025-03-08 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:13:03] Production.INFO: ==21553== Lock acquired, processing the job... [2025-03-08 23:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:13:03] Production.INFO: ==21557== Lock acquired, processing the job... [2025-03-08 23:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:13:03] Production.INFO: Account Balance Start. [2025-03-08 23:13:03] Production.INFO: CreateAllLog Start [2025-03-08 23:13:03] Production.INFO: 117 [2025-03-08 23:13:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:13:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:13:03] Production.INFO: ==21551== Lock acquired, processing the job... [2025-03-08 23:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:13:03] Production.INFO: ==21547== Lock acquired, processing the job... [2025-03-08 23:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:13:03] Production.INFO: Total Charge 0 [2025-03-08 23:13:03] Production.INFO: count ==13 [2025-03-08 23:13:03] Production.INFO: CreateAllLog End [2025-03-08 23:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:13:03] Production.INFO: count ==21 [2025-03-08 23:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638431') start [2025-03-08 23:13:03] Production.INFO: ==21549== Lock acquired, processing the job... [2025-03-08 23:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:13:03] Production.INFO: ==21555== Lock acquired, processing the job... [2025-03-08 23:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:13:03] Production.INFO: Account Balance End. [2025-03-08 23:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638431') end [2025-03-08 23:13:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:13:03] Production.INFO: 1 [2025-03-08 23:13:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:13:03] Production.ERROR: CronJobId end 12 [2025-03-08 23:13:03] Production.INFO: ==21553== Releasing lock... [2025-03-08 23:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:13:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:13:04] Production.INFO: ==21557== Releasing lock... [2025-03-08 23:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:13:04] Production.ERROR: done [2025-03-08 23:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:13:04] Production.INFO: ==21549== Releasing lock... [2025-03-08 23:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:13:04] Production.ERROR: done [2025-03-08 23:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:13:05 [end_date_ymd] => 2025-03-08 23:13:05 [RateCDR] => 1 ) [2025-03-08 23:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:13:05' and `end` < '2025-03-08 23:13:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:13:12] Production.ERROR: CronJobId end10 [2025-03-08 23:13:12] Production.INFO: ==21551== Releasing lock... [2025-03-08 23:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:13:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:13:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:13:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:13:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:13:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:13:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:13:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:13:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:13:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:13:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:13:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:13:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:13:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:13:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:13:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:13:13] Production.INFO: call_cost start [2025-03-08 23:13:13] Production.INFO: call_cost end [2025-03-08 23:13:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:13:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:13:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:13:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:13:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:13:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:13:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:13:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:13:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:13:14] Production.INFO: ==21547== Releasing lock... [2025-03-08 23:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:13:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:13:17] Production.INFO: count ==1281 [2025-03-08 23:13:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:13:05 - End Time 2025-03-08 23:13:05 [2025-03-08 23:13:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638434', 'tblTempUsageDetail_20' ) start [2025-03-08 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638434', 'tblTempUsageDetail_20' ) end [2025-03-08 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638434', 'tblTempVendorCDR_20' ) start [2025-03-08 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638434', 'tblTempVendorCDR_20' ) end [2025-03-08 23:13:18] Production.INFO: ProcessCDR(1,14638434,1,1,2) [2025-03-08 23:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638434', 'tblTempUsageDetail_20' ) start [2025-03-08 23:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638434', 'tblTempUsageDetail_20' ) end [2025-03-08 23:13:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:13:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:13:21] Production.INFO: ==21555== Releasing lock... [2025-03-08 23:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:13:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 04:14:01] Production.INFO: ==21613== Lock acquired, processing the job... [2025-03-09 04:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:14:02] Production.INFO: neon service started [2025-03-09 04:14:02] Production.INFO: neon service started [2025-03-09 04:14:02] Production.INFO: ==21613== Releasing lock... [2025-03-09 04:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:14:02] Production.INFO: ==21617== Lock acquired, processing the job... [2025-03-09 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:14:02] Production.INFO: ==21617== Releasing lock... [2025-03-09 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:14:02] Production.INFO: ==21615== Lock acquired, processing the job... [2025-03-08 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:14:02] Production.INFO: ==21615== Releasing lock... [2025-03-08 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:14:03] Production.INFO: ==21619== Lock acquired, processing the job... [2025-03-08 23:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:14:03] Production.INFO: ==21621== Lock acquired, processing the job... [2025-03-08 23:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:14:03] Production.INFO: ==21627== Lock acquired, processing the job... [2025-03-08 23:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:14:03] Production.INFO: ==21623== Lock acquired, processing the job... [2025-03-08 23:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:14:03] Production.INFO: ==21625== Lock acquired, processing the job... [2025-03-08 23:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:14:04] Production.INFO: ==21621== Releasing lock... [2025-03-08 23:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:14:04] Production.INFO: ==21630== Lock acquired, processing the job... [2025-03-08 23:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:14:04] Production.ERROR: done [2025-03-08 23:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:14:04] Production.INFO: Account Balance Start. [2025-03-08 23:14:04] Production.INFO: CreateAllLog Start [2025-03-08 23:14:04] Production.INFO: 117 [2025-03-08 23:14:04] Production.INFO: count ==13 [2025-03-08 23:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:14:04] Production.INFO: count ==21 [2025-03-08 23:14:04] Production.ERROR: done [2025-03-08 23:14:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:14:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:14:04] Production.INFO: Total Charge 0 [2025-03-08 23:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638437') start [2025-03-08 23:14:04] Production.INFO: CreateAllLog End [2025-03-08 23:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638437') end [2025-03-08 23:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:14:04] Production.INFO: 1 [2025-03-08 23:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:14:04] Production.INFO: ==21630== Releasing lock... [2025-03-08 23:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:14:04] Production.INFO: Account Balance End. [2025-03-08 23:14:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:14:04] Production.INFO: ==21625== Releasing lock... [2025-03-08 23:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:14:05 [end_date_ymd] => 2025-03-08 23:14:05 [RateCDR] => 1 ) [2025-03-08 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-08 20:14:05' and `end` < '2025-03-08 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-08 23:14:11] Production.ERROR: CronJobId end10 [2025-03-08 23:14:11] Production.INFO: ==21623== Releasing lock... [2025-03-08 23:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:14:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:14:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:14:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:14:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:14:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:14:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:14:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:14:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:14:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:14:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:14:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:14:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:14:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:14:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:14:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:14:13] Production.INFO: call_cost start [2025-03-08 23:14:13] Production.INFO: call_cost end [2025-03-08 23:14:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:14:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:14:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:14:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:14:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:14:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:14:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:14:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:14:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:14:14] Production.INFO: ==21619== Releasing lock... [2025-03-08 23:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:14:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:14:17] Production.INFO: count ==1281 [2025-03-08 23:14:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:14:05 - End Time 2025-03-08 23:14:05 [2025-03-08 23:14:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638439', 'tblTempUsageDetail_20' ) start [2025-03-08 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638439', 'tblTempUsageDetail_20' ) end [2025-03-08 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638439', 'tblTempVendorCDR_20' ) start [2025-03-08 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638439', 'tblTempVendorCDR_20' ) end [2025-03-08 23:14:18] Production.INFO: ProcessCDR(1,14638439,1,1,2) [2025-03-08 23:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638439', 'tblTempUsageDetail_20' ) start [2025-03-08 23:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638439', 'tblTempUsageDetail_20' ) end [2025-03-08 23:14:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:14:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:14:21] Production.INFO: ==21627== Releasing lock... [2025-03-08 23:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:14:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 04:15:01] Production.INFO: ==21766== Lock acquired, processing the job... [2025-03-09 04:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:15:01] Production.INFO: neon service started [2025-03-09 04:15:01] Production.INFO: neon service started [2025-03-09 04:15:01] Production.INFO: ==21766== Releasing lock... [2025-03-09 04:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:15:01] Production.INFO: ==21768== Lock acquired, processing the job... [2025-03-08 23:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:15:01] Production.INFO: ==21770== Lock acquired, processing the job... [2025-03-09 04:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:15:01] Production.INFO: ==21770== Releasing lock... [2025-03-09 04:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:15:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:15:02] Production.INFO: ==21768== Releasing lock... [2025-03-08 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:15:03] Production.INFO: ==21773== Lock acquired, processing the job... [2025-03-08 23:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:15:03] Production.INFO: ==21783== Lock acquired, processing the job... [2025-03-08 23:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:15:03] Production.INFO: ==21777== Lock acquired, processing the job... [2025-03-08 23:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:15:03] Production.INFO: count ==13 [2025-03-08 23:15:03] Production.INFO: ==21779== Lock acquired, processing the job... [2025-03-08 23:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:15:03] Production.INFO: ==21781== Lock acquired, processing the job... [2025-03-08 23:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:15:03] Production.INFO: ==21775== Lock acquired, processing the job... [2025-03-08 23:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:15:03] Production.INFO: count ==21 [2025-03-08 23:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638441') start [2025-03-08 23:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:15:03] Production.INFO: Account Balance Start. [2025-03-08 23:15:03] Production.INFO: CreateAllLog Start [2025-03-08 23:15:03] Production.INFO: 117 [2025-03-08 23:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638441') end [2025-03-08 23:15:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:15:03] Production.INFO: 1 [2025-03-08 23:15:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:15:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:15:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:15:03] Production.INFO: Total Charge 0 [2025-03-08 23:15:03] Production.INFO: ==21783== Releasing lock... [2025-03-08 23:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:15:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:15:03] Production.INFO: CreateAllLog End [2025-03-08 23:15:03] Production.ERROR: done [2025-03-08 23:15:03] Production.INFO: ==21775== Releasing lock... [2025-03-08 23:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:15:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:15:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:15:03] Production.ERROR: done [2025-03-08 23:15:03] Production.INFO: Account Balance End. [2025-03-08 23:15:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:15:04] Production.INFO: ==21779== Releasing lock... [2025-03-08 23:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:15:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:15:04 [end_date_ymd] => 2025-03-08 23:15:04 [RateCDR] => 1 ) [2025-03-08 23: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-08 20:15:04' and `end` < '2025-03-08 23: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-08 23:15:11] Production.ERROR: CronJobId end10 [2025-03-08 23:15:11] Production.INFO: ==21777== Releasing lock... [2025-03-08 23:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:15:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:15:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:15:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:15:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:15:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:15:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:15:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:15:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:15:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:15:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:15:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:15:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:15:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:15:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:15:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:15:14] Production.INFO: call_cost start [2025-03-08 23:15:14] Production.INFO: call_cost end [2025-03-08 23:15:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:15:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:15:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:15:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:15:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:15:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:15:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:15:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:15:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:15:15] Production.INFO: ==21773== Releasing lock... [2025-03-08 23:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:15:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:15:17] Production.INFO: count ==1284 [2025-03-08 23:15:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:15:04 - End Time 2025-03-08 23:15:04 [2025-03-08 23:15:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638444', 'tblTempUsageDetail_20' ) start [2025-03-08 23:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638444', 'tblTempUsageDetail_20' ) end [2025-03-08 23:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638444', 'tblTempVendorCDR_20' ) start [2025-03-08 23:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638444', 'tblTempVendorCDR_20' ) end [2025-03-08 23:15:17] Production.INFO: ProcessCDR(1,14638444,1,1,2) [2025-03-08 23:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:15:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638444', 'tblTempUsageDetail_20' ) start [2025-03-08 23:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638444', 'tblTempUsageDetail_20' ) end [2025-03-08 23:15:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:15:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:15:20] Production.INFO: ==21781== Releasing lock... [2025-03-08 23:15:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:15:20] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 04:16:01] Production.INFO: ==21839== Lock acquired, processing the job... [2025-03-09 04:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:16:01] Production.INFO: neon service started [2025-03-09 04:16:01] Production.INFO: neon service started [2025-03-09 04:16:01] Production.INFO: ==21839== Releasing lock... [2025-03-09 04:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:16:02] Production.INFO: ==21841== Lock acquired, processing the job... [2025-03-08 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:16:02] Production.INFO: ==21843== Lock acquired, processing the job... [2025-03-09 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:16:02] Production.INFO: ==21843== Releasing lock... [2025-03-09 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:16:02] Production.INFO: ==21841== Releasing lock... [2025-03-08 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:16:03] Production.INFO: ==21848== Lock acquired, processing the job... [2025-03-08 23:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:16:03] Production.INFO: ==21846== Lock acquired, processing the job... [2025-03-08 23:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:16:03] Production.INFO: ==21852== Lock acquired, processing the job... [2025-03-08 23:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:16:03] Production.INFO: ==21850== Lock acquired, processing the job... [2025-03-08 23:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:16:03] Production.INFO: ==21856== Lock acquired, processing the job... [2025-03-08 23:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:16:03] Production.INFO: Account Balance Start. [2025-03-08 23:16:03] Production.INFO: CreateAllLog Start [2025-03-08 23:16:03] Production.INFO: ==21848== Releasing lock... [2025-03-08 23:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:16:03] Production.INFO: ==21854== Lock acquired, processing the job... [2025-03-08 23:16:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:16:03] Production.INFO: 117 [2025-03-08 23:16:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:16:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:16:03] Production.INFO: Total Charge 0 [2025-03-08 23:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:16:03] Production.INFO: CreateAllLog End [2025-03-08 23:16:03] Production.INFO: count ==13 [2025-03-08 23:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:16:04] Production.INFO: count ==21 [2025-03-08 23:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638448') start [2025-03-08 23:16:04] Production.INFO: Account Balance End. [2025-03-08 23:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638448') end [2025-03-08 23:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:16:04] Production.INFO: 1 [2025-03-08 23:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:16:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:16:04] Production.INFO: ==21852== Releasing lock... [2025-03-08 23:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:16:04] Production.ERROR: done [2025-03-08 23:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:16:04] Production.INFO: ==21856== Releasing lock... [2025-03-08 23:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:16:04] Production.ERROR: done [2025-03-08 23:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:16:05 [end_date_ymd] => 2025-03-08 23:16:05 [RateCDR] => 1 ) [2025-03-08 23:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:16:05' and `end` < '2025-03-08 23:16:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:16:11] Production.ERROR: CronJobId end10 [2025-03-08 23:16:11] Production.INFO: ==21850== Releasing lock... [2025-03-08 23:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:16:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:16:14] Production.INFO: call_cost start [2025-03-08 23:16:14] Production.INFO: call_cost end [2025-03-08 23:16:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:16:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:16:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:16:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:16:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:16:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:16:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:16:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:16:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:16:15] Production.INFO: ==21846== Releasing lock... [2025-03-08 23:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:16:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:16:17] Production.INFO: count ==1280 [2025-03-08 23:16:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:16:05 - End Time 2025-03-08 23:16:05 [2025-03-08 23:16:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638449', 'tblTempUsageDetail_20' ) start [2025-03-08 23:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638449', 'tblTempUsageDetail_20' ) end [2025-03-08 23:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638449', 'tblTempVendorCDR_20' ) start [2025-03-08 23:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638449', 'tblTempVendorCDR_20' ) end [2025-03-08 23:16:17] Production.INFO: ProcessCDR(1,14638449,1,1,2) [2025-03-08 23:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638449', 'tblTempUsageDetail_20' ) start [2025-03-08 23:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638449', 'tblTempUsageDetail_20' ) end [2025-03-08 23:16:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:16:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:16:21] Production.INFO: ==21854== Releasing lock... [2025-03-08 23:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:16:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 04:17:02] Production.INFO: ==21911== Lock acquired, processing the job... [2025-03-09 04:17:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:17:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:17:02] Production.INFO: neon service started [2025-03-09 04:17:02] Production.INFO: neon service started [2025-03-09 04:17:02] Production.INFO: ==21911== Releasing lock... [2025-03-09 04:17:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:17:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 23:17:02] Production.INFO: ==21913== Lock acquired, processing the job... [2025-03-08 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:17:02] Production.INFO: ==21915== Lock acquired, processing the job... [2025-03-09 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:17:02] Production.INFO: ==21915== Releasing lock... [2025-03-09 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:17:03] Production.INFO: ==21913== Releasing lock... [2025-03-08 23:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:17:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:17:03] Production.INFO: ==21918== Lock acquired, processing the job... [2025-03-08 23:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:17:03] Production.INFO: ==21920== Lock acquired, processing the job... [2025-03-08 23:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:17:04] Production.INFO: ==21926== Lock acquired, processing the job... [2025-03-08 23:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:17:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:17:04] Production.INFO: ==21920== Releasing lock... [2025-03-08 23:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:17:04] Production.INFO: ==21922== Lock acquired, processing the job... [2025-03-08 23:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:17:04] Production.INFO: ==21928== Lock acquired, processing the job... [2025-03-08 23:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:17:04] Production.INFO: ==21924== Lock acquired, processing the job... [2025-03-08 23:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:17:04] Production.ERROR: done [2025-03-08 23:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:17:04] Production.INFO: Account Balance Start. [2025-03-08 23:17:04] Production.INFO: CreateAllLog Start [2025-03-08 23:17:04] Production.INFO: 117 [2025-03-08 23:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:17:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:17:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:17:04] Production.INFO: Total Charge 0 [2025-03-08 23:17:04] Production.INFO: CreateAllLog End [2025-03-08 23:17:04] Production.INFO: count ==13 [2025-03-08 23:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:17:04] Production.INFO: count ==21 [2025-03-08 23:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638452') start [2025-03-08 23:17:04] Production.ERROR: done [2025-03-08 23:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638452') end [2025-03-08 23:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:17:04] Production.INFO: 1 [2025-03-08 23:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:17:04] Production.INFO: Account Balance End. [2025-03-08 23:17:04] Production.INFO: ==21928== Releasing lock... [2025-03-08 23:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:17:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:17:04] Production.INFO: ==21924== Releasing lock... [2025-03-08 23:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:17:05 [end_date_ymd] => 2025-03-08 23:17:05 [RateCDR] => 1 ) [2025-03-08 23:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:17:05' and `end` < '2025-03-08 23:17:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:17:11] Production.ERROR: CronJobId end10 [2025-03-08 23:17:11] Production.INFO: ==21922== Releasing lock... [2025-03-08 23:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:17:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:17:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:17:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:17:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:17:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:17:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:17:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:17:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:17:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:17:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:17:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:17:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:17:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:17:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:17:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:17:14] Production.INFO: call_cost start [2025-03-08 23:17:14] Production.INFO: call_cost end [2025-03-08 23:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:17:15] Production.INFO: ==21918== Releasing lock... [2025-03-08 23:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:17:18] Production.INFO: count ==1283 [2025-03-08 23:17:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:17:05 - End Time 2025-03-08 23:17:05 [2025-03-08 23:17:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638454', 'tblTempUsageDetail_20' ) start [2025-03-08 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638454', 'tblTempUsageDetail_20' ) end [2025-03-08 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638454', 'tblTempVendorCDR_20' ) start [2025-03-08 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638454', 'tblTempVendorCDR_20' ) end [2025-03-08 23:17:18] Production.INFO: ProcessCDR(1,14638454,1,1,2) [2025-03-08 23:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638454', 'tblTempUsageDetail_20' ) start [2025-03-08 23:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638454', 'tblTempUsageDetail_20' ) end [2025-03-08 23:17:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:17:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:17:21] Production.INFO: ==21926== Releasing lock... [2025-03-08 23:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:17:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 04:18:01] Production.INFO: ==21986== Lock acquired, processing the job... [2025-03-09 04:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:18:01] Production.INFO: neon service started [2025-03-09 04:18:01] Production.INFO: neon service started [2025-03-09 04:18:01] Production.INFO: ==21986== Releasing lock... [2025-03-09 04:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:18:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:18:02] Production.INFO: ==21988== Lock acquired, processing the job... [2025-03-08 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:18:02] Production.INFO: ==21990== Lock acquired, processing the job... [2025-03-09 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 23:18:02] Production.INFO: ==21988== Releasing lock... [2025-03-08 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:18:02] Production.INFO: ==21990== Releasing lock... [2025-03-09 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:18:03] Production.INFO: ==22001== Lock acquired, processing the job... [2025-03-08 23:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:18:03] Production.INFO: ==21997== Lock acquired, processing the job... [2025-03-08 23:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:18:03] Production.INFO: ==21995== Lock acquired, processing the job... [2025-03-08 23:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:18:03] Production.INFO: ==21993== Lock acquired, processing the job... [2025-03-08 23:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:18:03] Production.INFO: ==21999== Lock acquired, processing the job... [2025-03-08 23:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:18:03] Production.INFO: ==22003== Lock acquired, processing the job... [2025-03-08 23:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:18:03] Production.INFO: Account Balance Start. [2025-03-08 23:18:03] Production.INFO: CreateAllLog Start [2025-03-08 23:18:03] Production.INFO: 117 [2025-03-08 23:18:03] Production.INFO: Date 2025-03-08 [2025-03-08 23: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-08 23:18:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:18:04] Production.ERROR: done [2025-03-08 23:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:18:04] Production.INFO: count ==13 [2025-03-08 23: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-08 23:18:04] Production.INFO: count ==21 [2025-03-08 23:18:04] Production.INFO: Total Charge 0 [2025-03-08 23:18:04] Production.INFO: CreateAllLog End [2025-03-08 23:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638456') start [2025-03-08 23:18:04] Production.ERROR: done [2025-03-08 23:18:04] Production.INFO: Account Balance End. [2025-03-08 23:18:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:18:04] Production.INFO: ==21999== Releasing lock... [2025-03-08 23:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638456') end [2025-03-08 23:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:18:04] Production.INFO: 1 [2025-03-08 23:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:18:04] Production.INFO: ==21995== Releasing lock... [2025-03-08 23:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:18:04] Production.INFO: ==22003== Releasing lock... [2025-03-08 23:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:18:05 [end_date_ymd] => 2025-03-08 23:18:05 [RateCDR] => 1 ) [2025-03-08 23:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:18:05' and `end` < '2025-03-08 23:18:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:18:11] Production.ERROR: CronJobId end10 [2025-03-08 23:18:11] Production.INFO: ==21997== Releasing lock... [2025-03-08 23:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:18:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:18:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:18:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:18:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:18:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:18:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:18:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:18:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:18:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:18:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:18:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:18:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:18:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:18:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:18:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:18:14] Production.INFO: call_cost start [2025-03-08 23:18:14] Production.INFO: call_cost end [2025-03-08 23:18:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:18:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:18:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:18:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:18:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:18:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:18:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:18:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:18:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:18:15] Production.INFO: ==21993== Releasing lock... [2025-03-08 23:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:18:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:18:17] Production.INFO: count ==1281 [2025-03-08 23:18:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:18:05 - End Time 2025-03-08 23:18:05 [2025-03-08 23:18:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638459', 'tblTempUsageDetail_20' ) start [2025-03-08 23:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638459', 'tblTempUsageDetail_20' ) end [2025-03-08 23:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638459', 'tblTempVendorCDR_20' ) start [2025-03-08 23:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638459', 'tblTempVendorCDR_20' ) end [2025-03-08 23:18:17] Production.INFO: ProcessCDR(1,14638459,1,1,2) [2025-03-08 23:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638459', 'tblTempUsageDetail_20' ) start [2025-03-08 23:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638459', 'tblTempUsageDetail_20' ) end [2025-03-08 23:18:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:18:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:18:21] Production.INFO: ==22001== Releasing lock... [2025-03-08 23:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:18:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 04:19:02] Production.INFO: ==22061== Lock acquired, processing the job... [2025-03-09 04:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:19:02] Production.INFO: neon service started [2025-03-09 04:19:02] Production.INFO: neon service started [2025-03-09 04:19:02] Production.INFO: ==22061== Releasing lock... [2025-03-09 04:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:19:02] Production.INFO: ==22063== Lock acquired, processing the job... [2025-03-08 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:19:03] Production.INFO: ==22063== Releasing lock... [2025-03-08 23:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:19:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:19:03] Production.INFO: ==22065== Lock acquired, processing the job... [2025-03-09 04:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:19:03] Production.INFO: ==22065== Releasing lock... [2025-03-09 04:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:19:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:19:03] Production.INFO: ==22071== Lock acquired, processing the job... [2025-03-08 23:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:19:04] Production.INFO: ==22073== Lock acquired, processing the job... [2025-03-08 23:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:19:04] Production.INFO: Account Balance Start. [2025-03-08 23:19:04] Production.INFO: CreateAllLog Start [2025-03-08 23:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:19:04] Production.INFO: 117 [2025-03-08 23:19:04] Production.INFO: ==22069== Lock acquired, processing the job... [2025-03-08 23:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:19:04] Production.INFO: ==22067== Lock acquired, processing the job... [2025-03-08 23:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:19:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:19:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:19:04] Production.INFO: Total Charge 0 [2025-03-08 23:19:04] Production.INFO: ==22075== Lock acquired, processing the job... [2025-03-08 23:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:19:04] Production.INFO: CreateAllLog End [2025-03-08 23:19:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:19:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:19:04] Production.INFO: ==22078== Lock acquired, processing the job... [2025-03-08 23:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:19:04] Production.INFO: Account Balance End. [2025-03-08 23:19:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:19:04] Production.INFO: ==22073== Releasing lock... [2025-03-08 23:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:19:04] Production.INFO: ==22069== Releasing lock... [2025-03-08 23:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:19:04] Production.INFO: count ==13 [2025-03-08 23:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:19:04] Production.INFO: count ==21 [2025-03-08 23:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638463') start [2025-03-08 23:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638463') end [2025-03-08 23:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:19:04] Production.INFO: 1 [2025-03-08 23:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:19:04] Production.INFO: ==22078== Releasing lock... [2025-03-08 23:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:19:05] Production.ERROR: done [2025-03-08 23:19:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:19:05] Production.ERROR: done [2025-03-08 23:19:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:19:06 [end_date_ymd] => 2025-03-08 23:19:06 [RateCDR] => 1 ) [2025-03-08 23: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-08 20:19:06' and `end` < '2025-03-08 23: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-08 23:19:12] Production.ERROR: CronJobId end10 [2025-03-08 23:19:12] Production.INFO: ==22071== Releasing lock... [2025-03-08 23:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:19:14] Production.INFO: call_cost start [2025-03-08 23:19:14] Production.INFO: call_cost end [2025-03-08 23:19:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:19:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:19:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:19:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:19:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:19:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:19:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:19:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:19:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:19:15] Production.INFO: ==22067== Releasing lock... [2025-03-08 23:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:19:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:19:18] Production.INFO: count ==1280 [2025-03-08 23:19:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:19:06 - End Time 2025-03-08 23:19:06 [2025-03-08 23:19:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638464', 'tblTempUsageDetail_20' ) start [2025-03-08 23:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638464', 'tblTempUsageDetail_20' ) end [2025-03-08 23:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638464', 'tblTempVendorCDR_20' ) start [2025-03-08 23:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638464', 'tblTempVendorCDR_20' ) end [2025-03-08 23:19:18] Production.INFO: ProcessCDR(1,14638464,1,1,2) [2025-03-08 23:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638464', 'tblTempUsageDetail_20' ) start [2025-03-08 23:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638464', 'tblTempUsageDetail_20' ) end [2025-03-08 23:19:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:19:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:19:22] Production.INFO: ==22075== Releasing lock... [2025-03-08 23:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:19:22] Production.INFO: 38 MB #Memory Used# [2025-03-09 04:20:01] Production.INFO: ==22134== Lock acquired, processing the job... [2025-03-09 04:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:20:01] Production.INFO: neon service started [2025-03-09 04:20:01] Production.INFO: neon service started [2025-03-09 04:20:01] Production.INFO: ==22134== Releasing lock... [2025-03-09 04:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:20:02] Production.INFO: ==22136== Lock acquired, processing the job... [2025-03-08 23:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:20:02] Production.INFO: ==22138== Lock acquired, processing the job... [2025-03-09 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:20:02] Production.INFO: ==22138== Releasing lock... [2025-03-09 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:20:03] Production.INFO: ==22136== Releasing lock... [2025-03-08 23:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:20:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:20:03] Production.INFO: ==22141== Lock acquired, processing the job... [2025-03-08 23:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 23:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 23:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 23:20:04] Production.INFO: ==22141== Releasing lock... [2025-03-08 23:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 23:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 23:20:04] Production.INFO: ==22147== Lock acquired, processing the job... [2025-03-08 23:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:20:04] Production.INFO: ==22143== Lock acquired, processing the job... [2025-03-08 23:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:20:04] Production.INFO: ==22149== Lock acquired, processing the job... [2025-03-08 23:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:20:04] Production.INFO: ==22145== Lock acquired, processing the job... [2025-03-08 23:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:20:04] Production.INFO: ==22153== Lock acquired, processing the job... [2025-03-08 23:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 23:20:04] Production.INFO: Account Balance Start. [2025-03-08 23:20:04] Production.INFO: CreateAllLog Start [2025-03-08 23:20:04] Production.INFO: 117 [2025-03-08 23:20:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:20:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:20:04] Production.INFO: Total Charge 0 [2025-03-08 23:20:04] Production.INFO: ==22151== Lock acquired, processing the job... [2025-03-08 23:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:20:04] Production.INFO: CreateAllLog End [2025-03-08 23:20:04] Production.INFO: ==22155== Lock acquired, processing the job... [2025-03-08 23:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:20:04] Production.INFO: ==22145== Releasing lock... [2025-03-08 23:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:20:04] Production.ERROR: done [2025-03-08 23:20:04] Production.INFO: count ==13 [2025-03-08 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-08 23:20:05] Production.INFO: count ==21 [2025-03-08 23:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14638468') start [2025-03-08 23:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 23:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638469', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 23:20:05] Production.INFO: Account Balance End. [2025-03-08 23:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14638468') end [2025-03-08 23:20:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:20:05] Production.INFO: 1 [2025-03-08 23:20:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:20:05] Production.ERROR: CronJobId end 12 [2025-03-08 23:20:05] Production.INFO: ==22149== Releasing lock... [2025-03-08 23:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:20:05] Production.INFO: ==22155== Releasing lock... [2025-03-08 23:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:20:05] Production.ERROR: done [2025-03-08 23:20:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:20:05] Production.ERROR: done [2025-03-08 23:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:20:06 [end_date_ymd] => 2025-03-08 23:20:06 [RateCDR] => 1 ) [2025-03-08 23:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:20:06' and `end` < '2025-03-08 23:20:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638469', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 23:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 23:20:09] Production.INFO: ProcessCDR(1,14638469,1,1,2) [2025-03-08 23:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14638469,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14638469,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:20:09] Production.INFO: ==22153== Releasing lock... [2025-03-08 23:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 23:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-08 23:20:14] Production.ERROR: CronJobId end10 [2025-03-08 23:20:14] Production.INFO: ==22147== Releasing lock... [2025-03-08 23:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:20:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:20:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:20:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:20:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:20:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:20:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:20:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:20:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:20:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:20:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:20:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:20:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:20:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:20:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:20:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:20:16] Production.INFO: call_cost start [2025-03-08 23:20:16] Production.INFO: call_cost end [2025-03-08 23:20:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:20:17] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:20:17] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:20:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:20:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:20:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:20:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:20:17] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:20:17] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:20:17] Production.INFO: ==22143== Releasing lock... [2025-03-08 23:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:20:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:20:19] Production.INFO: count ==1280 [2025-03-08 23:20:19] Production.ERROR: pbx CDR StartTime 2025-03-08 20:20:06 - End Time 2025-03-08 23:20:06 [2025-03-08 23:20:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638470', 'tblTempUsageDetail_20' ) start [2025-03-08 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638470', 'tblTempUsageDetail_20' ) end [2025-03-08 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638470', 'tblTempVendorCDR_20' ) start [2025-03-08 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638470', 'tblTempVendorCDR_20' ) end [2025-03-08 23:20:19] Production.INFO: ProcessCDR(1,14638470,1,1,2) [2025-03-08 23:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638470', 'tblTempUsageDetail_20' ) start [2025-03-08 23:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638470', 'tblTempUsageDetail_20' ) end [2025-03-08 23:20:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:20:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:20:22] Production.INFO: ==22151== Releasing lock... [2025-03-08 23:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:20:22] Production.INFO: 38 MB #Memory Used# [2025-03-09 04:21:01] Production.INFO: ==22209== Lock acquired, processing the job... [2025-03-09 04:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:21:01] Production.INFO: neon service started [2025-03-09 04:21:01] Production.INFO: neon service started [2025-03-09 04:21:01] Production.INFO: ==22209== Releasing lock... [2025-03-09 04:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:21:01] Production.INFO: ==22213== Lock acquired, processing the job... [2025-03-09 04:21:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:21:01] Production.INFO: ==22213== Releasing lock... [2025-03-09 04:21:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:21:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:21:02] Production.INFO: ==22211== Lock acquired, processing the job... [2025-03-08 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:21:02] Production.INFO: ==22211== Releasing lock... [2025-03-08 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:21:03] Production.INFO: ==22220== Lock acquired, processing the job... [2025-03-08 23:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:21:03] Production.INFO: ==22226== Lock acquired, processing the job... [2025-03-08 23:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:21:03] Production.INFO: ==22218== Lock acquired, processing the job... [2025-03-08 23:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:21:03] Production.INFO: ==22216== Lock acquired, processing the job... [2025-03-08 23:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 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-08 23:21:03] Production.INFO: ==22222== Lock acquired, processing the job... [2025-03-08 23:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:21:03] Production.INFO: count ==13 [2025-03-08 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-08 23:21:03] Production.INFO: count ==21 [2025-03-08 23:21:03] Production.INFO: ==22224== Lock acquired, processing the job... [2025-03-08 23:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638471') start [2025-03-08 23:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638471') end [2025-03-08 23:21:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:21:03] Production.INFO: 1 [2025-03-08 23:21:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:21:03] Production.INFO: Account Balance Start. [2025-03-08 23:21:03] Production.INFO: CreateAllLog Start [2025-03-08 23:21:03] Production.INFO: 117 [2025-03-08 23:21:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:21:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:21:03] Production.INFO: Total Charge 0 [2025-03-08 23:21:03] Production.INFO: CreateAllLog End [2025-03-08 23:21:03] Production.INFO: ==22226== Releasing lock... [2025-03-08 23:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:21:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:21:04] Production.INFO: ==22218== Releasing lock... [2025-03-08 23:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:21:04] Production.INFO: Account Balance End. [2025-03-08 23:21:04] Production.ERROR: done [2025-03-08 23:21:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:21:04] Production.INFO: ==22222== Releasing lock... [2025-03-08 23:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:21:04] Production.ERROR: done [2025-03-08 23:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:21:05 [end_date_ymd] => 2025-03-08 23:21:05 [RateCDR] => 1 ) [2025-03-08 23:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:21:05' and `end` < '2025-03-08 23:21:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:21:12] Production.ERROR: CronJobId end10 [2025-03-08 23:21:12] Production.INFO: ==22220== Releasing lock... [2025-03-08 23:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:21:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:21:14] Production.INFO: call_cost start [2025-03-08 23:21:14] Production.INFO: call_cost end [2025-03-08 23:21:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:21:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:21:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:21:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:21:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:21:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:21:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:21:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:21:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:21:15] Production.INFO: ==22216== Releasing lock... [2025-03-08 23:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:21:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:21:17] Production.INFO: count ==1257 [2025-03-08 23:21:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:21:05 - End Time 2025-03-08 23:21:05 [2025-03-08 23:21:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638475', 'tblTempUsageDetail_20' ) start [2025-03-08 23:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638475', 'tblTempUsageDetail_20' ) end [2025-03-08 23:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638475', 'tblTempVendorCDR_20' ) start [2025-03-08 23:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638475', 'tblTempVendorCDR_20' ) end [2025-03-08 23:21:17] Production.INFO: ProcessCDR(1,14638475,1,1,2) [2025-03-08 23:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638475', 'tblTempUsageDetail_20' ) start [2025-03-08 23:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638475', 'tblTempUsageDetail_20' ) end [2025-03-08 23:21:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:21:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:21:21] Production.INFO: ==22224== Releasing lock... [2025-03-08 23:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:21:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 04:22:01] Production.INFO: ==22282== Lock acquired, processing the job... [2025-03-09 04:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:22:02] Production.INFO: neon service started [2025-03-09 04:22:02] Production.INFO: neon service started [2025-03-09 04:22:02] Production.INFO: ==22282== Releasing lock... [2025-03-09 04:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:22:02] Production.INFO: ==22284== Lock acquired, processing the job... [2025-03-08 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:22:02] Production.INFO: ==22284== Releasing lock... [2025-03-08 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:22:02] Production.INFO: ==22286== Lock acquired, processing the job... [2025-03-09 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:22:02] Production.INFO: ==22286== Releasing lock... [2025-03-09 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:22:03] Production.INFO: ==22288== Lock acquired, processing the job... [2025-03-08 23:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:22:03] Production.INFO: ==22296== Lock acquired, processing the job... [2025-03-08 23:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:22:03] Production.INFO: ==22290== Lock acquired, processing the job... [2025-03-08 23:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:22:03] Production.INFO: ==22292== Lock acquired, processing the job... [2025-03-08 23:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:22:03] Production.INFO: ==22294== Lock acquired, processing the job... [2025-03-08 23:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:22:03] Production.INFO: ==22298== Lock acquired, processing the job... [2025-03-08 23:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:22:04] Production.INFO: Account Balance Start. [2025-03-08 23:22:04] Production.INFO: CreateAllLog Start [2025-03-08 23:22:04] Production.INFO: 117 [2025-03-08 23:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:22:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:22:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:22:04] Production.INFO: count ==13 [2025-03-08 23:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:22:04] Production.INFO: count ==21 [2025-03-08 23:22:04] Production.INFO: Total Charge 0 [2025-03-08 23:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638478') start [2025-03-08 23:22:04] Production.INFO: CreateAllLog End [2025-03-08 23:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638478') end [2025-03-08 23:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:22:04] Production.INFO: 1 [2025-03-08 23:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:22:04] Production.ERROR: done [2025-03-08 23:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:22:04] Production.INFO: ==22290== Releasing lock... [2025-03-08 23:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:22:04] Production.INFO: ==22298== Releasing lock... [2025-03-08 23:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:22:04] Production.INFO: Account Balance End. [2025-03-08 23:22:04] Production.ERROR: done [2025-03-08 23:22:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:22:04] Production.INFO: ==22294== Releasing lock... [2025-03-08 23:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:22:05 [end_date_ymd] => 2025-03-08 23:22:05 [RateCDR] => 1 ) [2025-03-08 23:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:22:05' and `end` < '2025-03-08 23:22:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:22:12] Production.ERROR: CronJobId end10 [2025-03-08 23:22:12] Production.INFO: ==22292== Releasing lock... [2025-03-08 23:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:22:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:22:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:22:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:22:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:22:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:22:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:22:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:22:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:22:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:22:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:22:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:22:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:22:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:22:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:22:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:22:14] Production.INFO: call_cost start [2025-03-08 23:22:14] Production.INFO: call_cost end [2025-03-08 23:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:22:15] Production.INFO: ==22288== Releasing lock... [2025-03-08 23:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:22:17] Production.INFO: count ==1254 [2025-03-08 23:22:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:22:05 - End Time 2025-03-08 23:22:05 [2025-03-08 23:22:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638480', 'tblTempUsageDetail_20' ) start [2025-03-08 23:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638480', 'tblTempUsageDetail_20' ) end [2025-03-08 23:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638480', 'tblTempVendorCDR_20' ) start [2025-03-08 23:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638480', 'tblTempVendorCDR_20' ) end [2025-03-08 23:22:18] Production.INFO: ProcessCDR(1,14638480,1,1,2) [2025-03-08 23:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638480', 'tblTempUsageDetail_20' ) start [2025-03-08 23:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638480', 'tblTempUsageDetail_20' ) end [2025-03-08 23:22:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:22:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:22:21] Production.INFO: ==22296== Releasing lock... [2025-03-08 23:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:22:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 04:23:01] Production.INFO: ==22360== Lock acquired, processing the job... [2025-03-09 04:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:23:01] Production.INFO: neon service started [2025-03-09 04:23:01] Production.INFO: neon service started [2025-03-09 04:23:01] Production.INFO: ==22360== Releasing lock... [2025-03-09 04:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:23:01] Production.INFO: ==22364== Lock acquired, processing the job... [2025-03-09 04:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:23:01] Production.INFO: ==22364== Releasing lock... [2025-03-09 04:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:23:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:23:02] Production.INFO: ==22362== Lock acquired, processing the job... [2025-03-08 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:23:02] Production.INFO: ==22362== Releasing lock... [2025-03-08 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:23:03] Production.INFO: ==22374== Lock acquired, processing the job... [2025-03-08 23:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:23:03] Production.INFO: ==22366== Lock acquired, processing the job... [2025-03-08 23:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:23:03] Production.INFO: ==22377== Lock acquired, processing the job... [2025-03-08 23:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:23:03] Production.INFO: ==22368== Lock acquired, processing the job... [2025-03-08 23:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:23:03] Production.INFO: ==22370== Lock acquired, processing the job... [2025-03-08 23:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:23:03] Production.INFO: ==22372== Lock acquired, processing the job... [2025-03-08 23:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:23:03] Production.INFO: count ==13 [2025-03-08 23:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:23:03] Production.INFO: count ==21 [2025-03-08 23:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638482') start [2025-03-08 23:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:23:03] Production.INFO: Account Balance Start. [2025-03-08 23:23:03] Production.INFO: CreateAllLog Start [2025-03-08 23:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638482') end [2025-03-08 23:23:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:23:03] Production.INFO: 1 [2025-03-08 23:23:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:23:03] Production.INFO: 117 [2025-03-08 23:23:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:23:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:23:03] Production.INFO: Total Charge 0 [2025-03-08 23:23:03] Production.INFO: CreateAllLog End [2025-03-08 23:23:03] Production.INFO: ==22377== Releasing lock... [2025-03-08 23:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:23:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:23:03] Production.INFO: ==22368== Releasing lock... [2025-03-08 23:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:23:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:23:03] Production.ERROR: done [2025-03-08 23:23:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:23:03] Production.ERROR: done [2025-03-08 23:23:04] Production.INFO: Account Balance End. [2025-03-08 23:23:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:23:04] Production.INFO: ==22372== Releasing lock... [2025-03-08 23:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:23:04 [end_date_ymd] => 2025-03-08 23:23:04 [RateCDR] => 1 ) [2025-03-08 23:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:23:04' and `end` < '2025-03-08 23:23:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:23:12] Production.ERROR: CronJobId end10 [2025-03-08 23:23:12] Production.INFO: ==22370== Releasing lock... [2025-03-08 23:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:23:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:23:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:23:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:23:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:23:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:23:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:23:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:23:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:23:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:23:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:23:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:23:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:23:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:23:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:23:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:23:14] Production.INFO: call_cost start [2025-03-08 23:23:14] Production.INFO: call_cost end [2025-03-08 23:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:23:15] Production.INFO: ==22366== Releasing lock... [2025-03-08 23:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:23:17] Production.INFO: count ==1244 [2025-03-08 23:23:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:23:04 - End Time 2025-03-08 23:23:04 [2025-03-08 23:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638485', 'tblTempUsageDetail_20' ) start [2025-03-08 23:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638485', 'tblTempUsageDetail_20' ) end [2025-03-08 23:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638485', 'tblTempVendorCDR_20' ) start [2025-03-08 23:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638485', 'tblTempVendorCDR_20' ) end [2025-03-08 23:23:17] Production.INFO: ProcessCDR(1,14638485,1,1,2) [2025-03-08 23:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638485', 'tblTempUsageDetail_20' ) start [2025-03-08 23:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638485', 'tblTempUsageDetail_20' ) end [2025-03-08 23:23:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:23:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:23:20] Production.INFO: ==22374== Releasing lock... [2025-03-08 23:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:23:20] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 04:24:01] Production.INFO: ==22472== Lock acquired, processing the job... [2025-03-09 04:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:24:01] Production.INFO: neon service started [2025-03-09 04:24:01] Production.INFO: neon service started [2025-03-09 04:24:01] Production.INFO: ==22472== Releasing lock... [2025-03-09 04:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:24:02] Production.INFO: ==22475== Lock acquired, processing the job... [2025-03-08 23:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:24:02] Production.INFO: ==22475== Releasing lock... [2025-03-08 23:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:24:02] Production.INFO: ==22477== Lock acquired, processing the job... [2025-03-09 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:24:02] Production.INFO: ==22477== Releasing lock... [2025-03-09 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:24:03] Production.INFO: ==22483== Lock acquired, processing the job... [2025-03-08 23:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:24:03] Production.INFO: ==22487== Lock acquired, processing the job... [2025-03-08 23:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:24:03] Production.INFO: ==22479== Lock acquired, processing the job... [2025-03-08 23:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:24:03] Production.INFO: ==22481== Lock acquired, processing the job... [2025-03-08 23:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:24:03] Production.INFO: ==22485== Lock acquired, processing the job... [2025-03-08 23:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:24:03] Production.INFO: ==22489== Lock acquired, processing the job... [2025-03-08 23:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:24:03] Production.ERROR: done [2025-03-08 23:24:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:24:03] Production.INFO: Account Balance Start. [2025-03-08 23:24:03] Production.INFO: CreateAllLog Start [2025-03-08 23:24:03] Production.INFO: 117 [2025-03-08 23:24:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:24:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:24:04] Production.INFO: count ==13 [2025-03-08 23:24:04] Production.INFO: Total Charge 0 [2025-03-08 23:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:24:04] Production.INFO: count ==21 [2025-03-08 23:24:04] Production.INFO: CreateAllLog End [2025-03-08 23:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638489') start [2025-03-08 23:24:04] Production.INFO: ==22481== Releasing lock... [2025-03-08 23:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:24:04] Production.ERROR: done [2025-03-08 23:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638489') end [2025-03-08 23:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:24:04] Production.INFO: 1 [2025-03-08 23:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:24:04] Production.INFO: Account Balance End. [2025-03-08 23:24:04] Production.INFO: ==22489== Releasing lock... [2025-03-08 23:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:24:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:24:04] Production.INFO: ==22485== Releasing lock... [2025-03-08 23:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:24:05 [end_date_ymd] => 2025-03-08 23:24:05 [RateCDR] => 1 ) [2025-03-08 23:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:24:05' and `end` < '2025-03-08 23:24:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:24:11] Production.ERROR: CronJobId end10 [2025-03-08 23:24:11] Production.INFO: ==22483== Releasing lock... [2025-03-08 23:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:24:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:24:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:24:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:24:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:24:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:24:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:24:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:24:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:24:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:24:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:24:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:24:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:24:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:24:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:24:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:24:14] Production.INFO: call_cost start [2025-03-08 23:24:14] Production.INFO: call_cost end [2025-03-08 23:24:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:24:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:24:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:24:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:24:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:24:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:24:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:24:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:24:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:24:15] Production.INFO: ==22479== Releasing lock... [2025-03-08 23:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:24:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:24:17] Production.INFO: count ==1245 [2025-03-08 23:24:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:24:05 - End Time 2025-03-08 23:24:05 [2025-03-08 23:24:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638490', 'tblTempUsageDetail_20' ) start [2025-03-08 23:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638490', 'tblTempUsageDetail_20' ) end [2025-03-08 23:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638490', 'tblTempVendorCDR_20' ) start [2025-03-08 23:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638490', 'tblTempVendorCDR_20' ) end [2025-03-08 23:24:17] Production.INFO: ProcessCDR(1,14638490,1,1,2) [2025-03-08 23:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:24:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638490', 'tblTempUsageDetail_20' ) start [2025-03-08 23:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638490', 'tblTempUsageDetail_20' ) end [2025-03-08 23:24:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:24:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:24:21] Production.INFO: ==22487== Releasing lock... [2025-03-08 23:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:24:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 04:25:02] Production.INFO: ==22545== Lock acquired, processing the job... [2025-03-09 04:25:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:25:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:25:02] Production.INFO: neon service started [2025-03-09 04:25:02] Production.INFO: neon service started [2025-03-09 04:25:02] Production.INFO: ==22545== Releasing lock... [2025-03-09 04:25:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:25:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:25:02] Production.INFO: ==22547== Lock acquired, processing the job... [2025-03-08 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:25:02] Production.INFO: ==22547== Releasing lock... [2025-03-08 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:25:03] Production.INFO: ==22549== Lock acquired, processing the job... [2025-03-09 04:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:25:03] Production.INFO: ==22549== Releasing lock... [2025-03-09 04:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:25:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:25:03] Production.INFO: ==22551== Lock acquired, processing the job... [2025-03-08 23:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:25:03] Production.INFO: ==22553== Lock acquired, processing the job... [2025-03-08 23:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:25:03] Production.INFO: ==22555== Lock acquired, processing the job... [2025-03-08 23:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:25:03] Production.INFO: ==22557== Lock acquired, processing the job... [2025-03-08 23:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:25:04] Production.INFO: ==22559== Lock acquired, processing the job... [2025-03-08 23:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:25:04] Production.INFO: ==22561== Lock acquired, processing the job... [2025-03-08 23:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:25:04] Production.INFO: Account Balance Start. [2025-03-08 23:25:04] Production.INFO: CreateAllLog Start [2025-03-08 23:25:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:25:04] Production.INFO: 117 [2025-03-08 23:25:04] Production.INFO: Date 2025-03-08 [2025-03-08 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-08 23:25:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:25:04] Production.INFO: count ==13 [2025-03-08 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-08 23:25:04] Production.INFO: count ==21 [2025-03-08 23:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638494') start [2025-03-08 23:25:04] Production.INFO: Total Charge 0 [2025-03-08 23:25:04] Production.INFO: ==22553== Releasing lock... [2025-03-08 23:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:25:04] Production.INFO: CreateAllLog End [2025-03-08 23:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638494') end [2025-03-08 23:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:25:04] Production.INFO: 1 [2025-03-08 23:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:25:04] Production.INFO: ==22561== Releasing lock... [2025-03-08 23:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:25:04] Production.ERROR: done [2025-03-08 23:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:25:04] Production.ERROR: done [2025-03-08 23:25:04] Production.INFO: Account Balance End. [2025-03-08 23:25:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:25:04] Production.INFO: ==22557== Releasing lock... [2025-03-08 23:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:25:05 [end_date_ymd] => 2025-03-08 23:25:05 [RateCDR] => 1 ) [2025-03-08 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-08 20:25:05' and `end` < '2025-03-08 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-08 23:25:11] Production.ERROR: CronJobId end10 [2025-03-08 23:25:11] Production.INFO: ==22555== Releasing lock... [2025-03-08 23:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:25:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:25:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:25:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:25:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:25:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:25:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:25:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:25:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:25:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:25:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:25:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:25:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:25:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:25:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:25:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:25:14] Production.INFO: call_cost start [2025-03-08 23:25:14] Production.INFO: call_cost end [2025-03-08 23:25:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:25:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:25:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:25:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:25:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:25:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:25:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:25:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:25:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:25:15] Production.INFO: ==22551== Releasing lock... [2025-03-08 23:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:25:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:25:17] Production.INFO: count ==1247 [2025-03-08 23:25:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:25:05 - End Time 2025-03-08 23:25:05 [2025-03-08 23:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638495', 'tblTempUsageDetail_20' ) start [2025-03-08 23:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638495', 'tblTempUsageDetail_20' ) end [2025-03-08 23:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638495', 'tblTempVendorCDR_20' ) start [2025-03-08 23:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638495', 'tblTempVendorCDR_20' ) end [2025-03-08 23:25:17] Production.INFO: ProcessCDR(1,14638495,1,1,2) [2025-03-08 23:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638495', 'tblTempUsageDetail_20' ) start [2025-03-08 23:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638495', 'tblTempUsageDetail_20' ) end [2025-03-08 23:25:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:25:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:25:21] Production.INFO: ==22559== Releasing lock... [2025-03-08 23:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:25:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 04:26:01] Production.INFO: ==22619== Lock acquired, processing the job... [2025-03-09 04:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:26:01] Production.INFO: neon service started [2025-03-09 04:26:01] Production.INFO: neon service started [2025-03-09 04:26:01] Production.INFO: ==22619== Releasing lock... [2025-03-09 04:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:26:02] Production.INFO: ==22621== Lock acquired, processing the job... [2025-03-08 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:26:02] Production.INFO: ==22623== Lock acquired, processing the job... [2025-03-09 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 23:26:02] Production.INFO: ==22621== Releasing lock... [2025-03-08 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:26:02] Production.INFO: ==22623== Releasing lock... [2025-03-09 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:26:03] Production.INFO: ==22634== Lock acquired, processing the job... [2025-03-08 23:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:26:03] Production.INFO: ==22636== Lock acquired, processing the job... [2025-03-08 23:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:26:03] Production.INFO: ==22626== Lock acquired, processing the job... [2025-03-08 23:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:26:03] Production.INFO: ==22628== Lock acquired, processing the job... [2025-03-08 23:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:26:03] Production.INFO: ==22630== Lock acquired, processing the job... [2025-03-08 23:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:26:03] Production.INFO: ==22632== Lock acquired, processing the job... [2025-03-08 23:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:26:03] Production.INFO: count ==13 [2025-03-08 23:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:26:03] Production.INFO: count ==21 [2025-03-08 23:26:03] Production.INFO: Account Balance Start. [2025-03-08 23:26:03] Production.INFO: CreateAllLog Start [2025-03-08 23:26:03] Production.INFO: 117 [2025-03-08 23:26:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638496') start [2025-03-08 23:26:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:26:03] Production.INFO: Total Charge 0 [2025-03-08 23:26:03] Production.ERROR: done [2025-03-08 23:26:03] Production.INFO: CreateAllLog End [2025-03-08 23:26:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638496') end [2025-03-08 23:26:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:26:03] Production.INFO: 1 [2025-03-08 23:26:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:26:03] Production.INFO: ==22636== Releasing lock... [2025-03-08 23:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:26:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:26:03] Production.INFO: ==22628== Releasing lock... [2025-03-08 23:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:26:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:26:04] Production.ERROR: done [2025-03-08 23:26:04] Production.INFO: Account Balance End. [2025-03-08 23:26:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:26:04] Production.INFO: ==22632== Releasing lock... [2025-03-08 23:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:26:05 [end_date_ymd] => 2025-03-08 23:26:05 [RateCDR] => 1 ) [2025-03-08 23:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:26:05' and `end` < '2025-03-08 23:26:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:26:12] Production.ERROR: CronJobId end10 [2025-03-08 23:26:12] Production.INFO: ==22630== Releasing lock... [2025-03-08 23:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:26:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:26:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:26:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:26:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:26:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:26:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:26:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:26:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:26:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:26:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:26:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:26:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:26:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:26:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:26:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:26:14] Production.INFO: call_cost start [2025-03-08 23:26:14] Production.INFO: call_cost end [2025-03-08 23:26:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:26:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:26:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:26:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:26:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:26:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:26:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:26:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:26:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:26:15] Production.INFO: ==22626== Releasing lock... [2025-03-08 23:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:26:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:26:17] Production.INFO: count ==1255 [2025-03-08 23:26:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:26:05 - End Time 2025-03-08 23:26:05 [2025-03-08 23:26:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638500', 'tblTempUsageDetail_20' ) start [2025-03-08 23:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638500', 'tblTempUsageDetail_20' ) end [2025-03-08 23:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638500', 'tblTempVendorCDR_20' ) start [2025-03-08 23:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638500', 'tblTempVendorCDR_20' ) end [2025-03-08 23:26:17] Production.INFO: ProcessCDR(1,14638500,1,1,2) [2025-03-08 23:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638500', 'tblTempUsageDetail_20' ) start [2025-03-08 23:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638500', 'tblTempUsageDetail_20' ) end [2025-03-08 23:26:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:26:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:26:20] Production.INFO: ==22634== Releasing lock... [2025-03-08 23:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:26:20] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 04:27:02] Production.INFO: ==22695== Lock acquired, processing the job... [2025-03-09 04:27:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:27:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:27:02] Production.INFO: neon service started [2025-03-09 04:27:02] Production.INFO: neon service started [2025-03-09 04:27:02] Production.INFO: ==22695== Releasing lock... [2025-03-09 04:27:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:27:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:27:02] Production.INFO: ==22697== Lock acquired, processing the job... [2025-03-08 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:27:02] Production.INFO: ==22697== Releasing lock... [2025-03-08 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:27:02] Production.INFO: ==22699== Lock acquired, processing the job... [2025-03-09 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:27:03] Production.INFO: ==22699== Releasing lock... [2025-03-09 04:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:27:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:27:03] Production.INFO: ==22701== Lock acquired, processing the job... [2025-03-08 23:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:27:03] Production.INFO: ==22705== Lock acquired, processing the job... [2025-03-08 23:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:27:03] Production.INFO: ==22707== Lock acquired, processing the job... [2025-03-08 23:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:27:03] Production.INFO: Account Balance Start. [2025-03-08 23:27:03] Production.INFO: CreateAllLog Start [2025-03-08 23:27:03] Production.INFO: 117 [2025-03-08 23:27:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:27:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:27:03] Production.INFO: Total Charge 0 [2025-03-08 23:27:03] Production.INFO: ==22703== Lock acquired, processing the job... [2025-03-08 23:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:27:03] Production.INFO: CreateAllLog End [2025-03-08 23:27:04] Production.INFO: ==22709== Lock acquired, processing the job... [2025-03-08 23:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:27:04] Production.INFO: ==22712== Lock acquired, processing the job... [2025-03-08 23:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:27:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:27:04] Production.INFO: Account Balance End. [2025-03-08 23:27:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:27:04] Production.INFO: ==22707== Releasing lock... [2025-03-08 23:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:27:04] Production.INFO: count ==13 [2025-03-08 23:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:27:04] Production.INFO: count ==21 [2025-03-08 23:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638504') start [2025-03-08 23:27:04] Production.ERROR: done [2025-03-08 23:27:04] Production.INFO: ==22703== Releasing lock... [2025-03-08 23:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638504') end [2025-03-08 23:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:27:04] Production.INFO: 1 [2025-03-08 23:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:27:04] Production.INFO: ==22712== Releasing lock... [2025-03-08 23:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:27:04] Production.ERROR: done [2025-03-08 23:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:27:05 [end_date_ymd] => 2025-03-08 23:27:05 [RateCDR] => 1 ) [2025-03-08 23:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:27:05' and `end` < '2025-03-08 23:27:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:27:11] Production.ERROR: CronJobId end10 [2025-03-08 23:27:11] Production.INFO: ==22705== Releasing lock... [2025-03-08 23:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:27:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:27:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:27:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:27:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:27:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:27:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:27:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:27:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:27:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:27:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:27:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:27:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:27:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:27:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:27:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:27:14] Production.INFO: call_cost start [2025-03-08 23:27:14] Production.INFO: call_cost end [2025-03-08 23:27:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:27:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:27:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:27:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:27:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:27:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:27:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:27:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:27:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:27:15] Production.INFO: ==22701== Releasing lock... [2025-03-08 23:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:27:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:27:17] Production.INFO: count ==1254 [2025-03-08 23:27:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:27:05 - End Time 2025-03-08 23:27:05 [2025-03-08 23:27:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638505', 'tblTempUsageDetail_20' ) start [2025-03-08 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638505', 'tblTempUsageDetail_20' ) end [2025-03-08 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638505', 'tblTempVendorCDR_20' ) start [2025-03-08 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638505', 'tblTempVendorCDR_20' ) end [2025-03-08 23:27:18] Production.INFO: ProcessCDR(1,14638505,1,1,2) [2025-03-08 23:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638505', 'tblTempUsageDetail_20' ) start [2025-03-08 23:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638505', 'tblTempUsageDetail_20' ) end [2025-03-08 23:27:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:27:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:27:22] Production.INFO: ==22709== Releasing lock... [2025-03-08 23:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:27:22] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 04:28:01] Production.INFO: ==22768== Lock acquired, processing the job... [2025-03-09 04:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:28:01] Production.INFO: neon service started [2025-03-09 04:28:01] Production.INFO: neon service started [2025-03-09 04:28:01] Production.INFO: ==22768== Releasing lock... [2025-03-09 04:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:28:02] Production.INFO: ==22770== Lock acquired, processing the job... [2025-03-08 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:28:02] Production.INFO: ==22772== Lock acquired, processing the job... [2025-03-09 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:28:02] Production.INFO: ==22772== Releasing lock... [2025-03-09 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:28:02] Production.INFO: ==22770== Releasing lock... [2025-03-08 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:28:03] Production.INFO: ==22775== Lock acquired, processing the job... [2025-03-08 23:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:28:03] Production.INFO: ==22781== Lock acquired, processing the job... [2025-03-08 23:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:28:03] Production.INFO: ==22783== Lock acquired, processing the job... [2025-03-08 23:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:28:03] Production.INFO: Account Balance Start. [2025-03-08 23:28:03] Production.INFO: CreateAllLog Start [2025-03-08 23:28:03] Production.INFO: 117 [2025-03-08 23:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:28:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:28:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:28:03] Production.INFO: ==22777== Lock acquired, processing the job... [2025-03-08 23:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:28:03] Production.INFO: ==22779== Lock acquired, processing the job... [2025-03-08 23:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:28:03] Production.INFO: ==22785== Lock acquired, processing the job... [2025-03-08 23:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:28:03] Production.INFO: Total Charge 0 [2025-03-08 23:28:03] Production.INFO: CreateAllLog End [2025-03-08 23:28:03] Production.ERROR: done [2025-03-08 23:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:28:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:28:03] Production.INFO: Account Balance End. [2025-03-08 23:28:03] Production.INFO: count ==13 [2025-03-08 23:28:03] Production.ERROR: CronJobId end 12 [2025-03-08 23:28:03] Production.INFO: ==22781== Releasing lock... [2025-03-08 23:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:28:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:28:03] Production.INFO: count ==21 [2025-03-08 23:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638509') start [2025-03-08 23:28:03] Production.ERROR: done [2025-03-08 23:28:04] Production.INFO: ==22777== Releasing lock... [2025-03-08 23:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638509') end [2025-03-08 23:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:28:04] Production.INFO: 1 [2025-03-08 23:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:28:04] Production.INFO: ==22785== Releasing lock... [2025-03-08 23:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:28:05 [end_date_ymd] => 2025-03-08 23:28:05 [RateCDR] => 1 ) [2025-03-08 23:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:28:05' and `end` < '2025-03-08 23:28:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:28:11] Production.ERROR: CronJobId end10 [2025-03-08 23:28:11] Production.INFO: ==22779== Releasing lock... [2025-03-08 23:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:28:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:28:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:28:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:28:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:28:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:28:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:28:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:28:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:28:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:28:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:28:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:28:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:28:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:28:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:28:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:28:14] Production.INFO: call_cost start [2025-03-08 23:28:14] Production.INFO: call_cost end [2025-03-08 23:28:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:28:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:28:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:28:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:28:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:28:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:28:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:28:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:28:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:28:14] Production.INFO: ==22775== Releasing lock... [2025-03-08 23:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:28:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:28:17] Production.INFO: count ==1254 [2025-03-08 23:28:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:28:05 - End Time 2025-03-08 23:28:05 [2025-03-08 23:28:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638510', 'tblTempUsageDetail_20' ) start [2025-03-08 23:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638510', 'tblTempUsageDetail_20' ) end [2025-03-08 23:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638510', 'tblTempVendorCDR_20' ) start [2025-03-08 23:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638510', 'tblTempVendorCDR_20' ) end [2025-03-08 23:28:17] Production.INFO: ProcessCDR(1,14638510,1,1,2) [2025-03-08 23:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:28:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638510', 'tblTempUsageDetail_20' ) start [2025-03-08 23:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638510', 'tblTempUsageDetail_20' ) end [2025-03-08 23:28:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:28:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:28:20] Production.INFO: ==22783== Releasing lock... [2025-03-08 23:28:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:28:20] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 04:29:02] Production.INFO: ==22849== Lock acquired, processing the job... [2025-03-09 04:29:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:29:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:29:02] Production.INFO: neon service started [2025-03-09 04:29:02] Production.INFO: neon service started [2025-03-09 04:29:02] Production.INFO: ==22849== Releasing lock... [2025-03-09 04:29:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:29:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:29:02] Production.INFO: ==22851== Lock acquired, processing the job... [2025-03-08 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:29:02] Production.INFO: ==22851== Releasing lock... [2025-03-08 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:29:02] Production.INFO: ==22854== Lock acquired, processing the job... [2025-03-09 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:29:02] Production.INFO: ==22854== Releasing lock... [2025-03-09 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:29:03] Production.INFO: ==22864== Lock acquired, processing the job... [2025-03-08 23:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:29:03] Production.INFO: ==22856== Lock acquired, processing the job... [2025-03-08 23:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:29:03] Production.INFO: ==22866== Lock acquired, processing the job... [2025-03-08 23:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:29:03] Production.INFO: ==22858== Lock acquired, processing the job... [2025-03-08 23:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:29:03] Production.INFO: ==22860== Lock acquired, processing the job... [2025-03-08 23:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:29:03] Production.INFO: ==22862== Lock acquired, processing the job... [2025-03-08 23:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:29:03] Production.INFO: count ==13 [2025-03-08 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-08 23:29:03] Production.INFO: count ==21 [2025-03-08 23:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638511') start [2025-03-08 23:29:03] Production.INFO: Account Balance Start. [2025-03-08 23:29:03] Production.INFO: CreateAllLog Start [2025-03-08 23:29:03] Production.INFO: 117 [2025-03-08 23:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:29:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:29:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638511') end [2025-03-08 23:29:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:29:03] Production.INFO: 1 [2025-03-08 23:29:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:29:03] Production.INFO: Total Charge 0 [2025-03-08 23:29:04] Production.INFO: CreateAllLog End [2025-03-08 23:29:04] Production.INFO: ==22866== Releasing lock... [2025-03-08 23:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:29:04] Production.ERROR: done [2025-03-08 23:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:29:04] Production.INFO: ==22858== Releasing lock... [2025-03-08 23:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:29:04] Production.ERROR: done [2025-03-08 23:29:04] Production.INFO: Account Balance End. [2025-03-08 23:29:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:29:04] Production.INFO: ==22862== Releasing lock... [2025-03-08 23:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:29:05 [end_date_ymd] => 2025-03-08 23:29:05 [RateCDR] => 1 ) [2025-03-08 23:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:29:05' and `end` < '2025-03-08 23:29:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:29:11] Production.ERROR: CronJobId end10 [2025-03-08 23:29:11] Production.INFO: ==22860== Releasing lock... [2025-03-08 23:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:29:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:29:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:29:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:29:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:29:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:29:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:29:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:29:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:29:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:29:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:29:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:29:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:29:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:29:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:29:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:29:14] Production.INFO: call_cost start [2025-03-08 23:29:14] Production.INFO: call_cost end [2025-03-08 23:29:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:29:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:29:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:29:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:29:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:29:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:29:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:29:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:29:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:29:15] Production.INFO: ==22856== Releasing lock... [2025-03-08 23:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:29:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:29:17] Production.INFO: count ==1256 [2025-03-08 23:29:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:29:05 - End Time 2025-03-08 23:29:05 [2025-03-08 23:29:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638515', 'tblTempUsageDetail_20' ) start [2025-03-08 23:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638515', 'tblTempUsageDetail_20' ) end [2025-03-08 23:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638515', 'tblTempVendorCDR_20' ) start [2025-03-08 23:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638515', 'tblTempVendorCDR_20' ) end [2025-03-08 23:29:17] Production.INFO: ProcessCDR(1,14638515,1,1,2) [2025-03-08 23:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638515', 'tblTempUsageDetail_20' ) start [2025-03-08 23:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638515', 'tblTempUsageDetail_20' ) end [2025-03-08 23:29:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:29:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:29:22] Production.INFO: ==22864== Releasing lock... [2025-03-08 23:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:29:22] Production.INFO: 38 MB #Memory Used# [2025-03-09 04:30:01] Production.INFO: ==22927== Lock acquired, processing the job... [2025-03-09 04:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:30:01] Production.INFO: neon service started [2025-03-09 04:30:01] Production.INFO: neon service started [2025-03-09 04:30:01] Production.INFO: ==22927== Releasing lock... [2025-03-09 04:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:30:01] Production.INFO: ==22929== Lock acquired, processing the job... [2025-03-08 23:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:30:02] Production.INFO: ==22929== Releasing lock... [2025-03-08 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:30:02] Production.INFO: ==22931== Lock acquired, processing the job... [2025-03-09 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:30:02] Production.INFO: ==22931== Releasing lock... [2025-03-09 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:30:03] Production.INFO: ==22939== Lock acquired, processing the job... [2025-03-08 23:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:30:03] Production.INFO: ==22933== Lock acquired, processing the job... [2025-03-08 23:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 23:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:30:03] Production.INFO: ==22947== Lock acquired, processing the job... [2025-03-08 23:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:30:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 23:30:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 23:30:03] Production.ERROR: CronJob PID - 22939 [2025-03-08 23:30:03] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-08 23: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-08 23:30:03] Production.ERROR: CronJob ID - 10 [2025-03-08 23:30:03] Production.ERROR: CronJob Last Run Time 2025-03-08 23:30:00 [2025-03-08 23:30:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 23:30:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 23:30:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 23:30:03] Production.ERROR: CronJob PID - 22947 [2025-03-08 23:30:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-08 23:30:03] Production.ERROR: CronJob ID - 19 [2025-03-08 23:30:03] Production.ERROR: CronJob Last Run Time 2025-03-08 23:30:00 [2025-03-08 23:30:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 23:30:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 23:30:03] Production.INFO: ==22935== Lock acquired, processing the job... [2025-03-08 23:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:30:03] Production.INFO: ==22937== Lock acquired, processing the job... [2025-03-08 23:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:30:03] Production.INFO: count ==13 [2025-03-08 23:30:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 23:30:03] Production.INFO: ==22933== Releasing lock... [2025-03-08 23:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 23:30:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 23: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-08 23:30:03] Production.INFO: count ==21 [2025-03-08 23:30:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638516') start [2025-03-08 23:30:03] Production.INFO: ==22941== Lock acquired, processing the job... [2025-03-08 23:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:30:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:30:03] Production.INFO: ==22945== Lock acquired, processing the job... [2025-03-08 23:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 23:30:03] Production.INFO: ==22943== Lock acquired, processing the job... [2025-03-08 23:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:30:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:30:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638516') end [2025-03-08 23:30:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:30:03] Production.INFO: 1 [2025-03-08 23:30:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:30:03] Production.INFO: Account Balance Start. [2025-03-08 23:30:03] Production.INFO: CreateAllLog Start [2025-03-08 23:30:03] Production.INFO: 117 [2025-03-08 23:30:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:30:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:30:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:30:03] Production.INFO: Total Charge 0 [2025-03-08 23:30:04] Production.INFO: CreateAllLog End [2025-03-08 23:30:04] Production.INFO: ==22947== Releasing lock... [2025-03-08 23:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:30:04] Production.INFO: ==22937== Releasing lock... [2025-03-08 23:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:30:04] Production.ERROR: done [2025-03-08 23:30:04] Production.ERROR: done [2025-03-08 23:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 23:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638520', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 23:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:30:04] Production.INFO: Account Balance End. [2025-03-08 23:30:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:30:04] Production.INFO: ==22941== Releasing lock... [2025-03-08 23:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:30:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:30:04] Production.ERROR: done [2025-03-08 23:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:30:06 [end_date_ymd] => 2025-03-08 23:30:06 [RateCDR] => 1 ) [2025-03-08 23:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:30:06' and `end` < '2025-03-08 23:30:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638520', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 23:30:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 23:30:08] Production.INFO: ProcessCDR(1,14638520,1,1,2) [2025-03-08 23:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14638520,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14638520,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:30:08] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:30:08] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:30:08] Production.INFO: ==22945== Releasing lock... [2025-03-08 23:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 23:30:08] Production.INFO: 26 MB #Memory Used# [2025-03-08 23:30:13] Production.ERROR: CronJobId end10 [2025-03-08 23:30:13] Production.INFO: ==22939== Releasing lock... [2025-03-08 23:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:30:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:30:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:30:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:30:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:30:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:30:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:30:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:30:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:30:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:30:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:30:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:30:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:30:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:30:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:30:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:30:15] Production.INFO: call_cost start [2025-03-08 23:30:15] Production.INFO: call_cost end [2025-03-08 23:30:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:30:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:30:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:30:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:30:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:30:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:30:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:30:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:30:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:30:16] Production.INFO: ==22935== Releasing lock... [2025-03-08 23:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:30:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:30:18] Production.INFO: count ==1247 [2025-03-08 23:30:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:30:06 - End Time 2025-03-08 23:30:06 [2025-03-08 23:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638521', 'tblTempUsageDetail_20' ) start [2025-03-08 23:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638521', 'tblTempUsageDetail_20' ) end [2025-03-08 23:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638521', 'tblTempVendorCDR_20' ) start [2025-03-08 23:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638521', 'tblTempVendorCDR_20' ) end [2025-03-08 23:30:18] Production.INFO: ProcessCDR(1,14638521,1,1,2) [2025-03-08 23:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638521', 'tblTempUsageDetail_20' ) start [2025-03-08 23:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638521', 'tblTempUsageDetail_20' ) end [2025-03-08 23:30:23] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:30:23] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:30:23] Production.INFO: ==22943== Releasing lock... [2025-03-08 23:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:30:23] Production.INFO: 38 MB #Memory Used# [2025-03-09 04:31:01] Production.INFO: ==23004== Lock acquired, processing the job... [2025-03-09 04:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:31:01] Production.INFO: neon service started [2025-03-09 04:31:01] Production.INFO: neon service started [2025-03-09 04:31:01] Production.INFO: ==23004== Releasing lock... [2025-03-09 04:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:31:02] Production.INFO: ==23006== Lock acquired, processing the job... [2025-03-08 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:31:02] Production.INFO: ==23006== Releasing lock... [2025-03-08 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:31:02] Production.INFO: ==23008== Lock acquired, processing the job... [2025-03-09 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:31:02] Production.INFO: ==23008== Releasing lock... [2025-03-09 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:31:03] Production.INFO: ==23017== Lock acquired, processing the job... [2025-03-08 23:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:31:03] Production.INFO: ==23019== Lock acquired, processing the job... [2025-03-08 23:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:31:03] Production.INFO: Account Balance Start. [2025-03-08 23:31:03] Production.INFO: CreateAllLog Start [2025-03-08 23:31:03] Production.INFO: 117 [2025-03-08 23:31:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:31:03] Production.INFO: ==23011== Lock acquired, processing the job... [2025-03-08 23:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:31:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:31:03] Production.INFO: ==23013== Lock acquired, processing the job... [2025-03-08 23:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:31:03] Production.INFO: ==23015== Lock acquired, processing the job... [2025-03-08 23:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:31:03] Production.INFO: ==23021== Lock acquired, processing the job... [2025-03-08 23:31:03] Production.INFO: Total Charge 0 [2025-03-08 23:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:31:03] Production.INFO: CreateAllLog End [2025-03-08 23:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:31:03] Production.ERROR: done [2025-03-08 23:31:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:31:03] Production.INFO: count ==13 [2025-03-08 23:31:04] Production.INFO: Account Balance End. [2025-03-08 23: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-08 23:31:04] Production.INFO: count ==21 [2025-03-08 23:31:04] Production.ERROR: done [2025-03-08 23:31:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:31:04] Production.INFO: ==23017== Releasing lock... [2025-03-08 23:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638525') start [2025-03-08 23:31:04] Production.INFO: ==23013== Releasing lock... [2025-03-08 23:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638525') end [2025-03-08 23:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:31:04] Production.INFO: 1 [2025-03-08 23:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:31:04] Production.INFO: ==23021== Releasing lock... [2025-03-08 23:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:31:05 [end_date_ymd] => 2025-03-08 23:31:05 [RateCDR] => 1 ) [2025-03-08 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-08 20:31:05' and `end` < '2025-03-08 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-08 23:31:11] Production.ERROR: CronJobId end10 [2025-03-08 23:31:11] Production.INFO: ==23015== Releasing lock... [2025-03-08 23:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:31:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:31:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:31:12] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:31:12] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:31:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:31:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:31:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:31:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:31:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:31:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:31:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:31:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:31:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:31:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:31:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:31:13] Production.INFO: call_cost start [2025-03-08 23:31:13] Production.INFO: call_cost end [2025-03-08 23:31:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:31:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:31:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:31:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:31:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:31:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:31:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:31:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:31:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:31:14] Production.INFO: ==23011== Releasing lock... [2025-03-08 23:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:31:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:31:17] Production.INFO: count ==1227 [2025-03-08 23:31:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:31:05 - End Time 2025-03-08 23:31:05 [2025-03-08 23:31:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638526', 'tblTempUsageDetail_20' ) start [2025-03-08 23:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638526', 'tblTempUsageDetail_20' ) end [2025-03-08 23:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638526', 'tblTempVendorCDR_20' ) start [2025-03-08 23:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638526', 'tblTempVendorCDR_20' ) end [2025-03-08 23:31:17] Production.INFO: ProcessCDR(1,14638526,1,1,2) [2025-03-08 23:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638526', 'tblTempUsageDetail_20' ) start [2025-03-08 23:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638526', 'tblTempUsageDetail_20' ) end [2025-03-08 23:31:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:31:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:31:21] Production.INFO: ==23019== Releasing lock... [2025-03-08 23:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:31:21] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 04:32:02] Production.INFO: ==23076== Lock acquired, processing the job... [2025-03-09 04:32:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:32:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:32:02] Production.INFO: neon service started [2025-03-09 04:32:02] Production.INFO: neon service started [2025-03-09 04:32:02] Production.INFO: ==23076== Releasing lock... [2025-03-09 04:32:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:32:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:32:02] Production.INFO: ==23080== Lock acquired, processing the job... [2025-03-09 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:32:02] Production.INFO: ==23080== Releasing lock... [2025-03-09 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:32:02] Production.INFO: ==23078== Lock acquired, processing the job... [2025-03-08 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:32:03] Production.INFO: ==23078== Releasing lock... [2025-03-08 23:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:32:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:32:03] Production.INFO: ==23085== Lock acquired, processing the job... [2025-03-08 23:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:32:03] Production.INFO: ==23089== Lock acquired, processing the job... [2025-03-08 23:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:32:04] Production.INFO: ==23091== Lock acquired, processing the job... [2025-03-08 23:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:32:04] Production.INFO: Account Balance Start. [2025-03-08 23:32:04] Production.INFO: CreateAllLog Start [2025-03-08 23:32:04] Production.INFO: 117 [2025-03-08 23:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:32:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:32:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:32:04] Production.INFO: Total Charge 0 [2025-03-08 23:32:04] Production.INFO: ==23083== Lock acquired, processing the job... [2025-03-08 23:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:32:04] Production.INFO: CreateAllLog End [2025-03-08 23:32:04] Production.INFO: ==23087== Lock acquired, processing the job... [2025-03-08 23:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:32:04] Production.INFO: ==23093== Lock acquired, processing the job... [2025-03-08 23:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:32:04] Production.INFO: ==23085== Releasing lock... [2025-03-08 23:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:32:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:32:04] Production.INFO: Account Balance End. [2025-03-08 23:32:04] Production.INFO: count ==13 [2025-03-08 23:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:32:04] Production.ERROR: done [2025-03-08 23:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:32:04] Production.INFO: count ==21 [2025-03-08 23:32:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:32:04] Production.INFO: ==23089== Releasing lock... [2025-03-08 23:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638530') start [2025-03-08 23:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638530') end [2025-03-08 23:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:32:04] Production.INFO: 1 [2025-03-08 23:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:32:04] Production.INFO: ==23093== Releasing lock... [2025-03-08 23:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:32:04] Production.ERROR: done [2025-03-08 23:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:32:05 [end_date_ymd] => 2025-03-08 23:32:05 [RateCDR] => 1 ) [2025-03-08 23:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:32:05' and `end` < '2025-03-08 23:32:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:32:12] Production.ERROR: CronJobId end10 [2025-03-08 23:32:12] Production.INFO: ==23087== Releasing lock... [2025-03-08 23:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:32:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:32:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:32:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:32:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:32:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:32:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:32:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:32:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:32:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:32:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:32:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:32:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:32:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:32:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:32:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:32:14] Production.INFO: call_cost start [2025-03-08 23:32:14] Production.INFO: call_cost end [2025-03-08 23:32:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:32:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:32:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:32:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:32:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:32:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:32:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:32:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:32:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:32:15] Production.INFO: ==23083== Releasing lock... [2025-03-08 23:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:32:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:32:17] Production.INFO: count ==1220 [2025-03-08 23:32:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:32:05 - End Time 2025-03-08 23:32:05 [2025-03-08 23:32:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638531', 'tblTempUsageDetail_20' ) start [2025-03-08 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638531', 'tblTempUsageDetail_20' ) end [2025-03-08 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638531', 'tblTempVendorCDR_20' ) start [2025-03-08 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638531', 'tblTempVendorCDR_20' ) end [2025-03-08 23:32:18] Production.INFO: ProcessCDR(1,14638531,1,1,2) [2025-03-08 23:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638531', 'tblTempUsageDetail_20' ) start [2025-03-08 23:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638531', 'tblTempUsageDetail_20' ) end [2025-03-08 23:32:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:32:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:32:21] Production.INFO: ==23091== Releasing lock... [2025-03-08 23:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:32:21] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 04:33:01] Production.INFO: ==23152== Lock acquired, processing the job... [2025-03-09 04:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:33:01] Production.INFO: neon service started [2025-03-09 04:33:01] Production.INFO: neon service started [2025-03-09 04:33:01] Production.INFO: ==23152== Releasing lock... [2025-03-09 04:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:33:02] Production.INFO: ==23156== Lock acquired, processing the job... [2025-03-09 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 23:33:02] Production.INFO: ==23154== Lock acquired, processing the job... [2025-03-08 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:33:02] Production.INFO: ==23156== Releasing lock... [2025-03-09 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:33:02] Production.INFO: ==23154== Releasing lock... [2025-03-08 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:33:03] Production.INFO: ==23159== Lock acquired, processing the job... [2025-03-08 23:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:33:03] Production.INFO: ==23161== Lock acquired, processing the job... [2025-03-08 23:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:33:03] Production.INFO: ==23167== Lock acquired, processing the job... [2025-03-08 23:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:33:03] Production.INFO: ==23163== Lock acquired, processing the job... [2025-03-08 23:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:33:03] Production.INFO: ==23169== Lock acquired, processing the job... [2025-03-08 23:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:33:03] Production.INFO: ==23165== Lock acquired, processing the job... [2025-03-08 23:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:33:03] Production.INFO: ==23161== Releasing lock... [2025-03-08 23:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:33:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:33:04] Production.ERROR: done [2025-03-08 23:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:33:04] Production.INFO: Account Balance Start. [2025-03-08 23:33:04] Production.INFO: CreateAllLog Start [2025-03-08 23: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-08 23:33:04] Production.INFO: 117 [2025-03-08 23:33:04] Production.INFO: count ==13 [2025-03-08 23:33:04] Production.ERROR: done [2025-03-08 23: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-08 23:33:04] Production.INFO: count ==21 [2025-03-08 23:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638534') start [2025-03-08 23:33:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:33:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638534') end [2025-03-08 23:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:33:04] Production.INFO: 1 [2025-03-08 23:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:33:04] Production.INFO: ==23169== Releasing lock... [2025-03-08 23:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:33:04] Production.INFO: Total Charge 0 [2025-03-08 23:33:04] Production.INFO: CreateAllLog End [2025-03-08 23:33:04] Production.INFO: Account Balance End. [2025-03-08 23:33:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:33:04] Production.INFO: ==23165== Releasing lock... [2025-03-08 23:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:33:05 [end_date_ymd] => 2025-03-08 23:33:05 [RateCDR] => 1 ) [2025-03-08 23:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:33:05' and `end` < '2025-03-08 23:33:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:33:12] Production.ERROR: CronJobId end10 [2025-03-08 23:33:12] Production.INFO: ==23163== Releasing lock... [2025-03-08 23:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:33:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:33:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:33:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:33:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:33:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:33:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:33:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:33:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:33:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:33:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:33:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:33:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:33:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:33:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:33:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:33:14] Production.INFO: call_cost start [2025-03-08 23:33:14] Production.INFO: call_cost end [2025-03-08 23:33:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:33:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:33:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:33:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:33:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:33:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:33:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:33:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:33:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:33:14] Production.INFO: ==23159== Releasing lock... [2025-03-08 23:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:33:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:33:17] Production.INFO: count ==1219 [2025-03-08 23:33:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:33:05 - End Time 2025-03-08 23:33:05 [2025-03-08 23:33:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638536', 'tblTempUsageDetail_20' ) start [2025-03-08 23:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638536', 'tblTempUsageDetail_20' ) end [2025-03-08 23:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638536', 'tblTempVendorCDR_20' ) start [2025-03-08 23:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638536', 'tblTempVendorCDR_20' ) end [2025-03-08 23:33:17] Production.INFO: ProcessCDR(1,14638536,1,1,2) [2025-03-08 23:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638536', 'tblTempUsageDetail_20' ) start [2025-03-08 23:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638536', 'tblTempUsageDetail_20' ) end [2025-03-08 23:33:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:33:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:33:21] Production.INFO: ==23167== Releasing lock... [2025-03-08 23:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:33:21] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 04:34:02] Production.INFO: ==23229== Lock acquired, processing the job... [2025-03-09 04:34:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:34:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:34:02] Production.INFO: neon service started [2025-03-09 04:34:02] Production.INFO: neon service started [2025-03-09 04:34:02] Production.INFO: ==23229== Releasing lock... [2025-03-09 04:34:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:34:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:34:02] Production.INFO: ==23231== Lock acquired, processing the job... [2025-03-08 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:34:02] Production.INFO: ==23231== Releasing lock... [2025-03-08 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:34:02] Production.INFO: ==23233== Lock acquired, processing the job... [2025-03-09 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:34:02] Production.INFO: ==23233== Releasing lock... [2025-03-09 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:34:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:34:03] Production.INFO: ==23235== Lock acquired, processing the job... [2025-03-08 23:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:34:03] Production.INFO: ==23239== Lock acquired, processing the job... [2025-03-08 23:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:34:03] Production.INFO: ==23245== Lock acquired, processing the job... [2025-03-08 23:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:34:04] Production.INFO: ==23237== Lock acquired, processing the job... [2025-03-08 23:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:34:04] Production.INFO: count ==13 [2025-03-08 23:34:04] Production.INFO: ==23241== Lock acquired, processing the job... [2025-03-08 23:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:34:04] Production.INFO: count ==21 [2025-03-08 23:34:04] Production.INFO: ==23243== Lock acquired, processing the job... [2025-03-08 23:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638538') start [2025-03-08 23:34:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:34:04] Production.INFO: Account Balance Start. [2025-03-08 23:34:04] Production.INFO: CreateAllLog Start [2025-03-08 23:34:04] Production.INFO: 117 [2025-03-08 23:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638538') end [2025-03-08 23:34:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:34:04] Production.INFO: 1 [2025-03-08 23:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:34:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:34:04] Production.INFO: ==23245== Releasing lock... [2025-03-08 23:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:34:04] Production.INFO: Total Charge 0 [2025-03-08 23:34:04] Production.INFO: CreateAllLog End [2025-03-08 23:34:04] Production.INFO: ==23237== Releasing lock... [2025-03-08 23:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:34:04] Production.ERROR: done [2025-03-08 23:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:34:04] Production.INFO: Account Balance End. [2025-03-08 23:34:04] Production.ERROR: done [2025-03-08 23:34:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:34:04] Production.INFO: ==23241== Releasing lock... [2025-03-08 23:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:34:05 [end_date_ymd] => 2025-03-08 23:34:05 [RateCDR] => 1 ) [2025-03-08 23:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:34:05' and `end` < '2025-03-08 23:34:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:34:11] Production.ERROR: CronJobId end10 [2025-03-08 23:34:11] Production.INFO: ==23239== Releasing lock... [2025-03-08 23:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:34:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:34:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:34:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:34:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:34:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:34:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:34:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:34:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:34:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:34:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:34:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:34:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:34:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:34:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:34:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:34:14] Production.INFO: call_cost start [2025-03-08 23:34:14] Production.INFO: call_cost end [2025-03-08 23:34:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:34:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:34:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:34:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:34:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:34:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:34:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:34:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:34:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:34:15] Production.INFO: ==23235== Releasing lock... [2025-03-08 23:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:34:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:34:18] Production.INFO: count ==1218 [2025-03-08 23:34:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:34:05 - End Time 2025-03-08 23:34:05 [2025-03-08 23:34:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638541', 'tblTempUsageDetail_20' ) start [2025-03-08 23:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638541', 'tblTempUsageDetail_20' ) end [2025-03-08 23:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638541', 'tblTempVendorCDR_20' ) start [2025-03-08 23:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638541', 'tblTempVendorCDR_20' ) end [2025-03-08 23:34:18] Production.INFO: ProcessCDR(1,14638541,1,1,2) [2025-03-08 23:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638541', 'tblTempUsageDetail_20' ) start [2025-03-08 23:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638541', 'tblTempUsageDetail_20' ) end [2025-03-08 23:34:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:34:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:34:22] Production.INFO: ==23243== Releasing lock... [2025-03-08 23:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:34:22] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 04:35:01] Production.INFO: ==23303== Lock acquired, processing the job... [2025-03-09 04:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:35:01] Production.INFO: neon service started [2025-03-09 04:35:01] Production.INFO: neon service started [2025-03-09 04:35:01] Production.INFO: ==23303== Releasing lock... [2025-03-09 04:35:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:35:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:35:01] Production.INFO: ==23305== Lock acquired, processing the job... [2025-03-08 23:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:35:02] Production.INFO: ==23305== Releasing lock... [2025-03-08 23:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:35:02] Production.INFO: ==23307== Lock acquired, processing the job... [2025-03-09 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:35:02] Production.INFO: ==23307== Releasing lock... [2025-03-09 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:35:03] Production.INFO: ==23309== Lock acquired, processing the job... [2025-03-08 23:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:35:03] Production.INFO: ==23319== Lock acquired, processing the job... [2025-03-08 23:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:35:03] Production.INFO: ==23313== Lock acquired, processing the job... [2025-03-08 23:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:35:03] Production.INFO: count ==13 [2025-03-08 23:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:35:03] Production.INFO: count ==21 [2025-03-08 23:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638543') start [2025-03-08 23:35:03] Production.INFO: ==23315== Lock acquired, processing the job... [2025-03-08 23:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:35:03] Production.INFO: ==23311== Lock acquired, processing the job... [2025-03-08 23:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:35:03] Production.INFO: ==23317== Lock acquired, processing the job... [2025-03-08 23:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:35:03] Production.INFO: Account Balance Start. [2025-03-08 23:35:03] Production.INFO: CreateAllLog Start [2025-03-08 23:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:35:03] Production.INFO: 117 [2025-03-08 23:35:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:35:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638543') end [2025-03-08 23:35:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:35:03] Production.INFO: 1 [2025-03-08 23:35:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:35:03] Production.INFO: Total Charge 0 [2025-03-08 23:35:03] Production.INFO: CreateAllLog End [2025-03-08 23:35:03] Production.INFO: ==23319== Releasing lock... [2025-03-08 23:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:35:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:35:03] Production.INFO: ==23311== Releasing lock... [2025-03-08 23:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:35:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:35:03] Production.ERROR: done [2025-03-08 23:35:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:35:04] Production.INFO: Account Balance End. [2025-03-08 23:35:04] Production.ERROR: done [2025-03-08 23:35:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:35:04] Production.INFO: ==23315== Releasing lock... [2025-03-08 23:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:35:05 [end_date_ymd] => 2025-03-08 23:35:05 [RateCDR] => 1 ) [2025-03-08 23:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:35:05' and `end` < '2025-03-08 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-08 23:35:12] Production.ERROR: CronJobId end10 [2025-03-08 23:35:12] Production.INFO: ==23313== Releasing lock... [2025-03-08 23:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:35:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:35:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:35:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:35:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:35:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:35:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:35:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:35:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:35:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:35:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:35:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:35:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:35:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:35:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:35:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:35:13] Production.INFO: call_cost start [2025-03-08 23:35:13] Production.INFO: call_cost end [2025-03-08 23:35:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:35:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:35:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:35:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:35:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:35:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:35:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:35:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:35:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:35:14] Production.INFO: ==23309== Releasing lock... [2025-03-08 23:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:35:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:35:17] Production.INFO: count ==1258 [2025-03-08 23:35:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:35:05 - End Time 2025-03-08 23:35:05 [2025-03-08 23:35:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638546', 'tblTempUsageDetail_20' ) start [2025-03-08 23:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638546', 'tblTempUsageDetail_20' ) end [2025-03-08 23:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638546', 'tblTempVendorCDR_20' ) start [2025-03-08 23:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638546', 'tblTempVendorCDR_20' ) end [2025-03-08 23:35:17] Production.INFO: ProcessCDR(1,14638546,1,1,2) [2025-03-08 23:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638546', 'tblTempUsageDetail_20' ) start [2025-03-08 23:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638546', 'tblTempUsageDetail_20' ) end [2025-03-08 23:35:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:35:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:35:21] Production.INFO: ==23317== Releasing lock... [2025-03-08 23:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:35:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 04:36:02] Production.INFO: ==23398== Lock acquired, processing the job... [2025-03-09 04:36:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:36:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:36:02] Production.INFO: neon service started [2025-03-09 04:36:02] Production.INFO: neon service started [2025-03-09 04:36:02] Production.INFO: ==23398== Releasing lock... [2025-03-09 04:36:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:36:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:36:02] Production.INFO: ==23402== Lock acquired, processing the job... [2025-03-09 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:36:02] Production.INFO: ==23402== Releasing lock... [2025-03-09 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:36:02] Production.INFO: ==23400== Lock acquired, processing the job... [2025-03-08 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:36:02] Production.INFO: ==23400== Releasing lock... [2025-03-08 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:36:03] Production.INFO: ==23407== Lock acquired, processing the job... [2025-03-08 23:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:36:03] Production.INFO: ==23409== Lock acquired, processing the job... [2025-03-08 23:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:36:03] Production.INFO: ==23411== Lock acquired, processing the job... [2025-03-08 23:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:36:03] Production.INFO: ==23405== Lock acquired, processing the job... [2025-03-08 23:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:36:03] Production.INFO: ==23407== Releasing lock... [2025-03-08 23:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:36:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:36:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:36:04] Production.INFO: Account Balance Start. [2025-03-08 23:36:04] Production.INFO: CreateAllLog Start [2025-03-08 23:36:04] Production.INFO: 117 [2025-03-08 23:36:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:36:04] Production.INFO: ==23413== Lock acquired, processing the job... [2025-03-08 23:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:36:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:36:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:36:04] Production.INFO: Total Charge 0 [2025-03-08 23:36:04] Production.INFO: CreateAllLog End [2025-03-08 23:36:04] Production.INFO: ==23415== Lock acquired, processing the job... [2025-03-08 23:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:36:04] Production.INFO: Account Balance End. [2025-03-08 23:36:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:36:04] Production.INFO: ==23411== Releasing lock... [2025-03-08 23:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:36:04] Production.INFO: count ==13 [2025-03-08 23:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:36:04] Production.INFO: count ==21 [2025-03-08 23:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638550') start [2025-03-08 23:36:04] Production.ERROR: done [2025-03-08 23:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638550') end [2025-03-08 23:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:36:04] Production.INFO: 1 [2025-03-08 23:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:36:04] Production.INFO: ==23415== Releasing lock... [2025-03-08 23:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:36:04] Production.ERROR: done [2025-03-08 23:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:36:05 [end_date_ymd] => 2025-03-08 23:36:05 [RateCDR] => 1 ) [2025-03-08 23:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:36:05' and `end` < '2025-03-08 23:36:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:36:12] Production.ERROR: CronJobId end10 [2025-03-08 23:36:12] Production.INFO: ==23409== Releasing lock... [2025-03-08 23:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:36:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:36:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:36:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:36:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:36:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:36:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:36:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:36:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:36:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:36:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:36:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:36:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:36:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:36:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:36:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:36:13] Production.INFO: call_cost start [2025-03-08 23:36:13] Production.INFO: call_cost end [2025-03-08 23:36:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:36:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:36:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:36:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:36:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:36:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:36:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:36:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:36:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:36:14] Production.INFO: ==23405== Releasing lock... [2025-03-08 23:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:36:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:36:18] Production.INFO: count ==1342 [2025-03-08 23:36:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:36:05 - End Time 2025-03-08 23:36:05 [2025-03-08 23:36:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638551', 'tblTempUsageDetail_20' ) start [2025-03-08 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638551', 'tblTempUsageDetail_20' ) end [2025-03-08 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638551', 'tblTempVendorCDR_20' ) start [2025-03-08 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638551', 'tblTempVendorCDR_20' ) end [2025-03-08 23:36:18] Production.INFO: ProcessCDR(1,14638551,1,1,2) [2025-03-08 23:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638551', 'tblTempUsageDetail_20' ) start [2025-03-08 23:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638551', 'tblTempUsageDetail_20' ) end [2025-03-08 23:36:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:36:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:36:21] Production.INFO: ==23413== Releasing lock... [2025-03-08 23:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:36:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 04:37:01] Production.INFO: ==23474== Lock acquired, processing the job... [2025-03-09 04:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:37:01] Production.INFO: neon service started [2025-03-09 04:37:01] Production.INFO: neon service started [2025-03-09 04:37:01] Production.INFO: ==23474== Releasing lock... [2025-03-09 04:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:37:01] Production.INFO: ==23477== Lock acquired, processing the job... [2025-03-08 23:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:37:02] Production.INFO: ==23477== Releasing lock... [2025-03-08 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:37:02] Production.INFO: ==23479== Lock acquired, processing the job... [2025-03-09 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:37:02] Production.INFO: ==23479== Releasing lock... [2025-03-09 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:37:02] Production.INFO: ==23490== Lock acquired, processing the job... [2025-03-08 23:37:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:37:02] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:37:03] Production.INFO: ==23492== Lock acquired, processing the job... [2025-03-08 23:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:37:03] Production.INFO: ==23481== Lock acquired, processing the job... [2025-03-08 23:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:37:03] Production.ERROR: done [2025-03-08 23:37:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:37:03] Production.INFO: ==23484== Lock acquired, processing the job... [2025-03-08 23:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:37:03] Production.INFO: count ==13 [2025-03-08 23:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:37:03] Production.INFO: ==23486== Lock acquired, processing the job... [2025-03-08 23:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:37:03] Production.INFO: ==23488== Lock acquired, processing the job... [2025-03-08 23:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:37:03] Production.INFO: count ==21 [2025-03-08 23:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638552') start [2025-03-08 23:37:03] Production.INFO: Account Balance Start. [2025-03-08 23:37:03] Production.INFO: CreateAllLog Start [2025-03-08 23:37:03] Production.INFO: 117 [2025-03-08 23:37:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:37:03] Production.ERROR: done [2025-03-08 23:37:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:37:03] Production.INFO: Total Charge 0 [2025-03-08 23:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:37:03] Production.INFO: CreateAllLog End [2025-03-08 23:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638552') end [2025-03-08 23:37:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:37:03] Production.INFO: 1 [2025-03-08 23:37:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:37:03] Production.INFO: ==23492== Releasing lock... [2025-03-08 23:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:37:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:37:03] Production.INFO: ==23484== Releasing lock... [2025-03-08 23:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:37:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:37:03] Production.INFO: Account Balance End. [2025-03-08 23:37:03] Production.ERROR: CronJobId end 12 [2025-03-08 23:37:03] Production.INFO: ==23488== Releasing lock... [2025-03-08 23:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:37:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:37:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:37:04 [end_date_ymd] => 2025-03-08 23:37:04 [RateCDR] => 1 ) [2025-03-08 23:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:37:04' and `end` < '2025-03-08 23:37:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:37:12] Production.ERROR: CronJobId end10 [2025-03-08 23:37:12] Production.INFO: ==23486== Releasing lock... [2025-03-08 23:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:37:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:37:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:37:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:37:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:37:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:37:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:37:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:37:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:37:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:37:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:37:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:37:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:37:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:37:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:37:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:37:13] Production.INFO: call_cost start [2025-03-08 23:37:13] Production.INFO: call_cost end [2025-03-08 23:37:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:37:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:37:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:37:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:37:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:37:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:37:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:37:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:37:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:37:14] Production.INFO: ==23481== Releasing lock... [2025-03-08 23:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:37:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:37:16] Production.INFO: count ==1339 [2025-03-08 23:37:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:37:04 - End Time 2025-03-08 23:37:04 [2025-03-08 23:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638555', 'tblTempUsageDetail_20' ) start [2025-03-08 23:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638555', 'tblTempUsageDetail_20' ) end [2025-03-08 23:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638555', 'tblTempVendorCDR_20' ) start [2025-03-08 23:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638555', 'tblTempVendorCDR_20' ) end [2025-03-08 23:37:17] Production.INFO: ProcessCDR(1,14638555,1,1,2) [2025-03-08 23:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638555', 'tblTempUsageDetail_20' ) start [2025-03-08 23:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638555', 'tblTempUsageDetail_20' ) end [2025-03-08 23:37:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:37:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:37:21] Production.INFO: ==23490== Releasing lock... [2025-03-08 23:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:37:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 04:38:01] Production.INFO: ==23550== Lock acquired, processing the job... [2025-03-09 04:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:38:02] Production.INFO: neon service started [2025-03-09 04:38:02] Production.INFO: neon service started [2025-03-09 04:38:02] Production.INFO: ==23550== Releasing lock... [2025-03-09 04:38:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:38:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:38:02] Production.INFO: ==23553== Lock acquired, processing the job... [2025-03-08 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:38:02] Production.INFO: ==23553== Releasing lock... [2025-03-08 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:38:02] Production.INFO: ==23555== Lock acquired, processing the job... [2025-03-09 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:38:02] Production.INFO: ==23555== Releasing lock... [2025-03-09 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:38:03] Production.INFO: ==23563== Lock acquired, processing the job... [2025-03-08 23:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:38:03] Production.INFO: ==23567== Lock acquired, processing the job... [2025-03-08 23:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:38:03] Production.INFO: Account Balance Start. [2025-03-08 23:38:03] Production.INFO: CreateAllLog Start [2025-03-08 23:38:03] Production.INFO: 117 [2025-03-08 23:38:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:38:03] Production.INFO: ==23557== Lock acquired, processing the job... [2025-03-08 23:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:38:03] Production.INFO: ==23559== Lock acquired, processing the job... [2025-03-08 23:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:38:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:38:03] Production.INFO: count ==13 [2025-03-08 23:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:38:03] Production.INFO: count ==21 [2025-03-08 23:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638558') start [2025-03-08 23:38:03] Production.INFO: Total Charge 0 [2025-03-08 23:38:03] Production.INFO: ==23561== Lock acquired, processing the job... [2025-03-08 23:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:38:03] Production.INFO: ==23565== Lock acquired, processing the job... [2025-03-08 23:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:38:03] Production.INFO: CreateAllLog End [2025-03-08 23:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638558') end [2025-03-08 23:38:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:38:03] Production.INFO: 1 [2025-03-08 23:38:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:38:03] Production.INFO: ==23567== Releasing lock... [2025-03-08 23:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:38:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:38:04] Production.INFO: Account Balance End. [2025-03-08 23:38:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:38:04] Production.INFO: ==23563== Releasing lock... [2025-03-08 23:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:38:04] Production.ERROR: done [2025-03-08 23:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:38:04] Production.INFO: ==23559== Releasing lock... [2025-03-08 23:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:38:04] Production.ERROR: done [2025-03-08 23:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:38:05 [end_date_ymd] => 2025-03-08 23:38:05 [RateCDR] => 1 ) [2025-03-08 23:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:38:05' and `end` < '2025-03-08 23:38:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:38:11] Production.ERROR: CronJobId end10 [2025-03-08 23:38:11] Production.INFO: ==23561== Releasing lock... [2025-03-08 23:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:38:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:38:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:38:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:38:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:38:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:38:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:38:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:38:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:38:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:38:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:38:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:38:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:38:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:38:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:38:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:38:13] Production.INFO: call_cost start [2025-03-08 23:38:13] Production.INFO: call_cost end [2025-03-08 23:38:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:38:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:38:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:38:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:38:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:38:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:38:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:38:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:38:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:38:14] Production.INFO: ==23557== Releasing lock... [2025-03-08 23:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:38:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:38:17] Production.INFO: count ==1338 [2025-03-08 23:38:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:38:05 - End Time 2025-03-08 23:38:05 [2025-03-08 23:38:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638561', 'tblTempUsageDetail_20' ) start [2025-03-08 23:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638561', 'tblTempUsageDetail_20' ) end [2025-03-08 23:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638561', 'tblTempVendorCDR_20' ) start [2025-03-08 23:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638561', 'tblTempVendorCDR_20' ) end [2025-03-08 23:38:17] Production.INFO: ProcessCDR(1,14638561,1,1,2) [2025-03-08 23:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638561', 'tblTempUsageDetail_20' ) start [2025-03-08 23:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638561', 'tblTempUsageDetail_20' ) end [2025-03-08 23:38:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:38:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:38:21] Production.INFO: ==23565== Releasing lock... [2025-03-08 23:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:38:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 04:39:01] Production.INFO: ==23624== Lock acquired, processing the job... [2025-03-09 04:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:39:01] Production.INFO: neon service started [2025-03-09 04:39:01] Production.INFO: neon service started [2025-03-09 04:39:01] Production.INFO: ==23624== Releasing lock... [2025-03-09 04:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:39:01] Production.INFO: ==23626== Lock acquired, processing the job... [2025-03-08 23:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:39:02] Production.INFO: ==23626== Releasing lock... [2025-03-08 23:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:39:02] Production.INFO: ==23628== Lock acquired, processing the job... [2025-03-09 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:39:02] Production.INFO: ==23628== Releasing lock... [2025-03-09 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:39:03] Production.INFO: ==23630== Lock acquired, processing the job... [2025-03-08 23:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:39:03] Production.INFO: ==23632== Lock acquired, processing the job... [2025-03-08 23:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:39:03] Production.INFO: ==23634== Lock acquired, processing the job... [2025-03-08 23:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:39:03] Production.INFO: ==23636== Lock acquired, processing the job... [2025-03-08 23:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:39:03] Production.INFO: ==23639== Lock acquired, processing the job... [2025-03-08 23:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:39:03] Production.INFO: Account Balance Start. [2025-03-08 23:39:03] Production.INFO: CreateAllLog Start [2025-03-08 23:39:03] Production.INFO: 117 [2025-03-08 23:39:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:39:03] Production.INFO: ==23641== Lock acquired, processing the job... [2025-03-08 23:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:39:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:39:03] Production.INFO: Total Charge 0 [2025-03-08 23:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:39:03] Production.INFO: CreateAllLog End [2025-03-08 23:39:03] Production.INFO: ==23632== Releasing lock... [2025-03-08 23:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:39:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:39:03] Production.INFO: count ==13 [2025-03-08 23:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:39:03] Production.INFO: count ==21 [2025-03-08 23:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638565') start [2025-03-08 23:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638565') end [2025-03-08 23:39:03] Production.INFO: Account Balance End. [2025-03-08 23:39:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:39:03] Production.INFO: 1 [2025-03-08 23:39:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:39:03] Production.INFO: ==23641== Releasing lock... [2025-03-08 23:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:39:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:39:03] Production.ERROR: CronJobId end 12 [2025-03-08 23:39:03] Production.INFO: ==23636== Releasing lock... [2025-03-08 23:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:39:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:39:03] Production.ERROR: done [2025-03-08 23:39:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:39:03] Production.ERROR: done [2025-03-08 23:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:39:05 [end_date_ymd] => 2025-03-08 23:39:05 [RateCDR] => 1 ) [2025-03-08 23:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:39:05' and `end` < '2025-03-08 23:39:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:39:12] Production.ERROR: CronJobId end10 [2025-03-08 23:39:12] Production.INFO: ==23634== Releasing lock... [2025-03-08 23:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:39:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:39:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:39:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:39:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:39:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:39:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:39:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:39:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:39:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:39:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:39:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:39:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:39:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:39:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:39:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:39:13] Production.INFO: call_cost start [2025-03-08 23:39:13] Production.INFO: call_cost end [2025-03-08 23:39:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:39:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:39:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:39:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:39:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:39:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:39:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:39:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:39:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:39:14] Production.INFO: ==23630== Releasing lock... [2025-03-08 23:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:39:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:39:17] Production.INFO: count ==1334 [2025-03-08 23:39:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:39:05 - End Time 2025-03-08 23:39:05 [2025-03-08 23:39:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638566', 'tblTempUsageDetail_20' ) start [2025-03-08 23:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638566', 'tblTempUsageDetail_20' ) end [2025-03-08 23:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638566', 'tblTempVendorCDR_20' ) start [2025-03-08 23:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638566', 'tblTempVendorCDR_20' ) end [2025-03-08 23:39:17] Production.INFO: ProcessCDR(1,14638566,1,1,2) [2025-03-08 23:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638566', 'tblTempUsageDetail_20' ) start [2025-03-08 23:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638566', 'tblTempUsageDetail_20' ) end [2025-03-08 23:39:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:39:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:39:20] Production.INFO: ==23639== Releasing lock... [2025-03-08 23:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:39:20] Production.INFO: 38 MB #Memory Used# [2025-03-09 04:40:01] Production.INFO: ==23739== Lock acquired, processing the job... [2025-03-09 04:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:40:01] Production.INFO: neon service started [2025-03-09 04:40:01] Production.INFO: neon service started [2025-03-09 04:40:01] Production.INFO: ==23739== Releasing lock... [2025-03-09 04:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:40:02] Production.INFO: ==23744== Lock acquired, processing the job... [2025-03-08 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:40:02] Production.INFO: ==23744== Releasing lock... [2025-03-08 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:40:02] Production.INFO: ==23746== Lock acquired, processing the job... [2025-03-09 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:40:02] Production.INFO: ==23746== Releasing lock... [2025-03-09 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:40:03] Production.INFO: ==23748== Lock acquired, processing the job... [2025-03-08 23:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 23:40:03] Production.INFO: ==23750== Lock acquired, processing the job... [2025-03-08 23:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:40:03] Production.INFO: ==23754== Lock acquired, processing the job... [2025-03-08 23:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:40:03] Production.INFO: ==23752== Lock acquired, processing the job... [2025-03-08 23:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 23:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 23:40:03] Production.ERROR: CronJob PID - 23750 [2025-03-08 23:40:03] Production.ERROR: CronJob Title - System Alerts [2025-03-08 23:40:03] Production.ERROR: CronJob ID - 5 [2025-03-08 23:40:03] Production.ERROR: CronJob Last Run Time 2025-03-08 23:40:00 [2025-03-08 23:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 23:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 23:40:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 23:40:03] Production.INFO: ==23748== Releasing lock... [2025-03-08 23:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 23:40:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 23:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:40:03] Production.INFO: ==23756== Lock acquired, processing the job... [2025-03-08 23:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:40:03] Production.INFO: ==23758== Lock acquired, processing the job... [2025-03-08 23:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:40:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:40:03] Production.INFO: Account Balance Start. [2025-03-08 23:40:03] Production.INFO: CreateAllLog Start [2025-03-08 23:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:40:03] Production.INFO: 117 [2025-03-08 23:40:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:40:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:40:04] Production.INFO: ==23760== Lock acquired, processing the job... [2025-03-08 23:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 23:40:04] Production.INFO: ==23762== Lock acquired, processing the job... [2025-03-08 23:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:40:04] Production.INFO: Total Charge 0 [2025-03-08 23:40:04] Production.INFO: CreateAllLog End [2025-03-08 23:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:40:04] Production.INFO: count ==13 [2025-03-08 23:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:40:04] Production.INFO: count ==21 [2025-03-08 23:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638570') start [2025-03-08 23:40:04] Production.ERROR: done [2025-03-08 23:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638570') end [2025-03-08 23:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:40:04] Production.INFO: 1 [2025-03-08 23:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:40:04] Production.INFO: Account Balance End. [2025-03-08 23:40:04] Production.INFO: ==23752== Releasing lock... [2025-03-08 23:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:40:04] Production.ERROR: done [2025-03-08 23:40:04] Production.INFO: ==23762== Releasing lock... [2025-03-08 23:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:40:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:40:04] Production.INFO: ==23756== Releasing lock... [2025-03-08 23:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:40:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:40:04] Production.ERROR: done [2025-03-08 23:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 23:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638572', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 23:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:40:06 [end_date_ymd] => 2025-03-08 23:40:06 [RateCDR] => 1 ) [2025-03-08 23:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:40:06' and `end` < '2025-03-08 23:40:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638572', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 23:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 23:40:09] Production.INFO: ProcessCDR(1,14638572,1,1,2) [2025-03-08 23:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14638572,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14638572,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:40:09] Production.INFO: ==23760== Releasing lock... [2025-03-08 23:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 23:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-08 23:40:13] Production.ERROR: CronJobId end10 [2025-03-08 23:40:13] Production.INFO: ==23754== Releasing lock... [2025-03-08 23:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:40:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:40:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:40:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:40:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:40:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:40:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:40:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:40:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:40:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:40:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:40:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:40:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:40:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:40:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:40:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:40:15] Production.INFO: call_cost start [2025-03-08 23:40:15] Production.INFO: call_cost end [2025-03-08 23:40:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:40:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:40:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:40:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:40:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:40:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:40:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:40:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:40:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:40:16] Production.INFO: ==23750== Releasing lock... [2025-03-08 23:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:40:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:40:18] Production.INFO: count ==1330 [2025-03-08 23:40:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:40:06 - End Time 2025-03-08 23:40:06 [2025-03-08 23:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638571', 'tblTempUsageDetail_20' ) start [2025-03-08 23:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638571', 'tblTempUsageDetail_20' ) end [2025-03-08 23:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638571', 'tblTempVendorCDR_20' ) start [2025-03-08 23:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638571', 'tblTempVendorCDR_20' ) end [2025-03-08 23:40:18] Production.INFO: ProcessCDR(1,14638571,1,1,2) [2025-03-08 23:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638571', 'tblTempUsageDetail_20' ) start [2025-03-08 23:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638571', 'tblTempUsageDetail_20' ) end [2025-03-08 23:40:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:40:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:40:22] Production.INFO: ==23758== Releasing lock... [2025-03-08 23:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:40:22] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 04:41:02] Production.INFO: ==23817== Lock acquired, processing the job... [2025-03-09 04:41:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:41:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:41:02] Production.INFO: neon service started [2025-03-09 04:41:02] Production.INFO: neon service started [2025-03-09 04:41:02] Production.INFO: ==23817== Releasing lock... [2025-03-09 04:41:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:41:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:41:02] Production.INFO: ==23819== Lock acquired, processing the job... [2025-03-08 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:41:02] Production.INFO: ==23819== Releasing lock... [2025-03-08 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:41:03] Production.INFO: ==23821== Lock acquired, processing the job... [2025-03-09 04:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:41:03] Production.INFO: ==23821== Releasing lock... [2025-03-09 04:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:41:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:41:03] Production.INFO: ==23824== Lock acquired, processing the job... [2025-03-08 23:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:41:03] Production.INFO: ==23826== Lock acquired, processing the job... [2025-03-08 23:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:41:03] Production.INFO: ==23834== Lock acquired, processing the job... [2025-03-08 23:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:41:03] Production.INFO: ==23828== Lock acquired, processing the job... [2025-03-08 23:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:41:04] Production.INFO: ==23830== Lock acquired, processing the job... [2025-03-08 23:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:41:04] Production.INFO: count ==13 [2025-03-08 23:41:04] Production.INFO: ==23832== Lock acquired, processing the job... [2025-03-08 23:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:41:04] Production.INFO: count ==21 [2025-03-08 23:41:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638574') start [2025-03-08 23:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638574') end [2025-03-08 23:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:41:04] Production.INFO: 1 [2025-03-08 23:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:41:04] Production.INFO: Account Balance Start. [2025-03-08 23:41:04] Production.INFO: CreateAllLog Start [2025-03-08 23:41:04] Production.INFO: ==23834== Releasing lock... [2025-03-08 23:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:41:04] Production.INFO: 117 [2025-03-08 23:41:04] Production.INFO: ==23826== Releasing lock... [2025-03-08 23:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:41:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:41:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:41:04] Production.INFO: Total Charge 0 [2025-03-08 23:41:04] Production.INFO: CreateAllLog End [2025-03-08 23:41:04] Production.ERROR: done [2025-03-08 23:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:41:04] Production.ERROR: done [2025-03-08 23:41:04] Production.INFO: Account Balance End. [2025-03-08 23:41:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:41:04] Production.INFO: ==23830== Releasing lock... [2025-03-08 23:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:41:05 [end_date_ymd] => 2025-03-08 23:41:05 [RateCDR] => 1 ) [2025-03-08 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-08 20:41:05' and `end` < '2025-03-08 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-08 23:41:11] Production.ERROR: CronJobId end10 [2025-03-08 23:41:11] Production.INFO: ==23828== Releasing lock... [2025-03-08 23:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:41:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:41:14] Production.INFO: call_cost start [2025-03-08 23:41:14] Production.INFO: call_cost end [2025-03-08 23:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:41:15] Production.INFO: ==23824== Releasing lock... [2025-03-08 23:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:41:17] Production.INFO: count ==1312 [2025-03-08 23:41:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:41:05 - End Time 2025-03-08 23:41:05 [2025-03-08 23:41:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638577', 'tblTempUsageDetail_20' ) start [2025-03-08 23:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638577', 'tblTempUsageDetail_20' ) end [2025-03-08 23:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638577', 'tblTempVendorCDR_20' ) start [2025-03-08 23:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638577', 'tblTempVendorCDR_20' ) end [2025-03-08 23:41:18] Production.INFO: ProcessCDR(1,14638577,1,1,2) [2025-03-08 23:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638577', 'tblTempUsageDetail_20' ) start [2025-03-08 23:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638577', 'tblTempUsageDetail_20' ) end [2025-03-08 23:41:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:41:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:41:22] Production.INFO: ==23832== Releasing lock... [2025-03-08 23:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:41:22] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 04:42:01] Production.INFO: ==23890== Lock acquired, processing the job... [2025-03-09 04:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:42:01] Production.INFO: neon service started [2025-03-09 04:42:01] Production.INFO: neon service started [2025-03-09 04:42:01] Production.INFO: ==23890== Releasing lock... [2025-03-09 04:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:42:02] Production.INFO: ==23892== Lock acquired, processing the job... [2025-03-08 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:42:02] Production.INFO: ==23892== Releasing lock... [2025-03-08 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:42:02] Production.INFO: ==23894== Lock acquired, processing the job... [2025-03-09 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:42:02] Production.INFO: ==23894== Releasing lock... [2025-03-09 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:42:03] Production.INFO: ==23897== Lock acquired, processing the job... [2025-03-08 23:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:42:03] Production.INFO: ==23901== Lock acquired, processing the job... [2025-03-08 23:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:42:03] Production.INFO: ==23903== Lock acquired, processing the job... [2025-03-08 23:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:42:03] Production.INFO: Account Balance Start. [2025-03-08 23:42:03] Production.INFO: CreateAllLog Start [2025-03-08 23:42:03] Production.INFO: 117 [2025-03-08 23:42:03] Production.INFO: ==23899== Lock acquired, processing the job... [2025-03-08 23:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:42:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:42:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:42:03] Production.INFO: ==23905== Lock acquired, processing the job... [2025-03-08 23:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:42:03] Production.INFO: Total Charge 0 [2025-03-08 23:42:03] Production.INFO: ==23907== Lock acquired, processing the job... [2025-03-08 23:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:42:03] Production.INFO: CreateAllLog End [2025-03-08 23:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:42:03] Production.INFO: Account Balance End. [2025-03-08 23:42:03] Production.ERROR: CronJobId end 12 [2025-03-08 23:42:03] Production.INFO: ==23903== Releasing lock... [2025-03-08 23:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:42:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:42:03] Production.INFO: ==23899== Releasing lock... [2025-03-08 23:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:42:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:42:04] Production.INFO: count ==13 [2025-03-08 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-08 23:42:04] Production.INFO: count ==21 [2025-03-08 23:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638581') start [2025-03-08 23:42:04] Production.ERROR: done [2025-03-08 23:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638581') end [2025-03-08 23:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:42:04] Production.INFO: 1 [2025-03-08 23:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:42:04] Production.INFO: ==23907== Releasing lock... [2025-03-08 23:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:42:04] Production.ERROR: done [2025-03-08 23:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:42:05 [end_date_ymd] => 2025-03-08 23:42:05 [RateCDR] => 1 ) [2025-03-08 23:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:42:05' and `end` < '2025-03-08 23:42:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:42:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:42:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:42:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:42:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:42:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:42:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:42:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:42:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:42:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:42:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:42:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:42:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:42:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:42:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:42:13] Production.ERROR: CronJobId end10 [2025-03-08 23:42:13] Production.INFO: ==23901== Releasing lock... [2025-03-08 23:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:42:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:42:13] Production.INFO: call_cost start [2025-03-08 23:42:13] Production.INFO: call_cost end [2025-03-08 23:42:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:42:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:42:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:42:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:42:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:42:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:42:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:42:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:42:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:42:14] Production.INFO: ==23897== Releasing lock... [2025-03-08 23:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:42:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:42:17] Production.INFO: count ==1312 [2025-03-08 23:42:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:42:05 - End Time 2025-03-08 23:42:05 [2025-03-08 23:42:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638582', 'tblTempUsageDetail_20' ) start [2025-03-08 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638582', 'tblTempUsageDetail_20' ) end [2025-03-08 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638582', 'tblTempVendorCDR_20' ) start [2025-03-08 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638582', 'tblTempVendorCDR_20' ) end [2025-03-08 23:42:18] Production.INFO: ProcessCDR(1,14638582,1,1,2) [2025-03-08 23:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638582', 'tblTempUsageDetail_20' ) start [2025-03-08 23:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638582', 'tblTempUsageDetail_20' ) end [2025-03-08 23:42:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:42:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:42:22] Production.INFO: ==23905== Releasing lock... [2025-03-08 23:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:42:22] Production.INFO: 38 MB #Memory Used# [2025-03-09 04:43:02] Production.INFO: ==23974== Lock acquired, processing the job... [2025-03-09 04:43:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:43:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:43:02] Production.INFO: neon service started [2025-03-09 04:43:02] Production.INFO: neon service started [2025-03-09 04:43:02] Production.INFO: ==23974== Releasing lock... [2025-03-09 04:43:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:43:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:43:02] Production.INFO: ==23976== Lock acquired, processing the job... [2025-03-08 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:43:02] Production.INFO: ==23976== Releasing lock... [2025-03-08 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:43:02] Production.INFO: ==23978== Lock acquired, processing the job... [2025-03-09 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:43:03] Production.INFO: ==23978== Releasing lock... [2025-03-09 04:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:43:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:43:03] Production.INFO: ==23983== Lock acquired, processing the job... [2025-03-08 23:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:43:03] Production.INFO: ==23991== Lock acquired, processing the job... [2025-03-08 23:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 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-08 23:43:03] Production.INFO: ==23981== Lock acquired, processing the job... [2025-03-08 23:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:43:03] Production.INFO: count ==13 [2025-03-08 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-08 23:43:03] Production.INFO: count ==21 [2025-03-08 23:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638584') start [2025-03-08 23:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:43:04] Production.INFO: ==23983== Releasing lock... [2025-03-08 23:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:43:04] Production.INFO: ==23985== Lock acquired, processing the job... [2025-03-08 23:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638584') end [2025-03-08 23:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:43:04] Production.INFO: 1 [2025-03-08 23:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:43:04] Production.INFO: ==23987== Lock acquired, processing the job... [2025-03-08 23:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:43:04] Production.INFO: ==23989== Lock acquired, processing the job... [2025-03-08 23:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:43:04] Production.INFO: ==23991== Releasing lock... [2025-03-08 23:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:43:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:43:04] Production.INFO: Account Balance Start. [2025-03-08 23:43:04] Production.INFO: CreateAllLog Start [2025-03-08 23:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:43:04] Production.INFO: 117 [2025-03-08 23:43:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:43:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:43:04] Production.INFO: Total Charge 0 [2025-03-08 23:43:04] Production.INFO: CreateAllLog End [2025-03-08 23:43:04] Production.ERROR: done [2025-03-08 23:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:43:04] Production.INFO: Account Balance End. [2025-03-08 23:43:04] Production.ERROR: done [2025-03-08 23:43:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:43:04] Production.INFO: ==23987== Releasing lock... [2025-03-08 23:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:43:05 [end_date_ymd] => 2025-03-08 23:43:05 [RateCDR] => 1 ) [2025-03-08 23:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:43:05' and `end` < '2025-03-08 23:43:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:43:12] Production.ERROR: CronJobId end10 [2025-03-08 23:43:12] Production.INFO: ==23985== Releasing lock... [2025-03-08 23:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:43:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:43:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:43:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:43:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:43:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:43:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:43:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:43:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:43:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:43:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:43:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:43:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:43:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:43:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:43:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:43:14] Production.INFO: call_cost start [2025-03-08 23:43:14] Production.INFO: call_cost end [2025-03-08 23:43:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:43:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:43:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:43:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:43:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:43:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:43:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:43:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:43:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:43:15] Production.INFO: ==23981== Releasing lock... [2025-03-08 23:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:43:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:43:18] Production.INFO: count ==1312 [2025-03-08 23:43:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:43:05 - End Time 2025-03-08 23:43:05 [2025-03-08 23:43:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638587', 'tblTempUsageDetail_20' ) start [2025-03-08 23:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638587', 'tblTempUsageDetail_20' ) end [2025-03-08 23:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638587', 'tblTempVendorCDR_20' ) start [2025-03-08 23:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638587', 'tblTempVendorCDR_20' ) end [2025-03-08 23:43:18] Production.INFO: ProcessCDR(1,14638587,1,1,2) [2025-03-08 23:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638587', 'tblTempUsageDetail_20' ) start [2025-03-08 23:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638587', 'tblTempUsageDetail_20' ) end [2025-03-08 23:43:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:43:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:43:21] Production.INFO: ==23989== Releasing lock... [2025-03-08 23:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:43:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 04:44:01] Production.INFO: ==24050== Lock acquired, processing the job... [2025-03-09 04:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:44:01] Production.INFO: neon service started [2025-03-09 04:44:01] Production.INFO: neon service started [2025-03-09 04:44:01] Production.INFO: ==24050== Releasing lock... [2025-03-09 04:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:44:02] Production.INFO: ==24052== Lock acquired, processing the job... [2025-03-08 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:44:02] Production.INFO: ==24052== Releasing lock... [2025-03-08 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:44:02] Production.INFO: ==24054== Lock acquired, processing the job... [2025-03-09 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:44:02] Production.INFO: ==24054== Releasing lock... [2025-03-09 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:44:03] Production.INFO: ==24057== Lock acquired, processing the job... [2025-03-08 23:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:44:03] Production.INFO: ==24061== Lock acquired, processing the job... [2025-03-08 23:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:44:03] Production.INFO: ==24063== Lock acquired, processing the job... [2025-03-08 23:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:44:03] Production.INFO: Account Balance Start. [2025-03-08 23:44:03] Production.INFO: CreateAllLog Start [2025-03-08 23:44:03] Production.INFO: 117 [2025-03-08 23:44:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:44:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:44:03] Production.INFO: Total Charge 0 [2025-03-08 23:44:03] Production.INFO: ==24059== Lock acquired, processing the job... [2025-03-08 23:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:44:03] Production.INFO: CreateAllLog End [2025-03-08 23:44:03] Production.INFO: ==24065== Lock acquired, processing the job... [2025-03-08 23:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:44:03] Production.INFO: Account Balance End. [2025-03-08 23:44:03] Production.INFO: ==24067== Lock acquired, processing the job... [2025-03-08 23:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:44:03] Production.ERROR: CronJobId end 12 [2025-03-08 23:44:03] Production.INFO: ==24063== Releasing lock... [2025-03-08 23:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:44:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:44:03] Production.INFO: count ==13 [2025-03-08 23:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:44:03] Production.INFO: count ==21 [2025-03-08 23:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638591') start [2025-03-08 23:44:03] Production.INFO: ==24059== Releasing lock... [2025-03-08 23:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:44:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638591') end [2025-03-08 23:44:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:44:03] Production.INFO: 1 [2025-03-08 23:44:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:44:04] Production.INFO: ==24067== Releasing lock... [2025-03-08 23:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:44:04] Production.ERROR: done [2025-03-08 23:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:44:04] Production.ERROR: done [2025-03-08 23:44:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:44:04 [end_date_ymd] => 2025-03-08 23:44:04 [RateCDR] => 1 ) [2025-03-08 23:44:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:44:04' and `end` < '2025-03-08 23:44:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:44:12] Production.ERROR: CronJobId end10 [2025-03-08 23:44:12] Production.INFO: ==24061== Releasing lock... [2025-03-08 23:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:44:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:44:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:44:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:44:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:44:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:44:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:44:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:44:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:44:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:44:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:44:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:44:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:44:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:44:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:44:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:44:14] Production.INFO: call_cost start [2025-03-08 23:44:14] Production.INFO: call_cost end [2025-03-08 23:44:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:44:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:44:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:44:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:44:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:44:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:44:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:44:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:44:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:44:15] Production.INFO: ==24057== Releasing lock... [2025-03-08 23:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:44:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:44:17] Production.INFO: count ==1309 [2025-03-08 23:44:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:44:04 - End Time 2025-03-08 23:44:04 [2025-03-08 23:44:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638592', 'tblTempUsageDetail_20' ) start [2025-03-08 23:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638592', 'tblTempUsageDetail_20' ) end [2025-03-08 23:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638592', 'tblTempVendorCDR_20' ) start [2025-03-08 23:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638592', 'tblTempVendorCDR_20' ) end [2025-03-08 23:44:17] Production.INFO: ProcessCDR(1,14638592,1,1,2) [2025-03-08 23:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:44:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638592', 'tblTempUsageDetail_20' ) start [2025-03-08 23:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638592', 'tblTempUsageDetail_20' ) end [2025-03-08 23:44:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:44:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:44:20] Production.INFO: ==24065== Releasing lock... [2025-03-08 23:44:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:44:20] Production.INFO: 38 MB #Memory Used# [2025-03-09 04:45:02] Production.INFO: ==24129== Lock acquired, processing the job... [2025-03-09 04:45:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:45:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:45:02] Production.INFO: neon service started [2025-03-09 04:45:02] Production.INFO: neon service started [2025-03-09 04:45:02] Production.INFO: ==24129== Releasing lock... [2025-03-09 04:45:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:45:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:45:02] Production.INFO: ==24133== Lock acquired, processing the job... [2025-03-09 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:45:02] Production.INFO: ==24133== Releasing lock... [2025-03-09 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:45:02] Production.INFO: ==24131== Lock acquired, processing the job... [2025-03-08 23:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:45:02] Production.INFO: ==24131== Releasing lock... [2025-03-08 23:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:45:03] Production.INFO: ==24136== Lock acquired, processing the job... [2025-03-08 23:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:45:03] Production.INFO: ==24142== Lock acquired, processing the job... [2025-03-08 23:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:45:03] Production.INFO: ==24146== Lock acquired, processing the job... [2025-03-08 23:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:45:03] Production.INFO: Account Balance Start. [2025-03-08 23:45:03] Production.INFO: CreateAllLog Start [2025-03-08 23:45:03] Production.INFO: 117 [2025-03-08 23:45:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:45:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:45:03] Production.INFO: Total Charge 0 [2025-03-08 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-08 23:45:03] Production.INFO: CreateAllLog End [2025-03-08 23:45:03] Production.INFO: ==24138== Lock acquired, processing the job... [2025-03-08 23:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:45:03] Production.INFO: Account Balance End. [2025-03-08 23:45:03] Production.INFO: count ==13 [2025-03-08 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-08 23:45:04] Production.INFO: count ==21 [2025-03-08 23:45:04] Production.INFO: ==24140== Lock acquired, processing the job... [2025-03-08 23:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:45:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:45:04] Production.INFO: ==24142== Releasing lock... [2025-03-08 23:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638595') start [2025-03-08 23:45:04] Production.INFO: ==24144== Lock acquired, processing the job... [2025-03-08 23:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:45:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638595') end [2025-03-08 23:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:45:04] Production.INFO: 1 [2025-03-08 23:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:45:04] Production.INFO: ==24146== Releasing lock... [2025-03-08 23:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:45:04] Production.ERROR: done [2025-03-08 23:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:45:04] Production.INFO: ==24138== Releasing lock... [2025-03-08 23:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:45:04] Production.ERROR: done [2025-03-08 23:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:45:05 [end_date_ymd] => 2025-03-08 23:45:05 [RateCDR] => 1 ) [2025-03-08 23:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:45:05' and `end` < '2025-03-08 23:45:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:45:13] Production.ERROR: CronJobId end10 [2025-03-08 23:45:13] Production.INFO: ==24140== Releasing lock... [2025-03-08 23:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:45:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:45:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:45:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:45:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:45:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:45:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:45:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:45:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:45:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:45:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:45:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:45:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:45:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:45:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:45:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:45:15] Production.INFO: call_cost start [2025-03-08 23:45:15] Production.INFO: call_cost end [2025-03-08 23:45:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:45:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:45:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:45:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:45:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:45:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:45:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:45:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:45:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:45:16] Production.INFO: ==24136== Releasing lock... [2025-03-08 23:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:45:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:45:17] Production.INFO: count ==1303 [2025-03-08 23:45:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:45:05 - End Time 2025-03-08 23:45:05 [2025-03-08 23:45:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638597', 'tblTempUsageDetail_20' ) start [2025-03-08 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638597', 'tblTempUsageDetail_20' ) end [2025-03-08 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638597', 'tblTempVendorCDR_20' ) start [2025-03-08 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638597', 'tblTempVendorCDR_20' ) end [2025-03-08 23:45:18] Production.INFO: ProcessCDR(1,14638597,1,1,2) [2025-03-08 23:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638597', 'tblTempUsageDetail_20' ) start [2025-03-08 23:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638597', 'tblTempUsageDetail_20' ) end [2025-03-08 23:45:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:45:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:45:21] Production.INFO: ==24144== Releasing lock... [2025-03-08 23:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:45:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 04:46:01] Production.INFO: ==24207== Lock acquired, processing the job... [2025-03-09 04:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:46:01] Production.INFO: neon service started [2025-03-09 04:46:01] Production.INFO: neon service started [2025-03-09 04:46:01] Production.INFO: ==24207== Releasing lock... [2025-03-09 04:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:46:01] Production.INFO: ==24209== Lock acquired, processing the job... [2025-03-08 23:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:46:02] Production.INFO: ==24209== Releasing lock... [2025-03-08 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:46:02] Production.INFO: ==24211== Lock acquired, processing the job... [2025-03-09 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:46:02] Production.INFO: ==24211== Releasing lock... [2025-03-09 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:46:03] Production.INFO: ==24213== Lock acquired, processing the job... [2025-03-08 23:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:46:03] Production.INFO: ==24215== Lock acquired, processing the job... [2025-03-08 23:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:46:03] Production.INFO: ==24221== Lock acquired, processing the job... [2025-03-08 23:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:46:03] Production.INFO: ==24217== Lock acquired, processing the job... [2025-03-08 23:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:46:03] Production.INFO: ==24219== Lock acquired, processing the job... [2025-03-08 23:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:46:03] Production.INFO: ==24223== Lock acquired, processing the job... [2025-03-08 23:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:46:03] Production.INFO: Account Balance Start. [2025-03-08 23:46:03] Production.INFO: CreateAllLog Start [2025-03-08 23:46:03] Production.INFO: 117 [2025-03-08 23:46:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:46:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:46:03] Production.INFO: Total Charge 0 [2025-03-08 23:46:03] Production.INFO: CreateAllLog End [2025-03-08 23:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:46:03] Production.INFO: count ==13 [2025-03-08 23:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:46:03] Production.INFO: ==24215== Releasing lock... [2025-03-08 23:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:46:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:46:03] Production.INFO: count ==21 [2025-03-08 23:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638601') start [2025-03-08 23:46:03] Production.ERROR: done [2025-03-08 23:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638601') end [2025-03-08 23:46:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:46:03] Production.INFO: 1 [2025-03-08 23:46:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:46:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:46:03] Production.INFO: Account Balance End. [2025-03-08 23:46:03] Production.INFO: ==24223== Releasing lock... [2025-03-08 23:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:46:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:46:03] Production.ERROR: CronJobId end 12 [2025-03-08 23:46:03] Production.INFO: ==24219== Releasing lock... [2025-03-08 23:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:46:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:46:04] Production.ERROR: done [2025-03-08 23:46:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:46:04 [end_date_ymd] => 2025-03-08 23:46:04 [RateCDR] => 1 ) [2025-03-08 23:46:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:46:04' and `end` < '2025-03-08 23:46:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:46:11] Production.ERROR: CronJobId end10 [2025-03-08 23:46:11] Production.INFO: ==24217== Releasing lock... [2025-03-08 23:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:46:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:46:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:46:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:46:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:46:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:46:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:46:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:46:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:46:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:46:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:46:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:46:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:46:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:46:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:46:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:46:14] Production.INFO: call_cost start [2025-03-08 23:46:14] Production.INFO: call_cost end [2025-03-08 23:46:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:46:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:46:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:46:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:46:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:46:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:46:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:46:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:46:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:46:14] Production.INFO: ==24213== Releasing lock... [2025-03-08 23:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:46:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:46:17] Production.INFO: count ==1301 [2025-03-08 23:46:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:46:04 - End Time 2025-03-08 23:46:04 [2025-03-08 23:46:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638602', 'tblTempUsageDetail_20' ) start [2025-03-08 23:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638602', 'tblTempUsageDetail_20' ) end [2025-03-08 23:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638602', 'tblTempVendorCDR_20' ) start [2025-03-08 23:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638602', 'tblTempVendorCDR_20' ) end [2025-03-08 23:46:17] Production.INFO: ProcessCDR(1,14638602,1,1,2) [2025-03-08 23:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:46:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638602', 'tblTempUsageDetail_20' ) start [2025-03-08 23:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638602', 'tblTempUsageDetail_20' ) end [2025-03-08 23:46:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:46:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:46:20] Production.INFO: ==24221== Releasing lock... [2025-03-08 23:46:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:46:20] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 04:47:01] Production.INFO: ==24280== Lock acquired, processing the job... [2025-03-09 04:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:47:01] Production.INFO: neon service started [2025-03-09 04:47:01] Production.INFO: neon service started [2025-03-09 04:47:01] Production.INFO: ==24280== Releasing lock... [2025-03-09 04:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:47:02] Production.INFO: ==24284== Lock acquired, processing the job... [2025-03-09 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:47:02] Production.INFO: ==24284== Releasing lock... [2025-03-09 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:47:02] Production.INFO: ==24282== Lock acquired, processing the job... [2025-03-08 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:47:02] Production.INFO: ==24282== Releasing lock... [2025-03-08 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:47:03] Production.INFO: ==24288== Lock acquired, processing the job... [2025-03-08 23:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:47:03] Production.INFO: ==24290== Lock acquired, processing the job... [2025-03-08 23:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:47:03] Production.INFO: ==24294== Lock acquired, processing the job... [2025-03-08 23:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:47:03] Production.INFO: ==24288== Releasing lock... [2025-03-08 23:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:47:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:47:03] Production.INFO: ==24286== Lock acquired, processing the job... [2025-03-08 23:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:47:03] Production.INFO: ==24292== Lock acquired, processing the job... [2025-03-08 23:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:47:03] Production.INFO: ==24296== Lock acquired, processing the job... [2025-03-08 23:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:47:03] Production.ERROR: done [2025-03-08 23:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:47:04] Production.INFO: Account Balance Start. [2025-03-08 23:47:04] Production.INFO: CreateAllLog Start [2025-03-08 23:47:04] Production.INFO: 117 [2025-03-08 23:47:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:47:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:47:04] Production.INFO: count ==13 [2025-03-08 23:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:47:04] Production.INFO: count ==21 [2025-03-08 23:47:04] Production.INFO: Total Charge 0 [2025-03-08 23:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638606') start [2025-03-08 23:47:04] Production.ERROR: done [2025-03-08 23:47:04] Production.INFO: CreateAllLog End [2025-03-08 23:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638606') end [2025-03-08 23:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:47:04] Production.INFO: 1 [2025-03-08 23:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:47:04] Production.INFO: Account Balance End. [2025-03-08 23:47:04] Production.INFO: ==24296== Releasing lock... [2025-03-08 23:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:47:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:47:04] Production.INFO: ==24292== Releasing lock... [2025-03-08 23:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:47:05 [end_date_ymd] => 2025-03-08 23:47:05 [RateCDR] => 1 ) [2025-03-08 23:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:47:05' and `end` < '2025-03-08 23:47:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:47:11] Production.ERROR: CronJobId end10 [2025-03-08 23:47:11] Production.INFO: ==24290== Releasing lock... [2025-03-08 23:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:47:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:47:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:47:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:47:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:47:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:47:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:47:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:47:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:47:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:47:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:47:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:47:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:47:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:47:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:47:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:47:13] Production.INFO: call_cost start [2025-03-08 23:47:13] Production.INFO: call_cost end [2025-03-08 23:47:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:47:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:47:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:47:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:47:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:47:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:47:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:47:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:47:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:47:14] Production.INFO: ==24286== Releasing lock... [2025-03-08 23:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:47:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:47:17] Production.INFO: count ==1299 [2025-03-08 23:47:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:47:05 - End Time 2025-03-08 23:47:05 [2025-03-08 23:47:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638607', 'tblTempUsageDetail_20' ) start [2025-03-08 23:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638607', 'tblTempUsageDetail_20' ) end [2025-03-08 23:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638607', 'tblTempVendorCDR_20' ) start [2025-03-08 23:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638607', 'tblTempVendorCDR_20' ) end [2025-03-08 23:47:18] Production.INFO: ProcessCDR(1,14638607,1,1,2) [2025-03-08 23:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638607', 'tblTempUsageDetail_20' ) start [2025-03-08 23:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638607', 'tblTempUsageDetail_20' ) end [2025-03-08 23:47:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:47:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:47:22] Production.INFO: ==24294== Releasing lock... [2025-03-08 23:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:47:22] Production.INFO: 38 MB #Memory Used# [2025-03-09 04:48:01] Production.INFO: ==24353== Lock acquired, processing the job... [2025-03-09 04:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:48:01] Production.INFO: neon service started [2025-03-09 04:48:01] Production.INFO: neon service started [2025-03-09 04:48:01] Production.INFO: ==24353== Releasing lock... [2025-03-09 04:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:48:01] Production.INFO: ==24355== Lock acquired, processing the job... [2025-03-08 23:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:48:02] Production.INFO: ==24355== Releasing lock... [2025-03-08 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:48:02] Production.INFO: ==24357== Lock acquired, processing the job... [2025-03-09 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:48:02] Production.INFO: ==24357== Releasing lock... [2025-03-09 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:48:02] Production.INFO: ==24365== Lock acquired, processing the job... [2025-03-08 23:48:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:48:03] Production.INFO: ==24370== Lock acquired, processing the job... [2025-03-08 23:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:48:03] Production.INFO: Account Balance Start. [2025-03-08 23:48:03] Production.INFO: CreateAllLog Start [2025-03-08 23:48:03] Production.INFO: 117 [2025-03-08 23:48:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:48:03] Production.INFO: ==24359== Lock acquired, processing the job... [2025-03-08 23:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:48:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:48:03] Production.INFO: Total Charge 0 [2025-03-08 23:48:03] Production.INFO: CreateAllLog End [2025-03-08 23:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:48:03] Production.INFO: ==24361== Lock acquired, processing the job... [2025-03-08 23:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:48:03] Production.INFO: ==24363== Lock acquired, processing the job... [2025-03-08 23:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:48:03] Production.INFO: count ==13 [2025-03-08 23:48:03] Production.INFO: Account Balance End. [2025-03-08 23:48:03] Production.INFO: ==24367== Lock acquired, processing the job... [2025-03-08 23:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:48:03] Production.INFO: count ==21 [2025-03-08 23:48:03] Production.ERROR: CronJobId end 12 [2025-03-08 23:48:03] Production.INFO: ==24365== Releasing lock... [2025-03-08 23:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:48:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638609') start [2025-03-08 23:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:48:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638609') end [2025-03-08 23:48:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:48:03] Production.INFO: 1 [2025-03-08 23:48:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:48:03] Production.INFO: ==24361== Releasing lock... [2025-03-08 23:48:03] Production.INFO: ==24370== Releasing lock... [2025-03-08 23:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:48:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:48:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:48:04] Production.ERROR: done [2025-03-08 23:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:48:04] Production.ERROR: done [2025-03-08 23:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:48:05 [end_date_ymd] => 2025-03-08 23:48:05 [RateCDR] => 1 ) [2025-03-08 23:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:48:05' and `end` < '2025-03-08 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-08 23:48:11] Production.ERROR: CronJobId end10 [2025-03-08 23:48:11] Production.INFO: ==24363== Releasing lock... [2025-03-08 23:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:48:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:48:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:48:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:48:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:48:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:48:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:48:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:48:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:48:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:48:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:48:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:48:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:48:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:48:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:48:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:48:13] Production.INFO: call_cost start [2025-03-08 23:48:13] Production.INFO: call_cost end [2025-03-08 23:48:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:48:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:48:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:48:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:48:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:48:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:48:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:48:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:48:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:48:14] Production.INFO: ==24359== Releasing lock... [2025-03-08 23:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:48:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:48:17] Production.INFO: count ==1299 [2025-03-08 23:48:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:48:05 - End Time 2025-03-08 23:48:05 [2025-03-08 23:48:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638612', 'tblTempUsageDetail_20' ) start [2025-03-08 23:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638612', 'tblTempUsageDetail_20' ) end [2025-03-08 23:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638612', 'tblTempVendorCDR_20' ) start [2025-03-08 23:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638612', 'tblTempVendorCDR_20' ) end [2025-03-08 23:48:17] Production.INFO: ProcessCDR(1,14638612,1,1,2) [2025-03-08 23:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638612', 'tblTempUsageDetail_20' ) start [2025-03-08 23:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638612', 'tblTempUsageDetail_20' ) end [2025-03-08 23:48:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:48:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:48:21] Production.INFO: ==24367== Releasing lock... [2025-03-08 23:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:48:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 04:49:01] Production.INFO: ==24427== Lock acquired, processing the job... [2025-03-09 04:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:49:01] Production.INFO: neon service started [2025-03-09 04:49:01] Production.INFO: neon service started [2025-03-09 04:49:01] Production.INFO: ==24427== Releasing lock... [2025-03-09 04:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:49:02] Production.INFO: ==24429== Lock acquired, processing the job... [2025-03-08 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:49:02] Production.INFO: ==24429== Releasing lock... [2025-03-08 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:49:02] Production.INFO: ==24431== Lock acquired, processing the job... [2025-03-09 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:49:02] Production.INFO: ==24431== Releasing lock... [2025-03-09 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:49:03] Production.INFO: ==24436== Lock acquired, processing the job... [2025-03-08 23:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:49:03] Production.INFO: ==24434== Lock acquired, processing the job... [2025-03-08 23:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:49:03] Production.INFO: ==24438== Lock acquired, processing the job... [2025-03-08 23:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:49:03] Production.INFO: ==24440== Lock acquired, processing the job... [2025-03-08 23:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:49:03] Production.INFO: ==24444== Lock acquired, processing the job... [2025-03-08 23:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:49:03] Production.INFO: Account Balance Start. [2025-03-08 23:49:03] Production.INFO: CreateAllLog Start [2025-03-08 23:49:03] Production.INFO: 117 [2025-03-08 23:49:03] Production.INFO: ==24442== Lock acquired, processing the job... [2025-03-08 23:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:49:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:49:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:49:03] Production.INFO: ==24436== Releasing lock... [2025-03-08 23:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:49:03] Production.INFO: count ==13 [2025-03-08 23:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:49:03] Production.INFO: count ==21 [2025-03-08 23:49:03] Production.INFO: Total Charge 0 [2025-03-08 23:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638616') start [2025-03-08 23:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638616') end [2025-03-08 23:49:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:49:03] Production.INFO: 1 [2025-03-08 23:49:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:49:03] Production.INFO: CreateAllLog End [2025-03-08 23:49:03] Production.INFO: ==24444== Releasing lock... [2025-03-08 23:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:49:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:49:03] Production.INFO: Account Balance End. [2025-03-08 23:49:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:49:04] Production.INFO: ==24440== Releasing lock... [2025-03-08 23:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:49:04] Production.ERROR: done [2025-03-08 23:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:49:04] Production.ERROR: done [2025-03-08 23:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:49:05 [end_date_ymd] => 2025-03-08 23:49:05 [RateCDR] => 1 ) [2025-03-08 23:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:49:05' and `end` < '2025-03-08 23:49:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:49:12] Production.ERROR: CronJobId end10 [2025-03-08 23:49:12] Production.INFO: ==24438== Releasing lock... [2025-03-08 23:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:49:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:49:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:49:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:49:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:49:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:49:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:49:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:49:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:49:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:49:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:49:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:49:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:49:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:49:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:49:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:49:13] Production.INFO: call_cost start [2025-03-08 23:49:13] Production.INFO: call_cost end [2025-03-08 23:49:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:49:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:49:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:49:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:49:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:49:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:49:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:49:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:49:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:49:14] Production.INFO: ==24434== Releasing lock... [2025-03-08 23:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:49:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:49:17] Production.INFO: count ==1296 [2025-03-08 23:49:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:49:05 - End Time 2025-03-08 23:49:05 [2025-03-08 23:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638617', 'tblTempUsageDetail_20' ) start [2025-03-08 23:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638617', 'tblTempUsageDetail_20' ) end [2025-03-08 23:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638617', 'tblTempVendorCDR_20' ) start [2025-03-08 23:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638617', 'tblTempVendorCDR_20' ) end [2025-03-08 23:49:17] Production.INFO: ProcessCDR(1,14638617,1,1,2) [2025-03-08 23:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638617', 'tblTempUsageDetail_20' ) start [2025-03-08 23:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638617', 'tblTempUsageDetail_20' ) end [2025-03-08 23:49:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:49:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:49:20] Production.INFO: ==24442== Releasing lock... [2025-03-08 23:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:49:20] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 04:50:02] Production.INFO: ==24504== Lock acquired, processing the job... [2025-03-09 04:50:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:50:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:50:02] Production.INFO: neon service started [2025-03-09 04:50:02] Production.INFO: neon service started [2025-03-09 04:50:02] Production.INFO: ==24504== Releasing lock... [2025-03-09 04:50:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:50:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:50:02] Production.INFO: ==24506== Lock acquired, processing the job... [2025-03-08 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:50:02] Production.INFO: ==24506== Releasing lock... [2025-03-08 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:50:03] Production.INFO: ==24508== Lock acquired, processing the job... [2025-03-09 04:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:50:03] Production.INFO: ==24508== Releasing lock... [2025-03-09 04:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:50:03] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:50:03] Production.INFO: ==24514== Lock acquired, processing the job... [2025-03-08 23:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:50:03] Production.INFO: ==24518== Lock acquired, processing the job... [2025-03-08 23:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:50:04] Production.INFO: ==24510== Lock acquired, processing the job... [2025-03-08 23:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-08 23:50:04] Production.INFO: ==24525== Lock acquired, processing the job... [2025-03-08 23:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:50:04] Production.INFO: Account Balance Start. [2025-03-08 23:50:04] Production.INFO: CreateAllLog Start [2025-03-08 23:50:04] Production.INFO: 117 [2025-03-08 23:50:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:50:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:50:04] Production.INFO: ==24512== Lock acquired, processing the job... [2025-03-08 23:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:50:04] Production.INFO: Total Charge 0 [2025-03-08 23:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-08 23:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 23:50:04] Production.ERROR: CronJob PID - 24512 [2025-03-08 23:50:04] Production.ERROR: CronJob Title - System Alerts [2025-03-08 23:50:04] Production.ERROR: CronJob ID - 5 [2025-03-08 23:50:04] Production.ERROR: CronJob Last Run Time 2025-03-08 23:50:00 [2025-03-08 23:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 23:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 23:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 23:50:04] Production.ERROR: CronJob PID - 24514 [2025-03-08 23:50:04] Production.ERROR: CronJob Title - Account Block [2025-03-08 23:50:04] Production.ERROR: CronJob ID - 7 [2025-03-08 23:50:04] Production.ERROR: CronJob Last Run Time 2025-03-08 23:50:00 [2025-03-08 23:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 23:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 23:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 23:50:04] Production.ERROR: CronJob PID - 24518 [2025-03-08 23:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-08 23:50:04] Production.ERROR: CronJob ID - 12 [2025-03-08 23:50:04] Production.ERROR: CronJob Last Run Time 2025-03-08 23:50:00 [2025-03-08 23:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 23:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 23:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-08 23:50:04] Production.ERROR: CronJob PID - 24525 [2025-03-08 23:50:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-08 23:50:04] Production.ERROR: CronJob ID - 19 [2025-03-08 23:50:04] Production.ERROR: CronJob Last Run Time 2025-03-08 23:50:00 [2025-03-08 23:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-08 23:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-08 23:50:04] Production.INFO: CreateAllLog End [2025-03-08 23:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-08 23:50:04] Production.INFO: ==24510== Releasing lock... [2025-03-08 23:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-08 23:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-08 23:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:50:04] Production.INFO: ==24516== Lock acquired, processing the job... [2025-03-08 23:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:50:04] Production.INFO: ==24521== Lock acquired, processing the job... [2025-03-08 23:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:50:04] Production.INFO: ==24523== Lock acquired, processing the job... [2025-03-08 23:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-08 23:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 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-08 23:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:50:04] Production.INFO: ==24514== Releasing lock... [2025-03-08 23:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:50:04] Production.INFO: count ==13 [2025-03-08 23:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:50:04] Production.INFO: count ==21 [2025-03-08 23:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638620') start [2025-03-08 23:50:04] Production.INFO: Account Balance End. [2025-03-08 23:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638620') end [2025-03-08 23:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:50:04] Production.INFO: 1 [2025-03-08 23:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:50:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:50:04] Production.INFO: ==24518== Releasing lock... [2025-03-08 23:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:50:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:50:04] Production.INFO: ==24525== Releasing lock... [2025-03-08 23:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:50:04] Production.ERROR: done [2025-03-08 23:50:04] Production.ERROR: done [2025-03-08 23:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-08 23:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638622', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) start [2025-03-08 23:50:04] Production.ERROR: done [2025-03-08 23:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:50:06 [end_date_ymd] => 2025-03-08 23:50:06 [RateCDR] => 1 ) [2025-03-08 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-08 20:50:06' and `end` < '2025-03-08 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-08 23:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638622', 'tblTempUsageDetail_20reseller','2025-03-08','2025-03-08','1' ) end [2025-03-08 23:50:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-08 23:50:08] Production.INFO: ProcessCDR(1,14638622,1,1,2) [2025-03-08 23:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14638622,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14638622,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:50:08] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:50:08] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:50:09] Production.INFO: ==24523== Releasing lock... [2025-03-08 23:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-08 23:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-08 23:50:13] Production.ERROR: CronJobId end10 [2025-03-08 23:50:13] Production.INFO: ==24516== Releasing lock... [2025-03-08 23:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:50:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:50:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:50:15] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:50:15] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:50:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:50:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:50:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:50:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:50:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:50:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:50:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:50:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:50:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:50:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:50:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:50:15] Production.INFO: call_cost start [2025-03-08 23:50:15] Production.INFO: call_cost end [2025-03-08 23:50:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:50:16] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:50:16] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:50:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:50:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:50:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:50:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:50:16] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:50:16] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:50:16] Production.INFO: ==24512== Releasing lock... [2025-03-08 23:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:50:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:50:18] Production.INFO: count ==1290 [2025-03-08 23:50:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:50:06 - End Time 2025-03-08 23:50:06 [2025-03-08 23:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638623', 'tblTempUsageDetail_20' ) start [2025-03-08 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638623', 'tblTempUsageDetail_20' ) end [2025-03-08 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638623', 'tblTempVendorCDR_20' ) start [2025-03-08 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638623', 'tblTempVendorCDR_20' ) end [2025-03-08 23:50:18] Production.INFO: ProcessCDR(1,14638623,1,1,2) [2025-03-08 23:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638623', 'tblTempUsageDetail_20' ) start [2025-03-08 23:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638623', 'tblTempUsageDetail_20' ) end [2025-03-08 23:50:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:50:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:50:21] Production.INFO: ==24521== Releasing lock... [2025-03-08 23:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:50:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 04:51:01] Production.INFO: ==24581== Lock acquired, processing the job... [2025-03-09 04:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:51:01] Production.INFO: neon service started [2025-03-09 04:51:01] Production.INFO: neon service started [2025-03-09 04:51:01] Production.INFO: ==24581== Releasing lock... [2025-03-09 04:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:51:01] Production.INFO: ==24583== Lock acquired, processing the job... [2025-03-08 23:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:51:02] Production.INFO: ==24583== Releasing lock... [2025-03-08 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:51:02] Production.INFO: ==24585== Lock acquired, processing the job... [2025-03-09 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:51:02] Production.INFO: ==24585== Releasing lock... [2025-03-09 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:51:03] Production.INFO: ==24593== Lock acquired, processing the job... [2025-03-08 23:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:51:03] Production.INFO: Account Balance Start. [2025-03-08 23:51:03] Production.INFO: CreateAllLog Start [2025-03-08 23:51:03] Production.INFO: 117 [2025-03-08 23:51:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:51:03] Production.INFO: ==24598== Lock acquired, processing the job... [2025-03-08 23:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:51:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:51:03] Production.INFO: ==24587== Lock acquired, processing the job... [2025-03-08 23:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:51:03] Production.INFO: Total Charge 0 [2025-03-08 23:51:03] Production.INFO: CreateAllLog End [2025-03-08 23:51:03] Production.INFO: ==24591== Lock acquired, processing the job... [2025-03-08 23:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:51:03] Production.INFO: ==24589== Lock acquired, processing the job... [2025-03-08 23:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:51:03] Production.INFO: count ==13 [2025-03-08 23:51:03] Production.INFO: ==24595== Lock acquired, processing the job... [2025-03-08 23:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:51:03] Production.INFO: Account Balance End. [2025-03-08 23:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:51:03] Production.INFO: count ==21 [2025-03-08 23:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638625') start [2025-03-08 23:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:51:03] Production.ERROR: CronJobId end 12 [2025-03-08 23:51:03] Production.INFO: ==24593== Releasing lock... [2025-03-08 23:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:51:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638625') end [2025-03-08 23:51:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:51:03] Production.INFO: 1 [2025-03-08 23:51:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:51:03] Production.INFO: ==24598== Releasing lock... [2025-03-08 23:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:51:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:51:03] Production.INFO: ==24589== Releasing lock... [2025-03-08 23:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:51:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:51:03] Production.ERROR: done [2025-03-08 23:51:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:51:04] Production.ERROR: done [2025-03-08 23:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:51:05 [end_date_ymd] => 2025-03-08 23:51:05 [RateCDR] => 1 ) [2025-03-08 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-08 20:51:05' and `end` < '2025-03-08 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-08 23:51:11] Production.ERROR: CronJobId end10 [2025-03-08 23:51:11] Production.INFO: ==24591== Releasing lock... [2025-03-08 23:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:51:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:51:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:51:12] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:51:12] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:51:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:51:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:51:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:51:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:51:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:51:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:51:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:51:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:51:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:51:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:51:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:51:13] Production.INFO: call_cost start [2025-03-08 23:51:13] Production.INFO: call_cost end [2025-03-08 23:51:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:51:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:51:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:51:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:51:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:51:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:51:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:51:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:51:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:51:14] Production.INFO: ==24587== Releasing lock... [2025-03-08 23:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:51:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:51:17] Production.INFO: count ==1233 [2025-03-08 23:51:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:51:05 - End Time 2025-03-08 23:51:05 [2025-03-08 23:51:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638628', 'tblTempUsageDetail_20' ) start [2025-03-08 23:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638628', 'tblTempUsageDetail_20' ) end [2025-03-08 23:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638628', 'tblTempVendorCDR_20' ) start [2025-03-08 23:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638628', 'tblTempVendorCDR_20' ) end [2025-03-08 23:51:17] Production.INFO: ProcessCDR(1,14638628,1,1,2) [2025-03-08 23:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638628', 'tblTempUsageDetail_20' ) start [2025-03-08 23:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638628', 'tblTempUsageDetail_20' ) end [2025-03-08 23:51:20] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:51:20] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:51:20] Production.INFO: ==24595== Releasing lock... [2025-03-08 23:51:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:51:20] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 04:52:02] Production.INFO: ==24656== Lock acquired, processing the job... [2025-03-09 04:52:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:52:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:52:02] Production.INFO: neon service started [2025-03-09 04:52:02] Production.INFO: neon service started [2025-03-09 04:52:02] Production.INFO: ==24656== Releasing lock... [2025-03-09 04:52:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:52:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:52:02] Production.INFO: ==24658== Lock acquired, processing the job... [2025-03-08 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:52:02] Production.INFO: ==24660== Lock acquired, processing the job... [2025-03-09 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:52:02] Production.INFO: ==24660== Releasing lock... [2025-03-09 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:52:03] Production.INFO: ==24658== Releasing lock... [2025-03-08 23:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:52:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:52:03] Production.INFO: ==24665== Lock acquired, processing the job... [2025-03-08 23:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:52:03] Production.INFO: ==24671== Lock acquired, processing the job... [2025-03-08 23:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:52:04] Production.INFO: ==24663== Lock acquired, processing the job... [2025-03-08 23:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:52:04] Production.INFO: ==24667== Lock acquired, processing the job... [2025-03-08 23:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:52:04] Production.INFO: ==24669== Lock acquired, processing the job... [2025-03-08 23:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:52:04] Production.INFO: ==24673== Lock acquired, processing the job... [2025-03-08 23:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:52:04] Production.ERROR: done [2025-03-08 23:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:52:04] Production.INFO: ==24665== Releasing lock... [2025-03-08 23:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:52:04] Production.INFO: Account Balance Start. [2025-03-08 23:52:04] Production.INFO: CreateAllLog Start [2025-03-08 23:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:52:04] Production.INFO: 117 [2025-03-08 23:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:52:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:52:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:52:04] Production.INFO: Total Charge 0 [2025-03-08 23:52:04] Production.INFO: CreateAllLog End [2025-03-08 23:52:04] Production.INFO: count ==13 [2025-03-08 23:52:04] Production.ERROR: done [2025-03-08 23:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:52:04] Production.INFO: count ==21 [2025-03-08 23:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638632') start [2025-03-08 23:52:04] Production.INFO: Account Balance End. [2025-03-08 23:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638632') end [2025-03-08 23:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:52:04] Production.INFO: 1 [2025-03-08 23:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:52:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:52:04] Production.INFO: ==24669== Releasing lock... [2025-03-08 23:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:52:04] Production.INFO: ==24673== Releasing lock... [2025-03-08 23:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:52:05 [end_date_ymd] => 2025-03-08 23:52:05 [RateCDR] => 1 ) [2025-03-08 23:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:52:05' and `end` < '2025-03-08 23:52:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:52:12] Production.ERROR: CronJobId end10 [2025-03-08 23:52:12] Production.INFO: ==24667== Releasing lock... [2025-03-08 23:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:52:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:52:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:52:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:52:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:52:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:52:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:52:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:52:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:52:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:52:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:52:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:52:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:52:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:52:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:52:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:52:14] Production.INFO: call_cost start [2025-03-08 23:52:14] Production.INFO: call_cost end [2025-03-08 23:52:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:52:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:52:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:52:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:52:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:52:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:52:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:52:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:52:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:52:15] Production.INFO: ==24663== Releasing lock... [2025-03-08 23:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:52:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:52:17] Production.INFO: count ==1228 [2025-03-08 23:52:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:52:05 - End Time 2025-03-08 23:52:05 [2025-03-08 23:52:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638633', 'tblTempUsageDetail_20' ) start [2025-03-08 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638633', 'tblTempUsageDetail_20' ) end [2025-03-08 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638633', 'tblTempVendorCDR_20' ) start [2025-03-08 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638633', 'tblTempVendorCDR_20' ) end [2025-03-08 23:52:18] Production.INFO: ProcessCDR(1,14638633,1,1,2) [2025-03-08 23:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638633', 'tblTempUsageDetail_20' ) start [2025-03-08 23:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638633', 'tblTempUsageDetail_20' ) end [2025-03-08 23:52:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:52:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:52:21] Production.INFO: ==24671== Releasing lock... [2025-03-08 23:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:52:21] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 04:53:01] Production.INFO: ==24735== Lock acquired, processing the job... [2025-03-09 04:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:53:01] Production.INFO: neon service started [2025-03-09 04:53:01] Production.INFO: neon service started [2025-03-09 04:53:01] Production.INFO: ==24735== Releasing lock... [2025-03-09 04:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:53:01] Production.INFO: ==24737== Lock acquired, processing the job... [2025-03-08 23:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:53:02] Production.INFO: ==24737== Releasing lock... [2025-03-08 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:53:02] Production.INFO: ==24739== Lock acquired, processing the job... [2025-03-09 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:53:02] Production.INFO: ==24739== Releasing lock... [2025-03-09 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:53:03] Production.INFO: ==24742== Lock acquired, processing the job... [2025-03-08 23:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:53:03] Production.INFO: ==24752== Lock acquired, processing the job... [2025-03-08 23:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:53:03] Production.INFO: ==24744== Lock acquired, processing the job... [2025-03-08 23:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:53:03] Production.INFO: count ==13 [2025-03-08 23:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:53:03] Production.INFO: ==24746== Lock acquired, processing the job... [2025-03-08 23:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:53:03] Production.INFO: count ==21 [2025-03-08 23:53:03] Production.INFO: ==24748== Lock acquired, processing the job... [2025-03-08 23:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638635') start [2025-03-08 23:53:03] Production.INFO: ==24750== Lock acquired, processing the job... [2025-03-08 23:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:53:03] Production.INFO: Account Balance Start. [2025-03-08 23:53:03] Production.INFO: CreateAllLog Start [2025-03-08 23:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:53:03] Production.INFO: 117 [2025-03-08 23:53:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:53:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638635') end [2025-03-08 23:53:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:53:03] Production.INFO: 1 [2025-03-08 23:53:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:53:03] Production.INFO: Total Charge 0 [2025-03-08 23:53:03] Production.INFO: CreateAllLog End [2025-03-08 23:53:03] Production.INFO: ==24752== Releasing lock... [2025-03-08 23:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:53:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:53:03] Production.INFO: ==24744== Releasing lock... [2025-03-08 23:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:53:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:53:03] Production.INFO: Account Balance End. [2025-03-08 23:53:03] Production.ERROR: CronJobId end 12 [2025-03-08 23:53:03] Production.INFO: ==24748== Releasing lock... [2025-03-08 23:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:53:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:53:03] Production.ERROR: done [2025-03-08 23:53:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:53:04] Production.ERROR: done [2025-03-08 23:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:53:05 [end_date_ymd] => 2025-03-08 23:53:05 [RateCDR] => 1 ) [2025-03-08 23:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:53:05' and `end` < '2025-03-08 23:53:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:53:11] Production.ERROR: CronJobId end10 [2025-03-08 23:53:11] Production.INFO: ==24746== Releasing lock... [2025-03-08 23:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:53:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:53:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:53:12] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:53:12] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:53:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:53:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:53:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:53:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:53:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:53:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:53:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:53:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:53:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:53:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:53:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:53:13] Production.INFO: call_cost start [2025-03-08 23:53:13] Production.INFO: call_cost end [2025-03-08 23:53:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:53:13] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:53:13] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:53:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:53:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:53:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:53:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:53:13] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:53:13] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:53:13] Production.INFO: ==24742== Releasing lock... [2025-03-08 23:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:53:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:53:17] Production.INFO: count ==1232 [2025-03-08 23:53:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:53:05 - End Time 2025-03-08 23:53:05 [2025-03-08 23:53:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638638', 'tblTempUsageDetail_20' ) start [2025-03-08 23:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638638', 'tblTempUsageDetail_20' ) end [2025-03-08 23:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638638', 'tblTempVendorCDR_20' ) start [2025-03-08 23:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638638', 'tblTempVendorCDR_20' ) end [2025-03-08 23:53:17] Production.INFO: ProcessCDR(1,14638638,1,1,2) [2025-03-08 23:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638638', 'tblTempUsageDetail_20' ) start [2025-03-08 23:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638638', 'tblTempUsageDetail_20' ) end [2025-03-08 23:53:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:53:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:53:22] Production.INFO: ==24750== Releasing lock... [2025-03-08 23:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:53:22] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 04:54:01] Production.INFO: ==24808== Lock acquired, processing the job... [2025-03-09 04:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:54:01] Production.INFO: neon service started [2025-03-09 04:54:01] Production.INFO: neon service started [2025-03-09 04:54:01] Production.INFO: ==24808== Releasing lock... [2025-03-09 04:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:54:02] Production.INFO: ==24810== Lock acquired, processing the job... [2025-03-08 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:54:02] Production.INFO: ==24810== Releasing lock... [2025-03-08 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:54:02] Production.INFO: ==24812== Lock acquired, processing the job... [2025-03-09 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:54:02] Production.INFO: ==24812== Releasing lock... [2025-03-09 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:54:03] Production.INFO: ==24823== Lock acquired, processing the job... [2025-03-08 23:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:54:03] Production.INFO: ==24815== Lock acquired, processing the job... [2025-03-08 23:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:54:03] Production.INFO: ==24817== Lock acquired, processing the job... [2025-03-08 23:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:54:03] Production.INFO: ==24825== Lock acquired, processing the job... [2025-03-08 23:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:54:03] Production.INFO: ==24819== Lock acquired, processing the job... [2025-03-08 23:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:54:03] Production.INFO: ==24821== Lock acquired, processing the job... [2025-03-08 23:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:54:03] Production.INFO: Account Balance Start. [2025-03-08 23:54:03] Production.INFO: CreateAllLog Start [2025-03-08 23:54:03] Production.INFO: 117 [2025-03-08 23:54:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:54:03] Production.INFO: count ==13 [2025-03-08 23:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:54:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:54:03] Production.INFO: count ==21 [2025-03-08 23:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638641') start [2025-03-08 23:54:03] Production.INFO: Total Charge 0 [2025-03-08 23:54:03] Production.INFO: CreateAllLog End [2025-03-08 23:54:03] Production.INFO: ==24817== Releasing lock... [2025-03-08 23:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:54:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:54:03] Production.ERROR: done [2025-03-08 23:54:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638641') end [2025-03-08 23:54:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:54:03] Production.INFO: 1 [2025-03-08 23:54:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:54:04] Production.INFO: ==24825== Releasing lock... [2025-03-08 23:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:54:04] Production.INFO: Account Balance End. [2025-03-08 23:54:04] Production.ERROR: done [2025-03-08 23:54:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:54:04] Production.INFO: ==24821== Releasing lock... [2025-03-08 23:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:54:05 [end_date_ymd] => 2025-03-08 23:54:05 [RateCDR] => 1 ) [2025-03-08 23:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:54:05' and `end` < '2025-03-08 23:54:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:54:11] Production.ERROR: CronJobId end10 [2025-03-08 23:54:11] Production.INFO: ==24819== Releasing lock... [2025-03-08 23:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:54:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:54:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:54:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:54:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:54:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:54:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:54:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:54:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:54:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:54:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:54:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:54:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:54:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:54:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:54:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:54:13] Production.INFO: call_cost start [2025-03-08 23:54:13] Production.INFO: call_cost end [2025-03-08 23:54:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:54:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:54:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:54:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:54:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:54:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:54:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:54:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:54:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:54:14] Production.INFO: ==24815== Releasing lock... [2025-03-08 23:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:54:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:54:17] Production.INFO: count ==1234 [2025-03-08 23:54:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:54:05 - End Time 2025-03-08 23:54:05 [2025-03-08 23:54:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638643', 'tblTempUsageDetail_20' ) start [2025-03-08 23:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638643', 'tblTempUsageDetail_20' ) end [2025-03-08 23:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638643', 'tblTempVendorCDR_20' ) start [2025-03-08 23:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638643', 'tblTempVendorCDR_20' ) end [2025-03-08 23:54:17] Production.INFO: ProcessCDR(1,14638643,1,1,2) [2025-03-08 23:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638643', 'tblTempUsageDetail_20' ) start [2025-03-08 23:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638643', 'tblTempUsageDetail_20' ) end [2025-03-08 23:54:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:54:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:54:22] Production.INFO: ==24823== Releasing lock... [2025-03-08 23:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:54:22] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 04:55:01] Production.INFO: ==24923== Lock acquired, processing the job... [2025-03-09 04:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:55:01] Production.INFO: neon service started [2025-03-09 04:55:01] Production.INFO: neon service started [2025-03-09 04:55:01] Production.INFO: ==24923== Releasing lock... [2025-03-09 04:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:55:01] Production.INFO: ==24925== Lock acquired, processing the job... [2025-03-08 23:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:55:01] Production.INFO: ==24927== Lock acquired, processing the job... [2025-03-09 04:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:55:01] Production.INFO: ==24927== Releasing lock... [2025-03-09 04:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:55:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:55:02] Production.INFO: ==24925== Releasing lock... [2025-03-08 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:55:02] Production.INFO: ==24930== Lock acquired, processing the job... [2025-03-08 23:55:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:55:03] Production.INFO: ==24934== Lock acquired, processing the job... [2025-03-08 23:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:55:03] Production.INFO: ==24938== Lock acquired, processing the job... [2025-03-08 23:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:55:03] Production.INFO: ==24932== Lock acquired, processing the job... [2025-03-08 23:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:55:03] Production.INFO: ==24936== Lock acquired, processing the job... [2025-03-08 23:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:55:03] Production.INFO: ==24940== Lock acquired, processing the job... [2025-03-08 23:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:55:03] Production.INFO: Account Balance Start. [2025-03-08 23:55:03] Production.INFO: CreateAllLog Start [2025-03-08 23:55:03] Production.INFO: 117 [2025-03-08 23:55:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:55:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:55:03] Production.INFO: count ==13 [2025-03-08 23:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:55:03] Production.INFO: count ==21 [2025-03-08 23:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638646') start [2025-03-08 23:55:03] Production.ERROR: done [2025-03-08 23:55:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:55:03] Production.INFO: Total Charge 0 [2025-03-08 23:55:03] Production.INFO: CreateAllLog End [2025-03-08 23:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638646') end [2025-03-08 23:55:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:55:03] Production.INFO: 1 [2025-03-08 23:55:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:55:03] Production.ERROR: done [2025-03-08 23:55:03] Production.INFO: ==24940== Releasing lock... [2025-03-08 23:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:55:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:55:04] Production.INFO: ==24932== Releasing lock... [2025-03-08 23:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:55:04] Production.INFO: Account Balance End. [2025-03-08 23:55:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:55:04] Production.INFO: ==24936== Releasing lock... [2025-03-08 23:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:55:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:55:04 [end_date_ymd] => 2025-03-08 23:55:04 [RateCDR] => 1 ) [2025-03-08 23:55:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:55:04' and `end` < '2025-03-08 23:55:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:55:11] Production.ERROR: CronJobId end10 [2025-03-08 23:55:11] Production.INFO: ==24934== Releasing lock... [2025-03-08 23:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:55:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:55:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:55:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:55:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:55:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:55:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:55:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:55:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:55:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:55:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:55:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:55:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:55:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:55:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:55:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:55:13] Production.INFO: call_cost start [2025-03-08 23:55:13] Production.INFO: call_cost end [2025-03-08 23:55:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:55:14] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:55:14] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:55:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:55:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:55:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:55:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:55:14] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:55:14] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:55:14] Production.INFO: ==24930== Releasing lock... [2025-03-08 23:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:55:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:55:17] Production.INFO: count ==1236 [2025-03-08 23:55:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:55:04 - End Time 2025-03-08 23:55:04 [2025-03-08 23:55:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638648', 'tblTempUsageDetail_20' ) start [2025-03-08 23:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638648', 'tblTempUsageDetail_20' ) end [2025-03-08 23:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638648', 'tblTempVendorCDR_20' ) start [2025-03-08 23:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638648', 'tblTempVendorCDR_20' ) end [2025-03-08 23:55:17] Production.INFO: ProcessCDR(1,14638648,1,1,2) [2025-03-08 23:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:55:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638648', 'tblTempUsageDetail_20' ) start [2025-03-08 23:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638648', 'tblTempUsageDetail_20' ) end [2025-03-08 23:55:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:55:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:55:21] Production.INFO: ==24938== Releasing lock... [2025-03-08 23:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:55:21] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 04:56:01] Production.INFO: ==25001== Lock acquired, processing the job... [2025-03-09 04:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:56:02] Production.INFO: neon service started [2025-03-09 04:56:02] Production.INFO: neon service started [2025-03-09 04:56:02] Production.INFO: ==25001== Releasing lock... [2025-03-09 04:56:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:56:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:56:02] Production.INFO: ==25003== Lock acquired, processing the job... [2025-03-08 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:56:02] Production.INFO: ==25003== Releasing lock... [2025-03-08 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:56:02] Production.INFO: ==25005== Lock acquired, processing the job... [2025-03-09 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:56:02] Production.INFO: ==25005== Releasing lock... [2025-03-09 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:56:03] Production.INFO: ==25008== Lock acquired, processing the job... [2025-03-08 23:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:56:03] Production.INFO: ==25012== Lock acquired, processing the job... [2025-03-08 23:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:56:03] Production.INFO: ==25016== Lock acquired, processing the job... [2025-03-08 23:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:56:03] Production.INFO: ==25010== Lock acquired, processing the job... [2025-03-08 23:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:56:04] Production.INFO: ==25018== Lock acquired, processing the job... [2025-03-08 23:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:56:04] Production.INFO: ==25014== Lock acquired, processing the job... [2025-03-08 23:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:56:04] Production.ERROR: done [2025-03-08 23:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:56:04] Production.INFO: Account Balance Start. [2025-03-08 23:56:04] Production.INFO: CreateAllLog Start [2025-03-08 23:56:04] Production.INFO: 117 [2025-03-08 23:56:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:56:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:56:04] Production.INFO: count ==13 [2025-03-08 23:56:04] Production.INFO: Total Charge 0 [2025-03-08 23:56:04] Production.INFO: CreateAllLog End [2025-03-08 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-08 23:56:04] Production.INFO: count ==21 [2025-03-08 23:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638651') start [2025-03-08 23:56:04] Production.ERROR: done [2025-03-08 23:56:04] Production.INFO: ==25010== Releasing lock... [2025-03-08 23:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638651') end [2025-03-08 23:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:56:04] Production.INFO: 1 [2025-03-08 23:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:56:04] Production.INFO: Account Balance End. [2025-03-08 23:56:04] Production.INFO: ==25018== Releasing lock... [2025-03-08 23:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:56:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:56:04] Production.INFO: ==25014== Releasing lock... [2025-03-08 23:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:56:05 [end_date_ymd] => 2025-03-08 23:56:05 [RateCDR] => 1 ) [2025-03-08 23:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:56:05' and `end` < '2025-03-08 23:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:56:12] Production.ERROR: CronJobId end10 [2025-03-08 23:56:12] Production.INFO: ==25012== Releasing lock... [2025-03-08 23:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:56:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:56:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:56:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:56:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:56:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:56:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:56:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:56:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:56:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:56:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:56:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:56:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:56:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:56:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:56:14] Production.INFO: call_cost start [2025-03-08 23:56:14] Production.INFO: call_cost end [2025-03-08 23:56:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:56:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:56:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:56:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:56:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:56:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:56:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:56:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:56:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:56:15] Production.INFO: ==25008== Releasing lock... [2025-03-08 23:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:56:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:56:17] Production.INFO: count ==1237 [2025-03-08 23:56:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:56:05 - End Time 2025-03-08 23:56:05 [2025-03-08 23:56:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638653', 'tblTempUsageDetail_20' ) start [2025-03-08 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638653', 'tblTempUsageDetail_20' ) end [2025-03-08 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638653', 'tblTempVendorCDR_20' ) start [2025-03-08 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638653', 'tblTempVendorCDR_20' ) end [2025-03-08 23:56:18] Production.INFO: ProcessCDR(1,14638653,1,1,2) [2025-03-08 23:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638653', 'tblTempUsageDetail_20' ) start [2025-03-08 23:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638653', 'tblTempUsageDetail_20' ) end [2025-03-08 23:56:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:56:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:56:21] Production.INFO: ==25016== Releasing lock... [2025-03-08 23:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:56:21] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 04:57:01] Production.INFO: ==25079== Lock acquired, processing the job... [2025-03-09 04:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:57:01] Production.INFO: neon service started [2025-03-09 04:57:01] Production.INFO: neon service started [2025-03-09 04:57:01] Production.INFO: ==25079== Releasing lock... [2025-03-09 04:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:57:01] Production.INFO: ==25083== Lock acquired, processing the job... [2025-03-09 04:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:57:01] Production.INFO: ==25083== Releasing lock... [2025-03-09 04:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:57:01] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:57:01] Production.INFO: ==25081== Lock acquired, processing the job... [2025-03-08 23:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:57:02] Production.INFO: ==25081== Releasing lock... [2025-03-08 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-08 23:57:03] Production.INFO: ==25086== Lock acquired, processing the job... [2025-03-08 23:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:57:03] Production.INFO: ==25090== Lock acquired, processing the job... [2025-03-08 23:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:57:03] Production.INFO: ==25092== Lock acquired, processing the job... [2025-03-08 23:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:57:03] Production.INFO: Account Balance Start. [2025-03-08 23:57:03] Production.INFO: CreateAllLog Start [2025-03-08 23:57:03] Production.INFO: 117 [2025-03-08 23:57:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:57:03] Production.INFO: ==25088== Lock acquired, processing the job... [2025-03-08 23:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:57:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:57:03] Production.INFO: Total Charge 0 [2025-03-08 23:57:03] Production.INFO: CreateAllLog End [2025-03-08 23:57:03] Production.INFO: ==25094== Lock acquired, processing the job... [2025-03-08 23:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:57:03] Production.INFO: ==25096== Lock acquired, processing the job... [2025-03-08 23:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:57:03] Production.INFO: Account Balance End. [2025-03-08 23:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:57:03] Production.INFO: count ==13 [2025-03-08 23:57:03] Production.ERROR: CronJobId end 12 [2025-03-08 23:57:03] Production.INFO: ==25092== Releasing lock... [2025-03-08 23:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:57:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:57:03] Production.INFO: ==25088== Releasing lock... [2025-03-08 23:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:57:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:57:03] Production.INFO: count ==21 [2025-03-08 23:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638657') start [2025-03-08 23:57:03] Production.ERROR: done [2025-03-08 23:57:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638657') end [2025-03-08 23:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:57:04] Production.INFO: 1 [2025-03-08 23:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:57:04] Production.ERROR: done [2025-03-08 23:57:04] Production.INFO: ==25096== Releasing lock... [2025-03-08 23:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:57:05 [end_date_ymd] => 2025-03-08 23:57:05 [RateCDR] => 1 ) [2025-03-08 23:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:57:05' and `end` < '2025-03-08 23:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:57:11] Production.ERROR: CronJobId end10 [2025-03-08 23:57:11] Production.INFO: ==25090== Releasing lock... [2025-03-08 23:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:57:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:57:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:57:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:57:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:57:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:57:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:57:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:57:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:57:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:57:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:57:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:57:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:57:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:57:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:57:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:57:14] Production.INFO: call_cost start [2025-03-08 23:57:14] Production.INFO: call_cost end [2025-03-08 23:57:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:57:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:57:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:57:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:57:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:57:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:57:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:57:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:57:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:57:15] Production.INFO: ==25086== Releasing lock... [2025-03-08 23:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:57:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:57:17] Production.INFO: count ==1237 [2025-03-08 23:57:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:57:05 - End Time 2025-03-08 23:57:05 [2025-03-08 23:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638658', 'tblTempUsageDetail_20' ) start [2025-03-08 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638658', 'tblTempUsageDetail_20' ) end [2025-03-08 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638658', 'tblTempVendorCDR_20' ) start [2025-03-08 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638658', 'tblTempVendorCDR_20' ) end [2025-03-08 23:57:17] Production.INFO: ProcessCDR(1,14638658,1,1,2) [2025-03-08 23:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638658', 'tblTempUsageDetail_20' ) start [2025-03-08 23:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638658', 'tblTempUsageDetail_20' ) end [2025-03-08 23:57:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:57:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:57:22] Production.INFO: ==25094== Releasing lock... [2025-03-08 23:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:57:22] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 04:58:01] Production.INFO: ==25157== Lock acquired, processing the job... [2025-03-09 04:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:58:01] Production.INFO: neon service started [2025-03-09 04:58:01] Production.INFO: neon service started [2025-03-09 04:58:01] Production.INFO: ==25157== Releasing lock... [2025-03-09 04:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:58:02] Production.INFO: ==25159== Lock acquired, processing the job... [2025-03-08 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:58:02] Production.INFO: ==25161== Lock acquired, processing the job... [2025-03-09 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-08 23:58:02] Production.INFO: ==25159== Releasing lock... [2025-03-08 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:58:02] Production.INFO: ==25161== Releasing lock... [2025-03-09 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:58:03] Production.INFO: ==25169== Lock acquired, processing the job... [2025-03-08 23:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:58:03] Production.INFO: ==25163== Lock acquired, processing the job... [2025-03-08 23:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:58:03] Production.INFO: ==25173== Lock acquired, processing the job... [2025-03-08 23:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:58:03] Production.INFO: Account Balance Start. [2025-03-08 23:58:03] Production.INFO: CreateAllLog Start [2025-03-08 23:58:03] Production.INFO: 117 [2025-03-08 23:58:03] Production.INFO: Date 2025-03-08 [2025-03-08 23:58:03] Production.INFO: Reseller ==> 0 [2025-03-08 23:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:58:03] Production.INFO: ==25165== Lock acquired, processing the job... [2025-03-08 23:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:58:03] Production.INFO: Total Charge 0 [2025-03-08 23:58:03] Production.INFO: ==25167== Lock acquired, processing the job... [2025-03-08 23:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:58:03] Production.INFO: CreateAllLog End [2025-03-08 23:58:03] Production.INFO: ==25171== Lock acquired, processing the job... [2025-03-08 23:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 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-08 23:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:58:03] Production.INFO: count ==13 [2025-03-08 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-08 23:58:03] Production.INFO: count ==21 [2025-03-08 23:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638661') start [2025-03-08 23:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638661') end [2025-03-08 23:58:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:58:03] Production.INFO: 1 [2025-03-08 23:58:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:58:03] Production.INFO: Account Balance End. [2025-03-08 23:58:04] Production.INFO: ==25165== Releasing lock... [2025-03-08 23:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:58:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:58:04] Production.INFO: ==25169== Releasing lock... [2025-03-08 23:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:58:04] Production.INFO: ==25173== Releasing lock... [2025-03-08 23:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:58:04] Production.ERROR: done [2025-03-08 23:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:58:04] Production.ERROR: done [2025-03-08 23:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:58:05 [end_date_ymd] => 2025-03-08 23:58:05 [RateCDR] => 1 ) [2025-03-08 23:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:58:05' and `end` < '2025-03-08 23:58:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:58:11] Production.ERROR: CronJobId end10 [2025-03-08 23:58:11] Production.INFO: ==25167== Releasing lock... [2025-03-08 23:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:58:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:58:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:58:13] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:58:13] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:58:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:58:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:58:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:58:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:58:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:58:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:58:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:58:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:58:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:58:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:58:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:58:14] Production.INFO: call_cost start [2025-03-08 23:58:14] Production.INFO: call_cost end [2025-03-08 23:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:58:15] Production.INFO: ==25163== Releasing lock... [2025-03-08 23:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:58:17] Production.INFO: count ==1236 [2025-03-08 23:58:17] Production.ERROR: pbx CDR StartTime 2025-03-08 20:58:05 - End Time 2025-03-08 23:58:05 [2025-03-08 23:58:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638663', 'tblTempUsageDetail_20' ) start [2025-03-08 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638663', 'tblTempUsageDetail_20' ) end [2025-03-08 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638663', 'tblTempVendorCDR_20' ) start [2025-03-08 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638663', 'tblTempVendorCDR_20' ) end [2025-03-08 23:58:18] Production.INFO: ProcessCDR(1,14638663,1,1,2) [2025-03-08 23:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638663', 'tblTempUsageDetail_20' ) start [2025-03-08 23:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638663', 'tblTempUsageDetail_20' ) end [2025-03-08 23:58:22] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:58:22] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:58:22] Production.INFO: ==25171== Releasing lock... [2025-03-08 23:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:58:22] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 04:59:02] Production.INFO: ==25231== Lock acquired, processing the job... [2025-03-09 04:59:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 04:59:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 04:59:02] Production.INFO: neon service started [2025-03-09 04:59:02] Production.INFO: neon service started [2025-03-09 04:59:02] Production.INFO: ==25231== Releasing lock... [2025-03-09 04:59:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 04:59:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-08 23:59:02] Production.INFO: ==25233== Lock acquired, processing the job... [2025-03-08 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-08 23:59:02] Production.INFO: ==25233== Releasing lock... [2025-03-08 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-08 23:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:59:02] Production.INFO: ==25235== Lock acquired, processing the job... [2025-03-09 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:59:02] Production.INFO: ==25235== Releasing lock... [2025-03-09 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 04:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-08 23:59:03] Production.INFO: ==25237== Lock acquired, processing the job... [2025-03-08 23:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-08 23:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-08 23:59:03] Production.INFO: ==25239== Lock acquired, processing the job... [2025-03-08 23:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-08 23:59:03] Production.INFO: ==25241== Lock acquired, processing the job... [2025-03-08 23:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-08 23:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250308Live done [2025-03-08 23:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308Live done [2025-03-08 23:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250308Live) [2025-03-08 23:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-08','2025-03-08','120250308Live') [2025-03-08 23:59:03] Production.INFO: ==25239== Releasing lock... [2025-03-08 23:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-08 23:59:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-08 23:59:04] Production.INFO: ==25247== Lock acquired, processing the job... [2025-03-08 23:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-08 23:59:04] Production.INFO: ==25245== Lock acquired, processing the job... [2025-03-08 23:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-08 23:59:04] Production.INFO: ==25243== Lock acquired, processing the job... [2025-03-08 23:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-08 23:59:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-08 23:59:04] Production.INFO: Account Balance Start. [2025-03-08 23:59:04] Production.INFO: CreateAllLog Start [2025-03-08 23:59:04] Production.INFO: 117 [2025-03-08 23:59:04] Production.INFO: Date 2025-03-08 [2025-03-08 23:59:04] Production.INFO: Reseller ==> 0 [2025-03-08 23:59:04] Production.INFO: Total Charge 0 [2025-03-08 23:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:59:04] Production.INFO: CreateAllLog End [2025-03-08 23:59:04] Production.INFO: count ==13 [2025-03-08 23:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-08 23:59:04] Production.INFO: count ==21 [2025-03-08 23:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638667') start [2025-03-08 23:59:04] Production.ERROR: done [2025-03-08 23:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-08 23:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638667') end [2025-03-08 23:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-08 23:59:04] Production.INFO: 1 [2025-03-08 23:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-08 23:59:04] Production.ERROR: done [2025-03-08 23:59:04] Production.INFO: ==25247== Releasing lock... [2025-03-08 23:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-08 23:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-08 23:59:04] Production.INFO: Account Balance End. [2025-03-08 23:59:04] Production.ERROR: CronJobId end 12 [2025-03-08 23:59:04] Production.INFO: ==25243== Releasing lock... [2025-03-08 23:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-08 23:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-08 23:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 20:59:05 [end_date_ymd] => 2025-03-08 23:59:05 [RateCDR] => 1 ) [2025-03-08 23:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 20:59:05' and `end` < '2025-03-08 23:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-08 23:59: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-08 23:59:12] Production.ERROR: CronJobId end10 [2025-03-08 23:59:12] Production.INFO: ==25241== Releasing lock... [2025-03-08 23:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-08 23:59:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-08 23:59:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-08 23:59:14] Production.INFO: ============== Balance Warning START=========== [2025-03-08 23:59:14] Production.INFO: ============== Balance Warning END=========== [2025-03-08 23:59:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-08 23:59:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-08 23:59:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-08 23:59:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-08 23:59:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-08 23:59:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-08 23:59:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-08 23:59:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-08 23:59:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-08 23:59:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-08 23:59:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-08 23:59:15] Production.INFO: call_cost start [2025-03-08 23:59:15] Production.INFO: call_cost end [2025-03-08 23:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-08 23:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-08 23:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-08 23:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-08 23:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-08 23:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-08 23:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-08 23:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-08 23:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-08 23:59:15] Production.INFO: ==25237== Releasing lock... [2025-03-08 23:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-08 23:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-08 23:59:17] Production.INFO: count ==1235 [2025-03-08 23:59:18] Production.ERROR: pbx CDR StartTime 2025-03-08 20:59:05 - End Time 2025-03-08 23:59:05 [2025-03-08 23:59:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-08 23:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638668', 'tblTempUsageDetail_20' ) start [2025-03-08 23:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638668', 'tblTempUsageDetail_20' ) end [2025-03-08 23:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638668', 'tblTempVendorCDR_20' ) start [2025-03-08 23:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638668', 'tblTempVendorCDR_20' ) end [2025-03-08 23:59:18] Production.INFO: ProcessCDR(1,14638668,1,1,2) [2025-03-08 23:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-08 23:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-08 23:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638668', 'tblTempUsageDetail_20' ) start [2025-03-08 23:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638668', 'tblTempUsageDetail_20' ) end [2025-03-08 23:59:21] Production.ERROR: pbx prc_insertCDR start [2025-03-08 23:59:21] Production.ERROR: pbx prc_insertCDR end [2025-03-08 23:59:21] Production.INFO: ==25245== Releasing lock... [2025-03-08 23:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-08 23:59:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 05:00:01] Production.INFO: ==25308== Lock acquired, processing the job... [2025-03-09 05:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:00:01] Production.INFO: neon service started [2025-03-09 05:00:01] Production.INFO: neon service started [2025-03-09 05:00:01] Production.INFO: ==25308== Releasing lock... [2025-03-09 05:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:00:02] Production.INFO: ==25310== Lock acquired, processing the job... [2025-03-09 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:00:02] Production.INFO: ==25312== Lock acquired, processing the job... [2025-03-09 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:00:02] Production.INFO: ==25312== Releasing lock... [2025-03-09 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:00:02] Production.INFO: ==25310== Releasing lock... [2025-03-09 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:00:03] Production.INFO: ==25315== Lock acquired, processing the job... [2025-03-09 00:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 00:00:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 00:00:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 00:00:03] Production.INFO: ==25315== Releasing lock... [2025-03-09 00:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 00:00:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 00:00:03] Production.INFO: ==25317== Lock acquired, processing the job... [2025-03-09 00:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:00:03] Production.INFO: ==25319== Lock acquired, processing the job... [2025-03-09 00:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:00:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:00:03] Production.INFO: ==25323== Lock acquired, processing the job... [2025-03-09 00:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:00:03] Production.INFO: ==25321== Lock acquired, processing the job... [2025-03-09 00:00:03] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Starts# [2025-03-09 00:00:03] Production.INFO: ==25325== Lock acquired, processing the job... [2025-03-09 00:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:00:03] Production.INFO: ==25327== Lock acquired, processing the job... [2025-03-09 00:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:00:03] Production.INFO: ==25331== Lock acquired, processing the job... [2025-03-09 00:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:00:03] Production.INFO: ==25329== Lock acquired, processing the job... [2025-03-09 00:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 00:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:00:04] Production.INFO: Account Balance Start. [2025-03-09 00:00:04] Production.INFO: CreateAllLog Start [2025-03-09 00:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:00:04] Production.INFO: 117 [2025-03-09 00:00:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:00:04] Production.INFO: count ==13 [2025-03-09 00:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:00:04] Production.INFO: count ==21 [2025-03-09 00:00:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638672') start [2025-03-09 00:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:00:04] Production.INFO: ==25319== Releasing lock... [2025-03-09 00:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:00:04] Production.INFO: Total Charge 0 [2025-03-09 00:00:04] Production.INFO: CreateAllLog End [2025-03-09 00:00:04] Production.ERROR: done [2025-03-09 00:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638672') end [2025-03-09 00:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:00:04] Production.INFO: 1 [2025-03-09 00:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:00:04] Production.ERROR: done [2025-03-09 00:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:00:04] Production.INFO: Account Balance End. [2025-03-09 00:00:04] Production.INFO: ==25331== Releasing lock... [2025-03-09 00:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:00:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 00:00:04] Production.INFO: ==25325== Releasing lock... [2025-03-09 00:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638673', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 00:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:00:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:00:04] Production.ERROR: done [2025-03-09 00:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:00:06 [end_date_ymd] => 2025-03-09 00:00:06 [RateCDR] => 1 ) [2025-03-09 00:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:00:06' and `end` < '2025-03-09 00:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638673', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 00:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 00:00:09] Production.INFO: ProcessCDR(1,14638673,1,1,2) [2025-03-09 00:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14638673,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14638673,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:00:09] Production.INFO: ==25329== Releasing lock... [2025-03-09 00:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 00:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 00:00:12] Production.ERROR: tmp_tblUsageDetailsReport_120250305 done [2025-03-09 00:00:12] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250305 done [2025-03-09 00:00:12] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250305 [2025-03-09 00:00:14] Production.INFO: call prc_generateSummary(1,'2025-03-05','2025-03-05','120250305') [2025-03-09 00:00:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:00:18] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:00:18] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:00:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:00:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:00:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:00:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:00:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:00:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:00:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:00:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:00:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:00:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:00:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:00:19] Production.INFO: call_cost start [2025-03-09 00:00:19] Production.INFO: call_cost end [2025-03-09 00:00:19] Production.INFO: count ==1234 [2025-03-09 00:00:19] Production.ERROR: CronJobId end10 [2025-03-09 00:00:19] Production.INFO: ==25323== Releasing lock... [2025-03-09 00:00:19] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:00:19] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:00:19] Production.INFO: call prc_generateVendorSummary(1,'2025-03-05','2025-03-05','120250305') [2025-03-09 00:00:20] Production.ERROR: pbx CDR StartTime 2025-03-08 21:00:06 - End Time 2025-03-09 00:00:06 [2025-03-09 00:00:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638674', 'tblTempUsageDetail_20' ) start [2025-03-09 00:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638674', 'tblTempUsageDetail_20' ) end [2025-03-09 00:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638674', 'tblTempVendorCDR_20' ) start [2025-03-09 00:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638674', 'tblTempVendorCDR_20' ) end [2025-03-09 00:00:20] Production.INFO: ProcessCDR(1,14638674,1,1,2) [2025-03-09 00:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:00:21] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:00:21] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:00:21] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:00:21] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:00:21] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:00:21] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:00:21] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:00:21] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:00:21] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:00:21] Production.INFO: ==25317== Releasing lock... [2025-03-09 00:00:21] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:00:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:00:23] Production.ERROR: tmp_tblUsageDetailsReport_120250306 done [2025-03-09 00:00:24] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250306 done [2025-03-09 00:00:24] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250306 [2025-03-09 00:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638674', 'tblTempUsageDetail_20' ) start [2025-03-09 00:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638674', 'tblTempUsageDetail_20' ) end [2025-03-09 00:00:24] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:00:24] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:00:24] Production.INFO: call prc_generateSummary(1,'2025-03-06','2025-03-06','120250306') [2025-03-09 00:00:25] Production.INFO: ==25327== Releasing lock... [2025-03-09 00:00:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:00:25] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 00:00:27] Production.INFO: call prc_generateVendorSummary(1,'2025-03-06','2025-03-06','120250306') [2025-03-09 00:00:30] Production.ERROR: tmp_tblUsageDetailsReport_120250307 done [2025-03-09 00:00:30] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250307 done [2025-03-09 00:00:30] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250307 [2025-03-09 00:00:31] Production.INFO: call prc_generateSummary(1,'2025-03-07','2025-03-07','120250307') [2025-03-09 00:00:34] Production.INFO: call prc_generateVendorSummary(1,'2025-03-07','2025-03-07','120250307') [2025-03-09 00:00:37] Production.ERROR: tmp_tblUsageDetailsReport_120250308 done [2025-03-09 00:00:37] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308 done [2025-03-09 00:00:37] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250308 [2025-03-09 00:00:38] Production.INFO: call prc_generateSummary(1,'2025-03-08','2025-03-08','120250308') [2025-03-09 00:00:41] Production.INFO: call prc_generateVendorSummary(1,'2025-03-08','2025-03-08','120250308') [2025-03-09 00:00:44] Production.ERROR: CronJobId end9 [2025-03-09 00:00:44] Production.INFO: ==25321== Releasing lock... [2025-03-09 00:00:44] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Stops# [2025-03-09 00:00:44] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:01:02] Production.INFO: ==25388== Lock acquired, processing the job... [2025-03-09 05:01:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:01:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:01:02] Production.INFO: neon service started [2025-03-09 05:01:02] Production.INFO: neon service started [2025-03-09 05:01:02] Production.INFO: ==25388== Releasing lock... [2025-03-09 05:01:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:01:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:01:02] Production.INFO: ==25402== Lock acquired, processing the job... [2025-03-09 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:01:03] Production.INFO: ==25404== Lock acquired, processing the job... [2025-03-09 05:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:01:03] Production.INFO: ==25404== Releasing lock... [2025-03-09 05:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:01:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:01:03] Production.INFO: ==25402== Releasing lock... [2025-03-09 00:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:01:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:01:03] Production.INFO: ==25409== Lock acquired, processing the job... [2025-03-09 00:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:01:04] Production.INFO: ==25407== Lock acquired, processing the job... [2025-03-09 00:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:01:04] Production.INFO: ==25415== Lock acquired, processing the job... [2025-03-09 00:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:01:04] Production.INFO: ==25411== Lock acquired, processing the job... [2025-03-09 00:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:01:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:01:04] Production.INFO: ==25413== Lock acquired, processing the job... [2025-03-09 00:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:01:04] Production.INFO: ==25417== Lock acquired, processing the job... [2025-03-09 00:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:01:04] Production.INFO: Account Balance Start. [2025-03-09 00:01:04] Production.INFO: CreateAllLog Start [2025-03-09 00:01:04] Production.INFO: 117 [2025-03-09 00:01:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:01:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:01:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:01:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:01:04] Production.INFO: Total Charge 0 [2025-03-09 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-09 00:01:04] Production.INFO: CreateAllLog End [2025-03-09 00:01:04] Production.INFO: ==25409== Releasing lock... [2025-03-09 00:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:01:04] Production.INFO: count ==13 [2025-03-09 00:01:04] Production.ERROR: done [2025-03-09 00:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 00:01:04] Production.INFO: count ==21 [2025-03-09 00:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638678') start [2025-03-09 00:01:04] Production.ERROR: done [2025-03-09 00:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638678') end [2025-03-09 00:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:01:04] Production.INFO: 1 [2025-03-09 00:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:01:04] Production.INFO: Account Balance End. [2025-03-09 00:01:04] Production.INFO: ==25417== Releasing lock... [2025-03-09 00:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:01:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:01:04] Production.INFO: ==25413== Releasing lock... [2025-03-09 00:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:01:05 [end_date_ymd] => 2025-03-09 00:01:05 [RateCDR] => 1 ) [2025-03-09 00:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:01:05' and `end` < '2025-03-09 00:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:01:11] Production.ERROR: CronJobId end10 [2025-03-09 00:01:11] Production.INFO: ==25411== Releasing lock... [2025-03-09 00:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:01:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:01:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:01:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:01:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:01:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:01:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:01:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:01:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:01:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:01:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:01:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:01:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:01:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:01:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:01:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:01:15] Production.INFO: call_cost start [2025-03-09 00:01:15] Production.INFO: call_cost end [2025-03-09 00:01:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:01:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:01:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:01:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:01:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:01:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:01:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:01:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:01:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:01:15] Production.INFO: ==25407== Releasing lock... [2025-03-09 00:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:01:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:01:20] Production.INFO: count ==1234 [2025-03-09 00:01:20] Production.ERROR: pbx CDR StartTime 2025-03-08 21:01:05 - End Time 2025-03-09 00:01:05 [2025-03-09 00:01:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638679', 'tblTempUsageDetail_20' ) start [2025-03-09 00:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638679', 'tblTempUsageDetail_20' ) end [2025-03-09 00:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638679', 'tblTempVendorCDR_20' ) start [2025-03-09 00:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638679', 'tblTempVendorCDR_20' ) end [2025-03-09 00:01:20] Production.INFO: ProcessCDR(1,14638679,1,1,2) [2025-03-09 00:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:01:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:01:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:01:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638679', 'tblTempUsageDetail_20' ) start [2025-03-09 00:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638679', 'tblTempUsageDetail_20' ) end [2025-03-09 00:01:25] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:01:25] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:01:25] Production.INFO: ==25415== Releasing lock... [2025-03-09 00:01:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:01:25] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 05:02:01] Production.INFO: ==25479== Lock acquired, processing the job... [2025-03-09 05:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:02:01] Production.INFO: neon service started [2025-03-09 05:02:01] Production.INFO: neon service started [2025-03-09 05:02:01] Production.INFO: ==25479== Releasing lock... [2025-03-09 05:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:02:02] Production.INFO: ==25481== Lock acquired, processing the job... [2025-03-09 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:02:02] Production.INFO: ==25481== Releasing lock... [2025-03-09 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:02:02] Production.INFO: ==25483== Lock acquired, processing the job... [2025-03-09 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:02:02] Production.INFO: ==25483== Releasing lock... [2025-03-09 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:02:03] Production.INFO: ==25488== Lock acquired, processing the job... [2025-03-09 00:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:02:03] Production.INFO: ==25486== Lock acquired, processing the job... [2025-03-09 00:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:02:03] Production.INFO: ==25490== Lock acquired, processing the job... [2025-03-09 00:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:02:03] Production.INFO: ==25492== Lock acquired, processing the job... [2025-03-09 00:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:02:03] Production.INFO: ==25494== Lock acquired, processing the job... [2025-03-09 00:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:02:03] Production.INFO: ==25496== Lock acquired, processing the job... [2025-03-09 00:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:02:03] Production.INFO: Account Balance Start. [2025-03-09 00:02:03] Production.INFO: CreateAllLog Start [2025-03-09 00:02:03] Production.INFO: 117 [2025-03-09 00:02:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:02:03] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 00:02:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:02:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:02:03] Production.INFO: count ==13 [2025-03-09 00:02:03] Production.INFO: Total Charge 0 [2025-03-09 00:02:03] Production.INFO: CreateAllLog End [2025-03-09 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-09 00:02:03] Production.INFO: count ==21 [2025-03-09 00:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638683') start [2025-03-09 00:02:04] Production.INFO: ==25488== Releasing lock... [2025-03-09 00:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:02:04] Production.ERROR: done [2025-03-09 00:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638683') end [2025-03-09 00:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:02:04] Production.INFO: 1 [2025-03-09 00:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:02:04] Production.INFO: ==25496== Releasing lock... [2025-03-09 00:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:02:04] Production.ERROR: done [2025-03-09 00:02:04] Production.INFO: Account Balance End. [2025-03-09 00:02:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:02:04] Production.INFO: ==25492== Releasing lock... [2025-03-09 00:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:02:05 [end_date_ymd] => 2025-03-09 00:02:05 [RateCDR] => 1 ) [2025-03-09 00:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:02:05' and `end` < '2025-03-09 00:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:02:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array) #2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure)) #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure)) #4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select() #5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount() #6 [internal function]: App\Console\Commands\CreateSummaryLive->handle() #7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 {main} Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateUnbilledAmount(1,2025-03-09 23:59:59))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure)) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure)) #2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select() #3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount() #4 [internal function]: App\Console\Commands\CreateSummaryLive->handle() #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #14 {main} [2025-03-09 00:02:11] Production.ERROR: CronJobId end10 [2025-03-09 00:02:11] Production.INFO: ==25490== Releasing lock... [2025-03-09 00:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:02:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:02:14] Production.INFO: call_cost start [2025-03-09 00:02:14] Production.INFO: call_cost end [2025-03-09 00:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:02:15] Production.INFO: ==25486== Releasing lock... [2025-03-09 00:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:02:19] Production.INFO: count ==743 [2025-03-09 00:02:19] Production.ERROR: pbx CDR StartTime 2025-03-08 21:02:05 - End Time 2025-03-09 00:02:05 [2025-03-09 00:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638684', 'tblTempUsageDetail_20' ) start [2025-03-09 00:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638684', 'tblTempUsageDetail_20' ) end [2025-03-09 00:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638684', 'tblTempVendorCDR_20' ) start [2025-03-09 00:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638684', 'tblTempVendorCDR_20' ) end [2025-03-09 00:02:19] Production.INFO: ProcessCDR(1,14638684,1,1,2) [2025-03-09 00:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638684', 'tblTempUsageDetail_20' ) start [2025-03-09 00:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638684', 'tblTempUsageDetail_20' ) end [2025-03-09 00:02:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:02:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:02:22] Production.INFO: ==25494== Releasing lock... [2025-03-09 00:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:02:22] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 05:03:02] Production.INFO: ==25555== Lock acquired, processing the job... [2025-03-09 05:03:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:03:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:03:02] Production.INFO: neon service started [2025-03-09 05:03:02] Production.INFO: neon service started [2025-03-09 05:03:02] Production.INFO: ==25555== Releasing lock... [2025-03-09 05:03:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:03:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 00:03:02] Production.INFO: ==25557== Lock acquired, processing the job... [2025-03-09 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:03:02] Production.INFO: ==25557== Releasing lock... [2025-03-09 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:03:03] Production.INFO: ==25559== Lock acquired, processing the job... [2025-03-09 05:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:03:03] Production.INFO: ==25559== Releasing lock... [2025-03-09 05:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:03:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:03:03] Production.INFO: ==25566== Lock acquired, processing the job... [2025-03-09 00:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:03:03] Production.INFO: ==25564== Lock acquired, processing the job... [2025-03-09 00:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:03:03] Production.INFO: ==25572== Lock acquired, processing the job... [2025-03-09 00:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:03:03] Production.INFO: ==25562== Lock acquired, processing the job... [2025-03-09 00:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:03:04] Production.INFO: ==25570== Lock acquired, processing the job... [2025-03-09 00:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:03:04] Production.INFO: ==25568== Lock acquired, processing the job... [2025-03-09 00:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 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-09 00:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:03:04] Production.INFO: count ==13 [2025-03-09 00:03:04] Production.INFO: Account Balance Start. [2025-03-09 00:03:04] Production.INFO: CreateAllLog Start [2025-03-09 00:03:04] Production.INFO: 117 [2025-03-09 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-09 00:03:04] Production.INFO: count ==21 [2025-03-09 00:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638685') start [2025-03-09 00:03:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:03:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:03:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:03:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638685') end [2025-03-09 00:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:03:04] Production.INFO: 1 [2025-03-09 00:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:03:04] Production.INFO: Total Charge 0 [2025-03-09 00:03:04] Production.INFO: CreateAllLog End [2025-03-09 00:03:04] Production.INFO: ==25572== Releasing lock... [2025-03-09 00:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:03:04] Production.ERROR: done [2025-03-09 00:03:04] Production.INFO: ==25564== Releasing lock... [2025-03-09 00:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:03:04] Production.INFO: Account Balance End. [2025-03-09 00:03:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:03:04] Production.INFO: ==25568== Releasing lock... [2025-03-09 00:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:03:04] Production.ERROR: done [2025-03-09 00:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:03:05 [end_date_ymd] => 2025-03-09 00:03:05 [RateCDR] => 1 ) [2025-03-09 00:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:03:05' and `end` < '2025-03-09 00:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:03:11] Production.ERROR: CronJobId end10 [2025-03-09 00:03:11] Production.INFO: ==25566== Releasing lock... [2025-03-09 00:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:03:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:03:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:03:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:03:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:03:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:03:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:03:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:03:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:03:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:03:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:03:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:03:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:03:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:03:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:03:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:03:14] Production.INFO: call_cost start [2025-03-09 00:03:14] Production.INFO: call_cost end [2025-03-09 00:03:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:03:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:03:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:03:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:03:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:03:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:03:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:03:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:03:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:03:15] Production.INFO: ==25562== Releasing lock... [2025-03-09 00:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:03:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:03:19] Production.INFO: count ==741 [2025-03-09 00:03:19] Production.ERROR: pbx CDR StartTime 2025-03-08 21:03:05 - End Time 2025-03-09 00:03:05 [2025-03-09 00:03:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638689', 'tblTempUsageDetail_20' ) start [2025-03-09 00:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638689', 'tblTempUsageDetail_20' ) end [2025-03-09 00:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638689', 'tblTempVendorCDR_20' ) start [2025-03-09 00:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638689', 'tblTempVendorCDR_20' ) end [2025-03-09 00:03:19] Production.INFO: ProcessCDR(1,14638689,1,1,2) [2025-03-09 00:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638689', 'tblTempUsageDetail_20' ) start [2025-03-09 00:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638689', 'tblTempUsageDetail_20' ) end [2025-03-09 00:03:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:03:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:03:23] Production.INFO: ==25570== Releasing lock... [2025-03-09 00:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:03:23] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 05:04:01] Production.INFO: ==25632== Lock acquired, processing the job... [2025-03-09 05:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:04:01] Production.INFO: neon service started [2025-03-09 05:04:01] Production.INFO: neon service started [2025-03-09 05:04:01] Production.INFO: ==25632== Releasing lock... [2025-03-09 05:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:04:02] Production.INFO: ==25634== Lock acquired, processing the job... [2025-03-09 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:04:02] Production.INFO: ==25636== Lock acquired, processing the job... [2025-03-09 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:04:02] Production.INFO: ==25636== Releasing lock... [2025-03-09 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:04:02] Production.INFO: ==25634== Releasing lock... [2025-03-09 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:04:03] Production.INFO: ==25643== Lock acquired, processing the job... [2025-03-09 00:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:04:03] Production.INFO: ==25639== Lock acquired, processing the job... [2025-03-09 00:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:04:04] Production.INFO: ==25649== Lock acquired, processing the job... [2025-03-09 00:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:04:04] Production.INFO: ==25641== Lock acquired, processing the job... [2025-03-09 00:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:04:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:04:04] Production.INFO: ==25645== Lock acquired, processing the job... [2025-03-09 00:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:04:04] Production.INFO: ==25647== Lock acquired, processing the job... [2025-03-09 00:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:04:04] Production.INFO: count ==13 [2025-03-09 00:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:04:04] Production.INFO: Account Balance Start. [2025-03-09 00:04:04] Production.INFO: CreateAllLog Start [2025-03-09 00:04:04] Production.INFO: 117 [2025-03-09 00:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:04:04] Production.INFO: count ==21 [2025-03-09 00:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638690') start [2025-03-09 00:04:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:04:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638690') end [2025-03-09 00:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:04:04] Production.INFO: 1 [2025-03-09 00:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:04:04] Production.INFO: Total Charge 0 [2025-03-09 00:04:04] Production.INFO: CreateAllLog End [2025-03-09 00:04:04] Production.INFO: ==25649== Releasing lock... [2025-03-09 00:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:04:04] Production.INFO: ==25641== Releasing lock... [2025-03-09 00:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:04:04] Production.ERROR: done [2025-03-09 00:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:04:04] Production.INFO: Account Balance End. [2025-03-09 00:04:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:04:04] Production.INFO: ==25645== Releasing lock... [2025-03-09 00:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:04:04] Production.ERROR: done [2025-03-09 00:04:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:04:06 [end_date_ymd] => 2025-03-09 00:04:06 [RateCDR] => 1 ) [2025-03-09 00: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-08 21:04:06' and `end` < '2025-03-09 00: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-09 00:04: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-09 00:04:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:04:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:04:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:04:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:04:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:04:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:04:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:04:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:04:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:04:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:04:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:04:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:04:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:04:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:04:12] Production.ERROR: CronJobId end10 [2025-03-09 00:04:12] Production.INFO: ==25643== Releasing lock... [2025-03-09 00:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:04:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:04:13] Production.INFO: call_cost start [2025-03-09 00:04:13] Production.INFO: call_cost end [2025-03-09 00:04:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:04:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:04:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:04:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:04:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:04:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:04:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:04:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:04:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:04:14] Production.INFO: ==25639== Releasing lock... [2025-03-09 00:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:04:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:04:18] Production.INFO: count ==738 [2025-03-09 00:04:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:04:06 - End Time 2025-03-09 00:04:06 [2025-03-09 00:04:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638694', 'tblTempUsageDetail_20' ) start [2025-03-09 00:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638694', 'tblTempUsageDetail_20' ) end [2025-03-09 00:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638694', 'tblTempVendorCDR_20' ) start [2025-03-09 00:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638694', 'tblTempVendorCDR_20' ) end [2025-03-09 00:04:18] Production.INFO: ProcessCDR(1,14638694,1,1,2) [2025-03-09 00:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638694', 'tblTempUsageDetail_20' ) start [2025-03-09 00:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638694', 'tblTempUsageDetail_20' ) end [2025-03-09 00:04:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:04:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:04:22] Production.INFO: ==25647== Releasing lock... [2025-03-09 00:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:04:22] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 05:05:02] Production.INFO: ==25704== Lock acquired, processing the job... [2025-03-09 05:05:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:05:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:05:02] Production.INFO: neon service started [2025-03-09 05:05:02] Production.INFO: neon service started [2025-03-09 05:05:02] Production.INFO: ==25704== Releasing lock... [2025-03-09 05:05:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:05:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:05:02] Production.INFO: ==25706== Lock acquired, processing the job... [2025-03-09 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:05:02] Production.INFO: ==25708== Lock acquired, processing the job... [2025-03-09 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:05:02] Production.INFO: ==25708== Releasing lock... [2025-03-09 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:05:03] Production.INFO: ==25706== Releasing lock... [2025-03-09 00:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:05:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:05:03] Production.INFO: ==25717== Lock acquired, processing the job... [2025-03-09 00:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:05:04] Production.INFO: ==25711== Lock acquired, processing the job... [2025-03-09 00:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:05:04] Production.INFO: Account Balance Start. [2025-03-09 00:05:04] Production.INFO: CreateAllLog Start [2025-03-09 00:05:04] Production.INFO: 117 [2025-03-09 00:05:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:05:04] Production.INFO: ==25721== Lock acquired, processing the job... [2025-03-09 00:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:05:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:05:04] Production.INFO: ==25713== Lock acquired, processing the job... [2025-03-09 00:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:05:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:05:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:05:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:05:04] Production.INFO: ==25715== Lock acquired, processing the job... [2025-03-09 00:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:05:04] Production.INFO: Total Charge 0 [2025-03-09 00:05:04] Production.INFO: CreateAllLog End [2025-03-09 00:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:05:04] Production.INFO: ==25719== Lock acquired, processing the job... [2025-03-09 00:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:05:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:05:04] Production.INFO: Account Balance End. [2025-03-09 00:05:04] Production.INFO: count ==13 [2025-03-09 00:05:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:05:04] Production.INFO: ==25717== Releasing lock... [2025-03-09 00:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:05:04] Production.INFO: count ==21 [2025-03-09 00:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638697') start [2025-03-09 00:05:04] Production.INFO: ==25713== Releasing lock... [2025-03-09 00:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:05:04] Production.ERROR: done [2025-03-09 00:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638697') end [2025-03-09 00:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:05:04] Production.INFO: 1 [2025-03-09 00:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:05:04] Production.INFO: ==25721== Releasing lock... [2025-03-09 00:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:05:04] Production.ERROR: done [2025-03-09 00:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:05:05 [end_date_ymd] => 2025-03-09 00:05:05 [RateCDR] => 1 ) [2025-03-09 00:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:05:05' and `end` < '2025-03-09 00:05:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:05:11] Production.ERROR: CronJobId end10 [2025-03-09 00:05:11] Production.INFO: ==25715== Releasing lock... [2025-03-09 00:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:05:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:05:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:05:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:05:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:05:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:05:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:05:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:05:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:05:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:05:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:05:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:05:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:05:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:05:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:05:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:05:13] Production.INFO: call_cost start [2025-03-09 00:05:13] Production.INFO: call_cost end [2025-03-09 00:05:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:05:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:05:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:05:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:05:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:05:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:05:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:05:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:05:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:05:14] Production.INFO: ==25711== Releasing lock... [2025-03-09 00:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:05:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:05:18] Production.INFO: count ==737 [2025-03-09 00:05:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:05:05 - End Time 2025-03-09 00:05:05 [2025-03-09 00:05:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638699', 'tblTempUsageDetail_20' ) start [2025-03-09 00:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638699', 'tblTempUsageDetail_20' ) end [2025-03-09 00:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638699', 'tblTempVendorCDR_20' ) start [2025-03-09 00:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638699', 'tblTempVendorCDR_20' ) end [2025-03-09 00:05:18] Production.INFO: ProcessCDR(1,14638699,1,1,2) [2025-03-09 00:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638699', 'tblTempUsageDetail_20' ) start [2025-03-09 00:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638699', 'tblTempUsageDetail_20' ) end [2025-03-09 00:05:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:05:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:05:21] Production.INFO: ==25719== Releasing lock... [2025-03-09 00:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:05:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 05:06:01] Production.INFO: ==25774== Lock acquired, processing the job... [2025-03-09 05:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:06:01] Production.INFO: neon service started [2025-03-09 05:06:01] Production.INFO: neon service started [2025-03-09 05:06:01] Production.INFO: ==25774== Releasing lock... [2025-03-09 05:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:06:02] Production.INFO: ==25778== Lock acquired, processing the job... [2025-03-09 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:06:02] Production.INFO: ==25778== Releasing lock... [2025-03-09 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:06:02] Production.INFO: ==25776== Lock acquired, processing the job... [2025-03-09 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:06:02] Production.INFO: ==25776== Releasing lock... [2025-03-09 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:06:03] Production.INFO: ==25785== Lock acquired, processing the job... [2025-03-09 00:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:06:03] Production.INFO: ==25789== Lock acquired, processing the job... [2025-03-09 00:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:06:03] Production.INFO: ==25783== Lock acquired, processing the job... [2025-03-09 00:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:06:03] Production.INFO: ==25781== Lock acquired, processing the job... [2025-03-09 00:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:06:03] Production.INFO: ==25787== Lock acquired, processing the job... [2025-03-09 00:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:06:03] Production.INFO: ==25791== Lock acquired, processing the job... [2025-03-09 00:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:06:03] Production.ERROR: done [2025-03-09 00:06:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:06:03] Production.INFO: Account Balance Start. [2025-03-09 00:06:03] Production.INFO: CreateAllLog Start [2025-03-09 00:06:04] Production.INFO: 117 [2025-03-09 00:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:06:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:06:04] Production.INFO: count ==13 [2025-03-09 00:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:06:04] Production.INFO: count ==21 [2025-03-09 00:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638701') start [2025-03-09 00:06:04] Production.ERROR: done [2025-03-09 00:06:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638701') end [2025-03-09 00:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:06:04] Production.INFO: 1 [2025-03-09 00:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:06:04] Production.INFO: ==25791== Releasing lock... [2025-03-09 00:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:06:04] Production.INFO: Total Charge 0 [2025-03-09 00:06:04] Production.INFO: CreateAllLog End [2025-03-09 00:06:04] Production.INFO: ==25783== Releasing lock... [2025-03-09 00:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:06:04] Production.INFO: Account Balance End. [2025-03-09 00:06:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:06:04] Production.INFO: ==25787== Releasing lock... [2025-03-09 00:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:06:05 [end_date_ymd] => 2025-03-09 00:06:05 [RateCDR] => 1 ) [2025-03-09 00:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:06:05' and `end` < '2025-03-09 00:06:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:06:11] Production.ERROR: CronJobId end10 [2025-03-09 00:06:11] Production.INFO: ==25785== Releasing lock... [2025-03-09 00:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:06:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:06:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:06:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:06:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:06:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:06:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:06:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:06:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:06:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:06:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:06:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:06:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:06:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:06:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:06:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:06:14] Production.INFO: call_cost start [2025-03-09 00:06:14] Production.INFO: call_cost end [2025-03-09 00:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:06:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:06:15] Production.INFO: ==25781== Releasing lock... [2025-03-09 00:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:06:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:06:17] Production.INFO: count ==737 [2025-03-09 00:06:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:06:05 - End Time 2025-03-09 00:06:05 [2025-03-09 00:06:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638704', 'tblTempUsageDetail_20' ) start [2025-03-09 00:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638704', 'tblTempUsageDetail_20' ) end [2025-03-09 00:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638704', 'tblTempVendorCDR_20' ) start [2025-03-09 00:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638704', 'tblTempVendorCDR_20' ) end [2025-03-09 00:06:17] Production.INFO: ProcessCDR(1,14638704,1,1,2) [2025-03-09 00:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:06:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:06:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:06:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:06:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638704', 'tblTempUsageDetail_20' ) start [2025-03-09 00:06:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638704', 'tblTempUsageDetail_20' ) end [2025-03-09 00:06:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:06:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:06:20] Production.INFO: ==25789== Releasing lock... [2025-03-09 00:06:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:06:20] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 05:07:02] Production.INFO: ==25844== Lock acquired, processing the job... [2025-03-09 05:07:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:07:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:07:02] Production.INFO: neon service started [2025-03-09 05:07:02] Production.INFO: neon service started [2025-03-09 05:07:02] Production.INFO: ==25844== Releasing lock... [2025-03-09 05:07:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:07:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:07:02] Production.INFO: ==25846== Lock acquired, processing the job... [2025-03-09 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:07:02] Production.INFO: ==25846== Releasing lock... [2025-03-09 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:07:02] Production.INFO: ==25848== Lock acquired, processing the job... [2025-03-09 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:07:02] Production.INFO: ==25848== Releasing lock... [2025-03-09 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:07:03] Production.INFO: ==25850== Lock acquired, processing the job... [2025-03-09 00:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:07:03] Production.INFO: ==25858== Lock acquired, processing the job... [2025-03-09 00:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:07:03] Production.INFO: ==25852== Lock acquired, processing the job... [2025-03-09 00:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:07:03] Production.INFO: ==25854== Lock acquired, processing the job... [2025-03-09 00:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:07:03] Production.INFO: ==25856== Lock acquired, processing the job... [2025-03-09 00:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:07:03] Production.INFO: ==25860== Lock acquired, processing the job... [2025-03-09 00:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:07:03] Production.INFO: Account Balance Start. [2025-03-09 00:07:03] Production.INFO: CreateAllLog Start [2025-03-09 00:07:03] Production.INFO: 117 [2025-03-09 00:07:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:07:04] Production.INFO: count ==13 [2025-03-09 00:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 00:07:04] Production.INFO: count ==21 [2025-03-09 00:07:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:07:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638708') start [2025-03-09 00:07:04] Production.ERROR: done [2025-03-09 00:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:07:04] Production.INFO: Total Charge 0 [2025-03-09 00:07:04] Production.INFO: CreateAllLog End [2025-03-09 00:07:04] Production.INFO: ==25852== Releasing lock... [2025-03-09 00:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:07:04] Production.ERROR: done [2025-03-09 00:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638708') end [2025-03-09 00:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:07:04] Production.INFO: 1 [2025-03-09 00:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:07:04] Production.INFO: Account Balance End. [2025-03-09 00:07:04] Production.INFO: ==25860== Releasing lock... [2025-03-09 00:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:07:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:07:04] Production.INFO: ==25856== Releasing lock... [2025-03-09 00:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:07:05 [end_date_ymd] => 2025-03-09 00:07:05 [RateCDR] => 1 ) [2025-03-09 00:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:07:05' and `end` < '2025-03-09 00:07:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:07:12] Production.ERROR: CronJobId end10 [2025-03-09 00:07:12] Production.INFO: ==25854== Releasing lock... [2025-03-09 00:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:07:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:07:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:07:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:07:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:07:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:07:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:07:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:07:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:07:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:07:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:07:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:07:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:07:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:07:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:07:15] Production.INFO: call_cost start [2025-03-09 00:07:15] Production.INFO: call_cost end [2025-03-09 00:07:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:07:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:07:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:07:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:07:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:07:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:07:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:07:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:07:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:07:16] Production.INFO: ==25850== Releasing lock... [2025-03-09 00:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:07:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:07:17] Production.INFO: count ==734 [2025-03-09 00:07:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:07:05 - End Time 2025-03-09 00:07:05 [2025-03-09 00:07:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638709', 'tblTempUsageDetail_20' ) start [2025-03-09 00:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638709', 'tblTempUsageDetail_20' ) end [2025-03-09 00:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638709', 'tblTempVendorCDR_20' ) start [2025-03-09 00:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638709', 'tblTempVendorCDR_20' ) end [2025-03-09 00:07:17] Production.INFO: ProcessCDR(1,14638709,1,1,2) [2025-03-09 00:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:07:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638709', 'tblTempUsageDetail_20' ) start [2025-03-09 00:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638709', 'tblTempUsageDetail_20' ) end [2025-03-09 00:07:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:07:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:07:21] Production.INFO: ==25858== Releasing lock... [2025-03-09 00:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:07:21] Production.INFO: 34 MB #Memory Used# [2025-03-09 05:08:01] Production.INFO: ==25914== Lock acquired, processing the job... [2025-03-09 05:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:08:01] Production.INFO: neon service started [2025-03-09 05:08:01] Production.INFO: neon service started [2025-03-09 05:08:01] Production.INFO: ==25914== Releasing lock... [2025-03-09 05:08:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:08:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:08:01] Production.INFO: ==25916== Lock acquired, processing the job... [2025-03-09 00:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:08:02] Production.INFO: ==25916== Releasing lock... [2025-03-09 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:08:02] Production.INFO: ==25918== Lock acquired, processing the job... [2025-03-09 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:08:02] Production.INFO: ==25918== Releasing lock... [2025-03-09 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:08:03] Production.INFO: ==25925== Lock acquired, processing the job... [2025-03-09 00:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:08:03] Production.INFO: ==25927== Lock acquired, processing the job... [2025-03-09 00:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:08:03] Production.INFO: ==25921== Lock acquired, processing the job... [2025-03-09 00:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:08:03] Production.INFO: Account Balance Start. [2025-03-09 00:08:03] Production.INFO: CreateAllLog Start [2025-03-09 00:08:03] Production.INFO: 117 [2025-03-09 00:08:03] Production.INFO: ==25923== Lock acquired, processing the job... [2025-03-09 00:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:08:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:08:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:08:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:08:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:08:03] Production.INFO: Total Charge 0 [2025-03-09 00:08:03] Production.INFO: ==25929== Lock acquired, processing the job... [2025-03-09 00:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:08:03] Production.INFO: CreateAllLog End [2025-03-09 00:08:03] Production.INFO: ==25931== Lock acquired, processing the job... [2025-03-09 00:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:08:03] Production.INFO: count ==13 [2025-03-09 00:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:08:03] Production.INFO: count ==21 [2025-03-09 00:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638713') start [2025-03-09 00:08:03] Production.INFO: ==25923== Releasing lock... [2025-03-09 00:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:08:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:08:03] Production.INFO: Account Balance End. [2025-03-09 00:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638713') end [2025-03-09 00:08:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:08:03] Production.INFO: 1 [2025-03-09 00:08:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:08:03] Production.INFO: ==25931== Releasing lock... [2025-03-09 00:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:08:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:08:03] Production.ERROR: CronJobId end 12 [2025-03-09 00:08:03] Production.INFO: ==25927== Releasing lock... [2025-03-09 00:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:08:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:08:04] Production.ERROR: done [2025-03-09 00:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:08:04] Production.ERROR: done [2025-03-09 00:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:08:05 [end_date_ymd] => 2025-03-09 00:08:05 [RateCDR] => 1 ) [2025-03-09 00:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:08:05' and `end` < '2025-03-09 00:08:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:08:12] Production.ERROR: CronJobId end10 [2025-03-09 00:08:12] Production.INFO: ==25925== Releasing lock... [2025-03-09 00:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:08:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:08:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:08:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:08:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:08:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:08:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:08:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:08:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:08:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:08:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:08:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:08:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:08:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:08:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:08:14] Production.INFO: call_cost start [2025-03-09 00:08:14] Production.INFO: call_cost end [2025-03-09 00:08:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:08:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:08:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:08:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:08:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:08:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:08:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:08:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:08:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:08:15] Production.INFO: ==25921== Releasing lock... [2025-03-09 00:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:08:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:08:17] Production.INFO: count ==731 [2025-03-09 00:08:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:08:05 - End Time 2025-03-09 00:08:05 [2025-03-09 00:08:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638714', 'tblTempUsageDetail_20' ) start [2025-03-09 00:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638714', 'tblTempUsageDetail_20' ) end [2025-03-09 00:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638714', 'tblTempVendorCDR_20' ) start [2025-03-09 00:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638714', 'tblTempVendorCDR_20' ) end [2025-03-09 00:08:17] Production.INFO: ProcessCDR(1,14638714,1,1,2) [2025-03-09 00:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638714', 'tblTempUsageDetail_20' ) start [2025-03-09 00:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638714', 'tblTempUsageDetail_20' ) end [2025-03-09 00:08:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:08:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:08:21] Production.INFO: ==25929== Releasing lock... [2025-03-09 00:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:08:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 05:09:01] Production.INFO: ==25986== Lock acquired, processing the job... [2025-03-09 05:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:09:01] Production.INFO: neon service started [2025-03-09 05:09:01] Production.INFO: neon service started [2025-03-09 05:09:01] Production.INFO: ==25986== Releasing lock... [2025-03-09 05:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:09:02] Production.INFO: ==25990== Lock acquired, processing the job... [2025-03-09 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:09:02] Production.INFO: ==25990== Releasing lock... [2025-03-09 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:09:02] Production.INFO: ==25988== Lock acquired, processing the job... [2025-03-09 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:09:02] Production.INFO: ==25988== Releasing lock... [2025-03-09 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:09:03] Production.INFO: ==25997== Lock acquired, processing the job... [2025-03-09 00:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:09:03] Production.INFO: ==25995== Lock acquired, processing the job... [2025-03-09 00:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:09:03] Production.INFO: ==25999== Lock acquired, processing the job... [2025-03-09 00:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:09:03] Production.INFO: Account Balance Start. [2025-03-09 00:09:03] Production.INFO: CreateAllLog Start [2025-03-09 00:09:03] Production.INFO: 117 [2025-03-09 00:09:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:09:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:09:03] Production.INFO: Total Charge 0 [2025-03-09 00:09:03] Production.INFO: CreateAllLog End [2025-03-09 00:09:03] Production.INFO: ==25993== Lock acquired, processing the job... [2025-03-09 00:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:09:03] Production.INFO: ==25995== Releasing lock... [2025-03-09 00:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:09:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:09:03] Production.INFO: Account Balance End. [2025-03-09 00:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:09:04] Production.INFO: ==26001== Lock acquired, processing the job... [2025-03-09 00:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:09:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:09:04] Production.INFO: ==25999== Releasing lock... [2025-03-09 00:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:09:04] Production.INFO: ==26003== Lock acquired, processing the job... [2025-03-09 00:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00: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-09 00:09:04] Production.INFO: count ==13 [2025-03-09 00:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:09:04] Production.INFO: count ==21 [2025-03-09 00:09:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638718') start [2025-03-09 00:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638718') end [2025-03-09 00:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:09:04] Production.INFO: 1 [2025-03-09 00:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:09:04] Production.INFO: ==26003== Releasing lock... [2025-03-09 00:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:09:04] Production.ERROR: done [2025-03-09 00:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:09:04] Production.ERROR: done [2025-03-09 00:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:09:05 [end_date_ymd] => 2025-03-09 00:09:05 [RateCDR] => 1 ) [2025-03-09 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-08 21:09:05' and `end` < '2025-03-09 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-09 00:09:11] Production.ERROR: CronJobId end10 [2025-03-09 00:09:11] Production.INFO: ==25997== Releasing lock... [2025-03-09 00:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:09:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:09:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:09:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:09:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:09:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:09:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:09:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:09:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:09:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:09:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:09:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:09:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:09:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:09:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:09:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:09:14] Production.INFO: call_cost start [2025-03-09 00:09:14] Production.INFO: call_cost end [2025-03-09 00:09:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:09:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:09:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:09:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:09:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:09:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:09:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:09:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:09:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:09:15] Production.INFO: ==25993== Releasing lock... [2025-03-09 00:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:09:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:09:17] Production.INFO: count ==732 [2025-03-09 00:09:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:09:05 - End Time 2025-03-09 00:09:05 [2025-03-09 00:09:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638719', 'tblTempUsageDetail_20' ) start [2025-03-09 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638719', 'tblTempUsageDetail_20' ) end [2025-03-09 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638719', 'tblTempVendorCDR_20' ) start [2025-03-09 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638719', 'tblTempVendorCDR_20' ) end [2025-03-09 00:09:18] Production.INFO: ProcessCDR(1,14638719,1,1,2) [2025-03-09 00:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638719', 'tblTempUsageDetail_20' ) start [2025-03-09 00:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638719', 'tblTempUsageDetail_20' ) end [2025-03-09 00:09:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:09:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:09:22] Production.INFO: ==26001== Releasing lock... [2025-03-09 00:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:09:22] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 05:10:01] Production.INFO: ==26060== Lock acquired, processing the job... [2025-03-09 05:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:10:01] Production.INFO: neon service started [2025-03-09 05:10:01] Production.INFO: neon service started [2025-03-09 05:10:01] Production.INFO: ==26060== Releasing lock... [2025-03-09 05:10:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:10:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:10:01] Production.INFO: ==26064== Lock acquired, processing the job... [2025-03-09 05:10:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:10:01] Production.INFO: ==26064== Releasing lock... [2025-03-09 05:10:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:10:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:10:01] Production.INFO: ==26062== Lock acquired, processing the job... [2025-03-09 00:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:10:02] Production.INFO: ==26062== Releasing lock... [2025-03-09 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:10:03] Production.INFO: ==26066== Lock acquired, processing the job... [2025-03-09 00:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 00:10:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 00:10:03] Production.INFO: ==26068== Lock acquired, processing the job... [2025-03-09 00:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:10:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 00:10:03] Production.INFO: ==26066== Releasing lock... [2025-03-09 00:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 00:10:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 00:10:03] Production.INFO: ==26072== Lock acquired, processing the job... [2025-03-09 00:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:10:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:10:03] Production.INFO: ==26081== Lock acquired, processing the job... [2025-03-09 00:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:10:03] Production.INFO: ==26070== Lock acquired, processing the job... [2025-03-09 00:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:10:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:10:03] Production.INFO: ==26074== Lock acquired, processing the job... [2025-03-09 00:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:10:03] Production.INFO: count ==13 [2025-03-09 00:10:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:10:03] Production.INFO: count ==21 [2025-03-09 00:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638721') start [2025-03-09 00:10:03] Production.INFO: ==26076== Lock acquired, processing the job... [2025-03-09 00:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:10:03] Production.INFO: ==26078== Lock acquired, processing the job... [2025-03-09 00:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 00:10:03] Production.INFO: Account Balance Start. [2025-03-09 00:10:03] Production.INFO: CreateAllLog Start [2025-03-09 00:10:03] Production.INFO: 117 [2025-03-09 00:10:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:10:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:10:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:10:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638721') end [2025-03-09 00:10:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:10:03] Production.INFO: 1 [2025-03-09 00:10:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:10:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:10:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:10:03] Production.INFO: Total Charge 0 [2025-03-09 00:10:04] Production.INFO: CreateAllLog End [2025-03-09 00:10:04] Production.INFO: ==26081== Releasing lock... [2025-03-09 00:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:10:04] Production.INFO: ==26070== Releasing lock... [2025-03-09 00:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:10:04] Production.INFO: Account Balance End. [2025-03-09 00:10:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:10:04] Production.INFO: ==26074== Releasing lock... [2025-03-09 00:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:10:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:10:04] Production.ERROR: done [2025-03-09 00:10:04] Production.ERROR: done [2025-03-09 00:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 00:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638724', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 00:10:04] Production.ERROR: done [2025-03-09 00:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:10:06 [end_date_ymd] => 2025-03-09 00:10:06 [RateCDR] => 1 ) [2025-03-09 00:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:10:06' and `end` < '2025-03-09 00:10:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638724', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 00:10:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 00:10:08] Production.INFO: ProcessCDR(1,14638724,1,1,2) [2025-03-09 00:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14638724,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14638724,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:10:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:10:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:10:08] Production.INFO: ==26078== Releasing lock... [2025-03-09 00:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 00:10:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 00:10:13] Production.ERROR: CronJobId end10 [2025-03-09 00:10:13] Production.INFO: ==26072== Releasing lock... [2025-03-09 00:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:10:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:10:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:10:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:10:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:10:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:10:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:10:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:10:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:10:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:10:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:10:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:10:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:10:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:10:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:10:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:10:15] Production.INFO: call_cost start [2025-03-09 00:10:15] Production.INFO: call_cost end [2025-03-09 00:10:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:10:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:10:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:10:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:10:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:10:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:10:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:10:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:10:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:10:16] Production.INFO: ==26068== Releasing lock... [2025-03-09 00:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:10:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:10:18] Production.INFO: count ==733 [2025-03-09 00:10:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:10:06 - End Time 2025-03-09 00:10:06 [2025-03-09 00:10:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638725', 'tblTempUsageDetail_20' ) start [2025-03-09 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638725', 'tblTempUsageDetail_20' ) end [2025-03-09 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638725', 'tblTempVendorCDR_20' ) start [2025-03-09 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638725', 'tblTempVendorCDR_20' ) end [2025-03-09 00:10:18] Production.INFO: ProcessCDR(1,14638725,1,1,2) [2025-03-09 00:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638725', 'tblTempUsageDetail_20' ) start [2025-03-09 00:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638725', 'tblTempUsageDetail_20' ) end [2025-03-09 00:10:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:10:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:10:21] Production.INFO: ==26076== Releasing lock... [2025-03-09 00:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:10:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 05:11:01] Production.INFO: ==26181== Lock acquired, processing the job... [2025-03-09 05:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:11:01] Production.INFO: neon service started [2025-03-09 05:11:01] Production.INFO: neon service started [2025-03-09 05:11:01] Production.INFO: ==26181== Releasing lock... [2025-03-09 05:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:11:02] Production.INFO: ==26185== Lock acquired, processing the job... [2025-03-09 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:11:02] Production.INFO: ==26185== Releasing lock... [2025-03-09 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:11:02] Production.INFO: ==26183== Lock acquired, processing the job... [2025-03-09 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:11:02] Production.INFO: ==26183== Releasing lock... [2025-03-09 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:11:03] Production.INFO: ==26188== Lock acquired, processing the job... [2025-03-09 00:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:11:03] Production.INFO: ==26192== Lock acquired, processing the job... [2025-03-09 00:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:11:03] Production.INFO: ==26190== Lock acquired, processing the job... [2025-03-09 00:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:11:03] Production.INFO: ==26194== Lock acquired, processing the job... [2025-03-09 00:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:11:03] Production.INFO: ==26196== Lock acquired, processing the job... [2025-03-09 00:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:11:03] Production.INFO: ==26198== Lock acquired, processing the job... [2025-03-09 00:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:11:03] Production.INFO: Account Balance Start. [2025-03-09 00:11:03] Production.INFO: CreateAllLog Start [2025-03-09 00:11:03] Production.INFO: 117 [2025-03-09 00:11:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:11:03] Production.INFO: ==26190== Releasing lock... [2025-03-09 00:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 00:11:04] Production.INFO: count ==13 [2025-03-09 00:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:11:04] Production.INFO: count ==21 [2025-03-09 00:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638729') start [2025-03-09 00:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638729') end [2025-03-09 00:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:11:04] Production.INFO: 1 [2025-03-09 00:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:11:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:11:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:11:04] Production.INFO: ==26198== Releasing lock... [2025-03-09 00:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:11:04] Production.ERROR: done [2025-03-09 00:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:11:04] Production.INFO: Total Charge 0 [2025-03-09 00:11:04] Production.INFO: CreateAllLog End [2025-03-09 00:11:04] Production.ERROR: done [2025-03-09 00:11:04] Production.INFO: Account Balance End. [2025-03-09 00:11:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:11:04] Production.INFO: ==26194== Releasing lock... [2025-03-09 00:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:11:05 [end_date_ymd] => 2025-03-09 00:11:05 [RateCDR] => 1 ) [2025-03-09 00:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:11:05' and `end` < '2025-03-09 00:11:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:11:12] Production.ERROR: CronJobId end10 [2025-03-09 00:11:12] Production.INFO: ==26192== Releasing lock... [2025-03-09 00:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:11:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:11:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:11:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:11:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:11:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:11:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:11:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:11:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:11:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:11:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:11:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:11:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:11:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:11:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:11:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:11:14] Production.INFO: call_cost start [2025-03-09 00:11:14] Production.INFO: call_cost end [2025-03-09 00:11:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:11:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:11:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:11:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:11:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:11:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:11:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:11:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:11:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:11:15] Production.INFO: ==26188== Releasing lock... [2025-03-09 00:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:11:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:11:17] Production.INFO: count ==724 [2025-03-09 00:11:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:11:05 - End Time 2025-03-09 00:11:05 [2025-03-09 00:11:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638730', 'tblTempUsageDetail_20' ) start [2025-03-09 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638730', 'tblTempUsageDetail_20' ) end [2025-03-09 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638730', 'tblTempVendorCDR_20' ) start [2025-03-09 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638730', 'tblTempVendorCDR_20' ) end [2025-03-09 00:11:18] Production.INFO: ProcessCDR(1,14638730,1,1,2) [2025-03-09 00:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638730', 'tblTempUsageDetail_20' ) start [2025-03-09 00:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638730', 'tblTempUsageDetail_20' ) end [2025-03-09 00:11:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:11:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:11:21] Production.INFO: ==26196== Releasing lock... [2025-03-09 00:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:11:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 05:12:02] Production.INFO: ==26254== Lock acquired, processing the job... [2025-03-09 05:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:12:02] Production.INFO: neon service started [2025-03-09 05:12:02] Production.INFO: neon service started [2025-03-09 05:12:02] Production.INFO: ==26254== Releasing lock... [2025-03-09 05:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:12:02] Production.INFO: ==26258== Lock acquired, processing the job... [2025-03-09 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:12:02] Production.INFO: ==26258== Releasing lock... [2025-03-09 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:12:02] Production.INFO: ==26256== Lock acquired, processing the job... [2025-03-09 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:12:03] Production.INFO: ==26256== Releasing lock... [2025-03-09 00:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:12:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:12:04] Production.INFO: ==26260== Lock acquired, processing the job... [2025-03-09 00:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:12:04] Production.INFO: ==26262== Lock acquired, processing the job... [2025-03-09 00:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:12:04] Production.INFO: ==26267== Lock acquired, processing the job... [2025-03-09 00:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:12:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:12:04] Production.INFO: Account Balance Start. [2025-03-09 00:12:04] Production.INFO: ==26264== Lock acquired, processing the job... [2025-03-09 00:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:12:04] Production.INFO: CreateAllLog Start [2025-03-09 00:12:04] Production.INFO: 117 [2025-03-09 00:12:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:12:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:12:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:12:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:12:04] Production.INFO: ==26269== Lock acquired, processing the job... [2025-03-09 00:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:12:04] Production.INFO: Total Charge 0 [2025-03-09 00:12:04] Production.INFO: CreateAllLog End [2025-03-09 00:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:12:04] Production.INFO: ==26271== Lock acquired, processing the job... [2025-03-09 00:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:12:04] Production.INFO: ==26262== Releasing lock... [2025-03-09 00:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:12:04] Production.INFO: Account Balance End. [2025-03-09 00:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:12:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:12:04] Production.INFO: ==26267== Releasing lock... [2025-03-09 00:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:12:04] Production.INFO: count ==13 [2025-03-09 00:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:12:04] Production.INFO: count ==21 [2025-03-09 00:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638734') start [2025-03-09 00:12:04] Production.ERROR: done [2025-03-09 00:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638734') end [2025-03-09 00:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:12:04] Production.INFO: 1 [2025-03-09 00:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:12:04] Production.INFO: ==26271== Releasing lock... [2025-03-09 00:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:12:04] Production.ERROR: done [2025-03-09 00:12:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:12:06 [end_date_ymd] => 2025-03-09 00:12:06 [RateCDR] => 1 ) [2025-03-09 00:12:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:12:06' and `end` < '2025-03-09 00:12:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:12:12] Production.ERROR: CronJobId end10 [2025-03-09 00:12:12] Production.INFO: ==26264== Releasing lock... [2025-03-09 00:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:12:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:12:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:12:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:12:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:12:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:12:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:12:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:12:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:12:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:12:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:12:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:12:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:12:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:12:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:12:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:12:15] Production.INFO: call_cost start [2025-03-09 00:12:15] Production.INFO: call_cost end [2025-03-09 00:12:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:12:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:12:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:12:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:12:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:12:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:12:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:12:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:12:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:12:16] Production.INFO: ==26260== Releasing lock... [2025-03-09 00:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:12:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:12:29] Production.INFO: count ==724 [2025-03-09 00:12:29] Production.ERROR: pbx CDR StartTime 2025-03-08 21:12:06 - End Time 2025-03-09 00:12:06 [2025-03-09 00:12:29] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:12:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638735', 'tblTempUsageDetail_20' ) start [2025-03-09 00:12:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638735', 'tblTempUsageDetail_20' ) end [2025-03-09 00:12:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638735', 'tblTempVendorCDR_20' ) start [2025-03-09 00:12:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638735', 'tblTempVendorCDR_20' ) end [2025-03-09 00:12:30] Production.INFO: ProcessCDR(1,14638735,1,1,2) [2025-03-09 00:12:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:12:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:12:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:12:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:12:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638735', 'tblTempUsageDetail_20' ) start [2025-03-09 00:12:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638735', 'tblTempUsageDetail_20' ) end [2025-03-09 00:12:34] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:12:34] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:12:34] Production.INFO: ==26269== Releasing lock... [2025-03-09 00:12:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:12:34] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 05:13:01] Production.INFO: ==26326== Lock acquired, processing the job... [2025-03-09 05:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:13:01] Production.INFO: neon service started [2025-03-09 05:13:01] Production.INFO: neon service started [2025-03-09 05:13:01] Production.INFO: ==26326== Releasing lock... [2025-03-09 05:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:13:02] Production.INFO: ==26328== Lock acquired, processing the job... [2025-03-09 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:13:02] Production.INFO: ==26328== Releasing lock... [2025-03-09 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:13:02] Production.INFO: ==26330== Lock acquired, processing the job... [2025-03-09 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:13:02] Production.INFO: ==26330== Releasing lock... [2025-03-09 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:13:03] Production.INFO: ==26333== Lock acquired, processing the job... [2025-03-09 00:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:13:03] Production.INFO: ==26337== Lock acquired, processing the job... [2025-03-09 00:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:13:03] Production.INFO: ==26341== Lock acquired, processing the job... [2025-03-09 00:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:13:03] Production.INFO: ==26339== Lock acquired, processing the job... [2025-03-09 00:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:13:03] Production.INFO: ==26335== Lock acquired, processing the job... [2025-03-09 00:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:13:03] Production.INFO: Account Balance Start. [2025-03-09 00:13:03] Production.INFO: CreateAllLog Start [2025-03-09 00:13:03] Production.INFO: 117 [2025-03-09 00:13:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:13:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:13:03] Production.ERROR: done [2025-03-09 00:13:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:13:03] Production.INFO: ==26343== Lock acquired, processing the job... [2025-03-09 00:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:13:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:13:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:13:03] Production.INFO: Total Charge 0 [2025-03-09 00:13:03] Production.INFO: CreateAllLog End [2025-03-09 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-09 00:13:03] Production.INFO: count ==13 [2025-03-09 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-09 00:13:03] Production.INFO: count ==21 [2025-03-09 00:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638739') start [2025-03-09 00:13:03] Production.ERROR: done [2025-03-09 00:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638739') end [2025-03-09 00:13:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:13:03] Production.INFO: 1 [2025-03-09 00:13:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:13:03] Production.INFO: Account Balance End. [2025-03-09 00:13:03] Production.ERROR: CronJobId end 12 [2025-03-09 00:13:03] Production.INFO: ==26339== Releasing lock... [2025-03-09 00:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:13:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:13:03] Production.INFO: ==26343== Releasing lock... [2025-03-09 00:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:13:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:13:04] Production.INFO: ==26335== Releasing lock... [2025-03-09 00:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:13:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:13:04 [end_date_ymd] => 2025-03-09 00:13:04 [RateCDR] => 1 ) [2025-03-09 00:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:13:04' and `end` < '2025-03-09 00:13:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:13:11] Production.ERROR: CronJobId end10 [2025-03-09 00:13:11] Production.INFO: ==26337== Releasing lock... [2025-03-09 00:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:13:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:13:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:13:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:13:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:13:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:13:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:13:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:13:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:13:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:13:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:13:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:13:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:13:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:13:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:13:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:13:14] Production.INFO: call_cost start [2025-03-09 00:13:14] Production.INFO: call_cost end [2025-03-09 00:13:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:13:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:13:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:13:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:13:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:13:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:13:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:13:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:13:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:13:15] Production.INFO: ==26333== Releasing lock... [2025-03-09 00:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:13:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:13:17] Production.INFO: count ==719 [2025-03-09 00:13:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:13:04 - End Time 2025-03-09 00:13:04 [2025-03-09 00:13:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638740', 'tblTempUsageDetail_20' ) start [2025-03-09 00:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638740', 'tblTempUsageDetail_20' ) end [2025-03-09 00:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638740', 'tblTempVendorCDR_20' ) start [2025-03-09 00:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638740', 'tblTempVendorCDR_20' ) end [2025-03-09 00:13:17] Production.INFO: ProcessCDR(1,14638740,1,1,2) [2025-03-09 00:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638740', 'tblTempUsageDetail_20' ) start [2025-03-09 00:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638740', 'tblTempUsageDetail_20' ) end [2025-03-09 00:13:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:13:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:13:20] Production.INFO: ==26341== Releasing lock... [2025-03-09 00:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:13:20] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 05:14:02] Production.INFO: ==26399== Lock acquired, processing the job... [2025-03-09 05:14:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:14:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:14:02] Production.INFO: neon service started [2025-03-09 05:14:02] Production.INFO: neon service started [2025-03-09 05:14:02] Production.INFO: ==26399== Releasing lock... [2025-03-09 05:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:14:02] Production.INFO: ==26401== Lock acquired, processing the job... [2025-03-09 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:14:02] Production.INFO: ==26401== Releasing lock... [2025-03-09 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:14:02] Production.INFO: ==26403== Lock acquired, processing the job... [2025-03-09 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:14:03] Production.INFO: ==26403== Releasing lock... [2025-03-09 05:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:14:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:14:03] Production.INFO: ==26406== Lock acquired, processing the job... [2025-03-09 00:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:14:03] Production.INFO: ==26410== Lock acquired, processing the job... [2025-03-09 00:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:14:03] Production.INFO: ==26408== Lock acquired, processing the job... [2025-03-09 00:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:14:03] Production.INFO: ==26412== Lock acquired, processing the job... [2025-03-09 00:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:14:03] Production.INFO: ==26416== Lock acquired, processing the job... [2025-03-09 00:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:14:03] Production.INFO: ==26414== Lock acquired, processing the job... [2025-03-09 00:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:14:04] Production.INFO: Account Balance Start. [2025-03-09 00:14:04] Production.INFO: CreateAllLog Start [2025-03-09 00:14:04] Production.INFO: 117 [2025-03-09 00:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:14:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:14:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:14:04] Production.INFO: count ==13 [2025-03-09 00:14:04] Production.INFO: ==26408== Releasing lock... [2025-03-09 00:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:14:04] Production.INFO: count ==21 [2025-03-09 00:14:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:14:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:14:04] Production.INFO: Total Charge 0 [2025-03-09 00:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638743') start [2025-03-09 00:14:04] Production.INFO: CreateAllLog End [2025-03-09 00:14:04] Production.ERROR: done [2025-03-09 00:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638743') end [2025-03-09 00:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:14:04] Production.INFO: 1 [2025-03-09 00:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:14:04] Production.INFO: ==26416== Releasing lock... [2025-03-09 00:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:14:04] Production.ERROR: done [2025-03-09 00:14:04] Production.INFO: Account Balance End. [2025-03-09 00:14:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:14:04] Production.INFO: ==26412== Releasing lock... [2025-03-09 00:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:14:05 [end_date_ymd] => 2025-03-09 00:14:05 [RateCDR] => 1 ) [2025-03-09 00:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:14:05' and `end` < '2025-03-09 00:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:14:12] Production.ERROR: CronJobId end10 [2025-03-09 00:14:12] Production.INFO: ==26410== Releasing lock... [2025-03-09 00:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:14:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:14:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:14:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:14:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:14:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:14:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:14:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:14:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:14:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:14:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:14:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:14:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:14:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:14:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:14:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:14:14] Production.INFO: call_cost start [2025-03-09 00:14:14] Production.INFO: call_cost end [2025-03-09 00:14:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:14:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:14:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:14:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:14:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:14:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:14:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:14:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:14:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:14:15] Production.INFO: ==26406== Releasing lock... [2025-03-09 00:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:14:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:14:17] Production.INFO: count ==714 [2025-03-09 00:14:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:14:05 - End Time 2025-03-09 00:14:05 [2025-03-09 00:14:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638745', 'tblTempUsageDetail_20' ) start [2025-03-09 00:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638745', 'tblTempUsageDetail_20' ) end [2025-03-09 00:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638745', 'tblTempVendorCDR_20' ) start [2025-03-09 00:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638745', 'tblTempVendorCDR_20' ) end [2025-03-09 00:14:18] Production.INFO: ProcessCDR(1,14638745,1,1,2) [2025-03-09 00:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638745', 'tblTempUsageDetail_20' ) start [2025-03-09 00:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638745', 'tblTempUsageDetail_20' ) end [2025-03-09 00:14:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:14:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:14:22] Production.INFO: ==26414== Releasing lock... [2025-03-09 00:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:14:22] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 05:15:01] Production.INFO: ==26471== Lock acquired, processing the job... [2025-03-09 05:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:15:01] Production.INFO: neon service started [2025-03-09 05:15:01] Production.INFO: neon service started [2025-03-09 05:15:01] Production.INFO: ==26471== Releasing lock... [2025-03-09 05:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:15:02] Production.INFO: ==26475== Lock acquired, processing the job... [2025-03-09 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:15:02] Production.INFO: ==26473== Lock acquired, processing the job... [2025-03-09 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:15:02] Production.INFO: ==26475== Releasing lock... [2025-03-09 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:15:02] Production.INFO: ==26473== Releasing lock... [2025-03-09 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:15:03] Production.INFO: ==26480== Lock acquired, processing the job... [2025-03-09 00:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:15:03] Production.INFO: ==26488== Lock acquired, processing the job... [2025-03-09 00:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:15:03] Production.INFO: ==26478== Lock acquired, processing the job... [2025-03-09 00:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:15:03] Production.INFO: ==26484== Lock acquired, processing the job... [2025-03-09 00:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:15:03] Production.INFO: ==26480== Releasing lock... [2025-03-09 00:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:15:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:15:03] Production.INFO: ==26486== Lock acquired, processing the job... [2025-03-09 00:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:15:03] Production.INFO: ==26482== Lock acquired, processing the job... [2025-03-09 00:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:15:03] Production.INFO: Account Balance Start. [2025-03-09 00:15:03] Production.INFO: CreateAllLog Start [2025-03-09 00:15:03] Production.INFO: 117 [2025-03-09 00:15:03] Production.INFO: count ==13 [2025-03-09 00:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:15:03] Production.INFO: count ==21 [2025-03-09 00:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638747') start [2025-03-09 00:15:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:15:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:15:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:15:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638747') end [2025-03-09 00:15:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:15:03] Production.INFO: 1 [2025-03-09 00:15:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:15:03] Production.INFO: Total Charge 0 [2025-03-09 00:15:03] Production.INFO: CreateAllLog End [2025-03-09 00:15:03] Production.INFO: ==26488== Releasing lock... [2025-03-09 00:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:15:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:15:04] Production.ERROR: done [2025-03-09 00:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:15:04] Production.ERROR: done [2025-03-09 00:15:04] Production.INFO: Account Balance End. [2025-03-09 00:15:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:15:04] Production.INFO: ==26484== Releasing lock... [2025-03-09 00:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:15:05 [end_date_ymd] => 2025-03-09 00:15:05 [RateCDR] => 1 ) [2025-03-09 00:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:15:05' and `end` < '2025-03-09 00:15:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:15:11] Production.ERROR: CronJobId end10 [2025-03-09 00:15:11] Production.INFO: ==26482== Releasing lock... [2025-03-09 00:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:15:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:15:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:15:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:15:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:15:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:15:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:15:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:15:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:15:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:15:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:15:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:15:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:15:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:15:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:15:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:15:13] Production.INFO: call_cost start [2025-03-09 00:15:13] Production.INFO: call_cost end [2025-03-09 00:15:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:15:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:15:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:15:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:15:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:15:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:15:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:15:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:15:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:15:14] Production.INFO: ==26478== Releasing lock... [2025-03-09 00:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:15:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:15:17] Production.INFO: count ==713 [2025-03-09 00:15:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:15:05 - End Time 2025-03-09 00:15:05 [2025-03-09 00:15:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638750', 'tblTempUsageDetail_20' ) start [2025-03-09 00:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638750', 'tblTempUsageDetail_20' ) end [2025-03-09 00:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638750', 'tblTempVendorCDR_20' ) start [2025-03-09 00:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638750', 'tblTempVendorCDR_20' ) end [2025-03-09 00:15:17] Production.INFO: ProcessCDR(1,14638750,1,1,2) [2025-03-09 00:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:15:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638750', 'tblTempUsageDetail_20' ) start [2025-03-09 00:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638750', 'tblTempUsageDetail_20' ) end [2025-03-09 00:15:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:15:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:15:20] Production.INFO: ==26486== Releasing lock... [2025-03-09 00:15:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:15:20] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 05:16:01] Production.INFO: ==26544== Lock acquired, processing the job... [2025-03-09 05:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:16:02] Production.INFO: neon service started [2025-03-09 05:16:02] Production.INFO: neon service started [2025-03-09 05:16:02] Production.INFO: ==26544== Releasing lock... [2025-03-09 05:16:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:16:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:16:02] Production.INFO: ==26546== Lock acquired, processing the job... [2025-03-09 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:16:02] Production.INFO: ==26546== Releasing lock... [2025-03-09 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:16:02] Production.INFO: ==26548== Lock acquired, processing the job... [2025-03-09 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:16:02] Production.INFO: ==26548== Releasing lock... [2025-03-09 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:16:03] Production.INFO: ==26560== Lock acquired, processing the job... [2025-03-09 00:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:16:03] Production.INFO: ==26554== Lock acquired, processing the job... [2025-03-09 00:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:16:03] Production.INFO: ==26550== Lock acquired, processing the job... [2025-03-09 00:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:16:03] Production.INFO: ==26552== Lock acquired, processing the job... [2025-03-09 00:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 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-09 00:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:16:03] Production.INFO: count ==13 [2025-03-09 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-09 00:16:03] Production.INFO: count ==21 [2025-03-09 00:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638751') start [2025-03-09 00:16:04] Production.INFO: ==26556== Lock acquired, processing the job... [2025-03-09 00:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638751') end [2025-03-09 00:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:16:04] Production.INFO: 1 [2025-03-09 00:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:16:04] Production.INFO: ==26558== Lock acquired, processing the job... [2025-03-09 00:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:16:04] Production.INFO: ==26560== Releasing lock... [2025-03-09 00:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:16:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:16:04] Production.INFO: Account Balance Start. [2025-03-09 00:16:04] Production.INFO: CreateAllLog Start [2025-03-09 00:16:04] Production.INFO: 117 [2025-03-09 00:16:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:16:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:16:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:16:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:16:04] Production.INFO: Total Charge 0 [2025-03-09 00:16:04] Production.INFO: ==26552== Releasing lock... [2025-03-09 00:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:16:04] Production.INFO: CreateAllLog End [2025-03-09 00:16:04] Production.ERROR: done [2025-03-09 00:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:16:04] Production.INFO: Account Balance End. [2025-03-09 00:16:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:16:04] Production.INFO: ==26556== Releasing lock... [2025-03-09 00:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:16:04] Production.ERROR: done [2025-03-09 00:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:16:05 [end_date_ymd] => 2025-03-09 00:16:05 [RateCDR] => 1 ) [2025-03-09 00:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:16:05' and `end` < '2025-03-09 00:16:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:16:12] Production.ERROR: CronJobId end10 [2025-03-09 00:16:12] Production.INFO: ==26554== Releasing lock... [2025-03-09 00:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:16:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:16:14] Production.INFO: call_cost start [2025-03-09 00:16:14] Production.INFO: call_cost end [2025-03-09 00:16:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:16:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:16:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:16:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:16:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:16:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:16:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:16:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:16:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:16:15] Production.INFO: ==26550== Releasing lock... [2025-03-09 00:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:16:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:16:17] Production.INFO: count ==712 [2025-03-09 00:16:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:16:05 - End Time 2025-03-09 00:16:05 [2025-03-09 00:16:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638755', 'tblTempUsageDetail_20' ) start [2025-03-09 00:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638755', 'tblTempUsageDetail_20' ) end [2025-03-09 00:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638755', 'tblTempVendorCDR_20' ) start [2025-03-09 00:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638755', 'tblTempVendorCDR_20' ) end [2025-03-09 00:16:18] Production.INFO: ProcessCDR(1,14638755,1,1,2) [2025-03-09 00:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638755', 'tblTempUsageDetail_20' ) start [2025-03-09 00:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638755', 'tblTempUsageDetail_20' ) end [2025-03-09 00:16:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:16:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:16:21] Production.INFO: ==26558== Releasing lock... [2025-03-09 00:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:16:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 05:17:01] Production.INFO: ==26614== Lock acquired, processing the job... [2025-03-09 05:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:17:01] Production.INFO: neon service started [2025-03-09 05:17:01] Production.INFO: neon service started [2025-03-09 05:17:01] Production.INFO: ==26614== Releasing lock... [2025-03-09 05:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:17:01] Production.INFO: ==26616== Lock acquired, processing the job... [2025-03-09 00:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:17:02] Production.INFO: ==26616== Releasing lock... [2025-03-09 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:17:02] Production.INFO: ==26618== Lock acquired, processing the job... [2025-03-09 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:17:02] Production.INFO: ==26618== Releasing lock... [2025-03-09 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:17:03] Production.INFO: ==26623== Lock acquired, processing the job... [2025-03-09 00:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:17:03] Production.INFO: ==26621== Lock acquired, processing the job... [2025-03-09 00:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:17:03] Production.INFO: ==26627== Lock acquired, processing the job... [2025-03-09 00:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:17:03] Production.INFO: ==26625== Lock acquired, processing the job... [2025-03-09 00:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:17:03] Production.INFO: ==26629== Lock acquired, processing the job... [2025-03-09 00:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:17:03] Production.INFO: ==26631== Lock acquired, processing the job... [2025-03-09 00:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:17:03] Production.INFO: Account Balance Start. [2025-03-09 00:17:03] Production.INFO: CreateAllLog Start [2025-03-09 00:17:03] Production.INFO: 117 [2025-03-09 00:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:17:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:17:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:17:03] Production.INFO: count ==13 [2025-03-09 00:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:17:03] Production.INFO: count ==21 [2025-03-09 00:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638759') start [2025-03-09 00:17:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:17:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:17:03] Production.INFO: Total Charge 0 [2025-03-09 00:17:03] Production.INFO: CreateAllLog End [2025-03-09 00:17:03] Production.ERROR: done [2025-03-09 00:17:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:17:03] Production.INFO: ==26623== Releasing lock... [2025-03-09 00:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:17:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638759') end [2025-03-09 00:17:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:17:03] Production.INFO: 1 [2025-03-09 00:17:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:17:03] Production.INFO: ==26631== Releasing lock... [2025-03-09 00:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:17:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:17:03] Production.ERROR: done [2025-03-09 00:17:03] Production.INFO: Account Balance End. [2025-03-09 00:17:03] Production.ERROR: CronJobId end 12 [2025-03-09 00:17:03] Production.INFO: ==26627== Releasing lock... [2025-03-09 00:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:17:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:17:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:17:04 [end_date_ymd] => 2025-03-09 00:17:04 [RateCDR] => 1 ) [2025-03-09 00: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-08 21:17:04' and `end` < '2025-03-09 00: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-09 00:17:11] Production.ERROR: CronJobId end10 [2025-03-09 00:17:11] Production.INFO: ==26625== Releasing lock... [2025-03-09 00:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:17:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:17:14] Production.INFO: call_cost start [2025-03-09 00:17:14] Production.INFO: call_cost end [2025-03-09 00:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:17:15] Production.INFO: ==26621== Releasing lock... [2025-03-09 00:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:17:16] Production.INFO: count ==710 [2025-03-09 00:17:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:17:04 - End Time 2025-03-09 00:17:04 [2025-03-09 00:17:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638760', 'tblTempUsageDetail_20' ) start [2025-03-09 00:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638760', 'tblTempUsageDetail_20' ) end [2025-03-09 00:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638760', 'tblTempVendorCDR_20' ) start [2025-03-09 00:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638760', 'tblTempVendorCDR_20' ) end [2025-03-09 00:17:17] Production.INFO: ProcessCDR(1,14638760,1,1,2) [2025-03-09 00:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:17:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638760', 'tblTempUsageDetail_20' ) start [2025-03-09 00:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638760', 'tblTempUsageDetail_20' ) end [2025-03-09 00:17:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:17:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:17:20] Production.INFO: ==26629== Releasing lock... [2025-03-09 00:17:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:17:20] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 05:18:01] Production.INFO: ==26703== Lock acquired, processing the job... [2025-03-09 05:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:18:01] Production.INFO: neon service started [2025-03-09 05:18:01] Production.INFO: neon service started [2025-03-09 05:18:01] Production.INFO: ==26703== Releasing lock... [2025-03-09 05:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:18:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:18:02] Production.INFO: ==26707== Lock acquired, processing the job... [2025-03-09 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:18:02] Production.INFO: ==26707== Releasing lock... [2025-03-09 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:18:02] Production.INFO: ==26705== Lock acquired, processing the job... [2025-03-09 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:18:02] Production.INFO: ==26705== Releasing lock... [2025-03-09 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:18:03] Production.INFO: ==26714== Lock acquired, processing the job... [2025-03-09 00:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:18:03] Production.INFO: ==26712== Lock acquired, processing the job... [2025-03-09 00:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:18:03] Production.INFO: ==26718== Lock acquired, processing the job... [2025-03-09 00:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:18:03] Production.INFO: ==26710== Lock acquired, processing the job... [2025-03-09 00:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:18:03] Production.INFO: ==26716== Lock acquired, processing the job... [2025-03-09 00:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:18:03] Production.INFO: ==26720== Lock acquired, processing the job... [2025-03-09 00:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:18:04] Production.INFO: Account Balance Start. [2025-03-09 00:18:04] Production.INFO: CreateAllLog Start [2025-03-09 00:18:04] Production.INFO: 117 [2025-03-09 00:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:18:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:18:04] Production.INFO: count ==13 [2025-03-09 00:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:18:04] Production.INFO: count ==21 [2025-03-09 00:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638764') start [2025-03-09 00:18:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638764') end [2025-03-09 00:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:18:04] Production.INFO: 1 [2025-03-09 00:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:18:04] Production.INFO: ==26712== Releasing lock... [2025-03-09 00:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:18:04] Production.ERROR: done [2025-03-09 00:18:04] Production.INFO: Total Charge 0 [2025-03-09 00:18:04] Production.INFO: ==26720== Releasing lock... [2025-03-09 00:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:18:04] Production.INFO: CreateAllLog End [2025-03-09 00:18:04] Production.ERROR: done [2025-03-09 00:18:04] Production.INFO: Account Balance End. [2025-03-09 00:18:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:18:04] Production.INFO: ==26716== Releasing lock... [2025-03-09 00:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:18:05 [end_date_ymd] => 2025-03-09 00:18:05 [RateCDR] => 1 ) [2025-03-09 00:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:18:05' and `end` < '2025-03-09 00:18:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:18:11] Production.ERROR: CronJobId end10 [2025-03-09 00:18:11] Production.INFO: ==26714== Releasing lock... [2025-03-09 00:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:18:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:18:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:18:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:18:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:18:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:18:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:18:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:18:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:18:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:18:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:18:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:18:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:18:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:18:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:18:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:18:14] Production.INFO: call_cost start [2025-03-09 00:18:14] Production.INFO: call_cost end [2025-03-09 00:18:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:18:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:18:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:18:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:18:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:18:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:18:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:18:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:18:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:18:15] Production.INFO: ==26710== Releasing lock... [2025-03-09 00:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:18:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:18:17] Production.INFO: count ==710 [2025-03-09 00:18:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:18:05 - End Time 2025-03-09 00:18:05 [2025-03-09 00:18:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638765', 'tblTempUsageDetail_20' ) start [2025-03-09 00:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638765', 'tblTempUsageDetail_20' ) end [2025-03-09 00:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638765', 'tblTempVendorCDR_20' ) start [2025-03-09 00:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638765', 'tblTempVendorCDR_20' ) end [2025-03-09 00:18:17] Production.INFO: ProcessCDR(1,14638765,1,1,2) [2025-03-09 00:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638765', 'tblTempUsageDetail_20' ) start [2025-03-09 00:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638765', 'tblTempUsageDetail_20' ) end [2025-03-09 00:18:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:18:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:18:20] Production.INFO: ==26718== Releasing lock... [2025-03-09 00:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:18:20] Production.INFO: 34 MB #Memory Used# [2025-03-09 05:19:02] Production.INFO: ==26776== Lock acquired, processing the job... [2025-03-09 05:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:19:02] Production.INFO: neon service started [2025-03-09 05:19:02] Production.INFO: neon service started [2025-03-09 05:19:02] Production.INFO: ==26776== Releasing lock... [2025-03-09 05:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:19:02] Production.INFO: ==26780== Lock acquired, processing the job... [2025-03-09 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:19:02] Production.INFO: ==26780== Releasing lock... [2025-03-09 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:19:02] Production.INFO: ==26778== Lock acquired, processing the job... [2025-03-09 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:19:03] Production.INFO: ==26778== Releasing lock... [2025-03-09 00:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:19:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:19:03] Production.INFO: ==26787== Lock acquired, processing the job... [2025-03-09 00:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:19:03] Production.INFO: ==26783== Lock acquired, processing the job... [2025-03-09 00:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:19:04] Production.INFO: ==26785== Lock acquired, processing the job... [2025-03-09 00:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:19:04] Production.INFO: ==26793== Lock acquired, processing the job... [2025-03-09 00:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:19:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:19:04] Production.INFO: ==26789== Lock acquired, processing the job... [2025-03-09 00:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:19:04] Production.INFO: ==26791== Lock acquired, processing the job... [2025-03-09 00:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 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-09 00:19:04] Production.INFO: Account Balance Start. [2025-03-09 00:19:04] Production.INFO: CreateAllLog Start [2025-03-09 00:19:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:19:04] Production.INFO: 117 [2025-03-09 00:19:04] Production.INFO: count ==13 [2025-03-09 00:19:04] Production.INFO: Date 2025-03-08 [2025-03-09 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-09 00:19:04] Production.INFO: count ==21 [2025-03-09 00:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638767') start [2025-03-09 00:19:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:19:04] Production.INFO: Total Charge 0 [2025-03-09 00:19:04] Production.INFO: CreateAllLog End [2025-03-09 00:19:04] Production.INFO: ==26785== Releasing lock... [2025-03-09 00:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638767') end [2025-03-09 00:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:19:04] Production.INFO: 1 [2025-03-09 00:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:19:04] Production.INFO: ==26793== Releasing lock... [2025-03-09 00:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:19:04] Production.ERROR: done [2025-03-09 00:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:19:04] Production.INFO: Account Balance End. [2025-03-09 00:19:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:19:04] Production.INFO: ==26789== Releasing lock... [2025-03-09 00:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:19:04] Production.ERROR: done [2025-03-09 00:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:19:05 [end_date_ymd] => 2025-03-09 00:19:05 [RateCDR] => 1 ) [2025-03-09 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-08 21:19:05' and `end` < '2025-03-09 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-09 00:19:12] Production.ERROR: CronJobId end10 [2025-03-09 00:19:12] Production.INFO: ==26787== Releasing lock... [2025-03-09 00:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:19:14] Production.INFO: call_cost start [2025-03-09 00:19:14] Production.INFO: call_cost end [2025-03-09 00:19:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:19:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:19:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:19:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:19:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:19:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:19:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:19:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:19:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:19:15] Production.INFO: ==26783== Releasing lock... [2025-03-09 00:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:19:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:19:17] Production.INFO: count ==709 [2025-03-09 00:19:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:19:05 - End Time 2025-03-09 00:19:05 [2025-03-09 00:19:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638770', 'tblTempUsageDetail_20' ) start [2025-03-09 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638770', 'tblTempUsageDetail_20' ) end [2025-03-09 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638770', 'tblTempVendorCDR_20' ) start [2025-03-09 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638770', 'tblTempVendorCDR_20' ) end [2025-03-09 00:19:18] Production.INFO: ProcessCDR(1,14638770,1,1,2) [2025-03-09 00:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638770', 'tblTempUsageDetail_20' ) start [2025-03-09 00:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638770', 'tblTempUsageDetail_20' ) end [2025-03-09 00:19:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:19:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:19:21] Production.INFO: ==26791== Releasing lock... [2025-03-09 00:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:19:21] Production.INFO: 33.75 MB #Memory Used# [2025-03-09 05:20:01] Production.INFO: ==26862== Lock acquired, processing the job... [2025-03-09 05:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:20:01] Production.INFO: neon service started [2025-03-09 05:20:01] Production.INFO: neon service started [2025-03-09 05:20:01] Production.INFO: ==26862== Releasing lock... [2025-03-09 05:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:20:02] Production.INFO: ==26864== Lock acquired, processing the job... [2025-03-09 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:20:02] Production.INFO: ==26866== Lock acquired, processing the job... [2025-03-09 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:20:02] Production.INFO: ==26866== Releasing lock... [2025-03-09 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:20:02] Production.INFO: ==26864== Releasing lock... [2025-03-09 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:20:03] Production.INFO: ==26872== Lock acquired, processing the job... [2025-03-09 00:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:20:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:20:03] Production.INFO: ==26882== Lock acquired, processing the job... [2025-03-09 00:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 00:20:03] Production.INFO: ==26870== Lock acquired, processing the job... [2025-03-09 00:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 00:20:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:20:03] Production.INFO: ==26884== Lock acquired, processing the job... [2025-03-09 00:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:20:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 00:20:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 00:20:03] Production.ERROR: CronJob PID - 26872 [2025-03-09 00:20:03] Production.ERROR: CronJob Title - System Alerts [2025-03-09 00:20:03] Production.ERROR: CronJob ID - 5 [2025-03-09 00:20:03] Production.ERROR: CronJob Last Run Time 2025-03-09 00:20:00 [2025-03-09 00:20:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 00:20:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 00:20:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 00:20:03] Production.ERROR: CronJob PID - 26882 [2025-03-09 00:20:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-09 00:20:03] Production.ERROR: CronJob ID - 17 [2025-03-09 00:20:03] Production.ERROR: CronJob Last Run Time 2025-03-09 00:20:00 [2025-03-09 00:20:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 00:20:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 00:20:03] Production.INFO: ==26874== Lock acquired, processing the job... [2025-03-09 00:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:20:04] Production.INFO: ==26876== Lock acquired, processing the job... [2025-03-09 00:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 00:20:04] Production.INFO: ==26880== Lock acquired, processing the job... [2025-03-09 00:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:20:04] Production.INFO: ==26870== Releasing lock... [2025-03-09 00:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 00:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 00:20:04] Production.INFO: ==26878== Lock acquired, processing the job... [2025-03-09 00:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:20:04] Production.INFO: Account Balance Start. [2025-03-09 00:20:04] Production.INFO: CreateAllLog Start [2025-03-09 00:20:04] Production.INFO: 117 [2025-03-09 00:20:04] Production.INFO: count ==13 [2025-03-09 00:20:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:20:04] Production.INFO: count ==21 [2025-03-09 00:20:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638772') start [2025-03-09 00:20:04] Production.ERROR: done [2025-03-09 00:20:04] Production.INFO: Total Charge 0 [2025-03-09 00:20:04] Production.INFO: CreateAllLog End [2025-03-09 00:20:04] Production.INFO: ==26874== Releasing lock... [2025-03-09 00:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 00:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638775', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 00:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638772') end [2025-03-09 00:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:20:04] Production.INFO: 1 [2025-03-09 00:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:20:04] Production.INFO: ==26884== Releasing lock... [2025-03-09 00:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:20:04] Production.ERROR: done [2025-03-09 00:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:20:04] Production.ERROR: done [2025-03-09 00:20:04] Production.INFO: Account Balance End. [2025-03-09 00:20:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:20:04] Production.INFO: ==26878== Releasing lock... [2025-03-09 00:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:20:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:20:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:20:05 [end_date_ymd] => 2025-03-09 00:20:05 [RateCDR] => 1 ) [2025-03-09 00:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:20:05' and `end` < '2025-03-09 00:20:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638775', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 00:20:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 00:20:08] Production.INFO: ProcessCDR(1,14638775,1,1,2) [2025-03-09 00:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14638775,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14638775,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:20:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:20:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:20:08] Production.INFO: ==26882== Releasing lock... [2025-03-09 00:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 00:20:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 00:20:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:20:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:20:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:20:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:20:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:20:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:20:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:20:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:20:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:20:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:20:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:20:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:20:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:20:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:20:16] Production.ERROR: CronJobId end10 [2025-03-09 00:20:16] Production.INFO: ==26876== Releasing lock... [2025-03-09 00:20:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:20:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:20:16] Production.INFO: call_cost start [2025-03-09 00:20:16] Production.INFO: call_cost end [2025-03-09 00:20:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:20:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:20:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:20:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:20:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:20:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:20:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:20:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:20:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:20:17] Production.INFO: ==26872== Releasing lock... [2025-03-09 00:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:20:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:20:18] Production.INFO: count ==715 [2025-03-09 00:20:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:20:05 - End Time 2025-03-09 00:20:05 [2025-03-09 00:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638776', 'tblTempUsageDetail_20' ) start [2025-03-09 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638776', 'tblTempUsageDetail_20' ) end [2025-03-09 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638776', 'tblTempVendorCDR_20' ) start [2025-03-09 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638776', 'tblTempVendorCDR_20' ) end [2025-03-09 00:20:18] Production.INFO: ProcessCDR(1,14638776,1,1,2) [2025-03-09 00:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638776', 'tblTempUsageDetail_20' ) start [2025-03-09 00:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638776', 'tblTempUsageDetail_20' ) end [2025-03-09 00:20:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:20:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:20:21] Production.INFO: ==26880== Releasing lock... [2025-03-09 00:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:20:21] Production.INFO: 34 MB #Memory Used# [2025-03-09 05:21:02] Production.INFO: ==26938== Lock acquired, processing the job... [2025-03-09 05:21:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:21:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:21:02] Production.INFO: neon service started [2025-03-09 05:21:02] Production.INFO: neon service started [2025-03-09 05:21:02] Production.INFO: ==26938== Releasing lock... [2025-03-09 05:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:21:02] Production.INFO: ==26941== Lock acquired, processing the job... [2025-03-09 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:21:03] Production.INFO: ==26941== Releasing lock... [2025-03-09 00:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:21:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:21:03] Production.INFO: ==26943== Lock acquired, processing the job... [2025-03-09 05:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:21:03] Production.INFO: ==26943== Releasing lock... [2025-03-09 05:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:21:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:21:04] Production.INFO: ==26949== Lock acquired, processing the job... [2025-03-09 00:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:21:04] Production.INFO: ==26955== Lock acquired, processing the job... [2025-03-09 00:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:21:04] Production.INFO: ==26945== Lock acquired, processing the job... [2025-03-09 00:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:21:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:21:04] Production.INFO: ==26947== Lock acquired, processing the job... [2025-03-09 00:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 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-09 00:21:04] Production.INFO: count ==13 [2025-03-09 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-09 00:21:04] Production.INFO: ==26951== Lock acquired, processing the job... [2025-03-09 00:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:21:04] Production.INFO: count ==21 [2025-03-09 00:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638778') start [2025-03-09 00:21:04] Production.INFO: ==26953== Lock acquired, processing the job... [2025-03-09 00:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638778') end [2025-03-09 00:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:21:04] Production.INFO: 1 [2025-03-09 00:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:21:04] Production.INFO: Account Balance Start. [2025-03-09 00:21:04] Production.INFO: CreateAllLog Start [2025-03-09 00:21:04] Production.INFO: 117 [2025-03-09 00:21:04] Production.INFO: ==26955== Releasing lock... [2025-03-09 00:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:21:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:21:04] Production.INFO: ==26947== Releasing lock... [2025-03-09 00:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:21:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:21:04] Production.INFO: Total Charge 0 [2025-03-09 00:21:04] Production.INFO: CreateAllLog End [2025-03-09 00:21:04] Production.ERROR: done [2025-03-09 00:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:21:05] Production.ERROR: done [2025-03-09 00:21:05] Production.INFO: Account Balance End. [2025-03-09 00:21:05] Production.ERROR: CronJobId end 12 [2025-03-09 00:21:05] Production.INFO: ==26951== Releasing lock... [2025-03-09 00:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:21:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:21:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:21:06 [end_date_ymd] => 2025-03-09 00:21:06 [RateCDR] => 1 ) [2025-03-09 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-08 21:21:06' and `end` < '2025-03-09 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-09 00:21:14] Production.ERROR: CronJobId end10 [2025-03-09 00:21:14] Production.INFO: ==26949== Releasing lock... [2025-03-09 00:21:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:21:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:21:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:21:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:21:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:21:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:21:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:21:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:21:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:21:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:21:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:21:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:21:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:21:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:21:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:21:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:21:16] Production.INFO: call_cost start [2025-03-09 00:21:16] Production.INFO: call_cost end [2025-03-09 00:21:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:21:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:21:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:21:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:21:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:21:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:21:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:21:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:21:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:21:17] Production.INFO: ==26945== Releasing lock... [2025-03-09 00:21:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:21:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:21:18] Production.INFO: count ==723 [2025-03-09 00:21:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:21:06 - End Time 2025-03-09 00:21:06 [2025-03-09 00:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638781', 'tblTempUsageDetail_20' ) start [2025-03-09 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638781', 'tblTempUsageDetail_20' ) end [2025-03-09 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638781', 'tblTempVendorCDR_20' ) start [2025-03-09 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638781', 'tblTempVendorCDR_20' ) end [2025-03-09 00:21:18] Production.INFO: ProcessCDR(1,14638781,1,1,2) [2025-03-09 00:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638781', 'tblTempUsageDetail_20' ) start [2025-03-09 00:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638781', 'tblTempUsageDetail_20' ) end [2025-03-09 00:21:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:21:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:21:21] Production.INFO: ==26953== Releasing lock... [2025-03-09 00:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:21:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 05:22:01] Production.INFO: ==27018== Lock acquired, processing the job... [2025-03-09 05:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:22:01] Production.INFO: neon service started [2025-03-09 05:22:01] Production.INFO: neon service started [2025-03-09 05:22:01] Production.INFO: ==27018== Releasing lock... [2025-03-09 05:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:22:02] Production.INFO: ==27020== Lock acquired, processing the job... [2025-03-09 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:22:02] Production.INFO: ==27022== Lock acquired, processing the job... [2025-03-09 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:22:02] Production.INFO: ==27022== Releasing lock... [2025-03-09 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:22:02] Production.INFO: ==27020== Releasing lock... [2025-03-09 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:22:03] Production.INFO: ==27028== Lock acquired, processing the job... [2025-03-09 00:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:22:03] Production.INFO: ==27026== Lock acquired, processing the job... [2025-03-09 00:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:22:03] Production.INFO: ==27024== Lock acquired, processing the job... [2025-03-09 00:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:22:03] Production.INFO: ==27031== Lock acquired, processing the job... [2025-03-09 00:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:22:03] Production.INFO: ==27026== Releasing lock... [2025-03-09 00:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:22:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:22:03] Production.INFO: Account Balance Start. [2025-03-09 00:22:03] Production.INFO: CreateAllLog Start [2025-03-09 00:22:03] Production.INFO: 117 [2025-03-09 00:22:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:22:03] Production.INFO: ==27035== Lock acquired, processing the job... [2025-03-09 00:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:22:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:22:03] Production.INFO: ==27033== Lock acquired, processing the job... [2025-03-09 00:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:22:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:22:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:22:03] Production.INFO: Total Charge 0 [2025-03-09 00:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:22:03] Production.INFO: CreateAllLog End [2025-03-09 00:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:22:04] Production.INFO: count ==13 [2025-03-09 00:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:22:04] Production.INFO: count ==21 [2025-03-09 00:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638785') start [2025-03-09 00:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638785') end [2025-03-09 00:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:22:04] Production.INFO: 1 [2025-03-09 00:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:22:04] Production.ERROR: done [2025-03-09 00:22:04] Production.INFO: Account Balance End. [2025-03-09 00:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:22:04] Production.INFO: ==27035== Releasing lock... [2025-03-09 00:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:22:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:22:04] Production.INFO: ==27031== Releasing lock... [2025-03-09 00:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:22:04] Production.ERROR: done [2025-03-09 00:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:22:05 [end_date_ymd] => 2025-03-09 00:22:05 [RateCDR] => 1 ) [2025-03-09 00:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:22:05' and `end` < '2025-03-09 00:22:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:22:11] Production.ERROR: CronJobId end10 [2025-03-09 00:22:11] Production.INFO: ==27028== Releasing lock... [2025-03-09 00:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:22:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:22:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:22:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:22:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:22:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:22:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:22:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:22:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:22:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:22:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:22:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:22:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:22:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:22:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:22:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:22:13] Production.INFO: call_cost start [2025-03-09 00:22:13] Production.INFO: call_cost end [2025-03-09 00:22:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:22:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:22:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:22:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:22:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:22:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:22:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:22:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:22:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:22:14] Production.INFO: ==27024== Releasing lock... [2025-03-09 00:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:22:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:22:17] Production.INFO: count ==728 [2025-03-09 00:22:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:22:05 - End Time 2025-03-09 00:22:05 [2025-03-09 00:22:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638786', 'tblTempUsageDetail_20' ) start [2025-03-09 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638786', 'tblTempUsageDetail_20' ) end [2025-03-09 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638786', 'tblTempVendorCDR_20' ) start [2025-03-09 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638786', 'tblTempVendorCDR_20' ) end [2025-03-09 00:22:18] Production.INFO: ProcessCDR(1,14638786,1,1,2) [2025-03-09 00:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638786', 'tblTempUsageDetail_20' ) start [2025-03-09 00:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638786', 'tblTempUsageDetail_20' ) end [2025-03-09 00:22:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:22:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:22:21] Production.INFO: ==27033== Releasing lock... [2025-03-09 00:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:22:21] Production.INFO: 33.75 MB #Memory Used# [2025-03-09 05:23:02] Production.INFO: ==27091== Lock acquired, processing the job... [2025-03-09 05:23:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:23:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:23:02] Production.INFO: neon service started [2025-03-09 05:23:02] Production.INFO: neon service started [2025-03-09 05:23:02] Production.INFO: ==27091== Releasing lock... [2025-03-09 05:23:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:23:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:23:02] Production.INFO: ==27095== Lock acquired, processing the job... [2025-03-09 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:23:02] Production.INFO: ==27095== Releasing lock... [2025-03-09 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:23:02] Production.INFO: ==27093== Lock acquired, processing the job... [2025-03-09 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:23:03] Production.INFO: ==27093== Releasing lock... [2025-03-09 00:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:23:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:23:03] Production.INFO: ==27099== Lock acquired, processing the job... [2025-03-09 00:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:23:04] Production.INFO: ==27108== Lock acquired, processing the job... [2025-03-09 00:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:23:04] Production.INFO: ==27097== Lock acquired, processing the job... [2025-03-09 00:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:23:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:23:04] Production.INFO: ==27101== Lock acquired, processing the job... [2025-03-09 00:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 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-09 00:23:04] Production.INFO: ==27099== Releasing lock... [2025-03-09 00:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:23:04] Production.INFO: count ==13 [2025-03-09 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-09 00:23:04] Production.INFO: ==27104== Lock acquired, processing the job... [2025-03-09 00:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:23:04] Production.INFO: count ==21 [2025-03-09 00:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638788') start [2025-03-09 00:23:04] Production.INFO: ==27106== Lock acquired, processing the job... [2025-03-09 00:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:23:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:23:04] Production.INFO: Account Balance Start. [2025-03-09 00:23:04] Production.INFO: CreateAllLog Start [2025-03-09 00:23:04] Production.INFO: 117 [2025-03-09 00:23:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:23:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638788') end [2025-03-09 00:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:23:04] Production.INFO: 1 [2025-03-09 00:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:23:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:23:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:23:04] Production.INFO: Total Charge 0 [2025-03-09 00:23:04] Production.INFO: CreateAllLog End [2025-03-09 00:23:04] Production.INFO: ==27108== Releasing lock... [2025-03-09 00:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:23:04] Production.ERROR: done [2025-03-09 00:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:23:04] Production.ERROR: done [2025-03-09 00:23:04] Production.INFO: Account Balance End. [2025-03-09 00:23:05] Production.ERROR: CronJobId end 12 [2025-03-09 00:23:05] Production.INFO: ==27104== Releasing lock... [2025-03-09 00:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:23:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:23:05 [end_date_ymd] => 2025-03-09 00:23:05 [RateCDR] => 1 ) [2025-03-09 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-08 21:23:05' and `end` < '2025-03-09 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-09 00:23:11] Production.ERROR: CronJobId end10 [2025-03-09 00:23:11] Production.INFO: ==27101== Releasing lock... [2025-03-09 00:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:23:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:23:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:23:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:23:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:23:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:23:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:23:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:23:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:23:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:23:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:23:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:23:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:23:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:23:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:23:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:23:14] Production.INFO: call_cost start [2025-03-09 00:23:14] Production.INFO: call_cost end [2025-03-09 00:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:23:15] Production.INFO: ==27097== Releasing lock... [2025-03-09 00:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:23:17] Production.INFO: count ==727 [2025-03-09 00:23:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:23:05 - End Time 2025-03-09 00:23:05 [2025-03-09 00:23:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638791', 'tblTempUsageDetail_20' ) start [2025-03-09 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638791', 'tblTempUsageDetail_20' ) end [2025-03-09 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638791', 'tblTempVendorCDR_20' ) start [2025-03-09 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638791', 'tblTempVendorCDR_20' ) end [2025-03-09 00:23:18] Production.INFO: ProcessCDR(1,14638791,1,1,2) [2025-03-09 00:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638791', 'tblTempUsageDetail_20' ) start [2025-03-09 00:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638791', 'tblTempUsageDetail_20' ) end [2025-03-09 00:23:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:23:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:23:21] Production.INFO: ==27106== Releasing lock... [2025-03-09 00:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:23:21] Production.INFO: 34 MB #Memory Used# [2025-03-09 05:24:01] Production.INFO: ==27161== Lock acquired, processing the job... [2025-03-09 05:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:24:01] Production.INFO: neon service started [2025-03-09 05:24:01] Production.INFO: neon service started [2025-03-09 05:24:01] Production.INFO: ==27161== Releasing lock... [2025-03-09 05:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:24:02] Production.INFO: ==27163== Lock acquired, processing the job... [2025-03-09 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:24:02] Production.INFO: ==27163== Releasing lock... [2025-03-09 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:24:02] Production.INFO: ==27165== Lock acquired, processing the job... [2025-03-09 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:24:02] Production.INFO: ==27165== Releasing lock... [2025-03-09 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:24:03] Production.INFO: ==27171== Lock acquired, processing the job... [2025-03-09 00:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:24:03] Production.INFO: ==27177== Lock acquired, processing the job... [2025-03-09 00:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:24:03] Production.INFO: ==27167== Lock acquired, processing the job... [2025-03-09 00:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:24:03] Production.INFO: ==27169== Lock acquired, processing the job... [2025-03-09 00:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:24:03] Production.INFO: ==27173== Lock acquired, processing the job... [2025-03-09 00:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:24:03] Production.INFO: count ==13 [2025-03-09 00:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:24:03] Production.INFO: count ==21 [2025-03-09 00:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638792') start [2025-03-09 00:24:03] Production.INFO: Account Balance Start. [2025-03-09 00:24:03] Production.INFO: CreateAllLog Start [2025-03-09 00:24:03] Production.INFO: 117 [2025-03-09 00:24:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:24:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:24:03] Production.INFO: ==27175== Lock acquired, processing the job... [2025-03-09 00:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638792') end [2025-03-09 00:24:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:24:03] Production.INFO: 1 [2025-03-09 00:24:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:24:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:24:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:24:03] Production.INFO: ==27177== Releasing lock... [2025-03-09 00:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:24:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:24:03] Production.INFO: Total Charge 0 [2025-03-09 00:24:03] Production.INFO: CreateAllLog End [2025-03-09 00:24:04] Production.INFO: ==27169== Releasing lock... [2025-03-09 00:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:24:04] Production.ERROR: done [2025-03-09 00:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:24:04] Production.INFO: Account Balance End. [2025-03-09 00:24:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:24:04] Production.INFO: ==27173== Releasing lock... [2025-03-09 00:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:24:04] Production.ERROR: done [2025-03-09 00:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:24:05 [end_date_ymd] => 2025-03-09 00:24:05 [RateCDR] => 1 ) [2025-03-09 00:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:24:05' and `end` < '2025-03-09 00:24:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:24:10] Production.ERROR: CronJobId end10 [2025-03-09 00:24:10] Production.INFO: ==27171== Releasing lock... [2025-03-09 00:24:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:24:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:24:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:24:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:24:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:24:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:24:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:24:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:24:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:24:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:24:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:24:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:24:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:24:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:24:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:24:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:24:13] Production.INFO: call_cost start [2025-03-09 00:24:13] Production.INFO: call_cost end [2025-03-09 00:24:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:24:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:24:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:24:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:24:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:24:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:24:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:24:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:24:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:24:14] Production.INFO: ==27167== Releasing lock... [2025-03-09 00:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:24:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:24:17] Production.INFO: count ==731 [2025-03-09 00:24:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:24:05 - End Time 2025-03-09 00:24:05 [2025-03-09 00:24:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638796', 'tblTempUsageDetail_20' ) start [2025-03-09 00:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638796', 'tblTempUsageDetail_20' ) end [2025-03-09 00:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638796', 'tblTempVendorCDR_20' ) start [2025-03-09 00:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638796', 'tblTempVendorCDR_20' ) end [2025-03-09 00:24:17] Production.INFO: ProcessCDR(1,14638796,1,1,2) [2025-03-09 00:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:24:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638796', 'tblTempUsageDetail_20' ) start [2025-03-09 00:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638796', 'tblTempUsageDetail_20' ) end [2025-03-09 00:24:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:24:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:24:21] Production.INFO: ==27175== Releasing lock... [2025-03-09 00:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:24:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 05:25:02] Production.INFO: ==27236== Lock acquired, processing the job... [2025-03-09 05:25:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:25:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:25:02] Production.INFO: neon service started [2025-03-09 05:25:02] Production.INFO: neon service started [2025-03-09 05:25:02] Production.INFO: ==27236== Releasing lock... [2025-03-09 05:25:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:25:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:25:02] Production.INFO: ==27240== Lock acquired, processing the job... [2025-03-09 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:25:02] Production.INFO: ==27240== Releasing lock... [2025-03-09 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:25:02] Production.INFO: ==27238== Lock acquired, processing the job... [2025-03-09 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:25:03] Production.INFO: ==27238== Releasing lock... [2025-03-09 00:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:25:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:25:03] Production.INFO: ==27243== Lock acquired, processing the job... [2025-03-09 00:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:25:03] Production.INFO: ==27247== Lock acquired, processing the job... [2025-03-09 00:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:25:03] Production.INFO: ==27245== Lock acquired, processing the job... [2025-03-09 00:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:25:04] Production.INFO: ==27253== Lock acquired, processing the job... [2025-03-09 00:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:25:04] Production.INFO: ==27249== Lock acquired, processing the job... [2025-03-09 00:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:25:04] Production.INFO: ==27251== Lock acquired, processing the job... [2025-03-09 00:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:25:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:25:04] Production.INFO: Account Balance Start. [2025-03-09 00:25:04] Production.INFO: CreateAllLog Start [2025-03-09 00:25:04] Production.INFO: 117 [2025-03-09 00:25:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:25:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:25:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:25:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:25:04] Production.INFO: count ==13 [2025-03-09 00:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:25:04] Production.INFO: count ==21 [2025-03-09 00:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638799') start [2025-03-09 00:25:04] Production.INFO: Total Charge 0 [2025-03-09 00:25:04] Production.INFO: CreateAllLog End [2025-03-09 00:25:04] Production.INFO: ==27245== Releasing lock... [2025-03-09 00:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638799') end [2025-03-09 00:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:25:04] Production.INFO: 1 [2025-03-09 00:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:25:04] Production.INFO: Account Balance End. [2025-03-09 00:25:04] Production.ERROR: done [2025-03-09 00:25:04] Production.INFO: ==27253== Releasing lock... [2025-03-09 00:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:25:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:25:04] Production.INFO: ==27249== Releasing lock... [2025-03-09 00:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:25:04] Production.ERROR: done [2025-03-09 00:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:25:05 [end_date_ymd] => 2025-03-09 00:25:05 [RateCDR] => 1 ) [2025-03-09 00:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:25:05' and `end` < '2025-03-09 00:25:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:25:12] Production.ERROR: CronJobId end10 [2025-03-09 00:25:12] Production.INFO: ==27247== Releasing lock... [2025-03-09 00:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:25:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:25:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:25:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:25:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:25:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:25:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:25:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:25:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:25:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:25:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:25:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:25:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:25:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:25:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:25:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:25:14] Production.INFO: call_cost start [2025-03-09 00:25:14] Production.INFO: call_cost end [2025-03-09 00:25:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:25:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:25:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:25:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:25:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:25:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:25:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:25:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:25:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:25:15] Production.INFO: ==27243== Releasing lock... [2025-03-09 00:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:25:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:25:17] Production.INFO: count ==735 [2025-03-09 00:25:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:25:05 - End Time 2025-03-09 00:25:05 [2025-03-09 00:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638801', 'tblTempUsageDetail_20' ) start [2025-03-09 00:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638801', 'tblTempUsageDetail_20' ) end [2025-03-09 00:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638801', 'tblTempVendorCDR_20' ) start [2025-03-09 00:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638801', 'tblTempVendorCDR_20' ) end [2025-03-09 00:25:17] Production.INFO: ProcessCDR(1,14638801,1,1,2) [2025-03-09 00:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638801', 'tblTempUsageDetail_20' ) start [2025-03-09 00:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638801', 'tblTempUsageDetail_20' ) end [2025-03-09 00:25:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:25:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:25:21] Production.INFO: ==27251== Releasing lock... [2025-03-09 00:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:25:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 05:26:01] Production.INFO: ==27346== Lock acquired, processing the job... [2025-03-09 05:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:26:01] Production.INFO: neon service started [2025-03-09 05:26:01] Production.INFO: neon service started [2025-03-09 05:26:01] Production.INFO: ==27346== Releasing lock... [2025-03-09 05:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:26:02] Production.INFO: ==27350== Lock acquired, processing the job... [2025-03-09 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:26:02] Production.INFO: ==27350== Releasing lock... [2025-03-09 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:26:02] Production.INFO: ==27348== Lock acquired, processing the job... [2025-03-09 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:26:02] Production.INFO: ==27348== Releasing lock... [2025-03-09 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:26:03] Production.INFO: ==27355== Lock acquired, processing the job... [2025-03-09 00:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:26:03] Production.INFO: ==27357== Lock acquired, processing the job... [2025-03-09 00:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:26:03] Production.INFO: ==27359== Lock acquired, processing the job... [2025-03-09 00:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:26:03] Production.INFO: ==27353== Lock acquired, processing the job... [2025-03-09 00:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:26:03] Production.INFO: Account Balance Start. [2025-03-09 00:26:03] Production.INFO: CreateAllLog Start [2025-03-09 00:26:03] Production.INFO: 117 [2025-03-09 00:26:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:26:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:26:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:26:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:26:03] Production.INFO: ==27355== Releasing lock... [2025-03-09 00:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:26:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:26:03] Production.INFO: Total Charge 0 [2025-03-09 00:26:03] Production.INFO: ==27361== Lock acquired, processing the job... [2025-03-09 00:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:26:03] Production.INFO: CreateAllLog End [2025-03-09 00:26:03] Production.INFO: ==27363== Lock acquired, processing the job... [2025-03-09 00:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:26:03] Production.INFO: Account Balance End. [2025-03-09 00:26:03] Production.ERROR: CronJobId end 12 [2025-03-09 00:26:03] Production.INFO: ==27359== Releasing lock... [2025-03-09 00:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:26:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:26:03] Production.INFO: count ==13 [2025-03-09 00:26:04] Production.ERROR: done [2025-03-09 00:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:26:04] Production.INFO: count ==21 [2025-03-09 00:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638805') start [2025-03-09 00:26:04] Production.ERROR: done [2025-03-09 00:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638805') end [2025-03-09 00:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:26:04] Production.INFO: 1 [2025-03-09 00:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:26:04] Production.INFO: ==27363== Releasing lock... [2025-03-09 00:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:26:05 [end_date_ymd] => 2025-03-09 00:26:05 [RateCDR] => 1 ) [2025-03-09 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-08 21:26:05' and `end` < '2025-03-09 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-09 00:26:11] Production.ERROR: CronJobId end10 [2025-03-09 00:26:11] Production.INFO: ==27357== Releasing lock... [2025-03-09 00:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:26:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:26:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:26:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:26:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:26:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:26:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:26:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:26:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:26:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:26:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:26:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:26:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:26:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:26:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:26:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:26:14] Production.INFO: call_cost start [2025-03-09 00:26:14] Production.INFO: call_cost end [2025-03-09 00:26:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:26:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:26:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:26:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:26:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:26:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:26:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:26:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:26:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:26:15] Production.INFO: ==27353== Releasing lock... [2025-03-09 00:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:26:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:26:17] Production.INFO: count ==736 [2025-03-09 00:26:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:26:05 - End Time 2025-03-09 00:26:05 [2025-03-09 00:26:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638806', 'tblTempUsageDetail_20' ) start [2025-03-09 00:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638806', 'tblTempUsageDetail_20' ) end [2025-03-09 00:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638806', 'tblTempVendorCDR_20' ) start [2025-03-09 00:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638806', 'tblTempVendorCDR_20' ) end [2025-03-09 00:26:17] Production.INFO: ProcessCDR(1,14638806,1,1,2) [2025-03-09 00:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638806', 'tblTempUsageDetail_20' ) start [2025-03-09 00:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638806', 'tblTempUsageDetail_20' ) end [2025-03-09 00:26:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:26:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:26:20] Production.INFO: ==27361== Releasing lock... [2025-03-09 00:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:26:20] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 05:27:02] Production.INFO: ==27419== Lock acquired, processing the job... [2025-03-09 05:27:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:27:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:27:02] Production.INFO: neon service started [2025-03-09 05:27:02] Production.INFO: neon service started [2025-03-09 05:27:02] Production.INFO: ==27419== Releasing lock... [2025-03-09 05:27:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:27:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:27:02] Production.INFO: ==27421== Lock acquired, processing the job... [2025-03-09 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:27:02] Production.INFO: ==27423== Lock acquired, processing the job... [2025-03-09 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:27:02] Production.INFO: ==27423== Releasing lock... [2025-03-09 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:27:03] Production.INFO: ==27421== Releasing lock... [2025-03-09 00:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:27:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:27:04] Production.INFO: ==27428== Lock acquired, processing the job... [2025-03-09 00:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:27:04] Production.INFO: ==27426== Lock acquired, processing the job... [2025-03-09 00:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:27:04] Production.INFO: ==27436== Lock acquired, processing the job... [2025-03-09 00:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:27:04] Production.INFO: ==27430== Lock acquired, processing the job... [2025-03-09 00:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:27:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:27:04] Production.INFO: ==27432== Lock acquired, processing the job... [2025-03-09 00:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:27:04] Production.INFO: ==27434== Lock acquired, processing the job... [2025-03-09 00:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:27:04] Production.INFO: Account Balance Start. [2025-03-09 00:27:04] Production.INFO: CreateAllLog Start [2025-03-09 00:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:27:04] Production.INFO: 117 [2025-03-09 00:27:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:27:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:27:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:27:04] Production.INFO: count ==13 [2025-03-09 00:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:27:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:27:04] Production.INFO: count ==21 [2025-03-09 00:27:04] Production.INFO: ==27428== Releasing lock... [2025-03-09 00:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:27:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638809') start [2025-03-09 00:27:04] Production.INFO: Total Charge 0 [2025-03-09 00:27:04] Production.INFO: CreateAllLog End [2025-03-09 00:27:04] Production.ERROR: done [2025-03-09 00:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638809') end [2025-03-09 00:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:27:04] Production.INFO: 1 [2025-03-09 00:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:27:04] Production.INFO: Account Balance End. [2025-03-09 00:27:04] Production.ERROR: done [2025-03-09 00:27:04] Production.INFO: ==27436== Releasing lock... [2025-03-09 00:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:27:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:27:04] Production.INFO: ==27432== Releasing lock... [2025-03-09 00:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:27:05 [end_date_ymd] => 2025-03-09 00:27:05 [RateCDR] => 1 ) [2025-03-09 00:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:27:05' and `end` < '2025-03-09 00:27:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:27:12] Production.ERROR: CronJobId end10 [2025-03-09 00:27:12] Production.INFO: ==27430== Releasing lock... [2025-03-09 00:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:27:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:27:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:27:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:27:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:27:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:27:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:27:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:27:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:27:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:27:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:27:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:27:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:27:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:27:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:27:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:27:14] Production.INFO: call_cost start [2025-03-09 00:27:14] Production.INFO: call_cost end [2025-03-09 00:27:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:27:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:27:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:27:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:27:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:27:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:27:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:27:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:27:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:27:15] Production.INFO: ==27426== Releasing lock... [2025-03-09 00:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:27:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:27:17] Production.INFO: count ==732 [2025-03-09 00:27:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:27:05 - End Time 2025-03-09 00:27:05 [2025-03-09 00:27:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638811', 'tblTempUsageDetail_20' ) start [2025-03-09 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638811', 'tblTempUsageDetail_20' ) end [2025-03-09 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638811', 'tblTempVendorCDR_20' ) start [2025-03-09 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638811', 'tblTempVendorCDR_20' ) end [2025-03-09 00:27:18] Production.INFO: ProcessCDR(1,14638811,1,1,2) [2025-03-09 00:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638811', 'tblTempUsageDetail_20' ) start [2025-03-09 00:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638811', 'tblTempUsageDetail_20' ) end [2025-03-09 00:27:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:27:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:27:21] Production.INFO: ==27434== Releasing lock... [2025-03-09 00:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:27:21] Production.INFO: 34 MB #Memory Used# [2025-03-09 05:28:01] Production.INFO: ==27491== Lock acquired, processing the job... [2025-03-09 05:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:28:01] Production.INFO: neon service started [2025-03-09 05:28:01] Production.INFO: neon service started [2025-03-09 05:28:01] Production.INFO: ==27491== Releasing lock... [2025-03-09 05:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:28:02] Production.INFO: ==27493== Lock acquired, processing the job... [2025-03-09 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:28:02] Production.INFO: ==27493== Releasing lock... [2025-03-09 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:28:02] Production.INFO: ==27495== Lock acquired, processing the job... [2025-03-09 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:28:02] Production.INFO: ==27495== Releasing lock... [2025-03-09 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:28:03] Production.INFO: ==27506== Lock acquired, processing the job... [2025-03-09 00:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:28:03] Production.INFO: ==27508== Lock acquired, processing the job... [2025-03-09 00:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:28:03] Production.INFO: ==27498== Lock acquired, processing the job... [2025-03-09 00:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:28:03] Production.INFO: ==27500== Lock acquired, processing the job... [2025-03-09 00:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:28:03] Production.INFO: ==27502== Lock acquired, processing the job... [2025-03-09 00:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:28:03] Production.INFO: ==27504== Lock acquired, processing the job... [2025-03-09 00:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:28:03] Production.INFO: count ==13 [2025-03-09 00:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:28:03] Production.INFO: count ==21 [2025-03-09 00:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638812') start [2025-03-09 00:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:28:03] Production.INFO: Account Balance Start. [2025-03-09 00:28:03] Production.INFO: CreateAllLog Start [2025-03-09 00:28:03] Production.INFO: 117 [2025-03-09 00:28:03] Production.ERROR: done [2025-03-09 00:28:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:28:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638812') end [2025-03-09 00:28:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:28:03] Production.INFO: 1 [2025-03-09 00:28:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:28:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:28:03] Production.INFO: ==27508== Releasing lock... [2025-03-09 00:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:28:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:28:03] Production.ERROR: done [2025-03-09 00:28:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:28:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:28:03] Production.INFO: Total Charge 0 [2025-03-09 00:28:03] Production.INFO: CreateAllLog End [2025-03-09 00:28:04] Production.INFO: ==27500== Releasing lock... [2025-03-09 00:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:28:04] Production.INFO: Account Balance End. [2025-03-09 00:28:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:28:04] Production.INFO: ==27504== Releasing lock... [2025-03-09 00:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:28:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:28:04 [end_date_ymd] => 2025-03-09 00:28:04 [RateCDR] => 1 ) [2025-03-09 00:28:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:28:04' and `end` < '2025-03-09 00:28:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:28:11] Production.ERROR: CronJobId end10 [2025-03-09 00:28:11] Production.INFO: ==27502== Releasing lock... [2025-03-09 00:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:28:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:28:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:28:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:28:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:28:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:28:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:28:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:28:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:28:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:28:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:28:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:28:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:28:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:28:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:28:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:28:14] Production.INFO: call_cost start [2025-03-09 00:28:14] Production.INFO: call_cost end [2025-03-09 00:28:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:28:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:28:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:28:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:28:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:28:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:28:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:28:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:28:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:28:15] Production.INFO: ==27498== Releasing lock... [2025-03-09 00:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:28:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:28:16] Production.INFO: count ==731 [2025-03-09 00:28:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:28:04 - End Time 2025-03-09 00:28:04 [2025-03-09 00:28:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638816', 'tblTempUsageDetail_20' ) start [2025-03-09 00:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638816', 'tblTempUsageDetail_20' ) end [2025-03-09 00:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638816', 'tblTempVendorCDR_20' ) start [2025-03-09 00:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638816', 'tblTempVendorCDR_20' ) end [2025-03-09 00:28:17] Production.INFO: ProcessCDR(1,14638816,1,1,2) [2025-03-09 00:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:28:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638816', 'tblTempUsageDetail_20' ) start [2025-03-09 00:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638816', 'tblTempUsageDetail_20' ) end [2025-03-09 00:28:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:28:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:28:20] Production.INFO: ==27506== Releasing lock... [2025-03-09 00:28:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:28:20] Production.INFO: 34 MB #Memory Used# [2025-03-09 05:29:02] Production.INFO: ==27561== Lock acquired, processing the job... [2025-03-09 05:29:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:29:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:29:02] Production.INFO: neon service started [2025-03-09 05:29:02] Production.INFO: neon service started [2025-03-09 05:29:02] Production.INFO: ==27561== Releasing lock... [2025-03-09 05:29:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:29:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:29:02] Production.INFO: ==27564== Lock acquired, processing the job... [2025-03-09 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:29:02] Production.INFO: ==27566== Lock acquired, processing the job... [2025-03-09 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:29:02] Production.INFO: ==27564== Releasing lock... [2025-03-09 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:29:02] Production.INFO: ==27566== Releasing lock... [2025-03-09 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:29:03] Production.INFO: ==27568== Lock acquired, processing the job... [2025-03-09 00:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:29:03] Production.INFO: ==27572== Lock acquired, processing the job... [2025-03-09 00:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:29:03] Production.INFO: ==27574== Lock acquired, processing the job... [2025-03-09 00:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:29:03] Production.INFO: ==27570== Lock acquired, processing the job... [2025-03-09 00:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:29:03] Production.INFO: Account Balance Start. [2025-03-09 00:29:03] Production.INFO: CreateAllLog Start [2025-03-09 00:29:03] Production.INFO: 117 [2025-03-09 00:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:29:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:29:04] Production.INFO: ==27576== Lock acquired, processing the job... [2025-03-09 00:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:29:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:29:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:29:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:29:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:29:04] Production.INFO: ==27578== Lock acquired, processing the job... [2025-03-09 00:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:29:04] Production.INFO: Total Charge 0 [2025-03-09 00:29:04] Production.INFO: CreateAllLog End [2025-03-09 00:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:29:04] Production.INFO: count ==13 [2025-03-09 00:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:29:04] Production.INFO: count ==21 [2025-03-09 00:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638820') start [2025-03-09 00:29:04] Production.ERROR: done [2025-03-09 00:29:04] Production.INFO: ==27570== Releasing lock... [2025-03-09 00:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:29:04] Production.INFO: Account Balance End. [2025-03-09 00:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638820') end [2025-03-09 00:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:29:04] Production.INFO: 1 [2025-03-09 00:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:29:04] Production.INFO: ==27578== Releasing lock... [2025-03-09 00:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:29:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:29:04] Production.INFO: ==27574== Releasing lock... [2025-03-09 00:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:29:04] Production.ERROR: done [2025-03-09 00:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:29:05 [end_date_ymd] => 2025-03-09 00:29:05 [RateCDR] => 1 ) [2025-03-09 00:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:29:05' and `end` < '2025-03-09 00:29:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:29:13] Production.ERROR: CronJobId end10 [2025-03-09 00:29:13] Production.INFO: ==27572== Releasing lock... [2025-03-09 00:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:29:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:29:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:29:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:29:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:29:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:29:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:29:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:29:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:29:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:29:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:29:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:29:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:29:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:29:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:29:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:29:14] Production.INFO: call_cost start [2025-03-09 00:29:14] Production.INFO: call_cost end [2025-03-09 00:29:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:29:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:29:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:29:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:29:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:29:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:29:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:29:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:29:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:29:15] Production.INFO: ==27568== Releasing lock... [2025-03-09 00:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:29:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:29:18] Production.INFO: count ==728 [2025-03-09 00:29:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:29:05 - End Time 2025-03-09 00:29:05 [2025-03-09 00:29:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638821', 'tblTempUsageDetail_20' ) start [2025-03-09 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638821', 'tblTempUsageDetail_20' ) end [2025-03-09 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638821', 'tblTempVendorCDR_20' ) start [2025-03-09 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638821', 'tblTempVendorCDR_20' ) end [2025-03-09 00:29:18] Production.INFO: ProcessCDR(1,14638821,1,1,2) [2025-03-09 00:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638821', 'tblTempUsageDetail_20' ) start [2025-03-09 00:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638821', 'tblTempUsageDetail_20' ) end [2025-03-09 00:29:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:29:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:29:21] Production.INFO: ==27576== Releasing lock... [2025-03-09 00:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:29:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 05:30:01] Production.INFO: ==27634== Lock acquired, processing the job... [2025-03-09 05:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:30:01] Production.INFO: neon service started [2025-03-09 05:30:01] Production.INFO: neon service started [2025-03-09 05:30:01] Production.INFO: ==27634== Releasing lock... [2025-03-09 05:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:30:02] Production.INFO: ==27636== Lock acquired, processing the job... [2025-03-09 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:30:02] Production.INFO: ==27638== Lock acquired, processing the job... [2025-03-09 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:30:02] Production.INFO: ==27638== Releasing lock... [2025-03-09 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:30:02] Production.INFO: ==27636== Releasing lock... [2025-03-09 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:30:03] Production.INFO: ==27641== Lock acquired, processing the job... [2025-03-09 00:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 00:30:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 00:30:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 00:30:03] Production.INFO: ==27641== Releasing lock... [2025-03-09 00:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 00:30:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 00:30:03] Production.INFO: ==27643== Lock acquired, processing the job... [2025-03-09 00:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:30:03] Production.INFO: ==27645== Lock acquired, processing the job... [2025-03-09 00:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:30:03] Production.INFO: ==27647== Lock acquired, processing the job... [2025-03-09 00:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:30:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:30:03] Production.INFO: ==27649== Lock acquired, processing the job... [2025-03-09 00:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:30:04] Production.INFO: ==27653== Lock acquired, processing the job... [2025-03-09 00:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 00:30:04] Production.INFO: ==27651== Lock acquired, processing the job... [2025-03-09 00:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:30:04] Production.INFO: ==27655== Lock acquired, processing the job... [2025-03-09 00:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:30:04] Production.INFO: Account Balance Start. [2025-03-09 00:30:04] Production.INFO: CreateAllLog Start [2025-03-09 00:30:04] Production.INFO: 117 [2025-03-09 00:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:30:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:30:04] Production.INFO: count ==13 [2025-03-09 00:30:04] Production.INFO: ==27645== Releasing lock... [2025-03-09 00:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:30:04] Production.INFO: count ==21 [2025-03-09 00:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638824') start [2025-03-09 00:30:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:30:04] Production.INFO: Total Charge 0 [2025-03-09 00:30:04] Production.INFO: CreateAllLog End [2025-03-09 00:30:04] Production.ERROR: done [2025-03-09 00:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:30:04] Production.ERROR: done [2025-03-09 00:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638824') end [2025-03-09 00:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:30:04] Production.INFO: 1 [2025-03-09 00:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:30:04] Production.INFO: ==27655== Releasing lock... [2025-03-09 00:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 00:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638826', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 00:30:04] Production.INFO: Account Balance End. [2025-03-09 00:30:04] Production.ERROR: done [2025-03-09 00:30:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:30:04] Production.INFO: ==27649== Releasing lock... [2025-03-09 00:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:30:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:30:06 [end_date_ymd] => 2025-03-09 00:30:06 [RateCDR] => 1 ) [2025-03-09 00:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:30:06' and `end` < '2025-03-09 00:30:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638826', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 00:30:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 00:30:08] Production.INFO: ProcessCDR(1,14638826,1,1,2) [2025-03-09 00:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14638826,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14638826,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:30:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:30:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:30:08] Production.INFO: ==27653== Releasing lock... [2025-03-09 00:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 00:30:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 00:30:12] Production.ERROR: CronJobId end10 [2025-03-09 00:30:12] Production.INFO: ==27647== Releasing lock... [2025-03-09 00:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:30:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:30:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:30:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:30:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:30:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:30:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:30:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:30:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:30:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:30:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:30:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:30:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:30:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:30:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:30:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:30:15] Production.INFO: call_cost start [2025-03-09 00:30:15] Production.INFO: call_cost end [2025-03-09 00:30:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:30:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:30:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:30:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:30:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:30:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:30:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:30:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:30:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:30:16] Production.INFO: ==27643== Releasing lock... [2025-03-09 00:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:30:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:30:18] Production.INFO: count ==739 [2025-03-09 00:30:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:30:06 - End Time 2025-03-09 00:30:06 [2025-03-09 00:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638827', 'tblTempUsageDetail_20' ) start [2025-03-09 00:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638827', 'tblTempUsageDetail_20' ) end [2025-03-09 00:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638827', 'tblTempVendorCDR_20' ) start [2025-03-09 00:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638827', 'tblTempVendorCDR_20' ) end [2025-03-09 00:30:18] Production.INFO: ProcessCDR(1,14638827,1,1,2) [2025-03-09 00:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638827', 'tblTempUsageDetail_20' ) start [2025-03-09 00:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638827', 'tblTempUsageDetail_20' ) end [2025-03-09 00:30:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:30:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:30:21] Production.INFO: ==27651== Releasing lock... [2025-03-09 00:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:30:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 05:31:02] Production.INFO: ==27709== Lock acquired, processing the job... [2025-03-09 05:31:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:31:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:31:02] Production.INFO: neon service started [2025-03-09 05:31:02] Production.INFO: neon service started [2025-03-09 05:31:02] Production.INFO: ==27709== Releasing lock... [2025-03-09 05:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:31:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:31:02] Production.INFO: ==27711== Lock acquired, processing the job... [2025-03-09 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:31:02] Production.INFO: ==27714== Lock acquired, processing the job... [2025-03-09 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:31:02] Production.INFO: ==27714== Releasing lock... [2025-03-09 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:31:03] Production.INFO: ==27711== Releasing lock... [2025-03-09 00:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:31:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:31:03] Production.INFO: ==27716== Lock acquired, processing the job... [2025-03-09 00:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:31:04] Production.INFO: ==27718== Lock acquired, processing the job... [2025-03-09 00:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:31:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:31:04] Production.INFO: ==27724== Lock acquired, processing the job... [2025-03-09 00:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:31:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:31:04] Production.INFO: ==27720== Lock acquired, processing the job... [2025-03-09 00:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:31:04] Production.INFO: ==27722== Lock acquired, processing the job... [2025-03-09 00:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:31:04] Production.INFO: ==27726== Lock acquired, processing the job... [2025-03-09 00:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:31:04] Production.INFO: ==27718== Releasing lock... [2025-03-09 00:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:31:04] Production.INFO: Account Balance Start. [2025-03-09 00:31:04] Production.INFO: CreateAllLog Start [2025-03-09 00:31:04] Production.INFO: 117 [2025-03-09 00:31:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:31:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:31:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:31:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:31:04] Production.INFO: Total Charge 0 [2025-03-09 00:31:04] Production.INFO: CreateAllLog End [2025-03-09 00:31:04] Production.INFO: count ==13 [2025-03-09 00:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:31:04] Production.ERROR: done [2025-03-09 00:31:04] Production.INFO: count ==21 [2025-03-09 00:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638831') start [2025-03-09 00:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638831') end [2025-03-09 00:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:31:04] Production.INFO: 1 [2025-03-09 00:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:31:04] Production.INFO: Account Balance End. [2025-03-09 00:31:04] Production.ERROR: done [2025-03-09 00:31:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:31:04] Production.INFO: ==27722== Releasing lock... [2025-03-09 00:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:31:04] Production.INFO: ==27726== Releasing lock... [2025-03-09 00:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:31:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:31:06 [end_date_ymd] => 2025-03-09 00:31:06 [RateCDR] => 1 ) [2025-03-09 00: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-08 21:31:06' and `end` < '2025-03-09 00: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-09 00:31:12] Production.ERROR: CronJobId end10 [2025-03-09 00:31:12] Production.INFO: ==27720== Releasing lock... [2025-03-09 00:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:31:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:31:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:31:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:31:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:31:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:31:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:31:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:31:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:31:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:31:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:31:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:31:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:31:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:31:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:31:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:31:14] Production.INFO: call_cost start [2025-03-09 00:31:14] Production.INFO: call_cost end [2025-03-09 00:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:31:15] Production.INFO: ==27716== Releasing lock... [2025-03-09 00:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:31:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:31:18] Production.INFO: count ==754 [2025-03-09 00:31:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:31:06 - End Time 2025-03-09 00:31:06 [2025-03-09 00:31:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638832', 'tblTempUsageDetail_20' ) start [2025-03-09 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638832', 'tblTempUsageDetail_20' ) end [2025-03-09 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638832', 'tblTempVendorCDR_20' ) start [2025-03-09 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638832', 'tblTempVendorCDR_20' ) end [2025-03-09 00:31:18] Production.INFO: ProcessCDR(1,14638832,1,1,2) [2025-03-09 00:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638832', 'tblTempUsageDetail_20' ) start [2025-03-09 00:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638832', 'tblTempUsageDetail_20' ) end [2025-03-09 00:31:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:31:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:31:23] Production.INFO: ==27724== Releasing lock... [2025-03-09 00:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:31:23] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 05:32:01] Production.INFO: ==27779== Lock acquired, processing the job... [2025-03-09 05:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:32:01] Production.INFO: neon service started [2025-03-09 05:32:01] Production.INFO: neon service started [2025-03-09 05:32:01] Production.INFO: ==27779== Releasing lock... [2025-03-09 05:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:32:02] Production.INFO: ==27781== Lock acquired, processing the job... [2025-03-09 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:32:02] Production.INFO: ==27781== Releasing lock... [2025-03-09 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:32:02] Production.INFO: ==27783== Lock acquired, processing the job... [2025-03-09 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:32:02] Production.INFO: ==27783== Releasing lock... [2025-03-09 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:32:03] Production.INFO: ==27794== Lock acquired, processing the job... [2025-03-09 00:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:32:03] Production.INFO: ==27796== Lock acquired, processing the job... [2025-03-09 00:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:32:03] Production.INFO: ==27786== Lock acquired, processing the job... [2025-03-09 00:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00: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-09 00:32:03] Production.INFO: ==27788== Lock acquired, processing the job... [2025-03-09 00:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:32:03] Production.INFO: ==27790== Lock acquired, processing the job... [2025-03-09 00:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:32:03] Production.INFO: count ==13 [2025-03-09 00: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-09 00:32:03] Production.INFO: count ==21 [2025-03-09 00:32:03] Production.INFO: ==27792== Lock acquired, processing the job... [2025-03-09 00:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638833') start [2025-03-09 00:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638833') end [2025-03-09 00:32:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:32:03] Production.INFO: 1 [2025-03-09 00:32:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:32:03] Production.INFO: Account Balance Start. [2025-03-09 00:32:03] Production.INFO: CreateAllLog Start [2025-03-09 00:32:03] Production.INFO: 117 [2025-03-09 00:32:03] Production.INFO: ==27796== Releasing lock... [2025-03-09 00:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:32:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:32:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:32:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:32:03] Production.ERROR: done [2025-03-09 00:32:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:32:03] Production.INFO: ==27788== Releasing lock... [2025-03-09 00:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:32:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:32:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:32:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:32:04] Production.INFO: Total Charge 0 [2025-03-09 00:32:04] Production.ERROR: done [2025-03-09 00:32:04] Production.INFO: CreateAllLog End [2025-03-09 00:32:04] Production.INFO: Account Balance End. [2025-03-09 00:32:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:32:04] Production.INFO: ==27792== Releasing lock... [2025-03-09 00:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:32:05 [end_date_ymd] => 2025-03-09 00:32:05 [RateCDR] => 1 ) [2025-03-09 00:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:32:05' and `end` < '2025-03-09 00:32:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:32:11] Production.ERROR: CronJobId end10 [2025-03-09 00:32:11] Production.INFO: ==27790== Releasing lock... [2025-03-09 00:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:32:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:32:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:32:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:32:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:32:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:32:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:32:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:32:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:32:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:32:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:32:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:32:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:32:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:32:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:32:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:32:13] Production.INFO: call_cost start [2025-03-09 00:32:13] Production.INFO: call_cost end [2025-03-09 00:32:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:32:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:32:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:32:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:32:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:32:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:32:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:32:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:32:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:32:14] Production.INFO: ==27786== Releasing lock... [2025-03-09 00:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:32:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:32:17] Production.INFO: count ==753 [2025-03-09 00:32:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:32:05 - End Time 2025-03-09 00:32:05 [2025-03-09 00:32:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638837', 'tblTempUsageDetail_20' ) start [2025-03-09 00:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638837', 'tblTempUsageDetail_20' ) end [2025-03-09 00:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638837', 'tblTempVendorCDR_20' ) start [2025-03-09 00:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638837', 'tblTempVendorCDR_20' ) end [2025-03-09 00:32:17] Production.INFO: ProcessCDR(1,14638837,1,1,2) [2025-03-09 00:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:32:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638837', 'tblTempUsageDetail_20' ) start [2025-03-09 00:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638837', 'tblTempUsageDetail_20' ) end [2025-03-09 00:32:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:32:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:32:20] Production.INFO: ==27794== Releasing lock... [2025-03-09 00:32:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:32:20] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 05:33:02] Production.INFO: ==27852== Lock acquired, processing the job... [2025-03-09 05:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:33:02] Production.INFO: neon service started [2025-03-09 05:33:02] Production.INFO: neon service started [2025-03-09 05:33:02] Production.INFO: ==27852== Releasing lock... [2025-03-09 05:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:33:02] Production.INFO: ==27854== Lock acquired, processing the job... [2025-03-09 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:33:02] Production.INFO: ==27854== Releasing lock... [2025-03-09 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:33:03] Production.INFO: ==27856== Lock acquired, processing the job... [2025-03-09 05:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:33:03] Production.INFO: ==27856== Releasing lock... [2025-03-09 05:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:33:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:33:03] Production.INFO: ==27861== Lock acquired, processing the job... [2025-03-09 00:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:33:03] Production.INFO: ==27859== Lock acquired, processing the job... [2025-03-09 00:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:33:03] Production.INFO: ==27869== Lock acquired, processing the job... [2025-03-09 00:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:33:03] Production.INFO: ==27863== Lock acquired, processing the job... [2025-03-09 00:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:33:03] Production.INFO: ==27865== Lock acquired, processing the job... [2025-03-09 00:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:33:04] Production.INFO: ==27867== Lock acquired, processing the job... [2025-03-09 00:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:33:04] Production.INFO: ==27861== Releasing lock... [2025-03-09 00:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:33:04] Production.INFO: Account Balance Start. [2025-03-09 00:33:04] Production.INFO: CreateAllLog Start [2025-03-09 00:33:04] Production.INFO: 117 [2025-03-09 00:33:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:33:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:33:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:33:04] Production.INFO: count ==13 [2025-03-09 00:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:33:04] Production.INFO: count ==21 [2025-03-09 00:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638840') start [2025-03-09 00:33:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:33:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638840') end [2025-03-09 00:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:33:04] Production.INFO: 1 [2025-03-09 00:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:33:04] Production.INFO: Total Charge 0 [2025-03-09 00:33:04] Production.INFO: CreateAllLog End [2025-03-09 00:33:04] Production.INFO: ==27869== Releasing lock... [2025-03-09 00:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:33:04] Production.ERROR: done [2025-03-09 00:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:33:04] Production.INFO: Account Balance End. [2025-03-09 00:33:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:33:04] Production.INFO: ==27865== Releasing lock... [2025-03-09 00:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:33:04] Production.ERROR: done [2025-03-09 00:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:33:05 [end_date_ymd] => 2025-03-09 00:33:05 [RateCDR] => 1 ) [2025-03-09 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-08 21:33:05' and `end` < '2025-03-09 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-09 00:33:11] Production.ERROR: CronJobId end10 [2025-03-09 00:33:11] Production.INFO: ==27863== Releasing lock... [2025-03-09 00:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:33:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:33:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:33:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:33:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:33:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:33:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:33:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:33:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:33:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:33:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:33:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:33:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:33:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:33:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:33:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:33:13] Production.INFO: call_cost start [2025-03-09 00:33:13] Production.INFO: call_cost end [2025-03-09 00:33:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:33:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:33:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:33:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:33:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:33:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:33:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:33:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:33:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:33:14] Production.INFO: ==27859== Releasing lock... [2025-03-09 00:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:33:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:33:18] Production.INFO: count ==749 [2025-03-09 00:33:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:33:05 - End Time 2025-03-09 00:33:05 [2025-03-09 00:33:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638842', 'tblTempUsageDetail_20' ) start [2025-03-09 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638842', 'tblTempUsageDetail_20' ) end [2025-03-09 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638842', 'tblTempVendorCDR_20' ) start [2025-03-09 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638842', 'tblTempVendorCDR_20' ) end [2025-03-09 00:33:18] Production.INFO: ProcessCDR(1,14638842,1,1,2) [2025-03-09 00:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638842', 'tblTempUsageDetail_20' ) start [2025-03-09 00:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638842', 'tblTempUsageDetail_20' ) end [2025-03-09 00:33:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:33:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:33:21] Production.INFO: ==27867== Releasing lock... [2025-03-09 00:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:33:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 05:34:01] Production.INFO: ==27925== Lock acquired, processing the job... [2025-03-09 05:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:34:01] Production.INFO: neon service started [2025-03-09 05:34:01] Production.INFO: neon service started [2025-03-09 05:34:01] Production.INFO: ==27925== Releasing lock... [2025-03-09 05:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:34:02] Production.INFO: ==27927== Lock acquired, processing the job... [2025-03-09 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:34:02] Production.INFO: ==27927== Releasing lock... [2025-03-09 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:34:02] Production.INFO: ==27929== Lock acquired, processing the job... [2025-03-09 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:34:02] Production.INFO: ==27929== Releasing lock... [2025-03-09 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:34:03] Production.INFO: ==27931== Lock acquired, processing the job... [2025-03-09 00:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:34:03] Production.INFO: ==27933== Lock acquired, processing the job... [2025-03-09 00:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:34:03] Production.INFO: ==27937== Lock acquired, processing the job... [2025-03-09 00:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:34:03] Production.INFO: Account Balance Start. [2025-03-09 00:34:03] Production.INFO: CreateAllLog Start [2025-03-09 00:34:03] Production.INFO: 117 [2025-03-09 00:34:03] Production.INFO: ==27935== Lock acquired, processing the job... [2025-03-09 00:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:34:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:34:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:34:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:34:03] Production.INFO: ==27939== Lock acquired, processing the job... [2025-03-09 00:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:34:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:34:03] Production.INFO: ==27941== Lock acquired, processing the job... [2025-03-09 00:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:34:03] Production.INFO: Total Charge 0 [2025-03-09 00:34:03] Production.INFO: ==27933== Releasing lock... [2025-03-09 00:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:34:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:34:03] Production.INFO: CreateAllLog End [2025-03-09 00:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:34:03] Production.INFO: count ==13 [2025-03-09 00:34:03] Production.INFO: Account Balance End. [2025-03-09 00:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:34:03] Production.INFO: count ==21 [2025-03-09 00:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638846') start [2025-03-09 00:34:03] Production.ERROR: CronJobId end 12 [2025-03-09 00:34:03] Production.INFO: ==27937== Releasing lock... [2025-03-09 00:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:34:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:34:03] Production.ERROR: done [2025-03-09 00:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638846') end [2025-03-09 00:34:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:34:03] Production.INFO: 1 [2025-03-09 00:34:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:34:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:34:04] Production.INFO: ==27941== Releasing lock... [2025-03-09 00:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:34:04] Production.ERROR: done [2025-03-09 00:34:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:34:04 [end_date_ymd] => 2025-03-09 00:34:04 [RateCDR] => 1 ) [2025-03-09 00:34:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:34:04' and `end` < '2025-03-09 00:34:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:34:10] Production.ERROR: CronJobId end10 [2025-03-09 00:34:10] Production.INFO: ==27935== Releasing lock... [2025-03-09 00:34:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:34:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:34:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:34:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:34:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:34:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:34:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:34:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:34:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:34:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:34:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:34:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:34:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:34:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:34:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:34:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:34:13] Production.INFO: call_cost start [2025-03-09 00:34:13] Production.INFO: call_cost end [2025-03-09 00:34:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:34:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:34:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:34:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:34:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:34:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:34:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:34:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:34:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:34:14] Production.INFO: ==27931== Releasing lock... [2025-03-09 00:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:34:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:34:17] Production.INFO: count ==747 [2025-03-09 00:34:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:34:04 - End Time 2025-03-09 00:34:04 [2025-03-09 00:34:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638847', 'tblTempUsageDetail_20' ) start [2025-03-09 00:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638847', 'tblTempUsageDetail_20' ) end [2025-03-09 00:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638847', 'tblTempVendorCDR_20' ) start [2025-03-09 00:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638847', 'tblTempVendorCDR_20' ) end [2025-03-09 00:34:17] Production.INFO: ProcessCDR(1,14638847,1,1,2) [2025-03-09 00:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:34:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638847', 'tblTempUsageDetail_20' ) start [2025-03-09 00:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638847', 'tblTempUsageDetail_20' ) end [2025-03-09 00:34:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:34:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:34:20] Production.INFO: ==27939== Releasing lock... [2025-03-09 00:34:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:34:20] Production.INFO: 34 MB #Memory Used# [2025-03-09 05:35:02] Production.INFO: ==27999== Lock acquired, processing the job... [2025-03-09 05:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:35:02] Production.INFO: neon service started [2025-03-09 05:35:02] Production.INFO: neon service started [2025-03-09 05:35:02] Production.INFO: ==27999== Releasing lock... [2025-03-09 05:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:35:02] Production.INFO: ==28003== Lock acquired, processing the job... [2025-03-09 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:35:02] Production.INFO: ==28003== Releasing lock... [2025-03-09 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:35:02] Production.INFO: ==28001== Lock acquired, processing the job... [2025-03-09 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:35:02] Production.INFO: ==28001== Releasing lock... [2025-03-09 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:35:03] Production.INFO: ==28005== Lock acquired, processing the job... [2025-03-09 00:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:35:03] Production.INFO: ==28009== Lock acquired, processing the job... [2025-03-09 00:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:35:03] Production.INFO: ==28007== Lock acquired, processing the job... [2025-03-09 00:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:35:03] Production.INFO: ==28012== Lock acquired, processing the job... [2025-03-09 00:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:35:03] Production.INFO: Account Balance Start. [2025-03-09 00:35:03] Production.INFO: CreateAllLog Start [2025-03-09 00:35:03] Production.INFO: 117 [2025-03-09 00:35:03] Production.INFO: ==28014== Lock acquired, processing the job... [2025-03-09 00:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:35:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:35:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:35:03] Production.INFO: ==28017== Lock acquired, processing the job... [2025-03-09 00:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:35:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:35:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:35:04] Production.INFO: Total Charge 0 [2025-03-09 00:35:04] Production.INFO: CreateAllLog End [2025-03-09 00:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:35:04] Production.INFO: count ==13 [2025-03-09 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-09 00:35:04] Production.INFO: ==28007== Releasing lock... [2025-03-09 00:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:35:04] Production.INFO: count ==21 [2025-03-09 00:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638851') start [2025-03-09 00:35:04] Production.INFO: Account Balance End. [2025-03-09 00:35:04] Production.ERROR: done [2025-03-09 00:35:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:35:04] Production.INFO: ==28012== Releasing lock... [2025-03-09 00:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638851') end [2025-03-09 00:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:35:04] Production.INFO: 1 [2025-03-09 00:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:35:04] Production.ERROR: done [2025-03-09 00:35:04] Production.INFO: ==28017== Releasing lock... [2025-03-09 00:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:35:05 [end_date_ymd] => 2025-03-09 00:35:05 [RateCDR] => 1 ) [2025-03-09 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-08 21:35:05' and `end` < '2025-03-09 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-09 00:35:12] Production.ERROR: CronJobId end10 [2025-03-09 00:35:12] Production.INFO: ==28009== Releasing lock... [2025-03-09 00:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:35:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:35:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:35:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:35:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:35:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:35:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:35:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:35:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:35:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:35:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:35:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:35:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:35:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:35:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:35:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:35:15] Production.INFO: call_cost start [2025-03-09 00:35:15] Production.INFO: call_cost end [2025-03-09 00:35:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:35:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:35:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:35:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:35:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:35:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:35:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:35:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:35:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:35:16] Production.INFO: ==28005== Releasing lock... [2025-03-09 00:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:35:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:35:18] Production.INFO: count ==750 [2025-03-09 00:35:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:35:05 - End Time 2025-03-09 00:35:05 [2025-03-09 00:35:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638852', 'tblTempUsageDetail_20' ) start [2025-03-09 00:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638852', 'tblTempUsageDetail_20' ) end [2025-03-09 00:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638852', 'tblTempVendorCDR_20' ) start [2025-03-09 00:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638852', 'tblTempVendorCDR_20' ) end [2025-03-09 00:35:18] Production.INFO: ProcessCDR(1,14638852,1,1,2) [2025-03-09 00:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638852', 'tblTempUsageDetail_20' ) start [2025-03-09 00:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638852', 'tblTempUsageDetail_20' ) end [2025-03-09 00:35:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:35:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:35:22] Production.INFO: ==28014== Releasing lock... [2025-03-09 00:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:35:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 05:36:01] Production.INFO: ==28073== Lock acquired, processing the job... [2025-03-09 05:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:36:01] Production.INFO: neon service started [2025-03-09 05:36:01] Production.INFO: neon service started [2025-03-09 05:36:01] Production.INFO: ==28073== Releasing lock... [2025-03-09 05:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:36:01] Production.INFO: ==28077== Lock acquired, processing the job... [2025-03-09 05:36:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:36:01] Production.INFO: ==28077== Releasing lock... [2025-03-09 05:36:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:36:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:36:02] Production.INFO: ==28075== Lock acquired, processing the job... [2025-03-09 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:36:02] Production.INFO: ==28075== Releasing lock... [2025-03-09 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:36:03] Production.INFO: ==28080== Lock acquired, processing the job... [2025-03-09 00:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:36:03] Production.INFO: ==28082== Lock acquired, processing the job... [2025-03-09 00:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:36:03] Production.INFO: ==28088== Lock acquired, processing the job... [2025-03-09 00:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:36:03] Production.INFO: ==28082== Releasing lock... [2025-03-09 00:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:36:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:36:03] Production.INFO: ==28084== Lock acquired, processing the job... [2025-03-09 00:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:36:03] Production.INFO: ==28086== Lock acquired, processing the job... [2025-03-09 00:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:36:03] Production.INFO: ==28090== Lock acquired, processing the job... [2025-03-09 00:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:36:03] Production.INFO: Account Balance Start. [2025-03-09 00:36:03] Production.INFO: CreateAllLog Start [2025-03-09 00:36:03] Production.INFO: 117 [2025-03-09 00:36:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:36:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:36:03] Production.ERROR: done [2025-03-09 00:36:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:36:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:36:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:36:03] Production.INFO: Total Charge 0 [2025-03-09 00:36:03] Production.INFO: CreateAllLog End [2025-03-09 00:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:36:04] Production.INFO: count ==13 [2025-03-09 00:36:04] Production.ERROR: done [2025-03-09 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-09 00:36:04] Production.INFO: count ==21 [2025-03-09 00:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638856') start [2025-03-09 00:36:04] Production.INFO: Account Balance End. [2025-03-09 00:36:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:36:04] Production.INFO: ==28086== Releasing lock... [2025-03-09 00:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638856') end [2025-03-09 00:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:36:04] Production.INFO: 1 [2025-03-09 00:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:36:04] Production.INFO: ==28090== Releasing lock... [2025-03-09 00:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:36:05 [end_date_ymd] => 2025-03-09 00:36:05 [RateCDR] => 1 ) [2025-03-09 00:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:36:05' and `end` < '2025-03-09 00:36:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:36:11] Production.ERROR: CronJobId end10 [2025-03-09 00:36:11] Production.INFO: ==28084== Releasing lock... [2025-03-09 00:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:36:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:36:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:36:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:36:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:36:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:36:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:36:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:36:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:36:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:36:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:36:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:36:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:36:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:36:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:36:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:36:13] Production.INFO: call_cost start [2025-03-09 00:36:13] Production.INFO: call_cost end [2025-03-09 00:36:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:36:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:36:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:36:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:36:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:36:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:36:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:36:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:36:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:36:14] Production.INFO: ==28080== Releasing lock... [2025-03-09 00:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:36:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:36:17] Production.INFO: count ==751 [2025-03-09 00:36:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:36:05 - End Time 2025-03-09 00:36:05 [2025-03-09 00:36:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638857', 'tblTempUsageDetail_20' ) start [2025-03-09 00:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638857', 'tblTempUsageDetail_20' ) end [2025-03-09 00:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638857', 'tblTempVendorCDR_20' ) start [2025-03-09 00:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638857', 'tblTempVendorCDR_20' ) end [2025-03-09 00:36:17] Production.INFO: ProcessCDR(1,14638857,1,1,2) [2025-03-09 00:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638857', 'tblTempUsageDetail_20' ) start [2025-03-09 00:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638857', 'tblTempUsageDetail_20' ) end [2025-03-09 00:36:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:36:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:36:20] Production.INFO: ==28088== Releasing lock... [2025-03-09 00:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:36:20] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 05:37:01] Production.INFO: ==28146== Lock acquired, processing the job... [2025-03-09 05:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:37:02] Production.INFO: neon service started [2025-03-09 05:37:02] Production.INFO: neon service started [2025-03-09 05:37:02] Production.INFO: ==28146== Releasing lock... [2025-03-09 05:37:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:37:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:37:02] Production.INFO: ==28148== Lock acquired, processing the job... [2025-03-09 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:37:02] Production.INFO: ==28150== Lock acquired, processing the job... [2025-03-09 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:37:02] Production.INFO: ==28150== Releasing lock... [2025-03-09 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:37:02] Production.INFO: ==28148== Releasing lock... [2025-03-09 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:37:03] Production.INFO: ==28153== Lock acquired, processing the job... [2025-03-09 00:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:37:03] Production.INFO: ==28155== Lock acquired, processing the job... [2025-03-09 00:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:37:03] Production.INFO: ==28163== Lock acquired, processing the job... [2025-03-09 00:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 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-09 00:37:04] Production.INFO: count ==13 [2025-03-09 00:37:04] Production.INFO: ==28157== Lock acquired, processing the job... [2025-03-09 00:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:37:04] Production.INFO: count ==21 [2025-03-09 00:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638859') start [2025-03-09 00:37:04] Production.INFO: ==28159== Lock acquired, processing the job... [2025-03-09 00:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638859') end [2025-03-09 00:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:37:04] Production.INFO: 1 [2025-03-09 00:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:37:04] Production.INFO: ==28163== Releasing lock... [2025-03-09 00:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:37:04] Production.INFO: ==28155== Releasing lock... [2025-03-09 00:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:37:04] Production.INFO: ==28161== Lock acquired, processing the job... [2025-03-09 00:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:37:04] Production.INFO: Account Balance Start. [2025-03-09 00:37:04] Production.INFO: CreateAllLog Start [2025-03-09 00:37:04] Production.INFO: 117 [2025-03-09 00:37:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:37:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:37:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:37:04] Production.INFO: Total Charge 0 [2025-03-09 00:37:04] Production.INFO: CreateAllLog End [2025-03-09 00:37:04] Production.ERROR: done [2025-03-09 00:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:37:04] Production.ERROR: done [2025-03-09 00:37:04] Production.INFO: Account Balance End. [2025-03-09 00:37:05] Production.ERROR: CronJobId end 12 [2025-03-09 00:37:05] Production.INFO: ==28159== Releasing lock... [2025-03-09 00:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:37:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:37:05 [end_date_ymd] => 2025-03-09 00:37:05 [RateCDR] => 1 ) [2025-03-09 00:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:37:05' and `end` < '2025-03-09 00:37:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:37:11] Production.ERROR: CronJobId end10 [2025-03-09 00:37:11] Production.INFO: ==28157== Releasing lock... [2025-03-09 00:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:37:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:37:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:37:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:37:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:37:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:37:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:37:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:37:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:37:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:37:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:37:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:37:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:37:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:37:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:37:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:37:14] Production.INFO: call_cost start [2025-03-09 00:37:14] Production.INFO: call_cost end [2025-03-09 00:37:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:37:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:37:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:37:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:37:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:37:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:37:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:37:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:37:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:37:14] Production.INFO: ==28153== Releasing lock... [2025-03-09 00:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:37:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:37:17] Production.INFO: count ==753 [2025-03-09 00:37:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:37:05 - End Time 2025-03-09 00:37:05 [2025-03-09 00:37:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638862', 'tblTempUsageDetail_20' ) start [2025-03-09 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638862', 'tblTempUsageDetail_20' ) end [2025-03-09 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638862', 'tblTempVendorCDR_20' ) start [2025-03-09 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638862', 'tblTempVendorCDR_20' ) end [2025-03-09 00:37:18] Production.INFO: ProcessCDR(1,14638862,1,1,2) [2025-03-09 00:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638862', 'tblTempUsageDetail_20' ) start [2025-03-09 00:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638862', 'tblTempUsageDetail_20' ) end [2025-03-09 00:37:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:37:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:37:21] Production.INFO: ==28161== Releasing lock... [2025-03-09 00:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:37:21] Production.INFO: 34 MB #Memory Used# [2025-03-09 05:38:01] Production.INFO: ==28221== Lock acquired, processing the job... [2025-03-09 05:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:38:01] Production.INFO: neon service started [2025-03-09 05:38:01] Production.INFO: neon service started [2025-03-09 05:38:01] Production.INFO: ==28221== Releasing lock... [2025-03-09 05:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:38:01] Production.INFO: ==28223== Lock acquired, processing the job... [2025-03-09 00:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:38:02] Production.INFO: ==28223== Releasing lock... [2025-03-09 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:38:02] Production.INFO: ==28225== Lock acquired, processing the job... [2025-03-09 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:38:02] Production.INFO: ==28225== Releasing lock... [2025-03-09 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:38:03] Production.INFO: ==28231== Lock acquired, processing the job... [2025-03-09 00:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:38:03] Production.INFO: ==28237== Lock acquired, processing the job... [2025-03-09 00:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:38:03] Production.INFO: ==28227== Lock acquired, processing the job... [2025-03-09 00:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:38:03] Production.INFO: ==28229== Lock acquired, processing the job... [2025-03-09 00:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:38:03] Production.INFO: ==28233== Lock acquired, processing the job... [2025-03-09 00:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:38:03] Production.INFO: count ==13 [2025-03-09 00:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:38:03] Production.INFO: count ==21 [2025-03-09 00:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638863') start [2025-03-09 00:38:03] Production.INFO: ==28235== Lock acquired, processing the job... [2025-03-09 00:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638863') end [2025-03-09 00:38:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:38:03] Production.INFO: 1 [2025-03-09 00:38:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:38:03] Production.INFO: Account Balance Start. [2025-03-09 00:38:03] Production.INFO: CreateAllLog Start [2025-03-09 00:38:03] Production.INFO: 117 [2025-03-09 00:38:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:38:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:38:03] Production.INFO: Total Charge 0 [2025-03-09 00:38:03] Production.INFO: ==28237== Releasing lock... [2025-03-09 00:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:38:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:38:03] Production.INFO: CreateAllLog End [2025-03-09 00:38:03] Production.INFO: ==28229== Releasing lock... [2025-03-09 00:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:38:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:38:04] Production.ERROR: done [2025-03-09 00:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:38:04] Production.INFO: Account Balance End. [2025-03-09 00:38:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:38:04] Production.INFO: ==28233== Releasing lock... [2025-03-09 00:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:38:04] Production.ERROR: done [2025-03-09 00:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:38:05 [end_date_ymd] => 2025-03-09 00:38:05 [RateCDR] => 1 ) [2025-03-09 00:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:38:05' and `end` < '2025-03-09 00:38:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:38:11] Production.ERROR: CronJobId end10 [2025-03-09 00:38:11] Production.INFO: ==28231== Releasing lock... [2025-03-09 00:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:38:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:38:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:38:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:38:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:38:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:38:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:38:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:38:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:38:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:38:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:38:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:38:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:38:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:38:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:38:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:38:15] Production.INFO: call_cost start [2025-03-09 00:38:15] Production.INFO: call_cost end [2025-03-09 00:38:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:38:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:38:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:38:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:38:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:38:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:38:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:38:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:38:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:38:16] Production.INFO: ==28227== Releasing lock... [2025-03-09 00:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:38:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:38:17] Production.INFO: count ==751 [2025-03-09 00:38:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:38:05 - End Time 2025-03-09 00:38:05 [2025-03-09 00:38:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638867', 'tblTempUsageDetail_20' ) start [2025-03-09 00:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638867', 'tblTempUsageDetail_20' ) end [2025-03-09 00:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638867', 'tblTempVendorCDR_20' ) start [2025-03-09 00:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638867', 'tblTempVendorCDR_20' ) end [2025-03-09 00:38:17] Production.INFO: ProcessCDR(1,14638867,1,1,2) [2025-03-09 00:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638867', 'tblTempUsageDetail_20' ) start [2025-03-09 00:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638867', 'tblTempUsageDetail_20' ) end [2025-03-09 00:38:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:38:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:38:21] Production.INFO: ==28235== Releasing lock... [2025-03-09 00:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:38:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 05:39:01] Production.INFO: ==28300== Lock acquired, processing the job... [2025-03-09 05:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:39:01] Production.INFO: neon service started [2025-03-09 05:39:01] Production.INFO: neon service started [2025-03-09 05:39:01] Production.INFO: ==28300== Releasing lock... [2025-03-09 05:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:39:02] Production.INFO: ==28302== Lock acquired, processing the job... [2025-03-09 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:39:02] Production.INFO: ==28304== Lock acquired, processing the job... [2025-03-09 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:39:02] Production.INFO: ==28304== Releasing lock... [2025-03-09 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:39:02] Production.INFO: ==28302== Releasing lock... [2025-03-09 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:39:03] Production.INFO: ==28317== Lock acquired, processing the job... [2025-03-09 00:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:39:03] Production.INFO: ==28315== Lock acquired, processing the job... [2025-03-09 00:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:39:04] Production.INFO: ==28309== Lock acquired, processing the job... [2025-03-09 00:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:39:04] Production.INFO: Account Balance Start. [2025-03-09 00:39:04] Production.INFO: CreateAllLog Start [2025-03-09 00:39:04] Production.INFO: 117 [2025-03-09 00:39:04] Production.INFO: ==28311== Lock acquired, processing the job... [2025-03-09 00:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:39:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:39:04] Production.INFO: ==28313== Lock acquired, processing the job... [2025-03-09 00:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:39:04] Production.INFO: ==28319== Lock acquired, processing the job... [2025-03-09 00:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:39:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:39:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:39:04] Production.ERROR: done [2025-03-09 00:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:39:04] Production.INFO: Total Charge 0 [2025-03-09 00:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:39:04] Production.INFO: CreateAllLog End [2025-03-09 00:39:04] Production.INFO: count ==13 [2025-03-09 00:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:39:04] Production.INFO: count ==21 [2025-03-09 00:39:04] Production.ERROR: done [2025-03-09 00:39:04] Production.INFO: ==28311== Releasing lock... [2025-03-09 00:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638871') start [2025-03-09 00:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638871') end [2025-03-09 00:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:39:04] Production.INFO: 1 [2025-03-09 00:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:39:04] Production.INFO: Account Balance End. [2025-03-09 00:39:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:39:04] Production.INFO: ==28315== Releasing lock... [2025-03-09 00:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:39:04] Production.INFO: ==28319== Releasing lock... [2025-03-09 00:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:39:05 [end_date_ymd] => 2025-03-09 00:39:05 [RateCDR] => 1 ) [2025-03-09 00:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:39:05' and `end` < '2025-03-09 00:39:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:39:12] Production.ERROR: CronJobId end10 [2025-03-09 00:39:12] Production.INFO: ==28313== Releasing lock... [2025-03-09 00:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:39:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:39:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:39:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:39:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:39:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:39:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:39:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:39:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:39:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:39:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:39:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:39:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:39:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:39:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:39:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:39:15] Production.INFO: call_cost start [2025-03-09 00:39:15] Production.INFO: call_cost end [2025-03-09 00:39:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:39:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:39:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:39:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:39:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:39:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:39:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:39:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:39:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:39:16] Production.INFO: ==28309== Releasing lock... [2025-03-09 00:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:39:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:39:17] Production.INFO: count ==758 [2025-03-09 00:39:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:39:05 - End Time 2025-03-09 00:39:05 [2025-03-09 00:39:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638872', 'tblTempUsageDetail_20' ) start [2025-03-09 00:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638872', 'tblTempUsageDetail_20' ) end [2025-03-09 00:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638872', 'tblTempVendorCDR_20' ) start [2025-03-09 00:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638872', 'tblTempVendorCDR_20' ) end [2025-03-09 00:39:18] Production.INFO: ProcessCDR(1,14638872,1,1,2) [2025-03-09 00:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638872', 'tblTempUsageDetail_20' ) start [2025-03-09 00:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638872', 'tblTempUsageDetail_20' ) end [2025-03-09 00:39:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:39:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:39:21] Production.INFO: ==28317== Releasing lock... [2025-03-09 00:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:39:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 05:40:01] Production.INFO: ==28373== Lock acquired, processing the job... [2025-03-09 05:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:40:01] Production.INFO: neon service started [2025-03-09 05:40:01] Production.INFO: neon service started [2025-03-09 05:40:01] Production.INFO: ==28373== Releasing lock... [2025-03-09 05:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:40:01] Production.INFO: ==28375== Lock acquired, processing the job... [2025-03-09 00:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:40:02] Production.INFO: ==28375== Releasing lock... [2025-03-09 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:40:02] Production.INFO: ==28377== Lock acquired, processing the job... [2025-03-09 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:40:02] Production.INFO: ==28377== Releasing lock... [2025-03-09 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:40:03] Production.INFO: ==28388== Lock acquired, processing the job... [2025-03-09 00:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:40:03] Production.INFO: ==28383== Lock acquired, processing the job... [2025-03-09 00:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:40:03] Production.INFO: ==28394== Lock acquired, processing the job... [2025-03-09 00:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:40:03] Production.INFO: Account Balance Start. [2025-03-09 00:40:03] Production.INFO: CreateAllLog Start [2025-03-09 00:40:03] Production.INFO: 117 [2025-03-09 00:40:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:40:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:40:03] Production.INFO: ==28379== Lock acquired, processing the job... [2025-03-09 00:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 00:40:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:40:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:40:03] Production.INFO: Total Charge 0 [2025-03-09 00:40:03] Production.INFO: CreateAllLog End [2025-03-09 00:40:03] Production.INFO: ==28381== Lock acquired, processing the job... [2025-03-09 00:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:40:03] Production.INFO: ==28392== Lock acquired, processing the job... [2025-03-09 00:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 00:40:03] Production.INFO: ==28390== Lock acquired, processing the job... [2025-03-09 00:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:40:03] Production.INFO: ==28385== Lock acquired, processing the job... [2025-03-09 00:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 00:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 00:40:03] Production.ERROR: CronJob PID - 28381 [2025-03-09 00:40:03] Production.ERROR: CronJob Title - System Alerts [2025-03-09 00:40:03] Production.ERROR: CronJob ID - 5 [2025-03-09 00:40:03] Production.ERROR: CronJob Last Run Time 2025-03-09 00:40:00 [2025-03-09 00:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 00:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 00:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 00:40:03] Production.ERROR: CronJob PID - 28383 [2025-03-09 00:40:03] Production.ERROR: CronJob Title - Account Block [2025-03-09 00:40:03] Production.ERROR: CronJob ID - 7 [2025-03-09 00:40:03] Production.ERROR: CronJob Last Run Time 2025-03-09 00:40:00 [2025-03-09 00:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 00:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 00:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 00:40:03] Production.ERROR: CronJob PID - 28388 [2025-03-09 00:40:03] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 00:40:03] Production.ERROR: CronJob ID - 12 [2025-03-09 00:40:03] Production.ERROR: CronJob Last Run Time 2025-03-09 00:40:00 [2025-03-09 00:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 00:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 00:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 00:40:03] Production.ERROR: CronJob PID - 28394 [2025-03-09 00:40:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 00:40:03] Production.ERROR: CronJob ID - 19 [2025-03-09 00:40:03] Production.ERROR: CronJob Last Run Time 2025-03-09 00:40:00 [2025-03-09 00:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 00:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 00:40:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:40:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 00:40:03] Production.INFO: ==28379== Releasing lock... [2025-03-09 00:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 00:40:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 00:40:03] Production.INFO: count ==13 [2025-03-09 00:40:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:40:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:40:03] Production.INFO: count ==21 [2025-03-09 00:40:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:40:03] Production.INFO: ==28383== Releasing lock... [2025-03-09 00:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:40:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638875') start [2025-03-09 00:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:40:03] Production.INFO: Account Balance End. [2025-03-09 00:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638875') end [2025-03-09 00:40:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:40:03] Production.INFO: 1 [2025-03-09 00:40:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:40:03] Production.ERROR: CronJobId end 12 [2025-03-09 00:40:03] Production.INFO: ==28388== Releasing lock... [2025-03-09 00:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:40:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:40:03] Production.INFO: ==28394== Releasing lock... [2025-03-09 00:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:40:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:40:04] Production.ERROR: done [2025-03-09 00:40:04] Production.ERROR: done [2025-03-09 00:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 00:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638877', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 00:40:04] Production.ERROR: done [2025-03-09 00:40:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:40:05 [end_date_ymd] => 2025-03-09 00:40:05 [RateCDR] => 1 ) [2025-03-09 00:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:40:05' and `end` < '2025-03-09 00:40:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:40:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638877', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 00:40:07] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 00:40:07] Production.INFO: ProcessCDR(1,14638877,1,1,2) [2025-03-09 00:40:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14638877,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:40:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14638877,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:40:07] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:40:07] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:40:07] Production.INFO: ==28392== Releasing lock... [2025-03-09 00:40:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 00:40:07] Production.INFO: 26 MB #Memory Used# [2025-03-09 00:40:12] Production.ERROR: CronJobId end10 [2025-03-09 00:40:12] Production.INFO: ==28385== Releasing lock... [2025-03-09 00:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:40:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:40:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:40:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:40:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:40:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:40:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:40:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:40:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:40:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:40:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:40:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:40:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:40:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:40:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:40:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:40:14] Production.INFO: call_cost start [2025-03-09 00:40:14] Production.INFO: call_cost end [2025-03-09 00:40:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:40:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:40:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:40:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:40:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:40:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:40:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:40:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:40:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:40:15] Production.INFO: ==28381== Releasing lock... [2025-03-09 00:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:40:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:40:17] Production.INFO: count ==770 [2025-03-09 00:40:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:40:05 - End Time 2025-03-09 00:40:05 [2025-03-09 00:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638878', 'tblTempUsageDetail_20' ) start [2025-03-09 00:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638878', 'tblTempUsageDetail_20' ) end [2025-03-09 00:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638878', 'tblTempVendorCDR_20' ) start [2025-03-09 00:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638878', 'tblTempVendorCDR_20' ) end [2025-03-09 00:40:18] Production.INFO: ProcessCDR(1,14638878,1,1,2) [2025-03-09 00:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638878', 'tblTempUsageDetail_20' ) start [2025-03-09 00:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638878', 'tblTempUsageDetail_20' ) end [2025-03-09 00:40:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:40:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:40:21] Production.INFO: ==28390== Releasing lock... [2025-03-09 00:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:40:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 05:41:01] Production.INFO: ==28454== Lock acquired, processing the job... [2025-03-09 05:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:41:01] Production.INFO: neon service started [2025-03-09 05:41:01] Production.INFO: neon service started [2025-03-09 05:41:01] Production.INFO: ==28454== Releasing lock... [2025-03-09 05:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:41:02] Production.INFO: ==28456== Lock acquired, processing the job... [2025-03-09 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:41:02] Production.INFO: ==28458== Lock acquired, processing the job... [2025-03-09 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:41:02] Production.INFO: ==28458== Releasing lock... [2025-03-09 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:41:02] Production.INFO: ==28456== Releasing lock... [2025-03-09 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:41:03] Production.INFO: ==28463== Lock acquired, processing the job... [2025-03-09 00:41:03] Production.INFO: ==28461== Lock acquired, processing the job... [2025-03-09 00:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:41:03] Production.INFO: ==28469== Lock acquired, processing the job... [2025-03-09 00:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:41:03] Production.INFO: ==28467== Lock acquired, processing the job... [2025-03-09 00:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:41:03] Production.INFO: ==28465== Lock acquired, processing the job... [2025-03-09 00:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:41:04] Production.INFO: Account Balance Start. [2025-03-09 00:41:04] Production.INFO: CreateAllLog Start [2025-03-09 00:41:04] Production.INFO: 117 [2025-03-09 00:41:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:41:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:41:04] Production.INFO: ==28463== Releasing lock... [2025-03-09 00:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:41:04] Production.INFO: ==28471== Lock acquired, processing the job... [2025-03-09 00:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:41:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:41:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 00:41:04] Production.INFO: Total Charge 0 [2025-03-09 00:41:04] Production.INFO: CreateAllLog End [2025-03-09 00:41:04] Production.INFO: count ==13 [2025-03-09 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-09 00:41:04] Production.INFO: count ==21 [2025-03-09 00:41:04] Production.ERROR: done [2025-03-09 00:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638882') start [2025-03-09 00:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:41:04] Production.INFO: Account Balance End. [2025-03-09 00:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638882') end [2025-03-09 00:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:41:04] Production.INFO: 1 [2025-03-09 00:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:41:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:41:04] Production.INFO: ==28467== Releasing lock... [2025-03-09 00:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:41:04] Production.ERROR: done [2025-03-09 00:41:04] Production.INFO: ==28471== Releasing lock... [2025-03-09 00:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:41:05 [end_date_ymd] => 2025-03-09 00:41:05 [RateCDR] => 1 ) [2025-03-09 00:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:41:05' and `end` < '2025-03-09 00:41:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:41:12] Production.ERROR: CronJobId end10 [2025-03-09 00:41:12] Production.INFO: ==28465== Releasing lock... [2025-03-09 00:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:41:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:41:14] Production.INFO: call_cost start [2025-03-09 00:41:14] Production.INFO: call_cost end [2025-03-09 00:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:41:15] Production.INFO: ==28461== Releasing lock... [2025-03-09 00:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:41:17] Production.INFO: count ==792 [2025-03-09 00:41:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:41:05 - End Time 2025-03-09 00:41:05 [2025-03-09 00:41:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638883', 'tblTempUsageDetail_20' ) start [2025-03-09 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638883', 'tblTempUsageDetail_20' ) end [2025-03-09 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638883', 'tblTempVendorCDR_20' ) start [2025-03-09 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638883', 'tblTempVendorCDR_20' ) end [2025-03-09 00:41:18] Production.INFO: ProcessCDR(1,14638883,1,1,2) [2025-03-09 00:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638883', 'tblTempUsageDetail_20' ) start [2025-03-09 00:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638883', 'tblTempUsageDetail_20' ) end [2025-03-09 00:41:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:41:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:41:21] Production.INFO: ==28469== Releasing lock... [2025-03-09 00:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:41:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 05:42:02] Production.INFO: ==28569== Lock acquired, processing the job... [2025-03-09 05:42:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:42:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:42:02] Production.INFO: neon service started [2025-03-09 05:42:02] Production.INFO: neon service started [2025-03-09 05:42:02] Production.INFO: ==28569== Releasing lock... [2025-03-09 05:42:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:42:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:42:02] Production.INFO: ==28571== Lock acquired, processing the job... [2025-03-09 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:42:02] Production.INFO: ==28571== Releasing lock... [2025-03-09 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:42:03] Production.INFO: ==28573== Lock acquired, processing the job... [2025-03-09 05:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:42:03] Production.INFO: ==28573== Releasing lock... [2025-03-09 05:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:42:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:42:03] Production.INFO: ==28575== Lock acquired, processing the job... [2025-03-09 00:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:42:03] Production.INFO: ==28583== Lock acquired, processing the job... [2025-03-09 00:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:42:03] Production.INFO: ==28577== Lock acquired, processing the job... [2025-03-09 00:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:42:03] Production.INFO: ==28579== Lock acquired, processing the job... [2025-03-09 00:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:42:04] Production.INFO: ==28581== Lock acquired, processing the job... [2025-03-09 00:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:42:04] Production.INFO: ==28585== Lock acquired, processing the job... [2025-03-09 00:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:42:04] Production.INFO: Account Balance Start. [2025-03-09 00:42:04] Production.INFO: CreateAllLog Start [2025-03-09 00:42:04] Production.INFO: 117 [2025-03-09 00:42:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:42:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:42:04] Production.INFO: Total Charge 0 [2025-03-09 00:42:04] Production.INFO: CreateAllLog End [2025-03-09 00:42:04] Production.ERROR: done [2025-03-09 00:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:42:04] Production.INFO: count ==13 [2025-03-09 00:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:42:04] Production.INFO: count ==21 [2025-03-09 00:42:04] Production.INFO: ==28577== Releasing lock... [2025-03-09 00:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638887') start [2025-03-09 00:42:04] Production.INFO: Account Balance End. [2025-03-09 00:42:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:42:04] Production.INFO: ==28581== Releasing lock... [2025-03-09 00:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:42:04] Production.ERROR: done [2025-03-09 00:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638887') end [2025-03-09 00:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:42:04] Production.INFO: 1 [2025-03-09 00:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:42:04] Production.INFO: ==28585== Releasing lock... [2025-03-09 00:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:42:05 [end_date_ymd] => 2025-03-09 00:42:05 [RateCDR] => 1 ) [2025-03-09 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-08 21:42:05' and `end` < '2025-03-09 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-09 00:42:12] Production.ERROR: CronJobId end10 [2025-03-09 00:42:12] Production.INFO: ==28579== Releasing lock... [2025-03-09 00:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:42:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:42:15] Production.INFO: call_cost start [2025-03-09 00:42:15] Production.INFO: call_cost end [2025-03-09 00:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:42:16] Production.INFO: ==28575== Releasing lock... [2025-03-09 00:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:42:18] Production.INFO: count ==799 [2025-03-09 00:42:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:42:05 - End Time 2025-03-09 00:42:05 [2025-03-09 00:42:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638888', 'tblTempUsageDetail_20' ) start [2025-03-09 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638888', 'tblTempUsageDetail_20' ) end [2025-03-09 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638888', 'tblTempVendorCDR_20' ) start [2025-03-09 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638888', 'tblTempVendorCDR_20' ) end [2025-03-09 00:42:18] Production.INFO: ProcessCDR(1,14638888,1,1,2) [2025-03-09 00:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638888', 'tblTempUsageDetail_20' ) start [2025-03-09 00:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638888', 'tblTempUsageDetail_20' ) end [2025-03-09 00:42:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:42:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:42:21] Production.INFO: ==28583== Releasing lock... [2025-03-09 00:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:42:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 05:43:01] Production.INFO: ==28642== Lock acquired, processing the job... [2025-03-09 05:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:43:01] Production.INFO: neon service started [2025-03-09 05:43:01] Production.INFO: neon service started [2025-03-09 05:43:01] Production.INFO: ==28642== Releasing lock... [2025-03-09 05:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:43:02] Production.INFO: ==28645== Lock acquired, processing the job... [2025-03-09 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:43:02] Production.INFO: ==28645== Releasing lock... [2025-03-09 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:43:02] Production.INFO: ==28647== Lock acquired, processing the job... [2025-03-09 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:43:02] Production.INFO: ==28647== Releasing lock... [2025-03-09 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:43:03] Production.INFO: ==28653== Lock acquired, processing the job... [2025-03-09 00:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:43:03] Production.INFO: ==28649== Lock acquired, processing the job... [2025-03-09 00:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:43:03] Production.INFO: ==28657== Lock acquired, processing the job... [2025-03-09 00:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:43:03] Production.INFO: ==28651== Lock acquired, processing the job... [2025-03-09 00:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:43:03] Production.INFO: ==28659== Lock acquired, processing the job... [2025-03-09 00:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:43:03] Production.INFO: ==28655== Lock acquired, processing the job... [2025-03-09 00:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:43:03] Production.ERROR: done [2025-03-09 00:43:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:43:04] Production.INFO: Account Balance Start. [2025-03-09 00:43:04] Production.INFO: CreateAllLog Start [2025-03-09 00:43:04] Production.INFO: 117 [2025-03-09 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-09 00:43:04] Production.INFO: count ==13 [2025-03-09 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-09 00:43:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:43:04] Production.INFO: count ==21 [2025-03-09 00:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638891') start [2025-03-09 00:43:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:43:04] Production.ERROR: done [2025-03-09 00:43:04] Production.INFO: ==28651== Releasing lock... [2025-03-09 00:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:43:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:43:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638891') end [2025-03-09 00:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:43:04] Production.INFO: 1 [2025-03-09 00:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:43:04] Production.INFO: ==28659== Releasing lock... [2025-03-09 00:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:43:04] Production.INFO: Total Charge 0 [2025-03-09 00:43:04] Production.INFO: CreateAllLog End [2025-03-09 00:43:04] Production.INFO: Account Balance End. [2025-03-09 00:43:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:43:04] Production.INFO: ==28655== Releasing lock... [2025-03-09 00:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:43:05 [end_date_ymd] => 2025-03-09 00:43:05 [RateCDR] => 1 ) [2025-03-09 00:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:43:05' and `end` < '2025-03-09 00:43:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:43:11] Production.ERROR: CronJobId end10 [2025-03-09 00:43:11] Production.INFO: ==28653== Releasing lock... [2025-03-09 00:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:43:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:43:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:43:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:43:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:43:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:43:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:43:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:43:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:43:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:43:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:43:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:43:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:43:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:43:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:43:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:43:14] Production.INFO: call_cost start [2025-03-09 00:43:14] Production.INFO: call_cost end [2025-03-09 00:43:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:43:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:43:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:43:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:43:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:43:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:43:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:43:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:43:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:43:15] Production.INFO: ==28649== Releasing lock... [2025-03-09 00:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:43:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:43:17] Production.INFO: count ==810 [2025-03-09 00:43:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:43:05 - End Time 2025-03-09 00:43:05 [2025-03-09 00:43:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638893', 'tblTempUsageDetail_20' ) start [2025-03-09 00:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638893', 'tblTempUsageDetail_20' ) end [2025-03-09 00:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638893', 'tblTempVendorCDR_20' ) start [2025-03-09 00:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638893', 'tblTempVendorCDR_20' ) end [2025-03-09 00:43:17] Production.INFO: ProcessCDR(1,14638893,1,1,2) [2025-03-09 00:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638893', 'tblTempUsageDetail_20' ) start [2025-03-09 00:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638893', 'tblTempUsageDetail_20' ) end [2025-03-09 00:43:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:43:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:43:21] Production.INFO: ==28657== Releasing lock... [2025-03-09 00:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:43:21] Production.INFO: 34 MB #Memory Used# [2025-03-09 05:44:02] Production.INFO: ==28716== Lock acquired, processing the job... [2025-03-09 05:44:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:44:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:44:02] Production.INFO: neon service started [2025-03-09 05:44:02] Production.INFO: neon service started [2025-03-09 05:44:02] Production.INFO: ==28716== Releasing lock... [2025-03-09 05:44:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:44:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:44:02] Production.INFO: ==28719== Lock acquired, processing the job... [2025-03-09 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:44:02] Production.INFO: ==28719== Releasing lock... [2025-03-09 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:44:03] Production.INFO: ==28721== Lock acquired, processing the job... [2025-03-09 05:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:44:03] Production.INFO: ==28721== Releasing lock... [2025-03-09 05:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:44:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:44:03] Production.INFO: ==28731== Lock acquired, processing the job... [2025-03-09 00:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:44:03] Production.INFO: ==28733== Lock acquired, processing the job... [2025-03-09 00:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:44:04] Production.INFO: ==28723== Lock acquired, processing the job... [2025-03-09 00:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:44:04] Production.INFO: ==28725== Lock acquired, processing the job... [2025-03-09 00:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:44:04] Production.INFO: ==28727== Lock acquired, processing the job... [2025-03-09 00:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:44:04] Production.INFO: ==28729== Lock acquired, processing the job... [2025-03-09 00:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:44:04] Production.INFO: count ==13 [2025-03-09 00:44:04] Production.INFO: Account Balance Start. [2025-03-09 00:44:04] Production.INFO: CreateAllLog Start [2025-03-09 00:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:44:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:44:04] Production.INFO: 117 [2025-03-09 00:44:04] Production.INFO: count ==21 [2025-03-09 00:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638894') start [2025-03-09 00:44:04] Production.ERROR: done [2025-03-09 00:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:44:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638894') end [2025-03-09 00:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:44:04] Production.INFO: 1 [2025-03-09 00:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:44:04] Production.ERROR: done [2025-03-09 00:44:04] Production.INFO: ==28733== Releasing lock... [2025-03-09 00:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:44:04] Production.INFO: ==28725== Releasing lock... [2025-03-09 00:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:44:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:44:04] Production.INFO: Total Charge 0 [2025-03-09 00:44:04] Production.INFO: CreateAllLog End [2025-03-09 00:44:04] Production.INFO: Account Balance End. [2025-03-09 00:44:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:44:04] Production.INFO: ==28729== Releasing lock... [2025-03-09 00:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:44:05 [end_date_ymd] => 2025-03-09 00:44:05 [RateCDR] => 1 ) [2025-03-09 00:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:44:05' and `end` < '2025-03-09 00:44:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:44:12] Production.ERROR: CronJobId end10 [2025-03-09 00:44:12] Production.INFO: ==28727== Releasing lock... [2025-03-09 00:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:44:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:44:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:44:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:44:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:44:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:44:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:44:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:44:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:44:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:44:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:44:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:44:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:44:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:44:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:44:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:44:15] Production.INFO: call_cost start [2025-03-09 00:44:15] Production.INFO: call_cost end [2025-03-09 00:44:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:44:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:44:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:44:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:44:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:44:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:44:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:44:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:44:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:44:16] Production.INFO: ==28723== Releasing lock... [2025-03-09 00:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:44:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:44:17] Production.INFO: count ==810 [2025-03-09 00:44:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:44:05 - End Time 2025-03-09 00:44:05 [2025-03-09 00:44:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638898', 'tblTempUsageDetail_20' ) start [2025-03-09 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638898', 'tblTempUsageDetail_20' ) end [2025-03-09 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638898', 'tblTempVendorCDR_20' ) start [2025-03-09 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638898', 'tblTempVendorCDR_20' ) end [2025-03-09 00:44:18] Production.INFO: ProcessCDR(1,14638898,1,1,2) [2025-03-09 00:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638898', 'tblTempUsageDetail_20' ) start [2025-03-09 00:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638898', 'tblTempUsageDetail_20' ) end [2025-03-09 00:44:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:44:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:44:22] Production.INFO: ==28731== Releasing lock... [2025-03-09 00:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:44:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 05:45:01] Production.INFO: ==28791== Lock acquired, processing the job... [2025-03-09 05:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:45:01] Production.INFO: neon service started [2025-03-09 05:45:01] Production.INFO: neon service started [2025-03-09 05:45:01] Production.INFO: ==28791== Releasing lock... [2025-03-09 05:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:45:02] Production.INFO: ==28795== Lock acquired, processing the job... [2025-03-09 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:45:02] Production.INFO: ==28795== Releasing lock... [2025-03-09 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:45:02] Production.INFO: ==28793== Lock acquired, processing the job... [2025-03-09 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:45:02] Production.INFO: ==28793== Releasing lock... [2025-03-09 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:45:03] Production.INFO: ==28798== Lock acquired, processing the job... [2025-03-09 00:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:45:03] Production.INFO: ==28800== Lock acquired, processing the job... [2025-03-09 00:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:45:03] Production.INFO: ==28806== Lock acquired, processing the job... [2025-03-09 00:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:45:03] Production.INFO: ==28802== Lock acquired, processing the job... [2025-03-09 00:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:45:03] Production.INFO: ==28800== Releasing lock... [2025-03-09 00:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:45:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:45:03] Production.INFO: ==28804== Lock acquired, processing the job... [2025-03-09 00:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:45:03] Production.INFO: ==28808== Lock acquired, processing the job... [2025-03-09 00:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:45:03] Production.ERROR: done [2025-03-09 00:45:03] Production.INFO: Account Balance Start. [2025-03-09 00:45:03] Production.INFO: CreateAllLog Start [2025-03-09 00:45:03] Production.INFO: 117 [2025-03-09 00:45:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:45:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:45:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:45:04] Production.INFO: Date 2025-03-09 [2025-03-09 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-09 00:45:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:45:04] Production.INFO: count ==13 [2025-03-09 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-09 00:45:04] Production.INFO: count ==21 [2025-03-09 00:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638902') start [2025-03-09 00:45:04] Production.ERROR: done [2025-03-09 00:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638902') end [2025-03-09 00:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:45:04] Production.INFO: 1 [2025-03-09 00:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:45:04] Production.INFO: Total Charge 0 [2025-03-09 00:45:04] Production.INFO: CreateAllLog End [2025-03-09 00:45:04] Production.INFO: ==28808== Releasing lock... [2025-03-09 00:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:45:04] Production.INFO: Account Balance End. [2025-03-09 00:45:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:45:04] Production.INFO: ==28804== Releasing lock... [2025-03-09 00:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:45:05 [end_date_ymd] => 2025-03-09 00:45:05 [RateCDR] => 1 ) [2025-03-09 00:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:45:05' and `end` < '2025-03-09 00:45:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:45:11] Production.ERROR: CronJobId end10 [2025-03-09 00:45:11] Production.INFO: ==28802== Releasing lock... [2025-03-09 00:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:45:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:45:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:45:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:45:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:45:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:45:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:45:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:45:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:45:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:45:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:45:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:45:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:45:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:45:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:45:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:45:13] Production.INFO: call_cost start [2025-03-09 00:45:13] Production.INFO: call_cost end [2025-03-09 00:45:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:45:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:45:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:45:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:45:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:45:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:45:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:45:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:45:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:45:14] Production.INFO: ==28798== Releasing lock... [2025-03-09 00:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:45:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:45:17] Production.INFO: count ==815 [2025-03-09 00:45:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:45:05 - End Time 2025-03-09 00:45:05 [2025-03-09 00:45:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638903', 'tblTempUsageDetail_20' ) start [2025-03-09 00:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638903', 'tblTempUsageDetail_20' ) end [2025-03-09 00:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638903', 'tblTempVendorCDR_20' ) start [2025-03-09 00:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638903', 'tblTempVendorCDR_20' ) end [2025-03-09 00:45:17] Production.INFO: ProcessCDR(1,14638903,1,1,2) [2025-03-09 00:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638903', 'tblTempUsageDetail_20' ) start [2025-03-09 00:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638903', 'tblTempUsageDetail_20' ) end [2025-03-09 00:45:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:45:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:45:21] Production.INFO: ==28806== Releasing lock... [2025-03-09 00:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:45:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 05:46:02] Production.INFO: ==28864== Lock acquired, processing the job... [2025-03-09 05:46:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:46:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:46:02] Production.INFO: neon service started [2025-03-09 05:46:02] Production.INFO: neon service started [2025-03-09 05:46:02] Production.INFO: ==28864== Releasing lock... [2025-03-09 05:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:46:02] Production.INFO: ==28868== Lock acquired, processing the job... [2025-03-09 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:46:02] Production.INFO: ==28868== Releasing lock... [2025-03-09 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:46:02] Production.INFO: ==28866== Lock acquired, processing the job... [2025-03-09 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:46:02] Production.INFO: ==28866== Releasing lock... [2025-03-09 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:46:03] Production.INFO: ==28871== Lock acquired, processing the job... [2025-03-09 00:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:46:03] Production.INFO: ==28877== Lock acquired, processing the job... [2025-03-09 00:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:46:03] Production.INFO: ==28881== Lock acquired, processing the job... [2025-03-09 00:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:46:03] Production.INFO: Account Balance Start. [2025-03-09 00:46:03] Production.INFO: CreateAllLog Start [2025-03-09 00:46:03] Production.INFO: 117 [2025-03-09 00:46:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:46:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:46:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:46:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:46:03] Production.INFO: Total Charge 0 [2025-03-09 00:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:46:04] Production.INFO: CreateAllLog End [2025-03-09 00:46:04] Production.INFO: ==28873== Lock acquired, processing the job... [2025-03-09 00:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:46:04] Production.INFO: count ==13 [2025-03-09 00:46:04] Production.INFO: Account Balance End. [2025-03-09 00:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:46:04] Production.INFO: count ==21 [2025-03-09 00:46:04] Production.INFO: ==28875== Lock acquired, processing the job... [2025-03-09 00:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:46:04] Production.INFO: ==28879== Lock acquired, processing the job... [2025-03-09 00:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638906') start [2025-03-09 00:46:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:46:04] Production.INFO: ==28877== Releasing lock... [2025-03-09 00:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638906') end [2025-03-09 00:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:46:04] Production.INFO: 1 [2025-03-09 00:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:46:04] Production.INFO: ==28881== Releasing lock... [2025-03-09 00:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:46:04] Production.ERROR: done [2025-03-09 00:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:46:04] Production.INFO: ==28873== Releasing lock... [2025-03-09 00:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:46:04] Production.ERROR: done [2025-03-09 00:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:46:05 [end_date_ymd] => 2025-03-09 00:46:05 [RateCDR] => 1 ) [2025-03-09 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-08 21:46:05' and `end` < '2025-03-09 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-09 00:46:12] Production.ERROR: CronJobId end10 [2025-03-09 00:46:12] Production.INFO: ==28875== Releasing lock... [2025-03-09 00:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:46:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:46:14] Production.INFO: call_cost start [2025-03-09 00:46:14] Production.INFO: call_cost end [2025-03-09 00:46:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:46:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:46:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:46:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:46:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:46:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:46:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:46:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:46:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:46:15] Production.INFO: ==28871== Releasing lock... [2025-03-09 00:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:46:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:46:18] Production.INFO: count ==813 [2025-03-09 00:46:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:46:05 - End Time 2025-03-09 00:46:05 [2025-03-09 00:46:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638908', 'tblTempUsageDetail_20' ) start [2025-03-09 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638908', 'tblTempUsageDetail_20' ) end [2025-03-09 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638908', 'tblTempVendorCDR_20' ) start [2025-03-09 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638908', 'tblTempVendorCDR_20' ) end [2025-03-09 00:46:18] Production.INFO: ProcessCDR(1,14638908,1,1,2) [2025-03-09 00:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638908', 'tblTempUsageDetail_20' ) start [2025-03-09 00:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638908', 'tblTempUsageDetail_20' ) end [2025-03-09 00:46:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:46:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:46:21] Production.INFO: ==28879== Releasing lock... [2025-03-09 00:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:46:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 05:47:01] Production.INFO: ==28937== Lock acquired, processing the job... [2025-03-09 05:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:47:01] Production.INFO: neon service started [2025-03-09 05:47:01] Production.INFO: neon service started [2025-03-09 05:47:01] Production.INFO: ==28937== Releasing lock... [2025-03-09 05:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:47:02] Production.INFO: ==28939== Lock acquired, processing the job... [2025-03-09 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:47:02] Production.INFO: ==28941== Lock acquired, processing the job... [2025-03-09 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:47:02] Production.INFO: ==28941== Releasing lock... [2025-03-09 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:47:02] Production.INFO: ==28939== Releasing lock... [2025-03-09 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:47:03] Production.INFO: ==28948== Lock acquired, processing the job... [2025-03-09 00:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:47:03] Production.INFO: ==28950== Lock acquired, processing the job... [2025-03-09 00:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:47:03] Production.INFO: Account Balance Start. [2025-03-09 00:47:03] Production.INFO: CreateAllLog Start [2025-03-09 00:47:03] Production.INFO: 117 [2025-03-09 00:47:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:47:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:47:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:47:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:47:03] Production.INFO: Total Charge 0 [2025-03-09 00:47:03] Production.INFO: CreateAllLog End [2025-03-09 00:47:03] Production.INFO: ==28944== Lock acquired, processing the job... [2025-03-09 00:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:47:03] Production.INFO: ==28946== Lock acquired, processing the job... [2025-03-09 00:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:47:03] Production.INFO: Account Balance End. [2025-03-09 00:47:03] Production.ERROR: CronJobId end 12 [2025-03-09 00:47:03] Production.INFO: ==28950== Releasing lock... [2025-03-09 00:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:47:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:47:03] Production.INFO: ==28952== Lock acquired, processing the job... [2025-03-09 00:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:47:03] Production.INFO: ==28954== Lock acquired, processing the job... [2025-03-09 00:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:47:04] Production.INFO: ==28946== Releasing lock... [2025-03-09 00:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:47:04] Production.INFO: count ==13 [2025-03-09 00:47:04] Production.ERROR: done [2025-03-09 00:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:47:04] Production.INFO: count ==21 [2025-03-09 00:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638912') start [2025-03-09 00:47:04] Production.ERROR: done [2025-03-09 00:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638912') end [2025-03-09 00:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:47:04] Production.INFO: 1 [2025-03-09 00:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:47:04] Production.INFO: ==28954== Releasing lock... [2025-03-09 00:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:47:05 [end_date_ymd] => 2025-03-09 00:47:05 [RateCDR] => 1 ) [2025-03-09 00:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:47:05' and `end` < '2025-03-09 00:47:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:47:11] Production.ERROR: CronJobId end10 [2025-03-09 00:47:11] Production.INFO: ==28948== Releasing lock... [2025-03-09 00:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:47:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:47:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:47:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:47:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:47:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:47:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:47:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:47:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:47:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:47:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:47:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:47:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:47:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:47:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:47:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:47:13] Production.INFO: call_cost start [2025-03-09 00:47:13] Production.INFO: call_cost end [2025-03-09 00:47:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:47:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:47:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:47:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:47:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:47:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:47:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:47:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:47:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:47:14] Production.INFO: ==28944== Releasing lock... [2025-03-09 00:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:47:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:47:17] Production.INFO: count ==814 [2025-03-09 00:47:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:47:05 - End Time 2025-03-09 00:47:05 [2025-03-09 00:47:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638913', 'tblTempUsageDetail_20' ) start [2025-03-09 00:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638913', 'tblTempUsageDetail_20' ) end [2025-03-09 00:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638913', 'tblTempVendorCDR_20' ) start [2025-03-09 00:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638913', 'tblTempVendorCDR_20' ) end [2025-03-09 00:47:17] Production.INFO: ProcessCDR(1,14638913,1,1,2) [2025-03-09 00:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:47:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638913', 'tblTempUsageDetail_20' ) start [2025-03-09 00:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638913', 'tblTempUsageDetail_20' ) end [2025-03-09 00:47:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:47:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:47:20] Production.INFO: ==28952== Releasing lock... [2025-03-09 00:47:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:47:20] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 05:48:02] Production.INFO: ==29012== Lock acquired, processing the job... [2025-03-09 05:48:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:48:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:48:02] Production.INFO: neon service started [2025-03-09 05:48:02] Production.INFO: neon service started [2025-03-09 05:48:02] Production.INFO: ==29012== Releasing lock... [2025-03-09 05:48:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:48:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:48:02] Production.INFO: ==29014== Lock acquired, processing the job... [2025-03-09 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:48:02] Production.INFO: ==29016== Lock acquired, processing the job... [2025-03-09 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 00:48:02] Production.INFO: ==29014== Releasing lock... [2025-03-09 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:48:02] Production.INFO: ==29016== Releasing lock... [2025-03-09 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:48:03] Production.INFO: ==29018== Lock acquired, processing the job... [2025-03-09 00:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:48:03] Production.INFO: ==29020== Lock acquired, processing the job... [2025-03-09 00:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:48:03] Production.INFO: ==29026== Lock acquired, processing the job... [2025-03-09 00:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:48:03] Production.INFO: ==29022== Lock acquired, processing the job... [2025-03-09 00:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:48:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:48:03] Production.INFO: ==29024== Lock acquired, processing the job... [2025-03-09 00:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:48:03] Production.INFO: ==29020== Releasing lock... [2025-03-09 00:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:48:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:48:04] Production.INFO: ==29029== Lock acquired, processing the job... [2025-03-09 00:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:48:04] Production.INFO: Account Balance Start. [2025-03-09 00:48:04] Production.INFO: CreateAllLog Start [2025-03-09 00:48:04] Production.INFO: 117 [2025-03-09 00:48:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:48:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:48:04] Production.INFO: count ==13 [2025-03-09 00:48:04] Production.INFO: Total Charge 0 [2025-03-09 00:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:48:04] Production.INFO: count ==21 [2025-03-09 00:48:04] Production.INFO: CreateAllLog End [2025-03-09 00:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638917') start [2025-03-09 00:48:04] Production.ERROR: done [2025-03-09 00:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:48:04] Production.ERROR: done [2025-03-09 00:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638917') end [2025-03-09 00:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:48:04] Production.INFO: 1 [2025-03-09 00:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:48:04] Production.INFO: ==29029== Releasing lock... [2025-03-09 00:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:48:04] Production.INFO: Account Balance End. [2025-03-09 00:48:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:48:04] Production.INFO: ==29024== Releasing lock... [2025-03-09 00:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:48:05 [end_date_ymd] => 2025-03-09 00:48:05 [RateCDR] => 1 ) [2025-03-09 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-08 21:48:05' and `end` < '2025-03-09 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-09 00:48:11] Production.ERROR: CronJobId end10 [2025-03-09 00:48:11] Production.INFO: ==29022== Releasing lock... [2025-03-09 00:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:48:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:48:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:48:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:48:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:48:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:48:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:48:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:48:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:48:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:48:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:48:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:48:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:48:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:48:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:48:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:48:14] Production.INFO: call_cost start [2025-03-09 00:48:14] Production.INFO: call_cost end [2025-03-09 00:48:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:48:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:48:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:48:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:48:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:48:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:48:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:48:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:48:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:48:15] Production.INFO: ==29018== Releasing lock... [2025-03-09 00:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:48:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:48:17] Production.INFO: count ==821 [2025-03-09 00:48:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:48:05 - End Time 2025-03-09 00:48:05 [2025-03-09 00:48:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638918', 'tblTempUsageDetail_20' ) start [2025-03-09 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638918', 'tblTempUsageDetail_20' ) end [2025-03-09 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638918', 'tblTempVendorCDR_20' ) start [2025-03-09 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638918', 'tblTempVendorCDR_20' ) end [2025-03-09 00:48:18] Production.INFO: ProcessCDR(1,14638918,1,1,2) [2025-03-09 00:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638918', 'tblTempUsageDetail_20' ) start [2025-03-09 00:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638918', 'tblTempUsageDetail_20' ) end [2025-03-09 00:48:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:48:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:48:22] Production.INFO: ==29026== Releasing lock... [2025-03-09 00:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:48:22] Production.INFO: 35 MB #Memory Used# [2025-03-09 05:49:01] Production.INFO: ==29085== Lock acquired, processing the job... [2025-03-09 05:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:49:01] Production.INFO: neon service started [2025-03-09 05:49:01] Production.INFO: neon service started [2025-03-09 05:49:01] Production.INFO: ==29085== Releasing lock... [2025-03-09 05:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:49:01] Production.INFO: ==29089== Lock acquired, processing the job... [2025-03-09 05:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:49:01] Production.INFO: ==29089== Releasing lock... [2025-03-09 05:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:49:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:49:02] Production.INFO: ==29087== Lock acquired, processing the job... [2025-03-09 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:49:02] Production.INFO: ==29087== Releasing lock... [2025-03-09 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:49:03] Production.INFO: ==29091== Lock acquired, processing the job... [2025-03-09 00:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:49:03] Production.INFO: ==29093== Lock acquired, processing the job... [2025-03-09 00:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:49:03] Production.INFO: ==29100== Lock acquired, processing the job... [2025-03-09 00:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:49:03] Production.INFO: ==29095== Lock acquired, processing the job... [2025-03-09 00:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:49:03] Production.INFO: ==29097== Lock acquired, processing the job... [2025-03-09 00:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:49:03] Production.INFO: ==29102== Lock acquired, processing the job... [2025-03-09 00:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:49:03] Production.INFO: ==29093== Releasing lock... [2025-03-09 00:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:49:03] Production.INFO: Account Balance Start. [2025-03-09 00:49:03] Production.INFO: CreateAllLog Start [2025-03-09 00:49:03] Production.INFO: 117 [2025-03-09 00:49:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:49:03] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 00:49:03] Production.INFO: count ==13 [2025-03-09 00:49:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:49:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:49:03] Production.ERROR: done [2025-03-09 00:49:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 00:49:03] Production.INFO: Total Charge 0 [2025-03-09 00:49:03] Production.INFO: count ==21 [2025-03-09 00:49:03] Production.INFO: CreateAllLog End [2025-03-09 00:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638922') start [2025-03-09 00:49:03] Production.INFO: Account Balance End. [2025-03-09 00:49:03] Production.ERROR: done [2025-03-09 00:49:03] Production.ERROR: CronJobId end 12 [2025-03-09 00:49:03] Production.INFO: ==29097== Releasing lock... [2025-03-09 00:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:49:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638922') end [2025-03-09 00:49:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:49:03] Production.INFO: 1 [2025-03-09 00:49:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:49:03] Production.INFO: ==29102== Releasing lock... [2025-03-09 00:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:49:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:49:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:49:04 [end_date_ymd] => 2025-03-09 00:49:04 [RateCDR] => 1 ) [2025-03-09 00: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-08 21:49:04' and `end` < '2025-03-09 00: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-09 00:49:11] Production.ERROR: CronJobId end10 [2025-03-09 00:49:11] Production.INFO: ==29095== Releasing lock... [2025-03-09 00:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:49:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:49:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:49:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:49:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:49:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:49:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:49:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:49:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:49:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:49:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:49:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:49:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:49:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:49:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:49:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:49:13] Production.INFO: call_cost start [2025-03-09 00:49:13] Production.INFO: call_cost end [2025-03-09 00:49:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:49:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:49:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:49:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:49:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:49:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:49:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:49:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:49:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:49:14] Production.INFO: ==29091== Releasing lock... [2025-03-09 00:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:49:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:49:17] Production.INFO: count ==822 [2025-03-09 00:49:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:49:04 - End Time 2025-03-09 00:49:04 [2025-03-09 00:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638923', 'tblTempUsageDetail_20' ) start [2025-03-09 00:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638923', 'tblTempUsageDetail_20' ) end [2025-03-09 00:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638923', 'tblTempVendorCDR_20' ) start [2025-03-09 00:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638923', 'tblTempVendorCDR_20' ) end [2025-03-09 00:49:17] Production.INFO: ProcessCDR(1,14638923,1,1,2) [2025-03-09 00:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638923', 'tblTempUsageDetail_20' ) start [2025-03-09 00:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638923', 'tblTempUsageDetail_20' ) end [2025-03-09 00:49:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:49:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:49:20] Production.INFO: ==29100== Releasing lock... [2025-03-09 00:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:49:20] Production.INFO: 35 MB #Memory Used# [2025-03-09 05:50:01] Production.INFO: ==29160== Lock acquired, processing the job... [2025-03-09 05:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:50:01] Production.INFO: neon service started [2025-03-09 05:50:01] Production.INFO: neon service started [2025-03-09 05:50:01] Production.INFO: ==29160== Releasing lock... [2025-03-09 05:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:50:02] Production.INFO: ==29162== Lock acquired, processing the job... [2025-03-09 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:50:02] Production.INFO: ==29164== Lock acquired, processing the job... [2025-03-09 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:50:02] Production.INFO: ==29164== Releasing lock... [2025-03-09 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:50:02] Production.INFO: ==29162== Releasing lock... [2025-03-09 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:50:03] Production.INFO: ==29170== Lock acquired, processing the job... [2025-03-09 00:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:50:03] Production.INFO: ==29172== Lock acquired, processing the job... [2025-03-09 00:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:50:03] Production.INFO: ==29174== Lock acquired, processing the job... [2025-03-09 00:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:50:03] Production.INFO: ==29178== Lock acquired, processing the job... [2025-03-09 00:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 00:50:04] Production.INFO: Account Balance Start. [2025-03-09 00:50:04] Production.INFO: CreateAllLog Start [2025-03-09 00:50:04] Production.INFO: 117 [2025-03-09 00:50:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:50:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:50:04] Production.INFO: Total Charge 0 [2025-03-09 00:50:04] Production.INFO: ==29166== Lock acquired, processing the job... [2025-03-09 00:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 00:50:04] Production.INFO: ==29168== Lock acquired, processing the job... [2025-03-09 00:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:50:04] Production.INFO: CreateAllLog End [2025-03-09 00:50:04] Production.INFO: ==29181== Lock acquired, processing the job... [2025-03-09 00:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:50:04] Production.INFO: ==29176== Lock acquired, processing the job... [2025-03-09 00:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:50:04] Production.INFO: ==29170== Releasing lock... [2025-03-09 00:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 00:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 00:50:04] Production.ERROR: CronJob PID - 29168 [2025-03-09 00:50:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 00:50:04] Production.ERROR: CronJob ID - 5 [2025-03-09 00:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 00:50:00 [2025-03-09 00:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 00:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 00:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 00:50:04] Production.ERROR: CronJob PID - 29172 [2025-03-09 00:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 00:50:04] Production.ERROR: CronJob ID - 10 [2025-03-09 00:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 00:50:00 [2025-03-09 00:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 00:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 00:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 00:50:04] Production.ERROR: CronJob PID - 29174 [2025-03-09 00:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 00:50:04] Production.ERROR: CronJob ID - 12 [2025-03-09 00:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 00:50:00 [2025-03-09 00:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 00:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 00:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 00:50:04] Production.ERROR: CronJob PID - 29178 [2025-03-09 00:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-09 00:50:04] Production.ERROR: CronJob ID - 17 [2025-03-09 00:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 00:50:00 [2025-03-09 00:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 00:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 00:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 00:50:04] Production.ERROR: CronJob PID - 29181 [2025-03-09 00:50:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 00:50:04] Production.ERROR: CronJob ID - 19 [2025-03-09 00:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 00:50:00 [2025-03-09 00:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 00:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 00:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:50:04] Production.INFO: count ==13 [2025-03-09 00:50:04] Production.ERROR: done [2025-03-09 00:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:50:04] Production.INFO: count ==21 [2025-03-09 00:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 00:50:04] Production.INFO: ==29166== Releasing lock... [2025-03-09 00:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 00:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 00:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638926') start [2025-03-09 00:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 00:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638928', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 00:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638926') end [2025-03-09 00:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:50:04] Production.INFO: 1 [2025-03-09 00:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:50:04] Production.INFO: ==29181== Releasing lock... [2025-03-09 00:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:50:04] Production.ERROR: done [2025-03-09 00:50:04] Production.INFO: Account Balance End. [2025-03-09 00:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:50:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:50:04] Production.INFO: ==29174== Releasing lock... [2025-03-09 00:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:50:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:50:04] Production.ERROR: done [2025-03-09 00:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:50:06 [end_date_ymd] => 2025-03-09 00:50:06 [RateCDR] => 1 ) [2025-03-09 00:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:50:06' and `end` < '2025-03-09 00:50:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638928', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 00:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 00:50:09] Production.INFO: ProcessCDR(1,14638928,1,1,2) [2025-03-09 00:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14638928,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14638928,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:50:09] Production.INFO: ==29178== Releasing lock... [2025-03-09 00:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 00:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 00:50:13] Production.ERROR: CronJobId end10 [2025-03-09 00:50:13] Production.INFO: ==29172== Releasing lock... [2025-03-09 00:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:50:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:50:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:50:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:50:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:50:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:50:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:50:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:50:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:50:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:50:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:50:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:50:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:50:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:50:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:50:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:50:16] Production.INFO: call_cost start [2025-03-09 00:50:16] Production.INFO: call_cost end [2025-03-09 00:50:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:50:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:50:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:50:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:50:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:50:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:50:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:50:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:50:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:50:17] Production.INFO: ==29168== Releasing lock... [2025-03-09 00:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:50:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:50:18] Production.INFO: count ==821 [2025-03-09 00:50:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:50:06 - End Time 2025-03-09 00:50:06 [2025-03-09 00:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638929', 'tblTempUsageDetail_20' ) start [2025-03-09 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638929', 'tblTempUsageDetail_20' ) end [2025-03-09 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638929', 'tblTempVendorCDR_20' ) start [2025-03-09 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638929', 'tblTempVendorCDR_20' ) end [2025-03-09 00:50:18] Production.INFO: ProcessCDR(1,14638929,1,1,2) [2025-03-09 00:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638929', 'tblTempUsageDetail_20' ) start [2025-03-09 00:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638929', 'tblTempUsageDetail_20' ) end [2025-03-09 00:50:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:50:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:50:21] Production.INFO: ==29176== Releasing lock... [2025-03-09 00:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:50:21] Production.INFO: 35 MB #Memory Used# [2025-03-09 05:51:02] Production.INFO: ==29239== Lock acquired, processing the job... [2025-03-09 05:51:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:51:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:51:02] Production.INFO: neon service started [2025-03-09 05:51:02] Production.INFO: neon service started [2025-03-09 05:51:02] Production.INFO: ==29239== Releasing lock... [2025-03-09 05:51:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:51:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:51:03] Production.INFO: ==29241== Lock acquired, processing the job... [2025-03-09 00:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:51:03] Production.INFO: ==29243== Lock acquired, processing the job... [2025-03-09 05:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:51:03] Production.INFO: ==29243== Releasing lock... [2025-03-09 05:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:51:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:51:03] Production.INFO: ==29241== Releasing lock... [2025-03-09 00:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:51:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:51:04] Production.INFO: ==29248== Lock acquired, processing the job... [2025-03-09 00:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:51:04] Production.INFO: ==29252== Lock acquired, processing the job... [2025-03-09 00:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:51:04] Production.INFO: ==29250== Lock acquired, processing the job... [2025-03-09 00:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:51:04] Production.INFO: Account Balance Start. [2025-03-09 00:51:04] Production.INFO: CreateAllLog Start [2025-03-09 00:51:04] Production.INFO: 117 [2025-03-09 00:51:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:51:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:51:04] Production.INFO: ==29246== Lock acquired, processing the job... [2025-03-09 00:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:51:04] Production.INFO: ==29256== Lock acquired, processing the job... [2025-03-09 00:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:51:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:51:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:51:04] Production.INFO: ==29254== Lock acquired, processing the job... [2025-03-09 00:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:51:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:51:04] Production.INFO: Total Charge 0 [2025-03-09 00:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:51:04] Production.INFO: CreateAllLog End [2025-03-09 00:51:04] Production.INFO: ==29248== Releasing lock... [2025-03-09 00:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:51:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:51:04] Production.INFO: count ==13 [2025-03-09 00:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:51:04] Production.INFO: count ==21 [2025-03-09 00:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638932') start [2025-03-09 00:51:04] Production.INFO: Account Balance End. [2025-03-09 00:51:05] Production.ERROR: PBX CALL prc_importPBXExtension('14638932') end [2025-03-09 00:51:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:51:05] Production.INFO: 1 [2025-03-09 00:51:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:51:05] Production.ERROR: done [2025-03-09 00:51:05] Production.ERROR: CronJobId end 12 [2025-03-09 00:51:05] Production.INFO: ==29252== Releasing lock... [2025-03-09 00:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:51:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:51:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:51:05] Production.INFO: ==29256== Releasing lock... [2025-03-09 00:51:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:51:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:51:05] Production.ERROR: done [2025-03-09 00:51:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:51:06 [end_date_ymd] => 2025-03-09 00:51:06 [RateCDR] => 1 ) [2025-03-09 00: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-08 21:51:06' and `end` < '2025-03-09 00: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-09 00:51:11] Production.ERROR: CronJobId end10 [2025-03-09 00:51:11] Production.INFO: ==29250== Releasing lock... [2025-03-09 00:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:51:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:51:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:51:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:51:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:51:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:51:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:51:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:51:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:51:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:51:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:51:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:51:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:51:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:51:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:51:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:51:14] Production.INFO: call_cost start [2025-03-09 00:51:14] Production.INFO: call_cost end [2025-03-09 00:51:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:51:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:51:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:51:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:51:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:51:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:51:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:51:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:51:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:51:15] Production.INFO: ==29246== Releasing lock... [2025-03-09 00:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:51:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:51:18] Production.INFO: count ==821 [2025-03-09 00:51:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:51:06 - End Time 2025-03-09 00:51:06 [2025-03-09 00:51:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638934', 'tblTempUsageDetail_20' ) start [2025-03-09 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638934', 'tblTempUsageDetail_20' ) end [2025-03-09 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638934', 'tblTempVendorCDR_20' ) start [2025-03-09 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638934', 'tblTempVendorCDR_20' ) end [2025-03-09 00:51:18] Production.INFO: ProcessCDR(1,14638934,1,1,2) [2025-03-09 00:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638934', 'tblTempUsageDetail_20' ) start [2025-03-09 00:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638934', 'tblTempUsageDetail_20' ) end [2025-03-09 00:51:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:51:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:51:21] Production.INFO: ==29254== Releasing lock... [2025-03-09 00:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:51:21] Production.INFO: 35 MB #Memory Used# [2025-03-09 05:52:01] Production.INFO: ==29315== Lock acquired, processing the job... [2025-03-09 05:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:52:01] Production.INFO: neon service started [2025-03-09 05:52:01] Production.INFO: neon service started [2025-03-09 05:52:01] Production.INFO: ==29315== Releasing lock... [2025-03-09 05:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:52:02] Production.INFO: ==29318== Lock acquired, processing the job... [2025-03-09 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:52:02] Production.INFO: ==29320== Lock acquired, processing the job... [2025-03-09 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:52:02] Production.INFO: ==29320== Releasing lock... [2025-03-09 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:52:02] Production.INFO: ==29318== Releasing lock... [2025-03-09 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:52:03] Production.INFO: ==29328== Lock acquired, processing the job... [2025-03-09 00:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:52:03] Production.INFO: ==29332== Lock acquired, processing the job... [2025-03-09 00:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:52:03] Production.INFO: Account Balance Start. [2025-03-09 00:52:03] Production.INFO: CreateAllLog Start [2025-03-09 00:52:03] Production.INFO: 117 [2025-03-09 00:52:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:52:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:52:03] Production.INFO: ==29322== Lock acquired, processing the job... [2025-03-09 00:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:52:03] Production.INFO: Total Charge 0 [2025-03-09 00:52:03] Production.INFO: CreateAllLog End [2025-03-09 00:52:04] Production.INFO: ==29324== Lock acquired, processing the job... [2025-03-09 00:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:52:04] Production.INFO: ==29326== Lock acquired, processing the job... [2025-03-09 00:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:52:04] Production.INFO: Account Balance End. [2025-03-09 00:52:04] Production.INFO: ==29330== Lock acquired, processing the job... [2025-03-09 00:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:52:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:52:04] Production.INFO: ==29328== Releasing lock... [2025-03-09 00:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 00:52:04] Production.INFO: count ==13 [2025-03-09 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-09 00:52:04] Production.INFO: count ==21 [2025-03-09 00:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638936') start [2025-03-09 00:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638936') end [2025-03-09 00:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:52:04] Production.INFO: 1 [2025-03-09 00:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:52:04] Production.INFO: ==29324== Releasing lock... [2025-03-09 00:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:52:04] Production.INFO: ==29332== Releasing lock... [2025-03-09 00:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:52:04] Production.ERROR: done [2025-03-09 00:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:52:04] Production.ERROR: done [2025-03-09 00:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:52:05 [end_date_ymd] => 2025-03-09 00:52:05 [RateCDR] => 1 ) [2025-03-09 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-08 21:52:05' and `end` < '2025-03-09 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-09 00:52:11] Production.ERROR: CronJobId end10 [2025-03-09 00:52:11] Production.INFO: ==29326== Releasing lock... [2025-03-09 00:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:52:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:52:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:52:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:52:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:52:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:52:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:52:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:52:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:52:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:52:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:52:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:52:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:52:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:52:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:52:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:52:14] Production.INFO: call_cost start [2025-03-09 00:52:14] Production.INFO: call_cost end [2025-03-09 00:52:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:52:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:52:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:52:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:52:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:52:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:52:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:52:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:52:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:52:15] Production.INFO: ==29322== Releasing lock... [2025-03-09 00:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:52:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:52:17] Production.INFO: count ==819 [2025-03-09 00:52:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:52:05 - End Time 2025-03-09 00:52:05 [2025-03-09 00:52:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638939', 'tblTempUsageDetail_20' ) start [2025-03-09 00:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638939', 'tblTempUsageDetail_20' ) end [2025-03-09 00:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638939', 'tblTempVendorCDR_20' ) start [2025-03-09 00:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638939', 'tblTempVendorCDR_20' ) end [2025-03-09 00:52:18] Production.INFO: ProcessCDR(1,14638939,1,1,2) [2025-03-09 00:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638939', 'tblTempUsageDetail_20' ) start [2025-03-09 00:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638939', 'tblTempUsageDetail_20' ) end [2025-03-09 00:52:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:52:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:52:21] Production.INFO: ==29330== Releasing lock... [2025-03-09 00:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:52:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 05:53:02] Production.INFO: ==29399== Lock acquired, processing the job... [2025-03-09 05:53:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:53:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:53:02] Production.INFO: neon service started [2025-03-09 05:53:02] Production.INFO: neon service started [2025-03-09 05:53:02] Production.INFO: ==29399== Releasing lock... [2025-03-09 05:53:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:53:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:53:02] Production.INFO: ==29401== Lock acquired, processing the job... [2025-03-09 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:53:02] Production.INFO: ==29403== Lock acquired, processing the job... [2025-03-09 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:53:02] Production.INFO: ==29403== Releasing lock... [2025-03-09 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:53:03] Production.INFO: ==29401== Releasing lock... [2025-03-09 00:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:53:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:53:03] Production.INFO: ==29406== Lock acquired, processing the job... [2025-03-09 00:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:53:03] Production.INFO: ==29412== Lock acquired, processing the job... [2025-03-09 00:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:53:04] Production.INFO: ==29416== Lock acquired, processing the job... [2025-03-09 00:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:53:04] Production.INFO: Account Balance Start. [2025-03-09 00:53:04] Production.INFO: CreateAllLog Start [2025-03-09 00:53:04] Production.INFO: 117 [2025-03-09 00:53:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:53:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:53:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:53:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:53:04] Production.INFO: Total Charge 0 [2025-03-09 00:53:04] Production.INFO: count ==13 [2025-03-09 00:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:53:04] Production.INFO: count ==21 [2025-03-09 00:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638942') start [2025-03-09 00:53:04] Production.INFO: CreateAllLog End [2025-03-09 00:53:04] Production.INFO: ==29408== Lock acquired, processing the job... [2025-03-09 00:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:53:04] Production.INFO: ==29410== Lock acquired, processing the job... [2025-03-09 00:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638942') end [2025-03-09 00:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:53:04] Production.INFO: 1 [2025-03-09 00:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:53:04] Production.INFO: ==29414== Lock acquired, processing the job... [2025-03-09 00:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:53:04] Production.INFO: Account Balance End. [2025-03-09 00:53:04] Production.INFO: ==29416== Releasing lock... [2025-03-09 00:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:53:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:53:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:53:04] Production.INFO: ==29412== Releasing lock... [2025-03-09 00:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:53:04] Production.INFO: ==29408== Releasing lock... [2025-03-09 00:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:53:04] Production.ERROR: done [2025-03-09 00:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:53:04] Production.ERROR: done [2025-03-09 00:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:53:05 [end_date_ymd] => 2025-03-09 00:53:05 [RateCDR] => 1 ) [2025-03-09 00:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:53:05' and `end` < '2025-03-09 00:53:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:53:11] Production.ERROR: CronJobId end10 [2025-03-09 00:53:11] Production.INFO: ==29410== Releasing lock... [2025-03-09 00:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:53:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:53:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:53:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:53:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:53:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:53:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:53:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:53:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:53:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:53:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:53:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:53:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:53:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:53:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:53:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:53:13] Production.INFO: call_cost start [2025-03-09 00:53:13] Production.INFO: call_cost end [2025-03-09 00:53:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:53:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:53:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:53:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:53:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:53:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:53:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:53:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:53:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:53:14] Production.INFO: ==29406== Releasing lock... [2025-03-09 00:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:53:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:53:18] Production.INFO: count ==824 [2025-03-09 00:53:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:53:05 - End Time 2025-03-09 00:53:05 [2025-03-09 00:53:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638944', 'tblTempUsageDetail_20' ) start [2025-03-09 00:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638944', 'tblTempUsageDetail_20' ) end [2025-03-09 00:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638944', 'tblTempVendorCDR_20' ) start [2025-03-09 00:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638944', 'tblTempVendorCDR_20' ) end [2025-03-09 00:53:18] Production.INFO: ProcessCDR(1,14638944,1,1,2) [2025-03-09 00:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638944', 'tblTempUsageDetail_20' ) start [2025-03-09 00:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638944', 'tblTempUsageDetail_20' ) end [2025-03-09 00:53:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:53:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:53:21] Production.INFO: ==29414== Releasing lock... [2025-03-09 00:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:53:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 05:54:01] Production.INFO: ==29475== Lock acquired, processing the job... [2025-03-09 05:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:54:01] Production.INFO: neon service started [2025-03-09 05:54:01] Production.INFO: neon service started [2025-03-09 05:54:01] Production.INFO: ==29475== Releasing lock... [2025-03-09 05:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:54:02] Production.INFO: ==29477== Lock acquired, processing the job... [2025-03-09 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:54:02] Production.INFO: ==29477== Releasing lock... [2025-03-09 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:54:02] Production.INFO: ==29479== Lock acquired, processing the job... [2025-03-09 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:54:02] Production.INFO: ==29479== Releasing lock... [2025-03-09 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:54:03] Production.INFO: ==29482== Lock acquired, processing the job... [2025-03-09 00:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:54:03] Production.INFO: ==29484== Lock acquired, processing the job... [2025-03-09 00:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:54:03] Production.INFO: ==29492== Lock acquired, processing the job... [2025-03-09 00:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:54:03] Production.INFO: ==29488== Lock acquired, processing the job... [2025-03-09 00:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:54:03] Production.INFO: ==29486== Lock acquired, processing the job... [2025-03-09 00:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:54:03] Production.INFO: Account Balance Start. [2025-03-09 00:54:03] Production.INFO: CreateAllLog Start [2025-03-09 00:54:03] Production.INFO: 117 [2025-03-09 00:54:03] Production.INFO: ==29490== Lock acquired, processing the job... [2025-03-09 00:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:54:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:54:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:54:03] Production.INFO: count ==13 [2025-03-09 00:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:54:03] Production.INFO: count ==21 [2025-03-09 00:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638947') start [2025-03-09 00:54:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:54:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:54:03] Production.INFO: Total Charge 0 [2025-03-09 00:54:03] Production.INFO: CreateAllLog End [2025-03-09 00:54:03] Production.INFO: ==29484== Releasing lock... [2025-03-09 00:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:54:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638947') end [2025-03-09 00:54:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:54:03] Production.INFO: 1 [2025-03-09 00:54:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:54:04] Production.INFO: ==29492== Releasing lock... [2025-03-09 00:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:54:04] Production.INFO: Account Balance End. [2025-03-09 00:54:04] Production.ERROR: done [2025-03-09 00:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:54:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:54:04] Production.INFO: ==29488== Releasing lock... [2025-03-09 00:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:54:04] Production.ERROR: done [2025-03-09 00:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:54:05 [end_date_ymd] => 2025-03-09 00:54:05 [RateCDR] => 1 ) [2025-03-09 00:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:54:05' and `end` < '2025-03-09 00:54:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:54:11] Production.ERROR: CronJobId end10 [2025-03-09 00:54:11] Production.INFO: ==29486== Releasing lock... [2025-03-09 00:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:54:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:54:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:54:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:54:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:54:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:54:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:54:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:54:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:54:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:54:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:54:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:54:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:54:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:54:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:54:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:54:14] Production.INFO: call_cost start [2025-03-09 00:54:14] Production.INFO: call_cost end [2025-03-09 00:54:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:54:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:54:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:54:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:54:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:54:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:54:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:54:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:54:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:54:15] Production.INFO: ==29482== Releasing lock... [2025-03-09 00:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:54:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:54:17] Production.INFO: count ==823 [2025-03-09 00:54:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:54:05 - End Time 2025-03-09 00:54:05 [2025-03-09 00:54:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638949', 'tblTempUsageDetail_20' ) start [2025-03-09 00:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638949', 'tblTempUsageDetail_20' ) end [2025-03-09 00:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638949', 'tblTempVendorCDR_20' ) start [2025-03-09 00:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638949', 'tblTempVendorCDR_20' ) end [2025-03-09 00:54:17] Production.INFO: ProcessCDR(1,14638949,1,1,2) [2025-03-09 00:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638949', 'tblTempUsageDetail_20' ) start [2025-03-09 00:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638949', 'tblTempUsageDetail_20' ) end [2025-03-09 00:54:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:54:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:54:22] Production.INFO: ==29490== Releasing lock... [2025-03-09 00:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:54:22] Production.INFO: 35.25 MB #Memory Used# [2025-03-09 05:55:02] Production.INFO: ==29557== Lock acquired, processing the job... [2025-03-09 05:55:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:55:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:55:02] Production.INFO: neon service started [2025-03-09 05:55:02] Production.INFO: neon service started [2025-03-09 05:55:02] Production.INFO: ==29557== Releasing lock... [2025-03-09 05:55:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:55:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:55:02] Production.INFO: ==29561== Lock acquired, processing the job... [2025-03-09 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:55:02] Production.INFO: ==29561== Releasing lock... [2025-03-09 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:55:02] Production.INFO: ==29559== Lock acquired, processing the job... [2025-03-09 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:55:02] Production.INFO: ==29559== Releasing lock... [2025-03-09 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:55:03] Production.INFO: ==29568== Lock acquired, processing the job... [2025-03-09 00:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:55:03] Production.INFO: ==29564== Lock acquired, processing the job... [2025-03-09 00:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:55:04] Production.INFO: ==29572== Lock acquired, processing the job... [2025-03-09 00:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:55:04] Production.INFO: ==29566== Lock acquired, processing the job... [2025-03-09 00:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:55:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:55:04] Production.INFO: ==29570== Lock acquired, processing the job... [2025-03-09 00:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:55:04] Production.INFO: ==29574== Lock acquired, processing the job... [2025-03-09 00:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:55:04] Production.INFO: Account Balance Start. [2025-03-09 00:55:04] Production.INFO: CreateAllLog Start [2025-03-09 00:55:04] Production.INFO: 117 [2025-03-09 00:55:04] Production.INFO: Date 2025-03-08 [2025-03-09 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-09 00:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:55:04] Production.INFO: count ==13 [2025-03-09 00:55:04] Production.ERROR: done [2025-03-09 00:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 00:55:04] Production.INFO: count ==21 [2025-03-09 00:55:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638952') start [2025-03-09 00:55:04] Production.ERROR: done [2025-03-09 00:55:04] Production.INFO: Total Charge 0 [2025-03-09 00:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638952') end [2025-03-09 00:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:55:04] Production.INFO: 1 [2025-03-09 00:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:55:04] Production.INFO: ==29566== Releasing lock... [2025-03-09 00:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:55:04] Production.INFO: CreateAllLog End [2025-03-09 00:55:04] Production.INFO: ==29574== Releasing lock... [2025-03-09 00:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:55:04] Production.INFO: Account Balance End. [2025-03-09 00:55:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:55:04] Production.INFO: ==29570== Releasing lock... [2025-03-09 00:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:55:05 [end_date_ymd] => 2025-03-09 00:55:05 [RateCDR] => 1 ) [2025-03-09 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-08 21:55:05' and `end` < '2025-03-09 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-09 00:55:11] Production.ERROR: CronJobId end10 [2025-03-09 00:55:11] Production.INFO: ==29568== Releasing lock... [2025-03-09 00:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:55:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:55:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:55:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:55:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:55:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:55:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:55:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:55:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:55:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:55:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:55:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:55:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:55:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:55:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:55:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:55:14] Production.INFO: call_cost start [2025-03-09 00:55:14] Production.INFO: call_cost end [2025-03-09 00:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:55:15] Production.INFO: ==29564== Releasing lock... [2025-03-09 00:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:55:17] Production.INFO: count ==825 [2025-03-09 00:55:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:55:05 - End Time 2025-03-09 00:55:05 [2025-03-09 00:55:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638954', 'tblTempUsageDetail_20' ) start [2025-03-09 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638954', 'tblTempUsageDetail_20' ) end [2025-03-09 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638954', 'tblTempVendorCDR_20' ) start [2025-03-09 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638954', 'tblTempVendorCDR_20' ) end [2025-03-09 00:55:18] Production.INFO: ProcessCDR(1,14638954,1,1,2) [2025-03-09 00:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638954', 'tblTempUsageDetail_20' ) start [2025-03-09 00:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638954', 'tblTempUsageDetail_20' ) end [2025-03-09 00:55:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:55:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:55:21] Production.INFO: ==29572== Releasing lock... [2025-03-09 00:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:55:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 05:56:01] Production.INFO: ==29645== Lock acquired, processing the job... [2025-03-09 05:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:56:01] Production.INFO: neon service started [2025-03-09 05:56:01] Production.INFO: neon service started [2025-03-09 05:56:01] Production.INFO: ==29645== Releasing lock... [2025-03-09 05:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:56:01] Production.INFO: ==29647== Lock acquired, processing the job... [2025-03-09 00:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:56:02] Production.INFO: ==29649== Lock acquired, processing the job... [2025-03-09 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:56:02] Production.INFO: ==29649== Releasing lock... [2025-03-09 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:56:02] Production.INFO: ==29647== Releasing lock... [2025-03-09 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:56:03] Production.INFO: ==29654== Lock acquired, processing the job... [2025-03-09 00:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:56:03] Production.INFO: ==29656== Lock acquired, processing the job... [2025-03-09 00:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:56:03] Production.INFO: ==29652== Lock acquired, processing the job... [2025-03-09 00:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:56:03] Production.INFO: ==29658== Lock acquired, processing the job... [2025-03-09 00:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:56:03] Production.INFO: ==29654== Releasing lock... [2025-03-09 00:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:56:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:56:03] Production.INFO: ==29660== Lock acquired, processing the job... [2025-03-09 00:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:56:03] Production.INFO: Account Balance Start. [2025-03-09 00:56:03] Production.INFO: CreateAllLog Start [2025-03-09 00:56:03] Production.INFO: 117 [2025-03-09 00:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:56:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:56:03] Production.INFO: ==29662== Lock acquired, processing the job... [2025-03-09 00:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:56:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:56:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:56:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:56:03] Production.INFO: Total Charge 0 [2025-03-09 00:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:56:03] Production.INFO: CreateAllLog End [2025-03-09 00:56:03] Production.INFO: count ==13 [2025-03-09 00:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:56:03] Production.INFO: count ==21 [2025-03-09 00:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638958') start [2025-03-09 00:56:04] Production.INFO: Account Balance End. [2025-03-09 00:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638958') end [2025-03-09 00:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:56:04] Production.INFO: 1 [2025-03-09 00:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:56:04] Production.INFO: ==29662== Releasing lock... [2025-03-09 00:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:56:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:56:04] Production.INFO: ==29658== Releasing lock... [2025-03-09 00:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:56:04] Production.ERROR: done [2025-03-09 00:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:56:04] Production.ERROR: done [2025-03-09 00:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:56:05 [end_date_ymd] => 2025-03-09 00:56:05 [RateCDR] => 1 ) [2025-03-09 00:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:56:05' and `end` < '2025-03-09 00:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:56:12] Production.ERROR: CronJobId end10 [2025-03-09 00:56:12] Production.INFO: ==29656== Releasing lock... [2025-03-09 00:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:56:14] Production.INFO: call_cost start [2025-03-09 00:56:14] Production.INFO: call_cost end [2025-03-09 00:56:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:56:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:56:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:56:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:56:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:56:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:56:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:56:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:56:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:56:15] Production.INFO: ==29652== Releasing lock... [2025-03-09 00:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:56:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:56:17] Production.INFO: count ==827 [2025-03-09 00:56:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:56:05 - End Time 2025-03-09 00:56:05 [2025-03-09 00:56:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638959', 'tblTempUsageDetail_20' ) start [2025-03-09 00:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638959', 'tblTempUsageDetail_20' ) end [2025-03-09 00:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638959', 'tblTempVendorCDR_20' ) start [2025-03-09 00:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638959', 'tblTempVendorCDR_20' ) end [2025-03-09 00:56:18] Production.INFO: ProcessCDR(1,14638959,1,1,2) [2025-03-09 00:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638959', 'tblTempUsageDetail_20' ) start [2025-03-09 00:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638959', 'tblTempUsageDetail_20' ) end [2025-03-09 00:56:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:56:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:56:21] Production.INFO: ==29660== Releasing lock... [2025-03-09 00:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:56:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 05:57:01] Production.INFO: ==29772== Lock acquired, processing the job... [2025-03-09 05:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:57:01] Production.INFO: neon service started [2025-03-09 05:57:01] Production.INFO: neon service started [2025-03-09 05:57:01] Production.INFO: ==29772== Releasing lock... [2025-03-09 05:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:57:02] Production.INFO: ==29774== Lock acquired, processing the job... [2025-03-09 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:57:02] Production.INFO: ==29774== Releasing lock... [2025-03-09 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:57:02] Production.INFO: ==29776== Lock acquired, processing the job... [2025-03-09 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:57:02] Production.INFO: ==29776== Releasing lock... [2025-03-09 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:57:03] Production.INFO: ==29779== Lock acquired, processing the job... [2025-03-09 00:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:57:03] Production.INFO: ==29783== Lock acquired, processing the job... [2025-03-09 00:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:57:03] Production.INFO: ==29781== Lock acquired, processing the job... [2025-03-09 00:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:57:03] Production.INFO: ==29789== Lock acquired, processing the job... [2025-03-09 00:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:57:03] Production.INFO: ==29785== Lock acquired, processing the job... [2025-03-09 00:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:57:03] Production.INFO: ==29787== Lock acquired, processing the job... [2025-03-09 00:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:57:03] Production.INFO: count ==13 [2025-03-09 00:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:57:03] Production.INFO: count ==21 [2025-03-09 00:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638961') start [2025-03-09 00:57:03] Production.INFO: Account Balance Start. [2025-03-09 00:57:03] Production.INFO: CreateAllLog Start [2025-03-09 00:57:03] Production.INFO: 117 [2025-03-09 00:57:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:57:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638961') end [2025-03-09 00:57:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:57:03] Production.INFO: 1 [2025-03-09 00:57:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:57:03] Production.INFO: Total Charge 0 [2025-03-09 00:57:03] Production.INFO: CreateAllLog End [2025-03-09 00:57:03] Production.INFO: ==29781== Releasing lock... [2025-03-09 00:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:57:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:57:03] Production.INFO: ==29789== Releasing lock... [2025-03-09 00:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:57:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:57:04] Production.INFO: Account Balance End. [2025-03-09 00:57:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:57:04] Production.INFO: ==29785== Releasing lock... [2025-03-09 00:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:57:04] Production.ERROR: done [2025-03-09 00:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:57:04] Production.ERROR: done [2025-03-09 00:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:57:05 [end_date_ymd] => 2025-03-09 00:57:05 [RateCDR] => 1 ) [2025-03-09 00:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:57:05' and `end` < '2025-03-09 00:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:57:11] Production.ERROR: CronJobId end10 [2025-03-09 00:57:11] Production.INFO: ==29783== Releasing lock... [2025-03-09 00:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:57:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:57:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:57:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:57:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:57:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:57:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:57:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:57:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:57:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:57:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:57:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:57:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:57:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:57:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:57:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:57:14] Production.INFO: call_cost start [2025-03-09 00:57:14] Production.INFO: call_cost end [2025-03-09 00:57:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:57:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:57:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:57:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:57:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:57:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:57:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:57:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:57:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:57:15] Production.INFO: ==29779== Releasing lock... [2025-03-09 00:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:57:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:57:17] Production.INFO: count ==829 [2025-03-09 00:57:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:57:05 - End Time 2025-03-09 00:57:05 [2025-03-09 00:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638964', 'tblTempUsageDetail_20' ) start [2025-03-09 00:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638964', 'tblTempUsageDetail_20' ) end [2025-03-09 00:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638964', 'tblTempVendorCDR_20' ) start [2025-03-09 00:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638964', 'tblTempVendorCDR_20' ) end [2025-03-09 00:57:17] Production.INFO: ProcessCDR(1,14638964,1,1,2) [2025-03-09 00:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638964', 'tblTempUsageDetail_20' ) start [2025-03-09 00:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638964', 'tblTempUsageDetail_20' ) end [2025-03-09 00:57:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:57:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:57:20] Production.INFO: ==29787== Releasing lock... [2025-03-09 00:57:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:57:20] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 05:58:02] Production.INFO: ==29852== Lock acquired, processing the job... [2025-03-09 05:58:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:58:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:58:02] Production.INFO: neon service started [2025-03-09 05:58:02] Production.INFO: neon service started [2025-03-09 05:58:02] Production.INFO: ==29852== Releasing lock... [2025-03-09 05:58:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:58:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:58:02] Production.INFO: ==29856== Lock acquired, processing the job... [2025-03-09 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:58:02] Production.INFO: ==29856== Releasing lock... [2025-03-09 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:58:02] Production.INFO: ==29854== Lock acquired, processing the job... [2025-03-09 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:58:03] Production.INFO: ==29854== Releasing lock... [2025-03-09 00:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:58:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 00:58:03] Production.INFO: ==29861== Lock acquired, processing the job... [2025-03-09 00:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:58:04] Production.INFO: ==29869== Lock acquired, processing the job... [2025-03-09 00:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:58:04] Production.INFO: ==29859== Lock acquired, processing the job... [2025-03-09 00:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:58:04] Production.INFO: ==29863== Lock acquired, processing the job... [2025-03-09 00:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:58:04] Production.INFO: ==29861== Releasing lock... [2025-03-09 00:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:58:04] Production.INFO: ==29865== Lock acquired, processing the job... [2025-03-09 00:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:58:04] Production.INFO: count ==13 [2025-03-09 00:58:04] Production.INFO: ==29867== Lock acquired, processing the job... [2025-03-09 00:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:58:04] Production.INFO: count ==21 [2025-03-09 00:58:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638966') start [2025-03-09 00:58:04] Production.INFO: Account Balance Start. [2025-03-09 00:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:58:04] Production.INFO: CreateAllLog Start [2025-03-09 00:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:58:04] Production.INFO: 117 [2025-03-09 00:58:04] Production.INFO: Date 2025-03-08 [2025-03-09 00:58:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:58:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638966') end [2025-03-09 00:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:58:04] Production.INFO: 1 [2025-03-09 00:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:58:04] Production.INFO: Date 2025-03-09 [2025-03-09 00:58:04] Production.INFO: Reseller ==> 0 [2025-03-09 00:58:04] Production.INFO: Total Charge 0 [2025-03-09 00:58:04] Production.INFO: ==29869== Releasing lock... [2025-03-09 00:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:58:04] Production.INFO: CreateAllLog End [2025-03-09 00:58:04] Production.INFO: Account Balance End. [2025-03-09 00:58:04] Production.ERROR: done [2025-03-09 00:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:58:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:58:04] Production.INFO: ==29865== Releasing lock... [2025-03-09 00:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:58:04] Production.ERROR: done [2025-03-09 00:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:58:05 [end_date_ymd] => 2025-03-09 00:58:05 [RateCDR] => 1 ) [2025-03-09 00:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:58:05' and `end` < '2025-03-09 00:58:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:58:12] Production.ERROR: CronJobId end10 [2025-03-09 00:58:12] Production.INFO: ==29863== Releasing lock... [2025-03-09 00:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:58:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:58:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:58:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:58:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:58:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:58:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:58:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:58:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:58:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:58:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:58:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:58:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:58:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:58:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:58:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:58:14] Production.INFO: call_cost start [2025-03-09 00:58:14] Production.INFO: call_cost end [2025-03-09 00:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:58:15] Production.INFO: ==29859== Releasing lock... [2025-03-09 00:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:58:18] Production.INFO: count ==829 [2025-03-09 00:58:18] Production.ERROR: pbx CDR StartTime 2025-03-08 21:58:05 - End Time 2025-03-09 00:58:05 [2025-03-09 00:58:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638969', 'tblTempUsageDetail_20' ) start [2025-03-09 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638969', 'tblTempUsageDetail_20' ) end [2025-03-09 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638969', 'tblTempVendorCDR_20' ) start [2025-03-09 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638969', 'tblTempVendorCDR_20' ) end [2025-03-09 00:58:18] Production.INFO: ProcessCDR(1,14638969,1,1,2) [2025-03-09 00:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638969', 'tblTempUsageDetail_20' ) start [2025-03-09 00:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638969', 'tblTempUsageDetail_20' ) end [2025-03-09 00:58:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:58:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:58:21] Production.INFO: ==29867== Releasing lock... [2025-03-09 00:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:58:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 05:59:01] Production.INFO: ==29932== Lock acquired, processing the job... [2025-03-09 05:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 05:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 05:59:01] Production.INFO: neon service started [2025-03-09 05:59:01] Production.INFO: neon service started [2025-03-09 05:59:01] Production.INFO: ==29932== Releasing lock... [2025-03-09 05:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 05:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 00:59:02] Production.INFO: ==29934== Lock acquired, processing the job... [2025-03-09 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 00:59:02] Production.INFO: ==29934== Releasing lock... [2025-03-09 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 00:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:59:02] Production.INFO: ==29936== Lock acquired, processing the job... [2025-03-09 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:59:02] Production.INFO: ==29936== Releasing lock... [2025-03-09 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 05:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 00:59:03] Production.INFO: ==29943== Lock acquired, processing the job... [2025-03-09 00:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 00:59:03] Production.INFO: ==29939== Lock acquired, processing the job... [2025-03-09 00:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 00:59:03] Production.INFO: ==29941== Lock acquired, processing the job... [2025-03-09 00:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 00:59:03] Production.INFO: ==29949== Lock acquired, processing the job... [2025-03-09 00:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 00:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 00:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 00:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 00:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 00:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 00:59:03] Production.INFO: ==29945== Lock acquired, processing the job... [2025-03-09 00:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 00:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:59:03] Production.INFO: ==29947== Lock acquired, processing the job... [2025-03-09 00:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 00:59:03] Production.INFO: Account Balance Start. [2025-03-09 00:59:03] Production.INFO: CreateAllLog Start [2025-03-09 00:59:03] Production.INFO: count ==13 [2025-03-09 00:59:03] Production.INFO: 117 [2025-03-09 00:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 00:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 00:59:03] Production.INFO: count ==21 [2025-03-09 00:59:03] Production.INFO: Date 2025-03-08 [2025-03-09 00:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638971') start [2025-03-09 00:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:59:03] Production.INFO: Date 2025-03-09 [2025-03-09 00:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 00:59:03] Production.INFO: Total Charge 0 [2025-03-09 00:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638971') end [2025-03-09 00:59:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 00:59:03] Production.INFO: 1 [2025-03-09 00:59:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 00:59:03] Production.INFO: CreateAllLog End [2025-03-09 00:59:03] Production.INFO: ==29949== Releasing lock... [2025-03-09 00:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 00:59:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 00:59:03] Production.INFO: ==29941== Releasing lock... [2025-03-09 00:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 00:59:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 00:59:04] Production.ERROR: done [2025-03-09 00:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 00:59:04] Production.INFO: Account Balance End. [2025-03-09 00:59:04] Production.ERROR: CronJobId end 12 [2025-03-09 00:59:04] Production.INFO: ==29945== Releasing lock... [2025-03-09 00:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 00:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 00:59:04] Production.ERROR: done [2025-03-09 00:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 21:59:05 [end_date_ymd] => 2025-03-09 00:59:05 [RateCDR] => 1 ) [2025-03-09 00:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 21:59:05' and `end` < '2025-03-09 00:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 00:59:12] Production.ERROR: CronJobId end10 [2025-03-09 00:59:12] Production.INFO: ==29943== Releasing lock... [2025-03-09 00:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 00:59:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 00:59:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 00:59:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 00:59:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 00:59:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 00:59:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 00:59:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 00:59:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 00:59:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 00:59:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 00:59:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 00:59:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 00:59:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 00:59:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 00:59:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 00:59:14] Production.INFO: call_cost start [2025-03-09 00:59:14] Production.INFO: call_cost end [2025-03-09 00:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 00:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 00:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 00:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 00:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 00:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 00:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 00:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 00:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 00:59:15] Production.INFO: ==29939== Releasing lock... [2025-03-09 00:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 00:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 00:59:17] Production.INFO: count ==830 [2025-03-09 00:59:17] Production.ERROR: pbx CDR StartTime 2025-03-08 21:59:05 - End Time 2025-03-09 00:59:05 [2025-03-09 00:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 00:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638974', 'tblTempUsageDetail_20' ) start [2025-03-09 00:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638974', 'tblTempUsageDetail_20' ) end [2025-03-09 00:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638974', 'tblTempVendorCDR_20' ) start [2025-03-09 00:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638974', 'tblTempVendorCDR_20' ) end [2025-03-09 00:59:17] Production.INFO: ProcessCDR(1,14638974,1,1,2) [2025-03-09 00:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 00:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 00:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638974', 'tblTempUsageDetail_20' ) start [2025-03-09 00:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638974', 'tblTempUsageDetail_20' ) end [2025-03-09 00:59:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 00:59:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 00:59:21] Production.INFO: ==29947== Releasing lock... [2025-03-09 00:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 00:59:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 06:00:02] Production.INFO: ==30023== Lock acquired, processing the job... [2025-03-09 06:00:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:00:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:00:02] Production.INFO: neon service started [2025-03-09 06:00:02] Production.INFO: neon service started [2025-03-09 06:00:02] Production.INFO: ==30023== Releasing lock... [2025-03-09 06:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:00:02] Production.INFO: ==30027== Lock acquired, processing the job... [2025-03-09 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:00:02] Production.INFO: ==30027== Releasing lock... [2025-03-09 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:00:03] Production.INFO: ==30029== Lock acquired, processing the job... [2025-03-09 06:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:00:03] Production.INFO: ==30029== Releasing lock... [2025-03-09 06:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:00:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:00:04] Production.INFO: ==30034== Lock acquired, processing the job... [2025-03-09 01:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:00:04] Production.INFO: ==30040== Lock acquired, processing the job... [2025-03-09 01:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:00:04] Production.INFO: ==30032== Lock acquired, processing the job... [2025-03-09 01:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 01:00:04] Production.INFO: ==30046== Lock acquired, processing the job... [2025-03-09 01:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:00:04] Production.INFO: ==30036== Lock acquired, processing the job... [2025-03-09 01:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 01:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 01:00:04] Production.ERROR: CronJob PID - 30034 [2025-03-09 01:00:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 01:00:04] Production.ERROR: CronJob ID - 5 [2025-03-09 01:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 01:00:00 [2025-03-09 01:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 01:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 01:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 01:00:04] Production.ERROR: CronJob PID - 30036 [2025-03-09 01:00:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 01:00:04] Production.ERROR: CronJob ID - 7 [2025-03-09 01:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 01:00:00 [2025-03-09 01:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 01:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 01:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 01:00:04] Production.ERROR: CronJob PID - 30040 [2025-03-09 01:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 01:00:04] Production.ERROR: CronJob ID - 12 [2025-03-09 01:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 01:00:00 [2025-03-09 01:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 01:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 01:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 01:00:04] Production.ERROR: CronJob PID - 30046 [2025-03-09 01:00:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 01:00:04] Production.ERROR: CronJob ID - 19 [2025-03-09 01:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 01:00:00 [2025-03-09 01:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 01:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 01:00:04] Production.INFO: ==30038== Lock acquired, processing the job... [2025-03-09 01:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:00:04] Production.INFO: Account Balance Start. [2025-03-09 01:00:04] Production.INFO: CreateAllLog Start [2025-03-09 01:00:04] Production.INFO: 117 [2025-03-09 01:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 01:00:04] Production.INFO: ==30032== Releasing lock... [2025-03-09 01:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 01:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 01:00:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:00:04] Production.INFO: count ==13 [2025-03-09 01:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:00:04] Production.INFO: count ==21 [2025-03-09 01:00:04] Production.INFO: ==30042== Lock acquired, processing the job... [2025-03-09 01:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:00:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638977') start [2025-03-09 01:00:04] Production.INFO: Total Charge 0 [2025-03-09 01:00:04] Production.INFO: ==30044== Lock acquired, processing the job... [2025-03-09 01:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 01:00:04] Production.INFO: CreateAllLog End [2025-03-09 01:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:00:04] Production.INFO: ==30036== Releasing lock... [2025-03-09 01:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638977') end [2025-03-09 01:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:00:04] Production.INFO: 1 [2025-03-09 01:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:00:04] Production.INFO: ==30046== Releasing lock... [2025-03-09 01:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:00:04] Production.ERROR: done [2025-03-09 01:00:05] Production.INFO: Account Balance End. [2025-03-09 01:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 01:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638979', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 01:00:05] Production.ERROR: done [2025-03-09 01:00:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:00:05] Production.ERROR: CronJobId end 12 [2025-03-09 01:00:05] Production.INFO: ==30040== Releasing lock... [2025-03-09 01:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:00:05] Production.ERROR: done [2025-03-09 01:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:00:06 [end_date_ymd] => 2025-03-09 01:00:06 [RateCDR] => 1 ) [2025-03-09 01:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:00:06' and `end` < '2025-03-09 01:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14638979', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 01:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 01:00:09] Production.INFO: ProcessCDR(1,14638979,1,1,2) [2025-03-09 01:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14638979,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14638979,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:00:09] Production.INFO: ==30044== Releasing lock... [2025-03-09 01:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 01:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 01:00:14] Production.ERROR: CronJobId end10 [2025-03-09 01:00:14] Production.INFO: ==30038== Releasing lock... [2025-03-09 01:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:00:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:00:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:00:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:00:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:00:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:00:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:00:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:00:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:00:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:00:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:00:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:00:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:00:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:00:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:00:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:00:16] Production.INFO: call_cost start [2025-03-09 01:00:16] Production.INFO: call_cost end [2025-03-09 01:00:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:00:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:00:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:00:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:00:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:00:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:00:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:00:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:00:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:00:17] Production.INFO: ==30034== Releasing lock... [2025-03-09 01:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:00:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:00:18] Production.INFO: count ==838 [2025-03-09 01:00:19] Production.ERROR: pbx CDR StartTime 2025-03-08 22:00:06 - End Time 2025-03-09 01:00:06 [2025-03-09 01:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638980', 'tblTempUsageDetail_20' ) start [2025-03-09 01:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638980', 'tblTempUsageDetail_20' ) end [2025-03-09 01:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638980', 'tblTempVendorCDR_20' ) start [2025-03-09 01:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638980', 'tblTempVendorCDR_20' ) end [2025-03-09 01:00:19] Production.INFO: ProcessCDR(1,14638980,1,1,2) [2025-03-09 01:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638980', 'tblTempUsageDetail_20' ) start [2025-03-09 01:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638980', 'tblTempUsageDetail_20' ) end [2025-03-09 01:00:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:00:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:00:22] Production.INFO: ==30042== Releasing lock... [2025-03-09 01:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:00:22] Production.INFO: 35 MB #Memory Used# [2025-03-09 06:01:01] Production.INFO: ==30116== Lock acquired, processing the job... [2025-03-09 06:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:01:01] Production.INFO: neon service started [2025-03-09 06:01:01] Production.INFO: neon service started [2025-03-09 06:01:01] Production.INFO: ==30116== Releasing lock... [2025-03-09 06:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:01:02] Production.INFO: ==30126== Lock acquired, processing the job... [2025-03-09 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:01:02] Production.INFO: ==30126== Releasing lock... [2025-03-09 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:01:02] Production.INFO: ==30128== Lock acquired, processing the job... [2025-03-09 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:01:02] Production.INFO: ==30128== Releasing lock... [2025-03-09 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:01:03] Production.INFO: ==30136== Lock acquired, processing the job... [2025-03-09 01:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:01:03] Production.INFO: ==30140== Lock acquired, processing the job... [2025-03-09 01:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:01:03] Production.INFO: Account Balance Start. [2025-03-09 01:01:03] Production.INFO: CreateAllLog Start [2025-03-09 01:01:03] Production.INFO: 117 [2025-03-09 01:01:03] Production.INFO: Date 2025-03-08 [2025-03-09 01:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:01:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:01:03] Production.INFO: ==30130== Lock acquired, processing the job... [2025-03-09 01:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:01:03] Production.INFO: count ==13 [2025-03-09 01:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:01:03] Production.INFO: count ==21 [2025-03-09 01:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638982') start [2025-03-09 01:01:03] Production.INFO: ==30132== Lock acquired, processing the job... [2025-03-09 01:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:01:03] Production.INFO: ==30134== Lock acquired, processing the job... [2025-03-09 01:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:01:03] Production.INFO: Date 2025-03-09 [2025-03-09 01:01:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:01:03] Production.INFO: Total Charge 0 [2025-03-09 01:01:03] Production.INFO: CreateAllLog End [2025-03-09 01:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:01:03] Production.INFO: ==30138== Lock acquired, processing the job... [2025-03-09 01:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638982') end [2025-03-09 01:01:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:01:03] Production.INFO: 1 [2025-03-09 01:01:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:01:03] Production.INFO: Account Balance End. [2025-03-09 01:01:03] Production.INFO: ==30140== Releasing lock... [2025-03-09 01:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:01:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:01:03] Production.ERROR: CronJobId end 12 [2025-03-09 01:01:03] Production.INFO: ==30136== Releasing lock... [2025-03-09 01:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:01:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:01:03] Production.INFO: ==30132== Releasing lock... [2025-03-09 01:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:01:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:01:04] Production.ERROR: done [2025-03-09 01:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:01:04] Production.ERROR: done [2025-03-09 01:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:01:05 [end_date_ymd] => 2025-03-09 01:01:05 [RateCDR] => 1 ) [2025-03-09 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-08 22:01:05' and `end` < '2025-03-09 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-09 01:01:11] Production.ERROR: CronJobId end10 [2025-03-09 01:01:11] Production.INFO: ==30134== Releasing lock... [2025-03-09 01:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:01:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:01:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:01:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:01:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:01:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:01:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:01:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:01:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:01:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:01:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:01:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:01:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:01:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:01:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:01:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:01:14] Production.INFO: call_cost start [2025-03-09 01:01:14] Production.INFO: call_cost end [2025-03-09 01:01:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:01:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:01:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:01:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:01:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:01:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:01:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:01:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:01:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:01:15] Production.INFO: ==30130== Releasing lock... [2025-03-09 01:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:01:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:01:17] Production.INFO: count ==840 [2025-03-09 01:01:17] Production.ERROR: pbx CDR StartTime 2025-03-08 22:01:05 - End Time 2025-03-09 01:01:05 [2025-03-09 01:01:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638985', 'tblTempUsageDetail_20' ) start [2025-03-09 01:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638985', 'tblTempUsageDetail_20' ) end [2025-03-09 01:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638985', 'tblTempVendorCDR_20' ) start [2025-03-09 01:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638985', 'tblTempVendorCDR_20' ) end [2025-03-09 01:01:17] Production.INFO: ProcessCDR(1,14638985,1,1,2) [2025-03-09 01:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:01:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638985', 'tblTempUsageDetail_20' ) start [2025-03-09 01:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638985', 'tblTempUsageDetail_20' ) end [2025-03-09 01:01:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:01:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:01:21] Production.INFO: ==30138== Releasing lock... [2025-03-09 01:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:01:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 06:02:02] Production.INFO: ==30201== Lock acquired, processing the job... [2025-03-09 06:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:02:02] Production.INFO: neon service started [2025-03-09 06:02:02] Production.INFO: neon service started [2025-03-09 06:02:02] Production.INFO: ==30201== Releasing lock... [2025-03-09 06:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:02:02] Production.INFO: ==30203== Lock acquired, processing the job... [2025-03-09 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:02:02] Production.INFO: ==30205== Lock acquired, processing the job... [2025-03-09 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:02:02] Production.INFO: ==30203== Releasing lock... [2025-03-09 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:02:02] Production.INFO: ==30205== Releasing lock... [2025-03-09 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:02:03] Production.INFO: ==30215== Lock acquired, processing the job... [2025-03-09 01:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:02:03] Production.INFO: ==30207== Lock acquired, processing the job... [2025-03-09 01:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:02:03] Production.INFO: ==30218== Lock acquired, processing the job... [2025-03-09 01:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:02:03] Production.INFO: ==30209== Lock acquired, processing the job... [2025-03-09 01:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:02:03] Production.INFO: ==30211== Lock acquired, processing the job... [2025-03-09 01:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:02:03] Production.INFO: ==30213== Lock acquired, processing the job... [2025-03-09 01:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:02:03] Production.INFO: count ==13 [2025-03-09 01:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:02:03] Production.INFO: count ==21 [2025-03-09 01:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:02:03] Production.INFO: Account Balance Start. [2025-03-09 01:02:04] Production.INFO: CreateAllLog Start [2025-03-09 01:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:02:04] Production.INFO: 117 [2025-03-09 01:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638987') start [2025-03-09 01:02:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:02:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14638987') end [2025-03-09 01:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:02:04] Production.INFO: 1 [2025-03-09 01:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:02:04] Production.INFO: Total Charge 0 [2025-03-09 01:02:04] Production.INFO: CreateAllLog End [2025-03-09 01:02:04] Production.INFO: ==30218== Releasing lock... [2025-03-09 01:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:02:04] Production.ERROR: done [2025-03-09 01:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:02:04] Production.INFO: ==30209== Releasing lock... [2025-03-09 01:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:02:04] Production.ERROR: done [2025-03-09 01:02:04] Production.INFO: Account Balance End. [2025-03-09 01:02:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:02:04] Production.INFO: ==30213== Releasing lock... [2025-03-09 01:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:02:05 [end_date_ymd] => 2025-03-09 01:02:05 [RateCDR] => 1 ) [2025-03-09 01:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:02:05' and `end` < '2025-03-09 01:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:02:11] Production.ERROR: CronJobId end10 [2025-03-09 01:02:11] Production.INFO: ==30211== Releasing lock... [2025-03-09 01:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:02:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:02:14] Production.INFO: call_cost start [2025-03-09 01:02:14] Production.INFO: call_cost end [2025-03-09 01:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:02:15] Production.INFO: ==30207== Releasing lock... [2025-03-09 01:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:02:17] Production.INFO: count ==838 [2025-03-09 01:02:17] Production.ERROR: pbx CDR StartTime 2025-03-08 22:02:05 - End Time 2025-03-09 01:02:05 [2025-03-09 01:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638990', 'tblTempUsageDetail_20' ) start [2025-03-09 01:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638990', 'tblTempUsageDetail_20' ) end [2025-03-09 01:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638990', 'tblTempVendorCDR_20' ) start [2025-03-09 01:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638990', 'tblTempVendorCDR_20' ) end [2025-03-09 01:02:17] Production.INFO: ProcessCDR(1,14638990,1,1,2) [2025-03-09 01:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:02:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:02:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:02:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:02:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638990', 'tblTempUsageDetail_20' ) start [2025-03-09 01:02:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638990', 'tblTempUsageDetail_20' ) end [2025-03-09 01:02:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:02:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:02:20] Production.INFO: ==30215== Releasing lock... [2025-03-09 01:02:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:02:20] Production.INFO: 35.25 MB #Memory Used# [2025-03-09 06:03:01] Production.INFO: ==30282== Lock acquired, processing the job... [2025-03-09 06:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:03:01] Production.INFO: neon service started [2025-03-09 06:03:01] Production.INFO: neon service started [2025-03-09 06:03:01] Production.INFO: ==30282== Releasing lock... [2025-03-09 06:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:03:01] Production.INFO: ==30284== Lock acquired, processing the job... [2025-03-09 01:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:03:02] Production.INFO: ==30284== Releasing lock... [2025-03-09 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:03:02] Production.INFO: ==30286== Lock acquired, processing the job... [2025-03-09 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:03:02] Production.INFO: ==30286== Releasing lock... [2025-03-09 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:03:02] Production.INFO: 26 MB #Memory Used# [2025-03-09 01:03:03] Production.INFO: ==30295== Lock acquired, processing the job... [2025-03-09 01:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:03:03] Production.INFO: ==30289== Lock acquired, processing the job... [2025-03-09 01:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:03:03] Production.INFO: ==30291== Lock acquired, processing the job... [2025-03-09 01:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:03:03] Production.INFO: ==30299== Lock acquired, processing the job... [2025-03-09 01:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:03:03] Production.INFO: Account Balance Start. [2025-03-09 01:03:03] Production.INFO: CreateAllLog Start [2025-03-09 01:03:03] Production.INFO: 117 [2025-03-09 01:03:03] Production.INFO: Date 2025-03-08 [2025-03-09 01:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:03:03] Production.INFO: ==30293== Lock acquired, processing the job... [2025-03-09 01:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:03:03] Production.INFO: Date 2025-03-09 [2025-03-09 01:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:03:03] Production.INFO: count ==13 [2025-03-09 01:03:03] Production.INFO: ==30297== Lock acquired, processing the job... [2025-03-09 01:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:03:03] Production.INFO: count ==21 [2025-03-09 01:03:03] Production.INFO: Total Charge 0 [2025-03-09 01:03:03] Production.INFO: CreateAllLog End [2025-03-09 01:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638992') start [2025-03-09 01:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:03:03] Production.INFO: Account Balance End. [2025-03-09 01:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638992') end [2025-03-09 01:03:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:03:03] Production.INFO: 1 [2025-03-09 01:03:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:03:03] Production.ERROR: CronJobId end 12 [2025-03-09 01:03:03] Production.INFO: ==30295== Releasing lock... [2025-03-09 01:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:03:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:03:03] Production.INFO: ==30299== Releasing lock... [2025-03-09 01:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:03:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:03:03] Production.INFO: ==30291== Releasing lock... [2025-03-09 01:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:03:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:03:04] Production.ERROR: done [2025-03-09 01:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:03:04] Production.ERROR: done [2025-03-09 01:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:03:05 [end_date_ymd] => 2025-03-09 01:03:05 [RateCDR] => 1 ) [2025-03-09 01:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:03:05' and `end` < '2025-03-09 01:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:03:11] Production.ERROR: CronJobId end10 [2025-03-09 01:03:11] Production.INFO: ==30293== Releasing lock... [2025-03-09 01:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:03:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:03:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:03:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:03:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:03:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:03:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:03:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:03:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:03:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:03:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:03:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:03:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:03:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:03:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:03:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:03:14] Production.INFO: call_cost start [2025-03-09 01:03:14] Production.INFO: call_cost end [2025-03-09 01:03:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:03:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:03:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:03:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:03:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:03:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:03:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:03:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:03:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:03:15] Production.INFO: ==30289== Releasing lock... [2025-03-09 01:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:03:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:03:17] Production.INFO: count ==837 [2025-03-09 01:03:17] Production.ERROR: pbx CDR StartTime 2025-03-08 22:03:05 - End Time 2025-03-09 01:03:05 [2025-03-09 01:03:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638995', 'tblTempUsageDetail_20' ) start [2025-03-09 01:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14638995', 'tblTempUsageDetail_20' ) end [2025-03-09 01:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638995', 'tblTempVendorCDR_20' ) start [2025-03-09 01:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14638995', 'tblTempVendorCDR_20' ) end [2025-03-09 01:03:17] Production.INFO: ProcessCDR(1,14638995,1,1,2) [2025-03-09 01:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14638995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14638995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14638995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14638995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638995', 'tblTempUsageDetail_20' ) start [2025-03-09 01:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14638995', 'tblTempUsageDetail_20' ) end [2025-03-09 01:03:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:03:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:03:21] Production.INFO: ==30297== Releasing lock... [2025-03-09 01:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:03:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 06:04:01] Production.INFO: ==30361== Lock acquired, processing the job... [2025-03-09 06:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:04:01] Production.INFO: neon service started [2025-03-09 06:04:02] Production.INFO: neon service started [2025-03-09 06:04:02] Production.INFO: ==30361== Releasing lock... [2025-03-09 06:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:04:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:04:02] Production.INFO: ==30363== Lock acquired, processing the job... [2025-03-09 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:04:02] Production.INFO: ==30363== Releasing lock... [2025-03-09 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:04:02] Production.INFO: ==30365== Lock acquired, processing the job... [2025-03-09 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:04:02] Production.INFO: ==30365== Releasing lock... [2025-03-09 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:04:03] Production.INFO: ==30368== Lock acquired, processing the job... [2025-03-09 01:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:04:03] Production.INFO: ==30378== Lock acquired, processing the job... [2025-03-09 01:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:04:03] Production.INFO: ==30370== Lock acquired, processing the job... [2025-03-09 01:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:04:03] Production.INFO: ==30372== Lock acquired, processing the job... [2025-03-09 01:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:04:03] Production.INFO: count ==13 [2025-03-09 01:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:04:03] Production.INFO: count ==21 [2025-03-09 01:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638997') start [2025-03-09 01:04:03] Production.INFO: ==30376== Lock acquired, processing the job... [2025-03-09 01:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:04:03] Production.INFO: ==30374== Lock acquired, processing the job... [2025-03-09 01:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14638997') end [2025-03-09 01:04:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:04:03] Production.INFO: 1 [2025-03-09 01:04:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:04:03] Production.INFO: ==30378== Releasing lock... [2025-03-09 01:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:04:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:04:04] Production.INFO: Account Balance Start. [2025-03-09 01:04:04] Production.INFO: CreateAllLog Start [2025-03-09 01:04:04] Production.INFO: 117 [2025-03-09 01:04:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:04:04] Production.INFO: ==30370== Releasing lock... [2025-03-09 01:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:04:04] Production.ERROR: done [2025-03-09 01:04:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:04:04] Production.INFO: Total Charge 0 [2025-03-09 01:04:04] Production.INFO: CreateAllLog End [2025-03-09 01:04:04] Production.ERROR: done [2025-03-09 01:04:04] Production.INFO: Account Balance End. [2025-03-09 01:04:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:04:04] Production.INFO: ==30374== Releasing lock... [2025-03-09 01:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:04:05 [end_date_ymd] => 2025-03-09 01:04:05 [RateCDR] => 1 ) [2025-03-09 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-08 22:04:05' and `end` < '2025-03-09 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-09 01:04:11] Production.ERROR: CronJobId end10 [2025-03-09 01:04:11] Production.INFO: ==30372== Releasing lock... [2025-03-09 01:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:04:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:04:14] Production.INFO: call_cost start [2025-03-09 01:04:14] Production.INFO: call_cost end [2025-03-09 01:04:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:04:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:04:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:04:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:04:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:04:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:04:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:04:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:04:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:04:15] Production.INFO: ==30368== Releasing lock... [2025-03-09 01:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:04:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:04:17] Production.INFO: count ==837 [2025-03-09 01:04:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:04:05 - End Time 2025-03-09 01:04:05 [2025-03-09 01:04:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639000', 'tblTempUsageDetail_20' ) start [2025-03-09 01:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639000', 'tblTempUsageDetail_20' ) end [2025-03-09 01:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639000', 'tblTempVendorCDR_20' ) start [2025-03-09 01:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639000', 'tblTempVendorCDR_20' ) end [2025-03-09 01:04:18] Production.INFO: ProcessCDR(1,14639000,1,1,2) [2025-03-09 01:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639000', 'tblTempUsageDetail_20' ) start [2025-03-09 01:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639000', 'tblTempUsageDetail_20' ) end [2025-03-09 01:04:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:04:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:04:21] Production.INFO: ==30376== Releasing lock... [2025-03-09 01:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:04:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 06:05:01] Production.INFO: ==30434== Lock acquired, processing the job... [2025-03-09 06:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:05:01] Production.INFO: neon service started [2025-03-09 06:05:01] Production.INFO: neon service started [2025-03-09 06:05:01] Production.INFO: ==30434== Releasing lock... [2025-03-09 06:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:05:02] Production.INFO: ==30438== Lock acquired, processing the job... [2025-03-09 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:05:02] Production.INFO: ==30438== Releasing lock... [2025-03-09 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:05:02] Production.INFO: ==30436== Lock acquired, processing the job... [2025-03-09 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:05:02] Production.INFO: ==30436== Releasing lock... [2025-03-09 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:05:03] Production.INFO: ==30445== Lock acquired, processing the job... [2025-03-09 01:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:05:03] Production.INFO: ==30441== Lock acquired, processing the job... [2025-03-09 01:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:05:03] Production.INFO: ==30443== Lock acquired, processing the job... [2025-03-09 01:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:05:03] Production.INFO: ==30447== Lock acquired, processing the job... [2025-03-09 01:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:05:03] Production.INFO: ==30451== Lock acquired, processing the job... [2025-03-09 01:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:05:03] Production.INFO: ==30449== Lock acquired, processing the job... [2025-03-09 01:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:05:03] Production.INFO: Account Balance Start. [2025-03-09 01:05:03] Production.INFO: CreateAllLog Start [2025-03-09 01:05:03] Production.INFO: 117 [2025-03-09 01:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:05:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:05:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:05:04] Production.INFO: count ==13 [2025-03-09 01:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:05:04] Production.INFO: count ==21 [2025-03-09 01:05:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:05:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639004') start [2025-03-09 01:05:04] Production.INFO: ==30443== Releasing lock... [2025-03-09 01:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:05:04] Production.INFO: Total Charge 0 [2025-03-09 01:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639004') end [2025-03-09 01:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:05:04] Production.INFO: 1 [2025-03-09 01:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:05:04] Production.INFO: CreateAllLog End [2025-03-09 01:05:04] Production.INFO: ==30451== Releasing lock... [2025-03-09 01:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:05:04] Production.ERROR: done [2025-03-09 01:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:05:04] Production.INFO: Account Balance End. [2025-03-09 01:05:04] Production.ERROR: done [2025-03-09 01:05:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:05:04] Production.INFO: ==30447== Releasing lock... [2025-03-09 01:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:05:05 [end_date_ymd] => 2025-03-09 01:05:05 [RateCDR] => 1 ) [2025-03-09 01:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:05:05' and `end` < '2025-03-09 01:05:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:05:11] Production.ERROR: CronJobId end10 [2025-03-09 01:05:11] Production.INFO: ==30445== Releasing lock... [2025-03-09 01:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:05:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:05:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:05:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:05:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:05:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:05:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:05:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:05:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:05:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:05:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:05:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:05:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:05:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:05:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:05:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:05:14] Production.INFO: call_cost start [2025-03-09 01:05:14] Production.INFO: call_cost end [2025-03-09 01:05:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:05:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:05:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:05:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:05:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:05:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:05:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:05:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:05:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:05:15] Production.INFO: ==30441== Releasing lock... [2025-03-09 01:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:05:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:05:18] Production.INFO: count ==840 [2025-03-09 01:05:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:05:05 - End Time 2025-03-09 01:05:05 [2025-03-09 01:05:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639005', 'tblTempUsageDetail_20' ) start [2025-03-09 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639005', 'tblTempUsageDetail_20' ) end [2025-03-09 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639005', 'tblTempVendorCDR_20' ) start [2025-03-09 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639005', 'tblTempVendorCDR_20' ) end [2025-03-09 01:05:18] Production.INFO: ProcessCDR(1,14639005,1,1,2) [2025-03-09 01:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639005', 'tblTempUsageDetail_20' ) start [2025-03-09 01:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639005', 'tblTempUsageDetail_20' ) end [2025-03-09 01:05:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:05:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:05:21] Production.INFO: ==30449== Releasing lock... [2025-03-09 01:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:05:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 06:06:02] Production.INFO: ==30511== Lock acquired, processing the job... [2025-03-09 06:06:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:06:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:06:02] Production.INFO: neon service started [2025-03-09 06:06:02] Production.INFO: neon service started [2025-03-09 06:06:02] Production.INFO: ==30511== Releasing lock... [2025-03-09 06:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:06:02] Production.INFO: ==30513== Lock acquired, processing the job... [2025-03-09 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:06:02] Production.INFO: ==30513== Releasing lock... [2025-03-09 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:06:02] Production.INFO: ==30515== Lock acquired, processing the job... [2025-03-09 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:06:02] Production.INFO: ==30515== Releasing lock... [2025-03-09 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:06:03] Production.INFO: ==30528== Lock acquired, processing the job... [2025-03-09 01:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:06:03] Production.INFO: ==30526== Lock acquired, processing the job... [2025-03-09 01:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:06:03] Production.INFO: ==30518== Lock acquired, processing the job... [2025-03-09 01:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:06:03] Production.INFO: count ==13 [2025-03-09 01:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:06:04] Production.INFO: count ==21 [2025-03-09 01:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639006') start [2025-03-09 01:06:04] Production.INFO: ==30520== Lock acquired, processing the job... [2025-03-09 01:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:06:04] Production.INFO: ==30522== Lock acquired, processing the job... [2025-03-09 01:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:06:04] Production.INFO: ==30524== Lock acquired, processing the job... [2025-03-09 01:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639006') end [2025-03-09 01:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:06:04] Production.INFO: 1 [2025-03-09 01:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:06:04] Production.INFO: ==30528== Releasing lock... [2025-03-09 01:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:06:04] Production.INFO: Account Balance Start. [2025-03-09 01:06:04] Production.INFO: CreateAllLog Start [2025-03-09 01:06:04] Production.ERROR: done [2025-03-09 01:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:06:04] Production.INFO: 117 [2025-03-09 01:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:06:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:06:04] Production.ERROR: done [2025-03-09 01:06:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:06:04] Production.INFO: Total Charge 0 [2025-03-09 01:06:04] Production.INFO: CreateAllLog End [2025-03-09 01:06:04] Production.INFO: ==30520== Releasing lock... [2025-03-09 01:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:06:04] Production.INFO: Account Balance End. [2025-03-09 01:06:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:06:04] Production.INFO: ==30524== Releasing lock... [2025-03-09 01:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:06:05 [end_date_ymd] => 2025-03-09 01:06:05 [RateCDR] => 1 ) [2025-03-09 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-08 22:06:05' and `end` < '2025-03-09 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-09 01:06:13] Production.ERROR: CronJobId end10 [2025-03-09 01:06:13] Production.INFO: ==30522== Releasing lock... [2025-03-09 01:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:06:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:06:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:06:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:06:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:06:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:06:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:06:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:06:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:06:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:06:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:06:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:06:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:06:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:06:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:06:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:06:15] Production.INFO: call_cost start [2025-03-09 01:06:15] Production.INFO: call_cost end [2025-03-09 01:06:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:06:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:06:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:06:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:06:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:06:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:06:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:06:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:06:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:06:16] Production.INFO: ==30518== Releasing lock... [2025-03-09 01:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:06:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:06:17] Production.INFO: count ==839 [2025-03-09 01:06:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:06:05 - End Time 2025-03-09 01:06:05 [2025-03-09 01:06:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639010', 'tblTempUsageDetail_20' ) start [2025-03-09 01:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639010', 'tblTempUsageDetail_20' ) end [2025-03-09 01:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639010', 'tblTempVendorCDR_20' ) start [2025-03-09 01:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639010', 'tblTempVendorCDR_20' ) end [2025-03-09 01:06:18] Production.INFO: ProcessCDR(1,14639010,1,1,2) [2025-03-09 01:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639010', 'tblTempUsageDetail_20' ) start [2025-03-09 01:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639010', 'tblTempUsageDetail_20' ) end [2025-03-09 01:06:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:06:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:06:21] Production.INFO: ==30526== Releasing lock... [2025-03-09 01:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:06:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 06:07:01] Production.INFO: ==30586== Lock acquired, processing the job... [2025-03-09 06:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:07:01] Production.INFO: neon service started [2025-03-09 06:07:01] Production.INFO: neon service started [2025-03-09 06:07:01] Production.INFO: ==30586== Releasing lock... [2025-03-09 06:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:07:01] Production.INFO: ==30592== Lock acquired, processing the job... [2025-03-09 06:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:07:01] Production.INFO: ==30592== Releasing lock... [2025-03-09 06:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:07:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:07:02] Production.INFO: ==30590== Lock acquired, processing the job... [2025-03-09 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:07:02] Production.INFO: ==30590== Releasing lock... [2025-03-09 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:07:03] Production.INFO: ==30594== Lock acquired, processing the job... [2025-03-09 01:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:07:03] Production.INFO: ==30596== Lock acquired, processing the job... [2025-03-09 01:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:07:03] Production.INFO: ==30598== Lock acquired, processing the job... [2025-03-09 01:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:07:03] Production.INFO: ==30601== Lock acquired, processing the job... [2025-03-09 01:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:07:03] Production.INFO: ==30596== Releasing lock... [2025-03-09 01:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:07:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:07:03] Production.INFO: ==30603== Lock acquired, processing the job... [2025-03-09 01:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:07:03] Production.INFO: ==30605== Lock acquired, processing the job... [2025-03-09 01:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:07:03] Production.INFO: Account Balance Start. [2025-03-09 01:07:03] Production.INFO: CreateAllLog Start [2025-03-09 01:07:03] Production.INFO: 117 [2025-03-09 01:07:03] Production.INFO: Date 2025-03-08 [2025-03-09 01:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:07:03] Production.INFO: Date 2025-03-09 [2025-03-09 01:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:07:03] Production.INFO: Total Charge 0 [2025-03-09 01:07:03] Production.INFO: CreateAllLog End [2025-03-09 01:07:03] Production.INFO: Account Balance End. [2025-03-09 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-09 01:07:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:07:04] Production.INFO: ==30601== Releasing lock... [2025-03-09 01:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:07:04] Production.INFO: count ==13 [2025-03-09 01:07:04] Production.ERROR: done [2025-03-09 01:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 01:07:04] Production.INFO: count ==21 [2025-03-09 01:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639014') start [2025-03-09 01:07:04] Production.ERROR: done [2025-03-09 01:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639014') end [2025-03-09 01:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:07:04] Production.INFO: 1 [2025-03-09 01:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:07:04] Production.INFO: ==30605== Releasing lock... [2025-03-09 01:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:07:05 [end_date_ymd] => 2025-03-09 01:07:05 [RateCDR] => 1 ) [2025-03-09 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-08 22:07:05' and `end` < '2025-03-09 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-09 01:07:11] Production.ERROR: CronJobId end10 [2025-03-09 01:07:11] Production.INFO: ==30598== Releasing lock... [2025-03-09 01:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:07:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:07:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:07:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:07:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:07:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:07:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:07:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:07:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:07:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:07:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:07:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:07:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:07:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:07:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:07:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:07:14] Production.INFO: call_cost start [2025-03-09 01:07:14] Production.INFO: call_cost end [2025-03-09 01:07:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:07:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:07:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:07:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:07:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:07:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:07:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:07:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:07:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:07:15] Production.INFO: ==30594== Releasing lock... [2025-03-09 01:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:07:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:07:17] Production.INFO: count ==839 [2025-03-09 01:07:17] Production.ERROR: pbx CDR StartTime 2025-03-08 22:07:05 - End Time 2025-03-09 01:07:05 [2025-03-09 01:07:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639015', 'tblTempUsageDetail_20' ) start [2025-03-09 01:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639015', 'tblTempUsageDetail_20' ) end [2025-03-09 01:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639015', 'tblTempVendorCDR_20' ) start [2025-03-09 01:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639015', 'tblTempVendorCDR_20' ) end [2025-03-09 01:07:17] Production.INFO: ProcessCDR(1,14639015,1,1,2) [2025-03-09 01:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639015,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639015,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639015,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:07:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639015,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639015', 'tblTempUsageDetail_20' ) start [2025-03-09 01:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639015', 'tblTempUsageDetail_20' ) end [2025-03-09 01:07:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:07:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:07:20] Production.INFO: ==30603== Releasing lock... [2025-03-09 01:07:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:07:20] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 06:08:02] Production.INFO: ==30663== Lock acquired, processing the job... [2025-03-09 06:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:08:02] Production.INFO: neon service started [2025-03-09 06:08:02] Production.INFO: neon service started [2025-03-09 06:08:02] Production.INFO: ==30663== Releasing lock... [2025-03-09 06:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:08:02] Production.INFO: ==30667== Lock acquired, processing the job... [2025-03-09 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:08:02] Production.INFO: ==30667== Releasing lock... [2025-03-09 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:08:02] Production.INFO: ==30665== Lock acquired, processing the job... [2025-03-09 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:08:02] Production.INFO: ==30665== Releasing lock... [2025-03-09 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:08:03] Production.INFO: ==30671== Lock acquired, processing the job... [2025-03-09 01:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:08:03] Production.INFO: ==30678== Lock acquired, processing the job... [2025-03-09 01:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:08:03] Production.INFO: ==30671== Releasing lock... [2025-03-09 01:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:08:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:08:03] Production.INFO: ==30680== Lock acquired, processing the job... [2025-03-09 01:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:08:04] Production.INFO: ==30676== Lock acquired, processing the job... [2025-03-09 01:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:08:04] Production.INFO: count ==13 [2025-03-09 01:08:04] Production.INFO: ==30669== Lock acquired, processing the job... [2025-03-09 01:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:08:04] Production.INFO: count ==21 [2025-03-09 01:08:04] Production.INFO: ==30674== Lock acquired, processing the job... [2025-03-09 01:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639017') start [2025-03-09 01:08:04] Production.INFO: Account Balance Start. [2025-03-09 01:08:04] Production.INFO: CreateAllLog Start [2025-03-09 01:08:04] Production.INFO: 117 [2025-03-09 01:08:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:08:04] Production.ERROR: done [2025-03-09 01:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:08:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:08:04] Production.INFO: Total Charge 0 [2025-03-09 01:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639017') end [2025-03-09 01:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:08:04] Production.INFO: 1 [2025-03-09 01:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:08:04] Production.INFO: CreateAllLog End [2025-03-09 01:08:04] Production.INFO: ==30680== Releasing lock... [2025-03-09 01:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:08:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:08:04] Production.ERROR: done [2025-03-09 01:08:04] Production.INFO: Account Balance End. [2025-03-09 01:08:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:08:04] Production.INFO: ==30676== Releasing lock... [2025-03-09 01:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:08:05 [end_date_ymd] => 2025-03-09 01:08:05 [RateCDR] => 1 ) [2025-03-09 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-08 22:08:05' and `end` < '2025-03-09 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-09 01:08:12] Production.ERROR: CronJobId end10 [2025-03-09 01:08:12] Production.INFO: ==30674== Releasing lock... [2025-03-09 01:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:08:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:08:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:08:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:08:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:08:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:08:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:08:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:08:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:08:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:08:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:08:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:08:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:08:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:08:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:08:14] Production.INFO: call_cost start [2025-03-09 01:08:14] Production.INFO: call_cost end [2025-03-09 01:08:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:08:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:08:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:08:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:08:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:08:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:08:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:08:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:08:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:08:15] Production.INFO: ==30669== Releasing lock... [2025-03-09 01:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:08:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:08:17] Production.INFO: count ==832 [2025-03-09 01:08:17] Production.ERROR: pbx CDR StartTime 2025-03-08 22:08:05 - End Time 2025-03-09 01:08:05 [2025-03-09 01:08:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639020', 'tblTempUsageDetail_20' ) start [2025-03-09 01:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639020', 'tblTempUsageDetail_20' ) end [2025-03-09 01:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639020', 'tblTempVendorCDR_20' ) start [2025-03-09 01:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639020', 'tblTempVendorCDR_20' ) end [2025-03-09 01:08:18] Production.INFO: ProcessCDR(1,14639020,1,1,2) [2025-03-09 01:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639020', 'tblTempUsageDetail_20' ) start [2025-03-09 01:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639020', 'tblTempUsageDetail_20' ) end [2025-03-09 01:08:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:08:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:08:21] Production.INFO: ==30678== Releasing lock... [2025-03-09 01:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:08:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 06:09:01] Production.INFO: ==30741== Lock acquired, processing the job... [2025-03-09 06:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:09:01] Production.INFO: neon service started [2025-03-09 06:09:01] Production.INFO: neon service started [2025-03-09 06:09:01] Production.INFO: ==30741== Releasing lock... [2025-03-09 06:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:09:01] Production.INFO: ==30743== Lock acquired, processing the job... [2025-03-09 01:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:09:02] Production.INFO: ==30743== Releasing lock... [2025-03-09 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:09:02] Production.INFO: ==30745== Lock acquired, processing the job... [2025-03-09 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:09:02] Production.INFO: ==30745== Releasing lock... [2025-03-09 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:09:02] Production.INFO: ==30747== Lock acquired, processing the job... [2025-03-09 01:09:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:09:03] Production.INFO: ==30749== Lock acquired, processing the job... [2025-03-09 01:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:09:03] Production.INFO: ==30756== Lock acquired, processing the job... [2025-03-09 01:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:09:03] Production.INFO: ==30751== Lock acquired, processing the job... [2025-03-09 01:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:09:03] Production.INFO: ==30753== Lock acquired, processing the job... [2025-03-09 01:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:09:03] Production.INFO: ==30758== Lock acquired, processing the job... [2025-03-09 01:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:09:03] Production.INFO: Account Balance Start. [2025-03-09 01:09:03] Production.INFO: CreateAllLog Start [2025-03-09 01:09:03] Production.INFO: 117 [2025-03-09 01:09:03] Production.INFO: Date 2025-03-08 [2025-03-09 01:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:09:03] Production.INFO: ==30749== Releasing lock... [2025-03-09 01:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:09:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:09:03] Production.INFO: Date 2025-03-09 [2025-03-09 01:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:09:03] Production.INFO: Total Charge 0 [2025-03-09 01:09:03] Production.INFO: count ==13 [2025-03-09 01:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:09:03] Production.INFO: count ==21 [2025-03-09 01:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639024') start [2025-03-09 01:09:03] Production.INFO: CreateAllLog End [2025-03-09 01:09:03] Production.ERROR: done [2025-03-09 01:09:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639024') end [2025-03-09 01:09:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:09:03] Production.INFO: 1 [2025-03-09 01:09:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:09:03] Production.ERROR: done [2025-03-09 01:09:03] Production.INFO: ==30758== Releasing lock... [2025-03-09 01:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:09:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:09:04] Production.INFO: Account Balance End. [2025-03-09 01:09:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:09:04] Production.INFO: ==30753== Releasing lock... [2025-03-09 01:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:09:05 [end_date_ymd] => 2025-03-09 01:09:05 [RateCDR] => 1 ) [2025-03-09 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-08 22:09:05' and `end` < '2025-03-09 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-09 01:09:11] Production.ERROR: CronJobId end10 [2025-03-09 01:09:11] Production.INFO: ==30751== Releasing lock... [2025-03-09 01:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:09:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:09:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:09:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:09:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:09:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:09:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:09:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:09:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:09:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:09:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:09:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:09:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:09:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:09:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:09:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:09:13] Production.INFO: call_cost start [2025-03-09 01:09:13] Production.INFO: call_cost end [2025-03-09 01:09:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:09:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:09:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:09:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:09:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:09:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:09:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:09:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:09:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:09:14] Production.INFO: ==30747== Releasing lock... [2025-03-09 01:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:09:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:09:17] Production.INFO: count ==830 [2025-03-09 01:09:17] Production.ERROR: pbx CDR StartTime 2025-03-08 22:09:05 - End Time 2025-03-09 01:09:05 [2025-03-09 01:09:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639025', 'tblTempUsageDetail_20' ) start [2025-03-09 01:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639025', 'tblTempUsageDetail_20' ) end [2025-03-09 01:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639025', 'tblTempVendorCDR_20' ) start [2025-03-09 01:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639025', 'tblTempVendorCDR_20' ) end [2025-03-09 01:09:17] Production.INFO: ProcessCDR(1,14639025,1,1,2) [2025-03-09 01:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639025', 'tblTempUsageDetail_20' ) start [2025-03-09 01:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639025', 'tblTempUsageDetail_20' ) end [2025-03-09 01:09:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:09:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:09:22] Production.INFO: ==30756== Releasing lock... [2025-03-09 01:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:09:22] Production.INFO: 35 MB #Memory Used# [2025-03-09 06:10:01] Production.INFO: ==30820== Lock acquired, processing the job... [2025-03-09 06:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:10:01] Production.INFO: neon service started [2025-03-09 06:10:01] Production.INFO: neon service started [2025-03-09 06:10:01] Production.INFO: ==30820== Releasing lock... [2025-03-09 06:10:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:10:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:10:02] Production.INFO: ==30824== Lock acquired, processing the job... [2025-03-09 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:10:02] Production.INFO: ==30824== Releasing lock... [2025-03-09 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:10:02] Production.INFO: ==30822== Lock acquired, processing the job... [2025-03-09 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:10:02] Production.INFO: ==30822== Releasing lock... [2025-03-09 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:10:04] Production.INFO: ==30833== Lock acquired, processing the job... [2025-03-09 01:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:10:04] Production.INFO: ==30835== Lock acquired, processing the job... [2025-03-09 01:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:10:04] Production.INFO: ==30827== Lock acquired, processing the job... [2025-03-09 01:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 01:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:10:04] Production.INFO: ==30839== Lock acquired, processing the job... [2025-03-09 01:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 01:10:04] Production.INFO: ==30829== Lock acquired, processing the job... [2025-03-09 01:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 01:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 01:10:04] Production.ERROR: CronJob PID - 30833 [2025-03-09 01:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 01:10:04] Production.ERROR: CronJob ID - 10 [2025-03-09 01:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 01:10:00 [2025-03-09 01:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 01:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 01:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 01:10:04] Production.ERROR: CronJob PID - 30835 [2025-03-09 01:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 01:10:04] Production.ERROR: CronJob ID - 12 [2025-03-09 01:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 01:10:00 [2025-03-09 01:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 01:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 01:10:04] Production.INFO: Account Balance Start. [2025-03-09 01:10:04] Production.INFO: CreateAllLog Start [2025-03-09 01:10:04] Production.INFO: 117 [2025-03-09 01:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 01:10:04] Production.INFO: ==30827== Releasing lock... [2025-03-09 01:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 01:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 01:10:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:10:04] Production.INFO: ==30831== Lock acquired, processing the job... [2025-03-09 01:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:10:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:10:04] Production.INFO: Total Charge 0 [2025-03-09 01:10:04] Production.INFO: ==30837== Lock acquired, processing the job... [2025-03-09 01:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:10:04] Production.INFO: CreateAllLog End [2025-03-09 01:10:04] Production.INFO: ==30841== Lock acquired, processing the job... [2025-03-09 01:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:10:04] Production.ERROR: done [2025-03-09 01:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 01:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639029', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 01:10:04] Production.INFO: Account Balance End. [2025-03-09 01:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:10:04] Production.INFO: count ==13 [2025-03-09 01:10:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:10:04] Production.INFO: ==30835== Releasing lock... [2025-03-09 01:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:10:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:10:04] Production.INFO: count ==21 [2025-03-09 01:10:05] Production.ERROR: done [2025-03-09 01:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639030') start [2025-03-09 01:10:05] Production.INFO: ==30831== Releasing lock... [2025-03-09 01:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:10:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:10:05] Production.ERROR: done [2025-03-09 01:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639030') end [2025-03-09 01:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:10:05] Production.INFO: 1 [2025-03-09 01:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:10:05] Production.INFO: ==30841== Releasing lock... [2025-03-09 01:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:10:06 [end_date_ymd] => 2025-03-09 01:10:06 [RateCDR] => 1 ) [2025-03-09 01:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:10:06' and `end` < '2025-03-09 01:10:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639029', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 01:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 01:10:09] Production.INFO: ProcessCDR(1,14639029,1,1,2) [2025-03-09 01:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14639029,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14639029,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:10:09] Production.INFO: ==30839== Releasing lock... [2025-03-09 01:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 01:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 01:10:13] Production.ERROR: CronJobId end10 [2025-03-09 01:10:13] Production.INFO: ==30833== Releasing lock... [2025-03-09 01:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:10:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:10:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:10:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:10:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:10:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:10:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:10:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:10:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:10:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:10:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:10:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:10:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:10:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:10:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:10:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:10:16] Production.INFO: call_cost start [2025-03-09 01:10:16] Production.INFO: call_cost end [2025-03-09 01:10:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:10:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:10:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:10:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:10:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:10:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:10:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:10:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:10:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:10:17] Production.INFO: ==30829== Releasing lock... [2025-03-09 01:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:10:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:10:18] Production.INFO: count ==827 [2025-03-09 01:10:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:10:06 - End Time 2025-03-09 01:10:06 [2025-03-09 01:10:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639031', 'tblTempUsageDetail_20' ) start [2025-03-09 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639031', 'tblTempUsageDetail_20' ) end [2025-03-09 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639031', 'tblTempVendorCDR_20' ) start [2025-03-09 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639031', 'tblTempVendorCDR_20' ) end [2025-03-09 01:10:18] Production.INFO: ProcessCDR(1,14639031,1,1,2) [2025-03-09 01:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639031', 'tblTempUsageDetail_20' ) start [2025-03-09 01:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639031', 'tblTempUsageDetail_20' ) end [2025-03-09 01:10:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:10:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:10:22] Production.INFO: ==30837== Releasing lock... [2025-03-09 01:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:10:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 06:11:02] Production.INFO: ==30898== Lock acquired, processing the job... [2025-03-09 06:11:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:11:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:11:02] Production.INFO: neon service started [2025-03-09 06:11:02] Production.INFO: neon service started [2025-03-09 06:11:02] Production.INFO: ==30898== Releasing lock... [2025-03-09 06:11:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:11:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:11:02] Production.INFO: ==30901== Lock acquired, processing the job... [2025-03-09 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:11:03] Production.INFO: ==30901== Releasing lock... [2025-03-09 01:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:11:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:11:03] Production.INFO: ==30903== Lock acquired, processing the job... [2025-03-09 06:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:11:03] Production.INFO: ==30903== Releasing lock... [2025-03-09 06:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:11:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:11:04] Production.INFO: ==30911== Lock acquired, processing the job... [2025-03-09 01:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:11:04] Production.INFO: ==30905== Lock acquired, processing the job... [2025-03-09 01:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:11:04] Production.INFO: ==30913== Lock acquired, processing the job... [2025-03-09 01:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:11:04] Production.INFO: ==30907== Lock acquired, processing the job... [2025-03-09 01:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:11:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:11:04] Production.INFO: Account Balance Start. [2025-03-09 01:11:04] Production.INFO: CreateAllLog Start [2025-03-09 01:11:04] Production.INFO: 117 [2025-03-09 01:11:04] Production.INFO: ==30909== Lock acquired, processing the job... [2025-03-09 01:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:11:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:11:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:11:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:11:04] Production.INFO: ==30915== Lock acquired, processing the job... [2025-03-09 01:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:11:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:11:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:11:04] Production.INFO: Total Charge 0 [2025-03-09 01:11:04] Production.INFO: CreateAllLog End [2025-03-09 01:11:04] Production.ERROR: done [2025-03-09 01:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:11:04] Production.INFO: count ==13 [2025-03-09 01:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:11:04] Production.INFO: count ==21 [2025-03-09 01:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639035') start [2025-03-09 01:11:04] Production.INFO: ==30907== Releasing lock... [2025-03-09 01:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:11:04] Production.ERROR: done [2025-03-09 01:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639035') end [2025-03-09 01:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:11:04] Production.INFO: 1 [2025-03-09 01:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:11:04] Production.INFO: Account Balance End. [2025-03-09 01:11:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:11:04] Production.INFO: ==30915== Releasing lock... [2025-03-09 01:11:04] Production.INFO: ==30911== Releasing lock... [2025-03-09 01:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:11:05 [end_date_ymd] => 2025-03-09 01:11:05 [RateCDR] => 1 ) [2025-03-09 01:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:11:05' and `end` < '2025-03-09 01:11:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:11:13] Production.ERROR: CronJobId end10 [2025-03-09 01:11:13] Production.INFO: ==30909== Releasing lock... [2025-03-09 01:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:11:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:11:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:11:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:11:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:11:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:11:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:11:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:11:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:11:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:11:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:11:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:11:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:11:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:11:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:11:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:11:16] Production.INFO: call_cost start [2025-03-09 01:11:16] Production.INFO: call_cost end [2025-03-09 01:11:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:11:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:11:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:11:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:11:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:11:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:11:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:11:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:11:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:11:17] Production.INFO: ==30905== Releasing lock... [2025-03-09 01:11:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:11:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:11:17] Production.INFO: count ==823 [2025-03-09 01:11:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:11:05 - End Time 2025-03-09 01:11:05 [2025-03-09 01:11:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639036', 'tblTempUsageDetail_20' ) start [2025-03-09 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639036', 'tblTempUsageDetail_20' ) end [2025-03-09 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639036', 'tblTempVendorCDR_20' ) start [2025-03-09 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639036', 'tblTempVendorCDR_20' ) end [2025-03-09 01:11:18] Production.INFO: ProcessCDR(1,14639036,1,1,2) [2025-03-09 01:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639036', 'tblTempUsageDetail_20' ) start [2025-03-09 01:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639036', 'tblTempUsageDetail_20' ) end [2025-03-09 01:11:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:11:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:11:21] Production.INFO: ==30913== Releasing lock... [2025-03-09 01:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:11:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 06:12:01] Production.INFO: ==30973== Lock acquired, processing the job... [2025-03-09 06:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:12:01] Production.INFO: neon service started [2025-03-09 06:12:01] Production.INFO: neon service started [2025-03-09 06:12:01] Production.INFO: ==30973== Releasing lock... [2025-03-09 06:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:12:02] Production.INFO: ==30976== Lock acquired, processing the job... [2025-03-09 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:12:02] Production.INFO: ==30978== Lock acquired, processing the job... [2025-03-09 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:12:02] Production.INFO: ==30978== Releasing lock... [2025-03-09 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:12:02] Production.INFO: ==30976== Releasing lock... [2025-03-09 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:12:03] Production.INFO: ==30980== Lock acquired, processing the job... [2025-03-09 01:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:12:03] Production.INFO: ==30982== Lock acquired, processing the job... [2025-03-09 01:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:12:03] Production.INFO: ==30986== Lock acquired, processing the job... [2025-03-09 01:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:12:04] Production.INFO: ==30984== Lock acquired, processing the job... [2025-03-09 01:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:12:04] Production.INFO: ==30982== Releasing lock... [2025-03-09 01:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:12:04] Production.INFO: Account Balance Start. [2025-03-09 01:12:04] Production.INFO: CreateAllLog Start [2025-03-09 01:12:04] Production.INFO: 117 [2025-03-09 01:12:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:12:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:12:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:12:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:12:04] Production.INFO: ==30988== Lock acquired, processing the job... [2025-03-09 01:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:12:04] Production.INFO: Total Charge 0 [2025-03-09 01:12:04] Production.INFO: CreateAllLog End [2025-03-09 01:12:04] Production.INFO: ==30990== Lock acquired, processing the job... [2025-03-09 01:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:12:04] Production.INFO: count ==13 [2025-03-09 01:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:12:04] Production.INFO: count ==21 [2025-03-09 01:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639040') start [2025-03-09 01:12:04] Production.INFO: Account Balance End. [2025-03-09 01:12:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:12:04] Production.INFO: ==30986== Releasing lock... [2025-03-09 01:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:12:04] Production.ERROR: done [2025-03-09 01:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639040') end [2025-03-09 01:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:12:04] Production.INFO: 1 [2025-03-09 01:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:12:04] Production.INFO: ==30990== Releasing lock... [2025-03-09 01:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:12:04] Production.ERROR: done [2025-03-09 01:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:12:05 [end_date_ymd] => 2025-03-09 01:12:05 [RateCDR] => 1 ) [2025-03-09 01:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:12:05' and `end` < '2025-03-09 01:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:12:12] Production.ERROR: CronJobId end10 [2025-03-09 01:12:12] Production.INFO: ==30984== Releasing lock... [2025-03-09 01:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:12:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:12:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:12:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:12:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:12:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:12:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:12:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:12:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:12:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:12:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:12:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:12:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:12:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:12:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:12:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:12:14] Production.INFO: call_cost start [2025-03-09 01:12:14] Production.INFO: call_cost end [2025-03-09 01:12:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:12:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:12:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:12:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:12:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:12:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:12:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:12:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:12:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:12:15] Production.INFO: ==30980== Releasing lock... [2025-03-09 01:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:12:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:12:17] Production.INFO: count ==821 [2025-03-09 01:12:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:12:05 - End Time 2025-03-09 01:12:05 [2025-03-09 01:12:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639041', 'tblTempUsageDetail_20' ) start [2025-03-09 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639041', 'tblTempUsageDetail_20' ) end [2025-03-09 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639041', 'tblTempVendorCDR_20' ) start [2025-03-09 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639041', 'tblTempVendorCDR_20' ) end [2025-03-09 01:12:18] Production.INFO: ProcessCDR(1,14639041,1,1,2) [2025-03-09 01:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639041', 'tblTempUsageDetail_20' ) start [2025-03-09 01:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639041', 'tblTempUsageDetail_20' ) end [2025-03-09 01:12:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:12:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:12:21] Production.INFO: ==30988== Releasing lock... [2025-03-09 01:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:12:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 06:13:02] Production.INFO: ==31090== Lock acquired, processing the job... [2025-03-09 06:13:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:13:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:13:02] Production.INFO: neon service started [2025-03-09 06:13:02] Production.INFO: neon service started [2025-03-09 06:13:02] Production.INFO: ==31090== Releasing lock... [2025-03-09 06:13:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:13:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:13:02] Production.INFO: ==31092== Lock acquired, processing the job... [2025-03-09 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:13:03] Production.INFO: ==31092== Releasing lock... [2025-03-09 01:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:13:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:13:03] Production.INFO: ==31094== Lock acquired, processing the job... [2025-03-09 06:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:13:03] Production.INFO: ==31094== Releasing lock... [2025-03-09 06:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:13:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:13:03] Production.INFO: ==31097== Lock acquired, processing the job... [2025-03-09 01:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:13:03] Production.INFO: ==31099== Lock acquired, processing the job... [2025-03-09 01:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:13:03] Production.INFO: ==31101== Lock acquired, processing the job... [2025-03-09 01:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:13:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:13:04] Production.INFO: ==31103== Lock acquired, processing the job... [2025-03-09 01:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:13:04] Production.INFO: ==31105== Lock acquired, processing the job... [2025-03-09 01:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:13:04] Production.INFO: Account Balance Start. [2025-03-09 01:13:04] Production.INFO: CreateAllLog Start [2025-03-09 01:13:04] Production.INFO: 117 [2025-03-09 01:13:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:13:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:13:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:13:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:13:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:13:04] Production.INFO: ==31107== Lock acquired, processing the job... [2025-03-09 01:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:13:04] Production.INFO: Total Charge 0 [2025-03-09 01:13:04] Production.INFO: CreateAllLog End [2025-03-09 01:13:04] Production.INFO: ==31099== Releasing lock... [2025-03-09 01:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:13:04] Production.INFO: Account Balance End. [2025-03-09 01:13:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:13:04] Production.INFO: ==31103== Releasing lock... [2025-03-09 01:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:13:04] Production.ERROR: done [2025-03-09 01:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 01:13:04] Production.INFO: count ==13 [2025-03-09 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-09 01:13:04] Production.INFO: count ==21 [2025-03-09 01:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639045') start [2025-03-09 01:13:04] Production.ERROR: done [2025-03-09 01:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639045') end [2025-03-09 01:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:13:04] Production.INFO: 1 [2025-03-09 01:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:13:05] Production.INFO: ==31107== Releasing lock... [2025-03-09 01:13:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:13:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:13:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:13:06 [end_date_ymd] => 2025-03-09 01:13:06 [RateCDR] => 1 ) [2025-03-09 01: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-08 22:13:06' and `end` < '2025-03-09 01: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-09 01:13:12] Production.ERROR: CronJobId end10 [2025-03-09 01:13:12] Production.INFO: ==31101== Releasing lock... [2025-03-09 01:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:13:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:13:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:13:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:13:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:13:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:13:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:13:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:13:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:13:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:13:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:13:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:13:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:13:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:13:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:13:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:13:15] Production.INFO: call_cost start [2025-03-09 01:13:15] Production.INFO: call_cost end [2025-03-09 01:13:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:13:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:13:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:13:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:13:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:13:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:13:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:13:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:13:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:13:16] Production.INFO: ==31097== Releasing lock... [2025-03-09 01:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:13:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:13:18] Production.INFO: count ==817 [2025-03-09 01:13:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:13:06 - End Time 2025-03-09 01:13:06 [2025-03-09 01:13:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639046', 'tblTempUsageDetail_20' ) start [2025-03-09 01:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639046', 'tblTempUsageDetail_20' ) end [2025-03-09 01:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639046', 'tblTempVendorCDR_20' ) start [2025-03-09 01:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639046', 'tblTempVendorCDR_20' ) end [2025-03-09 01:13:18] Production.INFO: ProcessCDR(1,14639046,1,1,2) [2025-03-09 01:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639046', 'tblTempUsageDetail_20' ) start [2025-03-09 01:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639046', 'tblTempUsageDetail_20' ) end [2025-03-09 01:13:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:13:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:13:21] Production.INFO: ==31105== Releasing lock... [2025-03-09 01:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:13:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 06:14:01] Production.INFO: ==31165== Lock acquired, processing the job... [2025-03-09 06:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:14:01] Production.INFO: neon service started [2025-03-09 06:14:01] Production.INFO: neon service started [2025-03-09 06:14:01] Production.INFO: ==31165== Releasing lock... [2025-03-09 06:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:14:02] Production.INFO: ==31168== Lock acquired, processing the job... [2025-03-09 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:14:02] Production.INFO: ==31170== Lock acquired, processing the job... [2025-03-09 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:14:02] Production.INFO: ==31170== Releasing lock... [2025-03-09 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:14:02] Production.INFO: ==31168== Releasing lock... [2025-03-09 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:14:03] Production.INFO: ==31179== Lock acquired, processing the job... [2025-03-09 01:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:14:03] Production.INFO: ==31172== Lock acquired, processing the job... [2025-03-09 01:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:14:03] Production.INFO: ==31174== Lock acquired, processing the job... [2025-03-09 01:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:14:03] Production.INFO: ==31183== Lock acquired, processing the job... [2025-03-09 01:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:14:03] Production.INFO: Account Balance Start. [2025-03-09 01:14:03] Production.INFO: CreateAllLog Start [2025-03-09 01:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:14:03] Production.INFO: 117 [2025-03-09 01:14:03] Production.INFO: ==31176== Lock acquired, processing the job... [2025-03-09 01:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:14:03] Production.INFO: Date 2025-03-08 [2025-03-09 01:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:14:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:14:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:14:04] Production.INFO: Total Charge 0 [2025-03-09 01:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:14:04] Production.INFO: CreateAllLog End [2025-03-09 01:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:14:04] Production.INFO: count ==13 [2025-03-09 01:14:04] Production.INFO: Account Balance End. [2025-03-09 01:14:04] Production.INFO: ==31181== Lock acquired, processing the job... [2025-03-09 01:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:14:04] Production.INFO: count ==21 [2025-03-09 01:14:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:14:04] Production.INFO: ==31179== Releasing lock... [2025-03-09 01:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639049') start [2025-03-09 01:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:14:04] Production.INFO: ==31174== Releasing lock... [2025-03-09 01:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639049') end [2025-03-09 01:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:14:04] Production.INFO: 1 [2025-03-09 01:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:14:04] Production.INFO: ==31183== Releasing lock... [2025-03-09 01:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:14:04] Production.ERROR: done [2025-03-09 01:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:14:04] Production.ERROR: done [2025-03-09 01:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:14:05 [end_date_ymd] => 2025-03-09 01:14:05 [RateCDR] => 1 ) [2025-03-09 01:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:14:05' and `end` < '2025-03-09 01:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:14:12] Production.ERROR: CronJobId end10 [2025-03-09 01:14:12] Production.INFO: ==31176== Releasing lock... [2025-03-09 01:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:14:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:14:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:14:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:14:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:14:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:14:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:14:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:14:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:14:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:14:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:14:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:14:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:14:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:14:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:14:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:14:15] Production.INFO: call_cost start [2025-03-09 01:14:15] Production.INFO: call_cost end [2025-03-09 01:14:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:14:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:14:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:14:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:14:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:14:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:14:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:14:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:14:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:14:16] Production.INFO: ==31172== Releasing lock... [2025-03-09 01:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:14:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:14:17] Production.INFO: count ==821 [2025-03-09 01:14:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:14:05 - End Time 2025-03-09 01:14:05 [2025-03-09 01:14:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639051', 'tblTempUsageDetail_20' ) start [2025-03-09 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639051', 'tblTempUsageDetail_20' ) end [2025-03-09 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639051', 'tblTempVendorCDR_20' ) start [2025-03-09 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639051', 'tblTempVendorCDR_20' ) end [2025-03-09 01:14:18] Production.INFO: ProcessCDR(1,14639051,1,1,2) [2025-03-09 01:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639051', 'tblTempUsageDetail_20' ) start [2025-03-09 01:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639051', 'tblTempUsageDetail_20' ) end [2025-03-09 01:14:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:14:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:14:21] Production.INFO: ==31181== Releasing lock... [2025-03-09 01:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:14:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 06:15:02] Production.INFO: ==31247== Lock acquired, processing the job... [2025-03-09 06:15:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:15:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:15:02] Production.INFO: neon service started [2025-03-09 06:15:02] Production.INFO: neon service started [2025-03-09 06:15:02] Production.INFO: ==31247== Releasing lock... [2025-03-09 06:15:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:15:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:15:03] Production.INFO: ==31249== Lock acquired, processing the job... [2025-03-09 01:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:15:03] Production.INFO: ==31251== Lock acquired, processing the job... [2025-03-09 06:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:15:03] Production.INFO: ==31251== Releasing lock... [2025-03-09 06:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:15:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:15:03] Production.INFO: ==31249== Releasing lock... [2025-03-09 01:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:15:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:15:04] Production.INFO: ==31258== Lock acquired, processing the job... [2025-03-09 01:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:15:04] Production.INFO: ==31254== Lock acquired, processing the job... [2025-03-09 01:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:15:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:15:04] Production.INFO: ==31256== Lock acquired, processing the job... [2025-03-09 01:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:15:04] Production.INFO: ==31260== Lock acquired, processing the job... [2025-03-09 01:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:15:04] Production.INFO: ==31262== Lock acquired, processing the job... [2025-03-09 01:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:15:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:15:04] Production.INFO: ==31264== Lock acquired, processing the job... [2025-03-09 01:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:15:04] Production.INFO: Account Balance Start. [2025-03-09 01:15:04] Production.INFO: CreateAllLog Start [2025-03-09 01:15:04] Production.INFO: 117 [2025-03-09 01:15:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:15:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:15:04] Production.INFO: ==31256== Releasing lock... [2025-03-09 01:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:15:05] Production.INFO: Total Charge 0 [2025-03-09 01:15: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-09 01:15:05] Production.INFO: CreateAllLog End [2025-03-09 01:15:05] Production.INFO: count ==13 [2025-03-09 01:15:05] Production.ERROR: done [2025-03-09 01:15:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:15: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-09 01:15:05] Production.INFO: count ==21 [2025-03-09 01:15:05] Production.INFO: Account Balance End. [2025-03-09 01:15:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639055') start [2025-03-09 01:15:05] Production.ERROR: CronJobId end 12 [2025-03-09 01:15:05] Production.INFO: ==31260== Releasing lock... [2025-03-09 01:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:15:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:15:05] Production.ERROR: done [2025-03-09 01:15:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639055') end [2025-03-09 01:15:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:15:05] Production.INFO: 1 [2025-03-09 01:15:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:15:05] Production.INFO: ==31264== Releasing lock... [2025-03-09 01:15:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:15:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:15:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:15:06 [end_date_ymd] => 2025-03-09 01:15:06 [RateCDR] => 1 ) [2025-03-09 01: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-08 22:15:06' and `end` < '2025-03-09 01: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-09 01:15:13] Production.ERROR: CronJobId end10 [2025-03-09 01:15:13] Production.INFO: ==31258== Releasing lock... [2025-03-09 01:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:15:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:15:15] Production.INFO: call_cost start [2025-03-09 01:15:15] Production.INFO: call_cost end [2025-03-09 01:15:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:15:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:15:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:15:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:15:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:15:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:15:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:15:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:15:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:15:15] Production.INFO: ==31254== Releasing lock... [2025-03-09 01:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:15:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:15:18] Production.INFO: count ==810 [2025-03-09 01:15:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:15:06 - End Time 2025-03-09 01:15:06 [2025-03-09 01:15:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639056', 'tblTempUsageDetail_20' ) start [2025-03-09 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639056', 'tblTempUsageDetail_20' ) end [2025-03-09 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639056', 'tblTempVendorCDR_20' ) start [2025-03-09 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639056', 'tblTempVendorCDR_20' ) end [2025-03-09 01:15:18] Production.INFO: ProcessCDR(1,14639056,1,1,2) [2025-03-09 01:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639056', 'tblTempUsageDetail_20' ) start [2025-03-09 01:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639056', 'tblTempUsageDetail_20' ) end [2025-03-09 01:15:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:15:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:15:22] Production.INFO: ==31262== Releasing lock... [2025-03-09 01:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:15:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 06:16:01] Production.INFO: ==31322== Lock acquired, processing the job... [2025-03-09 06:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:16:02] Production.INFO: neon service started [2025-03-09 06:16:02] Production.INFO: neon service started [2025-03-09 06:16:02] Production.INFO: ==31322== Releasing lock... [2025-03-09 06:16:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:16:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:16:02] Production.INFO: ==31324== Lock acquired, processing the job... [2025-03-09 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:16:02] Production.INFO: ==31324== Releasing lock... [2025-03-09 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:16:02] Production.INFO: ==31326== Lock acquired, processing the job... [2025-03-09 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:16:02] Production.INFO: ==31326== Releasing lock... [2025-03-09 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:16:03] Production.INFO: ==31335== Lock acquired, processing the job... [2025-03-09 01:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:16:03] Production.INFO: Account Balance Start. [2025-03-09 01:16:03] Production.INFO: CreateAllLog Start [2025-03-09 01:16:03] Production.INFO: 117 [2025-03-09 01:16:03] Production.INFO: Date 2025-03-08 [2025-03-09 01:16:03] Production.INFO: ==31329== Lock acquired, processing the job... [2025-03-09 01:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:16:03] Production.INFO: ==31339== Lock acquired, processing the job... [2025-03-09 01:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:16:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:16:03] Production.INFO: Date 2025-03-09 [2025-03-09 01:16:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:16:03] Production.INFO: ==31331== Lock acquired, processing the job... [2025-03-09 01:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:16:03] Production.INFO: Total Charge 0 [2025-03-09 01:16:03] Production.INFO: CreateAllLog End [2025-03-09 01:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:16:03] Production.INFO: ==31333== Lock acquired, processing the job... [2025-03-09 01:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:16:04] Production.INFO: count ==13 [2025-03-09 01:16:04] Production.INFO: ==31337== Lock acquired, processing the job... [2025-03-09 01:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:16:04] Production.INFO: Account Balance End. [2025-03-09 01:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:16:04] Production.INFO: count ==21 [2025-03-09 01:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639058') start [2025-03-09 01:16:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:16:04] Production.INFO: ==31335== Releasing lock... [2025-03-09 01:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639058') end [2025-03-09 01:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:16:04] Production.INFO: 1 [2025-03-09 01:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:16:04] Production.INFO: ==31339== Releasing lock... [2025-03-09 01:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:16:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:16:04] Production.INFO: ==31331== Releasing lock... [2025-03-09 01:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:16:04] Production.ERROR: done [2025-03-09 01:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:16:04] Production.ERROR: done [2025-03-09 01:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:16:05 [end_date_ymd] => 2025-03-09 01:16:05 [RateCDR] => 1 ) [2025-03-09 01:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:16:05' and `end` < '2025-03-09 01:16:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:16:11] Production.ERROR: CronJobId end10 [2025-03-09 01:16:11] Production.INFO: ==31333== Releasing lock... [2025-03-09 01:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:16:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:16:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:16:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:16:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:16:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:16:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:16:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:16:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:16:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:16:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:16:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:16:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:16:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:16:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:16:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:16:14] Production.INFO: call_cost start [2025-03-09 01:16:14] Production.INFO: call_cost end [2025-03-09 01:16:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:16:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:16:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:16:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:16:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:16:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:16:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:16:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:16:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:16:15] Production.INFO: ==31329== Releasing lock... [2025-03-09 01:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:16:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:16:17] Production.INFO: count ==740 [2025-03-09 01:16:17] Production.ERROR: pbx CDR StartTime 2025-03-08 22:16:05 - End Time 2025-03-09 01:16:05 [2025-03-09 01:16:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639061', 'tblTempUsageDetail_20' ) start [2025-03-09 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639061', 'tblTempUsageDetail_20' ) end [2025-03-09 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639061', 'tblTempVendorCDR_20' ) start [2025-03-09 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639061', 'tblTempVendorCDR_20' ) end [2025-03-09 01:16:18] Production.INFO: ProcessCDR(1,14639061,1,1,2) [2025-03-09 01:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639061,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639061,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639061,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639061,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639061', 'tblTempUsageDetail_20' ) start [2025-03-09 01:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639061', 'tblTempUsageDetail_20' ) end [2025-03-09 01:16:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:16:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:16:21] Production.INFO: ==31337== Releasing lock... [2025-03-09 01:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:16:21] Production.INFO: 33.75 MB #Memory Used# [2025-03-09 06:17:01] Production.INFO: ==31408== Lock acquired, processing the job... [2025-03-09 06:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:17:01] Production.INFO: neon service started [2025-03-09 06:17:01] Production.INFO: neon service started [2025-03-09 06:17:01] Production.INFO: ==31408== Releasing lock... [2025-03-09 06:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:17:02] Production.INFO: ==31410== Lock acquired, processing the job... [2025-03-09 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:17:02] Production.INFO: ==31412== Lock acquired, processing the job... [2025-03-09 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:17:02] Production.INFO: ==31412== Releasing lock... [2025-03-09 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:17:02] Production.INFO: ==31410== Releasing lock... [2025-03-09 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:17:03] Production.INFO: ==31417== Lock acquired, processing the job... [2025-03-09 01:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:17:03] Production.INFO: ==31419== Lock acquired, processing the job... [2025-03-09 01:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:17:03] Production.INFO: ==31425== Lock acquired, processing the job... [2025-03-09 01:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:17:03] Production.INFO: ==31423== Lock acquired, processing the job... [2025-03-09 01:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:17:03] Production.INFO: ==31421== Lock acquired, processing the job... [2025-03-09 01:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:17:03] Production.INFO: ==31427== Lock acquired, processing the job... [2025-03-09 01:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:17:03] Production.INFO: Account Balance Start. [2025-03-09 01:17:03] Production.INFO: CreateAllLog Start [2025-03-09 01:17:03] Production.INFO: 117 [2025-03-09 01:17:03] Production.INFO: Date 2025-03-08 [2025-03-09 01:17:03] Production.INFO: ==31419== Releasing lock... [2025-03-09 01:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:17:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:17:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:17:03] Production.INFO: Date 2025-03-09 [2025-03-09 01:17:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:17:03] Production.INFO: count ==13 [2025-03-09 01:17:03] Production.INFO: Total Charge 0 [2025-03-09 01:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:17:04] Production.INFO: CreateAllLog End [2025-03-09 01:17:04] Production.INFO: count ==21 [2025-03-09 01:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639065') start [2025-03-09 01:17:04] Production.ERROR: done [2025-03-09 01:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639065') end [2025-03-09 01:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:17:04] Production.INFO: 1 [2025-03-09 01:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:17:04] Production.INFO: ==31427== Releasing lock... [2025-03-09 01:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:17:04] Production.ERROR: done [2025-03-09 01:17:04] Production.INFO: Account Balance End. [2025-03-09 01:17:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:17:04] Production.INFO: ==31423== Releasing lock... [2025-03-09 01:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:17:05 [end_date_ymd] => 2025-03-09 01:17:05 [RateCDR] => 1 ) [2025-03-09 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-08 22:17:05' and `end` < '2025-03-09 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-09 01:17:11] Production.ERROR: CronJobId end10 [2025-03-09 01:17:11] Production.INFO: ==31421== Releasing lock... [2025-03-09 01:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:17:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:17:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:17:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:17:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:17:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:17:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:17:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:17:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:17:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:17:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:17:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:17:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:17:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:17:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:17:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:17:14] Production.INFO: call_cost start [2025-03-09 01:17:14] Production.INFO: call_cost end [2025-03-09 01:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:17:15] Production.INFO: ==31417== Releasing lock... [2025-03-09 01:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:17:17] Production.INFO: count ==667 [2025-03-09 01:17:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:17:05 - End Time 2025-03-09 01:17:05 [2025-03-09 01:17:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639066', 'tblTempUsageDetail_20' ) start [2025-03-09 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639066', 'tblTempUsageDetail_20' ) end [2025-03-09 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639066', 'tblTempVendorCDR_20' ) start [2025-03-09 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639066', 'tblTempVendorCDR_20' ) end [2025-03-09 01:17:18] Production.INFO: ProcessCDR(1,14639066,1,1,2) [2025-03-09 01:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639066,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639066,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639066,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639066,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639066', 'tblTempUsageDetail_20' ) start [2025-03-09 01:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639066', 'tblTempUsageDetail_20' ) end [2025-03-09 01:17:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:17:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:17:21] Production.INFO: ==31425== Releasing lock... [2025-03-09 01:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:17:21] Production.INFO: 34 MB #Memory Used# [2025-03-09 06:18:02] Production.INFO: ==31492== Lock acquired, processing the job... [2025-03-09 06:18:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:18:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:18:02] Production.INFO: neon service started [2025-03-09 06:18:02] Production.INFO: neon service started [2025-03-09 06:18:02] Production.INFO: ==31492== Releasing lock... [2025-03-09 06:18:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:18:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:18:02] Production.INFO: ==31495== Lock acquired, processing the job... [2025-03-09 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:18:02] Production.INFO: ==31495== Releasing lock... [2025-03-09 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:18:02] Production.INFO: ==31497== Lock acquired, processing the job... [2025-03-09 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:18:03] Production.INFO: ==31497== Releasing lock... [2025-03-09 06:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:18:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:18:03] Production.INFO: ==31499== Lock acquired, processing the job... [2025-03-09 01:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:18:03] Production.INFO: ==31501== Lock acquired, processing the job... [2025-03-09 01:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:18:03] Production.INFO: ==31507== Lock acquired, processing the job... [2025-03-09 01:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:18:03] Production.INFO: ==31503== Lock acquired, processing the job... [2025-03-09 01:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:18:04] Production.INFO: ==31505== Lock acquired, processing the job... [2025-03-09 01:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:18:04] Production.INFO: ==31509== Lock acquired, processing the job... [2025-03-09 01:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:18:04] Production.INFO: Account Balance Start. [2025-03-09 01:18:04] Production.INFO: CreateAllLog Start [2025-03-09 01:18:04] Production.INFO: 117 [2025-03-09 01:18:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:18:04] Production.INFO: Date 2025-03-09 [2025-03-09 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-09 01:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:18:04] Production.INFO: count ==13 [2025-03-09 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-09 01:18:04] Production.INFO: count ==21 [2025-03-09 01:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639070') start [2025-03-09 01:18:04] Production.INFO: Total Charge 0 [2025-03-09 01:18:04] Production.INFO: CreateAllLog End [2025-03-09 01:18:04] Production.INFO: ==31501== Releasing lock... [2025-03-09 01:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:18:04] Production.ERROR: done [2025-03-09 01:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639070') end [2025-03-09 01:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:18:04] Production.INFO: 1 [2025-03-09 01:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:18:04] Production.INFO: ==31509== Releasing lock... [2025-03-09 01:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:18:04] Production.ERROR: done [2025-03-09 01:18:04] Production.INFO: Account Balance End. [2025-03-09 01:18:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:18:04] Production.INFO: ==31505== Releasing lock... [2025-03-09 01:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:18:05 [end_date_ymd] => 2025-03-09 01:18:05 [RateCDR] => 1 ) [2025-03-09 01:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:18:05' and `end` < '2025-03-09 01:18:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:18:12] Production.ERROR: CronJobId end10 [2025-03-09 01:18:12] Production.INFO: ==31503== Releasing lock... [2025-03-09 01:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:18:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:18:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:18:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:18:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:18:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:18:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:18:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:18:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:18:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:18:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:18:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:18:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:18:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:18:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:18:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:18:15] Production.INFO: call_cost start [2025-03-09 01:18:15] Production.INFO: call_cost end [2025-03-09 01:18:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:18:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:18:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:18:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:18:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:18:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:18:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:18:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:18:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:18:16] Production.INFO: ==31499== Releasing lock... [2025-03-09 01:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:18:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:18:17] Production.INFO: count ==602 [2025-03-09 01:18:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:18:05 - End Time 2025-03-09 01:18:05 [2025-03-09 01:18:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639071', 'tblTempUsageDetail_20' ) start [2025-03-09 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639071', 'tblTempUsageDetail_20' ) end [2025-03-09 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639071', 'tblTempVendorCDR_20' ) start [2025-03-09 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639071', 'tblTempVendorCDR_20' ) end [2025-03-09 01:18:18] Production.INFO: ProcessCDR(1,14639071,1,1,2) [2025-03-09 01:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639071', 'tblTempUsageDetail_20' ) start [2025-03-09 01:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639071', 'tblTempUsageDetail_20' ) end [2025-03-09 01:18:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:18:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:18:23] Production.INFO: ==31507== Releasing lock... [2025-03-09 01:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:18:23] Production.INFO: 33 MB #Memory Used# [2025-03-09 06:19:01] Production.INFO: ==31593== Lock acquired, processing the job... [2025-03-09 06:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:19:01] Production.INFO: neon service started [2025-03-09 06:19:01] Production.INFO: neon service started [2025-03-09 06:19:01] Production.INFO: ==31593== Releasing lock... [2025-03-09 06:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:19:02] Production.INFO: ==31595== Lock acquired, processing the job... [2025-03-09 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:19:02] Production.INFO: ==31597== Lock acquired, processing the job... [2025-03-09 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:19:02] Production.INFO: ==31597== Releasing lock... [2025-03-09 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:19:02] Production.INFO: ==31595== Releasing lock... [2025-03-09 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:19:03] Production.INFO: ==31600== Lock acquired, processing the job... [2025-03-09 01:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:19:03] Production.INFO: ==31604== Lock acquired, processing the job... [2025-03-09 01:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:19:03] Production.INFO: ==31606== Lock acquired, processing the job... [2025-03-09 01:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:19:03] Production.INFO: Account Balance Start. [2025-03-09 01:19:03] Production.INFO: CreateAllLog Start [2025-03-09 01:19:03] Production.INFO: 117 [2025-03-09 01:19:03] Production.INFO: Date 2025-03-08 [2025-03-09 01:19:03] Production.INFO: ==31602== Lock acquired, processing the job... [2025-03-09 01:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:19:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:19:03] Production.INFO: Date 2025-03-09 [2025-03-09 01:19:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:19:03] Production.INFO: Total Charge 0 [2025-03-09 01:19:03] Production.INFO: CreateAllLog End [2025-03-09 01:19:03] Production.INFO: Account Balance End. [2025-03-09 01:19:03] Production.ERROR: CronJobId end 12 [2025-03-09 01:19:03] Production.INFO: ==31606== Releasing lock... [2025-03-09 01:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:19:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:19:03] Production.INFO: ==31608== Lock acquired, processing the job... [2025-03-09 01:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:19:03] Production.INFO: ==31610== Lock acquired, processing the job... [2025-03-09 01:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:19:03] Production.INFO: ==31602== Releasing lock... [2025-03-09 01:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:19:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:19:03] Production.INFO: count ==13 [2025-03-09 01:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:19:03] Production.INFO: count ==21 [2025-03-09 01:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639075') start [2025-03-09 01:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639075') end [2025-03-09 01:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:19:04] Production.INFO: 1 [2025-03-09 01:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:19:04] Production.INFO: ==31610== Releasing lock... [2025-03-09 01:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:19:04] Production.ERROR: done [2025-03-09 01:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:19:04] Production.ERROR: done [2025-03-09 01:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:19:05 [end_date_ymd] => 2025-03-09 01:19:05 [RateCDR] => 1 ) [2025-03-09 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-08 22:19:05' and `end` < '2025-03-09 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-09 01:19:11] Production.ERROR: CronJobId end10 [2025-03-09 01:19:11] Production.INFO: ==31604== Releasing lock... [2025-03-09 01:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:19:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:19:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:19:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:19:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:19:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:19:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:19:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:19:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:19:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:19:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:19:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:19:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:19:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:19:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:19:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:19:14] Production.INFO: call_cost start [2025-03-09 01:19:14] Production.INFO: call_cost end [2025-03-09 01:19:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:19:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:19:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:19:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:19:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:19:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:19:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:19:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:19:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:19:14] Production.INFO: ==31600== Releasing lock... [2025-03-09 01:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:19:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:19:17] Production.INFO: count ==569 [2025-03-09 01:19:17] Production.ERROR: pbx CDR StartTime 2025-03-08 22:19:05 - End Time 2025-03-09 01:19:05 [2025-03-09 01:19:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639076', 'tblTempUsageDetail_20' ) start [2025-03-09 01:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639076', 'tblTempUsageDetail_20' ) end [2025-03-09 01:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639076', 'tblTempVendorCDR_20' ) start [2025-03-09 01:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639076', 'tblTempVendorCDR_20' ) end [2025-03-09 01:19:17] Production.INFO: ProcessCDR(1,14639076,1,1,2) [2025-03-09 01:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639076', 'tblTempUsageDetail_20' ) start [2025-03-09 01:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639076', 'tblTempUsageDetail_20' ) end [2025-03-09 01:19:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:19:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:19:22] Production.INFO: ==31608== Releasing lock... [2025-03-09 01:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:19:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 06:20:01] Production.INFO: ==31692== Lock acquired, processing the job... [2025-03-09 06:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:20:01] Production.INFO: neon service started [2025-03-09 06:20:01] Production.INFO: neon service started [2025-03-09 06:20:01] Production.INFO: ==31692== Releasing lock... [2025-03-09 06:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:20:02] Production.INFO: ==31696== Lock acquired, processing the job... [2025-03-09 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:20:02] Production.INFO: ==31696== Releasing lock... [2025-03-09 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:20:02] Production.INFO: ==31694== Lock acquired, processing the job... [2025-03-09 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:20:02] Production.INFO: ==31694== Releasing lock... [2025-03-09 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:20:04] Production.INFO: ==31699== Lock acquired, processing the job... [2025-03-09 01:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 01:20:04] Production.INFO: ==31701== Lock acquired, processing the job... [2025-03-09 01:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:20:04] Production.INFO: ==31705== Lock acquired, processing the job... [2025-03-09 01:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:20:04] Production.INFO: ==31709== Lock acquired, processing the job... [2025-03-09 01:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 01:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 01:20:04] Production.ERROR: CronJob PID - 31701 [2025-03-09 01:20:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 01:20:04] Production.ERROR: CronJob ID - 5 [2025-03-09 01:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 01:20:00 [2025-03-09 01:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 01:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 01:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 01:20:04] Production.ERROR: CronJob PID - 31705 [2025-03-09 01:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 01:20:04] Production.ERROR: CronJob ID - 10 [2025-03-09 01:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 01:20:00 [2025-03-09 01:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 01:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 01:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 01:20:04] Production.ERROR: CronJob PID - 31709 [2025-03-09 01:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 01:20:04] Production.ERROR: CronJob ID - 16 [2025-03-09 01:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 01:20:00 [2025-03-09 01:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 01:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 01:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 01:20:04] Production.INFO: ==31699== Releasing lock... [2025-03-09 01:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 01:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 01:20:04] Production.INFO: ==31703== Lock acquired, processing the job... [2025-03-09 01:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:20:04] Production.INFO: ==31711== Lock acquired, processing the job... [2025-03-09 01:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 01:20:04] Production.INFO: ==31707== Lock acquired, processing the job... [2025-03-09 01:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:20:04] Production.INFO: ==31713== Lock acquired, processing the job... [2025-03-09 01:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:20:04] Production.INFO: Account Balance Start. [2025-03-09 01:20:04] Production.INFO: CreateAllLog Start [2025-03-09 01:20:04] Production.INFO: 117 [2025-03-09 01:20:04] Production.ERROR: done [2025-03-09 01:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:20:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:20:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:20:04] Production.INFO: count ==13 [2025-03-09 01:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:20:04] Production.INFO: count ==21 [2025-03-09 01:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639080') start [2025-03-09 01:20:04] Production.INFO: Total Charge 0 [2025-03-09 01:20:04] Production.INFO: CreateAllLog End [2025-03-09 01:20:04] Production.INFO: ==31703== Releasing lock... [2025-03-09 01:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:20:04] Production.ERROR: done [2025-03-09 01:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639080') end [2025-03-09 01:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:20:04] Production.INFO: 1 [2025-03-09 01:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:20:05] Production.ERROR: done [2025-03-09 01:20:05] Production.INFO: ==31713== Releasing lock... [2025-03-09 01:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 01:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639082', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 01:20:05] Production.INFO: Account Balance End. [2025-03-09 01:20:05] Production.ERROR: CronJobId end 12 [2025-03-09 01:20:05] Production.INFO: ==31707== Releasing lock... [2025-03-09 01:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:20:06 [end_date_ymd] => 2025-03-09 01:20:06 [RateCDR] => 1 ) [2025-03-09 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-08 22:20:06' and `end` < '2025-03-09 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-09 01:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639082', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 01:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 01:20:09] Production.INFO: ProcessCDR(1,14639082,1,1,2) [2025-03-09 01:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14639082,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14639082,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:20:09] Production.INFO: ==31711== Releasing lock... [2025-03-09 01:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 01:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 01:20:13] Production.ERROR: CronJobId end10 [2025-03-09 01:20:13] Production.INFO: ==31705== Releasing lock... [2025-03-09 01:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:20:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:20:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:20:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:20:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:20:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:20:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:20:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:20:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:20:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:20:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:20:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:20:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:20:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:20:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:20:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:20:16] Production.INFO: call_cost start [2025-03-09 01:20:16] Production.INFO: call_cost end [2025-03-09 01:20:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:20:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:20:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:20:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:20:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:20:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:20:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:20:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:20:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:20:17] Production.INFO: ==31701== Releasing lock... [2025-03-09 01:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:20:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:20:18] Production.INFO: count ==576 [2025-03-09 01:20:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:20:06 - End Time 2025-03-09 01:20:06 [2025-03-09 01:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639081', 'tblTempUsageDetail_20' ) start [2025-03-09 01:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639081', 'tblTempUsageDetail_20' ) end [2025-03-09 01:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639081', 'tblTempVendorCDR_20' ) start [2025-03-09 01:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639081', 'tblTempVendorCDR_20' ) end [2025-03-09 01:20:18] Production.INFO: ProcessCDR(1,14639081,1,1,2) [2025-03-09 01:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639081', 'tblTempUsageDetail_20' ) start [2025-03-09 01:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639081', 'tblTempUsageDetail_20' ) end [2025-03-09 01:20:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:20:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:20:22] Production.INFO: ==31709== Releasing lock... [2025-03-09 01:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:20:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 06:21:01] Production.INFO: ==31775== Lock acquired, processing the job... [2025-03-09 06:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:21:01] Production.INFO: neon service started [2025-03-09 06:21:01] Production.INFO: neon service started [2025-03-09 06:21:01] Production.INFO: ==31775== Releasing lock... [2025-03-09 06:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:21:01] Production.INFO: ==31777== Lock acquired, processing the job... [2025-03-09 01:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:21:02] Production.INFO: ==31780== Lock acquired, processing the job... [2025-03-09 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:21:02] Production.INFO: ==31780== Releasing lock... [2025-03-09 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:21:02] Production.INFO: ==31777== Releasing lock... [2025-03-09 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:21:03] Production.INFO: ==31782== Lock acquired, processing the job... [2025-03-09 01:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:21:03] Production.INFO: ==31784== Lock acquired, processing the job... [2025-03-09 01:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:21:03] Production.INFO: ==31790== Lock acquired, processing the job... [2025-03-09 01:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:21:03] Production.INFO: ==31788== Lock acquired, processing the job... [2025-03-09 01:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:21:03] Production.INFO: ==31786== Lock acquired, processing the job... [2025-03-09 01:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:21:03] Production.INFO: ==31792== Lock acquired, processing the job... [2025-03-09 01:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:21:03] Production.INFO: ==31784== Releasing lock... [2025-03-09 01:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:21:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:21:03] Production.INFO: Account Balance Start. [2025-03-09 01:21:03] Production.INFO: CreateAllLog Start [2025-03-09 01:21:03] Production.INFO: 117 [2025-03-09 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-09 01:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:21:03] Production.INFO: Date 2025-03-08 [2025-03-09 01:21:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:21:03] Production.INFO: Date 2025-03-09 [2025-03-09 01:21:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:21:03] Production.INFO: count ==13 [2025-03-09 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-09 01:21:03] Production.INFO: count ==21 [2025-03-09 01:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639086') start [2025-03-09 01:21:04] Production.ERROR: done [2025-03-09 01:21:04] Production.INFO: Total Charge 0 [2025-03-09 01:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:21:04] Production.INFO: CreateAllLog End [2025-03-09 01:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639086') end [2025-03-09 01:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:21:04] Production.INFO: 1 [2025-03-09 01:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:21:04] Production.INFO: ==31792== Releasing lock... [2025-03-09 01:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:21:04] Production.ERROR: done [2025-03-09 01:21:04] Production.INFO: Account Balance End. [2025-03-09 01:21:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:21:04] Production.INFO: ==31788== Releasing lock... [2025-03-09 01:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:21:05 [end_date_ymd] => 2025-03-09 01:21:05 [RateCDR] => 1 ) [2025-03-09 01:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:21:05' and `end` < '2025-03-09 01:21:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:21:11] Production.ERROR: CronJobId end10 [2025-03-09 01:21:11] Production.INFO: ==31786== Releasing lock... [2025-03-09 01:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:21:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:21:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:21:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:21:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:21:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:21:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:21:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:21:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:21:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:21:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:21:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:21:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:21:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:21:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:21:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:21:13] Production.INFO: call_cost start [2025-03-09 01:21:13] Production.INFO: call_cost end [2025-03-09 01:21:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:21:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:21:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:21:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:21:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:21:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:21:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:21:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:21:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:21:14] Production.INFO: ==31782== Releasing lock... [2025-03-09 01:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:21:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:21:17] Production.INFO: count ==586 [2025-03-09 01:21:17] Production.ERROR: pbx CDR StartTime 2025-03-08 22:21:05 - End Time 2025-03-09 01:21:05 [2025-03-09 01:21:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639087', 'tblTempUsageDetail_20' ) start [2025-03-09 01:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639087', 'tblTempUsageDetail_20' ) end [2025-03-09 01:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639087', 'tblTempVendorCDR_20' ) start [2025-03-09 01:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639087', 'tblTempVendorCDR_20' ) end [2025-03-09 01:21:17] Production.INFO: ProcessCDR(1,14639087,1,1,2) [2025-03-09 01:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639087', 'tblTempUsageDetail_20' ) start [2025-03-09 01:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639087', 'tblTempUsageDetail_20' ) end [2025-03-09 01:21:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:21:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:21:20] Production.INFO: ==31790== Releasing lock... [2025-03-09 01:21:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:21:20] Production.INFO: 33 MB #Memory Used# [2025-03-09 06:22:01] Production.INFO: ==31852== Lock acquired, processing the job... [2025-03-09 06:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:22:01] Production.INFO: neon service started [2025-03-09 06:22:01] Production.INFO: neon service started [2025-03-09 06:22:01] Production.INFO: ==31852== Releasing lock... [2025-03-09 06:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:22:02] Production.INFO: ==31858== Lock acquired, processing the job... [2025-03-09 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:22:02] Production.INFO: ==31858== Releasing lock... [2025-03-09 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:22:02] Production.INFO: ==31855== Lock acquired, processing the job... [2025-03-09 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:22:02] Production.INFO: ==31855== Releasing lock... [2025-03-09 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:22:03] Production.INFO: ==31863== Lock acquired, processing the job... [2025-03-09 01:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:22:03] Production.INFO: ==31871== Lock acquired, processing the job... [2025-03-09 01:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:22:03] Production.INFO: ==31861== Lock acquired, processing the job... [2025-03-09 01:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:22:04] Production.INFO: ==31865== Lock acquired, processing the job... [2025-03-09 01:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:22:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 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-09 01:22:04] Production.INFO: ==31867== Lock acquired, processing the job... [2025-03-09 01:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:22:04] Production.INFO: count ==13 [2025-03-09 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-09 01:22:04] Production.INFO: count ==21 [2025-03-09 01:22:04] Production.INFO: ==31869== Lock acquired, processing the job... [2025-03-09 01:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:22:04] Production.INFO: ==31863== Releasing lock... [2025-03-09 01:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639089') start [2025-03-09 01:22:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:22:04] Production.INFO: Account Balance Start. [2025-03-09 01:22:04] Production.INFO: CreateAllLog Start [2025-03-09 01:22:04] Production.INFO: 117 [2025-03-09 01:22:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:22:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639089') end [2025-03-09 01:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:22:04] Production.INFO: 1 [2025-03-09 01:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:22:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:22:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:22:04] Production.INFO: ==31871== Releasing lock... [2025-03-09 01:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:22:04] Production.INFO: Total Charge 0 [2025-03-09 01:22:04] Production.INFO: CreateAllLog End [2025-03-09 01:22:04] Production.ERROR: done [2025-03-09 01:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:22:04] Production.INFO: Account Balance End. [2025-03-09 01:22:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:22:04] Production.INFO: ==31867== Releasing lock... [2025-03-09 01:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:22:04] Production.ERROR: done [2025-03-09 01:22:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:22:06 [end_date_ymd] => 2025-03-09 01:22:06 [RateCDR] => 1 ) [2025-03-09 01: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-08 22:22:06' and `end` < '2025-03-09 01: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-09 01:22:12] Production.ERROR: CronJobId end10 [2025-03-09 01:22:12] Production.INFO: ==31865== Releasing lock... [2025-03-09 01:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:22:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:22:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:22:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:22:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:22:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:22:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:22:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:22:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:22:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:22:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:22:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:22:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:22:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:22:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:22:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:22:14] Production.INFO: call_cost start [2025-03-09 01:22:14] Production.INFO: call_cost end [2025-03-09 01:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:22:15] Production.INFO: ==31861== Releasing lock... [2025-03-09 01:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:22:18] Production.INFO: count ==584 [2025-03-09 01:22:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:22:06 - End Time 2025-03-09 01:22:06 [2025-03-09 01:22:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639092', 'tblTempUsageDetail_20' ) start [2025-03-09 01:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639092', 'tblTempUsageDetail_20' ) end [2025-03-09 01:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639092', 'tblTempVendorCDR_20' ) start [2025-03-09 01:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639092', 'tblTempVendorCDR_20' ) end [2025-03-09 01:22:18] Production.INFO: ProcessCDR(1,14639092,1,1,2) [2025-03-09 01:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639092', 'tblTempUsageDetail_20' ) start [2025-03-09 01:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639092', 'tblTempUsageDetail_20' ) end [2025-03-09 01:22:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:22:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:22:23] Production.INFO: ==31869== Releasing lock... [2025-03-09 01:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:22:23] Production.INFO: 33 MB #Memory Used# [2025-03-09 06:23:01] Production.INFO: ==31954== Lock acquired, processing the job... [2025-03-09 06:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:23:01] Production.INFO: neon service started [2025-03-09 06:23:01] Production.INFO: neon service started [2025-03-09 06:23:01] Production.INFO: ==31954== Releasing lock... [2025-03-09 06:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:23:01] Production.INFO: ==31959== Lock acquired, processing the job... [2025-03-09 06:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:23:01] Production.INFO: ==31959== Releasing lock... [2025-03-09 06:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:23:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:23:02] Production.INFO: ==31957== Lock acquired, processing the job... [2025-03-09 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:23:02] Production.INFO: ==31957== Releasing lock... [2025-03-09 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:23:03] Production.INFO: ==31963== Lock acquired, processing the job... [2025-03-09 01:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:23:03] Production.INFO: ==31967== Lock acquired, processing the job... [2025-03-09 01:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:23:03] Production.INFO: ==31969== Lock acquired, processing the job... [2025-03-09 01:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:23:03] Production.INFO: Account Balance Start. [2025-03-09 01:23:03] Production.INFO: CreateAllLog Start [2025-03-09 01:23:03] Production.INFO: 117 [2025-03-09 01:23:03] Production.INFO: Date 2025-03-08 [2025-03-09 01:23:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:23:03] Production.INFO: Date 2025-03-09 [2025-03-09 01:23:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:23:03] Production.INFO: Total Charge 0 [2025-03-09 01:23:03] Production.INFO: CreateAllLog End [2025-03-09 01:23:03] Production.INFO: ==31961== Lock acquired, processing the job... [2025-03-09 01:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:23:03] Production.INFO: ==31965== Lock acquired, processing the job... [2025-03-09 01:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:23:03] Production.INFO: ==31963== Releasing lock... [2025-03-09 01:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:23:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:23:03] Production.INFO: ==31971== Lock acquired, processing the job... [2025-03-09 01:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:23:03] Production.ERROR: done [2025-03-09 01:23:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:23:03] Production.INFO: Account Balance End. [2025-03-09 01:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:23:03] Production.INFO: count ==13 [2025-03-09 01:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:23:03] Production.ERROR: CronJobId end 12 [2025-03-09 01:23:03] Production.INFO: ==31967== Releasing lock... [2025-03-09 01:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:23:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:23:03] Production.INFO: count ==21 [2025-03-09 01:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639096') start [2025-03-09 01:23:03] Production.ERROR: done [2025-03-09 01:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639096') end [2025-03-09 01:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:23:04] Production.INFO: 1 [2025-03-09 01:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:23:04] Production.INFO: ==31971== Releasing lock... [2025-03-09 01:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:23:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:23:04 [end_date_ymd] => 2025-03-09 01:23:04 [RateCDR] => 1 ) [2025-03-09 01:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:23:04' and `end` < '2025-03-09 01:23:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:23:11] Production.ERROR: CronJobId end10 [2025-03-09 01:23:11] Production.INFO: ==31965== Releasing lock... [2025-03-09 01:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:23:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:23:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:23:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:23:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:23:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:23:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:23:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:23:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:23:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:23:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:23:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:23:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:23:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:23:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:23:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:23:14] Production.INFO: call_cost start [2025-03-09 01:23:14] Production.INFO: call_cost end [2025-03-09 01:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:23:15] Production.INFO: ==31961== Releasing lock... [2025-03-09 01:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:23:16] Production.INFO: count ==585 [2025-03-09 01:23:17] Production.ERROR: pbx CDR StartTime 2025-03-08 22:23:04 - End Time 2025-03-09 01:23:04 [2025-03-09 01:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639097', 'tblTempUsageDetail_20' ) start [2025-03-09 01:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639097', 'tblTempUsageDetail_20' ) end [2025-03-09 01:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639097', 'tblTempVendorCDR_20' ) start [2025-03-09 01:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639097', 'tblTempVendorCDR_20' ) end [2025-03-09 01:23:17] Production.INFO: ProcessCDR(1,14639097,1,1,2) [2025-03-09 01:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639097', 'tblTempUsageDetail_20' ) start [2025-03-09 01:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639097', 'tblTempUsageDetail_20' ) end [2025-03-09 01:23:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:23:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:23:21] Production.INFO: ==31969== Releasing lock... [2025-03-09 01:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:23:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 06:24:01] Production.INFO: ==32041== Lock acquired, processing the job... [2025-03-09 06:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:24:01] Production.INFO: neon service started [2025-03-09 06:24:01] Production.INFO: neon service started [2025-03-09 06:24:01] Production.INFO: ==32041== Releasing lock... [2025-03-09 06:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:24:02] Production.INFO: ==32045== Lock acquired, processing the job... [2025-03-09 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:24:02] Production.INFO: ==32045== Releasing lock... [2025-03-09 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:24:02] Production.INFO: ==32043== Lock acquired, processing the job... [2025-03-09 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:24:02] Production.INFO: ==32043== Releasing lock... [2025-03-09 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:24:03] Production.INFO: ==32056== Lock acquired, processing the job... [2025-03-09 01:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:24:03] Production.INFO: ==32058== Lock acquired, processing the job... [2025-03-09 01:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:24:04] Production.INFO: ==32048== Lock acquired, processing the job... [2025-03-09 01:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:24:04] Production.INFO: ==32050== Lock acquired, processing the job... [2025-03-09 01:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:24:04] Production.INFO: ==32052== Lock acquired, processing the job... [2025-03-09 01:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:24:04] Production.INFO: ==32054== Lock acquired, processing the job... [2025-03-09 01:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:24:04] Production.ERROR: done [2025-03-09 01:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:24:04] Production.INFO: Account Balance Start. [2025-03-09 01:24:04] Production.INFO: CreateAllLog Start [2025-03-09 01:24:04] Production.INFO: 117 [2025-03-09 01:24:04] Production.INFO: count ==13 [2025-03-09 01:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:24:04] Production.INFO: count ==21 [2025-03-09 01:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639098') start [2025-03-09 01:24:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:24:04] Production.ERROR: done [2025-03-09 01:24:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:24:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:24:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:24:04] Production.INFO: Total Charge 0 [2025-03-09 01:24:04] Production.INFO: CreateAllLog End [2025-03-09 01:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639098') end [2025-03-09 01:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:24:04] Production.INFO: 1 [2025-03-09 01:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:24:04] Production.INFO: ==32058== Releasing lock... [2025-03-09 01:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:24:04] Production.INFO: ==32050== Releasing lock... [2025-03-09 01:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:24:04] Production.INFO: Account Balance End. [2025-03-09 01:24:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:24:04] Production.INFO: ==32054== Releasing lock... [2025-03-09 01:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:24:05 [end_date_ymd] => 2025-03-09 01:24:05 [RateCDR] => 1 ) [2025-03-09 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-08 22:24:05' and `end` < '2025-03-09 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-09 01:24:12] Production.ERROR: CronJobId end10 [2025-03-09 01:24:12] Production.INFO: ==32052== Releasing lock... [2025-03-09 01:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:24:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:24:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:24:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:24:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:24:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:24:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:24:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:24:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:24:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:24:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:24:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:24:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:24:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:24:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:24:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:24:14] Production.INFO: call_cost start [2025-03-09 01:24:14] Production.INFO: call_cost end [2025-03-09 01:24:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:24:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:24:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:24:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:24:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:24:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:24:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:24:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:24:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:24:15] Production.INFO: ==32048== Releasing lock... [2025-03-09 01:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:24:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:24:17] Production.INFO: count ==580 [2025-03-09 01:24:17] Production.ERROR: pbx CDR StartTime 2025-03-08 22:24:05 - End Time 2025-03-09 01:24:05 [2025-03-09 01:24:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639102', 'tblTempUsageDetail_20' ) start [2025-03-09 01:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639102', 'tblTempUsageDetail_20' ) end [2025-03-09 01:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639102', 'tblTempVendorCDR_20' ) start [2025-03-09 01:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639102', 'tblTempVendorCDR_20' ) end [2025-03-09 01:24:17] Production.INFO: ProcessCDR(1,14639102,1,1,2) [2025-03-09 01:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639102', 'tblTempUsageDetail_20' ) start [2025-03-09 01:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639102', 'tblTempUsageDetail_20' ) end [2025-03-09 01:24:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:24:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:24:21] Production.INFO: ==32056== Releasing lock... [2025-03-09 01:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:24:21] Production.INFO: 33 MB #Memory Used# [2025-03-09 06:25:02] Production.INFO: ==32115== Lock acquired, processing the job... [2025-03-09 06:25:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:25:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:25:02] Production.INFO: neon service started [2025-03-09 06:25:02] Production.INFO: neon service started [2025-03-09 06:25:02] Production.INFO: ==32115== Releasing lock... [2025-03-09 06:25:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:25:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:25:03] Production.INFO: ==32119== Lock acquired, processing the job... [2025-03-09 06:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:25:03] Production.INFO: ==32117== Lock acquired, processing the job... [2025-03-09 01:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:25:03] Production.INFO: ==32119== Releasing lock... [2025-03-09 06:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:25:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:25:03] Production.INFO: ==32117== Releasing lock... [2025-03-09 01:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:25:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:25:04] Production.INFO: ==32124== Lock acquired, processing the job... [2025-03-09 01:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:25:04] Production.INFO: ==32130== Lock acquired, processing the job... [2025-03-09 01:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:25:04] Production.INFO: ==32122== Lock acquired, processing the job... [2025-03-09 01:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:25:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:25:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:25:04] Production.INFO: ==32126== Lock acquired, processing the job... [2025-03-09 01:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:25:04] Production.INFO: ==32124== Releasing lock... [2025-03-09 01:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:25:04] Production.INFO: ==32128== Lock acquired, processing the job... [2025-03-09 01:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:25:04] Production.INFO: ==32132== Lock acquired, processing the job... [2025-03-09 01:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:25:04] Production.ERROR: done [2025-03-09 01:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:25:04] Production.INFO: Account Balance Start. [2025-03-09 01:25:04] Production.INFO: CreateAllLog Start [2025-03-09 01:25:04] Production.INFO: 117 [2025-03-09 01:25:04] Production.ERROR: done [2025-03-09 01:25:04] Production.INFO: count ==13 [2025-03-09 01:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:25:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:25:04] Production.INFO: count ==21 [2025-03-09 01:25:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639106') start [2025-03-09 01:25:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639106') end [2025-03-09 01:25:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:25:05] Production.INFO: 1 [2025-03-09 01:25:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:25:05] Production.INFO: Date 2025-03-09 [2025-03-09 01:25:05] Production.INFO: Reseller ==> 0 [2025-03-09 01:25:05] Production.INFO: ==32132== Releasing lock... [2025-03-09 01:25:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:25:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:25:05] Production.INFO: Total Charge 0 [2025-03-09 01:25:05] Production.INFO: CreateAllLog End [2025-03-09 01:25:05] Production.INFO: Account Balance End. [2025-03-09 01:25:05] Production.ERROR: CronJobId end 12 [2025-03-09 01:25:05] Production.INFO: ==32128== Releasing lock... [2025-03-09 01:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:25:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:25:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:25:06 [end_date_ymd] => 2025-03-09 01:25:06 [RateCDR] => 1 ) [2025-03-09 01: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-08 22:25:06' and `end` < '2025-03-09 01: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-09 01:25:13] Production.ERROR: CronJobId end10 [2025-03-09 01:25:13] Production.INFO: ==32126== Releasing lock... [2025-03-09 01:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:25:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:25:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:25:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:25:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:25:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:25:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:25:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:25:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:25:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:25:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:25:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:25:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:25:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:25:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:25:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:25:16] Production.INFO: call_cost start [2025-03-09 01:25:16] Production.INFO: call_cost end [2025-03-09 01:25:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:25:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:25:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:25:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:25:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:25:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:25:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:25:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:25:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:25:16] Production.INFO: ==32122== Releasing lock... [2025-03-09 01:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:25:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:25:18] Production.INFO: count ==581 [2025-03-09 01:25:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:25:06 - End Time 2025-03-09 01:25:06 [2025-03-09 01:25:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639107', 'tblTempUsageDetail_20' ) start [2025-03-09 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639107', 'tblTempUsageDetail_20' ) end [2025-03-09 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639107', 'tblTempVendorCDR_20' ) start [2025-03-09 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639107', 'tblTempVendorCDR_20' ) end [2025-03-09 01:25:18] Production.INFO: ProcessCDR(1,14639107,1,1,2) [2025-03-09 01:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639107', 'tblTempUsageDetail_20' ) start [2025-03-09 01:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639107', 'tblTempUsageDetail_20' ) end [2025-03-09 01:25:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:25:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:25:21] Production.INFO: ==32130== Releasing lock... [2025-03-09 01:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:25:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 06:26:01] Production.INFO: ==32187== Lock acquired, processing the job... [2025-03-09 06:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:26:01] Production.INFO: neon service started [2025-03-09 06:26:01] Production.INFO: neon service started [2025-03-09 06:26:01] Production.INFO: ==32187== Releasing lock... [2025-03-09 06:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:26:02] Production.INFO: ==32189== Lock acquired, processing the job... [2025-03-09 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:26:02] Production.INFO: ==32189== Releasing lock... [2025-03-09 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:26:02] Production.INFO: ==32191== Lock acquired, processing the job... [2025-03-09 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:26:02] Production.INFO: ==32191== Releasing lock... [2025-03-09 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:26:03] Production.INFO: ==32200== Lock acquired, processing the job... [2025-03-09 01:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:26:03] Production.INFO: ==32204== Lock acquired, processing the job... [2025-03-09 01:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:26:03] Production.INFO: Account Balance Start. [2025-03-09 01:26:03] Production.INFO: CreateAllLog Start [2025-03-09 01:26:03] Production.INFO: 117 [2025-03-09 01:26:03] Production.INFO: Date 2025-03-08 [2025-03-09 01:26:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:26:03] Production.INFO: Date 2025-03-09 [2025-03-09 01:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:26:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:26:03] Production.INFO: count ==13 [2025-03-09 01:26:03] Production.INFO: Total Charge 0 [2025-03-09 01:26:03] Production.INFO: CreateAllLog End [2025-03-09 01:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:26:03] Production.INFO: count ==21 [2025-03-09 01:26:03] Production.INFO: ==32194== Lock acquired, processing the job... [2025-03-09 01:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:26:03] Production.INFO: ==32196== Lock acquired, processing the job... [2025-03-09 01:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639109') start [2025-03-09 01:26:03] Production.INFO: ==32198== Lock acquired, processing the job... [2025-03-09 01:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:26:03] Production.INFO: ==32202== Lock acquired, processing the job... [2025-03-09 01:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:26:03] Production.INFO: Account Balance End. [2025-03-09 01:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639109') end [2025-03-09 01:26:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:26:03] Production.INFO: 1 [2025-03-09 01:26:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:26:04] Production.INFO: ==32204== Releasing lock... [2025-03-09 01:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:26:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:26:04] Production.INFO: ==32200== Releasing lock... [2025-03-09 01:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:26:04] Production.INFO: ==32196== Releasing lock... [2025-03-09 01:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:26:04] Production.ERROR: done [2025-03-09 01:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:26:04] Production.ERROR: done [2025-03-09 01:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:26:05 [end_date_ymd] => 2025-03-09 01:26:05 [RateCDR] => 1 ) [2025-03-09 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-08 22:26:05' and `end` < '2025-03-09 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-09 01:26:12] Production.ERROR: CronJobId end10 [2025-03-09 01:26:12] Production.INFO: ==32198== Releasing lock... [2025-03-09 01:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:26:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:26:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:26:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:26:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:26:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:26:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:26:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:26:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:26:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:26:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:26:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:26:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:26:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:26:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:26:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:26:14] Production.INFO: call_cost start [2025-03-09 01:26:14] Production.INFO: call_cost end [2025-03-09 01:26:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:26:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:26:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:26:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:26:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:26:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:26:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:26:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:26:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:26:15] Production.INFO: ==32194== Releasing lock... [2025-03-09 01:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:26:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:26:17] Production.INFO: count ==581 [2025-03-09 01:26:17] Production.ERROR: pbx CDR StartTime 2025-03-08 22:26:05 - End Time 2025-03-09 01:26:05 [2025-03-09 01:26:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639112', 'tblTempUsageDetail_20' ) start [2025-03-09 01:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639112', 'tblTempUsageDetail_20' ) end [2025-03-09 01:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639112', 'tblTempVendorCDR_20' ) start [2025-03-09 01:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639112', 'tblTempVendorCDR_20' ) end [2025-03-09 01:26:17] Production.INFO: ProcessCDR(1,14639112,1,1,2) [2025-03-09 01:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639112,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639112,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639112,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639112,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639112', 'tblTempUsageDetail_20' ) start [2025-03-09 01:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639112', 'tblTempUsageDetail_20' ) end [2025-03-09 01:26:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:26:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:26:20] Production.INFO: ==32202== Releasing lock... [2025-03-09 01:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:26:20] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 06:27:02] Production.INFO: ==32268== Lock acquired, processing the job... [2025-03-09 06:27:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:27:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:27:02] Production.INFO: neon service started [2025-03-09 06:27:02] Production.INFO: neon service started [2025-03-09 06:27:02] Production.INFO: ==32268== Releasing lock... [2025-03-09 06:27:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:27:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:27:02] Production.INFO: ==32270== Lock acquired, processing the job... [2025-03-09 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:27:02] Production.INFO: ==32272== Lock acquired, processing the job... [2025-03-09 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:27:03] Production.INFO: ==32270== Releasing lock... [2025-03-09 01:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:27:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:27:03] Production.INFO: ==32272== Releasing lock... [2025-03-09 06:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:27:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:27:03] Production.INFO: ==32276== Lock acquired, processing the job... [2025-03-09 01:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:27:03] Production.INFO: ==32282== Lock acquired, processing the job... [2025-03-09 01:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:27:04] Production.INFO: ==32274== Lock acquired, processing the job... [2025-03-09 01:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:27:04] Production.INFO: ==32276== Releasing lock... [2025-03-09 01:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:27:04] Production.INFO: ==32278== Lock acquired, processing the job... [2025-03-09 01:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:27:04] Production.INFO: ==32280== Lock acquired, processing the job... [2025-03-09 01:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:27:04] Production.INFO: ==32285== Lock acquired, processing the job... [2025-03-09 01:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:27:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:27:04] Production.ERROR: done [2025-03-09 01:27:04] Production.INFO: Account Balance Start. [2025-03-09 01:27:04] Production.INFO: CreateAllLog Start [2025-03-09 01:27:04] Production.INFO: 117 [2025-03-09 01:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 01:27:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:27:04] Production.INFO: count ==13 [2025-03-09 01:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:27:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:27:04] Production.INFO: count ==21 [2025-03-09 01:27:04] Production.ERROR: done [2025-03-09 01:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639116') start [2025-03-09 01:27:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:27:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:27:04] Production.INFO: Total Charge 0 [2025-03-09 01:27:04] Production.INFO: CreateAllLog End [2025-03-09 01:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639116') end [2025-03-09 01:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:27:04] Production.INFO: 1 [2025-03-09 01:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:27:04] Production.INFO: ==32285== Releasing lock... [2025-03-09 01:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:27:04] Production.INFO: Account Balance End. [2025-03-09 01:27:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:27:04] Production.INFO: ==32280== Releasing lock... [2025-03-09 01:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:27:05 [end_date_ymd] => 2025-03-09 01:27:05 [RateCDR] => 1 ) [2025-03-09 01:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:27:05' and `end` < '2025-03-09 01:27:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:27:12] Production.ERROR: CronJobId end10 [2025-03-09 01:27:12] Production.INFO: ==32278== Releasing lock... [2025-03-09 01:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:27:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:27:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:27:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:27:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:27:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:27:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:27:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:27:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:27:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:27:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:27:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:27:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:27:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:27:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:27:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:27:15] Production.INFO: call_cost start [2025-03-09 01:27:15] Production.INFO: call_cost end [2025-03-09 01:27:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:27:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:27:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:27:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:27:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:27:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:27:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:27:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:27:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:27:16] Production.INFO: ==32274== Releasing lock... [2025-03-09 01:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:27:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:27:17] Production.INFO: count ==575 [2025-03-09 01:27:17] Production.ERROR: pbx CDR StartTime 2025-03-08 22:27:05 - End Time 2025-03-09 01:27:05 [2025-03-09 01:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639117', 'tblTempUsageDetail_20' ) start [2025-03-09 01:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639117', 'tblTempUsageDetail_20' ) end [2025-03-09 01:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639117', 'tblTempVendorCDR_20' ) start [2025-03-09 01:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639117', 'tblTempVendorCDR_20' ) end [2025-03-09 01:27:17] Production.INFO: ProcessCDR(1,14639117,1,1,2) [2025-03-09 01:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639117', 'tblTempUsageDetail_20' ) start [2025-03-09 01:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639117', 'tblTempUsageDetail_20' ) end [2025-03-09 01:27:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:27:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:27:21] Production.INFO: ==32282== Releasing lock... [2025-03-09 01:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:27:21] Production.INFO: 33 MB #Memory Used# [2025-03-09 06:28:01] Production.INFO: ==32396== Lock acquired, processing the job... [2025-03-09 06:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:28:01] Production.INFO: neon service started [2025-03-09 06:28:01] Production.INFO: neon service started [2025-03-09 06:28:01] Production.INFO: ==32396== Releasing lock... [2025-03-09 06:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:28:02] Production.INFO: ==32401== Lock acquired, processing the job... [2025-03-09 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:28:02] Production.INFO: ==32401== Releasing lock... [2025-03-09 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:28:02] Production.INFO: ==32399== Lock acquired, processing the job... [2025-03-09 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:28:02] Production.INFO: ==32399== Releasing lock... [2025-03-09 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:28:03] Production.INFO: ==32411== Lock acquired, processing the job... [2025-03-09 01:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:28:03] Production.INFO: ==32413== Lock acquired, processing the job... [2025-03-09 01:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:28:03] Production.INFO: ==32403== Lock acquired, processing the job... [2025-03-09 01:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:28:03] Production.INFO: ==32405== Lock acquired, processing the job... [2025-03-09 01:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:28:03] Production.INFO: count ==13 [2025-03-09 01:28:03] Production.INFO: ==32407== Lock acquired, processing the job... [2025-03-09 01:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:28:03] Production.INFO: ==32409== Lock acquired, processing the job... [2025-03-09 01:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:28:03] Production.INFO: count ==21 [2025-03-09 01:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639118') start [2025-03-09 01:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:28:04] Production.ERROR: done [2025-03-09 01:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639118') end [2025-03-09 01:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:28:04] Production.INFO: 1 [2025-03-09 01:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:28:04] Production.INFO: Account Balance Start. [2025-03-09 01:28:04] Production.INFO: CreateAllLog Start [2025-03-09 01:28:04] Production.INFO: 117 [2025-03-09 01:28:04] Production.INFO: ==32413== Releasing lock... [2025-03-09 01:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:28:04] Production.ERROR: done [2025-03-09 01:28:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:28:04] Production.INFO: ==32405== Releasing lock... [2025-03-09 01:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:28:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:28:04] Production.INFO: Total Charge 0 [2025-03-09 01:28:04] Production.INFO: CreateAllLog End [2025-03-09 01:28:04] Production.INFO: Account Balance End. [2025-03-09 01:28:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:28:04] Production.INFO: ==32409== Releasing lock... [2025-03-09 01:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:28:05 [end_date_ymd] => 2025-03-09 01:28:05 [RateCDR] => 1 ) [2025-03-09 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-08 22:28:05' and `end` < '2025-03-09 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-09 01:28:12] Production.ERROR: CronJobId end10 [2025-03-09 01:28:12] Production.INFO: ==32407== Releasing lock... [2025-03-09 01:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:28:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:28:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:28:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:28:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:28:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:28:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:28:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:28:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:28:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:28:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:28:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:28:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:28:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:28:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:28:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:28:15] Production.INFO: call_cost start [2025-03-09 01:28:15] Production.INFO: call_cost end [2025-03-09 01:28:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:28:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:28:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:28:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:28:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:28:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:28:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:28:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:28:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:28:16] Production.INFO: ==32403== Releasing lock... [2025-03-09 01:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:28:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:28:17] Production.INFO: count ==576 [2025-03-09 01:28:17] Production.ERROR: pbx CDR StartTime 2025-03-08 22:28:05 - End Time 2025-03-09 01:28:05 [2025-03-09 01:28:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639122', 'tblTempUsageDetail_20' ) start [2025-03-09 01:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639122', 'tblTempUsageDetail_20' ) end [2025-03-09 01:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639122', 'tblTempVendorCDR_20' ) start [2025-03-09 01:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639122', 'tblTempVendorCDR_20' ) end [2025-03-09 01:28:17] Production.INFO: ProcessCDR(1,14639122,1,1,2) [2025-03-09 01:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639122,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639122,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639122,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:28:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639122,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639122', 'tblTempUsageDetail_20' ) start [2025-03-09 01:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639122', 'tblTempUsageDetail_20' ) end [2025-03-09 01:28:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:28:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:28:20] Production.INFO: ==32411== Releasing lock... [2025-03-09 01:28:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:28:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 06:29:02] Production.INFO: ==32480== Lock acquired, processing the job... [2025-03-09 06:29:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:29:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:29:02] Production.INFO: neon service started [2025-03-09 06:29:02] Production.INFO: neon service started [2025-03-09 06:29:02] Production.INFO: ==32480== Releasing lock... [2025-03-09 06:29:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:29:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:29:02] Production.INFO: ==32482== Lock acquired, processing the job... [2025-03-09 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:29:02] Production.INFO: ==32484== Lock acquired, processing the job... [2025-03-09 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:29:02] Production.INFO: ==32484== Releasing lock... [2025-03-09 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:29:03] Production.INFO: ==32482== Releasing lock... [2025-03-09 01:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:29:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:29:03] Production.INFO: ==32489== Lock acquired, processing the job... [2025-03-09 01:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:29:03] Production.INFO: ==32487== Lock acquired, processing the job... [2025-03-09 01:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:29:03] Production.INFO: ==32493== Lock acquired, processing the job... [2025-03-09 01:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:29:04] Production.INFO: Account Balance Start. [2025-03-09 01:29:04] Production.INFO: CreateAllLog Start [2025-03-09 01:29:04] Production.INFO: 117 [2025-03-09 01:29:04] Production.INFO: ==32491== Lock acquired, processing the job... [2025-03-09 01:29:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:29:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:29:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:29:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:29:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:29:04] Production.INFO: ==32489== Releasing lock... [2025-03-09 01:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:29:04] Production.INFO: Total Charge 0 [2025-03-09 01:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:29:04] Production.INFO: CreateAllLog End [2025-03-09 01:29:04] Production.INFO: ==32495== Lock acquired, processing the job... [2025-03-09 01:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:29:04] Production.INFO: ==32497== Lock acquired, processing the job... [2025-03-09 01:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:29:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:29:04] Production.INFO: Account Balance End. [2025-03-09 01:29:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:29:04] Production.INFO: ==32493== Releasing lock... [2025-03-09 01:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 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-09 01:29:04] Production.INFO: count ==13 [2025-03-09 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-09 01:29:04] Production.INFO: count ==21 [2025-03-09 01:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639126') start [2025-03-09 01:29:04] Production.ERROR: done [2025-03-09 01:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639126') end [2025-03-09 01:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:29:04] Production.INFO: 1 [2025-03-09 01:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:29:05] Production.INFO: ==32497== Releasing lock... [2025-03-09 01:29:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:29:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:29:05] Production.ERROR: done [2025-03-09 01:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:29:05 [end_date_ymd] => 2025-03-09 01:29:05 [RateCDR] => 1 ) [2025-03-09 01:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:29:05' and `end` < '2025-03-09 01:29:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:29:12] Production.ERROR: CronJobId end10 [2025-03-09 01:29:12] Production.INFO: ==32491== Releasing lock... [2025-03-09 01:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:29:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:29:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:29:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:29:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:29:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:29:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:29:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:29:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:29:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:29:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:29:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:29:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:29:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:29:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:29:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:29:14] Production.INFO: call_cost start [2025-03-09 01:29:14] Production.INFO: call_cost end [2025-03-09 01:29:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:29:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:29:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:29:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:29:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:29:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:29:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:29:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:29:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:29:15] Production.INFO: ==32487== Releasing lock... [2025-03-09 01:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:29:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:29:17] Production.INFO: count ==575 [2025-03-09 01:29:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:29:05 - End Time 2025-03-09 01:29:05 [2025-03-09 01:29:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639127', 'tblTempUsageDetail_20' ) start [2025-03-09 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639127', 'tblTempUsageDetail_20' ) end [2025-03-09 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639127', 'tblTempVendorCDR_20' ) start [2025-03-09 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639127', 'tblTempVendorCDR_20' ) end [2025-03-09 01:29:18] Production.INFO: ProcessCDR(1,14639127,1,1,2) [2025-03-09 01:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639127', 'tblTempUsageDetail_20' ) start [2025-03-09 01:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639127', 'tblTempUsageDetail_20' ) end [2025-03-09 01:29:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:29:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:29:21] Production.INFO: ==32495== Releasing lock... [2025-03-09 01:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:29:21] Production.INFO: 33 MB #Memory Used# [2025-03-09 06:30:01] Production.INFO: ==32558== Lock acquired, processing the job... [2025-03-09 06:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:30:01] Production.INFO: neon service started [2025-03-09 06:30:01] Production.INFO: neon service started [2025-03-09 06:30:01] Production.INFO: ==32558== Releasing lock... [2025-03-09 06:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:30:02] Production.INFO: ==32562== Lock acquired, processing the job... [2025-03-09 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:30:02] Production.INFO: ==32562== Releasing lock... [2025-03-09 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:30:02] Production.INFO: ==32560== Lock acquired, processing the job... [2025-03-09 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:30:02] Production.INFO: ==32560== Releasing lock... [2025-03-09 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:30:03] Production.INFO: ==32569== Lock acquired, processing the job... [2025-03-09 01:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:30:03] Production.INFO: ==32575== Lock acquired, processing the job... [2025-03-09 01:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:30:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:30:03] Production.INFO: ==32565== Lock acquired, processing the job... [2025-03-09 01:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 01:30:03] Production.INFO: ==32579== Lock acquired, processing the job... [2025-03-09 01:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:30:04] Production.INFO: ==32567== Lock acquired, processing the job... [2025-03-09 01:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:30:04] Production.INFO: ==32569== Releasing lock... [2025-03-09 01:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:30:04] Production.INFO: ==32571== Lock acquired, processing the job... [2025-03-09 01:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:30:04] Production.INFO: ==32573== Lock acquired, processing the job... [2025-03-09 01:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 01:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 01:30:04] Production.ERROR: CronJob PID - 32567 [2025-03-09 01:30:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 01:30:04] Production.ERROR: CronJob ID - 5 [2025-03-09 01:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 01:30:00 [2025-03-09 01:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 01:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 01:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 01:30:04] Production.ERROR: CronJob PID - 32575 [2025-03-09 01:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 01:30:04] Production.ERROR: CronJob ID - 16 [2025-03-09 01:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 01:30:00 [2025-03-09 01:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 01:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 01:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 01:30:04] Production.ERROR: CronJob PID - 32579 [2025-03-09 01:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 01:30:04] Production.ERROR: CronJob ID - 19 [2025-03-09 01:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 01:30:00 [2025-03-09 01:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 01:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 01:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:30:04] Production.INFO: ==32577== Lock acquired, processing the job... [2025-03-09 01:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 01:30:04] Production.INFO: count ==13 [2025-03-09 01:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 01:30:04] Production.INFO: ==32565== Releasing lock... [2025-03-09 01:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 01:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 01:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:30:04] Production.INFO: count ==21 [2025-03-09 01:30:04] Production.ERROR: done [2025-03-09 01:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639129') start [2025-03-09 01:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:30:04] Production.INFO: Account Balance Start. [2025-03-09 01:30:04] Production.INFO: CreateAllLog Start [2025-03-09 01:30:04] Production.INFO: 117 [2025-03-09 01:30:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:30:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:30:04] Production.INFO: Total Charge 0 [2025-03-09 01:30:04] Production.INFO: CreateAllLog End [2025-03-09 01:30:04] Production.ERROR: done [2025-03-09 01:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639129') end [2025-03-09 01:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:30:04] Production.INFO: 1 [2025-03-09 01:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:30:04] Production.INFO: ==32579== Releasing lock... [2025-03-09 01:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:30:04] Production.ERROR: done [2025-03-09 01:30:04] Production.INFO: Account Balance End. [2025-03-09 01:30:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:30:04] Production.INFO: ==32573== Releasing lock... [2025-03-09 01:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:30:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 01:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639133', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 01:30:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:30:05 [end_date_ymd] => 2025-03-09 01:30:05 [RateCDR] => 1 ) [2025-03-09 01:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:30:05' and `end` < '2025-03-09 01:30:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639133', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 01:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 01:30:09] Production.INFO: ProcessCDR(1,14639133,1,1,2) [2025-03-09 01:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14639133,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14639133,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:30:09] Production.INFO: ==32577== Releasing lock... [2025-03-09 01:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 01:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 01:30:14] Production.ERROR: CronJobId end10 [2025-03-09 01:30:14] Production.INFO: ==32571== Releasing lock... [2025-03-09 01:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:30:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:30:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:30:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:30:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:30:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:30:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:30:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:30:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:30:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:30:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:30:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:30:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:30:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:30:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:30:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:30:16] Production.INFO: call_cost start [2025-03-09 01:30:16] Production.INFO: call_cost end [2025-03-09 01:30:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:30:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:30:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:30:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:30:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:30:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:30:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:30:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:30:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:30:17] Production.INFO: ==32567== Releasing lock... [2025-03-09 01:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:30:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:30:18] Production.INFO: count ==580 [2025-03-09 01:30:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:30:05 - End Time 2025-03-09 01:30:05 [2025-03-09 01:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639132', 'tblTempUsageDetail_20' ) start [2025-03-09 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639132', 'tblTempUsageDetail_20' ) end [2025-03-09 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639132', 'tblTempVendorCDR_20' ) start [2025-03-09 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639132', 'tblTempVendorCDR_20' ) end [2025-03-09 01:30:18] Production.INFO: ProcessCDR(1,14639132,1,1,2) [2025-03-09 01:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639132,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639132,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639132,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639132,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639132', 'tblTempUsageDetail_20' ) start [2025-03-09 01:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639132', 'tblTempUsageDetail_20' ) end [2025-03-09 01:30:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:30:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:30:21] Production.INFO: ==32575== Releasing lock... [2025-03-09 01:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:30:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 06:31:02] Production.INFO: ==32640== Lock acquired, processing the job... [2025-03-09 06:31:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:31:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:31:02] Production.INFO: neon service started [2025-03-09 06:31:02] Production.INFO: neon service started [2025-03-09 06:31:02] Production.INFO: ==32640== Releasing lock... [2025-03-09 06:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:31:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:31:02] Production.INFO: ==32642== Lock acquired, processing the job... [2025-03-09 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:31:02] Production.INFO: ==32644== Lock acquired, processing the job... [2025-03-09 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:31:02] Production.INFO: ==32644== Releasing lock... [2025-03-09 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:31:03] Production.INFO: ==32642== Releasing lock... [2025-03-09 01:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:31:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:31:03] Production.INFO: ==32653== Lock acquired, processing the job... [2025-03-09 01:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:31:03] Production.INFO: ==32657== Lock acquired, processing the job... [2025-03-09 01:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:31:04] Production.INFO: Account Balance Start. [2025-03-09 01:31:04] Production.INFO: CreateAllLog Start [2025-03-09 01:31:04] Production.INFO: 117 [2025-03-09 01:31:04] Production.INFO: Date 2025-03-08 [2025-03-09 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-09 01:31:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:31:04] Production.INFO: count ==13 [2025-03-09 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-09 01:31:04] Production.INFO: count ==21 [2025-03-09 01:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639135') start [2025-03-09 01:31:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:31:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:31:04] Production.INFO: ==32647== Lock acquired, processing the job... [2025-03-09 01:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:31:04] Production.INFO: Total Charge 0 [2025-03-09 01:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639135') end [2025-03-09 01:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:31:04] Production.INFO: 1 [2025-03-09 01:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:31:04] Production.INFO: ==32649== Lock acquired, processing the job... [2025-03-09 01:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:31:04] Production.INFO: CreateAllLog End [2025-03-09 01:31:04] Production.INFO: ==32651== Lock acquired, processing the job... [2025-03-09 01:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:31:04] Production.INFO: ==32655== Lock acquired, processing the job... [2025-03-09 01:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:31:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:31:04] Production.INFO: ==32657== Releasing lock... [2025-03-09 01:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:31:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:31:04] Production.INFO: Account Balance End. [2025-03-09 01:31:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:31:04] Production.INFO: ==32653== Releasing lock... [2025-03-09 01:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:31:04] Production.ERROR: done [2025-03-09 01:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:31:04] Production.INFO: ==32649== Releasing lock... [2025-03-09 01:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:31:04] Production.ERROR: done [2025-03-09 01:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:31:05 [end_date_ymd] => 2025-03-09 01:31:05 [RateCDR] => 1 ) [2025-03-09 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-08 22:31:05' and `end` < '2025-03-09 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-09 01:31:12] Production.ERROR: CronJobId end10 [2025-03-09 01:31:12] Production.INFO: ==32651== Releasing lock... [2025-03-09 01:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:31:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:31:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:31:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:31:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:31:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:31:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:31:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:31:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:31:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:31:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:31:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:31:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:31:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:31:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:31:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:31:14] Production.INFO: call_cost start [2025-03-09 01:31:14] Production.INFO: call_cost end [2025-03-09 01:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:31:15] Production.INFO: ==32647== Releasing lock... [2025-03-09 01:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:31:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:31:17] Production.INFO: count ==594 [2025-03-09 01:31:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:31:05 - End Time 2025-03-09 01:31:05 [2025-03-09 01:31:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639138', 'tblTempUsageDetail_20' ) start [2025-03-09 01:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639138', 'tblTempUsageDetail_20' ) end [2025-03-09 01:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639138', 'tblTempVendorCDR_20' ) start [2025-03-09 01:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639138', 'tblTempVendorCDR_20' ) end [2025-03-09 01:31:18] Production.INFO: ProcessCDR(1,14639138,1,1,2) [2025-03-09 01:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639138', 'tblTempUsageDetail_20' ) start [2025-03-09 01:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639138', 'tblTempUsageDetail_20' ) end [2025-03-09 01:31:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:31:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:31:21] Production.INFO: ==32655== Releasing lock... [2025-03-09 01:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:31:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 06:32:01] Production.INFO: ==32720== Lock acquired, processing the job... [2025-03-09 06:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:32:01] Production.INFO: neon service started [2025-03-09 06:32:01] Production.INFO: neon service started [2025-03-09 06:32:01] Production.INFO: ==32720== Releasing lock... [2025-03-09 06:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:32:02] Production.INFO: ==32722== Lock acquired, processing the job... [2025-03-09 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:32:02] Production.INFO: ==32724== Lock acquired, processing the job... [2025-03-09 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:32:02] Production.INFO: ==32724== Releasing lock... [2025-03-09 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:32:02] Production.INFO: ==32722== Releasing lock... [2025-03-09 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:32:03] Production.INFO: ==32728== Lock acquired, processing the job... [2025-03-09 01:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:32:03] Production.INFO: ==32732== Lock acquired, processing the job... [2025-03-09 01:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:32:03] Production.INFO: ==32730== Lock acquired, processing the job... [2025-03-09 01:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:32:03] Production.INFO: ==32734== Lock acquired, processing the job... [2025-03-09 01:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:32:03] Production.INFO: ==32736== Lock acquired, processing the job... [2025-03-09 01:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:32:03] Production.INFO: Account Balance Start. [2025-03-09 01:32:03] Production.INFO: CreateAllLog Start [2025-03-09 01:32:03] Production.INFO: 117 [2025-03-09 01:32:03] Production.INFO: Date 2025-03-08 [2025-03-09 01:32:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:32:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:32:04] Production.INFO: ==32738== Lock acquired, processing the job... [2025-03-09 01:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:32:04] Production.INFO: Total Charge 0 [2025-03-09 01:32:04] Production.INFO: CreateAllLog End [2025-03-09 01:32:04] Production.INFO: ==32730== Releasing lock... [2025-03-09 01:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:32:04] Production.ERROR: done [2025-03-09 01:32:04] Production.INFO: count ==13 [2025-03-09 01:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:32:04] Production.INFO: count ==21 [2025-03-09 01:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639142') start [2025-03-09 01:32:04] Production.INFO: Account Balance End. [2025-03-09 01:32:04] Production.ERROR: done [2025-03-09 01:32:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:32:04] Production.INFO: ==32734== Releasing lock... [2025-03-09 01:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639142') end [2025-03-09 01:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:32:04] Production.INFO: 1 [2025-03-09 01:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:32:04] Production.INFO: ==32738== Releasing lock... [2025-03-09 01:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:32:05 [end_date_ymd] => 2025-03-09 01:32:05 [RateCDR] => 1 ) [2025-03-09 01:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:32:05' and `end` < '2025-03-09 01:32:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:32:12] Production.ERROR: CronJobId end10 [2025-03-09 01:32:12] Production.INFO: ==32732== Releasing lock... [2025-03-09 01:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:32:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:32:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:32:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:32:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:32:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:32:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:32:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:32:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:32:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:32:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:32:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:32:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:32:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:32:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:32:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:32:13] Production.INFO: call_cost start [2025-03-09 01:32:13] Production.INFO: call_cost end [2025-03-09 01:32:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:32:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:32:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:32:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:32:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:32:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:32:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:32:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:32:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:32:14] Production.INFO: ==32728== Releasing lock... [2025-03-09 01:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:32:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:32:17] Production.INFO: count ==593 [2025-03-09 01:32:17] Production.ERROR: pbx CDR StartTime 2025-03-08 22:32:05 - End Time 2025-03-09 01:32:05 [2025-03-09 01:32:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639143', 'tblTempUsageDetail_20' ) start [2025-03-09 01:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639143', 'tblTempUsageDetail_20' ) end [2025-03-09 01:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639143', 'tblTempVendorCDR_20' ) start [2025-03-09 01:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639143', 'tblTempVendorCDR_20' ) end [2025-03-09 01:32:17] Production.INFO: ProcessCDR(1,14639143,1,1,2) [2025-03-09 01:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:32:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639143', 'tblTempUsageDetail_20' ) start [2025-03-09 01:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639143', 'tblTempUsageDetail_20' ) end [2025-03-09 01:32:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:32:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:32:20] Production.INFO: ==32736== Releasing lock... [2025-03-09 01:32:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:32:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 06:33:02] Production.INFO: ==362== Lock acquired, processing the job... [2025-03-09 06:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:33:02] Production.INFO: neon service started [2025-03-09 06:33:02] Production.INFO: neon service started [2025-03-09 06:33:02] Production.INFO: ==362== Releasing lock... [2025-03-09 06:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:33:02] Production.INFO: ==364== Lock acquired, processing the job... [2025-03-09 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:33:02] Production.INFO: ==366== Lock acquired, processing the job... [2025-03-09 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:33:02] Production.INFO: ==366== Releasing lock... [2025-03-09 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:33:03] Production.INFO: ==364== Releasing lock... [2025-03-09 01:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:33:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:33:03] Production.INFO: ==369== Lock acquired, processing the job... [2025-03-09 01:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:33:03] Production.INFO: ==375== Lock acquired, processing the job... [2025-03-09 01:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:33:04] Production.INFO: ==379== Lock acquired, processing the job... [2025-03-09 01:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:33:04] Production.INFO: Account Balance Start. [2025-03-09 01:33:04] Production.INFO: CreateAllLog Start [2025-03-09 01:33:04] Production.INFO: 117 [2025-03-09 01:33:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:33:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:33:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:33:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:33:04] Production.INFO: Total Charge 0 [2025-03-09 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-09 01:33:04] Production.INFO: CreateAllLog End [2025-03-09 01:33:04] Production.INFO: count ==13 [2025-03-09 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-09 01:33:04] Production.INFO: ==371== Lock acquired, processing the job... [2025-03-09 01:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:33:04] Production.INFO: count ==21 [2025-03-09 01:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639146') start [2025-03-09 01:33:04] Production.INFO: Account Balance End. [2025-03-09 01:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639146') end [2025-03-09 01:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:33:04] Production.INFO: 1 [2025-03-09 01:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:33:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:33:04] Production.INFO: ==375== Releasing lock... [2025-03-09 01:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:33:04] Production.INFO: ==373== Lock acquired, processing the job... [2025-03-09 01:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:33:04] Production.INFO: ==377== Lock acquired, processing the job... [2025-03-09 01:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:33:04] Production.INFO: ==379== Releasing lock... [2025-03-09 01:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:33:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:33:04] Production.INFO: ==371== Releasing lock... [2025-03-09 01:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:33:04] Production.ERROR: done [2025-03-09 01:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:33:04] Production.ERROR: done [2025-03-09 01:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:33:05 [end_date_ymd] => 2025-03-09 01:33:05 [RateCDR] => 1 ) [2025-03-09 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-08 22:33:05' and `end` < '2025-03-09 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-09 01:33:11] Production.ERROR: CronJobId end10 [2025-03-09 01:33:11] Production.INFO: ==373== Releasing lock... [2025-03-09 01:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:33:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:33:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:33:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:33:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:33:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:33:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:33:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:33:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:33:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:33:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:33:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:33:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:33:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:33:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:33:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:33:14] Production.INFO: call_cost start [2025-03-09 01:33:14] Production.INFO: call_cost end [2025-03-09 01:33:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:33:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:33:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:33:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:33:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:33:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:33:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:33:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:33:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:33:15] Production.INFO: ==369== Releasing lock... [2025-03-09 01:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:33:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:33:17] Production.INFO: count ==593 [2025-03-09 01:33:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:33:05 - End Time 2025-03-09 01:33:05 [2025-03-09 01:33:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639148', 'tblTempUsageDetail_20' ) start [2025-03-09 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639148', 'tblTempUsageDetail_20' ) end [2025-03-09 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639148', 'tblTempVendorCDR_20' ) start [2025-03-09 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639148', 'tblTempVendorCDR_20' ) end [2025-03-09 01:33:18] Production.INFO: ProcessCDR(1,14639148,1,1,2) [2025-03-09 01:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639148', 'tblTempUsageDetail_20' ) start [2025-03-09 01:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639148', 'tblTempUsageDetail_20' ) end [2025-03-09 01:33:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:33:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:33:21] Production.INFO: ==377== Releasing lock... [2025-03-09 01:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:33:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 06:34:01] Production.INFO: ==450== Lock acquired, processing the job... [2025-03-09 06:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:34:01] Production.INFO: neon service started [2025-03-09 06:34:01] Production.INFO: neon service started [2025-03-09 06:34:01] Production.INFO: ==450== Releasing lock... [2025-03-09 06:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:34:02] Production.INFO: ==452== Lock acquired, processing the job... [2025-03-09 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:34:02] Production.INFO: ==452== Releasing lock... [2025-03-09 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:34:02] Production.INFO: ==454== Lock acquired, processing the job... [2025-03-09 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:34:02] Production.INFO: ==454== Releasing lock... [2025-03-09 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:34:03] Production.INFO: ==466== Lock acquired, processing the job... [2025-03-09 01:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:34:03] Production.INFO: ==464== Lock acquired, processing the job... [2025-03-09 01:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:34:03] Production.INFO: Account Balance Start. [2025-03-09 01:34:03] Production.INFO: CreateAllLog Start [2025-03-09 01:34:03] Production.INFO: 117 [2025-03-09 01:34:03] Production.INFO: Date 2025-03-08 [2025-03-09 01:34:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:34:03] Production.INFO: Date 2025-03-09 [2025-03-09 01:34:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:34:03] Production.INFO: Total Charge 0 [2025-03-09 01:34:03] Production.INFO: ==458== Lock acquired, processing the job... [2025-03-09 01:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:34:03] Production.INFO: ==462== Lock acquired, processing the job... [2025-03-09 01:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:34:03] Production.INFO: CreateAllLog End [2025-03-09 01:34:03] Production.INFO: ==460== Lock acquired, processing the job... [2025-03-09 01:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:34:03] Production.INFO: ==468== Lock acquired, processing the job... [2025-03-09 01:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:34:03] Production.ERROR: done [2025-03-09 01:34:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:34:04] Production.ERROR: done [2025-03-09 01:34:04] Production.INFO: count ==13 [2025-03-09 01:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:34:04] Production.INFO: count ==21 [2025-03-09 01:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639152') start [2025-03-09 01:34:04] Production.INFO: Account Balance End. [2025-03-09 01:34:04] Production.INFO: ==460== Releasing lock... [2025-03-09 01:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:34:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:34:04] Production.INFO: ==464== Releasing lock... [2025-03-09 01:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639152') end [2025-03-09 01:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:34:04] Production.INFO: 1 [2025-03-09 01:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:34:04] Production.INFO: ==468== Releasing lock... [2025-03-09 01:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:34:05 [end_date_ymd] => 2025-03-09 01:34:05 [RateCDR] => 1 ) [2025-03-09 01:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:34:05' and `end` < '2025-03-09 01:34:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:34:13] Production.ERROR: CronJobId end10 [2025-03-09 01:34:13] Production.INFO: ==462== Releasing lock... [2025-03-09 01:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:34:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:34:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:34:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:34:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:34:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:34:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:34:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:34:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:34:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:34:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:34:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:34:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:34:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:34:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:34:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:34:15] Production.INFO: call_cost start [2025-03-09 01:34:15] Production.INFO: call_cost end [2025-03-09 01:34:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:34:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:34:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:34:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:34:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:34:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:34:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:34:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:34:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:34:16] Production.INFO: ==458== Releasing lock... [2025-03-09 01:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:34:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:34:17] Production.INFO: count ==593 [2025-03-09 01:34:17] Production.ERROR: pbx CDR StartTime 2025-03-08 22:34:05 - End Time 2025-03-09 01:34:05 [2025-03-09 01:34:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639153', 'tblTempUsageDetail_20' ) start [2025-03-09 01:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639153', 'tblTempUsageDetail_20' ) end [2025-03-09 01:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639153', 'tblTempVendorCDR_20' ) start [2025-03-09 01:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639153', 'tblTempVendorCDR_20' ) end [2025-03-09 01:34:17] Production.INFO: ProcessCDR(1,14639153,1,1,2) [2025-03-09 01:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639153', 'tblTempUsageDetail_20' ) start [2025-03-09 01:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639153', 'tblTempUsageDetail_20' ) end [2025-03-09 01:34:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:34:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:34:21] Production.INFO: ==466== Releasing lock... [2025-03-09 01:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:34:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 06:35:02] Production.INFO: ==542== Lock acquired, processing the job... [2025-03-09 06:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:35:02] Production.INFO: neon service started [2025-03-09 06:35:02] Production.INFO: neon service started [2025-03-09 06:35:02] Production.INFO: ==542== Releasing lock... [2025-03-09 06:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:35:02] Production.INFO: ==545== Lock acquired, processing the job... [2025-03-09 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:35:02] Production.INFO: ==545== Releasing lock... [2025-03-09 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:35:03] Production.INFO: ==547== Lock acquired, processing the job... [2025-03-09 06:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:35:03] Production.INFO: ==547== Releasing lock... [2025-03-09 06:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:35:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:35:03] Production.INFO: ==549== Lock acquired, processing the job... [2025-03-09 01:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:35:03] Production.INFO: ==551== Lock acquired, processing the job... [2025-03-09 01:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:35:03] Production.INFO: ==557== Lock acquired, processing the job... [2025-03-09 01:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:35:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:35:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:35:04] Production.INFO: ==553== Lock acquired, processing the job... [2025-03-09 01:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:35:04] Production.INFO: ==555== Lock acquired, processing the job... [2025-03-09 01:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:35:04] Production.INFO: ==560== Lock acquired, processing the job... [2025-03-09 01:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:35:04] Production.INFO: Account Balance Start. [2025-03-09 01:35:04] Production.INFO: CreateAllLog Start [2025-03-09 01:35:04] Production.INFO: 117 [2025-03-09 01:35:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 01:35:04] Production.INFO: count ==13 [2025-03-09 01:35:04] Production.INFO: Date 2025-03-09 [2025-03-09 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-09 01:35:04] Production.INFO: count ==21 [2025-03-09 01:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:35:04] Production.ERROR: done [2025-03-09 01:35:04] Production.INFO: ==551== Releasing lock... [2025-03-09 01:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639157') start [2025-03-09 01:35:04] Production.INFO: Total Charge 0 [2025-03-09 01:35:04] Production.ERROR: done [2025-03-09 01:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639157') end [2025-03-09 01:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:35:04] Production.INFO: 1 [2025-03-09 01:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:35:04] Production.INFO: CreateAllLog End [2025-03-09 01:35:04] Production.INFO: ==560== Releasing lock... [2025-03-09 01:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:35:04] Production.INFO: Account Balance End. [2025-03-09 01:35:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:35:04] Production.INFO: ==555== Releasing lock... [2025-03-09 01:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:35:05 [end_date_ymd] => 2025-03-09 01:35:05 [RateCDR] => 1 ) [2025-03-09 01:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:35:05' and `end` < '2025-03-09 01:35:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:35:13] Production.ERROR: CronJobId end10 [2025-03-09 01:35:13] Production.INFO: ==553== Releasing lock... [2025-03-09 01:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:35:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:35:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:35:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:35:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:35:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:35:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:35:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:35:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:35:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:35:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:35:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:35:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:35:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:35:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:35:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:35:16] Production.INFO: call_cost start [2025-03-09 01:35:16] Production.INFO: call_cost end [2025-03-09 01:35:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:35:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:35:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:35:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:35:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:35:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:35:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:35:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:35:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:35:17] Production.INFO: ==549== Releasing lock... [2025-03-09 01:35:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:35:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:35:17] Production.INFO: count ==595 [2025-03-09 01:35:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:35:05 - End Time 2025-03-09 01:35:05 [2025-03-09 01:35:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639158', 'tblTempUsageDetail_20' ) start [2025-03-09 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639158', 'tblTempUsageDetail_20' ) end [2025-03-09 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639158', 'tblTempVendorCDR_20' ) start [2025-03-09 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639158', 'tblTempVendorCDR_20' ) end [2025-03-09 01:35:18] Production.INFO: ProcessCDR(1,14639158,1,1,2) [2025-03-09 01:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639158', 'tblTempUsageDetail_20' ) start [2025-03-09 01:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639158', 'tblTempUsageDetail_20' ) end [2025-03-09 01:35:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:35:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:35:21] Production.INFO: ==557== Releasing lock... [2025-03-09 01:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:35:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 06:36:01] Production.INFO: ==642== Lock acquired, processing the job... [2025-03-09 06:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:36:01] Production.INFO: neon service started [2025-03-09 06:36:01] Production.INFO: neon service started [2025-03-09 06:36:01] Production.INFO: ==642== Releasing lock... [2025-03-09 06:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:36:02] Production.INFO: ==644== Lock acquired, processing the job... [2025-03-09 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:36:02] Production.INFO: ==646== Lock acquired, processing the job... [2025-03-09 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:36:02] Production.INFO: ==644== Releasing lock... [2025-03-09 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:36:02] Production.INFO: ==646== Releasing lock... [2025-03-09 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:36:03] Production.INFO: ==649== Lock acquired, processing the job... [2025-03-09 01:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:36:03] Production.INFO: ==651== Lock acquired, processing the job... [2025-03-09 01:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:36:03] Production.INFO: ==655== Lock acquired, processing the job... [2025-03-09 01:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:36:03] Production.INFO: ==653== Lock acquired, processing the job... [2025-03-09 01:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:36:03] Production.INFO: Account Balance Start. [2025-03-09 01:36:03] Production.INFO: CreateAllLog Start [2025-03-09 01:36:03] Production.INFO: 117 [2025-03-09 01:36:03] Production.INFO: Date 2025-03-08 [2025-03-09 01:36:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:36:03] Production.INFO: Date 2025-03-09 [2025-03-09 01:36:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:36:03] Production.INFO: ==662== Lock acquired, processing the job... [2025-03-09 01:36:03] Production.INFO: ==664== Lock acquired, processing the job... [2025-03-09 01:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:36:03] Production.INFO: Total Charge 0 [2025-03-09 01:36:03] Production.INFO: CreateAllLog End [2025-03-09 01:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:36:04] Production.INFO: ==651== Releasing lock... [2025-03-09 01:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:36:04] Production.INFO: count ==13 [2025-03-09 01:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:36:04] Production.INFO: count ==21 [2025-03-09 01:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639162') start [2025-03-09 01:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639162') end [2025-03-09 01:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:36:04] Production.INFO: 1 [2025-03-09 01:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:36:04] Production.INFO: Account Balance End. [2025-03-09 01:36:04] Production.ERROR: done [2025-03-09 01:36:04] Production.INFO: ==664== Releasing lock... [2025-03-09 01:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:36:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:36:04] Production.INFO: ==655== Releasing lock... [2025-03-09 01:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:36:04] Production.ERROR: done [2025-03-09 01:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:36:05 [end_date_ymd] => 2025-03-09 01:36:05 [RateCDR] => 1 ) [2025-03-09 01:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:36:05' and `end` < '2025-03-09 01:36:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:36:14] Production.ERROR: CronJobId end10 [2025-03-09 01:36:14] Production.INFO: ==653== Releasing lock... [2025-03-09 01:36:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:36:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:36:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:36:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:36:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:36:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:36:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:36:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:36:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:36:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:36:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:36:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:36:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:36:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:36:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:36:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:36:16] Production.INFO: call_cost start [2025-03-09 01:36:16] Production.INFO: call_cost end [2025-03-09 01:36:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:36:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:36:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:36:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:36:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:36:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:36:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:36:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:36:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:36:17] Production.INFO: ==649== Releasing lock... [2025-03-09 01:36:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:36:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:36:17] Production.INFO: count ==596 [2025-03-09 01:36:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:36:05 - End Time 2025-03-09 01:36:05 [2025-03-09 01:36:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639163', 'tblTempUsageDetail_20' ) start [2025-03-09 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639163', 'tblTempUsageDetail_20' ) end [2025-03-09 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639163', 'tblTempVendorCDR_20' ) start [2025-03-09 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639163', 'tblTempVendorCDR_20' ) end [2025-03-09 01:36:18] Production.INFO: ProcessCDR(1,14639163,1,1,2) [2025-03-09 01:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639163,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639163,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639163,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639163,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639163', 'tblTempUsageDetail_20' ) start [2025-03-09 01:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639163', 'tblTempUsageDetail_20' ) end [2025-03-09 01:36:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:36:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:36:23] Production.INFO: ==662== Releasing lock... [2025-03-09 01:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:36:23] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 06:37:02] Production.INFO: ==742== Lock acquired, processing the job... [2025-03-09 06:37:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:37:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:37:02] Production.INFO: neon service started [2025-03-09 06:37:02] Production.INFO: neon service started [2025-03-09 06:37:02] Production.INFO: ==742== Releasing lock... [2025-03-09 06:37:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:37:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:37:02] Production.INFO: ==747== Lock acquired, processing the job... [2025-03-09 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:37:02] Production.INFO: ==747== Releasing lock... [2025-03-09 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:37:02] Production.INFO: ==749== Lock acquired, processing the job... [2025-03-09 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:37:03] Production.INFO: ==749== Releasing lock... [2025-03-09 06:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:37:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:37:03] Production.INFO: ==759== Lock acquired, processing the job... [2025-03-09 01:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:37:03] Production.INFO: ==763== Lock acquired, processing the job... [2025-03-09 01:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:37:04] Production.INFO: Account Balance Start. [2025-03-09 01:37:04] Production.INFO: CreateAllLog Start [2025-03-09 01:37:04] Production.INFO: 117 [2025-03-09 01:37:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:37:04] Production.INFO: count ==13 [2025-03-09 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-09 01:37:04] Production.INFO: count ==21 [2025-03-09 01:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639164') start [2025-03-09 01:37:04] Production.INFO: ==753== Lock acquired, processing the job... [2025-03-09 01:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:37:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:37:04] Production.INFO: Total Charge 0 [2025-03-09 01:37:04] Production.INFO: ==755== Lock acquired, processing the job... [2025-03-09 01:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:37:04] Production.INFO: CreateAllLog End [2025-03-09 01:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639164') end [2025-03-09 01:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:37:04] Production.INFO: 1 [2025-03-09 01:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:37:04] Production.INFO: ==757== Lock acquired, processing the job... [2025-03-09 01:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:37:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:37:04] Production.INFO: ==763== Releasing lock... [2025-03-09 01:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:37:04] Production.INFO: Account Balance End. [2025-03-09 01:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:37:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:37:04] Production.INFO: ==759== Releasing lock... [2025-03-09 01:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:37:04] Production.INFO: ==761== Lock acquired, processing the job... [2025-03-09 01:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:37:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:37:04] Production.INFO: ==755== Releasing lock... [2025-03-09 01:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:37:04] Production.ERROR: done [2025-03-09 01:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:37:05] Production.ERROR: done [2025-03-09 01:37:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:37:06 [end_date_ymd] => 2025-03-09 01:37:06 [RateCDR] => 1 ) [2025-03-09 01:37:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:37:06' and `end` < '2025-03-09 01:37:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:37:13] Production.ERROR: CronJobId end10 [2025-03-09 01:37:13] Production.INFO: ==757== Releasing lock... [2025-03-09 01:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:37:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:37:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:37:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:37:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:37:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:37:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:37:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:37:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:37:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:37:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:37:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:37:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:37:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:37:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:37:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:37:15] Production.INFO: call_cost start [2025-03-09 01:37:15] Production.INFO: call_cost end [2025-03-09 01:37:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:37:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:37:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:37:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:37:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:37:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:37:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:37:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:37:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:37:17] Production.INFO: ==753== Releasing lock... [2025-03-09 01:37:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:37:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:37:18] Production.INFO: count ==599 [2025-03-09 01:37:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:37:06 - End Time 2025-03-09 01:37:06 [2025-03-09 01:37:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639168', 'tblTempUsageDetail_20' ) start [2025-03-09 01:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639168', 'tblTempUsageDetail_20' ) end [2025-03-09 01:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639168', 'tblTempVendorCDR_20' ) start [2025-03-09 01:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639168', 'tblTempVendorCDR_20' ) end [2025-03-09 01:37:18] Production.INFO: ProcessCDR(1,14639168,1,1,2) [2025-03-09 01:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639168,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639168,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639168,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639168,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639168', 'tblTempUsageDetail_20' ) start [2025-03-09 01:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639168', 'tblTempUsageDetail_20' ) end [2025-03-09 01:37:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:37:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:37:22] Production.INFO: ==761== Releasing lock... [2025-03-09 01:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:37:22] Production.INFO: 33 MB #Memory Used# [2025-03-09 06:38:01] Production.INFO: ==820== Lock acquired, processing the job... [2025-03-09 06:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:38:01] Production.INFO: neon service started [2025-03-09 06:38:01] Production.INFO: neon service started [2025-03-09 06:38:01] Production.INFO: ==820== Releasing lock... [2025-03-09 06:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:38:02] Production.INFO: ==822== Lock acquired, processing the job... [2025-03-09 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:38:02] Production.INFO: ==824== Lock acquired, processing the job... [2025-03-09 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:38:02] Production.INFO: ==824== Releasing lock... [2025-03-09 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:38:02] Production.INFO: ==822== Releasing lock... [2025-03-09 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:38:03] Production.INFO: ==827== Lock acquired, processing the job... [2025-03-09 01:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:38:03] Production.INFO: ==831== Lock acquired, processing the job... [2025-03-09 01:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:38:03] Production.INFO: ==833== Lock acquired, processing the job... [2025-03-09 01:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:38:03] Production.INFO: Account Balance Start. [2025-03-09 01:38:03] Production.INFO: CreateAllLog Start [2025-03-09 01:38:03] Production.INFO: 117 [2025-03-09 01:38:03] Production.INFO: ==829== Lock acquired, processing the job... [2025-03-09 01:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:38:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:38:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:38:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:38:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:38:04] Production.INFO: Total Charge 0 [2025-03-09 01:38:04] Production.INFO: ==835== Lock acquired, processing the job... [2025-03-09 01:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:38:04] Production.INFO: CreateAllLog End [2025-03-09 01:38:04] Production.INFO: ==837== Lock acquired, processing the job... [2025-03-09 01:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:38:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:38:04] Production.INFO: count ==13 [2025-03-09 01:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:38:04] Production.INFO: count ==21 [2025-03-09 01:38:04] Production.INFO: ==829== Releasing lock... [2025-03-09 01:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:38:04] Production.ERROR: done [2025-03-09 01:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639172') start [2025-03-09 01:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:38:04] Production.INFO: Account Balance End. [2025-03-09 01:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639172') end [2025-03-09 01:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:38:04] Production.INFO: 1 [2025-03-09 01:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:38:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:38:04] Production.INFO: ==833== Releasing lock... [2025-03-09 01:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:38:04] Production.INFO: ==837== Releasing lock... [2025-03-09 01:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:38:04] Production.ERROR: done [2025-03-09 01:38:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:38:06 [end_date_ymd] => 2025-03-09 01:38:06 [RateCDR] => 1 ) [2025-03-09 01: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-08 22:38:06' and `end` < '2025-03-09 01: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-09 01:38:12] Production.ERROR: CronJobId end10 [2025-03-09 01:38:12] Production.INFO: ==831== Releasing lock... [2025-03-09 01:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:38:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:38:14] Production.INFO: call_cost start [2025-03-09 01:38:14] Production.INFO: call_cost end [2025-03-09 01:38:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:38:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:38:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:38:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:38:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:38:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:38:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:38:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:38:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:38:15] Production.INFO: ==827== Releasing lock... [2025-03-09 01:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:38:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:38:18] Production.INFO: count ==594 [2025-03-09 01:38:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:38:06 - End Time 2025-03-09 01:38:06 [2025-03-09 01:38:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639173', 'tblTempUsageDetail_20' ) start [2025-03-09 01:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639173', 'tblTempUsageDetail_20' ) end [2025-03-09 01:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639173', 'tblTempVendorCDR_20' ) start [2025-03-09 01:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639173', 'tblTempVendorCDR_20' ) end [2025-03-09 01:38:18] Production.INFO: ProcessCDR(1,14639173,1,1,2) [2025-03-09 01:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639173', 'tblTempUsageDetail_20' ) start [2025-03-09 01:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639173', 'tblTempUsageDetail_20' ) end [2025-03-09 01:38:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:38:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:38:22] Production.INFO: ==835== Releasing lock... [2025-03-09 01:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:38:22] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 06:39:02] Production.INFO: ==908== Lock acquired, processing the job... [2025-03-09 06:39:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:39:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:39:02] Production.INFO: neon service started [2025-03-09 06:39:02] Production.INFO: neon service started [2025-03-09 06:39:02] Production.INFO: ==908== Releasing lock... [2025-03-09 06:39:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:39:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:39:02] Production.INFO: ==910== Lock acquired, processing the job... [2025-03-09 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:39:02] Production.INFO: ==910== Releasing lock... [2025-03-09 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:39:03] Production.INFO: ==912== Lock acquired, processing the job... [2025-03-09 06:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:39:03] Production.INFO: ==912== Releasing lock... [2025-03-09 06:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:39:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:39:03] Production.INFO: ==919== Lock acquired, processing the job... [2025-03-09 01:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:39:04] Production.INFO: ==925== Lock acquired, processing the job... [2025-03-09 01:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 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-09 01:39:04] Production.INFO: ==915== Lock acquired, processing the job... [2025-03-09 01:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:39:04] Production.INFO: ==923== Lock acquired, processing the job... [2025-03-09 01:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:39:04] Production.INFO: ==917== Lock acquired, processing the job... [2025-03-09 01:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:39:04] Production.INFO: count ==13 [2025-03-09 01:39:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 01:39:04] Production.INFO: count ==21 [2025-03-09 01:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639174') start [2025-03-09 01:39:04] Production.INFO: ==921== Lock acquired, processing the job... [2025-03-09 01:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:39:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639174') end [2025-03-09 01:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:39:04] Production.INFO: 1 [2025-03-09 01:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:39:04] Production.INFO: Account Balance Start. [2025-03-09 01:39:04] Production.INFO: CreateAllLog Start [2025-03-09 01:39:04] Production.INFO: 117 [2025-03-09 01:39:04] Production.INFO: ==925== Releasing lock... [2025-03-09 01:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:39:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:39:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:39:04] Production.ERROR: done [2025-03-09 01:39:04] Production.INFO: Total Charge 0 [2025-03-09 01:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:39:04] Production.INFO: CreateAllLog End [2025-03-09 01:39:04] Production.ERROR: done [2025-03-09 01:39:04] Production.INFO: ==917== Releasing lock... [2025-03-09 01:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:39:04] Production.INFO: Account Balance End. [2025-03-09 01:39:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:39:04] Production.INFO: ==921== Releasing lock... [2025-03-09 01:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:39:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:39:06 [end_date_ymd] => 2025-03-09 01:39:06 [RateCDR] => 1 ) [2025-03-09 01: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-08 22:39:06' and `end` < '2025-03-09 01: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-09 01:39:12] Production.ERROR: CronJobId end10 [2025-03-09 01:39:12] Production.INFO: ==919== Releasing lock... [2025-03-09 01:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:39:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:39:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:39:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:39:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:39:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:39:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:39:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:39:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:39:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:39:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:39:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:39:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:39:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:39:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:39:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:39:16] Production.INFO: call_cost start [2025-03-09 01:39:16] Production.INFO: call_cost end [2025-03-09 01:39:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:39:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:39:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:39:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:39:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:39:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:39:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:39:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:39:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:39:17] Production.INFO: ==915== Releasing lock... [2025-03-09 01:39:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:39:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:39:18] Production.INFO: count ==596 [2025-03-09 01:39:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:39:06 - End Time 2025-03-09 01:39:06 [2025-03-09 01:39:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639178', 'tblTempUsageDetail_20' ) start [2025-03-09 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639178', 'tblTempUsageDetail_20' ) end [2025-03-09 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639178', 'tblTempVendorCDR_20' ) start [2025-03-09 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639178', 'tblTempVendorCDR_20' ) end [2025-03-09 01:39:18] Production.INFO: ProcessCDR(1,14639178,1,1,2) [2025-03-09 01:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639178', 'tblTempUsageDetail_20' ) start [2025-03-09 01:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639178', 'tblTempUsageDetail_20' ) end [2025-03-09 01:39:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:39:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:39:22] Production.INFO: ==923== Releasing lock... [2025-03-09 01:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:39:22] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 06:40:01] Production.INFO: ==995== Lock acquired, processing the job... [2025-03-09 06:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:40:01] Production.INFO: neon service started [2025-03-09 06:40:01] Production.INFO: neon service started [2025-03-09 06:40:01] Production.INFO: ==995== Releasing lock... [2025-03-09 06:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:40:02] Production.INFO: ==997== Lock acquired, processing the job... [2025-03-09 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:40:02] Production.INFO: ==999== Lock acquired, processing the job... [2025-03-09 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:40:02] Production.INFO: ==999== Releasing lock... [2025-03-09 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:40:02] Production.INFO: ==997== Releasing lock... [2025-03-09 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:40:03] Production.INFO: ==1004== Lock acquired, processing the job... [2025-03-09 01:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:40:04] Production.INFO: ==1010== Lock acquired, processing the job... [2025-03-09 01:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:40:04] Production.INFO: ==1012== Lock acquired, processing the job... [2025-03-09 01:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:40:04] Production.INFO: Account Balance Start. [2025-03-09 01:40:04] Production.INFO: CreateAllLog Start [2025-03-09 01:40:04] Production.INFO: 117 [2025-03-09 01:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:40:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:40:04] Production.INFO: ==1016== Lock acquired, processing the job... [2025-03-09 01:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:40:04] Production.INFO: ==1002== Lock acquired, processing the job... [2025-03-09 01:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 01:40:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:40:04] Production.INFO: Total Charge 0 [2025-03-09 01:40:04] Production.INFO: CreateAllLog End [2025-03-09 01:40:04] Production.INFO: ==1006== Lock acquired, processing the job... [2025-03-09 01:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 01:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 01:40:04] Production.ERROR: CronJob PID - 1004 [2025-03-09 01:40:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 01:40:04] Production.ERROR: CronJob ID - 5 [2025-03-09 01:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 01:40:00 [2025-03-09 01:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 01:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 01:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 01:40:04] Production.ERROR: CronJob PID - 1010 [2025-03-09 01:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 01:40:04] Production.ERROR: CronJob ID - 12 [2025-03-09 01:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 01:40:00 [2025-03-09 01:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 01:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 01:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 01:40:04] Production.ERROR: CronJob PID - 1012 [2025-03-09 01:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 01:40:04] Production.ERROR: CronJob ID - 16 [2025-03-09 01:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 01:40:00 [2025-03-09 01:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 01:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 01:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 01:40:04] Production.ERROR: CronJob PID - 1016 [2025-03-09 01:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 01:40:04] Production.INFO: ==1008== Lock acquired, processing the job... [2025-03-09 01:40:04] Production.ERROR: CronJob ID - 19 [2025-03-09 01:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 01:40:00 [2025-03-09 01:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 01:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 01:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:40:04] Production.INFO: ==1014== Lock acquired, processing the job... [2025-03-09 01:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 01:40:04] Production.INFO: count ==13 [2025-03-09 01:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 01:40:04] Production.INFO: ==1002== Releasing lock... [2025-03-09 01:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 01:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 01:40:04] Production.INFO: count ==21 [2025-03-09 01:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639181') start [2025-03-09 01:40:04] Production.ERROR: done [2025-03-09 01:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639181') end [2025-03-09 01:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:40:04] Production.INFO: 1 [2025-03-09 01:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:40:04] Production.INFO: ==1016== Releasing lock... [2025-03-09 01:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:40:05] Production.INFO: Account Balance End. [2025-03-09 01:40:05] Production.ERROR: done [2025-03-09 01:40:05] Production.INFO: ==1006== Releasing lock... [2025-03-09 01:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:40:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:40:05] Production.ERROR: CronJobId end 12 [2025-03-09 01:40:05] Production.INFO: ==1010== Releasing lock... [2025-03-09 01:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:40:05] Production.ERROR: done [2025-03-09 01:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 01:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639184', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 01:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:40:06 [end_date_ymd] => 2025-03-09 01:40:06 [RateCDR] => 1 ) [2025-03-09 01:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:40:06' and `end` < '2025-03-09 01:40:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639184', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 01:40:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 01:40:10] Production.INFO: ProcessCDR(1,14639184,1,1,2) [2025-03-09 01:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14639184,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14639184,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:40:10] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:40:10] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:40:10] Production.INFO: ==1014== Releasing lock... [2025-03-09 01:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 01:40:10] Production.INFO: 26 MB #Memory Used# [2025-03-09 01:40:15] Production.ERROR: CronJobId end10 [2025-03-09 01:40:15] Production.INFO: ==1008== Releasing lock... [2025-03-09 01:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:40:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:40:18] Production.INFO: count ==599 [2025-03-09 01:40:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:40:06 - End Time 2025-03-09 01:40:06 [2025-03-09 01:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639183', 'tblTempUsageDetail_20' ) start [2025-03-09 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639183', 'tblTempUsageDetail_20' ) end [2025-03-09 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639183', 'tblTempVendorCDR_20' ) start [2025-03-09 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639183', 'tblTempVendorCDR_20' ) end [2025-03-09 01:40:18] Production.INFO: ProcessCDR(1,14639183,1,1,2) [2025-03-09 01:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639183,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:40:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:40:18] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:40:18] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:40:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:40:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:40:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:40:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:40:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:40:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:40:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:40:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:40:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:40:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:40:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:40:19] Production.INFO: call_cost start [2025-03-09 01:40:19] Production.INFO: call_cost end [2025-03-09 01:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639183,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639183,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:40:20] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:40:20] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:40:20] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:40:20] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:40:20] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:40:20] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:40:20] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:40:20] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:40:20] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:40:20] Production.INFO: ==1004== Releasing lock... [2025-03-09 01:40:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:40:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639183,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639183', 'tblTempUsageDetail_20' ) start [2025-03-09 01:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639183', 'tblTempUsageDetail_20' ) end [2025-03-09 01:40:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:40:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:40:22] Production.INFO: ==1012== Releasing lock... [2025-03-09 01:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:40:22] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 06:41:02] Production.INFO: ==1089== Lock acquired, processing the job... [2025-03-09 06:41:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:41:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:41:02] Production.INFO: neon service started [2025-03-09 06:41:02] Production.INFO: neon service started [2025-03-09 06:41:02] Production.INFO: ==1089== Releasing lock... [2025-03-09 06:41:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:41:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:41:02] Production.INFO: ==1091== Lock acquired, processing the job... [2025-03-09 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:41:02] Production.INFO: ==1091== Releasing lock... [2025-03-09 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:41:02] Production.INFO: ==1093== Lock acquired, processing the job... [2025-03-09 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:41:03] Production.INFO: ==1093== Releasing lock... [2025-03-09 06:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:41:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:41:03] Production.INFO: ==1099== Lock acquired, processing the job... [2025-03-09 01:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:41:03] Production.INFO: ==1106== Lock acquired, processing the job... [2025-03-09 01:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:41:04] Production.INFO: count ==13 [2025-03-09 01:41:04] Production.INFO: ==1097== Lock acquired, processing the job... [2025-03-09 01:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:41:04] Production.INFO: count ==21 [2025-03-09 01:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639185') start [2025-03-09 01:41:04] Production.INFO: ==1095== Lock acquired, processing the job... [2025-03-09 01:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:41:04] Production.INFO: ==1101== Lock acquired, processing the job... [2025-03-09 01:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:41:04] Production.INFO: ==1103== Lock acquired, processing the job... [2025-03-09 01:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639185') end [2025-03-09 01:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:41:04] Production.INFO: 1 [2025-03-09 01:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:41:04] Production.INFO: Account Balance Start. [2025-03-09 01:41:04] Production.INFO: CreateAllLog Start [2025-03-09 01:41:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:41:04] Production.INFO: ==1106== Releasing lock... [2025-03-09 01:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:41:04] Production.INFO: 117 [2025-03-09 01:41:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:41:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:41:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:41:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:41:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:41:04] Production.INFO: Total Charge 0 [2025-03-09 01:41:04] Production.INFO: CreateAllLog End [2025-03-09 01:41:04] Production.INFO: ==1097== Releasing lock... [2025-03-09 01:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:41:04] Production.ERROR: done [2025-03-09 01:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:41:04] Production.INFO: Account Balance End. [2025-03-09 01:41:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:41:04] Production.INFO: ==1101== Releasing lock... [2025-03-09 01:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:41:04] Production.ERROR: done [2025-03-09 01:41:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:41:06 [end_date_ymd] => 2025-03-09 01:41:06 [RateCDR] => 1 ) [2025-03-09 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-08 22:41:06' and `end` < '2025-03-09 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-09 01:41:14] Production.ERROR: CronJobId end10 [2025-03-09 01:41:14] Production.INFO: ==1099== Releasing lock... [2025-03-09 01:41:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:41:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:41:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:41:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:41:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:41:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:41:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:41:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:41:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:41:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:41:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:41:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:41:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:41:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:41:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:41:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:41:16] Production.INFO: call_cost start [2025-03-09 01:41:16] Production.INFO: call_cost end [2025-03-09 01:41:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:41:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:41:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:41:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:41:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:41:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:41:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:41:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:41:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:41:18] Production.INFO: ==1095== Releasing lock... [2025-03-09 01:41:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:41:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:41:18] Production.INFO: count ==610 [2025-03-09 01:41:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:41:06 - End Time 2025-03-09 01:41:06 [2025-03-09 01:41:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639189', 'tblTempUsageDetail_20' ) start [2025-03-09 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639189', 'tblTempUsageDetail_20' ) end [2025-03-09 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639189', 'tblTempVendorCDR_20' ) start [2025-03-09 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639189', 'tblTempVendorCDR_20' ) end [2025-03-09 01:41:18] Production.INFO: ProcessCDR(1,14639189,1,1,2) [2025-03-09 01:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639189', 'tblTempUsageDetail_20' ) start [2025-03-09 01:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639189', 'tblTempUsageDetail_20' ) end [2025-03-09 01:41:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:41:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:41:22] Production.INFO: ==1103== Releasing lock... [2025-03-09 01:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:41:22] Production.INFO: 33 MB #Memory Used# [2025-03-09 06:42:01] Production.INFO: ==1182== Lock acquired, processing the job... [2025-03-09 06:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:42:01] Production.INFO: neon service started [2025-03-09 06:42:01] Production.INFO: neon service started [2025-03-09 06:42:01] Production.INFO: ==1182== Releasing lock... [2025-03-09 06:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:42:02] Production.INFO: ==1185== Lock acquired, processing the job... [2025-03-09 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:42:02] Production.INFO: ==1187== Lock acquired, processing the job... [2025-03-09 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:42:02] Production.INFO: ==1187== Releasing lock... [2025-03-09 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:42:02] Production.INFO: ==1185== Releasing lock... [2025-03-09 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:42:03] Production.INFO: ==1189== Lock acquired, processing the job... [2025-03-09 01:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:42:03] Production.INFO: ==1200== Lock acquired, processing the job... [2025-03-09 01:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:42:03] Production.INFO: ==1191== Lock acquired, processing the job... [2025-03-09 01:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:42:04] Production.INFO: ==1193== Lock acquired, processing the job... [2025-03-09 01:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 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-09 01:42:04] Production.INFO: count ==13 [2025-03-09 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-09 01:42:04] Production.INFO: ==1197== Lock acquired, processing the job... [2025-03-09 01:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:42:04] Production.INFO: count ==21 [2025-03-09 01:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639191') start [2025-03-09 01:42:04] Production.INFO: ==1195== Lock acquired, processing the job... [2025-03-09 01:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639191') end [2025-03-09 01:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:42:04] Production.INFO: 1 [2025-03-09 01:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:42:04] Production.INFO: ==1200== Releasing lock... [2025-03-09 01:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:42:04] Production.INFO: Account Balance Start. [2025-03-09 01:42:04] Production.INFO: CreateAllLog Start [2025-03-09 01:42:04] Production.INFO: 117 [2025-03-09 01:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:42:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:42:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:42:04] Production.INFO: ==1191== Releasing lock... [2025-03-09 01:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:42:04] Production.INFO: Total Charge 0 [2025-03-09 01:42:04] Production.INFO: CreateAllLog End [2025-03-09 01:42:04] Production.ERROR: done [2025-03-09 01:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:42:04] Production.ERROR: done [2025-03-09 01:42:04] Production.INFO: Account Balance End. [2025-03-09 01:42:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:42:04] Production.INFO: ==1195== Releasing lock... [2025-03-09 01:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:42:05 [end_date_ymd] => 2025-03-09 01:42:05 [RateCDR] => 1 ) [2025-03-09 01:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:42:05' and `end` < '2025-03-09 01:42:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:42:12] Production.ERROR: CronJobId end10 [2025-03-09 01:42:12] Production.INFO: ==1193== Releasing lock... [2025-03-09 01:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:42:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:42:15] Production.INFO: call_cost start [2025-03-09 01:42:15] Production.INFO: call_cost end [2025-03-09 01:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:42:16] Production.INFO: ==1189== Releasing lock... [2025-03-09 01:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:42:17] Production.INFO: count ==606 [2025-03-09 01:42:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:42:05 - End Time 2025-03-09 01:42:05 [2025-03-09 01:42:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639194', 'tblTempUsageDetail_20' ) start [2025-03-09 01:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639194', 'tblTempUsageDetail_20' ) end [2025-03-09 01:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639194', 'tblTempVendorCDR_20' ) start [2025-03-09 01:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639194', 'tblTempVendorCDR_20' ) end [2025-03-09 01:42:18] Production.INFO: ProcessCDR(1,14639194,1,1,2) [2025-03-09 01:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639194', 'tblTempUsageDetail_20' ) start [2025-03-09 01:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639194', 'tblTempUsageDetail_20' ) end [2025-03-09 01:42:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:42:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:42:21] Production.INFO: ==1197== Releasing lock... [2025-03-09 01:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:42:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 06:43:02] Production.INFO: ==1324== Lock acquired, processing the job... [2025-03-09 06:43:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:43:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:43:02] Production.INFO: neon service started [2025-03-09 06:43:02] Production.INFO: neon service started [2025-03-09 06:43:02] Production.INFO: ==1324== Releasing lock... [2025-03-09 06:43:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:43:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:43:02] Production.INFO: ==1326== Lock acquired, processing the job... [2025-03-09 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:43:02] Production.INFO: ==1328== Lock acquired, processing the job... [2025-03-09 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:43:02] Production.INFO: ==1328== Releasing lock... [2025-03-09 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:43:03] Production.INFO: ==1326== Releasing lock... [2025-03-09 01:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:43:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:43:04] Production.INFO: ==1335== Lock acquired, processing the job... [2025-03-09 01:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:43:04] Production.INFO: ==1339== Lock acquired, processing the job... [2025-03-09 01:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:43:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:43:04] Production.INFO: ==1331== Lock acquired, processing the job... [2025-03-09 01:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:43:04] Production.INFO: ==1333== Lock acquired, processing the job... [2025-03-09 01:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:43:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:43:04] Production.INFO: ==1337== Lock acquired, processing the job... [2025-03-09 01:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:43:04] Production.INFO: ==1342== Lock acquired, processing the job... [2025-03-09 01:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:43:04] Production.INFO: Account Balance Start. [2025-03-09 01:43:04] Production.INFO: CreateAllLog Start [2025-03-09 01:43:04] Production.INFO: 117 [2025-03-09 01:43:05] Production.ERROR: done [2025-03-09 01:43:05] Production.INFO: Date 2025-03-08 [2025-03-09 01:43:05] Production.INFO: Reseller ==> 0 [2025-03-09 01:43:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:43: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-09 01:43:05] Production.INFO: Date 2025-03-09 [2025-03-09 01:43:05] Production.INFO: Reseller ==> 0 [2025-03-09 01:43:05] Production.INFO: count ==13 [2025-03-09 01:43:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:43:05] Production.INFO: count ==21 [2025-03-09 01:43:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639198') start [2025-03-09 01:43:05] Production.ERROR: done [2025-03-09 01:43:05] Production.INFO: ==1333== Releasing lock... [2025-03-09 01:43:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:43:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:43:05] Production.INFO: Total Charge 0 [2025-03-09 01:43:05] Production.INFO: CreateAllLog End [2025-03-09 01:43:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639198') end [2025-03-09 01:43:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:43:05] Production.INFO: 1 [2025-03-09 01:43:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:43:05] Production.INFO: ==1342== Releasing lock... [2025-03-09 01:43:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:43:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:43:05] Production.INFO: Account Balance End. [2025-03-09 01:43:05] Production.ERROR: CronJobId end 12 [2025-03-09 01:43:05] Production.INFO: ==1337== Releasing lock... [2025-03-09 01:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:43:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:43:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:43:06 [end_date_ymd] => 2025-03-09 01:43:06 [RateCDR] => 1 ) [2025-03-09 01:43:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:43:06' and `end` < '2025-03-09 01:43:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:43:13] Production.ERROR: CronJobId end10 [2025-03-09 01:43:13] Production.INFO: ==1335== Releasing lock... [2025-03-09 01:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:43:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:43:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:43:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:43:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:43:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:43:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:43:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:43:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:43:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:43:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:43:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:43:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:43:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:43:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:43:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:43:17] Production.INFO: call_cost start [2025-03-09 01:43:17] Production.INFO: call_cost end [2025-03-09 01:43:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:43:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:43:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:43:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:43:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:43:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:43:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:43:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:43:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:43:18] Production.INFO: ==1331== Releasing lock... [2025-03-09 01:43:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:43:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:43:18] Production.INFO: count ==612 [2025-03-09 01:43:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:43:06 - End Time 2025-03-09 01:43:06 [2025-03-09 01:43:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639199', 'tblTempUsageDetail_20' ) start [2025-03-09 01:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639199', 'tblTempUsageDetail_20' ) end [2025-03-09 01:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639199', 'tblTempVendorCDR_20' ) start [2025-03-09 01:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639199', 'tblTempVendorCDR_20' ) end [2025-03-09 01:43:18] Production.INFO: ProcessCDR(1,14639199,1,1,2) [2025-03-09 01:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639199', 'tblTempUsageDetail_20' ) start [2025-03-09 01:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639199', 'tblTempUsageDetail_20' ) end [2025-03-09 01:43:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:43:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:43:22] Production.INFO: ==1339== Releasing lock... [2025-03-09 01:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:43:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 06:44:01] Production.INFO: ==1423== Lock acquired, processing the job... [2025-03-09 06:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:44:01] Production.INFO: neon service started [2025-03-09 06:44:01] Production.INFO: neon service started [2025-03-09 06:44:01] Production.INFO: ==1423== Releasing lock... [2025-03-09 06:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:44:02] Production.INFO: ==1425== Lock acquired, processing the job... [2025-03-09 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:44:02] Production.INFO: ==1427== Lock acquired, processing the job... [2025-03-09 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:44:02] Production.INFO: ==1427== Releasing lock... [2025-03-09 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:44:02] Production.INFO: ==1425== Releasing lock... [2025-03-09 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:44:03] Production.INFO: ==1436== Lock acquired, processing the job... [2025-03-09 01:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:44:03] Production.INFO: ==1438== Lock acquired, processing the job... [2025-03-09 01:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:44:04] Production.INFO: ==1430== Lock acquired, processing the job... [2025-03-09 01:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:44:04] Production.INFO: Account Balance Start. [2025-03-09 01:44:04] Production.INFO: CreateAllLog Start [2025-03-09 01:44:04] Production.INFO: 117 [2025-03-09 01:44:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:44:04] Production.INFO: ==1432== Lock acquired, processing the job... [2025-03-09 01:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:44:04] Production.INFO: ==1434== Lock acquired, processing the job... [2025-03-09 01:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:44:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:44:04] Production.INFO: Total Charge 0 [2025-03-09 01:44:04] Production.INFO: CreateAllLog End [2025-03-09 01:44:04] Production.INFO: ==1440== Lock acquired, processing the job... [2025-03-09 01:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:44:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:44:04] Production.ERROR: done [2025-03-09 01:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01: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-09 01:44:04] Production.INFO: count ==13 [2025-03-09 01:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:44:04] Production.INFO: count ==21 [2025-03-09 01:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639202') start [2025-03-09 01:44:04] Production.INFO: Account Balance End. [2025-03-09 01:44:04] Production.ERROR: done [2025-03-09 01:44:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:44:04] Production.INFO: ==1436== Releasing lock... [2025-03-09 01:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639202') end [2025-03-09 01:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:44:04] Production.INFO: 1 [2025-03-09 01:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:44:05] Production.INFO: ==1440== Releasing lock... [2025-03-09 01:44:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:44:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:44:05] Production.INFO: ==1432== Releasing lock... [2025-03-09 01:44:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:44:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:44:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:44:06 [end_date_ymd] => 2025-03-09 01:44:06 [RateCDR] => 1 ) [2025-03-09 01: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-08 22:44:06' and `end` < '2025-03-09 01: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-09 01:44:14] Production.ERROR: CronJobId end10 [2025-03-09 01:44:14] Production.INFO: ==1434== Releasing lock... [2025-03-09 01:44:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:44:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:44:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:44:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:44:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:44:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:44:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:44:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:44:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:44:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:44:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:44:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:44:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:44:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:44:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:44:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:44:17] Production.INFO: call_cost start [2025-03-09 01:44:17] Production.INFO: call_cost end [2025-03-09 01:44:18] Production.INFO: count ==611 [2025-03-09 01:44:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:44:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:44:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:44:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:44:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:44:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:44:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:44:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:44:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:44:18] Production.INFO: ==1430== Releasing lock... [2025-03-09 01:44:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:44:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:44:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:44:06 - End Time 2025-03-09 01:44:06 [2025-03-09 01:44:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639204', 'tblTempUsageDetail_20' ) start [2025-03-09 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639204', 'tblTempUsageDetail_20' ) end [2025-03-09 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639204', 'tblTempVendorCDR_20' ) start [2025-03-09 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639204', 'tblTempVendorCDR_20' ) end [2025-03-09 01:44:18] Production.INFO: ProcessCDR(1,14639204,1,1,2) [2025-03-09 01:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639204', 'tblTempUsageDetail_20' ) start [2025-03-09 01:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639204', 'tblTempUsageDetail_20' ) end [2025-03-09 01:44:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:44:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:44:22] Production.INFO: ==1438== Releasing lock... [2025-03-09 01:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:44:22] Production.INFO: 33 MB #Memory Used# [2025-03-09 06:45:02] Production.INFO: ==1586== Lock acquired, processing the job... [2025-03-09 06:45:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:45:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:45:02] Production.INFO: neon service started [2025-03-09 06:45:02] Production.INFO: neon service started [2025-03-09 06:45:02] Production.INFO: ==1586== Releasing lock... [2025-03-09 06:45:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:45:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:45:02] Production.INFO: ==1590== Lock acquired, processing the job... [2025-03-09 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:45:02] Production.INFO: ==1592== Lock acquired, processing the job... [2025-03-09 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 01:45:02] Production.INFO: ==1590== Releasing lock... [2025-03-09 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:45:03] Production.INFO: ==1592== Releasing lock... [2025-03-09 06:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:45:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:45:03] Production.INFO: ==1594== Lock acquired, processing the job... [2025-03-09 01:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:45:03] Production.INFO: ==1597== Lock acquired, processing the job... [2025-03-09 01:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:45:03] Production.INFO: ==1599== Lock acquired, processing the job... [2025-03-09 01:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:45:04] Production.INFO: ==1601== Lock acquired, processing the job... [2025-03-09 01:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:45:04] Production.INFO: ==1603== Lock acquired, processing the job... [2025-03-09 01:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:45:04] Production.INFO: Account Balance Start. [2025-03-09 01:45:04] Production.INFO: CreateAllLog Start [2025-03-09 01:45:04] Production.INFO: 117 [2025-03-09 01:45:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:45:04] Production.INFO: ==1605== Lock acquired, processing the job... [2025-03-09 01:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:45:04] Production.INFO: ==1597== Releasing lock... [2025-03-09 01:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:45:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:45:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:45:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:45:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:45:04] Production.INFO: Total Charge 0 [2025-03-09 01:45:04] Production.INFO: CreateAllLog End [2025-03-09 01:45:04] Production.INFO: count ==13 [2025-03-09 01:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:45:04] Production.INFO: count ==21 [2025-03-09 01:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639208') start [2025-03-09 01:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639208') end [2025-03-09 01:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:45:04] Production.INFO: 1 [2025-03-09 01:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:45:04] Production.INFO: ==1605== Releasing lock... [2025-03-09 01:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:45:04] Production.ERROR: done [2025-03-09 01:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:45:05] Production.INFO: Account Balance End. [2025-03-09 01:45:05] Production.ERROR: CronJobId end 12 [2025-03-09 01:45:05] Production.INFO: ==1601== Releasing lock... [2025-03-09 01:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:45:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:45:05] Production.ERROR: done [2025-03-09 01:45:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:45:06 [end_date_ymd] => 2025-03-09 01:45:06 [RateCDR] => 1 ) [2025-03-09 01: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-08 22:45:06' and `end` < '2025-03-09 01: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-09 01:45:13] Production.ERROR: CronJobId end10 [2025-03-09 01:45:13] Production.INFO: ==1599== Releasing lock... [2025-03-09 01:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:45:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:45:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:45:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:45:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:45:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:45:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:45:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:45:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:45:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:45:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:45:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:45:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:45:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:45:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:45:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:45:16] Production.INFO: call_cost start [2025-03-09 01:45:16] Production.INFO: call_cost end [2025-03-09 01:45:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:45:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:45:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:45:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:45:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:45:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:45:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:45:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:45:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:45:17] Production.INFO: ==1594== Releasing lock... [2025-03-09 01:45:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:45:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:45:18] Production.INFO: count ==605 [2025-03-09 01:45:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:45:06 - End Time 2025-03-09 01:45:06 [2025-03-09 01:45:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639209', 'tblTempUsageDetail_20' ) start [2025-03-09 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639209', 'tblTempUsageDetail_20' ) end [2025-03-09 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639209', 'tblTempVendorCDR_20' ) start [2025-03-09 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639209', 'tblTempVendorCDR_20' ) end [2025-03-09 01:45:18] Production.INFO: ProcessCDR(1,14639209,1,1,2) [2025-03-09 01:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639209', 'tblTempUsageDetail_20' ) start [2025-03-09 01:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639209', 'tblTempUsageDetail_20' ) end [2025-03-09 01:45:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:45:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:45:22] Production.INFO: ==1603== Releasing lock... [2025-03-09 01:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:45:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 06:46:01] Production.INFO: ==1708== Lock acquired, processing the job... [2025-03-09 06:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:46:01] Production.INFO: neon service started [2025-03-09 06:46:01] Production.INFO: neon service started [2025-03-09 06:46:01] Production.INFO: ==1708== Releasing lock... [2025-03-09 06:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:46:02] Production.INFO: ==1710== Lock acquired, processing the job... [2025-03-09 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:46:02] Production.INFO: ==1710== Releasing lock... [2025-03-09 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:46:02] Production.INFO: ==1712== Lock acquired, processing the job... [2025-03-09 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:46:02] Production.INFO: ==1712== Releasing lock... [2025-03-09 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:46:03] Production.INFO: ==1718== Lock acquired, processing the job... [2025-03-09 01:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:46:03] Production.INFO: ==1720== Lock acquired, processing the job... [2025-03-09 01:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:46:03] Production.INFO: ==1714== Lock acquired, processing the job... [2025-03-09 01:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:46:03] Production.INFO: Account Balance Start. [2025-03-09 01:46:03] Production.INFO: CreateAllLog Start [2025-03-09 01:46:03] Production.INFO: 117 [2025-03-09 01:46:03] Production.INFO: Date 2025-03-08 [2025-03-09 01:46:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:46:03] Production.INFO: Date 2025-03-09 [2025-03-09 01:46:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:46:03] Production.INFO: Total Charge 0 [2025-03-09 01:46:03] Production.INFO: CreateAllLog End [2025-03-09 01:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:46:03] Production.INFO: ==1716== Lock acquired, processing the job... [2025-03-09 01:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:46:03] Production.INFO: Account Balance End. [2025-03-09 01:46:03] Production.ERROR: CronJobId end 12 [2025-03-09 01:46:03] Production.INFO: ==1720== Releasing lock... [2025-03-09 01:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:46:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:46:04] Production.INFO: ==1722== Lock acquired, processing the job... [2025-03-09 01:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:46:04] Production.INFO: ==1724== Lock acquired, processing the job... [2025-03-09 01:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:46:04] Production.INFO: ==1716== Releasing lock... [2025-03-09 01:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 01:46:04] Production.INFO: count ==13 [2025-03-09 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-09 01:46:04] Production.INFO: count ==21 [2025-03-09 01:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639213') start [2025-03-09 01:46:04] Production.ERROR: done [2025-03-09 01:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639213') end [2025-03-09 01:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:46:04] Production.INFO: 1 [2025-03-09 01:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:46:04] Production.INFO: ==1724== Releasing lock... [2025-03-09 01:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:46:04] Production.ERROR: done [2025-03-09 01:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:46:05 [end_date_ymd] => 2025-03-09 01:46:05 [RateCDR] => 1 ) [2025-03-09 01:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:46:05' and `end` < '2025-03-09 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-09 01:46:12] Production.ERROR: CronJobId end10 [2025-03-09 01:46:12] Production.INFO: ==1718== Releasing lock... [2025-03-09 01:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:46:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:46:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:46:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:46:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:46:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:46:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:46:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:46:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:46:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:46:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:46:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:46:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:46:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:46:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:46:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:46:15] Production.INFO: call_cost start [2025-03-09 01:46:15] Production.INFO: call_cost end [2025-03-09 01:46:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:46:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:46:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:46:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:46:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:46:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:46:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:46:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:46:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:46:16] Production.INFO: ==1714== Releasing lock... [2025-03-09 01:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:46:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:46:18] Production.INFO: count ==604 [2025-03-09 01:46:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:46:05 - End Time 2025-03-09 01:46:05 [2025-03-09 01:46:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639214', 'tblTempUsageDetail_20' ) start [2025-03-09 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639214', 'tblTempUsageDetail_20' ) end [2025-03-09 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639214', 'tblTempVendorCDR_20' ) start [2025-03-09 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639214', 'tblTempVendorCDR_20' ) end [2025-03-09 01:46:18] Production.INFO: ProcessCDR(1,14639214,1,1,2) [2025-03-09 01:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639214', 'tblTempUsageDetail_20' ) start [2025-03-09 01:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639214', 'tblTempUsageDetail_20' ) end [2025-03-09 01:46:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:46:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:46:21] Production.INFO: ==1722== Releasing lock... [2025-03-09 01:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:46:21] Production.INFO: 33.5 MB #Memory Used# [2025-03-09 06:47:02] Production.INFO: ==1796== Lock acquired, processing the job... [2025-03-09 06:47:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:47:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:47:02] Production.INFO: neon service started [2025-03-09 06:47:02] Production.INFO: neon service started [2025-03-09 06:47:02] Production.INFO: ==1796== Releasing lock... [2025-03-09 06:47:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:47:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:47:02] Production.INFO: ==1798== Lock acquired, processing the job... [2025-03-09 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:47:03] Production.INFO: ==1798== Releasing lock... [2025-03-09 01:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:47:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:47:03] Production.INFO: ==1800== Lock acquired, processing the job... [2025-03-09 06:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:47:03] Production.INFO: ==1800== Releasing lock... [2025-03-09 06:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:47:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:47:04] Production.INFO: ==1813== Lock acquired, processing the job... [2025-03-09 01:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:47:04] Production.INFO: ==1810== Lock acquired, processing the job... [2025-03-09 01:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:47:04] Production.INFO: ==1802== Lock acquired, processing the job... [2025-03-09 01:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:47:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:47:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:47:04] Production.INFO: count ==13 [2025-03-09 01:47:04] Production.INFO: ==1804== Lock acquired, processing the job... [2025-03-09 01:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:47:04] Production.INFO: ==1806== Lock acquired, processing the job... [2025-03-09 01:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:47:04] Production.INFO: count ==21 [2025-03-09 01:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639215') start [2025-03-09 01:47:04] Production.INFO: ==1808== Lock acquired, processing the job... [2025-03-09 01:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:47:04] Production.INFO: Account Balance Start. [2025-03-09 01:47:04] Production.INFO: CreateAllLog Start [2025-03-09 01:47:04] Production.INFO: 117 [2025-03-09 01:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:47:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:47:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:47:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639215') end [2025-03-09 01:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:47:04] Production.INFO: 1 [2025-03-09 01:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:47:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:47:04] Production.INFO: Total Charge 0 [2025-03-09 01:47:04] Production.INFO: CreateAllLog End [2025-03-09 01:47:04] Production.INFO: ==1813== Releasing lock... [2025-03-09 01:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:47:04] Production.ERROR: done [2025-03-09 01:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:47:04] Production.ERROR: done [2025-03-09 01:47:05] Production.INFO: ==1804== Releasing lock... [2025-03-09 01:47:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:47:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:47:05] Production.INFO: Account Balance End. [2025-03-09 01:47:05] Production.ERROR: CronJobId end 12 [2025-03-09 01:47:05] Production.INFO: ==1808== Releasing lock... [2025-03-09 01:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:47:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:47:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:47:06 [end_date_ymd] => 2025-03-09 01:47:06 [RateCDR] => 1 ) [2025-03-09 01: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-08 22:47:06' and `end` < '2025-03-09 01: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-09 01:47:14] Production.ERROR: CronJobId end10 [2025-03-09 01:47:14] Production.INFO: ==1806== Releasing lock... [2025-03-09 01:47:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:47:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:47:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:47:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:47:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:47:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:47:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:47:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:47:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:47:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:47:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:47:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:47:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:47:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:47:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:47:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:47:16] Production.INFO: call_cost start [2025-03-09 01:47:16] Production.INFO: call_cost end [2025-03-09 01:47:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:47:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:47:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:47:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:47:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:47:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:47:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:47:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:47:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:47:18] Production.INFO: ==1802== Releasing lock... [2025-03-09 01:47:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:47:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:47:18] Production.INFO: count ==605 [2025-03-09 01:47:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:47:06 - End Time 2025-03-09 01:47:06 [2025-03-09 01:47:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639219', 'tblTempUsageDetail_20' ) start [2025-03-09 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639219', 'tblTempUsageDetail_20' ) end [2025-03-09 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639219', 'tblTempVendorCDR_20' ) start [2025-03-09 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639219', 'tblTempVendorCDR_20' ) end [2025-03-09 01:47:18] Production.INFO: ProcessCDR(1,14639219,1,1,2) [2025-03-09 01:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639219', 'tblTempUsageDetail_20' ) start [2025-03-09 01:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639219', 'tblTempUsageDetail_20' ) end [2025-03-09 01:47:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:47:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:47:22] Production.INFO: ==1810== Releasing lock... [2025-03-09 01:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:47:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 06:48:01] Production.INFO: ==1884== Lock acquired, processing the job... [2025-03-09 06:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:48:01] Production.INFO: neon service started [2025-03-09 06:48:01] Production.INFO: neon service started [2025-03-09 06:48:01] Production.INFO: ==1884== Releasing lock... [2025-03-09 06:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:48:02] Production.INFO: ==1889== Lock acquired, processing the job... [2025-03-09 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:48:02] Production.INFO: ==1889== Releasing lock... [2025-03-09 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:48:02] Production.INFO: ==1891== Lock acquired, processing the job... [2025-03-09 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:48:02] Production.INFO: ==1891== Releasing lock... [2025-03-09 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:48:03] Production.INFO: ==1901== Lock acquired, processing the job... [2025-03-09 01:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:48:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:48:03] Production.INFO: ==1903== Lock acquired, processing the job... [2025-03-09 01:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:48:03] Production.INFO: ==1893== Lock acquired, processing the job... [2025-03-09 01:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:48:03] Production.INFO: ==1895== Lock acquired, processing the job... [2025-03-09 01:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:48:03] Production.INFO: ==1897== Lock acquired, processing the job... [2025-03-09 01:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:48:04] Production.INFO: ==1899== Lock acquired, processing the job... [2025-03-09 01:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:48:04] Production.INFO: count ==13 [2025-03-09 01:48:04] Production.ERROR: done [2025-03-09 01:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 01:48:04] Production.INFO: count ==21 [2025-03-09 01:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639220') start [2025-03-09 01:48:04] Production.ERROR: done [2025-03-09 01:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639220') end [2025-03-09 01:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:48:04] Production.INFO: 1 [2025-03-09 01:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:48:04] Production.INFO: Account Balance Start. [2025-03-09 01:48:04] Production.INFO: CreateAllLog Start [2025-03-09 01:48:04] Production.INFO: 117 [2025-03-09 01:48:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:48:04] Production.INFO: ==1903== Releasing lock... [2025-03-09 01:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:48:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:48:04] Production.INFO: Total Charge 0 [2025-03-09 01:48:04] Production.INFO: CreateAllLog End [2025-03-09 01:48:04] Production.INFO: ==1895== Releasing lock... [2025-03-09 01:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:48:04] Production.INFO: Account Balance End. [2025-03-09 01:48:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:48:04] Production.INFO: ==1899== Releasing lock... [2025-03-09 01:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:48:05 [end_date_ymd] => 2025-03-09 01:48:05 [RateCDR] => 1 ) [2025-03-09 01:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:48:05' and `end` < '2025-03-09 01:48:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:48:13] Production.ERROR: CronJobId end10 [2025-03-09 01:48:13] Production.INFO: ==1897== Releasing lock... [2025-03-09 01:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:48:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:48:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:48:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:48:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:48:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:48:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:48:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:48:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:48:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:48:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:48:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:48:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:48:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:48:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:48:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:48:16] Production.INFO: call_cost start [2025-03-09 01:48:16] Production.INFO: call_cost end [2025-03-09 01:48:17] Production.INFO: count ==606 [2025-03-09 01:48:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:48:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:48:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:48:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:48:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:48:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:48:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:48:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:48:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:48:17] Production.INFO: ==1893== Releasing lock... [2025-03-09 01:48:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:48:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:48:17] Production.ERROR: pbx CDR StartTime 2025-03-08 22:48:05 - End Time 2025-03-09 01:48:05 [2025-03-09 01:48:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639223', 'tblTempUsageDetail_20' ) start [2025-03-09 01:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639223', 'tblTempUsageDetail_20' ) end [2025-03-09 01:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639223', 'tblTempVendorCDR_20' ) start [2025-03-09 01:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639223', 'tblTempVendorCDR_20' ) end [2025-03-09 01:48:17] Production.INFO: ProcessCDR(1,14639223,1,1,2) [2025-03-09 01:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639223', 'tblTempUsageDetail_20' ) start [2025-03-09 01:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639223', 'tblTempUsageDetail_20' ) end [2025-03-09 01:48:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:48:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:48:21] Production.INFO: ==1901== Releasing lock... [2025-03-09 01:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:48:21] Production.INFO: 33 MB #Memory Used# [2025-03-09 06:49:02] Production.INFO: ==1976== Lock acquired, processing the job... [2025-03-09 06:49:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:49:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:49:02] Production.INFO: neon service started [2025-03-09 06:49:02] Production.INFO: neon service started [2025-03-09 06:49:02] Production.INFO: ==1976== Releasing lock... [2025-03-09 06:49:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:49:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:49:02] Production.INFO: ==1979== Lock acquired, processing the job... [2025-03-09 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:49:03] Production.INFO: ==1979== Releasing lock... [2025-03-09 01:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:49:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:49:03] Production.INFO: ==1981== Lock acquired, processing the job... [2025-03-09 06:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:49:03] Production.INFO: ==1981== Releasing lock... [2025-03-09 06:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:49:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:49:04] Production.INFO: ==1986== Lock acquired, processing the job... [2025-03-09 01:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:49:04] Production.INFO: ==1992== Lock acquired, processing the job... [2025-03-09 01:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:49:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:49:04] Production.INFO: ==1984== Lock acquired, processing the job... [2025-03-09 01:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:49:04] Production.INFO: ==1988== Lock acquired, processing the job... [2025-03-09 01:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:49:04] Production.INFO: ==1990== Lock acquired, processing the job... [2025-03-09 01:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:49:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:49:04] Production.INFO: ==1994== Lock acquired, processing the job... [2025-03-09 01:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:49:04] Production.INFO: ==1986== Releasing lock... [2025-03-09 01:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:49:04] Production.INFO: Account Balance Start. [2025-03-09 01:49:04] Production.INFO: CreateAllLog Start [2025-03-09 01:49:04] Production.INFO: 117 [2025-03-09 01:49:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:49:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:49:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:49:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:49:04] Production.ERROR: done [2025-03-09 01:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:49:04] Production.INFO: Total Charge 0 [2025-03-09 01:49:04] Production.INFO: count ==13 [2025-03-09 01:49:04] Production.INFO: CreateAllLog End [2025-03-09 01:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:49:04] Production.INFO: count ==21 [2025-03-09 01:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639228') start [2025-03-09 01:49:05] Production.ERROR: done [2025-03-09 01:49:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639228') end [2025-03-09 01:49:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:49:05] Production.INFO: 1 [2025-03-09 01:49:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:49:05] Production.INFO: Account Balance End. [2025-03-09 01:49:05] Production.INFO: ==1994== Releasing lock... [2025-03-09 01:49:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:49:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:49:05] Production.ERROR: CronJobId end 12 [2025-03-09 01:49:05] Production.INFO: ==1990== Releasing lock... [2025-03-09 01:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:49:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:49:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:49:06 [end_date_ymd] => 2025-03-09 01:49:06 [RateCDR] => 1 ) [2025-03-09 01: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-08 22:49:06' and `end` < '2025-03-09 01: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-09 01:49:13] Production.ERROR: CronJobId end10 [2025-03-09 01:49:13] Production.INFO: ==1988== Releasing lock... [2025-03-09 01:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:49:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:49:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:49:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:49:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:49:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:49:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:49:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:49:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:49:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:49:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:49:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:49:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:49:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:49:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:49:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:49:17] Production.INFO: call_cost start [2025-03-09 01:49:17] Production.INFO: call_cost end [2025-03-09 01:49:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:49:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:49:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:49:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:49:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:49:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:49:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:49:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:49:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:49:18] Production.INFO: ==1984== Releasing lock... [2025-03-09 01:49:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:49:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:49:18] Production.INFO: count ==606 [2025-03-09 01:49:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:49:06 - End Time 2025-03-09 01:49:06 [2025-03-09 01:49:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639229', 'tblTempUsageDetail_20' ) start [2025-03-09 01:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639229', 'tblTempUsageDetail_20' ) end [2025-03-09 01:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639229', 'tblTempVendorCDR_20' ) start [2025-03-09 01:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639229', 'tblTempVendorCDR_20' ) end [2025-03-09 01:49:18] Production.INFO: ProcessCDR(1,14639229,1,1,2) [2025-03-09 01:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639229', 'tblTempUsageDetail_20' ) start [2025-03-09 01:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639229', 'tblTempUsageDetail_20' ) end [2025-03-09 01:49:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:49:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:49:22] Production.INFO: ==1992== Releasing lock... [2025-03-09 01:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:49:22] Production.INFO: 33 MB #Memory Used# [2025-03-09 06:50:01] Production.INFO: ==2061== Lock acquired, processing the job... [2025-03-09 06:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:50:01] Production.INFO: neon service started [2025-03-09 06:50:01] Production.INFO: neon service started [2025-03-09 06:50:01] Production.INFO: ==2061== Releasing lock... [2025-03-09 06:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:50:02] Production.INFO: ==2064== Lock acquired, processing the job... [2025-03-09 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:50:02] Production.INFO: ==2066== Lock acquired, processing the job... [2025-03-09 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:50:02] Production.INFO: ==2066== Releasing lock... [2025-03-09 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:50:03] Production.INFO: ==2064== Releasing lock... [2025-03-09 01:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:50:04] Production.INFO: ==2070== Lock acquired, processing the job... [2025-03-09 01:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:50:04] Production.INFO: ==2068== Lock acquired, processing the job... [2025-03-09 01:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 01:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:50:04] Production.INFO: ==2074== Lock acquired, processing the job... [2025-03-09 01:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:50:04] Production.INFO: ==2078== Lock acquired, processing the job... [2025-03-09 01:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:50:04] Production.INFO: ==2072== Lock acquired, processing the job... [2025-03-09 01:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 01:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 01:50:04] Production.ERROR: CronJob PID - 2070 [2025-03-09 01:50:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 01:50:04] Production.ERROR: CronJob ID - 5 [2025-03-09 01:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 01:50:00 [2025-03-09 01:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 01:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 01:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 01:50:04] Production.INFO: ==2068== Releasing lock... [2025-03-09 01:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 01:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 01:50:04] Production.INFO: ==2076== Lock acquired, processing the job... [2025-03-09 01:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:50:04] Production.INFO: ==2080== Lock acquired, processing the job... [2025-03-09 01:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 01:50:04] Production.INFO: ==2082== Lock acquired, processing the job... [2025-03-09 01:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:50:04] Production.INFO: Account Balance Start. [2025-03-09 01:50:04] Production.INFO: CreateAllLog Start [2025-03-09 01:50:04] Production.INFO: 117 [2025-03-09 01:50:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:50:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:50:04] Production.INFO: count ==13 [2025-03-09 01:50:04] Production.ERROR: done [2025-03-09 01:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:50:04] Production.INFO: Total Charge 0 [2025-03-09 01:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:50:04] Production.INFO: count ==21 [2025-03-09 01:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639233') start [2025-03-09 01:50:04] Production.INFO: CreateAllLog End [2025-03-09 01:50:04] Production.INFO: ==2072== Releasing lock... [2025-03-09 01:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:50:05] Production.ERROR: done [2025-03-09 01:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639233') end [2025-03-09 01:50:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:50:05] Production.INFO: 1 [2025-03-09 01:50:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:50:05] Production.ERROR: done [2025-03-09 01:50:05] Production.INFO: Account Balance End. [2025-03-09 01:50:05] Production.INFO: ==2082== Releasing lock... [2025-03-09 01:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 01:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639235', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 01:50:05] Production.ERROR: CronJobId end 12 [2025-03-09 01:50:05] Production.INFO: ==2076== Releasing lock... [2025-03-09 01:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:50:06 [end_date_ymd] => 2025-03-09 01:50:06 [RateCDR] => 1 ) [2025-03-09 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-08 22:50:06' and `end` < '2025-03-09 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-09 01:50:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639235', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 01:50:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 01:50:10] Production.INFO: ProcessCDR(1,14639235,1,1,2) [2025-03-09 01:50:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14639235,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14639235,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:50:10] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:50:10] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:50:10] Production.INFO: ==2080== Releasing lock... [2025-03-09 01:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 01:50:10] Production.INFO: 26 MB #Memory Used# [2025-03-09 01:50:14] Production.ERROR: CronJobId end10 [2025-03-09 01:50:14] Production.INFO: ==2074== Releasing lock... [2025-03-09 01:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:50:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:50:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:50:18] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:50:18] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:50:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:50:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:50:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:50:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:50:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:50:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:50:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:50:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:50:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:50:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:50:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:50:18] Production.INFO: count ==614 [2025-03-09 01:50:18] Production.INFO: call_cost start [2025-03-09 01:50:18] Production.INFO: call_cost end [2025-03-09 01:50:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:50:06 - End Time 2025-03-09 01:50:06 [2025-03-09 01:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639234', 'tblTempUsageDetail_20' ) start [2025-03-09 01:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639234', 'tblTempUsageDetail_20' ) end [2025-03-09 01:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639234', 'tblTempVendorCDR_20' ) start [2025-03-09 01:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639234', 'tblTempVendorCDR_20' ) end [2025-03-09 01:50:18] Production.INFO: ProcessCDR(1,14639234,1,1,2) [2025-03-09 01:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:50:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:50:19] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:50:19] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:50:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:50:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:50:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:50:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:50:19] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:50:19] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:50:19] Production.INFO: ==2070== Releasing lock... [2025-03-09 01:50:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:50:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639234', 'tblTempUsageDetail_20' ) start [2025-03-09 01:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639234', 'tblTempUsageDetail_20' ) end [2025-03-09 01:50:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:50:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:50:22] Production.INFO: ==2078== Releasing lock... [2025-03-09 01:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:50:22] Production.INFO: 33 MB #Memory Used# [2025-03-09 06:51:02] Production.INFO: ==2145== Lock acquired, processing the job... [2025-03-09 06:51:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:51:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:51:02] Production.INFO: neon service started [2025-03-09 06:51:02] Production.INFO: neon service started [2025-03-09 06:51:02] Production.INFO: ==2145== Releasing lock... [2025-03-09 06:51:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:51:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:51:02] Production.INFO: ==2147== Lock acquired, processing the job... [2025-03-09 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:51:03] Production.INFO: ==2147== Releasing lock... [2025-03-09 01:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:51:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:51:03] Production.INFO: ==2149== Lock acquired, processing the job... [2025-03-09 06:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:51:03] Production.INFO: ==2149== Releasing lock... [2025-03-09 06:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:51:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:51:03] Production.INFO: ==2155== Lock acquired, processing the job... [2025-03-09 01:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:51:04] Production.INFO: ==2162== Lock acquired, processing the job... [2025-03-09 01:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:51:04] Production.INFO: ==2151== Lock acquired, processing the job... [2025-03-09 01:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:51:04] Production.INFO: ==2153== Lock acquired, processing the job... [2025-03-09 01:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:51:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:51:04] Production.INFO: count ==13 [2025-03-09 01:51:04] Production.INFO: ==2157== Lock acquired, processing the job... [2025-03-09 01:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:51:04] Production.INFO: count ==21 [2025-03-09 01:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639236') start [2025-03-09 01:51:04] Production.INFO: ==2160== Lock acquired, processing the job... [2025-03-09 01:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:51:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639236') end [2025-03-09 01:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:51:04] Production.INFO: 1 [2025-03-09 01:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:51:04] Production.INFO: Account Balance Start. [2025-03-09 01:51:04] Production.INFO: CreateAllLog Start [2025-03-09 01:51:04] Production.INFO: 117 [2025-03-09 01:51:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:51:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:51:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:51:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:51:04] Production.INFO: ==2162== Releasing lock... [2025-03-09 01:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:51:04] Production.INFO: ==2153== Releasing lock... [2025-03-09 01:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:51:04] Production.INFO: Total Charge 0 [2025-03-09 01:51:04] Production.INFO: CreateAllLog End [2025-03-09 01:51:05] Production.ERROR: done [2025-03-09 01:51:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:51:05] Production.INFO: Account Balance End. [2025-03-09 01:51:05] Production.ERROR: CronJobId end 12 [2025-03-09 01:51:05] Production.INFO: ==2157== Releasing lock... [2025-03-09 01:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:51:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:51:05] Production.ERROR: done [2025-03-09 01:51:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:51:06 [end_date_ymd] => 2025-03-09 01:51:06 [RateCDR] => 1 ) [2025-03-09 01: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-08 22:51:06' and `end` < '2025-03-09 01: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-09 01:51:14] Production.ERROR: CronJobId end10 [2025-03-09 01:51:14] Production.INFO: ==2155== Releasing lock... [2025-03-09 01:51:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:51:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:51:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:51:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:51:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:51:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:51:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:51:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:51:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:51:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:51:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:51:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:51:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:51:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:51:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:51:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:51:16] Production.INFO: call_cost start [2025-03-09 01:51:16] Production.INFO: call_cost end [2025-03-09 01:51:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:51:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:51:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:51:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:51:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:51:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:51:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:51:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:51:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:51:17] Production.INFO: ==2151== Releasing lock... [2025-03-09 01:51:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:51:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:51:18] Production.INFO: count ==608 [2025-03-09 01:51:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:51:06 - End Time 2025-03-09 01:51:06 [2025-03-09 01:51:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639240', 'tblTempUsageDetail_20' ) start [2025-03-09 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639240', 'tblTempUsageDetail_20' ) end [2025-03-09 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639240', 'tblTempVendorCDR_20' ) start [2025-03-09 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639240', 'tblTempVendorCDR_20' ) end [2025-03-09 01:51:18] Production.INFO: ProcessCDR(1,14639240,1,1,2) [2025-03-09 01:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639240', 'tblTempUsageDetail_20' ) start [2025-03-09 01:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639240', 'tblTempUsageDetail_20' ) end [2025-03-09 01:51:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:51:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:51:22] Production.INFO: ==2160== Releasing lock... [2025-03-09 01:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:51:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 06:52:01] Production.INFO: ==2228== Lock acquired, processing the job... [2025-03-09 06:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:52:01] Production.INFO: neon service started [2025-03-09 06:52:01] Production.INFO: neon service started [2025-03-09 06:52:01] Production.INFO: ==2228== Releasing lock... [2025-03-09 06:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:52:02] Production.INFO: ==2232== Lock acquired, processing the job... [2025-03-09 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:52:02] Production.INFO: ==2232== Releasing lock... [2025-03-09 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:52:02] Production.INFO: ==2230== Lock acquired, processing the job... [2025-03-09 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:52:02] Production.INFO: ==2230== Releasing lock... [2025-03-09 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:52:03] Production.INFO: ==2237== Lock acquired, processing the job... [2025-03-09 01:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:52:03] Production.INFO: ==2241== Lock acquired, processing the job... [2025-03-09 01:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:52:03] Production.INFO: ==2245== Lock acquired, processing the job... [2025-03-09 01:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:52:04] Production.INFO: ==2243== Lock acquired, processing the job... [2025-03-09 01:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:52:04] Production.INFO: ==2239== Lock acquired, processing the job... [2025-03-09 01:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:52:04] Production.INFO: ==2247== Lock acquired, processing the job... [2025-03-09 01:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:52:04] Production.INFO: Account Balance Start. [2025-03-09 01:52:04] Production.INFO: CreateAllLog Start [2025-03-09 01:52:04] Production.INFO: 117 [2025-03-09 01:52:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:52:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:52:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:52:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:52:04] Production.INFO: Total Charge 0 [2025-03-09 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-09 01:52:04] Production.INFO: count ==13 [2025-03-09 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-09 01:52:04] Production.INFO: count ==21 [2025-03-09 01:52:04] Production.ERROR: done [2025-03-09 01:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639244') start [2025-03-09 01:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:52:04] Production.INFO: CreateAllLog End [2025-03-09 01:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639244') end [2025-03-09 01:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:52:04] Production.INFO: 1 [2025-03-09 01:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:52:04] Production.INFO: ==2239== Releasing lock... [2025-03-09 01:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:52:04] Production.INFO: ==2247== Releasing lock... [2025-03-09 01:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:52:04] Production.ERROR: done [2025-03-09 01:52:04] Production.INFO: Account Balance End. [2025-03-09 01:52:05] Production.ERROR: CronJobId end 12 [2025-03-09 01:52:05] Production.INFO: ==2243== Releasing lock... [2025-03-09 01:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:52:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:52:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:52:06 [end_date_ymd] => 2025-03-09 01:52:06 [RateCDR] => 1 ) [2025-03-09 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-08 22:52:06' and `end` < '2025-03-09 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-09 01:52:14] Production.ERROR: CronJobId end10 [2025-03-09 01:52:14] Production.INFO: ==2241== Releasing lock... [2025-03-09 01:52:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:52:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:52:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:52:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:52:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:52:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:52:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:52:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:52:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:52:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:52:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:52:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:52:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:52:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:52:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:52:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:52:16] Production.INFO: call_cost start [2025-03-09 01:52:16] Production.INFO: call_cost end [2025-03-09 01:52:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:52:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:52:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:52:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:52:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:52:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:52:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:52:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:52:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:52:17] Production.INFO: ==2237== Releasing lock... [2025-03-09 01:52:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:52:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:52:18] Production.INFO: count ==602 [2025-03-09 01:52:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:52:06 - End Time 2025-03-09 01:52:06 [2025-03-09 01:52:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639245', 'tblTempUsageDetail_20' ) start [2025-03-09 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639245', 'tblTempUsageDetail_20' ) end [2025-03-09 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639245', 'tblTempVendorCDR_20' ) start [2025-03-09 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639245', 'tblTempVendorCDR_20' ) end [2025-03-09 01:52:18] Production.INFO: ProcessCDR(1,14639245,1,1,2) [2025-03-09 01:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639245', 'tblTempUsageDetail_20' ) start [2025-03-09 01:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639245', 'tblTempUsageDetail_20' ) end [2025-03-09 01:52:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:52:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:52:22] Production.INFO: ==2245== Releasing lock... [2025-03-09 01:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:52:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 06:53:01] Production.INFO: ==2326== Lock acquired, processing the job... [2025-03-09 06:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:53:01] Production.INFO: neon service started [2025-03-09 06:53:01] Production.INFO: neon service started [2025-03-09 06:53:01] Production.INFO: ==2326== Releasing lock... [2025-03-09 06:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:53:02] Production.INFO: ==2328== Lock acquired, processing the job... [2025-03-09 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:53:02] Production.INFO: ==2330== Lock acquired, processing the job... [2025-03-09 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:53:02] Production.INFO: ==2330== Releasing lock... [2025-03-09 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:53:02] Production.INFO: ==2328== Releasing lock... [2025-03-09 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:53:03] Production.INFO: ==2333== Lock acquired, processing the job... [2025-03-09 01:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:53:03] Production.INFO: ==2340== Lock acquired, processing the job... [2025-03-09 01:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:53:03] Production.INFO: ==2344== Lock acquired, processing the job... [2025-03-09 01:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:53:03] Production.INFO: ==2335== Lock acquired, processing the job... [2025-03-09 01:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:53:03] Production.INFO: Account Balance Start. [2025-03-09 01:53:03] Production.INFO: CreateAllLog Start [2025-03-09 01:53:03] Production.INFO: 117 [2025-03-09 01:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:53:03] Production.INFO: Date 2025-03-08 [2025-03-09 01:53:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:53:03] Production.INFO: ==2338== Lock acquired, processing the job... [2025-03-09 01:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:53:03] Production.INFO: Date 2025-03-09 [2025-03-09 01:53:03] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 01:53:03] Production.INFO: ==2342== Lock acquired, processing the job... [2025-03-09 01:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:53:03] Production.INFO: count ==13 [2025-03-09 01:53:03] Production.INFO: Total Charge 0 [2025-03-09 01:53:03] Production.INFO: CreateAllLog End [2025-03-09 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-09 01:53:03] Production.INFO: count ==21 [2025-03-09 01:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639249') start [2025-03-09 01:53:04] Production.INFO: Account Balance End. [2025-03-09 01:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639249') end [2025-03-09 01:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:53:04] Production.INFO: 1 [2025-03-09 01:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:53:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:53:04] Production.INFO: ==2340== Releasing lock... [2025-03-09 01:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:53:04] Production.INFO: ==2344== Releasing lock... [2025-03-09 01:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:53:04] Production.INFO: ==2335== Releasing lock... [2025-03-09 01:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:53:04] Production.ERROR: done [2025-03-09 01:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:53:04] Production.ERROR: done [2025-03-09 01:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:53:05 [end_date_ymd] => 2025-03-09 01:53:05 [RateCDR] => 1 ) [2025-03-09 01:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:53:05' and `end` < '2025-03-09 01:53:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:53:12] Production.ERROR: CronJobId end10 [2025-03-09 01:53:12] Production.INFO: ==2338== Releasing lock... [2025-03-09 01:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:53:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:53:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:53:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:53:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:53:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:53:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:53:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:53:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:53:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:53:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:53:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:53:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:53:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:53:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:53:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:53:15] Production.INFO: call_cost start [2025-03-09 01:53:15] Production.INFO: call_cost end [2025-03-09 01:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:53:16] Production.INFO: ==2333== Releasing lock... [2025-03-09 01:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:53:17] Production.INFO: count ==601 [2025-03-09 01:53:17] Production.ERROR: pbx CDR StartTime 2025-03-08 22:53:05 - End Time 2025-03-09 01:53:05 [2025-03-09 01:53:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639250', 'tblTempUsageDetail_20' ) start [2025-03-09 01:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639250', 'tblTempUsageDetail_20' ) end [2025-03-09 01:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639250', 'tblTempVendorCDR_20' ) start [2025-03-09 01:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639250', 'tblTempVendorCDR_20' ) end [2025-03-09 01:53:17] Production.INFO: ProcessCDR(1,14639250,1,1,2) [2025-03-09 01:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639250', 'tblTempUsageDetail_20' ) start [2025-03-09 01:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639250', 'tblTempUsageDetail_20' ) end [2025-03-09 01:53:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:53:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:53:21] Production.INFO: ==2342== Releasing lock... [2025-03-09 01:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:53:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 06:54:01] Production.INFO: ==2410== Lock acquired, processing the job... [2025-03-09 06:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:54:01] Production.INFO: neon service started [2025-03-09 06:54:01] Production.INFO: neon service started [2025-03-09 06:54:01] Production.INFO: ==2410== Releasing lock... [2025-03-09 06:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:54:02] Production.INFO: ==2412== Lock acquired, processing the job... [2025-03-09 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:54:02] Production.INFO: ==2412== Releasing lock... [2025-03-09 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:54:02] Production.INFO: ==2414== Lock acquired, processing the job... [2025-03-09 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:54:03] Production.INFO: ==2414== Releasing lock... [2025-03-09 06:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:54:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:54:03] Production.INFO: ==2416== Lock acquired, processing the job... [2025-03-09 01:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:54:03] Production.INFO: ==2420== Lock acquired, processing the job... [2025-03-09 01:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:54:03] Production.INFO: ==2422== Lock acquired, processing the job... [2025-03-09 01:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:54:03] Production.INFO: Account Balance Start. [2025-03-09 01:54:03] Production.INFO: CreateAllLog Start [2025-03-09 01:54:03] Production.INFO: 117 [2025-03-09 01:54:03] Production.INFO: Date 2025-03-08 [2025-03-09 01:54:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:54:04] Production.INFO: ==2418== Lock acquired, processing the job... [2025-03-09 01:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:54:04] Production.INFO: ==2426== Lock acquired, processing the job... [2025-03-09 01:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:54:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:54:04] Production.INFO: Total Charge 0 [2025-03-09 01:54:04] Production.INFO: CreateAllLog End [2025-03-09 01:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:54:04] Production.INFO: ==2424== Lock acquired, processing the job... [2025-03-09 01:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:54:04] Production.INFO: count ==13 [2025-03-09 01:54:04] Production.INFO: Account Balance End. [2025-03-09 01:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:54:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:54:04] Production.INFO: ==2422== Releasing lock... [2025-03-09 01:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:54:04] Production.INFO: count ==21 [2025-03-09 01:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639253') start [2025-03-09 01:54:04] Production.INFO: ==2418== Releasing lock... [2025-03-09 01:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639253') end [2025-03-09 01:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:54:04] Production.INFO: 1 [2025-03-09 01:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:54:04] Production.INFO: ==2426== Releasing lock... [2025-03-09 01:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:54:04] Production.ERROR: done [2025-03-09 01:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:54:05] Production.ERROR: done [2025-03-09 01:54:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:54:06 [end_date_ymd] => 2025-03-09 01:54:06 [RateCDR] => 1 ) [2025-03-09 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-08 22:54:06' and `end` < '2025-03-09 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-09 01:54: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-09 01:54:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:54:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:54:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:54:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:54:13] Production.ERROR: CronJobId end10 [2025-03-09 01:54:13] Production.INFO: ==2420== Releasing lock... [2025-03-09 01:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:54:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:54:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:54:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:54:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:54:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:54:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:54:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:54:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:54:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:54:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:54:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:54:13] Production.INFO: call_cost start [2025-03-09 01:54:13] Production.INFO: call_cost end [2025-03-09 01:54:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:54:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:54:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:54:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:54:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:54:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:54:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:54:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:54:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:54:15] Production.INFO: ==2416== Releasing lock... [2025-03-09 01:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:54:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:54:18] Production.INFO: count ==598 [2025-03-09 01:54:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:54:06 - End Time 2025-03-09 01:54:06 [2025-03-09 01:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639255', 'tblTempUsageDetail_20' ) start [2025-03-09 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639255', 'tblTempUsageDetail_20' ) end [2025-03-09 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639255', 'tblTempVendorCDR_20' ) start [2025-03-09 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639255', 'tblTempVendorCDR_20' ) end [2025-03-09 01:54:18] Production.INFO: ProcessCDR(1,14639255,1,1,2) [2025-03-09 01:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639255', 'tblTempUsageDetail_20' ) start [2025-03-09 01:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639255', 'tblTempUsageDetail_20' ) end [2025-03-09 01:54:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:54:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:54:22] Production.INFO: ==2424== Releasing lock... [2025-03-09 01:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:54:22] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 06:55:01] Production.INFO: ==2482== Lock acquired, processing the job... [2025-03-09 06:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:55:01] Production.INFO: neon service started [2025-03-09 06:55:01] Production.INFO: neon service started [2025-03-09 06:55:01] Production.INFO: ==2482== Releasing lock... [2025-03-09 06:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:55:01] Production.INFO: ==2486== Lock acquired, processing the job... [2025-03-09 06:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:55:01] Production.INFO: ==2486== Releasing lock... [2025-03-09 06:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:55:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:55:01] Production.INFO: ==2484== Lock acquired, processing the job... [2025-03-09 01:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:55:02] Production.INFO: ==2484== Releasing lock... [2025-03-09 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:55:02] Production.INFO: ==2489== Lock acquired, processing the job... [2025-03-09 01:55:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:55:02] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:55:03] Production.INFO: ==2497== Lock acquired, processing the job... [2025-03-09 01:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:55:03] Production.INFO: ==2491== Lock acquired, processing the job... [2025-03-09 01:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:55:03] Production.INFO: ==2499== Lock acquired, processing the job... [2025-03-09 01:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:55:03] Production.INFO: ==2493== Lock acquired, processing the job... [2025-03-09 01:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:55:03] Production.ERROR: done [2025-03-09 01:55:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:55:03] Production.INFO: ==2495== Lock acquired, processing the job... [2025-03-09 01:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:55:03] Production.INFO: count ==13 [2025-03-09 01:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:55:03] Production.INFO: Account Balance Start. [2025-03-09 01:55:03] Production.INFO: CreateAllLog Start [2025-03-09 01:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:55:03] Production.INFO: 117 [2025-03-09 01:55:03] Production.INFO: count ==21 [2025-03-09 01:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639258') start [2025-03-09 01:55:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:55:04] Production.ERROR: done [2025-03-09 01:55:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639258') end [2025-03-09 01:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:55:04] Production.INFO: 1 [2025-03-09 01:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:55:04] Production.INFO: Total Charge 0 [2025-03-09 01:55:04] Production.INFO: ==2491== Releasing lock... [2025-03-09 01:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:55:04] Production.INFO: CreateAllLog End [2025-03-09 01:55:04] Production.INFO: ==2499== Releasing lock... [2025-03-09 01:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:55:04] Production.INFO: Account Balance End. [2025-03-09 01:55:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:55:04] Production.INFO: ==2495== Releasing lock... [2025-03-09 01:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:55:05 [end_date_ymd] => 2025-03-09 01:55:05 [RateCDR] => 1 ) [2025-03-09 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-08 22:55:05' and `end` < '2025-03-09 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-09 01:55:13] Production.ERROR: CronJobId end10 [2025-03-09 01:55:13] Production.INFO: ==2493== Releasing lock... [2025-03-09 01:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:55:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:55:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:55:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:55:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:55:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:55:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:55:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:55:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:55:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:55:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:55:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:55:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:55:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:55:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:55:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:55:16] Production.INFO: call_cost start [2025-03-09 01:55:16] Production.INFO: call_cost end [2025-03-09 01:55:17] Production.INFO: count ==603 [2025-03-09 01:55:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:55:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:55:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:55:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:55:17] Production.ERROR: pbx CDR StartTime 2025-03-08 22:55:05 - End Time 2025-03-09 01:55:05 [2025-03-09 01:55:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639260', 'tblTempUsageDetail_20' ) start [2025-03-09 01:55:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:55:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:55:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:55:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:55:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:55:17] Production.INFO: ==2489== Releasing lock... [2025-03-09 01:55:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:55:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639260', 'tblTempUsageDetail_20' ) end [2025-03-09 01:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639260', 'tblTempVendorCDR_20' ) start [2025-03-09 01:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639260', 'tblTempVendorCDR_20' ) end [2025-03-09 01:55:17] Production.INFO: ProcessCDR(1,14639260,1,1,2) [2025-03-09 01:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639260', 'tblTempUsageDetail_20' ) start [2025-03-09 01:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639260', 'tblTempUsageDetail_20' ) end [2025-03-09 01:55:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:55:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:55:21] Production.INFO: ==2497== Releasing lock... [2025-03-09 01:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:55:21] Production.INFO: 33 MB #Memory Used# [2025-03-09 06:56:01] Production.INFO: ==2572== Lock acquired, processing the job... [2025-03-09 06:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:56:01] Production.INFO: neon service started [2025-03-09 06:56:01] Production.INFO: neon service started [2025-03-09 06:56:01] Production.INFO: ==2572== Releasing lock... [2025-03-09 06:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:56:02] Production.INFO: ==2574== Lock acquired, processing the job... [2025-03-09 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 01:56:02] Production.INFO: ==2574== Releasing lock... [2025-03-09 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:56:02] Production.INFO: ==2576== Lock acquired, processing the job... [2025-03-09 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:56:02] Production.INFO: ==2576== Releasing lock... [2025-03-09 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:56:03] Production.INFO: ==2583== Lock acquired, processing the job... [2025-03-09 01:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:56:03] Production.INFO: ==2589== Lock acquired, processing the job... [2025-03-09 01:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:56:03] Production.INFO: count ==13 [2025-03-09 01:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:56:03] Production.INFO: count ==21 [2025-03-09 01:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639261') start [2025-03-09 01:56:04] Production.INFO: ==2579== Lock acquired, processing the job... [2025-03-09 01:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:56:04] Production.INFO: ==2581== Lock acquired, processing the job... [2025-03-09 01:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639261') end [2025-03-09 01:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:56:04] Production.INFO: 1 [2025-03-09 01:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:56:04] Production.INFO: ==2589== Releasing lock... [2025-03-09 01:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:56:04] Production.INFO: ==2585== Lock acquired, processing the job... [2025-03-09 01:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:56:04] Production.INFO: ==2587== Lock acquired, processing the job... [2025-03-09 01:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:56:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:56:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:56:04] Production.INFO: Account Balance Start. [2025-03-09 01:56:04] Production.INFO: CreateAllLog Start [2025-03-09 01:56:04] Production.INFO: 117 [2025-03-09 01:56:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:56:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:56:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:56:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:56:04] Production.INFO: ==2581== Releasing lock... [2025-03-09 01:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:56:04] Production.INFO: Total Charge 0 [2025-03-09 01:56:04] Production.INFO: CreateAllLog End [2025-03-09 01:56:04] Production.ERROR: done [2025-03-09 01:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:56:04] Production.ERROR: done [2025-03-09 01:56:04] Production.INFO: Account Balance End. [2025-03-09 01:56:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:56:04] Production.INFO: ==2585== Releasing lock... [2025-03-09 01:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:56:05 [end_date_ymd] => 2025-03-09 01:56:05 [RateCDR] => 1 ) [2025-03-09 01:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:56:05' and `end` < '2025-03-09 01:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:56:13] Production.ERROR: CronJobId end10 [2025-03-09 01:56:13] Production.INFO: ==2583== Releasing lock... [2025-03-09 01:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:56:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:56:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:56:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:56:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:56:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:56:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:56:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:56:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:56:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:56:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:56:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:56:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:56:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:56:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:56:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:56:17] Production.INFO: call_cost start [2025-03-09 01:56:17] Production.INFO: call_cost end [2025-03-09 01:56:17] Production.INFO: count ==608 [2025-03-09 01:56:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:56:05 - End Time 2025-03-09 01:56:05 [2025-03-09 01:56:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639265', 'tblTempUsageDetail_20' ) start [2025-03-09 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639265', 'tblTempUsageDetail_20' ) end [2025-03-09 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639265', 'tblTempVendorCDR_20' ) start [2025-03-09 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639265', 'tblTempVendorCDR_20' ) end [2025-03-09 01:56:18] Production.INFO: ProcessCDR(1,14639265,1,1,2) [2025-03-09 01:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:56:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:56:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:56:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:56:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:56:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:56:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:56:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:56:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:56:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:56:18] Production.INFO: ==2579== Releasing lock... [2025-03-09 01:56:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:56:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639265', 'tblTempUsageDetail_20' ) start [2025-03-09 01:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639265', 'tblTempUsageDetail_20' ) end [2025-03-09 01:56:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:56:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:56:21] Production.INFO: ==2587== Releasing lock... [2025-03-09 01:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:56:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 06:57:01] Production.INFO: ==2664== Lock acquired, processing the job... [2025-03-09 06:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:57:01] Production.INFO: neon service started [2025-03-09 06:57:01] Production.INFO: neon service started [2025-03-09 06:57:01] Production.INFO: ==2664== Releasing lock... [2025-03-09 06:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:57:01] Production.INFO: ==2667== Lock acquired, processing the job... [2025-03-09 01:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:57:02] Production.INFO: ==2669== Lock acquired, processing the job... [2025-03-09 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:57:02] Production.INFO: ==2669== Releasing lock... [2025-03-09 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:57:02] Production.INFO: ==2667== Releasing lock... [2025-03-09 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:57:03] Production.INFO: ==2673== Lock acquired, processing the job... [2025-03-09 01:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:57:03] Production.INFO: ==2679== Lock acquired, processing the job... [2025-03-09 01:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:57:03] Production.INFO: ==2671== Lock acquired, processing the job... [2025-03-09 01:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:57:03] Production.INFO: ==2675== Lock acquired, processing the job... [2025-03-09 01:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:57:03] Production.INFO: ==2677== Lock acquired, processing the job... [2025-03-09 01:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:57:03] Production.INFO: ==2681== Lock acquired, processing the job... [2025-03-09 01:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:57:03] Production.INFO: ==2673== Releasing lock... [2025-03-09 01:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:57:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 01:57:03] Production.INFO: count ==13 [2025-03-09 01:57:03] Production.INFO: Account Balance Start. [2025-03-09 01:57:03] Production.INFO: CreateAllLog Start [2025-03-09 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-09 01:57:03] Production.ERROR: done [2025-03-09 01:57:03] Production.INFO: count ==21 [2025-03-09 01:57:03] Production.INFO: 117 [2025-03-09 01:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639269') start [2025-03-09 01:57:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:57:03] Production.INFO: Date 2025-03-08 [2025-03-09 01:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:57:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:57:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:57:04] Production.INFO: Total Charge 0 [2025-03-09 01:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639269') end [2025-03-09 01:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:57:04] Production.INFO: 1 [2025-03-09 01:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:57:04] Production.INFO: CreateAllLog End [2025-03-09 01:57:04] Production.INFO: ==2681== Releasing lock... [2025-03-09 01:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:57:04] Production.ERROR: done [2025-03-09 01:57:04] Production.INFO: Account Balance End. [2025-03-09 01:57:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:57:04] Production.INFO: ==2677== Releasing lock... [2025-03-09 01:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:57:05 [end_date_ymd] => 2025-03-09 01:57:05 [RateCDR] => 1 ) [2025-03-09 01:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:57:05' and `end` < '2025-03-09 01:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:57:13] Production.ERROR: CronJobId end10 [2025-03-09 01:57:13] Production.INFO: ==2675== Releasing lock... [2025-03-09 01:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:57:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:57:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:57:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:57:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:57:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:57:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:57:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:57:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:57:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:57:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:57:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:57:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:57:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:57:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:57:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:57:15] Production.INFO: call_cost start [2025-03-09 01:57:15] Production.INFO: call_cost end [2025-03-09 01:57:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:57:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:57:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:57:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:57:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:57:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:57:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:57:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:57:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:57:16] Production.INFO: ==2671== Releasing lock... [2025-03-09 01:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:57:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:57:17] Production.INFO: count ==621 [2025-03-09 01:57:17] Production.ERROR: pbx CDR StartTime 2025-03-08 22:57:05 - End Time 2025-03-09 01:57:05 [2025-03-09 01:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639270', 'tblTempUsageDetail_20' ) start [2025-03-09 01:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639270', 'tblTempUsageDetail_20' ) end [2025-03-09 01:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639270', 'tblTempVendorCDR_20' ) start [2025-03-09 01:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639270', 'tblTempVendorCDR_20' ) end [2025-03-09 01:57:17] Production.INFO: ProcessCDR(1,14639270,1,1,2) [2025-03-09 01:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639270', 'tblTempUsageDetail_20' ) start [2025-03-09 01:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639270', 'tblTempUsageDetail_20' ) end [2025-03-09 01:57:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:57:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:57:21] Production.INFO: ==2679== Releasing lock... [2025-03-09 01:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:57:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 06:58:01] Production.INFO: ==2749== Lock acquired, processing the job... [2025-03-09 06:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:58:01] Production.INFO: neon service started [2025-03-09 06:58:01] Production.INFO: neon service started [2025-03-09 06:58:01] Production.INFO: ==2749== Releasing lock... [2025-03-09 06:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:58:02] Production.INFO: ==2751== Lock acquired, processing the job... [2025-03-09 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:58:02] Production.INFO: ==2753== Lock acquired, processing the job... [2025-03-09 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:58:02] Production.INFO: ==2753== Releasing lock... [2025-03-09 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:58:03] Production.INFO: ==2751== Releasing lock... [2025-03-09 01:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:58:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:58:03] Production.INFO: ==2756== Lock acquired, processing the job... [2025-03-09 01:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:58:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:58:04] Production.INFO: ==2762== Lock acquired, processing the job... [2025-03-09 01:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:58:04] Production.INFO: ==2758== Lock acquired, processing the job... [2025-03-09 01:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:58:04] Production.INFO: ==2760== Lock acquired, processing the job... [2025-03-09 01:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:58:04] Production.INFO: Account Balance Start. [2025-03-09 01:58:04] Production.INFO: CreateAllLog Start [2025-03-09 01:58:04] Production.INFO: 117 [2025-03-09 01:58:04] Production.INFO: Date 2025-03-08 [2025-03-09 01:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:58:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:58:04] Production.INFO: Date 2025-03-09 [2025-03-09 01:58:04] Production.INFO: Reseller ==> 0 [2025-03-09 01:58:04] Production.INFO: ==2764== Lock acquired, processing the job... [2025-03-09 01:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:58:04] Production.INFO: Total Charge 0 [2025-03-09 01:58:04] Production.INFO: ==2766== Lock acquired, processing the job... [2025-03-09 01:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:58:04] Production.INFO: CreateAllLog End [2025-03-09 01:58:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 01:58:04] Production.INFO: ==2758== Releasing lock... [2025-03-09 01:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:58:04] Production.INFO: count ==13 [2025-03-09 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-09 01:58:04] Production.INFO: count ==21 [2025-03-09 01:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639274') start [2025-03-09 01:58:04] Production.INFO: Account Balance End. [2025-03-09 01:58:04] Production.ERROR: done [2025-03-09 01:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:58:04] Production.ERROR: CronJobId end 12 [2025-03-09 01:58:04] Production.INFO: ==2762== Releasing lock... [2025-03-09 01:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639274') end [2025-03-09 01:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:58:04] Production.INFO: 1 [2025-03-09 01:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:58:05] Production.ERROR: done [2025-03-09 01:58:05] Production.INFO: ==2766== Releasing lock... [2025-03-09 01:58:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:58:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:58:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:58:06 [end_date_ymd] => 2025-03-09 01:58:06 [RateCDR] => 1 ) [2025-03-09 01: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-08 22:58:06' and `end` < '2025-03-09 01: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-09 01:58:13] Production.ERROR: CronJobId end10 [2025-03-09 01:58:13] Production.INFO: ==2760== Releasing lock... [2025-03-09 01:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:58:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:58:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:58:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:58:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:58:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:58:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:58:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:58:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:58:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:58:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:58:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:58:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:58:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:58:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:58:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:58:16] Production.INFO: call_cost start [2025-03-09 01:58:16] Production.INFO: call_cost end [2025-03-09 01:58:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:58:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:58:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:58:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:58:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:58:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:58:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:58:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:58:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:58:17] Production.INFO: ==2756== Releasing lock... [2025-03-09 01:58:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:58:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:58:18] Production.INFO: count ==619 [2025-03-09 01:58:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:58:06 - End Time 2025-03-09 01:58:06 [2025-03-09 01:58:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639275', 'tblTempUsageDetail_20' ) start [2025-03-09 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639275', 'tblTempUsageDetail_20' ) end [2025-03-09 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639275', 'tblTempVendorCDR_20' ) start [2025-03-09 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639275', 'tblTempVendorCDR_20' ) end [2025-03-09 01:58:18] Production.INFO: ProcessCDR(1,14639275,1,1,2) [2025-03-09 01:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639275', 'tblTempUsageDetail_20' ) start [2025-03-09 01:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639275', 'tblTempUsageDetail_20' ) end [2025-03-09 01:58:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:58:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:58:22] Production.INFO: ==2764== Releasing lock... [2025-03-09 01:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:58:22] Production.INFO: 33 MB #Memory Used# [2025-03-09 06:59:01] Production.INFO: ==2864== Lock acquired, processing the job... [2025-03-09 06:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 06:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 06:59:01] Production.INFO: neon service started [2025-03-09 06:59:01] Production.INFO: neon service started [2025-03-09 06:59:01] Production.INFO: ==2864== Releasing lock... [2025-03-09 06:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 06:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 01:59:01] Production.INFO: ==2866== Lock acquired, processing the job... [2025-03-09 01:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:59:02] Production.INFO: ==2868== Lock acquired, processing the job... [2025-03-09 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:59:02] Production.INFO: ==2868== Releasing lock... [2025-03-09 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 06:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 01:59:02] Production.INFO: ==2866== Releasing lock... [2025-03-09 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 01:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 01:59:03] Production.INFO: ==2875== Lock acquired, processing the job... [2025-03-09 01:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 01:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 01:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 01:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 01:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 01:59:03] Production.INFO: ==2877== Lock acquired, processing the job... [2025-03-09 01:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 01:59:03] Production.INFO: ==2881== Lock acquired, processing the job... [2025-03-09 01:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 01:59:03] Production.INFO: Account Balance Start. [2025-03-09 01:59:03] Production.INFO: CreateAllLog Start [2025-03-09 01:59:03] Production.INFO: 117 [2025-03-09 01:59:03] Production.INFO: Date 2025-03-08 [2025-03-09 01:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:59:03] Production.INFO: Date 2025-03-09 [2025-03-09 01:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 01:59:03] Production.INFO: count ==13 [2025-03-09 01:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 01:59:03] Production.INFO: count ==21 [2025-03-09 01:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639277') start [2025-03-09 01:59:03] Production.INFO: ==2873== Lock acquired, processing the job... [2025-03-09 01:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 01:59:03] Production.INFO: ==2871== Lock acquired, processing the job... [2025-03-09 01:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 01:59:03] Production.INFO: Total Charge 0 [2025-03-09 01:59:03] Production.INFO: CreateAllLog End [2025-03-09 01:59:03] Production.INFO: ==2879== Lock acquired, processing the job... [2025-03-09 01:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 01:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639277') end [2025-03-09 01:59:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 01:59:03] Production.INFO: 1 [2025-03-09 01:59:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 01:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 01:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 01:59:03] Production.INFO: ==2881== Releasing lock... [2025-03-09 01:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 01:59:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 01:59:03] Production.INFO: Account Balance End. [2025-03-09 01:59:03] Production.ERROR: CronJobId end 12 [2025-03-09 01:59:03] Production.INFO: ==2877== Releasing lock... [2025-03-09 01:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 01:59:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 01:59:04] Production.INFO: ==2873== Releasing lock... [2025-03-09 01:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 01:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 01:59:04] Production.ERROR: done [2025-03-09 01:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 01:59:04] Production.ERROR: done [2025-03-09 01:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-08 22:59:05 [end_date_ymd] => 2025-03-09 01:59:05 [RateCDR] => 1 ) [2025-03-09 01:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-08 22:59:05' and `end` < '2025-03-09 01:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 01:59:12] Production.ERROR: CronJobId end10 [2025-03-09 01:59:12] Production.INFO: ==2875== Releasing lock... [2025-03-09 01:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 01:59:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 01:59:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 01:59:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 01:59:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 01:59:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 01:59:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 01:59:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 01:59:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 01:59:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 01:59:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 01:59:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 01:59:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 01:59:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 01:59:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 01:59:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 01:59:14] Production.INFO: call_cost start [2025-03-09 01:59:14] Production.INFO: call_cost end [2025-03-09 01:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 01:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 01:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 01:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 01:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 01:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 01:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 01:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 01:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 01:59:15] Production.INFO: ==2871== Releasing lock... [2025-03-09 01:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 01:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 01:59:17] Production.INFO: count ==614 [2025-03-09 01:59:18] Production.ERROR: pbx CDR StartTime 2025-03-08 22:59:05 - End Time 2025-03-09 01:59:05 [2025-03-09 01:59:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639280', 'tblTempUsageDetail_20' ) start [2025-03-09 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639280', 'tblTempUsageDetail_20' ) end [2025-03-09 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639280', 'tblTempVendorCDR_20' ) start [2025-03-09 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639280', 'tblTempVendorCDR_20' ) end [2025-03-09 01:59:18] Production.INFO: ProcessCDR(1,14639280,1,1,2) [2025-03-09 01:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 01:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 01:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639280', 'tblTempUsageDetail_20' ) start [2025-03-09 01:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639280', 'tblTempUsageDetail_20' ) end [2025-03-09 01:59:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 01:59:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 01:59:21] Production.INFO: ==2879== Releasing lock... [2025-03-09 01:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 01:59:21] Production.INFO: 33 MB #Memory Used# [2025-03-09 07:00:01] Production.INFO: ==2949== Lock acquired, processing the job... [2025-03-09 07:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:00:01] Production.INFO: neon service started [2025-03-09 07:00:02] Production.INFO: neon service started [2025-03-09 07:00:02] Production.INFO: ==2949== Releasing lock... [2025-03-09 07:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:00:02] Production.INFO: ==2951== Lock acquired, processing the job... [2025-03-09 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:00:02] Production.INFO: ==2953== Lock acquired, processing the job... [2025-03-09 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:00:02] Production.INFO: ==2953== Releasing lock... [2025-03-09 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:00:02] Production.INFO: ==2951== Releasing lock... [2025-03-09 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:00:03] Production.INFO: ==2963== Lock acquired, processing the job... [2025-03-09 03:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:00:04] Production.INFO: ==2970== Lock acquired, processing the job... [2025-03-09 03:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 03:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:00:04] Production.INFO: ==2972== Lock acquired, processing the job... [2025-03-09 03:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:00:04] Production.INFO: count ==13 [2025-03-09 03:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:00:04] Production.INFO: count ==21 [2025-03-09 03:00:04] Production.INFO: ==2968== Lock acquired, processing the job... [2025-03-09 03:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:00:04] Production.ERROR: done [2025-03-09 03:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639281') start [2025-03-09 03:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 03:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639282', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 03:00:04] Production.INFO: ==2955== Lock acquired, processing the job... [2025-03-09 03:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 03:00:04] Production.INFO: ==2957== Lock acquired, processing the job... [2025-03-09 03:00:04] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Starts# [2025-03-09 03:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639281') end [2025-03-09 03:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:00:04] Production.INFO: 1 [2025-03-09 03:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:00:04] Production.INFO: ==2959== Lock acquired, processing the job... [2025-03-09 03:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:00:04] Production.INFO: ==2961== Lock acquired, processing the job... [2025-03-09 03:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:00:04] Production.INFO: ==2965== Lock acquired, processing the job... [2025-03-09 03:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:00:04] Production.INFO: ==2972== Releasing lock... [2025-03-09 03:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:00:05] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:00:05] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 03:00:05] Production.INFO: Account Balance Start. [2025-03-09 03:00:05] Production.INFO: CreateAllLog Start [2025-03-09 03:00:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 03:00:05] Production.ERROR: CronJob PID - 2957 [2025-03-09 03:00:05] Production.ERROR: CronJob Title - Server CleanUP [2025-03-09 03:00:05] Production.ERROR: CronJob ID - 4 [2025-03-09 03:00:05] Production.ERROR: CronJob Last Run Time 2025-03-09 03:00:00 [2025-03-09 03:00:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 03:00:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 03:00:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 03:00:05] Production.ERROR: CronJob PID - 2959 [2025-03-09 03:00:05] Production.ERROR: CronJob Title - System Alerts [2025-03-09 03:00:05] Production.ERROR: CronJob ID - 5 [2025-03-09 03:00:05] Production.ERROR: CronJob Last Run Time 2025-03-09 03:00:00 [2025-03-09 03:00:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 03:00:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 03:00:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 03:00:05] Production.ERROR: CronJob PID - 2961 [2025-03-09 03:00:05] Production.ERROR: CronJob Title - Account Block [2025-03-09 03:00:05] Production.ERROR: CronJob ID - 7 [2025-03-09 03:00:05] Production.ERROR: CronJob Last Run Time 2025-03-09 03:00:00 [2025-03-09 03:00:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 03:00:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 03:00:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 03:00:05] Production.ERROR: CronJob PID - 2963 [2025-03-09 03:00:05] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 03:00:05] Production.ERROR: CronJob ID - 10 [2025-03-09 03:00:05] Production.ERROR: CronJob Last Run Time 2025-03-09 03:00:00 [2025-03-09 03:00:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 03:00:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 03:00:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 03:00:05] Production.ERROR: CronJob PID - 2965 [2025-03-09 03:00:05] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 03:00:05] Production.ERROR: CronJob ID - 12 [2025-03-09 03:00:05] Production.ERROR: CronJob Last Run Time 2025-03-09 03:00:00 [2025-03-09 03:00:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 03:00:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 03:00:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 03:00:05] Production.ERROR: CronJob PID - 2968 [2025-03-09 03:00:05] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 03:00:05] Production.ERROR: CronJob ID - 16 [2025-03-09 03:00:05] Production.ERROR: CronJob Last Run Time 2025-03-09 03:00:00 [2025-03-09 03:00:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 03:00:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 03:00:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 03:00:05] Production.ERROR: CronJob PID - 2970 [2025-03-09 03:00:05] Production.INFO: 117 [2025-03-09 03:00:05] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-09 03:00:05] Production.ERROR: CronJob ID - 17 [2025-03-09 03:00:05] Production.ERROR: CronJob Last Run Time 2025-03-09 03:00:00 [2025-03-09 03:00:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 03:00:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 03:00:05] Production.INFO: Date 2025-03-08 [2025-03-09 03:00:05] Production.INFO: Reseller ==> 0 [2025-03-09 03:00:05] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 03:00:05] Production.INFO: ==2955== Releasing lock... [2025-03-09 03:00:05] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 03:00:05] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 03:00:05] Production.ERROR: done [2025-03-09 03:00:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:00:05] Production.INFO: Date 2025-03-09 [2025-03-09 03:00:05] Production.INFO: Reseller ==> 0 [2025-03-09 03:00:05] Production.INFO: Total Charge 0 [2025-03-09 03:00:05] Production.ERROR: done [2025-03-09 03:00:05] Production.INFO: CreateAllLog End [2025-03-09 03:00:05] Production.INFO: ==2961== Releasing lock... [2025-03-09 03:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:00:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:00:05] Production.INFO: Account Balance End. [2025-03-09 03:00:05] Production.ERROR: CronJobId end 12 [2025-03-09 03:00:05] Production.INFO: ==2965== Releasing lock... [2025-03-09 03:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:00:06] Production.INFO: Disk FileSystem - df -Ph | awk '{printf "%-35s%-10s%-10s%-10s%-10s%s\n",$1,$2,$3,$4,$5,$6}' [2025-03-09 03:00:06] Production.INFO: output Filesystem Size Used Avail Use% Mounted devtmpfs 15G 4.0K 15G 1% /dev tmpfs 15G 0 15G 0% /dev/shm tmpfs 15G 1.5G 13G 10% /run tmpfs 15G 0 15G 0% /sys/fs/cgroup /dev/sda1 50G 35G 16G 70% / /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/loop2 56M 56M 0 100% /var/lib/snapd/snap/certbot/4325 /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 tmpfs 2.9G 0 2.9G 0% /run/user/0 [2025-03-09 03:00:06] Production.INFO: Delete Storage Log Start [2025-03-09 03:00:06] Production.INFO: Front End Delete Storage Log Start [2025-03-09 03:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:00:06 [end_date_ymd] => 2025-03-09 04:00:06 [RateCDR] => 1 ) [2025-03-09 03:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:00:06' and `end` < '2025-03-09 04:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:00:07] Production.INFO: find /var/www/html/onswitch.neon/app/storage/logs -maxdepth 1 -name "*.log" -mtime +31 -type f -exec rm {} \; [2025-03-09 03:00:07] Production.INFO: Front End Delete Storage Log End [2025-03-09 03:00:07] Production.INFO: Back End(Service) Delete Storage Log Start [2025-03-09 03:00:07] Production.INFO: find /var/www/html/onswitch.neon.service/storage/logs -maxdepth 1 -name "*.log" -mtime +31 -type f -exec rm {} \; [2025-03-09 03:00:07] Production.INFO: Back End(Service) Delete Storage Log End [2025-03-09 03:00:07] Production.INFO: Delete Storage Log End [2025-03-09 03:00:07] Production.INFO: Delete Temp Files Start [2025-03-09 03:00:08] Production.INFO: find /var/www/tmp* -maxdepth 1 -mtime +3 -type f -exec rm {} \; [2025-03-09 03:00:08] Production.INFO: Delete Temp Files End [2025-03-09 03:00:08] Production.INFO: Delete CDR File Start [2025-03-09 03:00:08] Production.INFO: Delete CDR File End [2025-03-09 03:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639282', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 03:00:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 03:00:08] Production.INFO: ProcessCDR(1,14639282,1,1,2) [2025-03-09 03:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14639282,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14639282,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:00:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:00:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:00:08] Production.INFO: ==2970== Releasing lock... [2025-03-09 03:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 03:00:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 03:00:09] Production.INFO: Disk FileSystem - df -Ph | awk '{printf "%-35s%-10s%-10s%-10s%-10s%s\n",$1,$2,$3,$4,$5,$6}' [2025-03-09 03:00:09] Production.INFO: output Filesystem Size Used Avail Use% Mounted devtmpfs 15G 4.0K 15G 1% /dev tmpfs 15G 0 15G 0% /dev/shm tmpfs 15G 1.5G 13G 10% /run tmpfs 15G 0 15G 0% /sys/fs/cgroup /dev/sda1 50G 35G 16G 70% / /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/loop2 56M 56M 0 100% /var/lib/snapd/snap/certbot/4325 /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 tmpfs 2.9G 0 2.9G 0% /run/user/0 [2025-03-09 03:00:09] Production.ERROR: CronJobId end 4 [2025-03-09 03:00:09] Production.INFO: ==2957== Releasing lock... [2025-03-09 03:00:09] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Stops# [2025-03-09 03:00:09] Production.INFO: 29.5 MB #Memory Used# [2025-03-09 03:00:18] Production.ERROR: CronJobId end10 [2025-03-09 03:00:18] Production.INFO: ==2963== Releasing lock... [2025-03-09 03:00:18] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:00:18] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:00:18] Production.INFO: count ==388 [2025-03-09 03:00:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:00:06 - End Time 2025-03-09 04:00:06 [2025-03-09 03:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639286', 'tblTempUsageDetail_20' ) start [2025-03-09 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639286', 'tblTempUsageDetail_20' ) end [2025-03-09 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639286', 'tblTempVendorCDR_20' ) start [2025-03-09 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639286', 'tblTempVendorCDR_20' ) end [2025-03-09 03:00:19] Production.INFO: ProcessCDR(1,14639286,1,1,2) [2025-03-09 03:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:00:20] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:00:20] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:00:20] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:00:20] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:00:20] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:00:20] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:00:20] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:00:20] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:00:20] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:00:20] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:00:20] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:00:20] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:00:20] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:00:20] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:00:20] Production.INFO: call_cost start [2025-03-09 03:00:20] Production.INFO: call_cost end [2025-03-09 03:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:00:21] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:00:21] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:00:21] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:00:21] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:00:21] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:00:21] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:00:21] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:00:21] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:00:21] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:00:21] Production.INFO: ==2959== Releasing lock... [2025-03-09 03:00:21] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:00:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639286', 'tblTempUsageDetail_20' ) start [2025-03-09 03:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639286', 'tblTempUsageDetail_20' ) end [2025-03-09 03:00:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:00:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:00:23] Production.INFO: ==2968== Releasing lock... [2025-03-09 03:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:00:23] Production.INFO: 31.5 MB #Memory Used# [2025-03-09 07:01:01] Production.INFO: ==3117== Lock acquired, processing the job... [2025-03-09 07:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:01:01] Production.INFO: neon service started [2025-03-09 07:01:01] Production.INFO: neon service started [2025-03-09 07:01:01] Production.INFO: ==3117== Releasing lock... [2025-03-09 07:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:01:01] Production.INFO: ==3132== Lock acquired, processing the job... [2025-03-09 07:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:01:01] Production.INFO: ==3132== Releasing lock... [2025-03-09 07:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:01:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:01:02] Production.INFO: ==3130== Lock acquired, processing the job... [2025-03-09 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:01:02] Production.INFO: ==3130== Releasing lock... [2025-03-09 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:01:03] Production.INFO: ==3136== Lock acquired, processing the job... [2025-03-09 03:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:01:03] Production.INFO: ==3138== Lock acquired, processing the job... [2025-03-09 03:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:01:03] Production.INFO: ==3142== Lock acquired, processing the job... [2025-03-09 03:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:01:03] Production.INFO: ==3134== Lock acquired, processing the job... [2025-03-09 03:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:01:03] Production.INFO: ==3136== Releasing lock... [2025-03-09 03:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:01:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:01:03] Production.INFO: ==3140== Lock acquired, processing the job... [2025-03-09 03:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:01:03] Production.INFO: ==3145== Lock acquired, processing the job... [2025-03-09 03:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:01:03] Production.ERROR: done [2025-03-09 03:01:03] Production.INFO: Account Balance Start. [2025-03-09 03:01:03] Production.INFO: CreateAllLog Start [2025-03-09 03:01:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:01:03] Production.INFO: 117 [2025-03-09 03:01:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:01:03] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 03:01:03] Production.ERROR: done [2025-03-09 03:01:03] Production.INFO: count ==13 [2025-03-09 03:01:03] Production.INFO: Date 2025-03-09 [2025-03-09 03:01:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:01:03] Production.INFO: count ==21 [2025-03-09 03:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639290') start [2025-03-09 03:01:03] Production.INFO: Total Charge 0 [2025-03-09 03:01:03] Production.INFO: CreateAllLog End [2025-03-09 03:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639290') end [2025-03-09 03:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:01:04] Production.INFO: 1 [2025-03-09 03:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:01:04] Production.INFO: ==3145== Releasing lock... [2025-03-09 03:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:01:04] Production.INFO: Account Balance End. [2025-03-09 03:01:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:01:04] Production.INFO: ==3140== Releasing lock... [2025-03-09 03:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:01:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:01:04 [end_date_ymd] => 2025-03-09 04:01:04 [RateCDR] => 1 ) [2025-03-09 03:01:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:01:04' and `end` < '2025-03-09 04:01:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:01:11] Production.ERROR: CronJobId end10 [2025-03-09 03:01:11] Production.INFO: ==3138== Releasing lock... [2025-03-09 03:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:01:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:01:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:01:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:01:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:01:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:01:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:01:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:01:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:01:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:01:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:01:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:01:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:01:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:01:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:01:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:01:14] Production.INFO: call_cost start [2025-03-09 03:01:14] Production.INFO: call_cost end [2025-03-09 03:01:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:01:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:01:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:01:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:01:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:01:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:01:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:01:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:01:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:01:15] Production.INFO: ==3134== Releasing lock... [2025-03-09 03:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:01:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:01:16] Production.INFO: count ==390 [2025-03-09 03:01:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:01:04 - End Time 2025-03-09 04:01:04 [2025-03-09 03:01:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639291', 'tblTempUsageDetail_20' ) start [2025-03-09 03:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639291', 'tblTempUsageDetail_20' ) end [2025-03-09 03:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639291', 'tblTempVendorCDR_20' ) start [2025-03-09 03:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639291', 'tblTempVendorCDR_20' ) end [2025-03-09 03:01:17] Production.INFO: ProcessCDR(1,14639291,1,1,2) [2025-03-09 03:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:01:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639291', 'tblTempUsageDetail_20' ) start [2025-03-09 03:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639291', 'tblTempUsageDetail_20' ) end [2025-03-09 03:01:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:01:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:01:20] Production.INFO: ==3142== Releasing lock... [2025-03-09 03:01:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:01:20] Production.INFO: 31 MB #Memory Used# [2025-03-09 07:02:02] Production.INFO: ==3197== Lock acquired, processing the job... [2025-03-09 07:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:02:02] Production.INFO: neon service started [2025-03-09 07:02:02] Production.INFO: neon service started [2025-03-09 07:02:02] Production.INFO: ==3197== Releasing lock... [2025-03-09 07:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:02:02] Production.INFO: ==3201== Lock acquired, processing the job... [2025-03-09 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:02:02] Production.INFO: ==3201== Releasing lock... [2025-03-09 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:02:02] Production.INFO: ==3199== Lock acquired, processing the job... [2025-03-09 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:02:02] Production.INFO: ==3199== Releasing lock... [2025-03-09 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:02:03] Production.INFO: ==3206== Lock acquired, processing the job... [2025-03-09 03:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:02:03] Production.INFO: ==3214== Lock acquired, processing the job... [2025-03-09 03:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:02:03] Production.INFO: ==3204== Lock acquired, processing the job... [2025-03-09 03:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:02:04] Production.INFO: ==3208== Lock acquired, processing the job... [2025-03-09 03:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:02:04] Production.INFO: ==3210== Lock acquired, processing the job... [2025-03-09 03:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:02:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:02:04] Production.INFO: ==3212== Lock acquired, processing the job... [2025-03-09 03:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:02:04] Production.INFO: count ==13 [2025-03-09 03:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:02:04] Production.INFO: count ==21 [2025-03-09 03:02:04] Production.INFO: Account Balance Start. [2025-03-09 03:02:04] Production.INFO: CreateAllLog Start [2025-03-09 03:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:02:04] Production.INFO: 117 [2025-03-09 03:02:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639293') start [2025-03-09 03:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:02:04] Production.INFO: ==3206== Releasing lock... [2025-03-09 03:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:02:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:02:04] Production.INFO: Total Charge 0 [2025-03-09 03:02:04] Production.INFO: CreateAllLog End [2025-03-09 03:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639293') end [2025-03-09 03:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:02:04] Production.INFO: 1 [2025-03-09 03:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:02:04] Production.INFO: ==3214== Releasing lock... [2025-03-09 03:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:02:04] Production.ERROR: done [2025-03-09 03:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:02:04] Production.INFO: Account Balance End. [2025-03-09 03:02:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:02:04] Production.INFO: ==3210== Releasing lock... [2025-03-09 03:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:02:04] Production.ERROR: done [2025-03-09 03:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:02:05 [end_date_ymd] => 2025-03-09 04:02:05 [RateCDR] => 1 ) [2025-03-09 03:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:02:05' and `end` < '2025-03-09 04:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:02:11] Production.ERROR: CronJobId end10 [2025-03-09 03:02:11] Production.INFO: ==3208== Releasing lock... [2025-03-09 03:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:02:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:02:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:02:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:02:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:02:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:02:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:02:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:02:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:02:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:02:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:02:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:02:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:02:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:02:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:02:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:02:14] Production.INFO: call_cost start [2025-03-09 03:02:14] Production.INFO: call_cost end [2025-03-09 03:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:02:15] Production.INFO: ==3204== Releasing lock... [2025-03-09 03:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:02:17] Production.INFO: count ==390 [2025-03-09 03:02:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:02:05 - End Time 2025-03-09 04:02:05 [2025-03-09 03:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639296', 'tblTempUsageDetail_20' ) start [2025-03-09 03:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639296', 'tblTempUsageDetail_20' ) end [2025-03-09 03:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639296', 'tblTempVendorCDR_20' ) start [2025-03-09 03:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639296', 'tblTempVendorCDR_20' ) end [2025-03-09 03:02:17] Production.INFO: ProcessCDR(1,14639296,1,1,2) [2025-03-09 03:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639296', 'tblTempUsageDetail_20' ) start [2025-03-09 03:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639296', 'tblTempUsageDetail_20' ) end [2025-03-09 03:02:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:02:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:02:21] Production.INFO: ==3212== Releasing lock... [2025-03-09 03:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:02:21] Production.INFO: 31 MB #Memory Used# [2025-03-09 07:03:01] Production.INFO: ==3271== Lock acquired, processing the job... [2025-03-09 07:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:03:01] Production.INFO: neon service started [2025-03-09 07:03:01] Production.INFO: neon service started [2025-03-09 07:03:01] Production.INFO: ==3271== Releasing lock... [2025-03-09 07:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:03:02] Production.INFO: ==3275== Lock acquired, processing the job... [2025-03-09 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:03:02] Production.INFO: ==3275== Releasing lock... [2025-03-09 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:03:02] Production.INFO: 26 MB #Memory Used# [2025-03-09 03:03:02] Production.INFO: ==3273== Lock acquired, processing the job... [2025-03-09 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:03:02] Production.INFO: ==3273== Releasing lock... [2025-03-09 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:03:03] Production.INFO: ==3286== Lock acquired, processing the job... [2025-03-09 03:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:03:03] Production.INFO: ==3288== Lock acquired, processing the job... [2025-03-09 03:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:03:03] Production.INFO: count ==13 [2025-03-09 03:03:03] Production.INFO: ==3278== Lock acquired, processing the job... [2025-03-09 03:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:03:03] Production.INFO: count ==21 [2025-03-09 03:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639297') start [2025-03-09 03:03:03] Production.INFO: ==3280== Lock acquired, processing the job... [2025-03-09 03:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:03:03] Production.INFO: ==3282== Lock acquired, processing the job... [2025-03-09 03:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:03:03] Production.INFO: ==3284== Lock acquired, processing the job... [2025-03-09 03:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639297') end [2025-03-09 03:03:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:03:03] Production.INFO: 1 [2025-03-09 03:03:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:03:03] Production.INFO: Account Balance Start. [2025-03-09 03:03:03] Production.INFO: CreateAllLog Start [2025-03-09 03:03:03] Production.INFO: 117 [2025-03-09 03:03:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:03:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:03:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:03:04] Production.INFO: ==3288== Releasing lock... [2025-03-09 03:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:03:04] Production.INFO: Total Charge 0 [2025-03-09 03:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:03:04] Production.INFO: CreateAllLog End [2025-03-09 03:03:04] Production.ERROR: done [2025-03-09 03:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:03:04] Production.INFO: ==3280== Releasing lock... [2025-03-09 03:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:03:04] Production.ERROR: done [2025-03-09 03:03:04] Production.INFO: Account Balance End. [2025-03-09 03:03:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:03:04] Production.INFO: ==3284== Releasing lock... [2025-03-09 03:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:03:05 [end_date_ymd] => 2025-03-09 04:03:05 [RateCDR] => 1 ) [2025-03-09 03:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:03:05' and `end` < '2025-03-09 04:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:03:12] Production.ERROR: CronJobId end10 [2025-03-09 03:03:12] Production.INFO: ==3282== Releasing lock... [2025-03-09 03:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:03:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:03:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:03:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:03:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:03:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:03:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:03:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:03:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:03:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:03:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:03:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:03:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:03:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:03:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:03:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:03:15] Production.INFO: call_cost start [2025-03-09 03:03:15] Production.INFO: call_cost end [2025-03-09 03:03:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:03:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:03:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:03:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:03:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:03:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:03:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:03:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:03:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:03:16] Production.INFO: ==3278== Releasing lock... [2025-03-09 03:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:03:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:03:17] Production.INFO: count ==391 [2025-03-09 03:03:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:03:05 - End Time 2025-03-09 04:03:05 [2025-03-09 03:03:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639301', 'tblTempUsageDetail_20' ) start [2025-03-09 03:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639301', 'tblTempUsageDetail_20' ) end [2025-03-09 03:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639301', 'tblTempVendorCDR_20' ) start [2025-03-09 03:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639301', 'tblTempVendorCDR_20' ) end [2025-03-09 03:03:17] Production.INFO: ProcessCDR(1,14639301,1,1,2) [2025-03-09 03:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639301', 'tblTempUsageDetail_20' ) start [2025-03-09 03:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639301', 'tblTempUsageDetail_20' ) end [2025-03-09 03:03:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:03:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:03:22] Production.INFO: ==3286== Releasing lock... [2025-03-09 03:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:03:22] Production.INFO: 31.25 MB #Memory Used# [2025-03-09 07:04:02] Production.INFO: ==3343== Lock acquired, processing the job... [2025-03-09 07:04:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:04:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:04:02] Production.INFO: neon service started [2025-03-09 07:04:02] Production.INFO: neon service started [2025-03-09 07:04:02] Production.INFO: ==3343== Releasing lock... [2025-03-09 07:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:04:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:04:02] Production.INFO: ==3345== Lock acquired, processing the job... [2025-03-09 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:04:02] Production.INFO: ==3347== Lock acquired, processing the job... [2025-03-09 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:04:02] Production.INFO: ==3347== Releasing lock... [2025-03-09 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:04:03] Production.INFO: ==3345== Releasing lock... [2025-03-09 03:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:04:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:04:04] Production.INFO: ==3354== Lock acquired, processing the job... [2025-03-09 03:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:04:04] Production.INFO: ==3360== Lock acquired, processing the job... [2025-03-09 03:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:04:04] Production.INFO: ==3350== Lock acquired, processing the job... [2025-03-09 03:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:04:04] Production.INFO: count ==13 [2025-03-09 03:04:04] Production.INFO: ==3352== Lock acquired, processing the job... [2025-03-09 03:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:04:04] Production.INFO: count ==21 [2025-03-09 03:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639302') start [2025-03-09 03:04:04] Production.INFO: ==3358== Lock acquired, processing the job... [2025-03-09 03:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:04:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:04:04] Production.INFO: ==3356== Lock acquired, processing the job... [2025-03-09 03:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639302') end [2025-03-09 03:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:04:04] Production.INFO: 1 [2025-03-09 03:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:04:04] Production.INFO: ==3360== Releasing lock... [2025-03-09 03:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:04:04] Production.INFO: Account Balance Start. [2025-03-09 03:04:04] Production.INFO: CreateAllLog Start [2025-03-09 03:04:04] Production.INFO: 117 [2025-03-09 03:04:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:04:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:04:04] Production.INFO: ==3352== Releasing lock... [2025-03-09 03:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:04:04] Production.INFO: Total Charge 0 [2025-03-09 03:04:04] Production.ERROR: done [2025-03-09 03:04:04] Production.INFO: CreateAllLog End [2025-03-09 03:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:04:05] Production.ERROR: done [2025-03-09 03:04:05] Production.INFO: Account Balance End. [2025-03-09 03:04:05] Production.ERROR: CronJobId end 12 [2025-03-09 03:04:05] Production.INFO: ==3356== Releasing lock... [2025-03-09 03:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:04:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:04:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:04:06 [end_date_ymd] => 2025-03-09 04:04:06 [RateCDR] => 1 ) [2025-03-09 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-09 00:04:06' and `end` < '2025-03-09 04:04:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:04:12] Production.ERROR: CronJobId end10 [2025-03-09 03:04:12] Production.INFO: ==3354== Releasing lock... [2025-03-09 03:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:04:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:04:14] Production.INFO: call_cost start [2025-03-09 03:04:14] Production.INFO: call_cost end [2025-03-09 03:04:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:04:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:04:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:04:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:04:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:04:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:04:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:04:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:04:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:04:15] Production.INFO: ==3350== Releasing lock... [2025-03-09 03:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:04:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:04:18] Production.INFO: count ==392 [2025-03-09 03:04:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:04:06 - End Time 2025-03-09 04:04:06 [2025-03-09 03:04:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639306', 'tblTempUsageDetail_20' ) start [2025-03-09 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639306', 'tblTempUsageDetail_20' ) end [2025-03-09 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639306', 'tblTempVendorCDR_20' ) start [2025-03-09 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639306', 'tblTempVendorCDR_20' ) end [2025-03-09 03:04:18] Production.INFO: ProcessCDR(1,14639306,1,1,2) [2025-03-09 03:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639306', 'tblTempUsageDetail_20' ) start [2025-03-09 03:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639306', 'tblTempUsageDetail_20' ) end [2025-03-09 03:04:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:04:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:04:23] Production.INFO: ==3358== Releasing lock... [2025-03-09 03:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:04:23] Production.INFO: 31.5 MB #Memory Used# [2025-03-09 07:05:01] Production.INFO: ==3412== Lock acquired, processing the job... [2025-03-09 07:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:05:01] Production.INFO: neon service started [2025-03-09 07:05:01] Production.INFO: neon service started [2025-03-09 07:05:01] Production.INFO: ==3412== Releasing lock... [2025-03-09 07:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:05:01] Production.INFO: ==3414== Lock acquired, processing the job... [2025-03-09 03:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:05:02] Production.INFO: ==3414== Releasing lock... [2025-03-09 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:05:02] Production.INFO: ==3416== Lock acquired, processing the job... [2025-03-09 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:05:02] Production.INFO: ==3416== Releasing lock... [2025-03-09 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:05:03] Production.INFO: ==3424== Lock acquired, processing the job... [2025-03-09 03:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:05:03] Production.INFO: ==3426== Lock acquired, processing the job... [2025-03-09 03:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:05:03] Production.INFO: ==3418== Lock acquired, processing the job... [2025-03-09 03:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:05:03] Production.INFO: Account Balance Start. [2025-03-09 03:05:03] Production.INFO: CreateAllLog Start [2025-03-09 03:05:03] Production.INFO: ==3420== Lock acquired, processing the job... [2025-03-09 03:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:05:03] Production.INFO: 117 [2025-03-09 03:05:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:05:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:05:03] Production.INFO: ==3422== Lock acquired, processing the job... [2025-03-09 03:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:05:03] Production.INFO: ==3428== Lock acquired, processing the job... [2025-03-09 03:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:05:03] Production.INFO: Date 2025-03-09 [2025-03-09 03:05:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:05:03] Production.INFO: Total Charge 0 [2025-03-09 03:05:03] Production.INFO: CreateAllLog End [2025-03-09 03:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:05:03] Production.INFO: count ==13 [2025-03-09 03:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:05:03] Production.INFO: count ==21 [2025-03-09 03:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639309') start [2025-03-09 03:05:03] Production.INFO: ==3420== Releasing lock... [2025-03-09 03:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:05:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:05:03] Production.ERROR: done [2025-03-09 03:05:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639309') end [2025-03-09 03:05:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:05:03] Production.INFO: 1 [2025-03-09 03:05:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:05:03] Production.INFO: Account Balance End. [2025-03-09 03:05:03] Production.INFO: ==3428== Releasing lock... [2025-03-09 03:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:05:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:05:03] Production.ERROR: CronJobId end 12 [2025-03-09 03:05:03] Production.INFO: ==3424== Releasing lock... [2025-03-09 03:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:05:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:05:04] Production.ERROR: done [2025-03-09 03:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:05:05 [end_date_ymd] => 2025-03-09 04:05:05 [RateCDR] => 1 ) [2025-03-09 03:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:05:05' and `end` < '2025-03-09 04:05:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:05:11] Production.ERROR: CronJobId end10 [2025-03-09 03:05:11] Production.INFO: ==3422== Releasing lock... [2025-03-09 03:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:05:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:05:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:05:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:05:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:05:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:05:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:05:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:05:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:05:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:05:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:05:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:05:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:05:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:05:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:05:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:05:14] Production.INFO: call_cost start [2025-03-09 03:05:14] Production.INFO: call_cost end [2025-03-09 03:05:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:05:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:05:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:05:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:05:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:05:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:05:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:05:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:05:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:05:15] Production.INFO: ==3418== Releasing lock... [2025-03-09 03:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:05:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:05:17] Production.INFO: count ==392 [2025-03-09 03:05:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:05:05 - End Time 2025-03-09 04:05:05 [2025-03-09 03:05:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639311', 'tblTempUsageDetail_20' ) start [2025-03-09 03:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639311', 'tblTempUsageDetail_20' ) end [2025-03-09 03:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639311', 'tblTempVendorCDR_20' ) start [2025-03-09 03:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639311', 'tblTempVendorCDR_20' ) end [2025-03-09 03:05:17] Production.INFO: ProcessCDR(1,14639311,1,1,2) [2025-03-09 03:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639311', 'tblTempUsageDetail_20' ) start [2025-03-09 03:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639311', 'tblTempUsageDetail_20' ) end [2025-03-09 03:05:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:05:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:05:20] Production.INFO: ==3426== Releasing lock... [2025-03-09 03:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:05:20] Production.INFO: 31.5 MB #Memory Used# [2025-03-09 07:06:02] Production.INFO: ==3486== Lock acquired, processing the job... [2025-03-09 07:06:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:06:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:06:02] Production.INFO: neon service started [2025-03-09 07:06:02] Production.INFO: neon service started [2025-03-09 07:06:02] Production.INFO: ==3486== Releasing lock... [2025-03-09 07:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:06:02] Production.INFO: ==3488== Lock acquired, processing the job... [2025-03-09 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:06:02] Production.INFO: ==3488== Releasing lock... [2025-03-09 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:06:02] Production.INFO: ==3490== Lock acquired, processing the job... [2025-03-09 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:06:03] Production.INFO: ==3490== Releasing lock... [2025-03-09 07:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:06:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:06:03] Production.INFO: ==3492== Lock acquired, processing the job... [2025-03-09 03:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:06:03] Production.INFO: ==3496== Lock acquired, processing the job... [2025-03-09 03:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:06:03] Production.INFO: ==3494== Lock acquired, processing the job... [2025-03-09 03:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:06:03] Production.INFO: ==3498== Lock acquired, processing the job... [2025-03-09 03:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:06:04] Production.INFO: ==3503== Lock acquired, processing the job... [2025-03-09 03:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:06:04] Production.INFO: ==3501== Lock acquired, processing the job... [2025-03-09 03:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:06:04] Production.INFO: Account Balance Start. [2025-03-09 03:06:04] Production.INFO: CreateAllLog Start [2025-03-09 03:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:06:04] Production.INFO: ==3494== Releasing lock... [2025-03-09 03:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:06:04] Production.INFO: 117 [2025-03-09 03:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:06:04] Production.INFO: count ==13 [2025-03-09 03:06:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:06:04] Production.INFO: count ==21 [2025-03-09 03:06:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639314') start [2025-03-09 03:06:04] Production.INFO: Total Charge 0 [2025-03-09 03:06:04] Production.INFO: CreateAllLog End [2025-03-09 03:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639314') end [2025-03-09 03:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:06:04] Production.INFO: 1 [2025-03-09 03:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:06:04] Production.INFO: ==3503== Releasing lock... [2025-03-09 03:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:06:04] Production.ERROR: done [2025-03-09 03:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:06:04] Production.INFO: Account Balance End. [2025-03-09 03:06:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:06:04] Production.INFO: ==3498== Releasing lock... [2025-03-09 03:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:06:05] Production.ERROR: done [2025-03-09 03:06:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:06:06 [end_date_ymd] => 2025-03-09 04:06:06 [RateCDR] => 1 ) [2025-03-09 03: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-09 00:06:06' and `end` < '2025-03-09 04: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-09 03:06:12] Production.ERROR: CronJobId end10 [2025-03-09 03:06:12] Production.INFO: ==3496== Releasing lock... [2025-03-09 03:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:06:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:06:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:06:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:06:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:06:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:06:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:06:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:06:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:06:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:06:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:06:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:06:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:06:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:06:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:06:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:06:14] Production.INFO: call_cost start [2025-03-09 03:06:14] Production.INFO: call_cost end [2025-03-09 03:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:06:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:06:15] Production.INFO: ==3492== Releasing lock... [2025-03-09 03:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:06:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:06:18] Production.INFO: count ==392 [2025-03-09 03:06:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:06:06 - End Time 2025-03-09 04:06:06 [2025-03-09 03:06:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639316', 'tblTempUsageDetail_20' ) start [2025-03-09 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639316', 'tblTempUsageDetail_20' ) end [2025-03-09 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639316', 'tblTempVendorCDR_20' ) start [2025-03-09 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639316', 'tblTempVendorCDR_20' ) end [2025-03-09 03:06:18] Production.INFO: ProcessCDR(1,14639316,1,1,2) [2025-03-09 03:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639316', 'tblTempUsageDetail_20' ) start [2025-03-09 03:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639316', 'tblTempUsageDetail_20' ) end [2025-03-09 03:06:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:06:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:06:21] Production.INFO: ==3501== Releasing lock... [2025-03-09 03:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:06:21] Production.INFO: 31.5 MB #Memory Used# [2025-03-09 07:07:01] Production.INFO: ==3553== Lock acquired, processing the job... [2025-03-09 07:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:07:01] Production.INFO: neon service started [2025-03-09 07:07:01] Production.INFO: neon service started [2025-03-09 07:07:01] Production.INFO: ==3553== Releasing lock... [2025-03-09 07:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:07:02] Production.INFO: ==3556== Lock acquired, processing the job... [2025-03-09 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:07:02] Production.INFO: ==3558== Lock acquired, processing the job... [2025-03-09 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:07:02] Production.INFO: ==3558== Releasing lock... [2025-03-09 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:07:02] Production.INFO: ==3556== Releasing lock... [2025-03-09 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:07:03] Production.INFO: ==3564== Lock acquired, processing the job... [2025-03-09 03:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:07:03] Production.INFO: ==3566== Lock acquired, processing the job... [2025-03-09 03:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:07:03] Production.INFO: ==3562== Lock acquired, processing the job... [2025-03-09 03:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:07:03] Production.INFO: Account Balance Start. [2025-03-09 03:07:03] Production.INFO: CreateAllLog Start [2025-03-09 03:07:03] Production.INFO: 117 [2025-03-09 03:07:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:07:03] Production.INFO: ==3560== Lock acquired, processing the job... [2025-03-09 03:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:07:03] Production.INFO: ==3570== Lock acquired, processing the job... [2025-03-09 03:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:07:03] Production.INFO: Date 2025-03-09 [2025-03-09 03:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:07:03] Production.INFO: Total Charge 0 [2025-03-09 03:07:03] Production.INFO: CreateAllLog End [2025-03-09 03:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:07:03] Production.INFO: ==3568== Lock acquired, processing the job... [2025-03-09 03:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:07:03] Production.INFO: count ==13 [2025-03-09 03:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:07:03] Production.INFO: count ==21 [2025-03-09 03:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639320') start [2025-03-09 03:07:04] Production.INFO: Account Balance End. [2025-03-09 03:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639320') end [2025-03-09 03:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:07:04] Production.INFO: 1 [2025-03-09 03:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:07:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:07:04] Production.INFO: ==3566== Releasing lock... [2025-03-09 03:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:07:04] Production.INFO: ==3562== Releasing lock... [2025-03-09 03:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:07:04] Production.ERROR: done [2025-03-09 03:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:07:04] Production.INFO: ==3570== Releasing lock... [2025-03-09 03:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:07:04] Production.ERROR: done [2025-03-09 03:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:07:05 [end_date_ymd] => 2025-03-09 04:07:05 [RateCDR] => 1 ) [2025-03-09 03:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:07:05' and `end` < '2025-03-09 04:07:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:07:12] Production.ERROR: CronJobId end10 [2025-03-09 03:07:12] Production.INFO: ==3564== Releasing lock... [2025-03-09 03:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:07:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:07:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:07:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:07:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:07:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:07:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:07:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:07:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:07:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:07:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:07:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:07:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:07:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:07:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:07:14] Production.INFO: call_cost start [2025-03-09 03:07:14] Production.INFO: call_cost end [2025-03-09 03:07:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:07:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:07:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:07:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:07:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:07:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:07:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:07:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:07:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:07:15] Production.INFO: ==3560== Releasing lock... [2025-03-09 03:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:07:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:07:17] Production.INFO: count ==392 [2025-03-09 03:07:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:07:05 - End Time 2025-03-09 04:07:05 [2025-03-09 03:07:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639321', 'tblTempUsageDetail_20' ) start [2025-03-09 03:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639321', 'tblTempUsageDetail_20' ) end [2025-03-09 03:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639321', 'tblTempVendorCDR_20' ) start [2025-03-09 03:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639321', 'tblTempVendorCDR_20' ) end [2025-03-09 03:07:17] Production.INFO: ProcessCDR(1,14639321,1,1,2) [2025-03-09 03:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:07:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639321', 'tblTempUsageDetail_20' ) start [2025-03-09 03:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639321', 'tblTempUsageDetail_20' ) end [2025-03-09 03:07:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:07:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:07:20] Production.INFO: ==3568== Releasing lock... [2025-03-09 03:07:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:07:20] Production.INFO: 31.5 MB #Memory Used# [2025-03-09 07:08:02] Production.INFO: ==3623== Lock acquired, processing the job... [2025-03-09 07:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:08:02] Production.INFO: neon service started [2025-03-09 07:08:02] Production.INFO: neon service started [2025-03-09 07:08:02] Production.INFO: ==3623== Releasing lock... [2025-03-09 07:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:08:02] Production.INFO: ==3626== Lock acquired, processing the job... [2025-03-09 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:08:02] Production.INFO: ==3628== Lock acquired, processing the job... [2025-03-09 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:08:02] Production.INFO: ==3628== Releasing lock... [2025-03-09 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:08:03] Production.INFO: ==3626== Releasing lock... [2025-03-09 03:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:08:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:08:04] Production.INFO: ==3634== Lock acquired, processing the job... [2025-03-09 03:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:08:04] Production.INFO: ==3630== Lock acquired, processing the job... [2025-03-09 03:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:08:04] Production.INFO: ==3640== Lock acquired, processing the job... [2025-03-09 03:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:08:04] Production.INFO: ==3632== Lock acquired, processing the job... [2025-03-09 03:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:08:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:08:04] Production.INFO: ==3636== Lock acquired, processing the job... [2025-03-09 03:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:08:04] Production.INFO: ==3638== Lock acquired, processing the job... [2025-03-09 03:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:08:04] Production.INFO: count ==13 [2025-03-09 03:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:08:04] Production.INFO: count ==21 [2025-03-09 03:08:04] Production.INFO: Account Balance Start. [2025-03-09 03:08:04] Production.INFO: CreateAllLog Start [2025-03-09 03:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639322') start [2025-03-09 03:08:04] Production.INFO: 117 [2025-03-09 03:08:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:08:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:08:04] Production.INFO: Total Charge 0 [2025-03-09 03:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639322') end [2025-03-09 03:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:08:04] Production.INFO: 1 [2025-03-09 03:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:08:04] Production.INFO: CreateAllLog End [2025-03-09 03:08:04] Production.INFO: ==3640== Releasing lock... [2025-03-09 03:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:08:04] Production.ERROR: done [2025-03-09 03:08:04] Production.INFO: ==3632== Releasing lock... [2025-03-09 03:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:08:05] Production.ERROR: done [2025-03-09 03:08:05] Production.INFO: Account Balance End. [2025-03-09 03:08:05] Production.ERROR: CronJobId end 12 [2025-03-09 03:08:05] Production.INFO: ==3636== Releasing lock... [2025-03-09 03:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:08:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:08:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:08:06 [end_date_ymd] => 2025-03-09 04:08:06 [RateCDR] => 1 ) [2025-03-09 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-09 00:08:06' and `end` < '2025-03-09 04: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-09 03:08:12] Production.ERROR: CronJobId end10 [2025-03-09 03:08:12] Production.INFO: ==3634== Releasing lock... [2025-03-09 03:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:08:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:08:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:08:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:08:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:08:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:08:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:08:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:08:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:08:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:08:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:08:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:08:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:08:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:08:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:08:15] Production.INFO: call_cost start [2025-03-09 03:08:15] Production.INFO: call_cost end [2025-03-09 03:08:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:08:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:08:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:08:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:08:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:08:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:08:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:08:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:08:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:08:16] Production.INFO: ==3630== Releasing lock... [2025-03-09 03:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:08:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:08:17] Production.INFO: count ==396 [2025-03-09 03:08:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:08:06 - End Time 2025-03-09 04:08:06 [2025-03-09 03:08:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639326', 'tblTempUsageDetail_20' ) start [2025-03-09 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639326', 'tblTempUsageDetail_20' ) end [2025-03-09 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639326', 'tblTempVendorCDR_20' ) start [2025-03-09 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639326', 'tblTempVendorCDR_20' ) end [2025-03-09 03:08:18] Production.INFO: ProcessCDR(1,14639326,1,1,2) [2025-03-09 03:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639326', 'tblTempUsageDetail_20' ) start [2025-03-09 03:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639326', 'tblTempUsageDetail_20' ) end [2025-03-09 03:08:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:08:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:08:21] Production.INFO: ==3638== Releasing lock... [2025-03-09 03:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:08:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-09 07:09:01] Production.INFO: ==3693== Lock acquired, processing the job... [2025-03-09 07:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:09:01] Production.INFO: neon service started [2025-03-09 07:09:01] Production.INFO: neon service started [2025-03-09 07:09:01] Production.INFO: ==3693== Releasing lock... [2025-03-09 07:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:09:01] Production.INFO: ==3695== Lock acquired, processing the job... [2025-03-09 03:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:09:02] Production.INFO: ==3695== Releasing lock... [2025-03-09 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:09:02] Production.INFO: ==3697== Lock acquired, processing the job... [2025-03-09 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:09:02] Production.INFO: ==3697== Releasing lock... [2025-03-09 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:09:02] Production.INFO: ==3704== Lock acquired, processing the job... [2025-03-09 03:09:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:09:03] Production.INFO: ==3700== Lock acquired, processing the job... [2025-03-09 03:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:09:03] Production.INFO: ==3710== Lock acquired, processing the job... [2025-03-09 03:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:09:03] Production.INFO: ==3702== Lock acquired, processing the job... [2025-03-09 03:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:09:03] Production.INFO: ==3706== Lock acquired, processing the job... [2025-03-09 03:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03: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-09 03:09:03] Production.INFO: ==3708== Lock acquired, processing the job... [2025-03-09 03:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:09:03] Production.INFO: count ==13 [2025-03-09 03:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03: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-09 03:09:03] Production.INFO: count ==21 [2025-03-09 03:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639328') start [2025-03-09 03:09:03] Production.INFO: Account Balance Start. [2025-03-09 03:09:03] Production.INFO: CreateAllLog Start [2025-03-09 03:09:03] Production.INFO: 117 [2025-03-09 03:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639328') end [2025-03-09 03:09:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:09:03] Production.INFO: 1 [2025-03-09 03:09:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:09:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:09:03] Production.INFO: Date 2025-03-09 [2025-03-09 03:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:09:04] Production.INFO: Total Charge 0 [2025-03-09 03:09:04] Production.INFO: CreateAllLog End [2025-03-09 03:09:04] Production.INFO: ==3710== Releasing lock... [2025-03-09 03:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:09:04] Production.INFO: ==3702== Releasing lock... [2025-03-09 03:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:09:04] Production.ERROR: done [2025-03-09 03:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:09:04] Production.ERROR: done [2025-03-09 03:09:04] Production.INFO: Account Balance End. [2025-03-09 03:09:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:09:04] Production.INFO: ==3706== Releasing lock... [2025-03-09 03:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:09:05 [end_date_ymd] => 2025-03-09 04:09:05 [RateCDR] => 1 ) [2025-03-09 03:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:09:05' and `end` < '2025-03-09 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-09 03:09:12] Production.ERROR: CronJobId end10 [2025-03-09 03:09:12] Production.INFO: ==3704== Releasing lock... [2025-03-09 03:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:09:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:09:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:09:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:09:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:09:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:09:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:09:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:09:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:09:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:09:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:09:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:09:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:09:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:09:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:09:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:09:14] Production.INFO: call_cost start [2025-03-09 03:09:14] Production.INFO: call_cost end [2025-03-09 03:09:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:09:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:09:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:09:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:09:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:09:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:09:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:09:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:09:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:09:15] Production.INFO: ==3700== Releasing lock... [2025-03-09 03:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:09:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:09:17] Production.INFO: count ==392 [2025-03-09 03:09:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:09:05 - End Time 2025-03-09 04:09:05 [2025-03-09 03:09:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639331', 'tblTempUsageDetail_20' ) start [2025-03-09 03:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639331', 'tblTempUsageDetail_20' ) end [2025-03-09 03:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639331', 'tblTempVendorCDR_20' ) start [2025-03-09 03:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639331', 'tblTempVendorCDR_20' ) end [2025-03-09 03:09:17] Production.INFO: ProcessCDR(1,14639331,1,1,2) [2025-03-09 03:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:09:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639331', 'tblTempUsageDetail_20' ) start [2025-03-09 03:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639331', 'tblTempUsageDetail_20' ) end [2025-03-09 03:09:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:09:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:09:20] Production.INFO: ==3708== Releasing lock... [2025-03-09 03:09:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:09:20] Production.INFO: 31.5 MB #Memory Used# [2025-03-09 07:10:01] Production.INFO: ==3762== Lock acquired, processing the job... [2025-03-09 07:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:10:01] Production.INFO: neon service started [2025-03-09 07:10:02] Production.INFO: neon service started [2025-03-09 07:10:02] Production.INFO: ==3762== Releasing lock... [2025-03-09 07:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:10:02] Production.INFO: ==3764== Lock acquired, processing the job... [2025-03-09 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:10:02] Production.INFO: ==3766== Lock acquired, processing the job... [2025-03-09 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:10:02] Production.INFO: ==3766== Releasing lock... [2025-03-09 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:10:02] Production.INFO: ==3764== Releasing lock... [2025-03-09 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:10:04] Production.INFO: ==3779== Lock acquired, processing the job... [2025-03-09 03:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:10:04] Production.INFO: ==3781== Lock acquired, processing the job... [2025-03-09 03:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 03:10:04] Production.INFO: ==3769== Lock acquired, processing the job... [2025-03-09 03:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 03:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:10:04] Production.INFO: ==3783== Lock acquired, processing the job... [2025-03-09 03:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:10:04] Production.INFO: ==3771== Lock acquired, processing the job... [2025-03-09 03:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:10:04] Production.INFO: ==3773== Lock acquired, processing the job... [2025-03-09 03:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:10:04] Production.INFO: ==3775== Lock acquired, processing the job... [2025-03-09 03:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:10:04] Production.INFO: ==3777== Lock acquired, processing the job... [2025-03-09 03:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 03:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 03:10:04] Production.ERROR: CronJob PID - 3771 [2025-03-09 03:10:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 03:10:04] Production.ERROR: CronJob ID - 5 [2025-03-09 03:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 03:10:00 [2025-03-09 03:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 03:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 03:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 03:10:04] Production.ERROR: CronJob PID - 3773 [2025-03-09 03:10:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 03:10:04] Production.ERROR: CronJob ID - 7 [2025-03-09 03:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 03:10:00 [2025-03-09 03:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 03:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 03:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 03:10:04] Production.ERROR: CronJob PID - 3779 [2025-03-09 03:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 03:10:04] Production.ERROR: CronJob ID - 16 [2025-03-09 03:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 03:10:00 [2025-03-09 03:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 03:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 03:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 03:10:04] Production.ERROR: CronJob PID - 3781 [2025-03-09 03:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-09 03:10:04] Production.ERROR: CronJob ID - 17 [2025-03-09 03:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 03:10:00 [2025-03-09 03:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 03:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 03:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 03:10:04] Production.ERROR: CronJob PID - 3783 [2025-03-09 03:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 03:10:04] Production.ERROR: CronJob ID - 19 [2025-03-09 03:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 03:10:00 [2025-03-09 03:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 03:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 03:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:10:04] Production.INFO: count ==13 [2025-03-09 03:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:10:04] Production.INFO: count ==21 [2025-03-09 03:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639332') start [2025-03-09 03:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:10:04] Production.INFO: Account Balance Start. [2025-03-09 03:10:04] Production.INFO: CreateAllLog Start [2025-03-09 03:10:04] Production.INFO: 117 [2025-03-09 03:10:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:10:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:10:04] Production.INFO: Total Charge 0 [2025-03-09 03:10:04] Production.INFO: CreateAllLog End [2025-03-09 03:10:04] Production.ERROR: done [2025-03-09 03:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 03:10:04] Production.INFO: ==3769== Releasing lock... [2025-03-09 03:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 03:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 03:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:10:04] Production.INFO: ==3773== Releasing lock... [2025-03-09 03:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:10:04] Production.ERROR: done [2025-03-09 03:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639332') end [2025-03-09 03:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:10:04] Production.INFO: 1 [2025-03-09 03:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 03:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639336', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 03:10:04] Production.INFO: Account Balance End. [2025-03-09 03:10:04] Production.INFO: ==3783== Releasing lock... [2025-03-09 03:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:10:04] Production.ERROR: done [2025-03-09 03:10:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:10:05] Production.INFO: ==3777== Releasing lock... [2025-03-09 03:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:10:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:10:05 [end_date_ymd] => 2025-03-09 04:10:05 [RateCDR] => 1 ) [2025-03-09 03:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:10:05' and `end` < '2025-03-09 04:10:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639336', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 03:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 03:10:09] Production.INFO: ProcessCDR(1,14639336,1,1,2) [2025-03-09 03:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14639336,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14639336,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:10:09] Production.INFO: ==3781== Releasing lock... [2025-03-09 03:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 03:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 03:10:14] Production.ERROR: CronJobId end10 [2025-03-09 03:10:14] Production.INFO: ==3775== Releasing lock... [2025-03-09 03:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:10:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:10:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:10:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:10:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:10:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:10:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:10:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:10:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:10:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:10:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:10:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:10:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:10:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:10:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:10:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:10:17] Production.INFO: call_cost start [2025-03-09 03:10:17] Production.INFO: call_cost end [2025-03-09 03:10:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:10:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:10:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:10:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:10:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:10:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:10:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:10:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:10:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:10:17] Production.INFO: ==3771== Releasing lock... [2025-03-09 03:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:10:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:10:18] Production.INFO: count ==386 [2025-03-09 03:10:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:10:05 - End Time 2025-03-09 04:10:05 [2025-03-09 03:10:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639337', 'tblTempUsageDetail_20' ) start [2025-03-09 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639337', 'tblTempUsageDetail_20' ) end [2025-03-09 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639337', 'tblTempVendorCDR_20' ) start [2025-03-09 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639337', 'tblTempVendorCDR_20' ) end [2025-03-09 03:10:18] Production.INFO: ProcessCDR(1,14639337,1,1,2) [2025-03-09 03:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639337', 'tblTempUsageDetail_20' ) start [2025-03-09 03:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639337', 'tblTempUsageDetail_20' ) end [2025-03-09 03:10:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:10:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:10:21] Production.INFO: ==3779== Releasing lock... [2025-03-09 03:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:10:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-09 07:11:01] Production.INFO: ==3836== Lock acquired, processing the job... [2025-03-09 07:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:11:01] Production.INFO: neon service started [2025-03-09 07:11:01] Production.INFO: neon service started [2025-03-09 07:11:01] Production.INFO: ==3836== Releasing lock... [2025-03-09 07:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:11:01] Production.INFO: ==3840== Lock acquired, processing the job... [2025-03-09 07:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:11:01] Production.INFO: ==3840== Releasing lock... [2025-03-09 07:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:11:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:11:01] Production.INFO: ==3838== Lock acquired, processing the job... [2025-03-09 03:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:11:02] Production.INFO: ==3838== Releasing lock... [2025-03-09 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:11:03] Production.INFO: ==3844== Lock acquired, processing the job... [2025-03-09 03:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:11:03] Production.INFO: ==3848== Lock acquired, processing the job... [2025-03-09 03:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:11:03] Production.INFO: ==3842== Lock acquired, processing the job... [2025-03-09 03:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:11:03] Production.INFO: Account Balance Start. [2025-03-09 03:11:03] Production.INFO: CreateAllLog Start [2025-03-09 03:11:03] Production.INFO: 117 [2025-03-09 03:11:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:11:03] Production.INFO: ==3846== Lock acquired, processing the job... [2025-03-09 03:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:11:03] Production.INFO: Date 2025-03-09 [2025-03-09 03:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:11:03] Production.INFO: ==3850== Lock acquired, processing the job... [2025-03-09 03:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:11:03] Production.INFO: Total Charge 0 [2025-03-09 03:11:03] Production.INFO: ==3852== Lock acquired, processing the job... [2025-03-09 03:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:11:03] Production.INFO: CreateAllLog End [2025-03-09 03:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:11:03] Production.INFO: ==3844== Releasing lock... [2025-03-09 03:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 03:11:03] Production.INFO: count ==13 [2025-03-09 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-09 03:11:03] Production.INFO: Account Balance End. [2025-03-09 03:11:03] Production.INFO: count ==21 [2025-03-09 03:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639341') start [2025-03-09 03:11:03] Production.ERROR: CronJobId end 12 [2025-03-09 03:11:03] Production.INFO: ==3848== Releasing lock... [2025-03-09 03:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:11:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:11:03] Production.ERROR: done [2025-03-09 03:11:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639341') end [2025-03-09 03:11:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:11:03] Production.INFO: 1 [2025-03-09 03:11:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:11:04] Production.INFO: ==3852== Releasing lock... [2025-03-09 03:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:11:04] Production.ERROR: done [2025-03-09 03:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:11:05 [end_date_ymd] => 2025-03-09 04:11:05 [RateCDR] => 1 ) [2025-03-09 03:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:11:05' and `end` < '2025-03-09 04:11:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:11:11] Production.ERROR: CronJobId end10 [2025-03-09 03:11:11] Production.INFO: ==3846== Releasing lock... [2025-03-09 03:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:11:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:11:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:11:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:11:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:11:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:11:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:11:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:11:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:11:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:11:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:11:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:11:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:11:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:11:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:11:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:11:13] Production.INFO: call_cost start [2025-03-09 03:11:13] Production.INFO: call_cost end [2025-03-09 03:11:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:11:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:11:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:11:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:11:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:11:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:11:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:11:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:11:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:11:14] Production.INFO: ==3842== Releasing lock... [2025-03-09 03:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:11:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:11:17] Production.INFO: count ==384 [2025-03-09 03:11:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:11:05 - End Time 2025-03-09 04:11:05 [2025-03-09 03:11:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639342', 'tblTempUsageDetail_20' ) start [2025-03-09 03:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639342', 'tblTempUsageDetail_20' ) end [2025-03-09 03:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639342', 'tblTempVendorCDR_20' ) start [2025-03-09 03:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639342', 'tblTempVendorCDR_20' ) end [2025-03-09 03:11:17] Production.INFO: ProcessCDR(1,14639342,1,1,2) [2025-03-09 03:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:11:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639342', 'tblTempUsageDetail_20' ) start [2025-03-09 03:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639342', 'tblTempUsageDetail_20' ) end [2025-03-09 03:11:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:11:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:11:20] Production.INFO: ==3850== Releasing lock... [2025-03-09 03:11:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:11:20] Production.INFO: 31 MB #Memory Used# [2025-03-09 07:12:01] Production.INFO: ==3906== Lock acquired, processing the job... [2025-03-09 07:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:12:01] Production.INFO: neon service started [2025-03-09 07:12:01] Production.INFO: neon service started [2025-03-09 07:12:01] Production.INFO: ==3906== Releasing lock... [2025-03-09 07:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:12:02] Production.INFO: ==3910== Lock acquired, processing the job... [2025-03-09 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:12:02] Production.INFO: ==3910== Releasing lock... [2025-03-09 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:12:02] Production.INFO: ==3908== Lock acquired, processing the job... [2025-03-09 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:12:02] Production.INFO: ==3908== Releasing lock... [2025-03-09 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:12:03] Production.INFO: ==3913== Lock acquired, processing the job... [2025-03-09 03:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:12:03] Production.INFO: ==3917== Lock acquired, processing the job... [2025-03-09 03:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:12:03] Production.INFO: ==3921== Lock acquired, processing the job... [2025-03-09 03:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:12:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:12:03] Production.INFO: ==3915== Lock acquired, processing the job... [2025-03-09 03:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:12:03] Production.INFO: ==3919== Lock acquired, processing the job... [2025-03-09 03:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:12:04] Production.INFO: Account Balance Start. [2025-03-09 03:12:04] Production.INFO: CreateAllLog Start [2025-03-09 03:12:04] Production.INFO: 117 [2025-03-09 03:12:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:12:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:12:04] Production.INFO: ==3923== Lock acquired, processing the job... [2025-03-09 03:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:12:04] Production.ERROR: done [2025-03-09 03:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:12:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:12:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 03:12:04] Production.INFO: Total Charge 0 [2025-03-09 03:12:04] Production.INFO: CreateAllLog End [2025-03-09 03:12:04] Production.INFO: count ==13 [2025-03-09 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-09 03:12:04] Production.INFO: count ==21 [2025-03-09 03:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639346') start [2025-03-09 03:12:04] Production.INFO: ==3915== Releasing lock... [2025-03-09 03:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:12:04] Production.ERROR: done [2025-03-09 03:12:04] Production.INFO: Account Balance End. [2025-03-09 03:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639346') end [2025-03-09 03:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:12:04] Production.INFO: 1 [2025-03-09 03:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:12:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:12:04] Production.INFO: ==3919== Releasing lock... [2025-03-09 03:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:12:04] Production.INFO: ==3923== Releasing lock... [2025-03-09 03:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:12:05 [end_date_ymd] => 2025-03-09 04:12:05 [RateCDR] => 1 ) [2025-03-09 03:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:12:05' and `end` < '2025-03-09 04:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:12:11] Production.ERROR: CronJobId end10 [2025-03-09 03:12:11] Production.INFO: ==3917== Releasing lock... [2025-03-09 03:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:12:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:12:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:12:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:12:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:12:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:12:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:12:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:12:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:12:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:12:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:12:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:12:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:12:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:12:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:12:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:12:14] Production.INFO: call_cost start [2025-03-09 03:12:14] Production.INFO: call_cost end [2025-03-09 03:12:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:12:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:12:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:12:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:12:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:12:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:12:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:12:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:12:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:12:15] Production.INFO: ==3913== Releasing lock... [2025-03-09 03:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:12:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:12:17] Production.INFO: count ==384 [2025-03-09 03:12:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:12:05 - End Time 2025-03-09 04:12:05 [2025-03-09 03:12:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639347', 'tblTempUsageDetail_20' ) start [2025-03-09 03:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639347', 'tblTempUsageDetail_20' ) end [2025-03-09 03:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639347', 'tblTempVendorCDR_20' ) start [2025-03-09 03:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639347', 'tblTempVendorCDR_20' ) end [2025-03-09 03:12:17] Production.INFO: ProcessCDR(1,14639347,1,1,2) [2025-03-09 03:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639347', 'tblTempUsageDetail_20' ) start [2025-03-09 03:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639347', 'tblTempUsageDetail_20' ) end [2025-03-09 03:12:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:12:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:12:22] Production.INFO: ==3921== Releasing lock... [2025-03-09 03:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:12:22] Production.INFO: 31 MB #Memory Used# [2025-03-09 07:13:02] Production.INFO: ==3979== Lock acquired, processing the job... [2025-03-09 07:13:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:13:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:13:02] Production.INFO: neon service started [2025-03-09 07:13:02] Production.INFO: neon service started [2025-03-09 07:13:02] Production.INFO: ==3979== Releasing lock... [2025-03-09 07:13:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:13:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:13:02] Production.INFO: ==3981== Lock acquired, processing the job... [2025-03-09 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:13:03] Production.INFO: ==3983== Lock acquired, processing the job... [2025-03-09 07:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:13:03] Production.INFO: ==3981== Releasing lock... [2025-03-09 03:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:13:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:13:03] Production.INFO: ==3983== Releasing lock... [2025-03-09 07:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:13:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:13:03] Production.INFO: ==3993== Lock acquired, processing the job... [2025-03-09 03:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:13:04] Production.INFO: ==3995== Lock acquired, processing the job... [2025-03-09 03:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:13:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:13:04] Production.INFO: Account Balance Start. [2025-03-09 03:13:04] Production.INFO: CreateAllLog Start [2025-03-09 03:13:04] Production.INFO: ==3986== Lock acquired, processing the job... [2025-03-09 03:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:13:04] Production.INFO: 117 [2025-03-09 03:13:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:13:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:13:04] Production.INFO: ==3989== Lock acquired, processing the job... [2025-03-09 03:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:13:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:13:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:13:04] Production.INFO: ==3991== Lock acquired, processing the job... [2025-03-09 03:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:13:04] Production.INFO: ==3997== Lock acquired, processing the job... [2025-03-09 03:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:13:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:13:04] Production.INFO: Total Charge 0 [2025-03-09 03:13:04] Production.INFO: CreateAllLog End [2025-03-09 03:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:13:04] Production.ERROR: done [2025-03-09 03:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 03:13:04] Production.INFO: count ==13 [2025-03-09 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-09 03:13:04] Production.INFO: count ==21 [2025-03-09 03:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639351') start [2025-03-09 03:13:04] Production.ERROR: done [2025-03-09 03:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639351') end [2025-03-09 03:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:13:04] Production.INFO: 1 [2025-03-09 03:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:13:04] Production.INFO: Account Balance End. [2025-03-09 03:13:04] Production.INFO: ==3997== Releasing lock... [2025-03-09 03:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:13:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:13:04] Production.INFO: ==3993== Releasing lock... [2025-03-09 03:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:13:04] Production.INFO: ==3989== Releasing lock... [2025-03-09 03:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:13:05 [end_date_ymd] => 2025-03-09 04:13:05 [RateCDR] => 1 ) [2025-03-09 03:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:13:05' and `end` < '2025-03-09 04:13:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:13:11] Production.ERROR: CronJobId end10 [2025-03-09 03:13:11] Production.INFO: ==3991== Releasing lock... [2025-03-09 03:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:13:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:13:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:13:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:13:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:13:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:13:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:13:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:13:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:13:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:13:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:13:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:13:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:13:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:13:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:13:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:13:14] Production.INFO: call_cost start [2025-03-09 03:13:14] Production.INFO: call_cost end [2025-03-09 03:13:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:13:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:13:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:13:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:13:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:13:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:13:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:13:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:13:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:13:15] Production.INFO: ==3986== Releasing lock... [2025-03-09 03:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:13:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:13:17] Production.INFO: count ==385 [2025-03-09 03:13:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:13:05 - End Time 2025-03-09 04:13:05 [2025-03-09 03:13:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639352', 'tblTempUsageDetail_20' ) start [2025-03-09 03:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639352', 'tblTempUsageDetail_20' ) end [2025-03-09 03:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639352', 'tblTempVendorCDR_20' ) start [2025-03-09 03:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639352', 'tblTempVendorCDR_20' ) end [2025-03-09 03:13:17] Production.INFO: ProcessCDR(1,14639352,1,1,2) [2025-03-09 03:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639352', 'tblTempUsageDetail_20' ) start [2025-03-09 03:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639352', 'tblTempUsageDetail_20' ) end [2025-03-09 03:13:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:13:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:13:22] Production.INFO: ==3995== Releasing lock... [2025-03-09 03:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:13:22] Production.INFO: 31 MB #Memory Used# [2025-03-09 07:14:01] Production.INFO: ==4091== Lock acquired, processing the job... [2025-03-09 07:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:14:01] Production.INFO: neon service started [2025-03-09 07:14:01] Production.INFO: neon service started [2025-03-09 07:14:01] Production.INFO: ==4091== Releasing lock... [2025-03-09 07:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:14:02] Production.INFO: ==4095== Lock acquired, processing the job... [2025-03-09 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:14:02] Production.INFO: ==4095== Releasing lock... [2025-03-09 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:14:02] Production.INFO: ==4093== Lock acquired, processing the job... [2025-03-09 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:14:02] Production.INFO: ==4093== Releasing lock... [2025-03-09 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:14:03] Production.INFO: ==4098== Lock acquired, processing the job... [2025-03-09 03:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:14:03] Production.INFO: ==4103== Lock acquired, processing the job... [2025-03-09 03:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:14:03] Production.INFO: ==4100== Lock acquired, processing the job... [2025-03-09 03:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:14:03] Production.INFO: ==4109== Lock acquired, processing the job... [2025-03-09 03:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:14:03] Production.INFO: ==4105== Lock acquired, processing the job... [2025-03-09 03:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:14:03] Production.INFO: ==4107== Lock acquired, processing the job... [2025-03-09 03:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:14:04] Production.INFO: Account Balance Start. [2025-03-09 03:14:04] Production.INFO: CreateAllLog Start [2025-03-09 03:14:04] Production.INFO: 117 [2025-03-09 03:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:14:04] Production.INFO: count ==13 [2025-03-09 03:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:14:04] Production.INFO: count ==21 [2025-03-09 03:14:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:14:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639355') start [2025-03-09 03:14:04] Production.INFO: ==4100== Releasing lock... [2025-03-09 03:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:14:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:14:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:14:04] Production.INFO: Total Charge 0 [2025-03-09 03:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639355') end [2025-03-09 03:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:14:04] Production.INFO: 1 [2025-03-09 03:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:14:04] Production.INFO: CreateAllLog End [2025-03-09 03:14:04] Production.INFO: ==4109== Releasing lock... [2025-03-09 03:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:14:04] Production.ERROR: done [2025-03-09 03:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:14:04] Production.INFO: Account Balance End. [2025-03-09 03:14:04] Production.ERROR: done [2025-03-09 03:14:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:14:04] Production.INFO: ==4105== Releasing lock... [2025-03-09 03:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:14:05 [end_date_ymd] => 2025-03-09 04:14:05 [RateCDR] => 1 ) [2025-03-09 03:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:14:05' and `end` < '2025-03-09 04:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:14:11] Production.ERROR: CronJobId end10 [2025-03-09 03:14:11] Production.INFO: ==4103== Releasing lock... [2025-03-09 03:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:14:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:14:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:14:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:14:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:14:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:14:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:14:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:14:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:14:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:14:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:14:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:14:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:14:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:14:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:14:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:14:14] Production.INFO: call_cost start [2025-03-09 03:14:14] Production.INFO: call_cost end [2025-03-09 03:14:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:14:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:14:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:14:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:14:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:14:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:14:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:14:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:14:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:14:15] Production.INFO: ==4098== Releasing lock... [2025-03-09 03:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:14:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:14:17] Production.INFO: count ==384 [2025-03-09 03:14:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:14:05 - End Time 2025-03-09 04:14:05 [2025-03-09 03:14:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639357', 'tblTempUsageDetail_20' ) start [2025-03-09 03:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639357', 'tblTempUsageDetail_20' ) end [2025-03-09 03:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639357', 'tblTempVendorCDR_20' ) start [2025-03-09 03:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639357', 'tblTempVendorCDR_20' ) end [2025-03-09 03:14:17] Production.INFO: ProcessCDR(1,14639357,1,1,2) [2025-03-09 03:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:14:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639357', 'tblTempUsageDetail_20' ) start [2025-03-09 03:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639357', 'tblTempUsageDetail_20' ) end [2025-03-09 03:14:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:14:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:14:21] Production.INFO: ==4107== Releasing lock... [2025-03-09 03:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:14:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-09 07:15:02] Production.INFO: ==4162== Lock acquired, processing the job... [2025-03-09 07:15:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:15:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:15:02] Production.INFO: neon service started [2025-03-09 07:15:02] Production.INFO: neon service started [2025-03-09 07:15:02] Production.INFO: ==4162== Releasing lock... [2025-03-09 07:15:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:15:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:15:02] Production.INFO: ==4166== Lock acquired, processing the job... [2025-03-09 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:15:02] Production.INFO: ==4166== Releasing lock... [2025-03-09 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:15:02] Production.INFO: ==4164== Lock acquired, processing the job... [2025-03-09 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:15:02] Production.INFO: ==4164== Releasing lock... [2025-03-09 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:15:03] Production.INFO: ==4168== Lock acquired, processing the job... [2025-03-09 03:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:15:03] Production.INFO: ==4170== Lock acquired, processing the job... [2025-03-09 03:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:15:03] Production.INFO: ==4172== Lock acquired, processing the job... [2025-03-09 03:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:15:04] Production.INFO: ==4170== Releasing lock... [2025-03-09 03:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:15:04] Production.INFO: ==4176== Lock acquired, processing the job... [2025-03-09 03:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:15:04] Production.INFO: ==4174== Lock acquired, processing the job... [2025-03-09 03:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:15:04] Production.INFO: ==4178== Lock acquired, processing the job... [2025-03-09 03:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:15:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:15:04] Production.INFO: Account Balance Start. [2025-03-09 03:15:04] Production.INFO: CreateAllLog Start [2025-03-09 03:15:04] Production.INFO: 117 [2025-03-09 03:15:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:15:04] Production.INFO: count ==13 [2025-03-09 03:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:15:04] Production.INFO: count ==21 [2025-03-09 03:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639361') start [2025-03-09 03:15:04] Production.ERROR: done [2025-03-09 03:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:15:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:15:04] Production.INFO: Total Charge 0 [2025-03-09 03:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639361') end [2025-03-09 03:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:15:04] Production.INFO: 1 [2025-03-09 03:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:15:04] Production.INFO: CreateAllLog End [2025-03-09 03:15:04] Production.INFO: ==4178== Releasing lock... [2025-03-09 03:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:15:04] Production.ERROR: done [2025-03-09 03:15:04] Production.INFO: Account Balance End. [2025-03-09 03:15:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:15:04] Production.INFO: ==4174== Releasing lock... [2025-03-09 03:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:15:05 [end_date_ymd] => 2025-03-09 04:15:05 [RateCDR] => 1 ) [2025-03-09 03:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:15:05' and `end` < '2025-03-09 04:15:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:15:11] Production.ERROR: CronJobId end10 [2025-03-09 03:15:11] Production.INFO: ==4172== Releasing lock... [2025-03-09 03:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:15:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:15:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:15:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:15:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:15:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:15:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:15:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:15:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:15:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:15:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:15:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:15:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:15:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:15:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:15:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:15:14] Production.INFO: call_cost start [2025-03-09 03:15:14] Production.INFO: call_cost end [2025-03-09 03:15:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:15:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:15:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:15:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:15:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:15:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:15:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:15:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:15:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:15:15] Production.INFO: ==4168== Releasing lock... [2025-03-09 03:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:15:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:15:17] Production.INFO: count ==381 [2025-03-09 03:15:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:15:05 - End Time 2025-03-09 04:15:05 [2025-03-09 03:15:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639362', 'tblTempUsageDetail_20' ) start [2025-03-09 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639362', 'tblTempUsageDetail_20' ) end [2025-03-09 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639362', 'tblTempVendorCDR_20' ) start [2025-03-09 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639362', 'tblTempVendorCDR_20' ) end [2025-03-09 03:15:18] Production.INFO: ProcessCDR(1,14639362,1,1,2) [2025-03-09 03:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639362', 'tblTempUsageDetail_20' ) start [2025-03-09 03:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639362', 'tblTempUsageDetail_20' ) end [2025-03-09 03:15:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:15:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:15:21] Production.INFO: ==4176== Releasing lock... [2025-03-09 03:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:15:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-09 07:16:01] Production.INFO: ==4235== Lock acquired, processing the job... [2025-03-09 07:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:16:01] Production.INFO: neon service started [2025-03-09 07:16:01] Production.INFO: neon service started [2025-03-09 07:16:01] Production.INFO: ==4235== Releasing lock... [2025-03-09 07:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:16:01] Production.INFO: ==4237== Lock acquired, processing the job... [2025-03-09 03:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:16:02] Production.INFO: ==4237== Releasing lock... [2025-03-09 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:16:02] Production.INFO: ==4239== Lock acquired, processing the job... [2025-03-09 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:16:02] Production.INFO: ==4239== Releasing lock... [2025-03-09 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:16:03] Production.INFO: ==4252== Lock acquired, processing the job... [2025-03-09 03:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:16:03] Production.INFO: ==4250== Lock acquired, processing the job... [2025-03-09 03:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:16:03] Production.INFO: ==4242== Lock acquired, processing the job... [2025-03-09 03:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:16:03] Production.INFO: ==4244== Lock acquired, processing the job... [2025-03-09 03:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:16:03] Production.INFO: ==4246== Lock acquired, processing the job... [2025-03-09 03:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:16:03] Production.INFO: ==4248== Lock acquired, processing the job... [2025-03-09 03:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:16:03] Production.INFO: count ==13 [2025-03-09 03:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:16:03] Production.INFO: count ==21 [2025-03-09 03:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639363') start [2025-03-09 03:16:03] Production.INFO: Account Balance Start. [2025-03-09 03:16:03] Production.INFO: CreateAllLog Start [2025-03-09 03:16:03] Production.INFO: 117 [2025-03-09 03:16:03] Production.ERROR: done [2025-03-09 03:16:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:16:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639363') end [2025-03-09 03:16:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:16:03] Production.INFO: 1 [2025-03-09 03:16:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:16:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:16:03] Production.INFO: ==4244== Releasing lock... [2025-03-09 03:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:16:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:16:03] Production.INFO: Date 2025-03-09 [2025-03-09 03:16:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:16:03] Production.INFO: Total Charge 0 [2025-03-09 03:16:03] Production.INFO: CreateAllLog End [2025-03-09 03:16:03] Production.INFO: ==4252== Releasing lock... [2025-03-09 03:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:16:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:16:03] Production.ERROR: done [2025-03-09 03:16:04] Production.INFO: Account Balance End. [2025-03-09 03:16:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:16:04] Production.INFO: ==4248== Releasing lock... [2025-03-09 03:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:16:05 [end_date_ymd] => 2025-03-09 04:16:05 [RateCDR] => 1 ) [2025-03-09 03:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:16:05' and `end` < '2025-03-09 04:16:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:16:11] Production.ERROR: CronJobId end10 [2025-03-09 03:16:11] Production.INFO: ==4246== Releasing lock... [2025-03-09 03:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:16:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:16:14] Production.INFO: call_cost start [2025-03-09 03:16:14] Production.INFO: call_cost end [2025-03-09 03:16:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:16:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:16:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:16:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:16:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:16:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:16:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:16:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:16:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:16:15] Production.INFO: ==4242== Releasing lock... [2025-03-09 03:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:16:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:16:17] Production.INFO: count ==381 [2025-03-09 03:16:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:16:05 - End Time 2025-03-09 04:16:05 [2025-03-09 03:16:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639367', 'tblTempUsageDetail_20' ) start [2025-03-09 03:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639367', 'tblTempUsageDetail_20' ) end [2025-03-09 03:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639367', 'tblTempVendorCDR_20' ) start [2025-03-09 03:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639367', 'tblTempVendorCDR_20' ) end [2025-03-09 03:16:17] Production.INFO: ProcessCDR(1,14639367,1,1,2) [2025-03-09 03:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639367,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639367,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639367,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:16:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639367,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639367', 'tblTempUsageDetail_20' ) start [2025-03-09 03:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639367', 'tblTempUsageDetail_20' ) end [2025-03-09 03:16:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:16:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:16:20] Production.INFO: ==4250== Releasing lock... [2025-03-09 03:16:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:16:20] Production.INFO: 31.25 MB #Memory Used# [2025-03-09 07:17:01] Production.INFO: ==4322== Lock acquired, processing the job... [2025-03-09 07:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:17:01] Production.INFO: neon service started [2025-03-09 07:17:02] Production.INFO: neon service started [2025-03-09 07:17:02] Production.INFO: ==4322== Releasing lock... [2025-03-09 07:17:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:17:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:17:02] Production.INFO: ==4324== Lock acquired, processing the job... [2025-03-09 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:17:02] Production.INFO: ==4326== Lock acquired, processing the job... [2025-03-09 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:17:02] Production.INFO: ==4326== Releasing lock... [2025-03-09 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:17:02] Production.INFO: ==4324== Releasing lock... [2025-03-09 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:17:03] Production.INFO: ==4331== Lock acquired, processing the job... [2025-03-09 03:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:17:03] Production.INFO: ==4337== Lock acquired, processing the job... [2025-03-09 03:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:17:03] Production.INFO: ==4329== Lock acquired, processing the job... [2025-03-09 03:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:17:03] Production.INFO: ==4333== Lock acquired, processing the job... [2025-03-09 03:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:17:03] Production.INFO: ==4335== Lock acquired, processing the job... [2025-03-09 03:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:17:03] Production.INFO: ==4339== Lock acquired, processing the job... [2025-03-09 03:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:17:03] Production.INFO: ==4331== Releasing lock... [2025-03-09 03:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:17:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:17:04] Production.INFO: Account Balance Start. [2025-03-09 03:17:04] Production.INFO: CreateAllLog Start [2025-03-09 03:17:04] Production.INFO: 117 [2025-03-09 03:17:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:17:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:17:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:17:04] Production.ERROR: done [2025-03-09 03:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:17:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:17:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:17:04] Production.INFO: count ==13 [2025-03-09 03:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:17:04] Production.INFO: count ==21 [2025-03-09 03:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639371') start [2025-03-09 03:17:04] Production.INFO: Total Charge 0 [2025-03-09 03:17:04] Production.INFO: CreateAllLog End [2025-03-09 03:17:04] Production.ERROR: done [2025-03-09 03:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639371') end [2025-03-09 03:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:17:04] Production.INFO: 1 [2025-03-09 03:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:17:04] Production.INFO: ==4339== Releasing lock... [2025-03-09 03:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:17:04] Production.INFO: Account Balance End. [2025-03-09 03:17:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:17:04] Production.INFO: ==4335== Releasing lock... [2025-03-09 03:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:17:05 [end_date_ymd] => 2025-03-09 04:17:05 [RateCDR] => 1 ) [2025-03-09 03:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:17:05' and `end` < '2025-03-09 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-09 03:17:11] Production.ERROR: CronJobId end10 [2025-03-09 03:17:11] Production.INFO: ==4333== Releasing lock... [2025-03-09 03:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:17:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:17:14] Production.INFO: call_cost start [2025-03-09 03:17:14] Production.INFO: call_cost end [2025-03-09 03:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:17:15] Production.INFO: ==4329== Releasing lock... [2025-03-09 03:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:17:17] Production.INFO: count ==380 [2025-03-09 03:17:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:17:05 - End Time 2025-03-09 04:17:05 [2025-03-09 03:17:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639372', 'tblTempUsageDetail_20' ) start [2025-03-09 03:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639372', 'tblTempUsageDetail_20' ) end [2025-03-09 03:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639372', 'tblTempVendorCDR_20' ) start [2025-03-09 03:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639372', 'tblTempVendorCDR_20' ) end [2025-03-09 03:17:17] Production.INFO: ProcessCDR(1,14639372,1,1,2) [2025-03-09 03:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:17:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639372', 'tblTempUsageDetail_20' ) start [2025-03-09 03:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639372', 'tblTempUsageDetail_20' ) end [2025-03-09 03:17:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:17:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:17:20] Production.INFO: ==4337== Releasing lock... [2025-03-09 03:17:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:17:20] Production.INFO: 31.75 MB #Memory Used# [2025-03-09 07:18:01] Production.INFO: ==4400== Lock acquired, processing the job... [2025-03-09 07:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:18:01] Production.INFO: neon service started [2025-03-09 07:18:01] Production.INFO: neon service started [2025-03-09 07:18:01] Production.INFO: ==4400== Releasing lock... [2025-03-09 07:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:18:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:18:01] Production.INFO: ==4402== Lock acquired, processing the job... [2025-03-09 03:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:18:02] Production.INFO: ==4402== Releasing lock... [2025-03-09 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:18:02] Production.INFO: ==4404== Lock acquired, processing the job... [2025-03-09 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:18:02] Production.INFO: ==4404== Releasing lock... [2025-03-09 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:18:03] Production.INFO: ==4414== Lock acquired, processing the job... [2025-03-09 03:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:18:03] Production.INFO: ==4406== Lock acquired, processing the job... [2025-03-09 03:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:18:03] Production.INFO: ==4416== Lock acquired, processing the job... [2025-03-09 03:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:18:03] Production.INFO: ==4408== Lock acquired, processing the job... [2025-03-09 03:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:18:03] Production.INFO: ==4412== Lock acquired, processing the job... [2025-03-09 03:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:18:03] Production.INFO: ==4410== Lock acquired, processing the job... [2025-03-09 03:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:18:03] Production.INFO: Account Balance Start. [2025-03-09 03:18:03] Production.INFO: CreateAllLog Start [2025-03-09 03:18:03] Production.INFO: 117 [2025-03-09 03:18:03] Production.INFO: count ==13 [2025-03-09 03:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 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-09 03:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:18:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:18:03] Production.INFO: count ==21 [2025-03-09 03:18:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639373') start [2025-03-09 03:18:03] Production.INFO: Date 2025-03-09 [2025-03-09 03:18:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:18:03] Production.ERROR: done [2025-03-09 03:18:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:18:03] Production.INFO: Total Charge 0 [2025-03-09 03:18:03] Production.INFO: CreateAllLog End [2025-03-09 03:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639373') end [2025-03-09 03:18:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:18:03] Production.INFO: 1 [2025-03-09 03:18:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:18:03] Production.INFO: ==4416== Releasing lock... [2025-03-09 03:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:18:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:18:03] Production.INFO: ==4408== Releasing lock... [2025-03-09 03:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:18:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:18:03] Production.ERROR: done [2025-03-09 03:18:03] Production.INFO: Account Balance End. [2025-03-09 03:18:03] Production.ERROR: CronJobId end 12 [2025-03-09 03:18:03] Production.INFO: ==4412== Releasing lock... [2025-03-09 03:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:18:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:18:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:18:04 [end_date_ymd] => 2025-03-09 04:18:04 [RateCDR] => 1 ) [2025-03-09 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-09 00:18:04' and `end` < '2025-03-09 04:18:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:18:11] Production.ERROR: CronJobId end10 [2025-03-09 03:18:11] Production.INFO: ==4410== Releasing lock... [2025-03-09 03:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:18:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:18:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:18:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:18:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:18:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:18:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:18:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:18:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:18:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:18:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:18:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:18:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:18:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:18:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:18:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:18:14] Production.INFO: call_cost start [2025-03-09 03:18:14] Production.INFO: call_cost end [2025-03-09 03:18:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:18:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:18:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:18:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:18:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:18:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:18:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:18:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:18:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:18:15] Production.INFO: ==4406== Releasing lock... [2025-03-09 03:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:18:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:18:16] Production.INFO: count ==380 [2025-03-09 03:18:16] Production.ERROR: pbx CDR StartTime 2025-03-09 00:18:04 - End Time 2025-03-09 04:18:04 [2025-03-09 03:18:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:18:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639377', 'tblTempUsageDetail_20' ) start [2025-03-09 03:18:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639377', 'tblTempUsageDetail_20' ) end [2025-03-09 03:18:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639377', 'tblTempVendorCDR_20' ) start [2025-03-09 03:18:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639377', 'tblTempVendorCDR_20' ) end [2025-03-09 03:18:16] Production.INFO: ProcessCDR(1,14639377,1,1,2) [2025-03-09 03:18:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639377,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:18:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639377,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:18:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639377,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639377,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639377', 'tblTempUsageDetail_20' ) start [2025-03-09 03:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639377', 'tblTempUsageDetail_20' ) end [2025-03-09 03:18:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:18:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:18:20] Production.INFO: ==4414== Releasing lock... [2025-03-09 03:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:18:20] Production.INFO: 31 MB #Memory Used# [2025-03-09 07:19:01] Production.INFO: ==4476== Lock acquired, processing the job... [2025-03-09 07:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:19:01] Production.INFO: neon service started [2025-03-09 07:19:01] Production.INFO: neon service started [2025-03-09 07:19:01] Production.INFO: ==4476== Releasing lock... [2025-03-09 07:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:19:02] Production.INFO: ==4479== Lock acquired, processing the job... [2025-03-09 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:19:02] Production.INFO: ==4479== Releasing lock... [2025-03-09 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:19:02] Production.INFO: ==4481== Lock acquired, processing the job... [2025-03-09 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:19:02] Production.INFO: ==4481== Releasing lock... [2025-03-09 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:19:03] Production.INFO: ==4491== Lock acquired, processing the job... [2025-03-09 03:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:19:03] Production.INFO: ==4493== Lock acquired, processing the job... [2025-03-09 03:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:19:03] Production.INFO: ==4485== Lock acquired, processing the job... [2025-03-09 03:19:03] Production.INFO: ==4483== Lock acquired, processing the job... [2025-03-09 03:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:19:03] Production.INFO: ==4487== Lock acquired, processing the job... [2025-03-09 03:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:19:03] Production.INFO: ==4489== Lock acquired, processing the job... [2025-03-09 03:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:19:03] Production.INFO: count ==13 [2025-03-09 03:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:19:03] Production.INFO: count ==21 [2025-03-09 03:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639378') start [2025-03-09 03:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:19:04] Production.ERROR: done [2025-03-09 03:19:04] Production.INFO: Account Balance Start. [2025-03-09 03:19:04] Production.INFO: CreateAllLog Start [2025-03-09 03:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639378') end [2025-03-09 03:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:19:04] Production.INFO: 1 [2025-03-09 03:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:19:04] Production.INFO: 117 [2025-03-09 03:19:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:19:04] Production.INFO: ==4493== Releasing lock... [2025-03-09 03:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:19:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:19:04] Production.INFO: Total Charge 0 [2025-03-09 03:19:04] Production.INFO: ==4485== Releasing lock... [2025-03-09 03:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:19:04] Production.INFO: CreateAllLog End [2025-03-09 03:19:04] Production.ERROR: done [2025-03-09 03:19:04] Production.INFO: Account Balance End. [2025-03-09 03:19:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:19:04] Production.INFO: ==4489== Releasing lock... [2025-03-09 03:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:19:05 [end_date_ymd] => 2025-03-09 04:19:05 [RateCDR] => 1 ) [2025-03-09 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-09 00:19:05' and `end` < '2025-03-09 04:19:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:19:12] Production.ERROR: CronJobId end10 [2025-03-09 03:19:12] Production.INFO: ==4487== Releasing lock... [2025-03-09 03:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:19:14] Production.INFO: call_cost start [2025-03-09 03:19:14] Production.INFO: call_cost end [2025-03-09 03:19:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:19:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:19:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:19:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:19:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:19:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:19:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:19:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:19:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:19:15] Production.INFO: ==4483== Releasing lock... [2025-03-09 03:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:19:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:19:17] Production.INFO: count ==380 [2025-03-09 03:19:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:19:05 - End Time 2025-03-09 04:19:05 [2025-03-09 03:19:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639382', 'tblTempUsageDetail_20' ) start [2025-03-09 03:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639382', 'tblTempUsageDetail_20' ) end [2025-03-09 03:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639382', 'tblTempVendorCDR_20' ) start [2025-03-09 03:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639382', 'tblTempVendorCDR_20' ) end [2025-03-09 03:19:17] Production.INFO: ProcessCDR(1,14639382,1,1,2) [2025-03-09 03:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639382,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639382,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639382,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:19:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639382,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639382', 'tblTempUsageDetail_20' ) start [2025-03-09 03:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639382', 'tblTempUsageDetail_20' ) end [2025-03-09 03:19:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:19:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:19:20] Production.INFO: ==4491== Releasing lock... [2025-03-09 03:19:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:19:20] Production.INFO: 31 MB #Memory Used# [2025-03-09 07:20:02] Production.INFO: ==4558== Lock acquired, processing the job... [2025-03-09 07:20:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:20:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:20:02] Production.INFO: neon service started [2025-03-09 07:20:02] Production.INFO: neon service started [2025-03-09 07:20:02] Production.INFO: ==4558== Releasing lock... [2025-03-09 07:20:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:20:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:20:02] Production.INFO: ==4560== Lock acquired, processing the job... [2025-03-09 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:20:03] Production.INFO: ==4562== Lock acquired, processing the job... [2025-03-09 07:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:20:03] Production.INFO: ==4562== Releasing lock... [2025-03-09 07:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:20:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:20:03] Production.INFO: ==4560== Releasing lock... [2025-03-09 03:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:20:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:20:04] Production.INFO: ==4571== Lock acquired, processing the job... [2025-03-09 03:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:20:04] Production.INFO: ==4565== Lock acquired, processing the job... [2025-03-09 03:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 03:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 03:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 03:20:04] Production.ERROR: CronJob PID - 4571 [2025-03-09 03:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 03:20:04] Production.ERROR: CronJob ID - 10 [2025-03-09 03:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 03:20:00 [2025-03-09 03:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 03:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 03:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:20:04] Production.INFO: ==4567== Lock acquired, processing the job... [2025-03-09 03:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 03:20:04] Production.INFO: ==4565== Releasing lock... [2025-03-09 03:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 03:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 03:20:04] Production.INFO: ==4582== Lock acquired, processing the job... [2025-03-09 03:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:20:04] Production.INFO: ==4569== Lock acquired, processing the job... [2025-03-09 03:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:20:04] Production.INFO: ==4584== Lock acquired, processing the job... [2025-03-09 03:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 03:20:04] Production.INFO: ==4578== Lock acquired, processing the job... [2025-03-09 03:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:20:04] Production.INFO: ==4586== Lock acquired, processing the job... [2025-03-09 03:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:20:04] Production.INFO: count ==13 [2025-03-09 03:20:04] Production.INFO: Account Balance Start. [2025-03-09 03:20:04] Production.INFO: CreateAllLog Start [2025-03-09 03:20:04] Production.INFO: 117 [2025-03-09 03:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:20:04] Production.INFO: count ==21 [2025-03-09 03:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639386') start [2025-03-09 03:20:05] Production.ERROR: done [2025-03-09 03:20:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:20:05] Production.INFO: Date 2025-03-08 [2025-03-09 03:20:05] Production.INFO: Reseller ==> 0 [2025-03-09 03:20:05] Production.INFO: Date 2025-03-09 [2025-03-09 03:20:05] Production.INFO: Reseller ==> 0 [2025-03-09 03:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639386') end [2025-03-09 03:20:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:20:05] Production.INFO: 1 [2025-03-09 03:20:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:20:05] Production.INFO: Total Charge 0 [2025-03-09 03:20:05] Production.INFO: CreateAllLog End [2025-03-09 03:20:05] Production.INFO: ==4586== Releasing lock... [2025-03-09 03:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:20:05] Production.INFO: ==4569== Releasing lock... [2025-03-09 03:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:20:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:20:05] Production.ERROR: done [2025-03-09 03:20:05] Production.ERROR: done [2025-03-09 03:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 03:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639387', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 03:20:05] Production.INFO: Account Balance End. [2025-03-09 03:20:05] Production.ERROR: CronJobId end 12 [2025-03-09 03:20:05] Production.INFO: ==4578== Releasing lock... [2025-03-09 03:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:20:06 [end_date_ymd] => 2025-03-09 04:20:06 [RateCDR] => 1 ) [2025-03-09 03:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:20:06' and `end` < '2025-03-09 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-09 03:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639387', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 03:20:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 03:20:08] Production.INFO: ProcessCDR(1,14639387,1,1,2) [2025-03-09 03:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14639387,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14639387,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:20:09] Production.INFO: ==4584== Releasing lock... [2025-03-09 03:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 03:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 03:20:13] Production.ERROR: CronJobId end10 [2025-03-09 03:20:13] Production.INFO: ==4571== Releasing lock... [2025-03-09 03:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:20:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:20:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:20:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:20:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:20:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:20:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:20:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:20:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:20:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:20:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:20:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:20:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:20:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:20:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:20:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:20:16] Production.INFO: call_cost start [2025-03-09 03:20:16] Production.INFO: call_cost end [2025-03-09 03:20:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:20:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:20:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:20:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:20:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:20:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:20:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:20:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:20:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:20:17] Production.INFO: ==4567== Releasing lock... [2025-03-09 03:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:20:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:20:18] Production.INFO: count ==377 [2025-03-09 03:20:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:20:06 - End Time 2025-03-09 04:20:06 [2025-03-09 03:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639388', 'tblTempUsageDetail_20' ) start [2025-03-09 03:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639388', 'tblTempUsageDetail_20' ) end [2025-03-09 03:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639388', 'tblTempVendorCDR_20' ) start [2025-03-09 03:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639388', 'tblTempVendorCDR_20' ) end [2025-03-09 03:20:18] Production.INFO: ProcessCDR(1,14639388,1,1,2) [2025-03-09 03:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639388', 'tblTempUsageDetail_20' ) start [2025-03-09 03:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639388', 'tblTempUsageDetail_20' ) end [2025-03-09 03:20:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:20:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:20:22] Production.INFO: ==4582== Releasing lock... [2025-03-09 03:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:20:22] Production.INFO: 31.25 MB #Memory Used# [2025-03-09 07:21:01] Production.INFO: ==4642== Lock acquired, processing the job... [2025-03-09 07:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:21:01] Production.INFO: neon service started [2025-03-09 07:21:01] Production.INFO: neon service started [2025-03-09 07:21:01] Production.INFO: ==4642== Releasing lock... [2025-03-09 07:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:21:02] Production.INFO: ==4646== Lock acquired, processing the job... [2025-03-09 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:21:02] Production.INFO: ==4646== Releasing lock... [2025-03-09 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:21:02] Production.INFO: ==4644== Lock acquired, processing the job... [2025-03-09 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:21:02] Production.INFO: ==4644== Releasing lock... [2025-03-09 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:21:03] Production.INFO: ==4648== Lock acquired, processing the job... [2025-03-09 03:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:21:03] Production.INFO: ==4650== Lock acquired, processing the job... [2025-03-09 03:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:21:03] Production.INFO: ==4657== Lock acquired, processing the job... [2025-03-09 03:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:21:03] Production.INFO: ==4650== Releasing lock... [2025-03-09 03:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:21:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:21:03] Production.INFO: ==4652== Lock acquired, processing the job... [2025-03-09 03:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:21:03] Production.INFO: ==4655== Lock acquired, processing the job... [2025-03-09 03:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:21:03] Production.INFO: ==4659== Lock acquired, processing the job... [2025-03-09 03:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:21:04] Production.INFO: Account Balance Start. [2025-03-09 03:21:04] Production.INFO: CreateAllLog Start [2025-03-09 03:21:04] Production.INFO: 117 [2025-03-09 03:21:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:21:04] Production.ERROR: done [2025-03-09 03:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 03:21:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:21:04] Production.INFO: Total Charge 0 [2025-03-09 03:21:04] Production.INFO: CreateAllLog End [2025-03-09 03:21:04] Production.INFO: count ==13 [2025-03-09 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-09 03:21:04] Production.INFO: count ==21 [2025-03-09 03:21:04] Production.ERROR: done [2025-03-09 03:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639392') start [2025-03-09 03:21:04] Production.INFO: Account Balance End. [2025-03-09 03:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639392') end [2025-03-09 03:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:21:04] Production.INFO: 1 [2025-03-09 03:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:21:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:21:04] Production.INFO: ==4655== Releasing lock... [2025-03-09 03:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:21:04] Production.INFO: ==4659== Releasing lock... [2025-03-09 03:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:21:05 [end_date_ymd] => 2025-03-09 04:21:05 [RateCDR] => 1 ) [2025-03-09 03:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:21:05' and `end` < '2025-03-09 04:21:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:21:11] Production.ERROR: CronJobId end10 [2025-03-09 03:21:11] Production.INFO: ==4652== Releasing lock... [2025-03-09 03:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:21:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:21:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:21:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:21:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:21:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:21:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:21:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:21:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:21:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:21:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:21:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:21:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:21:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:21:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:21:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:21:14] Production.INFO: call_cost start [2025-03-09 03:21:14] Production.INFO: call_cost end [2025-03-09 03:21:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:21:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:21:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:21:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:21:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:21:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:21:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:21:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:21:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:21:14] Production.INFO: ==4648== Releasing lock... [2025-03-09 03:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:21:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:21:17] Production.INFO: count ==368 [2025-03-09 03:21:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:21:05 - End Time 2025-03-09 04:21:05 [2025-03-09 03:21:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639393', 'tblTempUsageDetail_20' ) start [2025-03-09 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639393', 'tblTempUsageDetail_20' ) end [2025-03-09 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639393', 'tblTempVendorCDR_20' ) start [2025-03-09 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639393', 'tblTempVendorCDR_20' ) end [2025-03-09 03:21:17] Production.INFO: ProcessCDR(1,14639393,1,1,2) [2025-03-09 03:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639393', 'tblTempUsageDetail_20' ) start [2025-03-09 03:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639393', 'tblTempUsageDetail_20' ) end [2025-03-09 03:21:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:21:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:21:20] Production.INFO: ==4657== Releasing lock... [2025-03-09 03:21:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:21:20] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 07:22:02] Production.INFO: ==4721== Lock acquired, processing the job... [2025-03-09 07:22:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:22:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:22:02] Production.INFO: neon service started [2025-03-09 07:22:02] Production.INFO: neon service started [2025-03-09 07:22:02] Production.INFO: ==4721== Releasing lock... [2025-03-09 07:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:22:02] Production.INFO: ==4723== Lock acquired, processing the job... [2025-03-09 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:22:02] Production.INFO: ==4723== Releasing lock... [2025-03-09 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:22:03] Production.INFO: ==4725== Lock acquired, processing the job... [2025-03-09 07:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:22:03] Production.INFO: ==4725== Releasing lock... [2025-03-09 07:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:22:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:22:03] Production.INFO: ==4737== Lock acquired, processing the job... [2025-03-09 03:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:22:03] Production.INFO: count ==13 [2025-03-09 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-09 03:22:03] Production.INFO: count ==21 [2025-03-09 03:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639394') start [2025-03-09 03:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639394') end [2025-03-09 03:22:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:22:03] Production.INFO: 1 [2025-03-09 03:22:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:22:03] Production.INFO: ==4737== Releasing lock... [2025-03-09 03:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:22:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:22:04] Production.INFO: ==4733== Lock acquired, processing the job... [2025-03-09 03:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:22:04] Production.INFO: ==4735== Lock acquired, processing the job... [2025-03-09 03:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:22:04] Production.INFO: ==4727== Lock acquired, processing the job... [2025-03-09 03:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:22:04] Production.INFO: ==4729== Lock acquired, processing the job... [2025-03-09 03:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:22:04] Production.INFO: ==4731== Lock acquired, processing the job... [2025-03-09 03:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:22:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:22:04] Production.INFO: Account Balance Start. [2025-03-09 03:22:04] Production.INFO: CreateAllLog Start [2025-03-09 03:22:04] Production.INFO: 117 [2025-03-09 03:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:22:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:22:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:22:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:22:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:22:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:22:04] Production.INFO: Total Charge 0 [2025-03-09 03:22:04] Production.INFO: CreateAllLog End [2025-03-09 03:22:04] Production.ERROR: done [2025-03-09 03:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:22:04] Production.INFO: Account Balance End. [2025-03-09 03:22:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:22:04] Production.INFO: ==4733== Releasing lock... [2025-03-09 03:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:22:04] Production.INFO: ==4729== Releasing lock... [2025-03-09 03:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:22:04] Production.ERROR: done [2025-03-09 03:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:22:05 [end_date_ymd] => 2025-03-09 04:22:05 [RateCDR] => 1 ) [2025-03-09 03:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:22:05' and `end` < '2025-03-09 04:22:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:22:12] Production.ERROR: CronJobId end10 [2025-03-09 03:22:12] Production.INFO: ==4731== Releasing lock... [2025-03-09 03:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:22:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:22:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:22:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:22:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:22:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:22:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:22:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:22:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:22:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:22:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:22:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:22:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:22:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:22:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:22:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:22:15] Production.INFO: call_cost start [2025-03-09 03:22:15] Production.INFO: call_cost end [2025-03-09 03:22:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:22:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:22:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:22:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:22:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:22:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:22:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:22:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:22:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:22:16] Production.INFO: ==4727== Releasing lock... [2025-03-09 03:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:22:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:22:17] Production.INFO: count ==364 [2025-03-09 03:22:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:22:05 - End Time 2025-03-09 04:22:05 [2025-03-09 03:22:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639398', 'tblTempUsageDetail_20' ) start [2025-03-09 03:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639398', 'tblTempUsageDetail_20' ) end [2025-03-09 03:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639398', 'tblTempVendorCDR_20' ) start [2025-03-09 03:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639398', 'tblTempVendorCDR_20' ) end [2025-03-09 03:22:17] Production.INFO: ProcessCDR(1,14639398,1,1,2) [2025-03-09 03:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639398', 'tblTempUsageDetail_20' ) start [2025-03-09 03:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639398', 'tblTempUsageDetail_20' ) end [2025-03-09 03:22:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:22:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:22:21] Production.INFO: ==4735== Releasing lock... [2025-03-09 03:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:22:21] Production.INFO: 31 MB #Memory Used# [2025-03-09 07:23:01] Production.INFO: ==4800== Lock acquired, processing the job... [2025-03-09 07:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:23:01] Production.INFO: neon service started [2025-03-09 07:23:01] Production.INFO: neon service started [2025-03-09 07:23:01] Production.INFO: ==4800== Releasing lock... [2025-03-09 07:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:23:02] Production.INFO: ==4802== Lock acquired, processing the job... [2025-03-09 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:23:02] Production.INFO: ==4802== Releasing lock... [2025-03-09 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:23:02] Production.INFO: ==4804== Lock acquired, processing the job... [2025-03-09 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:23:02] Production.INFO: ==4804== Releasing lock... [2025-03-09 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:23:03] Production.INFO: ==4813== Lock acquired, processing the job... [2025-03-09 03:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:23:03] Production.INFO: Account Balance Start. [2025-03-09 03:23:03] Production.INFO: CreateAllLog Start [2025-03-09 03:23:03] Production.INFO: 117 [2025-03-09 03:23:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:23:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:23:03] Production.INFO: Date 2025-03-09 [2025-03-09 03:23:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:23:03] Production.INFO: Total Charge 0 [2025-03-09 03:23:03] Production.INFO: CreateAllLog End [2025-03-09 03:23:03] Production.INFO: Account Balance End. [2025-03-09 03:23:03] Production.ERROR: CronJobId end 12 [2025-03-09 03:23:03] Production.INFO: ==4813== Releasing lock... [2025-03-09 03:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:23:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:23:03] Production.INFO: ==4807== Lock acquired, processing the job... [2025-03-09 03:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:23:03] Production.INFO: ==4809== Lock acquired, processing the job... [2025-03-09 03:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:23:03] Production.INFO: ==4811== Lock acquired, processing the job... [2025-03-09 03:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:23:03] Production.INFO: ==4817== Lock acquired, processing the job... [2025-03-09 03:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:23:03] Production.INFO: ==4815== Lock acquired, processing the job... [2025-03-09 03:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:23:03] Production.INFO: count ==13 [2025-03-09 03:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:23:03] Production.INFO: count ==21 [2025-03-09 03:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639401') start [2025-03-09 03:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639401') end [2025-03-09 03:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:23:04] Production.INFO: 1 [2025-03-09 03:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:23:04] Production.INFO: ==4817== Releasing lock... [2025-03-09 03:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:23:04] Production.INFO: ==4809== Releasing lock... [2025-03-09 03:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:23:04] Production.ERROR: done [2025-03-09 03:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:23:04] Production.ERROR: done [2025-03-09 03:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:23:05 [end_date_ymd] => 2025-03-09 04:23:05 [RateCDR] => 1 ) [2025-03-09 03:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:23:05' and `end` < '2025-03-09 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-09 03:23:11] Production.ERROR: CronJobId end10 [2025-03-09 03:23:11] Production.INFO: ==4811== Releasing lock... [2025-03-09 03:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:23:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:23:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:23:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:23:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:23:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:23:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:23:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:23:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:23:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:23:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:23:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:23:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:23:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:23:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:23:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:23:14] Production.INFO: call_cost start [2025-03-09 03:23:14] Production.INFO: call_cost end [2025-03-09 03:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:23:15] Production.INFO: ==4807== Releasing lock... [2025-03-09 03:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:23:17] Production.INFO: count ==364 [2025-03-09 03:23:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:23:05 - End Time 2025-03-09 04:23:05 [2025-03-09 03:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639403', 'tblTempUsageDetail_20' ) start [2025-03-09 03:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639403', 'tblTempUsageDetail_20' ) end [2025-03-09 03:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639403', 'tblTempVendorCDR_20' ) start [2025-03-09 03:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639403', 'tblTempVendorCDR_20' ) end [2025-03-09 03:23:17] Production.INFO: ProcessCDR(1,14639403,1,1,2) [2025-03-09 03:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639403', 'tblTempUsageDetail_20' ) start [2025-03-09 03:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639403', 'tblTempUsageDetail_20' ) end [2025-03-09 03:23:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:23:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:23:20] Production.INFO: ==4815== Releasing lock... [2025-03-09 03:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:23:20] Production.INFO: 31 MB #Memory Used# [2025-03-09 07:24:02] Production.INFO: ==4874== Lock acquired, processing the job... [2025-03-09 07:24:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:24:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:24:02] Production.INFO: neon service started [2025-03-09 07:24:02] Production.INFO: neon service started [2025-03-09 07:24:02] Production.INFO: ==4874== Releasing lock... [2025-03-09 07:24:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:24:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:24:02] Production.INFO: ==4876== Lock acquired, processing the job... [2025-03-09 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:24:02] Production.INFO: ==4876== Releasing lock... [2025-03-09 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:24:02] Production.INFO: ==4878== Lock acquired, processing the job... [2025-03-09 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:24:02] Production.INFO: ==4878== Releasing lock... [2025-03-09 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:24:03] Production.INFO: ==4889== Lock acquired, processing the job... [2025-03-09 03:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:24:03] Production.INFO: ==4891== Lock acquired, processing the job... [2025-03-09 03:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:24:03] Production.INFO: ==4880== Lock acquired, processing the job... [2025-03-09 03:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:24:04] Production.INFO: ==4882== Lock acquired, processing the job... [2025-03-09 03:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:24:04] Production.INFO: ==4884== Lock acquired, processing the job... [2025-03-09 03:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:24:04] Production.INFO: count ==13 [2025-03-09 03:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:24:04] Production.INFO: ==4887== Lock acquired, processing the job... [2025-03-09 03:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:24:04] Production.INFO: count ==21 [2025-03-09 03:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639404') start [2025-03-09 03:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639404') end [2025-03-09 03:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:24:04] Production.INFO: 1 [2025-03-09 03:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:24:04] Production.INFO: Account Balance Start. [2025-03-09 03:24:04] Production.INFO: CreateAllLog Start [2025-03-09 03:24:04] Production.INFO: 117 [2025-03-09 03:24:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:24:04] Production.INFO: ==4891== Releasing lock... [2025-03-09 03:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:24:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:24:04] Production.ERROR: done [2025-03-09 03:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:24:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:24:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:24:04] Production.INFO: Total Charge 0 [2025-03-09 03:24:04] Production.INFO: CreateAllLog End [2025-03-09 03:24:04] Production.INFO: ==4882== Releasing lock... [2025-03-09 03:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:24:04] Production.ERROR: done [2025-03-09 03:24:04] Production.INFO: Account Balance End. [2025-03-09 03:24:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:24:04] Production.INFO: ==4887== Releasing lock... [2025-03-09 03:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:24:05 [end_date_ymd] => 2025-03-09 04:24:05 [RateCDR] => 1 ) [2025-03-09 03:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:24:05' and `end` < '2025-03-09 04:24:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:24:12] Production.ERROR: CronJobId end10 [2025-03-09 03:24:12] Production.INFO: ==4884== Releasing lock... [2025-03-09 03:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:24:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:24:15] Production.INFO: call_cost start [2025-03-09 03:24:15] Production.INFO: call_cost end [2025-03-09 03:24:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:24:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:24:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:24:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:24:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:24:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:24:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:24:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:24:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:24:16] Production.INFO: ==4880== Releasing lock... [2025-03-09 03:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:24:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:24:17] Production.INFO: count ==360 [2025-03-09 03:24:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:24:05 - End Time 2025-03-09 04:24:05 [2025-03-09 03:24:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639408', 'tblTempUsageDetail_20' ) start [2025-03-09 03:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639408', 'tblTempUsageDetail_20' ) end [2025-03-09 03:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639408', 'tblTempVendorCDR_20' ) start [2025-03-09 03:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639408', 'tblTempVendorCDR_20' ) end [2025-03-09 03:24:17] Production.INFO: ProcessCDR(1,14639408,1,1,2) [2025-03-09 03:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639408', 'tblTempUsageDetail_20' ) start [2025-03-09 03:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639408', 'tblTempUsageDetail_20' ) end [2025-03-09 03:24:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:24:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:24:21] Production.INFO: ==4889== Releasing lock... [2025-03-09 03:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:24:21] Production.INFO: 31 MB #Memory Used# [2025-03-09 07:25:01] Production.INFO: ==4949== Lock acquired, processing the job... [2025-03-09 07:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:25:01] Production.INFO: neon service started [2025-03-09 07:25:01] Production.INFO: neon service started [2025-03-09 07:25:01] Production.INFO: ==4949== Releasing lock... [2025-03-09 07:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:25:02] Production.INFO: ==4952== Lock acquired, processing the job... [2025-03-09 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:25:02] Production.INFO: ==4954== Lock acquired, processing the job... [2025-03-09 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:25:02] Production.INFO: ==4954== Releasing lock... [2025-03-09 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:25:02] Production.INFO: ==4952== Releasing lock... [2025-03-09 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:25:03] Production.INFO: ==4956== Lock acquired, processing the job... [2025-03-09 03:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:25:03] Production.INFO: ==4960== Lock acquired, processing the job... [2025-03-09 03:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:25:03] Production.INFO: ==4964== Lock acquired, processing the job... [2025-03-09 03:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:25:03] Production.INFO: ==4958== Lock acquired, processing the job... [2025-03-09 03:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:25:03] Production.INFO: ==4962== Lock acquired, processing the job... [2025-03-09 03:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:25:03] Production.INFO: ==4966== Lock acquired, processing the job... [2025-03-09 03:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:25:03] Production.INFO: Account Balance Start. [2025-03-09 03:25:03] Production.INFO: CreateAllLog Start [2025-03-09 03:25:03] Production.INFO: 117 [2025-03-09 03:25:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:25:03] Production.ERROR: done [2025-03-09 03:25:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:25:03] Production.INFO: Date 2025-03-09 [2025-03-09 03:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:25:03] Production.INFO: Total Charge 0 [2025-03-09 03:25:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 03:25:04] Production.INFO: ==4958== Releasing lock... [2025-03-09 03:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:25:04] Production.ERROR: done [2025-03-09 03:25:04] Production.INFO: count ==13 [2025-03-09 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-09 03:25:04] Production.INFO: count ==21 [2025-03-09 03:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639412') start [2025-03-09 03:25:04] Production.INFO: Account Balance End. [2025-03-09 03:25:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:25:04] Production.INFO: ==4962== Releasing lock... [2025-03-09 03:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639412') end [2025-03-09 03:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:25:04] Production.INFO: 1 [2025-03-09 03:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:25:04] Production.INFO: ==4966== Releasing lock... [2025-03-09 03:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:25:05 [end_date_ymd] => 2025-03-09 04:25:05 [RateCDR] => 1 ) [2025-03-09 03:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:25:05' and `end` < '2025-03-09 04:25:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:25:11] Production.ERROR: CronJobId end10 [2025-03-09 03:25:11] Production.INFO: ==4960== Releasing lock... [2025-03-09 03:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:25:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:25:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:25:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:25:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:25:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:25:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:25:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:25:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:25:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:25:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:25:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:25:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:25:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:25:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:25:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:25:13] Production.INFO: call_cost start [2025-03-09 03:25:13] Production.INFO: call_cost end [2025-03-09 03:25:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:25:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:25:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:25:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:25:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:25:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:25:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:25:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:25:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:25:14] Production.INFO: ==4956== Releasing lock... [2025-03-09 03:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:25:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:25:17] Production.INFO: count ==359 [2025-03-09 03:25:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:25:05 - End Time 2025-03-09 04:25:05 [2025-03-09 03:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639413', 'tblTempUsageDetail_20' ) start [2025-03-09 03:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639413', 'tblTempUsageDetail_20' ) end [2025-03-09 03:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639413', 'tblTempVendorCDR_20' ) start [2025-03-09 03:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639413', 'tblTempVendorCDR_20' ) end [2025-03-09 03:25:17] Production.INFO: ProcessCDR(1,14639413,1,1,2) [2025-03-09 03:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639413', 'tblTempUsageDetail_20' ) start [2025-03-09 03:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639413', 'tblTempUsageDetail_20' ) end [2025-03-09 03:25:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:25:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:25:20] Production.INFO: ==4964== Releasing lock... [2025-03-09 03:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:25:20] Production.INFO: 31 MB #Memory Used# [2025-03-09 07:26:01] Production.INFO: ==5027== Lock acquired, processing the job... [2025-03-09 07:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:26:02] Production.INFO: neon service started [2025-03-09 07:26:02] Production.INFO: neon service started [2025-03-09 07:26:02] Production.INFO: ==5027== Releasing lock... [2025-03-09 07:26:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:26:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:26:02] Production.INFO: ==5029== Lock acquired, processing the job... [2025-03-09 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:26:02] Production.INFO: ==5029== Releasing lock... [2025-03-09 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:26:02] Production.INFO: ==5032== Lock acquired, processing the job... [2025-03-09 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:26:02] Production.INFO: ==5032== Releasing lock... [2025-03-09 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:26:03] Production.INFO: ==5036== Lock acquired, processing the job... [2025-03-09 03:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:26:03] Production.INFO: ==5038== Lock acquired, processing the job... [2025-03-09 03:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:26:03] Production.INFO: ==5042== Lock acquired, processing the job... [2025-03-09 03:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:26:03] Production.INFO: ==5036== Releasing lock... [2025-03-09 03:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:26:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:26:03] Production.INFO: ==5034== Lock acquired, processing the job... [2025-03-09 03:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:26:03] Production.INFO: ==5040== Lock acquired, processing the job... [2025-03-09 03:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:26:03] Production.INFO: Account Balance Start. [2025-03-09 03:26:03] Production.INFO: CreateAllLog Start [2025-03-09 03:26:03] Production.INFO: ==5044== Lock acquired, processing the job... [2025-03-09 03:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:26:03] Production.INFO: 117 [2025-03-09 03:26:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:26:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:26:03] Production.INFO: Date 2025-03-09 [2025-03-09 03:26:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:26:03] Production.INFO: Total Charge 0 [2025-03-09 03:26:04] Production.INFO: CreateAllLog End [2025-03-09 03:26:04] Production.ERROR: done [2025-03-09 03:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:26:04] Production.INFO: count ==13 [2025-03-09 03:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:26:04] Production.INFO: count ==21 [2025-03-09 03:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639417') start [2025-03-09 03:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639417') end [2025-03-09 03:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:26:04] Production.INFO: 1 [2025-03-09 03:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:26:04] Production.INFO: Account Balance End. [2025-03-09 03:26:04] Production.INFO: ==5044== Releasing lock... [2025-03-09 03:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:26:04] Production.ERROR: done [2025-03-09 03:26:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:26:04] Production.INFO: ==5040== Releasing lock... [2025-03-09 03:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:26:05 [end_date_ymd] => 2025-03-09 04:26:05 [RateCDR] => 1 ) [2025-03-09 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-09 00:26:05' and `end` < '2025-03-09 04:26:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:26:11] Production.ERROR: CronJobId end10 [2025-03-09 03:26:11] Production.INFO: ==5038== Releasing lock... [2025-03-09 03:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:26:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:26:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:26:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:26:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:26:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:26:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:26:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:26:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:26:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:26:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:26:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:26:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:26:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:26:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:26:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:26:13] Production.INFO: call_cost start [2025-03-09 03:26:13] Production.INFO: call_cost end [2025-03-09 03:26:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:26:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:26:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:26:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:26:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:26:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:26:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:26:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:26:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:26:14] Production.INFO: ==5034== Releasing lock... [2025-03-09 03:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:26:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:26:17] Production.INFO: count ==355 [2025-03-09 03:26:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:26:05 - End Time 2025-03-09 04:26:05 [2025-03-09 03:26:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639418', 'tblTempUsageDetail_20' ) start [2025-03-09 03:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639418', 'tblTempUsageDetail_20' ) end [2025-03-09 03:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639418', 'tblTempVendorCDR_20' ) start [2025-03-09 03:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639418', 'tblTempVendorCDR_20' ) end [2025-03-09 03:26:17] Production.INFO: ProcessCDR(1,14639418,1,1,2) [2025-03-09 03:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639418', 'tblTempUsageDetail_20' ) start [2025-03-09 03:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639418', 'tblTempUsageDetail_20' ) end [2025-03-09 03:26:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:26:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:26:20] Production.INFO: ==5042== Releasing lock... [2025-03-09 03:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:26:20] Production.INFO: 30.75 MB #Memory Used# [2025-03-09 07:27:01] Production.INFO: ==5100== Lock acquired, processing the job... [2025-03-09 07:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:27:01] Production.INFO: neon service started [2025-03-09 07:27:01] Production.INFO: neon service started [2025-03-09 07:27:01] Production.INFO: ==5100== Releasing lock... [2025-03-09 07:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:27:01] Production.INFO: ==5102== Lock acquired, processing the job... [2025-03-09 03:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:27:02] Production.INFO: ==5102== Releasing lock... [2025-03-09 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:27:02] Production.INFO: ==5104== Lock acquired, processing the job... [2025-03-09 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:27:02] Production.INFO: ==5104== Releasing lock... [2025-03-09 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:27:03] Production.INFO: ==5110== Lock acquired, processing the job... [2025-03-09 03:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:27:03] Production.INFO: ==5108== Lock acquired, processing the job... [2025-03-09 03:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:27:03] Production.INFO: ==5116== Lock acquired, processing the job... [2025-03-09 03:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:27:03] Production.INFO: ==5112== Lock acquired, processing the job... [2025-03-09 03:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:27:03] Production.INFO: ==5114== Lock acquired, processing the job... [2025-03-09 03:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:27:03] Production.INFO: ==5118== Lock acquired, processing the job... [2025-03-09 03:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:27:03] Production.INFO: ==5110== Releasing lock... [2025-03-09 03:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:27:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:27:03] Production.INFO: Account Balance Start. [2025-03-09 03:27:03] Production.INFO: CreateAllLog Start [2025-03-09 03:27:03] Production.INFO: count ==13 [2025-03-09 03:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:27:03] Production.ERROR: done [2025-03-09 03:27:03] Production.INFO: count ==21 [2025-03-09 03:27:03] Production.INFO: 117 [2025-03-09 03:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639422') start [2025-03-09 03:27:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:27:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:27:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639422') end [2025-03-09 03:27:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:27:03] Production.INFO: 1 [2025-03-09 03:27:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:27:03] Production.INFO: Date 2025-03-09 [2025-03-09 03:27:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:27:03] Production.INFO: ==5118== Releasing lock... [2025-03-09 03:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:27:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:27:03] Production.INFO: Total Charge 0 [2025-03-09 03:27:03] Production.ERROR: done [2025-03-09 03:27:03] Production.INFO: CreateAllLog End [2025-03-09 03:27:04] Production.INFO: Account Balance End. [2025-03-09 03:27:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:27:04] Production.INFO: ==5114== Releasing lock... [2025-03-09 03:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:27:05 [end_date_ymd] => 2025-03-09 04:27:05 [RateCDR] => 1 ) [2025-03-09 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-09 00:27:05' and `end` < '2025-03-09 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-09 03:27:10] Production.ERROR: CronJobId end10 [2025-03-09 03:27:10] Production.INFO: ==5112== Releasing lock... [2025-03-09 03:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:27:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:27:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:27:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:27:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:27:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:27:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:27:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:27:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:27:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:27:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:27:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:27:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:27:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:27:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:27:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:27:13] Production.INFO: call_cost start [2025-03-09 03:27:13] Production.INFO: call_cost end [2025-03-09 03:27:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:27:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:27:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:27:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:27:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:27:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:27:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:27:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:27:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:27:14] Production.INFO: ==5108== Releasing lock... [2025-03-09 03:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:27:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:27:17] Production.INFO: count ==355 [2025-03-09 03:27:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:27:05 - End Time 2025-03-09 04:27:05 [2025-03-09 03:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639423', 'tblTempUsageDetail_20' ) start [2025-03-09 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639423', 'tblTempUsageDetail_20' ) end [2025-03-09 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639423', 'tblTempVendorCDR_20' ) start [2025-03-09 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639423', 'tblTempVendorCDR_20' ) end [2025-03-09 03:27:17] Production.INFO: ProcessCDR(1,14639423,1,1,2) [2025-03-09 03:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:27:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639423', 'tblTempUsageDetail_20' ) start [2025-03-09 03:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639423', 'tblTempUsageDetail_20' ) end [2025-03-09 03:27:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:27:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:27:20] Production.INFO: ==5116== Releasing lock... [2025-03-09 03:27:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:27:20] Production.INFO: 30.75 MB #Memory Used# [2025-03-09 07:28:01] Production.INFO: ==5180== Lock acquired, processing the job... [2025-03-09 07:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:28:01] Production.INFO: neon service started [2025-03-09 07:28:01] Production.INFO: neon service started [2025-03-09 07:28:01] Production.INFO: ==5180== Releasing lock... [2025-03-09 07:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:28:02] Production.INFO: ==5182== Lock acquired, processing the job... [2025-03-09 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:28:02] Production.INFO: ==5182== Releasing lock... [2025-03-09 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:28:02] Production.INFO: ==5184== Lock acquired, processing the job... [2025-03-09 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:28:02] Production.INFO: ==5184== Releasing lock... [2025-03-09 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:28:03] Production.INFO: ==5189== Lock acquired, processing the job... [2025-03-09 03:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:28:03] Production.INFO: ==5187== Lock acquired, processing the job... [2025-03-09 03:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:28:03] Production.INFO: ==5197== Lock acquired, processing the job... [2025-03-09 03:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:28:03] Production.INFO: ==5191== Lock acquired, processing the job... [2025-03-09 03:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:28:03] Production.INFO: ==5193== Lock acquired, processing the job... [2025-03-09 03:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:28:03] Production.INFO: ==5195== Lock acquired, processing the job... [2025-03-09 03:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:28:03] Production.INFO: count ==13 [2025-03-09 03:28:04] Production.INFO: Account Balance Start. [2025-03-09 03:28:04] Production.INFO: CreateAllLog Start [2025-03-09 03:28:04] Production.INFO: 117 [2025-03-09 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-09 03:28:04] Production.INFO: count ==21 [2025-03-09 03:28:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639426') start [2025-03-09 03:28:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:28:04] Production.INFO: Total Charge 0 [2025-03-09 03:28:04] Production.INFO: ==5189== Releasing lock... [2025-03-09 03:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:28:04] Production.INFO: CreateAllLog End [2025-03-09 03:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639426') end [2025-03-09 03:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:28:04] Production.INFO: 1 [2025-03-09 03:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:28:04] Production.INFO: ==5197== Releasing lock... [2025-03-09 03:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:28:04] Production.ERROR: done [2025-03-09 03:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:28:04] Production.INFO: Account Balance End. [2025-03-09 03:28:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:28:04] Production.INFO: ==5193== Releasing lock... [2025-03-09 03:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:28:04] Production.ERROR: done [2025-03-09 03:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:28:05 [end_date_ymd] => 2025-03-09 04:28:05 [RateCDR] => 1 ) [2025-03-09 03:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:28:05' and `end` < '2025-03-09 04:28:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:28:12] Production.ERROR: CronJobId end10 [2025-03-09 03:28:12] Production.INFO: ==5191== Releasing lock... [2025-03-09 03:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:28:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:28:14] Production.INFO: call_cost start [2025-03-09 03:28:14] Production.INFO: call_cost end [2025-03-09 03:28:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:28:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:28:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:28:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:28:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:28:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:28:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:28:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:28:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:28:15] Production.INFO: ==5187== Releasing lock... [2025-03-09 03:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:28:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:28:17] Production.INFO: count ==355 [2025-03-09 03:28:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:28:05 - End Time 2025-03-09 04:28:05 [2025-03-09 03:28:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639428', 'tblTempUsageDetail_20' ) start [2025-03-09 03:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639428', 'tblTempUsageDetail_20' ) end [2025-03-09 03:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639428', 'tblTempVendorCDR_20' ) start [2025-03-09 03:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639428', 'tblTempVendorCDR_20' ) end [2025-03-09 03:28:17] Production.INFO: ProcessCDR(1,14639428,1,1,2) [2025-03-09 03:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639428', 'tblTempUsageDetail_20' ) start [2025-03-09 03:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639428', 'tblTempUsageDetail_20' ) end [2025-03-09 03:28:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:28:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:28:21] Production.INFO: ==5195== Releasing lock... [2025-03-09 03:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:28:21] Production.INFO: 30.75 MB #Memory Used# [2025-03-09 07:29:01] Production.INFO: ==5257== Lock acquired, processing the job... [2025-03-09 07:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:29:01] Production.INFO: neon service started [2025-03-09 07:29:01] Production.INFO: neon service started [2025-03-09 07:29:01] Production.INFO: ==5257== Releasing lock... [2025-03-09 07:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:29:01] Production.INFO: ==5261== Lock acquired, processing the job... [2025-03-09 07:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:29:01] Production.INFO: ==5261== Releasing lock... [2025-03-09 07:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:29:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:29:01] Production.INFO: ==5259== Lock acquired, processing the job... [2025-03-09 03:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:29:02] Production.INFO: ==5259== Releasing lock... [2025-03-09 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:29:02] Production.INFO: ==5264== Lock acquired, processing the job... [2025-03-09 03:29:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:29:03] Production.INFO: ==5268== Lock acquired, processing the job... [2025-03-09 03:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:29:03] Production.INFO: ==5266== Lock acquired, processing the job... [2025-03-09 03:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:29:03] Production.INFO: ==5270== Lock acquired, processing the job... [2025-03-09 03:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:29:03] Production.INFO: ==5272== Lock acquired, processing the job... [2025-03-09 03:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:29:03] Production.INFO: Account Balance Start. [2025-03-09 03:29:03] Production.INFO: CreateAllLog Start [2025-03-09 03:29:03] Production.INFO: 117 [2025-03-09 03:29:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:29:03] Production.INFO: Date 2025-03-09 [2025-03-09 03:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:29:03] Production.INFO: ==5274== Lock acquired, processing the job... [2025-03-09 03:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:29:03] Production.INFO: Total Charge 0 [2025-03-09 03:29:03] Production.INFO: CreateAllLog End [2025-03-09 03:29:03] Production.INFO: ==5266== Releasing lock... [2025-03-09 03:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:29:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:29:03] Production.INFO: Account Balance End. [2025-03-09 03:29:03] Production.INFO: count ==13 [2025-03-09 03:29:03] Production.ERROR: CronJobId end 12 [2025-03-09 03:29:03] Production.INFO: ==5270== Releasing lock... [2025-03-09 03:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:29:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:29:03] Production.ERROR: done [2025-03-09 03:29:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:29:03] Production.INFO: count ==21 [2025-03-09 03:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639432') start [2025-03-09 03:29:03] Production.ERROR: done [2025-03-09 03:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639432') end [2025-03-09 03:29:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:29:03] Production.INFO: 1 [2025-03-09 03:29:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:29:04] Production.INFO: ==5274== Releasing lock... [2025-03-09 03:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:29:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:29:04 [end_date_ymd] => 2025-03-09 04:29:04 [RateCDR] => 1 ) [2025-03-09 03:29:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:29:04' and `end` < '2025-03-09 04:29:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:29:10] Production.ERROR: CronJobId end10 [2025-03-09 03:29:10] Production.INFO: ==5268== Releasing lock... [2025-03-09 03:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:29:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:29:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:29:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:29:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:29:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:29:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:29:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:29:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:29:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:29:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:29:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:29:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:29:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:29:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:29:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:29:13] Production.INFO: call_cost start [2025-03-09 03:29:13] Production.INFO: call_cost end [2025-03-09 03:29:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:29:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:29:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:29:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:29:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:29:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:29:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:29:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:29:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:29:14] Production.INFO: ==5264== Releasing lock... [2025-03-09 03:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:29:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:29:16] Production.INFO: count ==353 [2025-03-09 03:29:16] Production.ERROR: pbx CDR StartTime 2025-03-09 00:29:04 - End Time 2025-03-09 04:29:04 [2025-03-09 03:29:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:29:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639433', 'tblTempUsageDetail_20' ) start [2025-03-09 03:29:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639433', 'tblTempUsageDetail_20' ) end [2025-03-09 03:29:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639433', 'tblTempVendorCDR_20' ) start [2025-03-09 03:29:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639433', 'tblTempVendorCDR_20' ) end [2025-03-09 03:29:16] Production.INFO: ProcessCDR(1,14639433,1,1,2) [2025-03-09 03:29:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:29:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:29:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639433', 'tblTempUsageDetail_20' ) start [2025-03-09 03:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639433', 'tblTempUsageDetail_20' ) end [2025-03-09 03:29:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:29:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:29:20] Production.INFO: ==5272== Releasing lock... [2025-03-09 03:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:29:20] Production.INFO: 31.25 MB #Memory Used# [2025-03-09 07:30:01] Production.INFO: ==5329== Lock acquired, processing the job... [2025-03-09 07:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:30:01] Production.INFO: neon service started [2025-03-09 07:30:01] Production.INFO: neon service started [2025-03-09 07:30:01] Production.INFO: ==5329== Releasing lock... [2025-03-09 07:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:30:02] Production.INFO: ==5331== Lock acquired, processing the job... [2025-03-09 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:30:02] Production.INFO: ==5331== Releasing lock... [2025-03-09 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:30:02] Production.INFO: ==5333== Lock acquired, processing the job... [2025-03-09 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:30:02] Production.INFO: ==5333== Releasing lock... [2025-03-09 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:30:03] Production.INFO: ==5337== Lock acquired, processing the job... [2025-03-09 03:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:30:03] Production.INFO: ==5339== Lock acquired, processing the job... [2025-03-09 03:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:30:03] Production.INFO: ==5341== Lock acquired, processing the job... [2025-03-09 03:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:30:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:30:03] Production.INFO: ==5350== Lock acquired, processing the job... [2025-03-09 03:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:30:03] Production.INFO: ==5335== Lock acquired, processing the job... [2025-03-09 03:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 03:30:03] Production.INFO: ==5339== Releasing lock... [2025-03-09 03:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:30:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:30:04] Production.INFO: count ==13 [2025-03-09 03:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:30:04] Production.INFO: count ==21 [2025-03-09 03:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639436') start [2025-03-09 03:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 03:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 03:30:04] Production.ERROR: CronJob PID - 5337 [2025-03-09 03:30:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 03:30:04] Production.ERROR: CronJob ID - 5 [2025-03-09 03:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 03:30:00 [2025-03-09 03:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 03:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 03:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 03:30:04] Production.ERROR: CronJob PID - 5341 [2025-03-09 03:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 03:30:04] Production.ERROR: CronJob ID - 10 [2025-03-09 03:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 03:30:00 [2025-03-09 03:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 03:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 03:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 03:30:04] Production.ERROR: CronJob PID - 5350 [2025-03-09 03:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 03:30:04] Production.ERROR: CronJob ID - 19 [2025-03-09 03:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 03:30:00 [2025-03-09 03:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 03:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 03:30:04] Production.INFO: ==5343== Lock acquired, processing the job... [2025-03-09 03:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639436') end [2025-03-09 03:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:30:04] Production.INFO: 1 [2025-03-09 03:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:30:04] Production.INFO: ==5346== Lock acquired, processing the job... [2025-03-09 03:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 03:30:04] Production.INFO: ==5335== Releasing lock... [2025-03-09 03:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 03:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 03:30:04] Production.INFO: ==5348== Lock acquired, processing the job... [2025-03-09 03:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 03:30:04] Production.INFO: ==5350== Releasing lock... [2025-03-09 03:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:30:04] Production.INFO: Account Balance Start. [2025-03-09 03:30:04] Production.INFO: CreateAllLog Start [2025-03-09 03:30:04] Production.INFO: 117 [2025-03-09 03:30:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:30:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:30:04] Production.INFO: Total Charge 0 [2025-03-09 03:30:04] Production.INFO: CreateAllLog End [2025-03-09 03:30:04] Production.ERROR: done [2025-03-09 03:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:30:04] Production.INFO: Account Balance End. [2025-03-09 03:30:04] Production.ERROR: done [2025-03-09 03:30:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:30:04] Production.INFO: ==5343== Releasing lock... [2025-03-09 03:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:30:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:30:04] Production.ERROR: done [2025-03-09 03:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 03:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639438', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 03:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:30:06 [end_date_ymd] => 2025-03-09 04:30:06 [RateCDR] => 1 ) [2025-03-09 03:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:30:06' and `end` < '2025-03-09 04:30:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639438', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 03:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 03:30:09] Production.INFO: ProcessCDR(1,14639438,1,1,2) [2025-03-09 03:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14639438,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14639438,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:30:09] Production.INFO: ==5348== Releasing lock... [2025-03-09 03:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 03:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 03:30:14] Production.ERROR: CronJobId end10 [2025-03-09 03:30:14] Production.INFO: ==5341== Releasing lock... [2025-03-09 03:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:30:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:30:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:30:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:30:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:30:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:30:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:30:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:30:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:30:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:30:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:30:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:30:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:30:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:30:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:30:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:30:16] Production.INFO: call_cost start [2025-03-09 03:30:16] Production.INFO: call_cost end [2025-03-09 03:30:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:30:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:30:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:30:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:30:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:30:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:30:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:30:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:30:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:30:17] Production.INFO: ==5337== Releasing lock... [2025-03-09 03:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:30:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:30:18] Production.INFO: count ==344 [2025-03-09 03:30:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:30:06 - End Time 2025-03-09 04:30:06 [2025-03-09 03:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639439', 'tblTempUsageDetail_20' ) start [2025-03-09 03:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639439', 'tblTempUsageDetail_20' ) end [2025-03-09 03:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639439', 'tblTempVendorCDR_20' ) start [2025-03-09 03:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639439', 'tblTempVendorCDR_20' ) end [2025-03-09 03:30:18] Production.INFO: ProcessCDR(1,14639439,1,1,2) [2025-03-09 03:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639439', 'tblTempUsageDetail_20' ) start [2025-03-09 03:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639439', 'tblTempUsageDetail_20' ) end [2025-03-09 03:30:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:30:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:30:22] Production.INFO: ==5346== Releasing lock... [2025-03-09 03:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:30:22] Production.INFO: 31 MB #Memory Used# [2025-03-09 07:31:02] Production.INFO: ==5455== Lock acquired, processing the job... [2025-03-09 07:31:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:31:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:31:02] Production.INFO: neon service started [2025-03-09 07:31:02] Production.INFO: neon service started [2025-03-09 07:31:02] Production.INFO: ==5455== Releasing lock... [2025-03-09 07:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:31:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:31:03] Production.INFO: ==5457== Lock acquired, processing the job... [2025-03-09 03:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:31:03] Production.INFO: ==5459== Lock acquired, processing the job... [2025-03-09 07:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:31:03] Production.INFO: ==5459== Releasing lock... [2025-03-09 07:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:31:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:31:03] Production.INFO: ==5457== Releasing lock... [2025-03-09 03:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:31:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:31:04] Production.INFO: ==5462== Lock acquired, processing the job... [2025-03-09 03:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:31:04] Production.INFO: ==5464== Lock acquired, processing the job... [2025-03-09 03:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:31:04] Production.INFO: ==5466== Lock acquired, processing the job... [2025-03-09 03:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:31:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:31:04] Production.INFO: ==5468== Lock acquired, processing the job... [2025-03-09 03:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:31:04] Production.INFO: ==5464== Releasing lock... [2025-03-09 03:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:31:04] Production.INFO: ==5470== Lock acquired, processing the job... [2025-03-09 03:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:31:04] Production.INFO: Account Balance Start. [2025-03-09 03:31:04] Production.INFO: CreateAllLog Start [2025-03-09 03:31:04] Production.INFO: 117 [2025-03-09 03:31:04] Production.INFO: ==5472== Lock acquired, processing the job... [2025-03-09 03:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:31:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:31:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:31:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:31:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:31:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:31:04] Production.INFO: Total Charge 0 [2025-03-09 03:31:04] Production.INFO: CreateAllLog End [2025-03-09 03:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:31:05] Production.INFO: count ==13 [2025-03-09 03: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-09 03:31:05] Production.INFO: count ==21 [2025-03-09 03:31:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639443') start [2025-03-09 03:31:05] Production.ERROR: done [2025-03-09 03:31:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:31:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639443') end [2025-03-09 03:31:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:31:05] Production.INFO: 1 [2025-03-09 03:31:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:31:05] Production.INFO: ==5472== Releasing lock... [2025-03-09 03:31:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:31:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:31:05] Production.INFO: Account Balance End. [2025-03-09 03:31:05] Production.ERROR: done [2025-03-09 03:31:05] Production.ERROR: CronJobId end 12 [2025-03-09 03:31:05] Production.INFO: ==5468== Releasing lock... [2025-03-09 03:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:31:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:31:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:31:06 [end_date_ymd] => 2025-03-09 04:31:06 [RateCDR] => 1 ) [2025-03-09 03:31:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:31:06' and `end` < '2025-03-09 04: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-09 03:31:14] Production.ERROR: CronJobId end10 [2025-03-09 03:31:14] Production.INFO: ==5466== Releasing lock... [2025-03-09 03:31:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:31:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:31:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:31:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:31:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:31:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:31:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:31:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:31:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:31:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:31:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:31:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:31:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:31:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:31:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:31:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:31:16] Production.INFO: call_cost start [2025-03-09 03:31:16] Production.INFO: call_cost end [2025-03-09 03:31:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:31:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:31:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:31:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:31:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:31:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:31:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:31:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:31:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:31:17] Production.INFO: ==5462== Releasing lock... [2025-03-09 03:31:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:31:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:31:18] Production.INFO: count ==317 [2025-03-09 03:31:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:31:06 - End Time 2025-03-09 04:31:06 [2025-03-09 03:31:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639444', 'tblTempUsageDetail_20' ) start [2025-03-09 03:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639444', 'tblTempUsageDetail_20' ) end [2025-03-09 03:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639444', 'tblTempVendorCDR_20' ) start [2025-03-09 03:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639444', 'tblTempVendorCDR_20' ) end [2025-03-09 03:31:18] Production.INFO: ProcessCDR(1,14639444,1,1,2) [2025-03-09 03:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639444', 'tblTempUsageDetail_20' ) start [2025-03-09 03:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639444', 'tblTempUsageDetail_20' ) end [2025-03-09 03:31:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:31:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:31:22] Production.INFO: ==5470== Releasing lock... [2025-03-09 03:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:31:22] Production.INFO: 30.75 MB #Memory Used# [2025-03-09 07:32:01] Production.INFO: ==5531== Lock acquired, processing the job... [2025-03-09 07:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:32:01] Production.INFO: neon service started [2025-03-09 07:32:01] Production.INFO: neon service started [2025-03-09 07:32:01] Production.INFO: ==5531== Releasing lock... [2025-03-09 07:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:32:02] Production.INFO: ==5533== Lock acquired, processing the job... [2025-03-09 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:32:02] Production.INFO: ==5535== Lock acquired, processing the job... [2025-03-09 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 03:32:02] Production.INFO: ==5533== Releasing lock... [2025-03-09 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:32:02] Production.INFO: ==5535== Releasing lock... [2025-03-09 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:32:03] Production.INFO: ==5538== Lock acquired, processing the job... [2025-03-09 03:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:32:03] Production.INFO: ==5540== Lock acquired, processing the job... [2025-03-09 03:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:32:03] Production.INFO: ==5544== Lock acquired, processing the job... [2025-03-09 03:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:32:03] Production.INFO: Account Balance Start. [2025-03-09 03:32:03] Production.INFO: CreateAllLog Start [2025-03-09 03:32:03] Production.INFO: 117 [2025-03-09 03:32:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:32:04] Production.INFO: ==5542== Lock acquired, processing the job... [2025-03-09 03:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:32:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:32:04] Production.INFO: Total Charge 0 [2025-03-09 03:32:04] Production.INFO: CreateAllLog End [2025-03-09 03:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:32:04] Production.INFO: ==5546== Lock acquired, processing the job... [2025-03-09 03:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:32:04] Production.INFO: ==5548== Lock acquired, processing the job... [2025-03-09 03:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:32:04] Production.INFO: ==5540== Releasing lock... [2025-03-09 03:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:32:04] Production.INFO: Account Balance End. [2025-03-09 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-09 03:32:04] Production.INFO: count ==13 [2025-03-09 03:32:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:32:04] Production.INFO: ==5544== Releasing lock... [2025-03-09 03:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 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-09 03:32:04] Production.INFO: count ==21 [2025-03-09 03:32:04] Production.ERROR: done [2025-03-09 03:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639448') start [2025-03-09 03:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639448') end [2025-03-09 03:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:32:04] Production.INFO: 1 [2025-03-09 03:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:32:04] Production.INFO: ==5548== Releasing lock... [2025-03-09 03:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:32:05] Production.ERROR: done [2025-03-09 03:32:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:32:06 [end_date_ymd] => 2025-03-09 04:32:06 [RateCDR] => 1 ) [2025-03-09 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-09 00:32:06' and `end` < '2025-03-09 04: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-09 03:32:13] Production.ERROR: CronJobId end10 [2025-03-09 03:32:13] Production.INFO: ==5542== Releasing lock... [2025-03-09 03:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:32:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:32:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:32:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:32:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:32:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:32:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:32:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:32:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:32:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:32:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:32:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:32:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:32:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:32:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:32:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:32:16] Production.INFO: call_cost start [2025-03-09 03:32:16] Production.INFO: call_cost end [2025-03-09 03:32:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:32:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:32:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:32:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:32:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:32:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:32:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:32:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:32:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:32:17] Production.INFO: ==5538== Releasing lock... [2025-03-09 03:32:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:32:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:32:18] Production.INFO: count ==317 [2025-03-09 03:32:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:32:06 - End Time 2025-03-09 04:32:06 [2025-03-09 03:32:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639449', 'tblTempUsageDetail_20' ) start [2025-03-09 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639449', 'tblTempUsageDetail_20' ) end [2025-03-09 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639449', 'tblTempVendorCDR_20' ) start [2025-03-09 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639449', 'tblTempVendorCDR_20' ) end [2025-03-09 03:32:18] Production.INFO: ProcessCDR(1,14639449,1,1,2) [2025-03-09 03:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639449', 'tblTempUsageDetail_20' ) start [2025-03-09 03:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639449', 'tblTempUsageDetail_20' ) end [2025-03-09 03:32:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:32:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:32:22] Production.INFO: ==5546== Releasing lock... [2025-03-09 03:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:32:22] Production.INFO: 30.75 MB #Memory Used# [2025-03-09 07:33:01] Production.INFO: ==5610== Lock acquired, processing the job... [2025-03-09 07:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:33:01] Production.INFO: neon service started [2025-03-09 07:33:01] Production.INFO: neon service started [2025-03-09 07:33:01] Production.INFO: ==5610== Releasing lock... [2025-03-09 07:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:33:02] Production.INFO: ==5612== Lock acquired, processing the job... [2025-03-09 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:33:02] Production.INFO: ==5614== Lock acquired, processing the job... [2025-03-09 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:33:02] Production.INFO: ==5614== Releasing lock... [2025-03-09 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:33:02] Production.INFO: ==5612== Releasing lock... [2025-03-09 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:33:03] Production.INFO: ==5617== Lock acquired, processing the job... [2025-03-09 03:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:33:03] Production.INFO: ==5621== Lock acquired, processing the job... [2025-03-09 03:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:33:03] Production.INFO: ==5619== Lock acquired, processing the job... [2025-03-09 03:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:33:03] Production.INFO: ==5623== Lock acquired, processing the job... [2025-03-09 03:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:33:03] Production.INFO: Account Balance Start. [2025-03-09 03:33:03] Production.INFO: CreateAllLog Start [2025-03-09 03:33:03] Production.INFO: 117 [2025-03-09 03:33:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:33:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:33:03] Production.INFO: ==5625== Lock acquired, processing the job... [2025-03-09 03:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:33:03] Production.INFO: Date 2025-03-09 [2025-03-09 03:33:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:33:03] Production.INFO: Total Charge 0 [2025-03-09 03:33:03] Production.INFO: ==5627== Lock acquired, processing the job... [2025-03-09 03:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:33:03] Production.INFO: CreateAllLog End [2025-03-09 03:33:03] Production.INFO: ==5619== Releasing lock... [2025-03-09 03:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:33:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 03:33:03] Production.INFO: count ==13 [2025-03-09 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-09 03:33:03] Production.INFO: count ==21 [2025-03-09 03:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639453') start [2025-03-09 03:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639453') end [2025-03-09 03:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:33:04] Production.INFO: 1 [2025-03-09 03:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:33:04] Production.INFO: Account Balance End. [2025-03-09 03:33:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:33:04] Production.INFO: ==5623== Releasing lock... [2025-03-09 03:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:33:04] Production.INFO: ==5627== Releasing lock... [2025-03-09 03:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:33:04] Production.ERROR: done [2025-03-09 03:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:33:04] Production.ERROR: done [2025-03-09 03:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:33:05 [end_date_ymd] => 2025-03-09 04:33:05 [RateCDR] => 1 ) [2025-03-09 03:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:33:05' and `end` < '2025-03-09 04:33:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:33:13] Production.ERROR: CronJobId end10 [2025-03-09 03:33:13] Production.INFO: ==5621== Releasing lock... [2025-03-09 03:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:33:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:33:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:33:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:33:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:33:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:33:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:33:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:33:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:33:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:33:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:33:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:33:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:33:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:33:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:33:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:33:15] Production.INFO: call_cost start [2025-03-09 03:33:15] Production.INFO: call_cost end [2025-03-09 03:33:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:33:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:33:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:33:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:33:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:33:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:33:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:33:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:33:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:33:16] Production.INFO: ==5617== Releasing lock... [2025-03-09 03:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:33:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:33:17] Production.INFO: count ==317 [2025-03-09 03:33:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:33:05 - End Time 2025-03-09 04:33:05 [2025-03-09 03:33:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639454', 'tblTempUsageDetail_20' ) start [2025-03-09 03:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639454', 'tblTempUsageDetail_20' ) end [2025-03-09 03:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639454', 'tblTempVendorCDR_20' ) start [2025-03-09 03:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639454', 'tblTempVendorCDR_20' ) end [2025-03-09 03:33:17] Production.INFO: ProcessCDR(1,14639454,1,1,2) [2025-03-09 03:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639454', 'tblTempUsageDetail_20' ) start [2025-03-09 03:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639454', 'tblTempUsageDetail_20' ) end [2025-03-09 03:33:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:33:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:33:20] Production.INFO: ==5625== Releasing lock... [2025-03-09 03:33:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:33:20] Production.INFO: 30.75 MB #Memory Used# [2025-03-09 07:34:01] Production.INFO: ==5686== Lock acquired, processing the job... [2025-03-09 07:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:34:01] Production.INFO: neon service started [2025-03-09 07:34:01] Production.INFO: neon service started [2025-03-09 07:34:01] Production.INFO: ==5686== Releasing lock... [2025-03-09 07:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:34:02] Production.INFO: ==5688== Lock acquired, processing the job... [2025-03-09 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:34:02] Production.INFO: ==5690== Lock acquired, processing the job... [2025-03-09 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:34:02] Production.INFO: ==5690== Releasing lock... [2025-03-09 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:34:03] Production.INFO: ==5688== Releasing lock... [2025-03-09 03:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:34:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:34:03] Production.INFO: ==5697== Lock acquired, processing the job... [2025-03-09 03:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:34:04] Production.INFO: ==5703== Lock acquired, processing the job... [2025-03-09 03:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 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-09 03:34:04] Production.INFO: ==5693== Lock acquired, processing the job... [2025-03-09 03:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:34:04] Production.INFO: count ==13 [2025-03-09 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-09 03:34:04] Production.INFO: count ==21 [2025-03-09 03:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639455') start [2025-03-09 03:34:04] Production.INFO: ==5695== Lock acquired, processing the job... [2025-03-09 03:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:34:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639455') end [2025-03-09 03:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:34:04] Production.INFO: 1 [2025-03-09 03:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:34:04] Production.INFO: ==5703== Releasing lock... [2025-03-09 03:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:34:04] Production.INFO: ==5699== Lock acquired, processing the job... [2025-03-09 03:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:34:04] Production.INFO: ==5701== Lock acquired, processing the job... [2025-03-09 03:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:34:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:34:04] Production.INFO: Account Balance Start. [2025-03-09 03:34:04] Production.INFO: CreateAllLog Start [2025-03-09 03:34:04] Production.INFO: 117 [2025-03-09 03:34:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:34:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:34:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:34:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:34:04] Production.INFO: Total Charge 0 [2025-03-09 03:34:05] Production.INFO: CreateAllLog End [2025-03-09 03:34:05] Production.ERROR: done [2025-03-09 03:34:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:34:05] Production.INFO: Account Balance End. [2025-03-09 03:34:05] Production.INFO: ==5695== Releasing lock... [2025-03-09 03:34:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:34:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:34:05] Production.ERROR: CronJobId end 12 [2025-03-09 03:34:05] Production.INFO: ==5699== Releasing lock... [2025-03-09 03:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:34:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:34:05] Production.ERROR: done [2025-03-09 03:34:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:34:06 [end_date_ymd] => 2025-03-09 04:34:06 [RateCDR] => 1 ) [2025-03-09 03: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-09 00:34:06' and `end` < '2025-03-09 04: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-09 03:34:12] Production.ERROR: CronJobId end10 [2025-03-09 03:34:12] Production.INFO: ==5697== Releasing lock... [2025-03-09 03:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:34:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:34:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:34:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:34:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:34:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:34:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:34:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:34:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:34:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:34:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:34:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:34:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:34:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:34:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:34:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:34:15] Production.INFO: call_cost start [2025-03-09 03:34:15] Production.INFO: call_cost end [2025-03-09 03:34:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:34:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:34:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:34:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:34:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:34:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:34:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:34:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:34:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:34:16] Production.INFO: ==5693== Releasing lock... [2025-03-09 03:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:34:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:34:18] Production.INFO: count ==314 [2025-03-09 03:34:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:34:06 - End Time 2025-03-09 04:34:06 [2025-03-09 03:34:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639459', 'tblTempUsageDetail_20' ) start [2025-03-09 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639459', 'tblTempUsageDetail_20' ) end [2025-03-09 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639459', 'tblTempVendorCDR_20' ) start [2025-03-09 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639459', 'tblTempVendorCDR_20' ) end [2025-03-09 03:34:18] Production.INFO: ProcessCDR(1,14639459,1,1,2) [2025-03-09 03:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639459', 'tblTempUsageDetail_20' ) start [2025-03-09 03:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639459', 'tblTempUsageDetail_20' ) end [2025-03-09 03:34:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:34:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:34:22] Production.INFO: ==5701== Releasing lock... [2025-03-09 03:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:34:22] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 07:35:02] Production.INFO: ==5761== Lock acquired, processing the job... [2025-03-09 07:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:35:02] Production.INFO: neon service started [2025-03-09 07:35:02] Production.INFO: neon service started [2025-03-09 07:35:02] Production.INFO: ==5761== Releasing lock... [2025-03-09 07:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:35:03] Production.INFO: ==5763== Lock acquired, processing the job... [2025-03-09 03:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:35:03] Production.INFO: ==5765== Lock acquired, processing the job... [2025-03-09 07:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:35:03] Production.INFO: ==5765== Releasing lock... [2025-03-09 07:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:35:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:35:03] Production.INFO: ==5763== Releasing lock... [2025-03-09 03:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:35:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:35:04] Production.INFO: ==5768== Lock acquired, processing the job... [2025-03-09 03:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:35:04] Production.INFO: ==5770== Lock acquired, processing the job... [2025-03-09 03:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:35:04] Production.INFO: ==5772== Lock acquired, processing the job... [2025-03-09 03:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:35:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:35:04] Production.INFO: ==5776== Lock acquired, processing the job... [2025-03-09 03:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:35:04] Production.INFO: ==5774== Lock acquired, processing the job... [2025-03-09 03:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:35:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:35:04] Production.INFO: Account Balance Start. [2025-03-09 03:35:04] Production.INFO: CreateAllLog Start [2025-03-09 03:35:04] Production.INFO: 117 [2025-03-09 03:35:04] Production.INFO: ==5778== Lock acquired, processing the job... [2025-03-09 03:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:35:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:35:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:35:04] Production.INFO: Total Charge 0 [2025-03-09 03:35:04] Production.INFO: CreateAllLog End [2025-03-09 03:35:04] Production.INFO: ==5770== Releasing lock... [2025-03-09 03:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:35:05] Production.INFO: count ==13 [2025-03-09 03:35:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:35:05] Production.INFO: count ==21 [2025-03-09 03:35:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639463') start [2025-03-09 03:35:05] Production.ERROR: done [2025-03-09 03:35:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:35:05] Production.INFO: Account Balance End. [2025-03-09 03:35:05] Production.ERROR: CronJobId end 12 [2025-03-09 03:35:05] Production.INFO: ==5774== Releasing lock... [2025-03-09 03:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:35:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:35:05] Production.ERROR: done [2025-03-09 03:35:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639463') end [2025-03-09 03:35:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:35:05] Production.INFO: 1 [2025-03-09 03:35:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:35:05] Production.INFO: ==5778== Releasing lock... [2025-03-09 03:35:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:35:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:35:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:35:06 [end_date_ymd] => 2025-03-09 04:35:06 [RateCDR] => 1 ) [2025-03-09 03: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-09 00:35:06' and `end` < '2025-03-09 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-09 03:35:12] Production.ERROR: CronJobId end10 [2025-03-09 03:35:12] Production.INFO: ==5772== Releasing lock... [2025-03-09 03:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:35:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:35:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:35:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:35:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:35:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:35:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:35:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:35:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:35:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:35:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:35:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:35:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:35:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:35:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:35:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:35:15] Production.INFO: call_cost start [2025-03-09 03:35:15] Production.INFO: call_cost end [2025-03-09 03:35:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:35:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:35:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:35:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:35:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:35:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:35:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:35:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:35:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:35:16] Production.INFO: ==5768== Releasing lock... [2025-03-09 03:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:35:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:35:18] Production.INFO: count ==314 [2025-03-09 03:35:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:35:06 - End Time 2025-03-09 04:35:06 [2025-03-09 03:35:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639464', 'tblTempUsageDetail_20' ) start [2025-03-09 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639464', 'tblTempUsageDetail_20' ) end [2025-03-09 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639464', 'tblTempVendorCDR_20' ) start [2025-03-09 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639464', 'tblTempVendorCDR_20' ) end [2025-03-09 03:35:18] Production.INFO: ProcessCDR(1,14639464,1,1,2) [2025-03-09 03:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639464', 'tblTempUsageDetail_20' ) start [2025-03-09 03:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639464', 'tblTempUsageDetail_20' ) end [2025-03-09 03:35:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:35:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:35:22] Production.INFO: ==5776== Releasing lock... [2025-03-09 03:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:35:22] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 07:36:01] Production.INFO: ==5837== Lock acquired, processing the job... [2025-03-09 07:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:36:01] Production.INFO: neon service started [2025-03-09 07:36:01] Production.INFO: neon service started [2025-03-09 07:36:01] Production.INFO: ==5837== Releasing lock... [2025-03-09 07:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:36:02] Production.INFO: ==5841== Lock acquired, processing the job... [2025-03-09 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:36:02] Production.INFO: ==5841== Releasing lock... [2025-03-09 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:36:02] Production.INFO: ==5839== Lock acquired, processing the job... [2025-03-09 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:36:02] Production.INFO: ==5839== Releasing lock... [2025-03-09 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:36:03] Production.INFO: ==5844== Lock acquired, processing the job... [2025-03-09 03:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:36:03] Production.INFO: ==5846== Lock acquired, processing the job... [2025-03-09 03:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:36:04] Production.INFO: ==5846== Releasing lock... [2025-03-09 03:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:36:04] Production.INFO: ==5854== Lock acquired, processing the job... [2025-03-09 03:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:36:04] Production.INFO: ==5848== Lock acquired, processing the job... [2025-03-09 03:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:36:04] Production.INFO: ==5850== Lock acquired, processing the job... [2025-03-09 03:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:36:04] Production.INFO: ==5852== Lock acquired, processing the job... [2025-03-09 03:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:36:04] Production.INFO: Account Balance Start. [2025-03-09 03:36:04] Production.INFO: CreateAllLog Start [2025-03-09 03:36:04] Production.INFO: 117 [2025-03-09 03:36:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:36:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:36:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:36:04] Production.INFO: count ==13 [2025-03-09 03:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:36:04] Production.INFO: count ==21 [2025-03-09 03:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639467') start [2025-03-09 03:36:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:36:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:36:04] Production.INFO: Total Charge 0 [2025-03-09 03:36:04] Production.INFO: CreateAllLog End [2025-03-09 03:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639467') end [2025-03-09 03:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:36:04] Production.INFO: 1 [2025-03-09 03:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:36:04] Production.INFO: ==5854== Releasing lock... [2025-03-09 03:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:36:04] Production.ERROR: done [2025-03-09 03:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:36:04] Production.ERROR: done [2025-03-09 03:36:04] Production.INFO: Account Balance End. [2025-03-09 03:36:05] Production.ERROR: CronJobId end 12 [2025-03-09 03:36:05] Production.INFO: ==5850== Releasing lock... [2025-03-09 03:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:36:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:36:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:36:06 [end_date_ymd] => 2025-03-09 04:36:06 [RateCDR] => 1 ) [2025-03-09 03: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-09 00:36:06' and `end` < '2025-03-09 04: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-09 03:36:13] Production.ERROR: CronJobId end10 [2025-03-09 03:36:13] Production.INFO: ==5848== Releasing lock... [2025-03-09 03:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:36:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:36:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:36:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:36:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:36:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:36:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:36:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:36:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:36:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:36:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:36:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:36:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:36:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:36:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:36:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:36:15] Production.INFO: call_cost start [2025-03-09 03:36:15] Production.INFO: call_cost end [2025-03-09 03:36:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:36:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:36:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:36:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:36:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:36:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:36:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:36:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:36:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:36:16] Production.INFO: ==5844== Releasing lock... [2025-03-09 03:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:36:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:36:18] Production.INFO: count ==313 [2025-03-09 03:36:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:36:06 - End Time 2025-03-09 04:36:06 [2025-03-09 03:36:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639469', 'tblTempUsageDetail_20' ) start [2025-03-09 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639469', 'tblTempUsageDetail_20' ) end [2025-03-09 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639469', 'tblTempVendorCDR_20' ) start [2025-03-09 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639469', 'tblTempVendorCDR_20' ) end [2025-03-09 03:36:18] Production.INFO: ProcessCDR(1,14639469,1,1,2) [2025-03-09 03:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639469', 'tblTempUsageDetail_20' ) start [2025-03-09 03:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639469', 'tblTempUsageDetail_20' ) end [2025-03-09 03:36:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:36:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:36:23] Production.INFO: ==5852== Releasing lock... [2025-03-09 03:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:36:23] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 07:37:01] Production.INFO: ==5921== Lock acquired, processing the job... [2025-03-09 07:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:37:01] Production.INFO: neon service started [2025-03-09 07:37:01] Production.INFO: neon service started [2025-03-09 07:37:01] Production.INFO: ==5921== Releasing lock... [2025-03-09 07:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:37:01] Production.INFO: ==5923== Lock acquired, processing the job... [2025-03-09 03:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:37:02] Production.INFO: ==5925== Lock acquired, processing the job... [2025-03-09 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:37:02] Production.INFO: ==5925== Releasing lock... [2025-03-09 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:37:02] Production.INFO: ==5923== Releasing lock... [2025-03-09 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:37:02] Production.INFO: ==5930== Lock acquired, processing the job... [2025-03-09 03:37:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:37:02] Production.INFO: ==5932== Lock acquired, processing the job... [2025-03-09 03:37:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:37:02] Production.INFO: ==5934== Lock acquired, processing the job... [2025-03-09 03:37:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:37:03] Production.INFO: Account Balance Start. [2025-03-09 03:37:03] Production.INFO: CreateAllLog Start [2025-03-09 03:37:03] Production.INFO: 117 [2025-03-09 03:37:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:37:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:37:03] Production.INFO: ==5930== Releasing lock... [2025-03-09 03:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:37:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:37:03] Production.INFO: Date 2025-03-09 [2025-03-09 03:37:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:37:03] Production.INFO: Total Charge 0 [2025-03-09 03:37:03] Production.INFO: CreateAllLog End [2025-03-09 03:37:03] Production.INFO: ==5928== Lock acquired, processing the job... [2025-03-09 03:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:37:03] Production.INFO: Account Balance End. [2025-03-09 03:37:03] Production.INFO: ==5938== Lock acquired, processing the job... [2025-03-09 03:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:37:03] Production.ERROR: CronJobId end 12 [2025-03-09 03:37:03] Production.INFO: ==5934== Releasing lock... [2025-03-09 03:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:37:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:37:03] Production.INFO: ==5936== Lock acquired, processing the job... [2025-03-09 03:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 03:37:03] Production.INFO: count ==13 [2025-03-09 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-09 03:37:03] Production.INFO: count ==21 [2025-03-09 03:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639473') start [2025-03-09 03:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639473') end [2025-03-09 03:37:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:37:03] Production.INFO: 1 [2025-03-09 03:37:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:37:03] Production.ERROR: done [2025-03-09 03:37:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:37:04] Production.ERROR: done [2025-03-09 03:37:04] Production.INFO: ==5938== Releasing lock... [2025-03-09 03:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:37:05 [end_date_ymd] => 2025-03-09 04:37:05 [RateCDR] => 1 ) [2025-03-09 03:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:37:05' and `end` < '2025-03-09 04:37:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:37:11] Production.ERROR: CronJobId end10 [2025-03-09 03:37:11] Production.INFO: ==5932== Releasing lock... [2025-03-09 03:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:37:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:37:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:37:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:37:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:37:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:37:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:37:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:37:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:37:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:37:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:37:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:37:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:37:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:37:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:37:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:37:14] Production.INFO: call_cost start [2025-03-09 03:37:14] Production.INFO: call_cost end [2025-03-09 03:37:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:37:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:37:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:37:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:37:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:37:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:37:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:37:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:37:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:37:16] Production.INFO: ==5928== Releasing lock... [2025-03-09 03:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:37:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:37:17] Production.INFO: count ==310 [2025-03-09 03:37:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:37:05 - End Time 2025-03-09 04:37:05 [2025-03-09 03:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639474', 'tblTempUsageDetail_20' ) start [2025-03-09 03:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639474', 'tblTempUsageDetail_20' ) end [2025-03-09 03:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639474', 'tblTempVendorCDR_20' ) start [2025-03-09 03:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639474', 'tblTempVendorCDR_20' ) end [2025-03-09 03:37:17] Production.INFO: ProcessCDR(1,14639474,1,1,2) [2025-03-09 03:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639474', 'tblTempUsageDetail_20' ) start [2025-03-09 03:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639474', 'tblTempUsageDetail_20' ) end [2025-03-09 03:37:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:37:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:37:22] Production.INFO: ==5936== Releasing lock... [2025-03-09 03:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:37:22] Production.INFO: 30.75 MB #Memory Used# [2025-03-09 07:38:01] Production.INFO: ==5996== Lock acquired, processing the job... [2025-03-09 07:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:38:01] Production.INFO: neon service started [2025-03-09 07:38:01] Production.INFO: neon service started [2025-03-09 07:38:01] Production.INFO: ==5996== Releasing lock... [2025-03-09 07:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:38:02] Production.INFO: ==5998== Lock acquired, processing the job... [2025-03-09 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:38:02] Production.INFO: ==5998== Releasing lock... [2025-03-09 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:38:02] Production.INFO: ==6000== Lock acquired, processing the job... [2025-03-09 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:38:02] Production.INFO: ==6000== Releasing lock... [2025-03-09 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:38:03] Production.INFO: ==6002== Lock acquired, processing the job... [2025-03-09 03:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:38:03] Production.INFO: ==6007== Lock acquired, processing the job... [2025-03-09 03:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:38:03] Production.INFO: ==6013== Lock acquired, processing the job... [2025-03-09 03:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:38:03] Production.INFO: ==6004== Lock acquired, processing the job... [2025-03-09 03:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:38:03] Production.INFO: count ==13 [2025-03-09 03:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:38:04] Production.INFO: count ==21 [2025-03-09 03:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639476') start [2025-03-09 03:38:04] Production.INFO: ==6011== Lock acquired, processing the job... [2025-03-09 03:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:38:04] Production.INFO: ==6009== Lock acquired, processing the job... [2025-03-09 03:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639476') end [2025-03-09 03:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:38:04] Production.INFO: 1 [2025-03-09 03:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:38:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:38:04] Production.INFO: ==6013== Releasing lock... [2025-03-09 03:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:38:04] Production.INFO: Account Balance Start. [2025-03-09 03:38:04] Production.INFO: CreateAllLog Start [2025-03-09 03:38:04] Production.INFO: 117 [2025-03-09 03:38:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:38:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:38:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:38:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:38:04] Production.INFO: Total Charge 0 [2025-03-09 03:38:04] Production.INFO: CreateAllLog End [2025-03-09 03:38:04] Production.INFO: ==6004== Releasing lock... [2025-03-09 03:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:38:04] Production.INFO: Account Balance End. [2025-03-09 03:38:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:38:04] Production.INFO: ==6009== Releasing lock... [2025-03-09 03:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:38:04] Production.ERROR: done [2025-03-09 03:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:38:04] Production.ERROR: done [2025-03-09 03:38:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:38:06 [end_date_ymd] => 2025-03-09 04:38:06 [RateCDR] => 1 ) [2025-03-09 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-09 00:38:06' and `end` < '2025-03-09 04:38:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:38:13] Production.ERROR: CronJobId end10 [2025-03-09 03:38:13] Production.INFO: ==6007== Releasing lock... [2025-03-09 03:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:38:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:38:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:38:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:38:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:38:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:38:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:38:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:38:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:38:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:38:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:38:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:38:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:38:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:38:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:38:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:38:15] Production.INFO: call_cost start [2025-03-09 03:38:15] Production.INFO: call_cost end [2025-03-09 03:38:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:38:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:38:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:38:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:38:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:38:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:38:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:38:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:38:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:38:16] Production.INFO: ==6002== Releasing lock... [2025-03-09 03:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:38:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:38:18] Production.INFO: count ==311 [2025-03-09 03:38:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:38:06 - End Time 2025-03-09 04:38:06 [2025-03-09 03:38:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639479', 'tblTempUsageDetail_20' ) start [2025-03-09 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639479', 'tblTempUsageDetail_20' ) end [2025-03-09 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639479', 'tblTempVendorCDR_20' ) start [2025-03-09 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639479', 'tblTempVendorCDR_20' ) end [2025-03-09 03:38:18] Production.INFO: ProcessCDR(1,14639479,1,1,2) [2025-03-09 03:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639479', 'tblTempUsageDetail_20' ) start [2025-03-09 03:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639479', 'tblTempUsageDetail_20' ) end [2025-03-09 03:38:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:38:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:38:23] Production.INFO: ==6011== Releasing lock... [2025-03-09 03:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:38:23] Production.INFO: 30.75 MB #Memory Used# [2025-03-09 07:39:01] Production.INFO: ==6074== Lock acquired, processing the job... [2025-03-09 07:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:39:01] Production.INFO: neon service started [2025-03-09 07:39:01] Production.INFO: neon service started [2025-03-09 07:39:01] Production.INFO: ==6074== Releasing lock... [2025-03-09 07:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:39:01] Production.INFO: ==6076== Lock acquired, processing the job... [2025-03-09 03:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:39:02] Production.INFO: ==6076== Releasing lock... [2025-03-09 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:39:02] Production.INFO: ==6078== Lock acquired, processing the job... [2025-03-09 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:39:02] Production.INFO: ==6078== Releasing lock... [2025-03-09 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:39:03] Production.INFO: ==6080== Lock acquired, processing the job... [2025-03-09 03:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:39:03] Production.INFO: ==6087== Lock acquired, processing the job... [2025-03-09 03:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:39:03] Production.INFO: ==6083== Lock acquired, processing the job... [2025-03-09 03:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:39:03] Production.INFO: ==6091== Lock acquired, processing the job... [2025-03-09 03:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:39:03] Production.INFO: ==6085== Lock acquired, processing the job... [2025-03-09 03:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:39:03] Production.INFO: Account Balance Start. [2025-03-09 03:39:03] Production.INFO: CreateAllLog Start [2025-03-09 03:39:03] Production.INFO: 117 [2025-03-09 03:39:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:39:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:39:03] Production.INFO: Date 2025-03-09 [2025-03-09 03:39:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:39:03] Production.INFO: Total Charge 0 [2025-03-09 03:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:39:03] Production.INFO: ==6089== Lock acquired, processing the job... [2025-03-09 03:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:39:03] Production.INFO: CreateAllLog End [2025-03-09 03:39:03] Production.INFO: count ==13 [2025-03-09 03:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:39:03] Production.INFO: count ==21 [2025-03-09 03:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639483') start [2025-03-09 03:39:03] Production.INFO: ==6083== Releasing lock... [2025-03-09 03:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:39:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639483') end [2025-03-09 03:39:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:39:03] Production.INFO: 1 [2025-03-09 03:39:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:39:03] Production.INFO: Account Balance End. [2025-03-09 03:39:03] Production.INFO: ==6091== Releasing lock... [2025-03-09 03:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:39:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:39:03] Production.ERROR: CronJobId end 12 [2025-03-09 03:39:03] Production.INFO: ==6087== Releasing lock... [2025-03-09 03:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:39:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:39:04] Production.ERROR: done [2025-03-09 03:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:39:04] Production.ERROR: done [2025-03-09 03:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:39:05 [end_date_ymd] => 2025-03-09 04:39:05 [RateCDR] => 1 ) [2025-03-09 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-09 00:39:05' and `end` < '2025-03-09 04:39:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:39:12] Production.ERROR: CronJobId end10 [2025-03-09 03:39:12] Production.INFO: ==6085== Releasing lock... [2025-03-09 03:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:39:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:39:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:39:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:39:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:39:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:39:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:39:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:39:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:39:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:39:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:39:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:39:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:39:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:39:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:39:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:39:14] Production.INFO: call_cost start [2025-03-09 03:39:14] Production.INFO: call_cost end [2025-03-09 03:39:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:39:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:39:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:39:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:39:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:39:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:39:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:39:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:39:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:39:15] Production.INFO: ==6080== Releasing lock... [2025-03-09 03:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:39:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:39:17] Production.INFO: count ==310 [2025-03-09 03:39:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:39:05 - End Time 2025-03-09 04:39:05 [2025-03-09 03:39:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639484', 'tblTempUsageDetail_20' ) start [2025-03-09 03:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639484', 'tblTempUsageDetail_20' ) end [2025-03-09 03:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639484', 'tblTempVendorCDR_20' ) start [2025-03-09 03:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639484', 'tblTempVendorCDR_20' ) end [2025-03-09 03:39:17] Production.INFO: ProcessCDR(1,14639484,1,1,2) [2025-03-09 03:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639484', 'tblTempUsageDetail_20' ) start [2025-03-09 03:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639484', 'tblTempUsageDetail_20' ) end [2025-03-09 03:39:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:39:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:39:22] Production.INFO: ==6089== Releasing lock... [2025-03-09 03:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:39:22] Production.INFO: 30.75 MB #Memory Used# [2025-03-09 07:40:01] Production.INFO: ==6149== Lock acquired, processing the job... [2025-03-09 07:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:40:01] Production.INFO: neon service started [2025-03-09 07:40:01] Production.INFO: neon service started [2025-03-09 07:40:01] Production.INFO: ==6149== Releasing lock... [2025-03-09 07:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:40:02] Production.INFO: ==6153== Lock acquired, processing the job... [2025-03-09 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:40:02] Production.INFO: ==6153== Releasing lock... [2025-03-09 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:40:02] Production.INFO: ==6151== Lock acquired, processing the job... [2025-03-09 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:40:03] Production.INFO: ==6151== Releasing lock... [2025-03-09 03:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:40:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:40:04] Production.INFO: ==6160== Lock acquired, processing the job... [2025-03-09 03:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:40:04] Production.INFO: ==6156== Lock acquired, processing the job... [2025-03-09 03:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 03:40:04] Production.INFO: ==6166== Lock acquired, processing the job... [2025-03-09 03:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:40:04] Production.INFO: ==6168== Lock acquired, processing the job... [2025-03-09 03:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 03:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 03:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 03:40:04] Production.ERROR: CronJob PID - 6160 [2025-03-09 03:40:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 03:40:04] Production.ERROR: CronJob ID - 7 [2025-03-09 03:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 03:40:00 [2025-03-09 03:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 03:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 03:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 03:40:04] Production.INFO: ==6156== Releasing lock... [2025-03-09 03:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 03:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 03:40:04] Production.INFO: ==6160== Releasing lock... [2025-03-09 03:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:40:04] Production.INFO: ==6158== Lock acquired, processing the job... [2025-03-09 03:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:40:04] Production.INFO: ==6162== Lock acquired, processing the job... [2025-03-09 03:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:40:04] Production.INFO: ==6164== Lock acquired, processing the job... [2025-03-09 03:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:40:04] Production.INFO: ==6170== Lock acquired, processing the job... [2025-03-09 03:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:40:04] Production.INFO: Account Balance Start. [2025-03-09 03:40:04] Production.INFO: CreateAllLog Start [2025-03-09 03:40:04] Production.INFO: 117 [2025-03-09 03:40:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:40:05] Production.ERROR: done [2025-03-09 03:40:05] Production.ERROR: done [2025-03-09 03:40:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 03:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639489', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 03:40:05] Production.INFO: Date 2025-03-09 [2025-03-09 03:40:05] Production.INFO: Reseller ==> 0 [2025-03-09 03:40:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:40:05] Production.INFO: count ==13 [2025-03-09 03:40:05] Production.INFO: Total Charge 0 [2025-03-09 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-09 03:40:05] Production.INFO: count ==21 [2025-03-09 03:40:05] Production.INFO: CreateAllLog End [2025-03-09 03:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639488') start [2025-03-09 03:40:05] Production.ERROR: done [2025-03-09 03:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639488') end [2025-03-09 03:40:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:40:05] Production.INFO: 1 [2025-03-09 03:40:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:40:05] Production.INFO: Account Balance End. [2025-03-09 03:40:05] Production.INFO: ==6170== Releasing lock... [2025-03-09 03:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:40:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:40:05] Production.ERROR: CronJobId end 12 [2025-03-09 03:40:05] Production.INFO: ==6164== Releasing lock... [2025-03-09 03:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:40:06 [end_date_ymd] => 2025-03-09 04:40:06 [RateCDR] => 1 ) [2025-03-09 03:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:40:06' and `end` < '2025-03-09 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-09 03:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639489', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 03:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 03:40:09] Production.INFO: ProcessCDR(1,14639489,1,1,2) [2025-03-09 03:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14639489,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14639489,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:40:09] Production.INFO: ==6168== Releasing lock... [2025-03-09 03:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 03:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 03:40:15] Production.ERROR: CronJobId end10 [2025-03-09 03:40:15] Production.INFO: ==6162== Releasing lock... [2025-03-09 03:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:40:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:40:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:40:18] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:40:18] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:40:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:40:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:40:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:40:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:40:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:40:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:40:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:40:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:40:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:40:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:40:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:40:18] Production.INFO: count ==298 [2025-03-09 03:40:18] Production.INFO: call_cost start [2025-03-09 03:40:18] Production.INFO: call_cost end [2025-03-09 03:40:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:40:06 - End Time 2025-03-09 04:40:06 [2025-03-09 03:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639490', 'tblTempUsageDetail_20' ) start [2025-03-09 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639490', 'tblTempUsageDetail_20' ) end [2025-03-09 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639490', 'tblTempVendorCDR_20' ) start [2025-03-09 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639490', 'tblTempVendorCDR_20' ) end [2025-03-09 03:40:18] Production.INFO: ProcessCDR(1,14639490,1,1,2) [2025-03-09 03:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:40:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:40:19] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:40:19] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:40:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:40:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:40:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:40:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:40:19] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:40:19] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:40:19] Production.INFO: ==6158== Releasing lock... [2025-03-09 03:40:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:40:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639490', 'tblTempUsageDetail_20' ) start [2025-03-09 03:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639490', 'tblTempUsageDetail_20' ) end [2025-03-09 03:40:24] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:40:24] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:40:24] Production.INFO: ==6166== Releasing lock... [2025-03-09 03:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:40:24] Production.INFO: 30.75 MB #Memory Used# [2025-03-09 07:41:02] Production.INFO: ==6231== Lock acquired, processing the job... [2025-03-09 07:41:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:41:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:41:02] Production.INFO: neon service started [2025-03-09 07:41:02] Production.INFO: neon service started [2025-03-09 07:41:02] Production.INFO: ==6231== Releasing lock... [2025-03-09 07:41:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:41:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:41:02] Production.INFO: ==6233== Lock acquired, processing the job... [2025-03-09 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:41:03] Production.INFO: ==6233== Releasing lock... [2025-03-09 03:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:41:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:41:03] Production.INFO: ==6235== Lock acquired, processing the job... [2025-03-09 07:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:41:03] Production.INFO: ==6235== Releasing lock... [2025-03-09 07:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:41:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:41:04] Production.INFO: ==6246== Lock acquired, processing the job... [2025-03-09 03:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:41:04] Production.INFO: ==6248== Lock acquired, processing the job... [2025-03-09 03:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:41:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03: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-09 03:41:04] Production.INFO: count ==13 [2025-03-09 03:41:04] Production.INFO: ==6237== Lock acquired, processing the job... [2025-03-09 03:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03: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-09 03:41:04] Production.INFO: count ==21 [2025-03-09 03:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639491') start [2025-03-09 03:41:04] Production.INFO: ==6241== Lock acquired, processing the job... [2025-03-09 03:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:41:04] Production.INFO: ==6243== Lock acquired, processing the job... [2025-03-09 03:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:41:04] Production.INFO: ==6239== Lock acquired, processing the job... [2025-03-09 03:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:41:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639491') end [2025-03-09 03:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:41:04] Production.INFO: 1 [2025-03-09 03:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:41:04] Production.INFO: Account Balance Start. [2025-03-09 03:41:04] Production.INFO: CreateAllLog Start [2025-03-09 03:41:04] Production.INFO: 117 [2025-03-09 03:41:04] Production.INFO: ==6248== Releasing lock... [2025-03-09 03:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:41:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:41:04] Production.ERROR: done [2025-03-09 03:41:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:41:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:41:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:41:04] Production.INFO: Total Charge 0 [2025-03-09 03:41:04] Production.INFO: CreateAllLog End [2025-03-09 03:41:04] Production.ERROR: done [2025-03-09 03:41:05] Production.INFO: ==6239== Releasing lock... [2025-03-09 03:41:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:41:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:41:05] Production.INFO: Account Balance End. [2025-03-09 03:41:05] Production.ERROR: CronJobId end 12 [2025-03-09 03:41:05] Production.INFO: ==6243== Releasing lock... [2025-03-09 03:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:41:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:41:05 [end_date_ymd] => 2025-03-09 04:41:05 [RateCDR] => 1 ) [2025-03-09 03:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:41:05' and `end` < '2025-03-09 04:41:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:41:13] Production.ERROR: CronJobId end10 [2025-03-09 03:41:13] Production.INFO: ==6241== Releasing lock... [2025-03-09 03:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:41:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:41:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:41:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:41:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:41:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:41:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:41:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:41:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:41:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:41:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:41:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:41:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:41:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:41:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:41:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:41:15] Production.INFO: call_cost start [2025-03-09 03:41:15] Production.INFO: call_cost end [2025-03-09 03:41:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:41:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:41:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:41:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:41:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:41:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:41:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:41:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:41:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:41:16] Production.INFO: ==6237== Releasing lock... [2025-03-09 03:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:41:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:41:17] Production.INFO: count ==273 [2025-03-09 03:41:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:41:05 - End Time 2025-03-09 04:41:05 [2025-03-09 03:41:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639495', 'tblTempUsageDetail_20' ) start [2025-03-09 03:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639495', 'tblTempUsageDetail_20' ) end [2025-03-09 03:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639495', 'tblTempVendorCDR_20' ) start [2025-03-09 03:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639495', 'tblTempVendorCDR_20' ) end [2025-03-09 03:41:17] Production.INFO: ProcessCDR(1,14639495,1,1,2) [2025-03-09 03:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639495', 'tblTempUsageDetail_20' ) start [2025-03-09 03:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639495', 'tblTempUsageDetail_20' ) end [2025-03-09 03:41:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:41:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:41:21] Production.INFO: ==6246== Releasing lock... [2025-03-09 03:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:41:21] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 07:42:01] Production.INFO: ==6301== Lock acquired, processing the job... [2025-03-09 07:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:42:01] Production.INFO: neon service started [2025-03-09 07:42:01] Production.INFO: neon service started [2025-03-09 07:42:01] Production.INFO: ==6301== Releasing lock... [2025-03-09 07:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:42:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:42:02] Production.INFO: ==6303== Lock acquired, processing the job... [2025-03-09 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:42:02] Production.INFO: ==6303== Releasing lock... [2025-03-09 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:42:02] Production.INFO: ==6305== Lock acquired, processing the job... [2025-03-09 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:42:03] Production.INFO: ==6305== Releasing lock... [2025-03-09 07:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:42:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:42:03] Production.INFO: ==6318== Lock acquired, processing the job... [2025-03-09 03:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:42:03] Production.INFO: ==6314== Lock acquired, processing the job... [2025-03-09 03:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:42:03] Production.INFO: ==6307== Lock acquired, processing the job... [2025-03-09 03:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:42:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:42:04] Production.INFO: ==6310== Lock acquired, processing the job... [2025-03-09 03:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:42:04] Production.INFO: Account Balance Start. [2025-03-09 03:42:04] Production.INFO: CreateAllLog Start [2025-03-09 03:42:04] Production.INFO: ==6312== Lock acquired, processing the job... [2025-03-09 03:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:42:04] Production.INFO: count ==13 [2025-03-09 03:42:04] Production.INFO: 117 [2025-03-09 03:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:42:04] Production.INFO: count ==21 [2025-03-09 03:42:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639496') start [2025-03-09 03:42:04] Production.INFO: ==6316== Lock acquired, processing the job... [2025-03-09 03:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:42:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:42:04] Production.INFO: Total Charge 0 [2025-03-09 03:42:04] Production.INFO: CreateAllLog End [2025-03-09 03:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639496') end [2025-03-09 03:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:42:04] Production.INFO: 1 [2025-03-09 03:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:42:04] Production.INFO: ==6318== Releasing lock... [2025-03-09 03:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:42:04] Production.INFO: ==6310== Releasing lock... [2025-03-09 03:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:42:04] Production.ERROR: done [2025-03-09 03:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:42:04] Production.INFO: Account Balance End. [2025-03-09 03:42:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:42:04] Production.INFO: ==6314== Releasing lock... [2025-03-09 03:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:42:04] Production.ERROR: done [2025-03-09 03:42:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:42:06 [end_date_ymd] => 2025-03-09 04:42:06 [RateCDR] => 1 ) [2025-03-09 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-09 00:42:06' and `end` < '2025-03-09 04: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-09 03:42:14] Production.ERROR: CronJobId end10 [2025-03-09 03:42:14] Production.INFO: ==6312== Releasing lock... [2025-03-09 03:42:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:42:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:42:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:42:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:42:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:42:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:42:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:42:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:42:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:42:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:42:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:42:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:42:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:42:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:42:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:42:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:42:17] Production.INFO: call_cost start [2025-03-09 03:42:17] Production.INFO: call_cost end [2025-03-09 03:42:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:42:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:42:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:42:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:42:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:42:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:42:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:42:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:42:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:42:18] Production.INFO: ==6307== Releasing lock... [2025-03-09 03:42:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:42:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:42:18] Production.INFO: count ==262 [2025-03-09 03:42:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:42:06 - End Time 2025-03-09 04:42:06 [2025-03-09 03:42:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639500', 'tblTempUsageDetail_20' ) start [2025-03-09 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639500', 'tblTempUsageDetail_20' ) end [2025-03-09 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639500', 'tblTempVendorCDR_20' ) start [2025-03-09 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639500', 'tblTempVendorCDR_20' ) end [2025-03-09 03:42:18] Production.INFO: ProcessCDR(1,14639500,1,1,2) [2025-03-09 03:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639500', 'tblTempUsageDetail_20' ) start [2025-03-09 03:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639500', 'tblTempUsageDetail_20' ) end [2025-03-09 03:42:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:42:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:42:22] Production.INFO: ==6316== Releasing lock... [2025-03-09 03:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:42:22] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 07:43:01] Production.INFO: ==6381== Lock acquired, processing the job... [2025-03-09 07:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:43:01] Production.INFO: neon service started [2025-03-09 07:43:01] Production.INFO: neon service started [2025-03-09 07:43:01] Production.INFO: ==6381== Releasing lock... [2025-03-09 07:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:43:01] Production.INFO: ==6385== Lock acquired, processing the job... [2025-03-09 07:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:43:01] Production.INFO: ==6385== Releasing lock... [2025-03-09 07:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:43:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:43:02] Production.INFO: ==6383== Lock acquired, processing the job... [2025-03-09 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:43:02] Production.INFO: ==6383== Releasing lock... [2025-03-09 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:43:03] Production.INFO: ==6390== Lock acquired, processing the job... [2025-03-09 03:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:43:03] Production.INFO: ==6392== Lock acquired, processing the job... [2025-03-09 03:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:43:03] Production.INFO: ==6396== Lock acquired, processing the job... [2025-03-09 03:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:43:03] Production.INFO: Account Balance Start. [2025-03-09 03:43:03] Production.INFO: CreateAllLog Start [2025-03-09 03:43:03] Production.INFO: 117 [2025-03-09 03:43:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:43:03] Production.INFO: Date 2025-03-09 [2025-03-09 03:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:43:03] Production.INFO: Total Charge 0 [2025-03-09 03:43:03] Production.INFO: ==6394== Lock acquired, processing the job... [2025-03-09 03:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:43:03] Production.INFO: CreateAllLog End [2025-03-09 03:43:03] Production.INFO: ==6392== Releasing lock... [2025-03-09 03:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:43:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:43:03] Production.INFO: ==6398== Lock acquired, processing the job... [2025-03-09 03:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:43:03] Production.INFO: ==6400== Lock acquired, processing the job... [2025-03-09 03:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:43:03] Production.INFO: Account Balance End. [2025-03-09 03:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:43:03] Production.ERROR: CronJobId end 12 [2025-03-09 03:43:03] Production.INFO: ==6396== Releasing lock... [2025-03-09 03:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:43:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:43:04] Production.INFO: count ==13 [2025-03-09 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-09 03:43:04] Production.INFO: count ==21 [2025-03-09 03:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639504') start [2025-03-09 03:43:04] Production.ERROR: done [2025-03-09 03:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639504') end [2025-03-09 03:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:43:04] Production.INFO: 1 [2025-03-09 03:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:43:04] Production.INFO: ==6400== Releasing lock... [2025-03-09 03:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:43:04] Production.ERROR: done [2025-03-09 03:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:43:05 [end_date_ymd] => 2025-03-09 04:43:05 [RateCDR] => 1 ) [2025-03-09 03:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:43:05' and `end` < '2025-03-09 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-09 03:43:13] Production.ERROR: CronJobId end10 [2025-03-09 03:43:13] Production.INFO: ==6394== Releasing lock... [2025-03-09 03:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:43:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:43:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:43:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:43:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:43:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:43:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:43:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:43:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:43:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:43:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:43:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:43:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:43:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:43:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:43:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:43:15] Production.INFO: call_cost start [2025-03-09 03:43:15] Production.INFO: call_cost end [2025-03-09 03:43:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:43:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:43:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:43:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:43:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:43:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:43:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:43:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:43:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:43:17] Production.INFO: ==6390== Releasing lock... [2025-03-09 03:43:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:43:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:43:17] Production.INFO: count ==258 [2025-03-09 03:43:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:43:05 - End Time 2025-03-09 04:43:05 [2025-03-09 03:43:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639505', 'tblTempUsageDetail_20' ) start [2025-03-09 03:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639505', 'tblTempUsageDetail_20' ) end [2025-03-09 03:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639505', 'tblTempVendorCDR_20' ) start [2025-03-09 03:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639505', 'tblTempVendorCDR_20' ) end [2025-03-09 03:43:17] Production.INFO: ProcessCDR(1,14639505,1,1,2) [2025-03-09 03:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639505', 'tblTempUsageDetail_20' ) start [2025-03-09 03:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639505', 'tblTempUsageDetail_20' ) end [2025-03-09 03:43:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:43:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:43:21] Production.INFO: ==6398== Releasing lock... [2025-03-09 03:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:43:21] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 07:44:01] Production.INFO: ==6478== Lock acquired, processing the job... [2025-03-09 07:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:44:01] Production.INFO: neon service started [2025-03-09 07:44:01] Production.INFO: neon service started [2025-03-09 07:44:01] Production.INFO: ==6478== Releasing lock... [2025-03-09 07:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:44:02] Production.INFO: ==6488== Lock acquired, processing the job... [2025-03-09 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:44:02] Production.INFO: ==6488== Releasing lock... [2025-03-09 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:44:02] Production.INFO: ==6491== Lock acquired, processing the job... [2025-03-09 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:44:03] Production.INFO: ==6491== Releasing lock... [2025-03-09 07:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:44:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:44:03] Production.INFO: ==6495== Lock acquired, processing the job... [2025-03-09 03:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:44:03] Production.INFO: ==6499== Lock acquired, processing the job... [2025-03-09 03:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:44:03] Production.INFO: ==6497== Lock acquired, processing the job... [2025-03-09 03:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:44:03] Production.INFO: ==6501== Lock acquired, processing the job... [2025-03-09 03:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:44:03] Production.INFO: Account Balance Start. [2025-03-09 03:44:03] Production.INFO: CreateAllLog Start [2025-03-09 03:44:03] Production.INFO: 117 [2025-03-09 03:44:03] Production.INFO: ==6505== Lock acquired, processing the job... [2025-03-09 03:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:44:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:44:04] Production.INFO: ==6503== Lock acquired, processing the job... [2025-03-09 03:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:44:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:44:04] Production.INFO: Total Charge 0 [2025-03-09 03:44:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 03:44:04] Production.INFO: count ==13 [2025-03-09 03:44:04] Production.INFO: ==6497== Releasing lock... [2025-03-09 03:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 03:44:04] Production.INFO: count ==21 [2025-03-09 03:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639509') start [2025-03-09 03:44:04] Production.ERROR: done [2025-03-09 03:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639509') end [2025-03-09 03:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:44:04] Production.INFO: 1 [2025-03-09 03:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:44:04] Production.INFO: Account Balance End. [2025-03-09 03:44:04] Production.INFO: ==6505== Releasing lock... [2025-03-09 03:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:44:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:44:04] Production.INFO: ==6501== Releasing lock... [2025-03-09 03:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:44:04] Production.ERROR: done [2025-03-09 03:44:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:44:06 [end_date_ymd] => 2025-03-09 04:44:06 [RateCDR] => 1 ) [2025-03-09 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-09 00:44:06' and `end` < '2025-03-09 04: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-09 03:44:14] Production.ERROR: CronJobId end10 [2025-03-09 03:44:14] Production.INFO: ==6499== Releasing lock... [2025-03-09 03:44:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:44:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:44:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:44:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:44:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:44:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:44:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:44:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:44:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:44:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:44:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:44:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:44:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:44:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:44:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:44:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:44:17] Production.INFO: call_cost start [2025-03-09 03:44:17] Production.INFO: call_cost end [2025-03-09 03:44:18] Production.INFO: count ==252 [2025-03-09 03:44:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:44:06 - End Time 2025-03-09 04:44:06 [2025-03-09 03:44:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639510', 'tblTempUsageDetail_20' ) start [2025-03-09 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639510', 'tblTempUsageDetail_20' ) end [2025-03-09 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639510', 'tblTempVendorCDR_20' ) start [2025-03-09 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639510', 'tblTempVendorCDR_20' ) end [2025-03-09 03:44:18] Production.INFO: ProcessCDR(1,14639510,1,1,2) [2025-03-09 03:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:44:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:44:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:44:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:44:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:44:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:44:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:44:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:44:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:44:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:44:18] Production.INFO: ==6495== Releasing lock... [2025-03-09 03:44:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:44:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639510', 'tblTempUsageDetail_20' ) start [2025-03-09 03:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639510', 'tblTempUsageDetail_20' ) end [2025-03-09 03:44:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:44:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:44:21] Production.INFO: ==6503== Releasing lock... [2025-03-09 03:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:44:21] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 07:45:01] Production.INFO: ==6593== Lock acquired, processing the job... [2025-03-09 07:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:45:01] Production.INFO: neon service started [2025-03-09 07:45:01] Production.INFO: neon service started [2025-03-09 07:45:01] Production.INFO: ==6593== Releasing lock... [2025-03-09 07:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:45:02] Production.INFO: ==6595== Lock acquired, processing the job... [2025-03-09 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:45:02] Production.INFO: ==6597== Lock acquired, processing the job... [2025-03-09 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:45:02] Production.INFO: ==6597== Releasing lock... [2025-03-09 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:45:02] Production.INFO: ==6595== Releasing lock... [2025-03-09 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:45:03] Production.INFO: ==6604== Lock acquired, processing the job... [2025-03-09 03:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:45:03] Production.INFO: ==6608== Lock acquired, processing the job... [2025-03-09 03:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:45:03] Production.INFO: ==6600== Lock acquired, processing the job... [2025-03-09 03:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:45:03] Production.INFO: ==6602== Lock acquired, processing the job... [2025-03-09 03:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:45:03] Production.INFO: ==6606== Lock acquired, processing the job... [2025-03-09 03:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:45:03] Production.INFO: ==6610== Lock acquired, processing the job... [2025-03-09 03:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:45:03] Production.INFO: Account Balance Start. [2025-03-09 03:45:03] Production.INFO: CreateAllLog Start [2025-03-09 03:45:03] Production.INFO: 117 [2025-03-09 03:45:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:45:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:45:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:45:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:45:04] Production.INFO: Total Charge 0 [2025-03-09 03:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:45:04] Production.INFO: CreateAllLog End [2025-03-09 03:45:04] Production.ERROR: done [2025-03-09 03:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:45:04] Production.INFO: count ==13 [2025-03-09 03:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:45:04] Production.INFO: ==6602== Releasing lock... [2025-03-09 03:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:45:04] Production.INFO: count ==21 [2025-03-09 03:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639514') start [2025-03-09 03:45:04] Production.ERROR: done [2025-03-09 03:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639514') end [2025-03-09 03:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:45:04] Production.INFO: 1 [2025-03-09 03:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:45:04] Production.INFO: ==6610== Releasing lock... [2025-03-09 03:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:45:04] Production.INFO: Account Balance End. [2025-03-09 03:45:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:45:04] Production.INFO: ==6606== Releasing lock... [2025-03-09 03:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:45:05 [end_date_ymd] => 2025-03-09 04:45:05 [RateCDR] => 1 ) [2025-03-09 03:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:45:05' and `end` < '2025-03-09 04:45:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:45:11] Production.ERROR: CronJobId end10 [2025-03-09 03:45:11] Production.INFO: ==6604== Releasing lock... [2025-03-09 03:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:45:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:45:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:45:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:45:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:45:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:45:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:45:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:45:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:45:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:45:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:45:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:45:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:45:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:45:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:45:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:45:15] Production.INFO: call_cost start [2025-03-09 03:45:15] Production.INFO: call_cost end [2025-03-09 03:45:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:45:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:45:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:45:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:45:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:45:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:45:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:45:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:45:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:45:16] Production.INFO: ==6600== Releasing lock... [2025-03-09 03:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:45:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:45:17] Production.INFO: count ==251 [2025-03-09 03:45:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:45:05 - End Time 2025-03-09 04:45:05 [2025-03-09 03:45:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639515', 'tblTempUsageDetail_20' ) start [2025-03-09 03:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639515', 'tblTempUsageDetail_20' ) end [2025-03-09 03:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639515', 'tblTempVendorCDR_20' ) start [2025-03-09 03:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639515', 'tblTempVendorCDR_20' ) end [2025-03-09 03:45:17] Production.INFO: ProcessCDR(1,14639515,1,1,2) [2025-03-09 03:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639515', 'tblTempUsageDetail_20' ) start [2025-03-09 03:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639515', 'tblTempUsageDetail_20' ) end [2025-03-09 03:45:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:45:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:45:22] Production.INFO: ==6608== Releasing lock... [2025-03-09 03:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:45:22] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 07:46:01] Production.INFO: ==6666== Lock acquired, processing the job... [2025-03-09 07:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:46:01] Production.INFO: neon service started [2025-03-09 07:46:01] Production.INFO: neon service started [2025-03-09 07:46:01] Production.INFO: ==6666== Releasing lock... [2025-03-09 07:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:46:02] Production.INFO: ==6670== Lock acquired, processing the job... [2025-03-09 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:46:02] Production.INFO: ==6670== Releasing lock... [2025-03-09 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:46:02] Production.INFO: ==6668== Lock acquired, processing the job... [2025-03-09 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:46:02] Production.INFO: ==6668== Releasing lock... [2025-03-09 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:46:03] Production.INFO: ==6673== Lock acquired, processing the job... [2025-03-09 03:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:46:03] Production.INFO: ==6675== Lock acquired, processing the job... [2025-03-09 03:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:46:03] Production.INFO: ==6679== Lock acquired, processing the job... [2025-03-09 03:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:46:03] Production.INFO: Account Balance Start. [2025-03-09 03:46:03] Production.INFO: CreateAllLog Start [2025-03-09 03:46:03] Production.INFO: 117 [2025-03-09 03:46:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:46:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:46:03] Production.INFO: Date 2025-03-09 [2025-03-09 03:46:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:46:03] Production.INFO: Total Charge 0 [2025-03-09 03:46:03] Production.INFO: CreateAllLog End [2025-03-09 03:46:04] Production.INFO: ==6677== Lock acquired, processing the job... [2025-03-09 03:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:46:04] Production.INFO: ==6675== Releasing lock... [2025-03-09 03:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:46:04] Production.INFO: Account Balance End. [2025-03-09 03:46:04] Production.INFO: ==6681== Lock acquired, processing the job... [2025-03-09 03:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:46:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:46:04] Production.INFO: ==6679== Releasing lock... [2025-03-09 03:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:46:04] Production.INFO: ==6683== Lock acquired, processing the job... [2025-03-09 03:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:46:04] Production.INFO: count ==13 [2025-03-09 03:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:46:04] Production.INFO: count ==21 [2025-03-09 03:46:04] Production.ERROR: done [2025-03-09 03:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639519') start [2025-03-09 03:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639519') end [2025-03-09 03:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:46:04] Production.INFO: 1 [2025-03-09 03:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:46:04] Production.ERROR: done [2025-03-09 03:46:04] Production.INFO: ==6683== Releasing lock... [2025-03-09 03:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:46:05 [end_date_ymd] => 2025-03-09 04:46:05 [RateCDR] => 1 ) [2025-03-09 03:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:46:05' and `end` < '2025-03-09 04:46:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:46:13] Production.ERROR: CronJobId end10 [2025-03-09 03:46:13] Production.INFO: ==6677== Releasing lock... [2025-03-09 03:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:46:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:46:14] Production.INFO: call_cost start [2025-03-09 03:46:14] Production.INFO: call_cost end [2025-03-09 03:46:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:46:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:46:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:46:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:46:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:46:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:46:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:46:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:46:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:46:15] Production.INFO: ==6673== Releasing lock... [2025-03-09 03:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:46:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:46:17] Production.INFO: count ==251 [2025-03-09 03:46:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:46:05 - End Time 2025-03-09 04:46:05 [2025-03-09 03:46:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639520', 'tblTempUsageDetail_20' ) start [2025-03-09 03:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639520', 'tblTempUsageDetail_20' ) end [2025-03-09 03:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639520', 'tblTempVendorCDR_20' ) start [2025-03-09 03:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639520', 'tblTempVendorCDR_20' ) end [2025-03-09 03:46:17] Production.INFO: ProcessCDR(1,14639520,1,1,2) [2025-03-09 03:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639520,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639520,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639520,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639520,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639520', 'tblTempUsageDetail_20' ) start [2025-03-09 03:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639520', 'tblTempUsageDetail_20' ) end [2025-03-09 03:46:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:46:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:46:21] Production.INFO: ==6681== Releasing lock... [2025-03-09 03:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:46:21] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 07:47:02] Production.INFO: ==6786== Lock acquired, processing the job... [2025-03-09 07:47:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:47:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:47:02] Production.INFO: neon service started [2025-03-09 07:47:02] Production.INFO: neon service started [2025-03-09 07:47:02] Production.INFO: ==6786== Releasing lock... [2025-03-09 07:47:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:47:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:47:02] Production.INFO: ==6790== Lock acquired, processing the job... [2025-03-09 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:47:02] Production.INFO: ==6790== Releasing lock... [2025-03-09 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:47:02] Production.INFO: ==6788== Lock acquired, processing the job... [2025-03-09 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:47:03] Production.INFO: ==6788== Releasing lock... [2025-03-09 03:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:47:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:47:04] Production.INFO: ==6793== Lock acquired, processing the job... [2025-03-09 03:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:47:04] Production.INFO: ==6797== Lock acquired, processing the job... [2025-03-09 03:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:47:04] Production.INFO: ==6795== Lock acquired, processing the job... [2025-03-09 03:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:47:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:47:04] Production.INFO: ==6799== Lock acquired, processing the job... [2025-03-09 03:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:47:04] Production.INFO: ==6801== Lock acquired, processing the job... [2025-03-09 03:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:47:04] Production.INFO: Account Balance Start. [2025-03-09 03:47:04] Production.INFO: CreateAllLog Start [2025-03-09 03:47:04] Production.INFO: 117 [2025-03-09 03:47:04] Production.INFO: ==6803== Lock acquired, processing the job... [2025-03-09 03:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:47:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:47:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:47:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:47:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:47:04] Production.INFO: Reseller ==> 0 [2025-03-09 03: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-09 03:47:04] Production.INFO: ==6795== Releasing lock... [2025-03-09 03:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:47:04] Production.INFO: count ==13 [2025-03-09 03:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:47:04] Production.INFO: count ==21 [2025-03-09 03:47:04] Production.INFO: Total Charge 0 [2025-03-09 03:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639524') start [2025-03-09 03:47:05] Production.INFO: CreateAllLog End [2025-03-09 03:47:05] Production.ERROR: done [2025-03-09 03:47:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:47:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639524') end [2025-03-09 03:47:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:47:05] Production.INFO: 1 [2025-03-09 03:47:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:47:05] Production.INFO: ==6803== Releasing lock... [2025-03-09 03:47:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:47:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:47:05] Production.ERROR: done [2025-03-09 03:47:05] Production.INFO: Account Balance End. [2025-03-09 03:47:05] Production.ERROR: CronJobId end 12 [2025-03-09 03:47:05] Production.INFO: ==6799== Releasing lock... [2025-03-09 03:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:47:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:47:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:47:06 [end_date_ymd] => 2025-03-09 04:47:06 [RateCDR] => 1 ) [2025-03-09 03: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-09 00:47:06' and `end` < '2025-03-09 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-09 03:47:12] Production.ERROR: CronJobId end10 [2025-03-09 03:47:12] Production.INFO: ==6797== Releasing lock... [2025-03-09 03:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:47:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:47:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:47:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:47:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:47:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:47:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:47:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:47:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:47:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:47:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:47:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:47:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:47:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:47:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:47:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:47:15] Production.INFO: call_cost start [2025-03-09 03:47:15] Production.INFO: call_cost end [2025-03-09 03:47:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:47:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:47:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:47:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:47:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:47:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:47:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:47:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:47:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:47:16] Production.INFO: ==6793== Releasing lock... [2025-03-09 03:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:47:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:47:18] Production.INFO: count ==242 [2025-03-09 03:47:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:47:06 - End Time 2025-03-09 04:47:06 [2025-03-09 03:47:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639525', 'tblTempUsageDetail_20' ) start [2025-03-09 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639525', 'tblTempUsageDetail_20' ) end [2025-03-09 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639525', 'tblTempVendorCDR_20' ) start [2025-03-09 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639525', 'tblTempVendorCDR_20' ) end [2025-03-09 03:47:18] Production.INFO: ProcessCDR(1,14639525,1,1,2) [2025-03-09 03:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639525', 'tblTempUsageDetail_20' ) start [2025-03-09 03:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639525', 'tblTempUsageDetail_20' ) end [2025-03-09 03:47:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:47:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:47:22] Production.INFO: ==6801== Releasing lock... [2025-03-09 03:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:47:22] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 07:48:01] Production.INFO: ==6855== Lock acquired, processing the job... [2025-03-09 07:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:48:01] Production.INFO: neon service started [2025-03-09 07:48:01] Production.INFO: neon service started [2025-03-09 07:48:01] Production.INFO: ==6855== Releasing lock... [2025-03-09 07:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:48:02] Production.INFO: ==6858== Lock acquired, processing the job... [2025-03-09 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:48:02] Production.INFO: ==6860== Lock acquired, processing the job... [2025-03-09 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:48:02] Production.INFO: ==6860== Releasing lock... [2025-03-09 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:48:02] Production.INFO: ==6858== Releasing lock... [2025-03-09 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:48:03] Production.INFO: ==6868== Lock acquired, processing the job... [2025-03-09 03:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:48:03] Production.INFO: ==6870== Lock acquired, processing the job... [2025-03-09 03:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:48:04] Production.INFO: Account Balance Start. [2025-03-09 03:48:04] Production.INFO: CreateAllLog Start [2025-03-09 03:48:04] Production.INFO: 117 [2025-03-09 03:48:04] Production.INFO: ==6864== Lock acquired, processing the job... [2025-03-09 03:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:48:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:48:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:48:04] Production.INFO: ==6866== Lock acquired, processing the job... [2025-03-09 03:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:48:04] Production.INFO: Total Charge 0 [2025-03-09 03:48:04] Production.INFO: CreateAllLog End [2025-03-09 03:48:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:48:04] Production.INFO: ==6872== Lock acquired, processing the job... [2025-03-09 03:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:48:04] Production.INFO: ==6874== Lock acquired, processing the job... [2025-03-09 03:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:48:04] Production.INFO: Account Balance End. [2025-03-09 03:48:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:48:04] Production.INFO: ==6870== Releasing lock... [2025-03-09 03:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:48:04] Production.INFO: count ==13 [2025-03-09 03:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:48:04] Production.INFO: count ==21 [2025-03-09 03:48:04] Production.INFO: ==6866== Releasing lock... [2025-03-09 03:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639529') start [2025-03-09 03:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639529') end [2025-03-09 03:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:48:04] Production.INFO: 1 [2025-03-09 03:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:48:04] Production.ERROR: done [2025-03-09 03:48:04] Production.INFO: ==6874== Releasing lock... [2025-03-09 03:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:48:05] Production.ERROR: done [2025-03-09 03:48:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:48:06 [end_date_ymd] => 2025-03-09 04:48:06 [RateCDR] => 1 ) [2025-03-09 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-09 00:48:06' and `end` < '2025-03-09 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-09 03:48:13] Production.ERROR: CronJobId end10 [2025-03-09 03:48:13] Production.INFO: ==6868== Releasing lock... [2025-03-09 03:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:48:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:48:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:48:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:48:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:48:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:48:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:48:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:48:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:48:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:48:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:48:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:48:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:48:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:48:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:48:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:48:16] Production.INFO: call_cost start [2025-03-09 03:48:16] Production.INFO: call_cost end [2025-03-09 03:48:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:48:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:48:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:48:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:48:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:48:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:48:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:48:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:48:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:48:17] Production.INFO: ==6864== Releasing lock... [2025-03-09 03:48:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:48:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:48:18] Production.INFO: count ==237 [2025-03-09 03:48:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:48:06 - End Time 2025-03-09 04:48:06 [2025-03-09 03:48:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639530', 'tblTempUsageDetail_20' ) start [2025-03-09 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639530', 'tblTempUsageDetail_20' ) end [2025-03-09 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639530', 'tblTempVendorCDR_20' ) start [2025-03-09 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639530', 'tblTempVendorCDR_20' ) end [2025-03-09 03:48:18] Production.INFO: ProcessCDR(1,14639530,1,1,2) [2025-03-09 03:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639530', 'tblTempUsageDetail_20' ) start [2025-03-09 03:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639530', 'tblTempUsageDetail_20' ) end [2025-03-09 03:48:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:48:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:48:22] Production.INFO: ==6872== Releasing lock... [2025-03-09 03:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:48:22] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 07:49:01] Production.INFO: ==6936== Lock acquired, processing the job... [2025-03-09 07:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:49:01] Production.INFO: neon service started [2025-03-09 07:49:01] Production.INFO: neon service started [2025-03-09 07:49:01] Production.INFO: ==6936== Releasing lock... [2025-03-09 07:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:49:01] Production.INFO: ==6942== Lock acquired, processing the job... [2025-03-09 07:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:49:01] Production.INFO: ==6942== Releasing lock... [2025-03-09 07:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:49:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:49:02] Production.INFO: ==6940== Lock acquired, processing the job... [2025-03-09 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:49:02] Production.INFO: ==6940== Releasing lock... [2025-03-09 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:49:03] Production.INFO: ==6955== Lock acquired, processing the job... [2025-03-09 03:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:49:03] Production.INFO: ==6953== Lock acquired, processing the job... [2025-03-09 03:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:49:03] Production.INFO: ==6944== Lock acquired, processing the job... [2025-03-09 03:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:49:03] Production.INFO: ==6947== Lock acquired, processing the job... [2025-03-09 03:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:49:03] Production.INFO: ==6949== Lock acquired, processing the job... [2025-03-09 03:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:49:03] Production.INFO: ==6951== Lock acquired, processing the job... [2025-03-09 03:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:49:03] Production.INFO: count ==13 [2025-03-09 03:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:49:03] Production.INFO: count ==21 [2025-03-09 03:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639531') start [2025-03-09 03:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639531') end [2025-03-09 03:49:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:49:03] Production.INFO: 1 [2025-03-09 03:49:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:49:03] Production.INFO: Account Balance Start. [2025-03-09 03:49:03] Production.INFO: CreateAllLog Start [2025-03-09 03:49:03] Production.INFO: 117 [2025-03-09 03:49:03] Production.ERROR: done [2025-03-09 03:49:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:49:03] Production.INFO: ==6955== Releasing lock... [2025-03-09 03:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:49:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:49:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:49:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:49:03] Production.INFO: Date 2025-03-09 [2025-03-09 03:49:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:49:04] Production.INFO: Total Charge 0 [2025-03-09 03:49:04] Production.INFO: CreateAllLog End [2025-03-09 03:49:04] Production.INFO: ==6947== Releasing lock... [2025-03-09 03:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:49:04] Production.ERROR: done [2025-03-09 03:49:04] Production.INFO: Account Balance End. [2025-03-09 03:49:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:49:04] Production.INFO: ==6951== Releasing lock... [2025-03-09 03:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:49:05 [end_date_ymd] => 2025-03-09 04:49:05 [RateCDR] => 1 ) [2025-03-09 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-09 00:49:05' and `end` < '2025-03-09 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-09 03:49:12] Production.ERROR: CronJobId end10 [2025-03-09 03:49:12] Production.INFO: ==6949== Releasing lock... [2025-03-09 03:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:49:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:49:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:49:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:49:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:49:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:49:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:49:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:49:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:49:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:49:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:49:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:49:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:49:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:49:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:49:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:49:15] Production.INFO: call_cost start [2025-03-09 03:49:15] Production.INFO: call_cost end [2025-03-09 03:49:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:49:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:49:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:49:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:49:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:49:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:49:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:49:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:49:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:49:16] Production.INFO: ==6944== Releasing lock... [2025-03-09 03:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:49:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:49:17] Production.INFO: count ==236 [2025-03-09 03:49:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:49:05 - End Time 2025-03-09 04:49:05 [2025-03-09 03:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639535', 'tblTempUsageDetail_20' ) start [2025-03-09 03:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639535', 'tblTempUsageDetail_20' ) end [2025-03-09 03:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639535', 'tblTempVendorCDR_20' ) start [2025-03-09 03:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639535', 'tblTempVendorCDR_20' ) end [2025-03-09 03:49:17] Production.INFO: ProcessCDR(1,14639535,1,1,2) [2025-03-09 03:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639535', 'tblTempUsageDetail_20' ) start [2025-03-09 03:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639535', 'tblTempUsageDetail_20' ) end [2025-03-09 03:49:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:49:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:49:20] Production.INFO: ==6953== Releasing lock... [2025-03-09 03:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:49:20] Production.INFO: 30 MB #Memory Used# [2025-03-09 07:50:01] Production.INFO: ==7021== Lock acquired, processing the job... [2025-03-09 07:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:50:01] Production.INFO: neon service started [2025-03-09 07:50:01] Production.INFO: neon service started [2025-03-09 07:50:01] Production.INFO: ==7021== Releasing lock... [2025-03-09 07:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:50:02] Production.INFO: ==7023== Lock acquired, processing the job... [2025-03-09 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:50:02] Production.INFO: ==7025== Lock acquired, processing the job... [2025-03-09 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:50:02] Production.INFO: ==7025== Releasing lock... [2025-03-09 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:50:03] Production.INFO: ==7023== Releasing lock... [2025-03-09 03:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:50:04] Production.INFO: ==7034== Lock acquired, processing the job... [2025-03-09 03:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:50:04] Production.INFO: ==7028== Lock acquired, processing the job... [2025-03-09 03:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 03:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:50:04] Production.INFO: ==7030== Lock acquired, processing the job... [2025-03-09 03:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 03:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 03:50:04] Production.ERROR: CronJob PID - 7034 [2025-03-09 03:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 03:50:04] Production.ERROR: CronJob ID - 10 [2025-03-09 03:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 03:50:00 [2025-03-09 03:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 03:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 03:50:04] Production.INFO: ==7038== Lock acquired, processing the job... [2025-03-09 03:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 03:50:04] Production.INFO: ==7028== Releasing lock... [2025-03-09 03:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 03:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 03:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:50:04] Production.INFO: ==7040== Lock acquired, processing the job... [2025-03-09 03:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 03:50:04] Production.INFO: ==7032== Lock acquired, processing the job... [2025-03-09 03:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:50:04] Production.INFO: ==7036== Lock acquired, processing the job... [2025-03-09 03:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:50:04] Production.INFO: ==7042== Lock acquired, processing the job... [2025-03-09 03:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:50:05] Production.ERROR: done [2025-03-09 03:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:50:05] Production.INFO: Account Balance Start. [2025-03-09 03:50:05] Production.INFO: CreateAllLog Start [2025-03-09 03:50:05] Production.INFO: 117 [2025-03-09 03: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-09 03:50:05] Production.INFO: Date 2025-03-08 [2025-03-09 03:50:05] Production.INFO: count ==13 [2025-03-09 03:50:05] Production.INFO: Reseller ==> 0 [2025-03-09 03: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-09 03:50:05] Production.INFO: count ==21 [2025-03-09 03:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639538') start [2025-03-09 03:50:05] Production.ERROR: done [2025-03-09 03:50:05] Production.ERROR: done [2025-03-09 03:50:05] Production.INFO: Date 2025-03-09 [2025-03-09 03:50:05] Production.INFO: Reseller ==> 0 [2025-03-09 03:50:05] Production.INFO: ==7032== Releasing lock... [2025-03-09 03:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:50:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:50:05] Production.INFO: Total Charge 0 [2025-03-09 03:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 03:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639541', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 03:50:05] Production.INFO: CreateAllLog End [2025-03-09 03:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639538') end [2025-03-09 03:50:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:50:05] Production.INFO: 1 [2025-03-09 03:50:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:50:05] Production.INFO: ==7042== Releasing lock... [2025-03-09 03:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:50:05] Production.INFO: Account Balance End. [2025-03-09 03:50:05] Production.ERROR: CronJobId end 12 [2025-03-09 03:50:05] Production.INFO: ==7036== Releasing lock... [2025-03-09 03:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:50:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:50:07 [end_date_ymd] => 2025-03-09 04:50:07 [RateCDR] => 1 ) [2025-03-09 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-09 00:50:07' and `end` < '2025-03-09 04: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-09 03:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639541', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 03:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 03:50:09] Production.INFO: ProcessCDR(1,14639541,1,1,2) [2025-03-09 03:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14639541,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14639541,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:50:09] Production.INFO: ==7040== Releasing lock... [2025-03-09 03:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 03:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 03:50:14] Production.ERROR: CronJobId end10 [2025-03-09 03:50:14] Production.INFO: ==7034== Releasing lock... [2025-03-09 03:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:50:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:50:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:50:17] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:50:17] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:50:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:50:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:50:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:50:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:50:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:50:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:50:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:50:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:50:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:50:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:50:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:50:18] Production.INFO: call_cost start [2025-03-09 03:50:18] Production.INFO: call_cost end [2025-03-09 03:50:19] Production.INFO: count ==239 [2025-03-09 03:50:19] Production.ERROR: pbx CDR StartTime 2025-03-09 00:50:07 - End Time 2025-03-09 04:50:07 [2025-03-09 03:50:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639540', 'tblTempUsageDetail_20' ) start [2025-03-09 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639540', 'tblTempUsageDetail_20' ) end [2025-03-09 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639540', 'tblTempVendorCDR_20' ) start [2025-03-09 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639540', 'tblTempVendorCDR_20' ) end [2025-03-09 03:50:19] Production.INFO: ProcessCDR(1,14639540,1,1,2) [2025-03-09 03:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:50:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:50:19] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:50:19] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:50:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:50:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:50:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:50:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:50:19] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:50:19] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:50:19] Production.INFO: ==7030== Releasing lock... [2025-03-09 03:50:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:50:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639540', 'tblTempUsageDetail_20' ) start [2025-03-09 03:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639540', 'tblTempUsageDetail_20' ) end [2025-03-09 03:50:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:50:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:50:22] Production.INFO: ==7038== Releasing lock... [2025-03-09 03:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:50:22] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 07:51:02] Production.INFO: ==7101== Lock acquired, processing the job... [2025-03-09 07:51:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:51:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:51:02] Production.INFO: neon service started [2025-03-09 07:51:02] Production.INFO: neon service started [2025-03-09 07:51:02] Production.INFO: ==7101== Releasing lock... [2025-03-09 07:51:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:51:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:51:02] Production.INFO: ==7103== Lock acquired, processing the job... [2025-03-09 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:51:03] Production.INFO: ==7103== Releasing lock... [2025-03-09 03:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:51:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:51:03] Production.INFO: ==7105== Lock acquired, processing the job... [2025-03-09 07:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:51:03] Production.INFO: ==7105== Releasing lock... [2025-03-09 07:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:51:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:51:04] Production.INFO: ==7109== Lock acquired, processing the job... [2025-03-09 03:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:51:04] Production.INFO: ==7107== Lock acquired, processing the job... [2025-03-09 03:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:51:04] Production.INFO: ==7118== Lock acquired, processing the job... [2025-03-09 03:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:51:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:51:04] Production.INFO: ==7111== Lock acquired, processing the job... [2025-03-09 03:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:51:04] Production.INFO: ==7114== Lock acquired, processing the job... [2025-03-09 03:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:51:04] Production.INFO: ==7109== Releasing lock... [2025-03-09 03:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 03:51:04] Production.INFO: count ==13 [2025-03-09 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-09 03:51:04] Production.INFO: count ==21 [2025-03-09 03:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:51:04] Production.INFO: ==7116== Lock acquired, processing the job... [2025-03-09 03:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639544') start [2025-03-09 03:51:04] Production.INFO: Account Balance Start. [2025-03-09 03:51:04] Production.INFO: CreateAllLog Start [2025-03-09 03:51:04] Production.INFO: 117 [2025-03-09 03:51:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:51:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:51:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639544') end [2025-03-09 03:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:51:04] Production.INFO: 1 [2025-03-09 03:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:51:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:51:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:51:04] Production.INFO: Total Charge 0 [2025-03-09 03:51:04] Production.INFO: ==7118== Releasing lock... [2025-03-09 03:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:51:04] Production.INFO: CreateAllLog End [2025-03-09 03:51:05] Production.ERROR: done [2025-03-09 03:51:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:51:05] Production.ERROR: done [2025-03-09 03:51:05] Production.INFO: Account Balance End. [2025-03-09 03:51:05] Production.ERROR: CronJobId end 12 [2025-03-09 03:51:05] Production.INFO: ==7114== Releasing lock... [2025-03-09 03:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:51:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:51:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:51:06 [end_date_ymd] => 2025-03-09 04:51:06 [RateCDR] => 1 ) [2025-03-09 03: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-09 00:51:06' and `end` < '2025-03-09 04: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-09 03:51:13] Production.ERROR: CronJobId end10 [2025-03-09 03:51:13] Production.INFO: ==7111== Releasing lock... [2025-03-09 03:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:51:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:51:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:51:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:51:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:51:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:51:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:51:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:51:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:51:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:51:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:51:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:51:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:51:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:51:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:51:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:51:16] Production.INFO: call_cost start [2025-03-09 03:51:16] Production.INFO: call_cost end [2025-03-09 03:51:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:51:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:51:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:51:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:51:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:51:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:51:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:51:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:51:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:51:17] Production.INFO: ==7107== Releasing lock... [2025-03-09 03:51:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:51:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:51:18] Production.INFO: count ==239 [2025-03-09 03:51:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:51:06 - End Time 2025-03-09 04:51:06 [2025-03-09 03:51:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639546', 'tblTempUsageDetail_20' ) start [2025-03-09 03:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639546', 'tblTempUsageDetail_20' ) end [2025-03-09 03:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639546', 'tblTempVendorCDR_20' ) start [2025-03-09 03:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639546', 'tblTempVendorCDR_20' ) end [2025-03-09 03:51:18] Production.INFO: ProcessCDR(1,14639546,1,1,2) [2025-03-09 03:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639546', 'tblTempUsageDetail_20' ) start [2025-03-09 03:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639546', 'tblTempUsageDetail_20' ) end [2025-03-09 03:51:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:51:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:51:22] Production.INFO: ==7116== Releasing lock... [2025-03-09 03:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:51:22] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 07:52:01] Production.INFO: ==7181== Lock acquired, processing the job... [2025-03-09 07:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:52:01] Production.INFO: neon service started [2025-03-09 07:52:01] Production.INFO: neon service started [2025-03-09 07:52:01] Production.INFO: ==7181== Releasing lock... [2025-03-09 07:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:52:02] Production.INFO: ==7183== Lock acquired, processing the job... [2025-03-09 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:52:02] Production.INFO: ==7183== Releasing lock... [2025-03-09 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:52:02] Production.INFO: ==7185== Lock acquired, processing the job... [2025-03-09 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:52:02] Production.INFO: ==7185== Releasing lock... [2025-03-09 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:52:03] Production.INFO: ==7188== Lock acquired, processing the job... [2025-03-09 03:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:52:03] Production.INFO: ==7194== Lock acquired, processing the job... [2025-03-09 03:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:52:03] Production.INFO: Account Balance Start. [2025-03-09 03:52:03] Production.INFO: CreateAllLog Start [2025-03-09 03:52:03] Production.INFO: 117 [2025-03-09 03:52:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:52:03] Production.INFO: Date 2025-03-09 [2025-03-09 03:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:52:03] Production.INFO: Total Charge 0 [2025-03-09 03:52:03] Production.INFO: CreateAllLog End [2025-03-09 03:52:03] Production.INFO: ==7198== Lock acquired, processing the job... [2025-03-09 03:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:52:04] Production.INFO: Account Balance End. [2025-03-09 03:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:52:04] Production.INFO: ==7196== Lock acquired, processing the job... [2025-03-09 03:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:52:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:52:04] Production.INFO: ==7194== Releasing lock... [2025-03-09 03:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:52:04] Production.INFO: ==7190== Lock acquired, processing the job... [2025-03-09 03:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:52:04] Production.INFO: ==7192== Lock acquired, processing the job... [2025-03-09 03:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:52:04] Production.INFO: count ==13 [2025-03-09 03:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:52:04] Production.INFO: count ==21 [2025-03-09 03:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639549') start [2025-03-09 03:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639549') end [2025-03-09 03:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:52:04] Production.INFO: 1 [2025-03-09 03:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:52:04] Production.INFO: ==7198== Releasing lock... [2025-03-09 03:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:52:04] Production.INFO: ==7190== Releasing lock... [2025-03-09 03:52:04] Production.ERROR: done [2025-03-09 03:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:52:05] Production.ERROR: done [2025-03-09 03:52:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:52:06 [end_date_ymd] => 2025-03-09 04:52:06 [RateCDR] => 1 ) [2025-03-09 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-09 00:52:06' and `end` < '2025-03-09 04:52:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:52:13] Production.ERROR: CronJobId end10 [2025-03-09 03:52:13] Production.INFO: ==7192== Releasing lock... [2025-03-09 03:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:52:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:52:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:52:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:52:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:52:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:52:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:52:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:52:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:52:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:52:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:52:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:52:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:52:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:52:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:52:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:52:15] Production.INFO: call_cost start [2025-03-09 03:52:15] Production.INFO: call_cost end [2025-03-09 03:52:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:52:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:52:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:52:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:52:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:52:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:52:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:52:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:52:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:52:17] Production.INFO: ==7188== Releasing lock... [2025-03-09 03:52:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:52:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:52:18] Production.INFO: count ==240 [2025-03-09 03:52:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:52:06 - End Time 2025-03-09 04:52:06 [2025-03-09 03:52:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639551', 'tblTempUsageDetail_20' ) start [2025-03-09 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639551', 'tblTempUsageDetail_20' ) end [2025-03-09 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639551', 'tblTempVendorCDR_20' ) start [2025-03-09 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639551', 'tblTempVendorCDR_20' ) end [2025-03-09 03:52:18] Production.INFO: ProcessCDR(1,14639551,1,1,2) [2025-03-09 03:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639551', 'tblTempUsageDetail_20' ) start [2025-03-09 03:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639551', 'tblTempUsageDetail_20' ) end [2025-03-09 03:52:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:52:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:52:23] Production.INFO: ==7196== Releasing lock... [2025-03-09 03:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:52:23] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 07:53:01] Production.INFO: ==7258== Lock acquired, processing the job... [2025-03-09 07:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:53:01] Production.INFO: neon service started [2025-03-09 07:53:01] Production.INFO: neon service started [2025-03-09 07:53:01] Production.INFO: ==7258== Releasing lock... [2025-03-09 07:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:53:01] Production.INFO: ==7262== Lock acquired, processing the job... [2025-03-09 07:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:53:01] Production.INFO: ==7262== Releasing lock... [2025-03-09 07:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:53:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:53:02] Production.INFO: ==7260== Lock acquired, processing the job... [2025-03-09 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:53:02] Production.INFO: ==7260== Releasing lock... [2025-03-09 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:53:03] Production.INFO: ==7265== Lock acquired, processing the job... [2025-03-09 03:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:53:03] Production.INFO: ==7267== Lock acquired, processing the job... [2025-03-09 03:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:53:03] Production.INFO: ==7269== Lock acquired, processing the job... [2025-03-09 03:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:53:03] Production.INFO: ==7271== Lock acquired, processing the job... [2025-03-09 03:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:53:03] Production.INFO: ==7267== Releasing lock... [2025-03-09 03:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:53:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:53:03] Production.INFO: ==7273== Lock acquired, processing the job... [2025-03-09 03:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:53:03] Production.INFO: ==7275== Lock acquired, processing the job... [2025-03-09 03:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:53:03] Production.INFO: Account Balance Start. [2025-03-09 03:53:03] Production.INFO: CreateAllLog Start [2025-03-09 03:53:03] Production.INFO: 117 [2025-03-09 03:53:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:53:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:53:04] Production.INFO: count ==13 [2025-03-09 03:53:04] Production.ERROR: done [2025-03-09 03:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:53:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:53:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:53:04] Production.INFO: count ==21 [2025-03-09 03:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639555') start [2025-03-09 03:53:04] Production.INFO: Total Charge 0 [2025-03-09 03:53:04] Production.INFO: CreateAllLog End [2025-03-09 03:53:04] Production.ERROR: done [2025-03-09 03:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639555') end [2025-03-09 03:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:53:04] Production.INFO: 1 [2025-03-09 03:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:53:04] Production.INFO: ==7275== Releasing lock... [2025-03-09 03:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:53:04] Production.INFO: Account Balance End. [2025-03-09 03:53:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:53:04] Production.INFO: ==7271== Releasing lock... [2025-03-09 03:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:53:05 [end_date_ymd] => 2025-03-09 04:53:05 [RateCDR] => 1 ) [2025-03-09 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-09 00:53:05' and `end` < '2025-03-09 04:53:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:53:12] Production.ERROR: CronJobId end10 [2025-03-09 03:53:12] Production.INFO: ==7269== Releasing lock... [2025-03-09 03:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:53:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:53:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:53:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:53:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:53:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:53:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:53:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:53:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:53:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:53:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:53:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:53:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:53:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:53:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:53:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:53:15] Production.INFO: call_cost start [2025-03-09 03:53:15] Production.INFO: call_cost end [2025-03-09 03:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:53:16] Production.INFO: ==7265== Releasing lock... [2025-03-09 03:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:53:17] Production.INFO: count ==235 [2025-03-09 03:53:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:53:05 - End Time 2025-03-09 04:53:05 [2025-03-09 03:53:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639556', 'tblTempUsageDetail_20' ) start [2025-03-09 03:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639556', 'tblTempUsageDetail_20' ) end [2025-03-09 03:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639556', 'tblTempVendorCDR_20' ) start [2025-03-09 03:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639556', 'tblTempVendorCDR_20' ) end [2025-03-09 03:53:17] Production.INFO: ProcessCDR(1,14639556,1,1,2) [2025-03-09 03:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639556', 'tblTempUsageDetail_20' ) start [2025-03-09 03:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639556', 'tblTempUsageDetail_20' ) end [2025-03-09 03:53:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:53:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:53:21] Production.INFO: ==7273== Releasing lock... [2025-03-09 03:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:53:21] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 07:54:01] Production.INFO: ==7331== Lock acquired, processing the job... [2025-03-09 07:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:54:01] Production.INFO: neon service started [2025-03-09 07:54:01] Production.INFO: neon service started [2025-03-09 07:54:01] Production.INFO: ==7331== Releasing lock... [2025-03-09 07:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:54:02] Production.INFO: ==7333== Lock acquired, processing the job... [2025-03-09 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:54:02] Production.INFO: ==7335== Lock acquired, processing the job... [2025-03-09 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:54:02] Production.INFO: ==7335== Releasing lock... [2025-03-09 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:54:03] Production.INFO: ==7333== Releasing lock... [2025-03-09 03:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:54:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:54:04] Production.INFO: ==7342== Lock acquired, processing the job... [2025-03-09 03:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:54:04] Production.INFO: ==7348== Lock acquired, processing the job... [2025-03-09 03:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:54:04] Production.INFO: count ==13 [2025-03-09 03:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:54:04] Production.INFO: count ==21 [2025-03-09 03:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639557') start [2025-03-09 03:54:04] Production.INFO: ==7338== Lock acquired, processing the job... [2025-03-09 03:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:54:04] Production.INFO: ==7340== Lock acquired, processing the job... [2025-03-09 03:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639557') end [2025-03-09 03:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:54:04] Production.INFO: 1 [2025-03-09 03:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:54:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:54:04] Production.INFO: ==7348== Releasing lock... [2025-03-09 03:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:54:04] Production.INFO: ==7344== Lock acquired, processing the job... [2025-03-09 03:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:54:04] Production.INFO: ==7346== Lock acquired, processing the job... [2025-03-09 03:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:54:04] Production.INFO: Account Balance Start. [2025-03-09 03:54:04] Production.INFO: CreateAllLog Start [2025-03-09 03:54:04] Production.INFO: 117 [2025-03-09 03:54:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:54:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:54:04] Production.INFO: Total Charge 0 [2025-03-09 03:54:04] Production.INFO: CreateAllLog End [2025-03-09 03:54:05] Production.ERROR: done [2025-03-09 03:54:05] Production.INFO: ==7340== Releasing lock... [2025-03-09 03:54:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:54:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:54:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:54:05] Production.ERROR: done [2025-03-09 03:54:05] Production.INFO: Account Balance End. [2025-03-09 03:54:05] Production.ERROR: CronJobId end 12 [2025-03-09 03:54:05] Production.INFO: ==7344== Releasing lock... [2025-03-09 03:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:54:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:54:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:54:06 [end_date_ymd] => 2025-03-09 04:54:06 [RateCDR] => 1 ) [2025-03-09 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-09 00:54:06' and `end` < '2025-03-09 04: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-09 03:54:13] Production.ERROR: CronJobId end10 [2025-03-09 03:54:13] Production.INFO: ==7342== Releasing lock... [2025-03-09 03:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:54:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:54:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:54:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:54:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:54:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:54:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:54:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:54:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:54:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:54:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:54:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:54:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:54:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:54:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:54:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:54:16] Production.INFO: call_cost start [2025-03-09 03:54:16] Production.INFO: call_cost end [2025-03-09 03:54:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:54:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:54:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:54:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:54:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:54:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:54:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:54:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:54:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:54:17] Production.INFO: ==7338== Releasing lock... [2025-03-09 03:54:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:54:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:54:18] Production.INFO: count ==234 [2025-03-09 03:54:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:54:06 - End Time 2025-03-09 04:54:06 [2025-03-09 03:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639561', 'tblTempUsageDetail_20' ) start [2025-03-09 03:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639561', 'tblTempUsageDetail_20' ) end [2025-03-09 03:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639561', 'tblTempVendorCDR_20' ) start [2025-03-09 03:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639561', 'tblTempVendorCDR_20' ) end [2025-03-09 03:54:18] Production.INFO: ProcessCDR(1,14639561,1,1,2) [2025-03-09 03:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639561', 'tblTempUsageDetail_20' ) start [2025-03-09 03:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639561', 'tblTempUsageDetail_20' ) end [2025-03-09 03:54:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:54:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:54:22] Production.INFO: ==7346== Releasing lock... [2025-03-09 03:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:54:22] Production.INFO: 29.5 MB #Memory Used# [2025-03-09 07:55:01] Production.INFO: ==7413== Lock acquired, processing the job... [2025-03-09 07:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:55:01] Production.INFO: neon service started [2025-03-09 07:55:01] Production.INFO: neon service started [2025-03-09 07:55:01] Production.INFO: ==7413== Releasing lock... [2025-03-09 07:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:55:02] Production.INFO: ==7415== Lock acquired, processing the job... [2025-03-09 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:55:02] Production.INFO: ==7417== Lock acquired, processing the job... [2025-03-09 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:55:02] Production.INFO: ==7417== Releasing lock... [2025-03-09 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:55:02] Production.INFO: ==7415== Releasing lock... [2025-03-09 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:55:03] Production.INFO: ==7428== Lock acquired, processing the job... [2025-03-09 03:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:55:03] Production.INFO: ==7432== Lock acquired, processing the job... [2025-03-09 03:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:55:03] Production.INFO: Account Balance Start. [2025-03-09 03:55:03] Production.INFO: CreateAllLog Start [2025-03-09 03:55:03] Production.INFO: 117 [2025-03-09 03:55:03] Production.INFO: ==7422== Lock acquired, processing the job... [2025-03-09 03:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:55:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:55:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:55:03] Production.INFO: Date 2025-03-09 [2025-03-09 03:55:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:55:03] Production.INFO: count ==13 [2025-03-09 03:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:55:03] Production.INFO: count ==21 [2025-03-09 03:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639563') start [2025-03-09 03:55:03] Production.INFO: ==7426== Lock acquired, processing the job... [2025-03-09 03:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:55:03] Production.INFO: ==7424== Lock acquired, processing the job... [2025-03-09 03:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:55:03] Production.INFO: Total Charge 0 [2025-03-09 03:55:03] Production.INFO: CreateAllLog End [2025-03-09 03:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:55:03] Production.INFO: ==7430== Lock acquired, processing the job... [2025-03-09 03:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639563') end [2025-03-09 03:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:55:04] Production.INFO: 1 [2025-03-09 03:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:55:04] Production.INFO: Account Balance End. [2025-03-09 03:55:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:55:04] Production.INFO: ==7428== Releasing lock... [2025-03-09 03:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:55:04] Production.INFO: ==7432== Releasing lock... [2025-03-09 03:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:55:04] Production.INFO: ==7424== Releasing lock... [2025-03-09 03:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:55:04] Production.ERROR: done [2025-03-09 03:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:55:04] Production.ERROR: done [2025-03-09 03:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:55:05 [end_date_ymd] => 2025-03-09 04:55:05 [RateCDR] => 1 ) [2025-03-09 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-09 00:55:05' and `end` < '2025-03-09 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-09 03:55:13] Production.ERROR: CronJobId end10 [2025-03-09 03:55:13] Production.INFO: ==7426== Releasing lock... [2025-03-09 03:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:55:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:55:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:55:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:55:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:55:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:55:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:55:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:55:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:55:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:55:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:55:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:55:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:55:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:55:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:55:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:55:16] Production.INFO: call_cost start [2025-03-09 03:55:16] Production.INFO: call_cost end [2025-03-09 03:55:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:55:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:55:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:55:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:55:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:55:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:55:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:55:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:55:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:55:17] Production.INFO: ==7422== Releasing lock... [2025-03-09 03:55:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:55:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:55:17] Production.INFO: count ==234 [2025-03-09 03:55:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:55:05 - End Time 2025-03-09 04:55:05 [2025-03-09 03:55:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639566', 'tblTempUsageDetail_20' ) start [2025-03-09 03:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639566', 'tblTempUsageDetail_20' ) end [2025-03-09 03:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639566', 'tblTempVendorCDR_20' ) start [2025-03-09 03:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639566', 'tblTempVendorCDR_20' ) end [2025-03-09 03:55:18] Production.INFO: ProcessCDR(1,14639566,1,1,2) [2025-03-09 03:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639566', 'tblTempUsageDetail_20' ) start [2025-03-09 03:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639566', 'tblTempUsageDetail_20' ) end [2025-03-09 03:55:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:55:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:55:21] Production.INFO: ==7430== Releasing lock... [2025-03-09 03:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:55:21] Production.INFO: 29.5 MB #Memory Used# [2025-03-09 07:56:01] Production.INFO: ==7503== Lock acquired, processing the job... [2025-03-09 07:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:56:01] Production.INFO: neon service started [2025-03-09 07:56:01] Production.INFO: neon service started [2025-03-09 07:56:01] Production.INFO: ==7503== Releasing lock... [2025-03-09 07:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:56:02] Production.INFO: ==7507== Lock acquired, processing the job... [2025-03-09 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:56:02] Production.INFO: ==7507== Releasing lock... [2025-03-09 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:56:02] Production.INFO: ==7505== Lock acquired, processing the job... [2025-03-09 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:56:02] Production.INFO: ==7505== Releasing lock... [2025-03-09 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:56:03] Production.INFO: ==7520== Lock acquired, processing the job... [2025-03-09 03:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:56:03] Production.INFO: ==7514== Lock acquired, processing the job... [2025-03-09 03:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:56:04] Production.INFO: count ==13 [2025-03-09 03:56:04] Production.INFO: ==7510== Lock acquired, processing the job... [2025-03-09 03:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:56:04] Production.INFO: count ==21 [2025-03-09 03:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639567') start [2025-03-09 03:56:04] Production.INFO: ==7512== Lock acquired, processing the job... [2025-03-09 03:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639567') end [2025-03-09 03:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:56:04] Production.INFO: 1 [2025-03-09 03:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:56:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:56:04] Production.INFO: ==7520== Releasing lock... [2025-03-09 03:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:56:04] Production.INFO: ==7516== Lock acquired, processing the job... [2025-03-09 03:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:56:04] Production.INFO: ==7518== Lock acquired, processing the job... [2025-03-09 03:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:56:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:56:04] Production.INFO: Account Balance Start. [2025-03-09 03:56:04] Production.INFO: CreateAllLog Start [2025-03-09 03:56:04] Production.INFO: 117 [2025-03-09 03:56:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:56:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:56:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:56:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:56:04] Production.INFO: Total Charge 0 [2025-03-09 03:56:04] Production.INFO: CreateAllLog End [2025-03-09 03:56:04] Production.INFO: ==7512== Releasing lock... [2025-03-09 03:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:56:04] Production.ERROR: done [2025-03-09 03:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:56:05] Production.ERROR: done [2025-03-09 03:56:05] Production.INFO: Account Balance End. [2025-03-09 03:56:05] Production.ERROR: CronJobId end 12 [2025-03-09 03:56:05] Production.INFO: ==7516== Releasing lock... [2025-03-09 03:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:56:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:56:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:56:06 [end_date_ymd] => 2025-03-09 04:56:06 [RateCDR] => 1 ) [2025-03-09 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-09 00:56:06' and `end` < '2025-03-09 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-09 03:56:12] Production.ERROR: CronJobId end10 [2025-03-09 03:56:12] Production.INFO: ==7514== Releasing lock... [2025-03-09 03:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:56:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:56:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:56:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:56:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:56:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:56:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:56:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:56:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:56:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:56:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:56:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:56:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:56:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:56:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:56:15] Production.INFO: call_cost start [2025-03-09 03:56:15] Production.INFO: call_cost end [2025-03-09 03:56:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:56:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:56:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:56:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:56:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:56:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:56:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:56:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:56:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:56:16] Production.INFO: ==7510== Releasing lock... [2025-03-09 03:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:56:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:56:18] Production.INFO: count ==230 [2025-03-09 03:56:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:56:06 - End Time 2025-03-09 04:56:06 [2025-03-09 03:56:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639571', 'tblTempUsageDetail_20' ) start [2025-03-09 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639571', 'tblTempUsageDetail_20' ) end [2025-03-09 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639571', 'tblTempVendorCDR_20' ) start [2025-03-09 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639571', 'tblTempVendorCDR_20' ) end [2025-03-09 03:56:18] Production.INFO: ProcessCDR(1,14639571,1,1,2) [2025-03-09 03:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639571', 'tblTempUsageDetail_20' ) start [2025-03-09 03:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639571', 'tblTempUsageDetail_20' ) end [2025-03-09 03:56:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:56:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:56:21] Production.INFO: ==7518== Releasing lock... [2025-03-09 03:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:56:21] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 07:57:01] Production.INFO: ==7573== Lock acquired, processing the job... [2025-03-09 07:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:57:01] Production.INFO: neon service started [2025-03-09 07:57:01] Production.INFO: neon service started [2025-03-09 07:57:01] Production.INFO: ==7573== Releasing lock... [2025-03-09 07:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:57:02] Production.INFO: ==7577== Lock acquired, processing the job... [2025-03-09 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:57:02] Production.INFO: ==7577== Releasing lock... [2025-03-09 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:57:02] Production.INFO: ==7575== Lock acquired, processing the job... [2025-03-09 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:57:02] Production.INFO: ==7575== Releasing lock... [2025-03-09 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:57:03] Production.INFO: ==7584== Lock acquired, processing the job... [2025-03-09 03:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:57:03] Production.INFO: ==7590== Lock acquired, processing the job... [2025-03-09 03:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:57:03] Production.INFO: ==7580== Lock acquired, processing the job... [2025-03-09 03:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:57:03] Production.INFO: ==7582== Lock acquired, processing the job... [2025-03-09 03:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 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-09 03:57:03] Production.INFO: ==7586== Lock acquired, processing the job... [2025-03-09 03:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:57:03] Production.INFO: count ==13 [2025-03-09 03:57:03] Production.INFO: ==7588== Lock acquired, processing the job... [2025-03-09 03:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 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-09 03:57:03] Production.INFO: count ==21 [2025-03-09 03:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639572') start [2025-03-09 03:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:57:04] Production.INFO: Account Balance Start. [2025-03-09 03:57:04] Production.INFO: CreateAllLog Start [2025-03-09 03:57:04] Production.INFO: 117 [2025-03-09 03:57:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:57:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639572') end [2025-03-09 03:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:57:04] Production.INFO: 1 [2025-03-09 03:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:57:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:57:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:57:04] Production.INFO: Total Charge 0 [2025-03-09 03:57:04] Production.INFO: CreateAllLog End [2025-03-09 03:57:04] Production.INFO: ==7590== Releasing lock... [2025-03-09 03:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:57:04] Production.INFO: ==7582== Releasing lock... [2025-03-09 03:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:57:04] Production.ERROR: done [2025-03-09 03:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:57:04] Production.ERROR: done [2025-03-09 03:57:04] Production.INFO: Account Balance End. [2025-03-09 03:57:04] Production.ERROR: CronJobId end 12 [2025-03-09 03:57:04] Production.INFO: ==7586== Releasing lock... [2025-03-09 03:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:57:05 [end_date_ymd] => 2025-03-09 04:57:05 [RateCDR] => 1 ) [2025-03-09 03:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 00:57:05' and `end` < '2025-03-09 04:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:57:12] Production.ERROR: CronJobId end10 [2025-03-09 03:57:12] Production.INFO: ==7584== Releasing lock... [2025-03-09 03:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:57:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:57:14] Production.INFO: call_cost start [2025-03-09 03:57:14] Production.INFO: call_cost end [2025-03-09 03:57:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:57:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:57:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:57:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:57:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:57:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:57:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:57:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:57:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:57:16] Production.INFO: ==7580== Releasing lock... [2025-03-09 03:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:57:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:57:17] Production.INFO: count ==229 [2025-03-09 03:57:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:57:05 - End Time 2025-03-09 04:57:05 [2025-03-09 03:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639576', 'tblTempUsageDetail_20' ) start [2025-03-09 03:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639576', 'tblTempUsageDetail_20' ) end [2025-03-09 03:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639576', 'tblTempVendorCDR_20' ) start [2025-03-09 03:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639576', 'tblTempVendorCDR_20' ) end [2025-03-09 03:57:17] Production.INFO: ProcessCDR(1,14639576,1,1,2) [2025-03-09 03:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639576', 'tblTempUsageDetail_20' ) start [2025-03-09 03:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639576', 'tblTempUsageDetail_20' ) end [2025-03-09 03:57:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:57:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:57:21] Production.INFO: ==7588== Releasing lock... [2025-03-09 03:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:57:21] Production.INFO: 30 MB #Memory Used# [2025-03-09 07:58:02] Production.INFO: ==7646== Lock acquired, processing the job... [2025-03-09 07:58:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:58:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:58:02] Production.INFO: neon service started [2025-03-09 07:58:02] Production.INFO: neon service started [2025-03-09 07:58:02] Production.INFO: ==7646== Releasing lock... [2025-03-09 07:58:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:58:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 03:58:02] Production.INFO: ==7648== Lock acquired, processing the job... [2025-03-09 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:58:02] Production.INFO: ==7650== Lock acquired, processing the job... [2025-03-09 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:58:02] Production.INFO: ==7650== Releasing lock... [2025-03-09 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:58:02] Production.INFO: ==7648== Releasing lock... [2025-03-09 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:58:03] Production.INFO: ==7652== Lock acquired, processing the job... [2025-03-09 03:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:58:03] Production.INFO: ==7663== Lock acquired, processing the job... [2025-03-09 03:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:58:03] Production.INFO: ==7655== Lock acquired, processing the job... [2025-03-09 03:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:58:04] Production.INFO: count ==13 [2025-03-09 03:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:58:04] Production.INFO: count ==21 [2025-03-09 03:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639578') start [2025-03-09 03:58:04] Production.INFO: ==7657== Lock acquired, processing the job... [2025-03-09 03:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:58:04] Production.INFO: ==7659== Lock acquired, processing the job... [2025-03-09 03:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639578') end [2025-03-09 03:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:58:04] Production.INFO: 1 [2025-03-09 03:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:58:04] Production.INFO: ==7663== Releasing lock... [2025-03-09 03:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:58:04] Production.INFO: ==7661== Lock acquired, processing the job... [2025-03-09 03:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:58:04] Production.INFO: Account Balance Start. [2025-03-09 03:58:04] Production.INFO: CreateAllLog Start [2025-03-09 03:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:58:04] Production.INFO: 117 [2025-03-09 03:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:58:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:58:04] Production.INFO: Date 2025-03-08 [2025-03-09 03:58:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:58:04] Production.INFO: ==7655== Releasing lock... [2025-03-09 03:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:58:04] Production.INFO: Date 2025-03-09 [2025-03-09 03:58:04] Production.INFO: Reseller ==> 0 [2025-03-09 03:58:04] Production.INFO: Total Charge 0 [2025-03-09 03:58:04] Production.INFO: CreateAllLog End [2025-03-09 03:58:04] Production.ERROR: done [2025-03-09 03:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:58:04] Production.INFO: Account Balance End. [2025-03-09 03:58:05] Production.ERROR: CronJobId end 12 [2025-03-09 03:58:05] Production.INFO: ==7659== Releasing lock... [2025-03-09 03:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:58:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:58:05] Production.ERROR: done [2025-03-09 03:58:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:58:06 [end_date_ymd] => 2025-03-09 04:58:06 [RateCDR] => 1 ) [2025-03-09 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-09 00:58:06' and `end` < '2025-03-09 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-09 03:58:13] Production.ERROR: CronJobId end10 [2025-03-09 03:58:13] Production.INFO: ==7657== Releasing lock... [2025-03-09 03:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:58:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:58:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:58:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:58:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:58:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:58:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:58:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:58:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:58:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:58:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:58:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:58:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:58:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:58:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:58:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:58:15] Production.INFO: call_cost start [2025-03-09 03:58:15] Production.INFO: call_cost end [2025-03-09 03:58:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:58:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:58:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:58:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:58:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:58:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:58:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:58:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:58:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:58:16] Production.INFO: ==7652== Releasing lock... [2025-03-09 03:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:58:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:58:18] Production.INFO: count ==229 [2025-03-09 03:58:18] Production.ERROR: pbx CDR StartTime 2025-03-09 00:58:06 - End Time 2025-03-09 04:58:06 [2025-03-09 03:58:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639581', 'tblTempUsageDetail_20' ) start [2025-03-09 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639581', 'tblTempUsageDetail_20' ) end [2025-03-09 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639581', 'tblTempVendorCDR_20' ) start [2025-03-09 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639581', 'tblTempVendorCDR_20' ) end [2025-03-09 03:58:18] Production.INFO: ProcessCDR(1,14639581,1,1,2) [2025-03-09 03:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639581', 'tblTempUsageDetail_20' ) start [2025-03-09 03:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639581', 'tblTempUsageDetail_20' ) end [2025-03-09 03:58:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:58:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:58:21] Production.INFO: ==7661== Releasing lock... [2025-03-09 03:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:58:21] Production.INFO: 30 MB #Memory Used# [2025-03-09 07:59:01] Production.INFO: ==7719== Lock acquired, processing the job... [2025-03-09 07:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 07:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 07:59:01] Production.INFO: neon service started [2025-03-09 07:59:01] Production.INFO: neon service started [2025-03-09 07:59:01] Production.INFO: ==7719== Releasing lock... [2025-03-09 07:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 07:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:59:01] Production.INFO: ==7723== Lock acquired, processing the job... [2025-03-09 07:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:59:01] Production.INFO: ==7723== Releasing lock... [2025-03-09 07:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 07:59:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 03:59:02] Production.INFO: ==7721== Lock acquired, processing the job... [2025-03-09 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 03:59:02] Production.INFO: ==7721== Releasing lock... [2025-03-09 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 03:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 03:59:03] Production.INFO: ==7732== Lock acquired, processing the job... [2025-03-09 03:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 03:59:03] Production.INFO: ==7736== Lock acquired, processing the job... [2025-03-09 03:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 03:59:03] Production.INFO: ==7726== Lock acquired, processing the job... [2025-03-09 03:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 03:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:59:03] Production.INFO: Account Balance Start. [2025-03-09 03:59:03] Production.INFO: CreateAllLog Start [2025-03-09 03:59:03] Production.INFO: 117 [2025-03-09 03:59:03] Production.INFO: count ==13 [2025-03-09 03:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 03:59:03] Production.INFO: Date 2025-03-08 [2025-03-09 03:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 03:59:03] Production.INFO: count ==21 [2025-03-09 03:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639583') start [2025-03-09 03:59:03] Production.INFO: ==7728== Lock acquired, processing the job... [2025-03-09 03:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 03:59:03] Production.INFO: ==7730== Lock acquired, processing the job... [2025-03-09 03:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 03:59:03] Production.INFO: Date 2025-03-09 [2025-03-09 03:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 03:59:03] Production.INFO: ==7734== Lock acquired, processing the job... [2025-03-09 03:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 03:59:03] Production.INFO: Total Charge 0 [2025-03-09 03:59:03] Production.INFO: CreateAllLog End [2025-03-09 03:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639583') end [2025-03-09 03:59:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 03:59:03] Production.INFO: 1 [2025-03-09 03:59:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 03:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 03:59:03] Production.INFO: ==7736== Releasing lock... [2025-03-09 03:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 03:59:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 03:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 03:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 03:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 03:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 03:59:03] Production.INFO: Account Balance End. [2025-03-09 03:59:03] Production.ERROR: CronJobId end 12 [2025-03-09 03:59:03] Production.INFO: ==7732== Releasing lock... [2025-03-09 03:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 03:59:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 03:59:04] Production.INFO: ==7728== Releasing lock... [2025-03-09 03:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 03:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 03:59:04] Production.ERROR: done [2025-03-09 03:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 03:59:04] Production.ERROR: done [2025-03-09 03:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 00:59:05 [end_date_ymd] => 2025-03-09 04:59:05 [RateCDR] => 1 ) [2025-03-09 03: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-09 00:59:05' and `end` < '2025-03-09 04:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 03:59:11] Production.ERROR: CronJobId end10 [2025-03-09 03:59:11] Production.INFO: ==7730== Releasing lock... [2025-03-09 03:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 03:59:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 03:59:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 03:59:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 03:59:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 03:59:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 03:59:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 03:59:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 03:59:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 03:59:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 03:59:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 03:59:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 03:59:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 03:59:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 03:59:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 03:59:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 03:59:14] Production.INFO: call_cost start [2025-03-09 03:59:14] Production.INFO: call_cost end [2025-03-09 03:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 03:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 03:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 03:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 03:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 03:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 03:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 03:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 03:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 03:59:15] Production.INFO: ==7726== Releasing lock... [2025-03-09 03:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 03:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 03:59:17] Production.INFO: count ==226 [2025-03-09 03:59:17] Production.ERROR: pbx CDR StartTime 2025-03-09 00:59:05 - End Time 2025-03-09 04:59:05 [2025-03-09 03:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 03:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639586', 'tblTempUsageDetail_20' ) start [2025-03-09 03:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639586', 'tblTempUsageDetail_20' ) end [2025-03-09 03:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639586', 'tblTempVendorCDR_20' ) start [2025-03-09 03:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639586', 'tblTempVendorCDR_20' ) end [2025-03-09 03:59:17] Production.INFO: ProcessCDR(1,14639586,1,1,2) [2025-03-09 03:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 03:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 03:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639586', 'tblTempUsageDetail_20' ) start [2025-03-09 03:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639586', 'tblTempUsageDetail_20' ) end [2025-03-09 03:59:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 03:59:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 03:59:21] Production.INFO: ==7734== Releasing lock... [2025-03-09 03:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 03:59:21] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:00:01] Production.INFO: ==7789== Lock acquired, processing the job... [2025-03-09 08:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:00:02] Production.INFO: neon service started [2025-03-09 08:00:02] Production.INFO: neon service started [2025-03-09 08:00:02] Production.INFO: ==7789== Releasing lock... [2025-03-09 08:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:00:02] Production.INFO: ==7791== Lock acquired, processing the job... [2025-03-09 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:00:02] Production.INFO: ==7791== Releasing lock... [2025-03-09 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:00:02] Production.INFO: ==7793== Lock acquired, processing the job... [2025-03-09 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:00:03] Production.INFO: ==7793== Releasing lock... [2025-03-09 08:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:00:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:00:03] Production.INFO: ==7796== Lock acquired, processing the job... [2025-03-09 04:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 04:00:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 04:00:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 04:00:03] Production.INFO: ==7796== Releasing lock... [2025-03-09 04:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 04:00:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 04:00:04] Production.INFO: ==7806== Lock acquired, processing the job... [2025-03-09 04:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:00:04] Production.INFO: ==7798== Lock acquired, processing the job... [2025-03-09 04:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:00:04] Production.INFO: ==7800== Lock acquired, processing the job... [2025-03-09 04:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:00:04] Production.INFO: ==7804== Lock acquired, processing the job... [2025-03-09 04:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:00:04] Production.INFO: ==7802== Lock acquired, processing the job... [2025-03-09 04:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:00:04] Production.INFO: ==7808== Lock acquired, processing the job... [2025-03-09 04:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 04:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:00:04] Production.INFO: Account Balance Start. [2025-03-09 04:00:04] Production.INFO: CreateAllLog Start [2025-03-09 04:00:04] Production.INFO: 117 [2025-03-09 04:00:04] Production.INFO: ==7810== Lock acquired, processing the job... [2025-03-09 04:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:00:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:00:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:00:04] Production.ERROR: done [2025-03-09 04:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:00:04] Production.INFO: Total Charge 0 [2025-03-09 04:00:04] Production.INFO: CreateAllLog End [2025-03-09 04:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:00:04] Production.ERROR: done [2025-03-09 04:00:04] Production.INFO: count ==13 [2025-03-09 04:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:00:04] Production.INFO: count ==21 [2025-03-09 04:00:04] Production.INFO: ==7800== Releasing lock... [2025-03-09 04:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639590') start [2025-03-09 04:00:05] Production.ERROR: done [2025-03-09 04:00:05] Production.INFO: Account Balance End. [2025-03-09 04:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639590') end [2025-03-09 04:00:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:00:05] Production.INFO: 1 [2025-03-09 04:00:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 04:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639592', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 04:00:05] Production.ERROR: CronJobId end 12 [2025-03-09 04:00:05] Production.INFO: ==7804== Releasing lock... [2025-03-09 04:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:00:05] Production.INFO: ==7810== Releasing lock... [2025-03-09 04:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:00:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:00:06 [end_date_ymd] => 2025-03-09 05:00:06 [RateCDR] => 1 ) [2025-03-09 04:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:00:06' and `end` < '2025-03-09 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-09 04:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639592', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 04:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 04:00:09] Production.INFO: ProcessCDR(1,14639592,1,1,2) [2025-03-09 04:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14639592,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14639592,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:00:09] Production.INFO: ==7808== Releasing lock... [2025-03-09 04:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 04:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 04:00:14] Production.ERROR: CronJobId end10 [2025-03-09 04:00:14] Production.INFO: ==7802== Releasing lock... [2025-03-09 04:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:00:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:00:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:00:17] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:00:17] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:00:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:00:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:00:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:00:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:00:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:00:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:00:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:00:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:00:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:00:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:00:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:00:17] Production.INFO: call_cost start [2025-03-09 04:00:17] Production.INFO: call_cost end [2025-03-09 04:00:18] Production.INFO: count ==218 [2025-03-09 04:00:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:00:06 - End Time 2025-03-09 05:00:06 [2025-03-09 04:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639591', 'tblTempUsageDetail_20' ) start [2025-03-09 04:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639591', 'tblTempUsageDetail_20' ) end [2025-03-09 04:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639591', 'tblTempVendorCDR_20' ) start [2025-03-09 04:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639591', 'tblTempVendorCDR_20' ) end [2025-03-09 04:00:18] Production.INFO: ProcessCDR(1,14639591,1,1,2) [2025-03-09 04:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:00:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:00:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:00:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:00:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:00:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:00:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:00:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:00:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:00:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:00:18] Production.INFO: ==7798== Releasing lock... [2025-03-09 04:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:00:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639591', 'tblTempUsageDetail_20' ) start [2025-03-09 04:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639591', 'tblTempUsageDetail_20' ) end [2025-03-09 04:00:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:00:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:00:21] Production.INFO: ==7806== Releasing lock... [2025-03-09 04:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:00:21] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:01:01] Production.INFO: ==7866== Lock acquired, processing the job... [2025-03-09 08:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:01:01] Production.INFO: neon service started [2025-03-09 08:01:01] Production.INFO: neon service started [2025-03-09 08:01:01] Production.INFO: ==7866== Releasing lock... [2025-03-09 08:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:01:01] Production.INFO: ==7880== Lock acquired, processing the job... [2025-03-09 08:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:01:01] Production.INFO: ==7880== Releasing lock... [2025-03-09 08:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:01:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:01:02] Production.INFO: ==7878== Lock acquired, processing the job... [2025-03-09 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:01:02] Production.INFO: ==7878== Releasing lock... [2025-03-09 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:01:03] Production.INFO: ==7882== Lock acquired, processing the job... [2025-03-09 04:01:03] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Starts# [2025-03-09 04:01:03] Production.INFO: DBcleanup Starts. [2025-03-09 04:01:03] Production.INFO: Usage Download Log Start. [2025-03-09 04:01:03] Production.INFO: Usage Download Log End. [2025-03-09 04:01:03] Production.INFO: Cronjob History Delete Start. [2025-03-09 04:01:03] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-03-09','Cronjob') [2025-03-09 04:01:03] Production.INFO: ==7886== Lock acquired, processing the job... [2025-03-09 04:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:01:03] Production.INFO: ==7888== Lock acquired, processing the job... [2025-03-09 04:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:01:03] Production.INFO: ==7884== Lock acquired, processing the job... [2025-03-09 04:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:01:03] Production.INFO: ==7886== Releasing lock... [2025-03-09 04:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:01:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:01:03] Production.INFO: ==7890== Lock acquired, processing the job... [2025-03-09 04:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:01:03] Production.INFO: ==7893== Lock acquired, processing the job... [2025-03-09 04:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:01:03] Production.INFO: ==7895== Lock acquired, processing the job... [2025-03-09 04:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:01:03] Production.INFO: Account Balance Start. [2025-03-09 04:01:03] Production.INFO: CreateAllLog Start [2025-03-09 04:01:03] Production.INFO: 117 [2025-03-09 04:01:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:01:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:01:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:01:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:01:03] Production.INFO: Total Charge 0 [2025-03-09 04:01:03] Production.INFO: count ==13 [2025-03-09 04:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:01:03] Production.INFO: count ==21 [2025-03-09 04:01:03] Production.INFO: CreateAllLog End [2025-03-09 04:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639596') start [2025-03-09 04:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639596') end [2025-03-09 04:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:01:04] Production.INFO: 1 [2025-03-09 04:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:01:04] Production.INFO: ==7895== Releasing lock... [2025-03-09 04:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:01:04] Production.INFO: Account Balance End. [2025-03-09 04:01:04] Production.ERROR: done [2025-03-09 04:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:01:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:01:04] Production.INFO: ==7890== Releasing lock... [2025-03-09 04:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:01:04] Production.ERROR: done [2025-03-09 04:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:01:05 [end_date_ymd] => 2025-03-09 05:01:05 [RateCDR] => 1 ) [2025-03-09 04:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:01:05' and `end` < '2025-03-09 05:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:01:13] Production.INFO: Cronjob History Delete End. [2025-03-09 04:01:13] Production.INFO: Job Log Delete Start. [2025-03-09 04:01:13] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-03-09','Job') [2025-03-09 04:01:13] Production.INFO: Job Log Delete End. [2025-03-09 04:01:13] Production.INFO: Customer RateSheet History Delete Starts. [2025-03-09 04:01:13] Production.INFO: Customer RateSheet History Delete End. [2025-03-09 04:01:13] Production.INFO: Vendor RateSheet History Delete Start. [2025-03-09 04:01:13] Production.INFO: Vendor RateSheet History Delete End. [2025-03-09 04:01:13] Production.INFO: All Old Rate Delete Start [2025-03-09 04:01:13] Production.ERROR: CronJobId end10 [2025-03-09 04:01:13] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Start. [2025-03-09 04:01:13] Production.INFO: ==7888== Releasing lock... [2025-03-09 04:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:01:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:01:13] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Done. [2025-03-09 04:01:13] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Start. [2025-03-09 04:01:13] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Done. [2025-03-09 04:01:13] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Start. [2025-03-09 04:01:13] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:01:13] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Done. [2025-03-09 04:01:13] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Start. [2025-03-09 04:01:13] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Done. [2025-03-09 04:01:13] Production.INFO: All Old Rate Delete End [2025-03-09 04:01:13] Production.INFO: Customer CDR Delete Start. [2025-03-09 04:01:13] Production.INFO: Customer CDR Delete End. [2025-03-09 04:01:13] Production.INFO: Customer Failed Call Start. [2025-03-09 04:01:13] Production.INFO: Customer Failed Call Delete End. [2025-03-09 04:01:13] Production.INFO: Vendor CDR Delete Start. [2025-03-09 04:01:13] Production.INFO: Vendor CDR Delete End. [2025-03-09 04:01:13] Production.INFO: Vendor CDR Delete Start. [2025-03-09 04:01:13] Production.INFO: Vendor CDR Delete End. [2025-03-09 04:01:13] Production.INFO: RateLog Delete Start. [2025-03-09 04:01:13] Production.INFO: RateLog Delete End. [2025-03-09 04:01:13] Production.INFO: Archive Old Rate Delete Start. [2025-03-09 04:01:13] Production.INFO: Archive Old Rate Delete End. [2025-03-09 04:01:13] Production.INFO: Tickets Delete Start. [2025-03-09 04:01:13] Production.INFO: Tickets Delete End. [2025-03-09 04:01:13] Production.INFO: DBcleanup Done. [2025-03-09 04:01:13] Production.ERROR: CronJobId end 3 [2025-03-09 04:01:13] Production.INFO: ==7882== Releasing lock... [2025-03-09 04:01:13] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Stops# [2025-03-09 04:01:13] Production.INFO: 26 MB #Memory Used# [2025-03-09 04:01:17] Production.INFO: count ==205 [2025-03-09 04:01:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:01:05 - End Time 2025-03-09 05:01:05 [2025-03-09 04:01:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639597', 'tblTempUsageDetail_20' ) start [2025-03-09 04:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639597', 'tblTempUsageDetail_20' ) end [2025-03-09 04:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639597', 'tblTempVendorCDR_20' ) start [2025-03-09 04:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639597', 'tblTempVendorCDR_20' ) end [2025-03-09 04:01:17] Production.INFO: ProcessCDR(1,14639597,1,1,2) [2025-03-09 04:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639597', 'tblTempUsageDetail_20' ) start [2025-03-09 04:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639597', 'tblTempUsageDetail_20' ) end [2025-03-09 04:01:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:01:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:01:21] Production.INFO: ==7893== Releasing lock... [2025-03-09 04:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:01:21] Production.INFO: 29.5 MB #Memory Used# [2025-03-09 04:01:22] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:01:22] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:01:22] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:01:22] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:01:22] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:01:22] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:01:22] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:01:22] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:01:22] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:01:22] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:01:22] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:01:22] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:01:22] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:01:22] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:01:22] Production.INFO: call_cost start [2025-03-09 04:01:22] Production.INFO: call_cost end [2025-03-09 04:01:23] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:01:23] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:01:23] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:01:23] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:01:23] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:01:23] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:01:23] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:01:23] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:01:23] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:01:23] Production.INFO: ==7884== Releasing lock... [2025-03-09 04:01:23] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:01:23] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:02:01] Production.INFO: ==8070== Lock acquired, processing the job... [2025-03-09 08:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:02:02] Production.INFO: neon service started [2025-03-09 08:02:02] Production.INFO: neon service started [2025-03-09 08:02:02] Production.INFO: ==8070== Releasing lock... [2025-03-09 08:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:02:02] Production.INFO: ==8074== Lock acquired, processing the job... [2025-03-09 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:02:02] Production.INFO: ==8074== Releasing lock... [2025-03-09 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:02:02] Production.INFO: ==8072== Lock acquired, processing the job... [2025-03-09 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:02:02] Production.INFO: ==8072== Releasing lock... [2025-03-09 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:02:03] Production.INFO: ==8077== Lock acquired, processing the job... [2025-03-09 04:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:02:03] Production.INFO: ==8081== Lock acquired, processing the job... [2025-03-09 04:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:02:03] Production.INFO: ==8079== Lock acquired, processing the job... [2025-03-09 04:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:02:04] Production.INFO: ==8083== Lock acquired, processing the job... [2025-03-09 04:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:02:04] Production.INFO: ==8085== Lock acquired, processing the job... [2025-03-09 04:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:02:04] Production.INFO: ==8087== Lock acquired, processing the job... [2025-03-09 04:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:02:04] Production.INFO: Account Balance Start. [2025-03-09 04:02:04] Production.INFO: CreateAllLog Start [2025-03-09 04:02:04] Production.INFO: 117 [2025-03-09 04:02:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:02:04] Production.INFO: ==8079== Releasing lock... [2025-03-09 04:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:02:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 04:02:04] Production.INFO: Total Charge 0 [2025-03-09 04:02:04] Production.INFO: CreateAllLog End [2025-03-09 04:02:04] Production.INFO: count ==13 [2025-03-09 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-09 04:02:04] Production.INFO: count ==21 [2025-03-09 04:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639602') start [2025-03-09 04:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639602') end [2025-03-09 04:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:02:04] Production.INFO: 1 [2025-03-09 04:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:02:04] Production.INFO: ==8087== Releasing lock... [2025-03-09 04:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:02:04] Production.ERROR: done [2025-03-09 04:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:02:04] Production.INFO: Account Balance End. [2025-03-09 04:02:05] Production.ERROR: CronJobId end 12 [2025-03-09 04:02:05] Production.INFO: ==8083== Releasing lock... [2025-03-09 04:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:02:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:02:05] Production.ERROR: done [2025-03-09 04:02:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:02:06 [end_date_ymd] => 2025-03-09 05:02:06 [RateCDR] => 1 ) [2025-03-09 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-09 01:02:06' and `end` < '2025-03-09 05:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:02:12] Production.ERROR: CronJobId end10 [2025-03-09 04:02:12] Production.INFO: ==8081== Releasing lock... [2025-03-09 04:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:02:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:02:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:02:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:02:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:02:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:02:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:02:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:02:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:02:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:02:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:02:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:02:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:02:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:02:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:02:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:02:15] Production.INFO: call_cost start [2025-03-09 04:02:15] Production.INFO: call_cost end [2025-03-09 04:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:02:15] Production.INFO: ==8077== Releasing lock... [2025-03-09 04:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:02:18] Production.INFO: count ==208 [2025-03-09 04:02:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:02:06 - End Time 2025-03-09 05:02:06 [2025-03-09 04:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639603', 'tblTempUsageDetail_20' ) start [2025-03-09 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639603', 'tblTempUsageDetail_20' ) end [2025-03-09 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639603', 'tblTempVendorCDR_20' ) start [2025-03-09 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639603', 'tblTempVendorCDR_20' ) end [2025-03-09 04:02:18] Production.INFO: ProcessCDR(1,14639603,1,1,2) [2025-03-09 04:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639603', 'tblTempUsageDetail_20' ) start [2025-03-09 04:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639603', 'tblTempUsageDetail_20' ) end [2025-03-09 04:02:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:02:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:02:21] Production.INFO: ==8085== Releasing lock... [2025-03-09 04:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:02:21] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 08:03:01] Production.INFO: ==8139== Lock acquired, processing the job... [2025-03-09 08:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:03:01] Production.INFO: neon service started [2025-03-09 08:03:01] Production.INFO: neon service started [2025-03-09 08:03:01] Production.INFO: ==8139== Releasing lock... [2025-03-09 08:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:03:01] Production.INFO: ==8141== Lock acquired, processing the job... [2025-03-09 04:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:03:02] Production.INFO: ==8141== Releasing lock... [2025-03-09 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:03:02] Production.INFO: ==8143== Lock acquired, processing the job... [2025-03-09 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:03:02] Production.INFO: ==8143== Releasing lock... [2025-03-09 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:03:02] Production.INFO: 26 MB #Memory Used# [2025-03-09 04:03:03] Production.INFO: ==8146== Lock acquired, processing the job... [2025-03-09 04:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:03:03] Production.INFO: ==8151== Lock acquired, processing the job... [2025-03-09 04:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:03:03] Production.INFO: ==8157== Lock acquired, processing the job... [2025-03-09 04:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:03:03] Production.INFO: ==8148== Lock acquired, processing the job... [2025-03-09 04:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:03:03] Production.INFO: ==8153== Lock acquired, processing the job... [2025-03-09 04:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:03:03] Production.INFO: ==8155== Lock acquired, processing the job... [2025-03-09 04:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:03:03] Production.INFO: Account Balance Start. [2025-03-09 04:03:03] Production.INFO: CreateAllLog Start [2025-03-09 04:03:03] Production.INFO: 117 [2025-03-09 04:03:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:03:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:03:03] Production.INFO: count ==13 [2025-03-09 04:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:03:03] Production.INFO: count ==21 [2025-03-09 04:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639606') start [2025-03-09 04:03:03] Production.INFO: Total Charge 0 [2025-03-09 04:03:03] Production.INFO: CreateAllLog End [2025-03-09 04:03:03] Production.INFO: ==8148== Releasing lock... [2025-03-09 04:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:03:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639606') end [2025-03-09 04:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:03:04] Production.INFO: 1 [2025-03-09 04:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:03:04] Production.INFO: ==8157== Releasing lock... [2025-03-09 04:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:03:04] Production.ERROR: done [2025-03-09 04:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:03:04] Production.INFO: Account Balance End. [2025-03-09 04:03:04] Production.ERROR: done [2025-03-09 04:03:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:03:04] Production.INFO: ==8153== Releasing lock... [2025-03-09 04:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:03:05 [end_date_ymd] => 2025-03-09 05:03:05 [RateCDR] => 1 ) [2025-03-09 04:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:03:05' and `end` < '2025-03-09 05:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:03:12] Production.ERROR: CronJobId end10 [2025-03-09 04:03:12] Production.INFO: ==8151== Releasing lock... [2025-03-09 04:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:03:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:03:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:03:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:03:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:03:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:03:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:03:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:03:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:03:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:03:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:03:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:03:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:03:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:03:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:03:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:03:14] Production.INFO: call_cost start [2025-03-09 04:03:14] Production.INFO: call_cost end [2025-03-09 04:03:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:03:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:03:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:03:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:03:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:03:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:03:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:03:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:03:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:03:15] Production.INFO: ==8146== Releasing lock... [2025-03-09 04:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:03:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:03:17] Production.INFO: count ==208 [2025-03-09 04:03:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:03:05 - End Time 2025-03-09 05:03:05 [2025-03-09 04:03:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639608', 'tblTempUsageDetail_20' ) start [2025-03-09 04:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639608', 'tblTempUsageDetail_20' ) end [2025-03-09 04:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639608', 'tblTempVendorCDR_20' ) start [2025-03-09 04:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639608', 'tblTempVendorCDR_20' ) end [2025-03-09 04:03:17] Production.INFO: ProcessCDR(1,14639608,1,1,2) [2025-03-09 04:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:03:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639608', 'tblTempUsageDetail_20' ) start [2025-03-09 04:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639608', 'tblTempUsageDetail_20' ) end [2025-03-09 04:03:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:03:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:03:20] Production.INFO: ==8155== Releasing lock... [2025-03-09 04:03:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:03:20] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 08:04:01] Production.INFO: ==8213== Lock acquired, processing the job... [2025-03-09 08:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:04:01] Production.INFO: neon service started [2025-03-09 08:04:01] Production.INFO: neon service started [2025-03-09 08:04:01] Production.INFO: ==8213== Releasing lock... [2025-03-09 08:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:04:02] Production.INFO: ==8217== Lock acquired, processing the job... [2025-03-09 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:04:02] Production.INFO: ==8217== Releasing lock... [2025-03-09 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:04:02] Production.INFO: ==8215== Lock acquired, processing the job... [2025-03-09 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:04:02] Production.INFO: ==8215== Releasing lock... [2025-03-09 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:04:03] Production.INFO: ==8220== Lock acquired, processing the job... [2025-03-09 04:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:04:03] Production.INFO: ==8222== Lock acquired, processing the job... [2025-03-09 04:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:04:03] Production.INFO: ==8224== Lock acquired, processing the job... [2025-03-09 04:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:04:04] Production.INFO: ==8228== Lock acquired, processing the job... [2025-03-09 04:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:04:04] Production.INFO: ==8226== Lock acquired, processing the job... [2025-03-09 04:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:04:04] Production.INFO: ==8230== Lock acquired, processing the job... [2025-03-09 04:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:04:04] Production.INFO: ==8222== Releasing lock... [2025-03-09 04:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:04:04] Production.INFO: Account Balance Start. [2025-03-09 04:04:04] Production.INFO: CreateAllLog Start [2025-03-09 04:04:04] Production.INFO: 117 [2025-03-09 04:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:04:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:04:04] Production.INFO: count ==13 [2025-03-09 04:04:04] Production.ERROR: done [2025-03-09 04:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:04:04] Production.INFO: count ==21 [2025-03-09 04:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639612') start [2025-03-09 04:04:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:04:04] Production.INFO: Total Charge 0 [2025-03-09 04:04:04] Production.INFO: CreateAllLog End [2025-03-09 04:04:04] Production.ERROR: done [2025-03-09 04:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639612') end [2025-03-09 04:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:04:04] Production.INFO: 1 [2025-03-09 04:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:04:04] Production.INFO: ==8230== Releasing lock... [2025-03-09 04:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:04:04] Production.INFO: Account Balance End. [2025-03-09 04:04:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:04:04] Production.INFO: ==8226== Releasing lock... [2025-03-09 04:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:04:05 [end_date_ymd] => 2025-03-09 05:04:05 [RateCDR] => 1 ) [2025-03-09 04:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:04:05' and `end` < '2025-03-09 05:04:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:04:11] Production.ERROR: CronJobId end10 [2025-03-09 04:04:11] Production.INFO: ==8224== Releasing lock... [2025-03-09 04:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:04:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:04:14] Production.INFO: call_cost start [2025-03-09 04:04:14] Production.INFO: call_cost end [2025-03-09 04:04:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:04:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:04:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:04:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:04:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:04:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:04:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:04:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:04:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:04:15] Production.INFO: ==8220== Releasing lock... [2025-03-09 04:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:04:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:04:17] Production.INFO: count ==208 [2025-03-09 04:04:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:04:05 - End Time 2025-03-09 05:04:05 [2025-03-09 04:04:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639613', 'tblTempUsageDetail_20' ) start [2025-03-09 04:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639613', 'tblTempUsageDetail_20' ) end [2025-03-09 04:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639613', 'tblTempVendorCDR_20' ) start [2025-03-09 04:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639613', 'tblTempVendorCDR_20' ) end [2025-03-09 04:04:17] Production.INFO: ProcessCDR(1,14639613,1,1,2) [2025-03-09 04:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639613', 'tblTempUsageDetail_20' ) start [2025-03-09 04:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639613', 'tblTempUsageDetail_20' ) end [2025-03-09 04:04:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:04:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:04:21] Production.INFO: ==8228== Releasing lock... [2025-03-09 04:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:04:21] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 08:05:01] Production.INFO: ==8283== Lock acquired, processing the job... [2025-03-09 08:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:05:01] Production.INFO: neon service started [2025-03-09 08:05:01] Production.INFO: neon service started [2025-03-09 08:05:01] Production.INFO: ==8283== Releasing lock... [2025-03-09 08:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:05:01] Production.INFO: ==8288== Lock acquired, processing the job... [2025-03-09 08:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:05:01] Production.INFO: ==8288== Releasing lock... [2025-03-09 08:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:05:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:05:01] Production.INFO: ==8286== Lock acquired, processing the job... [2025-03-09 04:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:05:02] Production.INFO: ==8286== Releasing lock... [2025-03-09 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:05:03] Production.INFO: ==8292== Lock acquired, processing the job... [2025-03-09 04:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:05:03] Production.INFO: ==8290== Lock acquired, processing the job... [2025-03-09 04:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:05:03] Production.INFO: ==8296== Lock acquired, processing the job... [2025-03-09 04:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:05:03] Production.INFO: Account Balance Start. [2025-03-09 04:05:03] Production.INFO: CreateAllLog Start [2025-03-09 04:05:03] Production.INFO: 117 [2025-03-09 04:05:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:05:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:05:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:05:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:05:03] Production.INFO: Total Charge 0 [2025-03-09 04:05:03] Production.INFO: CreateAllLog End [2025-03-09 04:05:03] Production.INFO: ==8294== Lock acquired, processing the job... [2025-03-09 04:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:05:03] Production.INFO: ==8292== Releasing lock... [2025-03-09 04:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:05:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:05:03] Production.INFO: ==8298== Lock acquired, processing the job... [2025-03-09 04:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:05:03] Production.INFO: ==8300== Lock acquired, processing the job... [2025-03-09 04:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:05:03] Production.INFO: Account Balance End. [2025-03-09 04:05:03] Production.ERROR: CronJobId end 12 [2025-03-09 04:05:03] Production.INFO: ==8296== Releasing lock... [2025-03-09 04:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:05:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 04:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:05:03] Production.INFO: count ==13 [2025-03-09 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-09 04:05:03] Production.INFO: count ==21 [2025-03-09 04:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639617') start [2025-03-09 04:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639617') end [2025-03-09 04:05:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:05:03] Production.INFO: 1 [2025-03-09 04:05:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:05:03] Production.INFO: ==8300== Releasing lock... [2025-03-09 04:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:05:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:05:04] Production.ERROR: done [2025-03-09 04:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:05:04] Production.ERROR: done [2025-03-09 04:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:05:05 [end_date_ymd] => 2025-03-09 05:05:05 [RateCDR] => 1 ) [2025-03-09 04:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:05:05' and `end` < '2025-03-09 05:05:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:05:12] Production.ERROR: CronJobId end10 [2025-03-09 04:05:12] Production.INFO: ==8294== Releasing lock... [2025-03-09 04:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:05:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:05:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:05:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:05:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:05:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:05:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:05:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:05:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:05:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:05:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:05:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:05:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:05:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:05:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:05:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:05:14] Production.INFO: call_cost start [2025-03-09 04:05:14] Production.INFO: call_cost end [2025-03-09 04:05:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:05:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:05:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:05:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:05:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:05:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:05:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:05:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:05:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:05:15] Production.INFO: ==8290== Releasing lock... [2025-03-09 04:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:05:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:05:17] Production.INFO: count ==208 [2025-03-09 04:05:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:05:05 - End Time 2025-03-09 05:05:05 [2025-03-09 04:05:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639618', 'tblTempUsageDetail_20' ) start [2025-03-09 04:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639618', 'tblTempUsageDetail_20' ) end [2025-03-09 04:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639618', 'tblTempVendorCDR_20' ) start [2025-03-09 04:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639618', 'tblTempVendorCDR_20' ) end [2025-03-09 04:05:17] Production.INFO: ProcessCDR(1,14639618,1,1,2) [2025-03-09 04:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639618', 'tblTempUsageDetail_20' ) start [2025-03-09 04:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639618', 'tblTempUsageDetail_20' ) end [2025-03-09 04:05:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:05:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:05:20] Production.INFO: ==8298== Releasing lock... [2025-03-09 04:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:05:20] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 08:06:01] Production.INFO: ==8433== Lock acquired, processing the job... [2025-03-09 08:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:06:01] Production.INFO: neon service started [2025-03-09 08:06:01] Production.INFO: neon service started [2025-03-09 08:06:01] Production.INFO: ==8433== Releasing lock... [2025-03-09 08:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:06:02] Production.INFO: ==8435== Lock acquired, processing the job... [2025-03-09 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:06:02] Production.INFO: ==8437== Lock acquired, processing the job... [2025-03-09 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:06:02] Production.INFO: ==8437== Releasing lock... [2025-03-09 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:06:02] Production.INFO: ==8435== Releasing lock... [2025-03-09 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:06:03] Production.INFO: ==8446== Lock acquired, processing the job... [2025-03-09 04:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:06:03] Production.INFO: ==8448== Lock acquired, processing the job... [2025-03-09 04:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:06:03] Production.INFO: Account Balance Start. [2025-03-09 04:06:03] Production.INFO: CreateAllLog Start [2025-03-09 04:06:03] Production.INFO: 117 [2025-03-09 04:06:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:06:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:06:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:06:04] Production.INFO: ==8440== Lock acquired, processing the job... [2025-03-09 04:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:06:04] Production.INFO: Total Charge 0 [2025-03-09 04:06:04] Production.INFO: CreateAllLog End [2025-03-09 04:06:04] Production.INFO: ==8444== Lock acquired, processing the job... [2025-03-09 04:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:06:04] Production.INFO: ==8442== Lock acquired, processing the job... [2025-03-09 04:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:06:04] Production.INFO: ==8450== Lock acquired, processing the job... [2025-03-09 04:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:06:04] Production.ERROR: done [2025-03-09 04:06:04] Production.INFO: Account Balance End. [2025-03-09 04:06:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:06:04] Production.INFO: ==8446== Releasing lock... [2025-03-09 04:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 04:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:06:04] Production.INFO: count ==13 [2025-03-09 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-09 04:06:04] Production.INFO: count ==21 [2025-03-09 04:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639621') start [2025-03-09 04:06:04] Production.ERROR: done [2025-03-09 04:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639621') end [2025-03-09 04:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:06:04] Production.INFO: 1 [2025-03-09 04:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:06:04] Production.INFO: ==8450== Releasing lock... [2025-03-09 04:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:06:04] Production.INFO: ==8442== Releasing lock... [2025-03-09 04:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:06:05 [end_date_ymd] => 2025-03-09 05:06:05 [RateCDR] => 1 ) [2025-03-09 04:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:06:05' and `end` < '2025-03-09 05:06:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:06:11] Production.ERROR: CronJobId end10 [2025-03-09 04:06:11] Production.INFO: ==8444== Releasing lock... [2025-03-09 04:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:06:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:06:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:06:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:06:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:06:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:06:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:06:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:06:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:06:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:06:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:06:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:06:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:06:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:06:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:06:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:06:15] Production.INFO: call_cost start [2025-03-09 04:06:15] Production.INFO: call_cost end [2025-03-09 04:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:06:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:06:15] Production.INFO: ==8440== Releasing lock... [2025-03-09 04:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:06:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:06:17] Production.INFO: count ==209 [2025-03-09 04:06:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:06:05 - End Time 2025-03-09 05:06:05 [2025-03-09 04:06:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639623', 'tblTempUsageDetail_20' ) start [2025-03-09 04:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639623', 'tblTempUsageDetail_20' ) end [2025-03-09 04:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639623', 'tblTempVendorCDR_20' ) start [2025-03-09 04:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639623', 'tblTempVendorCDR_20' ) end [2025-03-09 04:06:17] Production.INFO: ProcessCDR(1,14639623,1,1,2) [2025-03-09 04:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639623', 'tblTempUsageDetail_20' ) start [2025-03-09 04:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639623', 'tblTempUsageDetail_20' ) end [2025-03-09 04:06:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:06:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:06:22] Production.INFO: ==8448== Releasing lock... [2025-03-09 04:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:06:22] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 08:07:02] Production.INFO: ==8504== Lock acquired, processing the job... [2025-03-09 08:07:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:07:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:07:02] Production.INFO: neon service started [2025-03-09 08:07:02] Production.INFO: neon service started [2025-03-09 08:07:02] Production.INFO: ==8504== Releasing lock... [2025-03-09 08:07:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:07:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:07:03] Production.INFO: ==8506== Lock acquired, processing the job... [2025-03-09 04:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:07:03] Production.INFO: ==8508== Lock acquired, processing the job... [2025-03-09 08:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:07:03] Production.INFO: ==8508== Releasing lock... [2025-03-09 08:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:07:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:07:03] Production.INFO: ==8506== Releasing lock... [2025-03-09 04:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:07:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:07:04] Production.INFO: ==8511== Lock acquired, processing the job... [2025-03-09 04:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:07:04] Production.INFO: ==8513== Lock acquired, processing the job... [2025-03-09 04:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:07:04] Production.INFO: ==8515== Lock acquired, processing the job... [2025-03-09 04:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:07:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:07:04] Production.INFO: ==8517== Lock acquired, processing the job... [2025-03-09 04:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:07:04] Production.INFO: ==8519== Lock acquired, processing the job... [2025-03-09 04:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:07:04] Production.INFO: ==8513== Releasing lock... [2025-03-09 04:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:07:04] Production.INFO: Account Balance Start. [2025-03-09 04:07:04] Production.INFO: CreateAllLog Start [2025-03-09 04:07:04] Production.INFO: 117 [2025-03-09 04:07:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:07:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:07:04] Production.INFO: ==8521== Lock acquired, processing the job... [2025-03-09 04:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:07:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:07:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:07:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:07:04] Production.INFO: Total Charge 0 [2025-03-09 04:07:05] Production.INFO: CreateAllLog End [2025-03-09 04:07: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-09 04:07:05] Production.INFO: count ==13 [2025-03-09 04:07:05] Production.ERROR: done [2025-03-09 04:07: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-09 04:07:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:07:05] Production.INFO: count ==21 [2025-03-09 04:07:05] Production.INFO: Account Balance End. [2025-03-09 04:07:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639627') start [2025-03-09 04:07:05] Production.ERROR: CronJobId end 12 [2025-03-09 04:07:05] Production.INFO: ==8517== Releasing lock... [2025-03-09 04:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:07:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:07:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639627') end [2025-03-09 04:07:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:07:05] Production.INFO: 1 [2025-03-09 04:07:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:07:05] Production.INFO: ==8521== Releasing lock... [2025-03-09 04:07:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:07:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:07:05] Production.ERROR: done [2025-03-09 04:07:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:07:06 [end_date_ymd] => 2025-03-09 05:07:06 [RateCDR] => 1 ) [2025-03-09 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-09 01:07:06' and `end` < '2025-03-09 05: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-09 04:07:12] Production.ERROR: CronJobId end10 [2025-03-09 04:07:12] Production.INFO: ==8515== Releasing lock... [2025-03-09 04:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:07:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:07:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:07:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:07:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:07:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:07:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:07:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:07:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:07:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:07:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:07:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:07:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:07:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:07:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:07:15] Production.INFO: call_cost start [2025-03-09 04:07:15] Production.INFO: call_cost end [2025-03-09 04:07:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:07:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:07:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:07:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:07:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:07:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:07:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:07:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:07:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:07:16] Production.INFO: ==8511== Releasing lock... [2025-03-09 04:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:07:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:07:18] Production.INFO: count ==209 [2025-03-09 04:07:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:07:06 - End Time 2025-03-09 05:07:06 [2025-03-09 04:07:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639628', 'tblTempUsageDetail_20' ) start [2025-03-09 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639628', 'tblTempUsageDetail_20' ) end [2025-03-09 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639628', 'tblTempVendorCDR_20' ) start [2025-03-09 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639628', 'tblTempVendorCDR_20' ) end [2025-03-09 04:07:18] Production.INFO: ProcessCDR(1,14639628,1,1,2) [2025-03-09 04:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639628', 'tblTempUsageDetail_20' ) start [2025-03-09 04:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639628', 'tblTempUsageDetail_20' ) end [2025-03-09 04:07:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:07:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:07:22] Production.INFO: ==8519== Releasing lock... [2025-03-09 04:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:07:22] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 08:08:01] Production.INFO: ==8576== Lock acquired, processing the job... [2025-03-09 08:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:08:02] Production.INFO: neon service started [2025-03-09 08:08:02] Production.INFO: neon service started [2025-03-09 08:08:02] Production.INFO: ==8576== Releasing lock... [2025-03-09 08:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:08:02] Production.INFO: ==8578== Lock acquired, processing the job... [2025-03-09 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:08:02] Production.INFO: ==8580== Lock acquired, processing the job... [2025-03-09 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:08:02] Production.INFO: ==8580== Releasing lock... [2025-03-09 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:08:02] Production.INFO: ==8578== Releasing lock... [2025-03-09 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:08:03] Production.INFO: ==8583== Lock acquired, processing the job... [2025-03-09 04:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:08:03] Production.INFO: ==8585== Lock acquired, processing the job... [2025-03-09 04:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:08:03] Production.INFO: ==8587== Lock acquired, processing the job... [2025-03-09 04:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:08:03] Production.INFO: ==8593== Lock acquired, processing the job... [2025-03-09 04:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:08:03] Production.INFO: ==8589== Lock acquired, processing the job... [2025-03-09 04:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:08:03] Production.INFO: ==8591== Lock acquired, processing the job... [2025-03-09 04:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:08:04] Production.INFO: ==8585== Releasing lock... [2025-03-09 04:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 04:08:04] Production.INFO: Account Balance Start. [2025-03-09 04:08:04] Production.INFO: CreateAllLog Start [2025-03-09 04:08:04] Production.INFO: 117 [2025-03-09 04:08:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:08:04] Production.INFO: count ==13 [2025-03-09 04:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 04:08:04] Production.INFO: count ==21 [2025-03-09 04:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639631') start [2025-03-09 04:08:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:08:04] Production.INFO: Total Charge 0 [2025-03-09 04:08:04] Production.INFO: CreateAllLog End [2025-03-09 04:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639631') end [2025-03-09 04:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:08:04] Production.INFO: 1 [2025-03-09 04:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:08:04] Production.INFO: ==8593== Releasing lock... [2025-03-09 04:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:08:04] Production.ERROR: done [2025-03-09 04:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:08:04] Production.INFO: Account Balance End. [2025-03-09 04:08:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:08:04] Production.INFO: ==8589== Releasing lock... [2025-03-09 04:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:08:04] Production.ERROR: done [2025-03-09 04:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:08:05 [end_date_ymd] => 2025-03-09 05:08:05 [RateCDR] => 1 ) [2025-03-09 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-09 01:08:05' and `end` < '2025-03-09 05:08:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:08:11] Production.ERROR: CronJobId end10 [2025-03-09 04:08:11] Production.INFO: ==8587== Releasing lock... [2025-03-09 04:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:08:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:08:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:08:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:08:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:08:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:08:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:08:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:08:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:08:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:08:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:08:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:08:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:08:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:08:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:08:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:08:15] Production.INFO: call_cost start [2025-03-09 04:08:15] Production.INFO: call_cost end [2025-03-09 04:08:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:08:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:08:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:08:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:08:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:08:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:08:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:08:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:08:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:08:15] Production.INFO: ==8583== Releasing lock... [2025-03-09 04:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:08:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:08:17] Production.INFO: count ==209 [2025-03-09 04:08:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:08:05 - End Time 2025-03-09 05:08:05 [2025-03-09 04:08:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639633', 'tblTempUsageDetail_20' ) start [2025-03-09 04:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639633', 'tblTempUsageDetail_20' ) end [2025-03-09 04:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639633', 'tblTempVendorCDR_20' ) start [2025-03-09 04:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639633', 'tblTempVendorCDR_20' ) end [2025-03-09 04:08:17] Production.INFO: ProcessCDR(1,14639633,1,1,2) [2025-03-09 04:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639633', 'tblTempUsageDetail_20' ) start [2025-03-09 04:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639633', 'tblTempUsageDetail_20' ) end [2025-03-09 04:08:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:08:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:08:21] Production.INFO: ==8591== Releasing lock... [2025-03-09 04:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:08:21] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 08:09:01] Production.INFO: ==8725== Lock acquired, processing the job... [2025-03-09 08:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:09:01] Production.INFO: neon service started [2025-03-09 08:09:01] Production.INFO: neon service started [2025-03-09 08:09:01] Production.INFO: ==8725== Releasing lock... [2025-03-09 08:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:09:01] Production.INFO: ==8727== Lock acquired, processing the job... [2025-03-09 04:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:09:02] Production.INFO: ==8727== Releasing lock... [2025-03-09 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:09:02] Production.INFO: ==8729== Lock acquired, processing the job... [2025-03-09 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:09:02] Production.INFO: ==8729== Releasing lock... [2025-03-09 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:09:03] Production.INFO: ==8731== Lock acquired, processing the job... [2025-03-09 04:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:09:03] Production.INFO: ==8733== Lock acquired, processing the job... [2025-03-09 04:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:09:03] Production.INFO: ==8738== Lock acquired, processing the job... [2025-03-09 04:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:09:03] Production.INFO: ==8736== Lock acquired, processing the job... [2025-03-09 04:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:09:03] Production.INFO: Account Balance Start. [2025-03-09 04:09:03] Production.INFO: CreateAllLog Start [2025-03-09 04:09:03] Production.INFO: 117 [2025-03-09 04:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:09:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:09:03] Production.INFO: ==8740== Lock acquired, processing the job... [2025-03-09 04:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:09:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:09:03] Production.INFO: ==8742== Lock acquired, processing the job... [2025-03-09 04:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:09:03] Production.INFO: Total Charge 0 [2025-03-09 04:09:03] Production.INFO: CreateAllLog End [2025-03-09 04:09:03] Production.INFO: ==8733== Releasing lock... [2025-03-09 04:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:09:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 04:09:03] Production.INFO: count ==13 [2025-03-09 04:09:03] Production.INFO: Account Balance End. [2025-03-09 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-09 04:09:03] Production.INFO: count ==21 [2025-03-09 04:09:03] Production.ERROR: done [2025-03-09 04:09:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:09:03] Production.ERROR: CronJobId end 12 [2025-03-09 04:09:03] Production.INFO: ==8738== Releasing lock... [2025-03-09 04:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:09:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639637') start [2025-03-09 04:09:04] Production.ERROR: done [2025-03-09 04:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639637') end [2025-03-09 04:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:09:04] Production.INFO: 1 [2025-03-09 04:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:09:04] Production.INFO: ==8742== Releasing lock... [2025-03-09 04:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:09:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:09:04 [end_date_ymd] => 2025-03-09 05:09:04 [RateCDR] => 1 ) [2025-03-09 04:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:09:04' and `end` < '2025-03-09 05:09:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:09:11] Production.ERROR: CronJobId end10 [2025-03-09 04:09:11] Production.INFO: ==8736== Releasing lock... [2025-03-09 04:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:09:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:09:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:09:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:09:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:09:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:09:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:09:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:09:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:09:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:09:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:09:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:09:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:09:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:09:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:09:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:09:14] Production.INFO: call_cost start [2025-03-09 04:09:14] Production.INFO: call_cost end [2025-03-09 04:09:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:09:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:09:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:09:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:09:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:09:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:09:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:09:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:09:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:09:15] Production.INFO: ==8731== Releasing lock... [2025-03-09 04:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:09:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:09:16] Production.INFO: count ==208 [2025-03-09 04:09:16] Production.ERROR: pbx CDR StartTime 2025-03-09 01:09:04 - End Time 2025-03-09 05:09:04 [2025-03-09 04:09:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:09:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639638', 'tblTempUsageDetail_20' ) start [2025-03-09 04:09:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639638', 'tblTempUsageDetail_20' ) end [2025-03-09 04:09:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639638', 'tblTempVendorCDR_20' ) start [2025-03-09 04:09:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639638', 'tblTempVendorCDR_20' ) end [2025-03-09 04:09:16] Production.INFO: ProcessCDR(1,14639638,1,1,2) [2025-03-09 04:09:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:09:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639638', 'tblTempUsageDetail_20' ) start [2025-03-09 04:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639638', 'tblTempUsageDetail_20' ) end [2025-03-09 04:09:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:09:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:09:20] Production.INFO: ==8740== Releasing lock... [2025-03-09 04:09:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:09:20] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 08:10:01] Production.INFO: ==8796== Lock acquired, processing the job... [2025-03-09 08:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:10:01] Production.INFO: neon service started [2025-03-09 08:10:01] Production.INFO: neon service started [2025-03-09 08:10:01] Production.INFO: ==8796== Releasing lock... [2025-03-09 08:10:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:10:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:10:02] Production.INFO: ==8798== Lock acquired, processing the job... [2025-03-09 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:10:02] Production.INFO: ==8800== Lock acquired, processing the job... [2025-03-09 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:10:02] Production.INFO: ==8800== Releasing lock... [2025-03-09 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:10:03] Production.INFO: ==8798== Releasing lock... [2025-03-09 04:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:10:04] Production.INFO: ==8807== Lock acquired, processing the job... [2025-03-09 04:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:10:04] Production.INFO: ==8809== Lock acquired, processing the job... [2025-03-09 04:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:10:04] Production.INFO: ==8803== Lock acquired, processing the job... [2025-03-09 04:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 04:10:04] Production.INFO: ==8815== Lock acquired, processing the job... [2025-03-09 04:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 04:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:10:04] Production.INFO: ==8805== Lock acquired, processing the job... [2025-03-09 04:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 04:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 04:10:04] Production.ERROR: CronJob PID - 8807 [2025-03-09 04:10:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 04:10:04] Production.ERROR: CronJob ID - 7 [2025-03-09 04:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 04:10:00 [2025-03-09 04:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 04:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 04:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 04:10:04] Production.ERROR: CronJob PID - 8809 [2025-03-09 04:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 04:10:04] Production.ERROR: CronJob ID - 10 [2025-03-09 04:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 04:10:00 [2025-03-09 04:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 04:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 04:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 04:10:04] Production.ERROR: CronJob PID - 8815 [2025-03-09 04:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-09 04:10:04] Production.ERROR: CronJob ID - 17 [2025-03-09 04:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 04:10:00 [2025-03-09 04:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 04:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 04:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 04:10:04] Production.INFO: ==8803== Releasing lock... [2025-03-09 04:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 04:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 04:10:04] Production.INFO: ==8811== Lock acquired, processing the job... [2025-03-09 04:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:10:04] Production.INFO: ==8813== Lock acquired, processing the job... [2025-03-09 04:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:10:04] Production.INFO: Account Balance Start. [2025-03-09 04:10:04] Production.INFO: CreateAllLog Start [2025-03-09 04:10:04] Production.INFO: 117 [2025-03-09 04:10:04] Production.INFO: ==8817== Lock acquired, processing the job... [2025-03-09 04:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:10:04] Production.INFO: ==8807== Releasing lock... [2025-03-09 04:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:10:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:10:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:10:04] Production.INFO: Total Charge 0 [2025-03-09 04:10:04] Production.ERROR: done [2025-03-09 04:10:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 04:10:05] Production.INFO: count ==13 [2025-03-09 04:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 04:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639643', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 04:10:05] Production.ERROR: done [2025-03-09 04:10:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:10:05] Production.INFO: count ==21 [2025-03-09 04:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639642') start [2025-03-09 04:10:05] Production.ERROR: done [2025-03-09 04:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639642') end [2025-03-09 04:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:10:05] Production.INFO: 1 [2025-03-09 04:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:10:05] Production.INFO: ==8817== Releasing lock... [2025-03-09 04:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:10:05] Production.INFO: Account Balance End. [2025-03-09 04:10:05] Production.ERROR: CronJobId end 12 [2025-03-09 04:10:05] Production.INFO: ==8811== Releasing lock... [2025-03-09 04:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:10:06 [end_date_ymd] => 2025-03-09 05:10:06 [RateCDR] => 1 ) [2025-03-09 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-09 01:10:06' and `end` < '2025-03-09 05:10:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639643', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 04:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 04:10:09] Production.INFO: ProcessCDR(1,14639643,1,1,2) [2025-03-09 04:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14639643,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14639643,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:10:09] Production.INFO: ==8815== Releasing lock... [2025-03-09 04:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 04:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 04:10:13] Production.ERROR: CronJobId end10 [2025-03-09 04:10:13] Production.INFO: ==8809== Releasing lock... [2025-03-09 04:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:10:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:10:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:10:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:10:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:10:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:10:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:10:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:10:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:10:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:10:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:10:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:10:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:10:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:10:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:10:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:10:16] Production.INFO: call_cost start [2025-03-09 04:10:16] Production.INFO: call_cost end [2025-03-09 04:10:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:10:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:10:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:10:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:10:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:10:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:10:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:10:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:10:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:10:17] Production.INFO: ==8805== Releasing lock... [2025-03-09 04:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:10:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:10:18] Production.INFO: count ==207 [2025-03-09 04:10:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:10:06 - End Time 2025-03-09 05:10:06 [2025-03-09 04:10:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639644', 'tblTempUsageDetail_20' ) start [2025-03-09 04:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639644', 'tblTempUsageDetail_20' ) end [2025-03-09 04:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639644', 'tblTempVendorCDR_20' ) start [2025-03-09 04:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639644', 'tblTempVendorCDR_20' ) end [2025-03-09 04:10:18] Production.INFO: ProcessCDR(1,14639644,1,1,2) [2025-03-09 04:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639644', 'tblTempUsageDetail_20' ) start [2025-03-09 04:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639644', 'tblTempUsageDetail_20' ) end [2025-03-09 04:10:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:10:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:10:21] Production.INFO: ==8813== Releasing lock... [2025-03-09 04:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:10:21] Production.INFO: 29.5 MB #Memory Used# [2025-03-09 08:11:01] Production.INFO: ==8870== Lock acquired, processing the job... [2025-03-09 08:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:11:01] Production.INFO: neon service started [2025-03-09 08:11:01] Production.INFO: neon service started [2025-03-09 08:11:01] Production.INFO: ==8870== Releasing lock... [2025-03-09 08:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:11:01] Production.INFO: ==8872== Lock acquired, processing the job... [2025-03-09 04:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:11:02] Production.INFO: ==8872== Releasing lock... [2025-03-09 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:11:02] Production.INFO: ==8874== Lock acquired, processing the job... [2025-03-09 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:11:02] Production.INFO: ==8874== Releasing lock... [2025-03-09 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:11:02] Production.INFO: ==8876== Lock acquired, processing the job... [2025-03-09 04:11:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:11:02] Production.INFO: ==8878== Lock acquired, processing the job... [2025-03-09 04:11:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:11:03] Production.INFO: ==8880== Lock acquired, processing the job... [2025-03-09 04:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:11:03] Production.INFO: ==8878== Releasing lock... [2025-03-09 04:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:11:03] Production.INFO: ==8882== Lock acquired, processing the job... [2025-03-09 04:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:11:03] Production.INFO: ==8884== Lock acquired, processing the job... [2025-03-09 04:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:11:03] Production.INFO: Account Balance Start. [2025-03-09 04:11:03] Production.INFO: CreateAllLog Start [2025-03-09 04:11:03] Production.INFO: 117 [2025-03-09 04:11:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:11:03] Production.INFO: ==8886== Lock acquired, processing the job... [2025-03-09 04:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:11:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:11:03] Production.INFO: Total Charge 0 [2025-03-09 04:11:03] Production.INFO: CreateAllLog End [2025-03-09 04:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:11:04] Production.INFO: count ==13 [2025-03-09 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-09 04:11:04] Production.INFO: count ==21 [2025-03-09 04:11:04] Production.ERROR: done [2025-03-09 04:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639648') start [2025-03-09 04:11:04] Production.INFO: Account Balance End. [2025-03-09 04:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639648') end [2025-03-09 04:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:11:04] Production.INFO: 1 [2025-03-09 04:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:11:04] Production.INFO: ==8886== Releasing lock... [2025-03-09 04:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:11:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:11:04] Production.INFO: ==8882== Releasing lock... [2025-03-09 04:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:11:04] Production.ERROR: done [2025-03-09 04:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:11:05 [end_date_ymd] => 2025-03-09 05:11:05 [RateCDR] => 1 ) [2025-03-09 04:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:11:05' and `end` < '2025-03-09 05:11:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:11:11] Production.ERROR: CronJobId end10 [2025-03-09 04:11:11] Production.INFO: ==8880== Releasing lock... [2025-03-09 04:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:11:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:11:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:11:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:11:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:11:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:11:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:11:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:11:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:11:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:11:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:11:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:11:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:11:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:11:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:11:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:11:14] Production.INFO: call_cost start [2025-03-09 04:11:14] Production.INFO: call_cost end [2025-03-09 04:11:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:11:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:11:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:11:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:11:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:11:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:11:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:11:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:11:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:11:15] Production.INFO: ==8876== Releasing lock... [2025-03-09 04:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:11:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:11:17] Production.INFO: count ==207 [2025-03-09 04:11:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:11:05 - End Time 2025-03-09 05:11:05 [2025-03-09 04:11:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639649', 'tblTempUsageDetail_20' ) start [2025-03-09 04:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639649', 'tblTempUsageDetail_20' ) end [2025-03-09 04:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639649', 'tblTempVendorCDR_20' ) start [2025-03-09 04:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639649', 'tblTempVendorCDR_20' ) end [2025-03-09 04:11:17] Production.INFO: ProcessCDR(1,14639649,1,1,2) [2025-03-09 04:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:11:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639649', 'tblTempUsageDetail_20' ) start [2025-03-09 04:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639649', 'tblTempUsageDetail_20' ) end [2025-03-09 04:11:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:11:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:11:20] Production.INFO: ==8884== Releasing lock... [2025-03-09 04:11:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:11:20] Production.INFO: 29.5 MB #Memory Used# [2025-03-09 08:12:01] Production.INFO: ==8947== Lock acquired, processing the job... [2025-03-09 08:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:12:01] Production.INFO: neon service started [2025-03-09 08:12:01] Production.INFO: neon service started [2025-03-09 08:12:01] Production.INFO: ==8947== Releasing lock... [2025-03-09 08:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:12:02] Production.INFO: ==8951== Lock acquired, processing the job... [2025-03-09 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:12:02] Production.INFO: ==8951== Releasing lock... [2025-03-09 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:12:02] Production.INFO: ==8949== Lock acquired, processing the job... [2025-03-09 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:12:02] Production.INFO: ==8949== Releasing lock... [2025-03-09 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:12:03] Production.INFO: ==8960== Lock acquired, processing the job... [2025-03-09 04:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:12:03] Production.INFO: ==8964== Lock acquired, processing the job... [2025-03-09 04:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:12:03] Production.INFO: Account Balance Start. [2025-03-09 04:12:03] Production.INFO: CreateAllLog Start [2025-03-09 04:12:03] Production.INFO: 117 [2025-03-09 04:12:03] Production.INFO: ==8958== Lock acquired, processing the job... [2025-03-09 04:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:12:03] Production.INFO: ==8954== Lock acquired, processing the job... [2025-03-09 04:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:12:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:12:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:12:03] Production.INFO: ==8956== Lock acquired, processing the job... [2025-03-09 04:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:12:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:12:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:12:03] Production.INFO: ==8962== Lock acquired, processing the job... [2025-03-09 04:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:12:04] Production.INFO: count ==13 [2025-03-09 04:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:12:04] Production.INFO: Total Charge 0 [2025-03-09 04:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:12:04] Production.INFO: count ==21 [2025-03-09 04:12:04] Production.INFO: CreateAllLog End [2025-03-09 04:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639651') start [2025-03-09 04:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639651') end [2025-03-09 04:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:12:04] Production.INFO: 1 [2025-03-09 04:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:12:04] Production.INFO: Account Balance End. [2025-03-09 04:12:04] Production.INFO: ==8964== Releasing lock... [2025-03-09 04:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:12:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:12:04] Production.INFO: ==8960== Releasing lock... [2025-03-09 04:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:12:04] Production.INFO: ==8956== Releasing lock... [2025-03-09 04:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:12:04] Production.ERROR: done [2025-03-09 04:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:12:04] Production.ERROR: done [2025-03-09 04:12:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:12:06 [end_date_ymd] => 2025-03-09 05:12:06 [RateCDR] => 1 ) [2025-03-09 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-09 01:12:06' and `end` < '2025-03-09 05:12:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:12:12] Production.ERROR: CronJobId end10 [2025-03-09 04:12:12] Production.INFO: ==8958== Releasing lock... [2025-03-09 04:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:12:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:12:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:12:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:12:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:12:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:12:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:12:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:12:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:12:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:12:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:12:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:12:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:12:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:12:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:12:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:12:15] Production.INFO: call_cost start [2025-03-09 04:12:15] Production.INFO: call_cost end [2025-03-09 04:12:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:12:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:12:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:12:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:12:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:12:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:12:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:12:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:12:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:12:16] Production.INFO: ==8954== Releasing lock... [2025-03-09 04:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:12:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:12:18] Production.INFO: count ==210 [2025-03-09 04:12:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:12:06 - End Time 2025-03-09 05:12:06 [2025-03-09 04:12:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639654', 'tblTempUsageDetail_20' ) start [2025-03-09 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639654', 'tblTempUsageDetail_20' ) end [2025-03-09 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639654', 'tblTempVendorCDR_20' ) start [2025-03-09 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639654', 'tblTempVendorCDR_20' ) end [2025-03-09 04:12:18] Production.INFO: ProcessCDR(1,14639654,1,1,2) [2025-03-09 04:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639654', 'tblTempUsageDetail_20' ) start [2025-03-09 04:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639654', 'tblTempUsageDetail_20' ) end [2025-03-09 04:12:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:12:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:12:21] Production.INFO: ==8962== Releasing lock... [2025-03-09 04:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:12:21] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:13:02] Production.INFO: ==9103== Lock acquired, processing the job... [2025-03-09 08:13:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:13:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:13:02] Production.INFO: neon service started [2025-03-09 08:13:02] Production.INFO: neon service started [2025-03-09 08:13:02] Production.INFO: ==9103== Releasing lock... [2025-03-09 08:13:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:13:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:13:02] Production.INFO: ==9106== Lock acquired, processing the job... [2025-03-09 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:13:02] Production.INFO: ==9106== Releasing lock... [2025-03-09 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:13:03] Production.INFO: ==9108== Lock acquired, processing the job... [2025-03-09 08:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:13:03] Production.INFO: ==9108== Releasing lock... [2025-03-09 08:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:13:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:13:03] Production.INFO: ==9114== Lock acquired, processing the job... [2025-03-09 04:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:13:04] Production.INFO: ==9120== Lock acquired, processing the job... [2025-03-09 04:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:13:04] Production.INFO: ==9110== Lock acquired, processing the job... [2025-03-09 04:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:13:04] Production.INFO: ==9112== Lock acquired, processing the job... [2025-03-09 04:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:13:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:13:04] Production.INFO: count ==13 [2025-03-09 04:13:04] Production.INFO: ==9116== Lock acquired, processing the job... [2025-03-09 04:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 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-09 04:13:04] Production.INFO: count ==21 [2025-03-09 04:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639655') start [2025-03-09 04:13:04] Production.INFO: ==9118== Lock acquired, processing the job... [2025-03-09 04:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:13:04] Production.INFO: Account Balance Start. [2025-03-09 04:13:04] Production.INFO: CreateAllLog Start [2025-03-09 04:13:04] Production.INFO: 117 [2025-03-09 04:13:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639655') end [2025-03-09 04:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:13:04] Production.INFO: 1 [2025-03-09 04:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:13:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:13:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:13:04] Production.INFO: ==9120== Releasing lock... [2025-03-09 04:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:13:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:13:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:13:04] Production.INFO: ==9112== Releasing lock... [2025-03-09 04:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:13:04] Production.INFO: Total Charge 0 [2025-03-09 04:13:04] Production.INFO: CreateAllLog End [2025-03-09 04:13:04] Production.ERROR: done [2025-03-09 04:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:13:04] Production.INFO: Account Balance End. [2025-03-09 04:13:05] Production.ERROR: done [2025-03-09 04:13:05] Production.ERROR: CronJobId end 12 [2025-03-09 04:13:05] Production.INFO: ==9116== Releasing lock... [2025-03-09 04:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:13:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:13:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:13:06 [end_date_ymd] => 2025-03-09 05:13:06 [RateCDR] => 1 ) [2025-03-09 04: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-09 01:13:06' and `end` < '2025-03-09 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-09 04:13:12] Production.ERROR: CronJobId end10 [2025-03-09 04:13:12] Production.INFO: ==9114== Releasing lock... [2025-03-09 04:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:13:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:13:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:13:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:13:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:13:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:13:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:13:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:13:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:13:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:13:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:13:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:13:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:13:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:13:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:13:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:13:15] Production.INFO: call_cost start [2025-03-09 04:13:15] Production.INFO: call_cost end [2025-03-09 04:13:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:13:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:13:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:13:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:13:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:13:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:13:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:13:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:13:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:13:16] Production.INFO: ==9110== Releasing lock... [2025-03-09 04:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:13:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:13:18] Production.INFO: count ==210 [2025-03-09 04:13:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:13:06 - End Time 2025-03-09 05:13:06 [2025-03-09 04:13:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639659', 'tblTempUsageDetail_20' ) start [2025-03-09 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639659', 'tblTempUsageDetail_20' ) end [2025-03-09 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639659', 'tblTempVendorCDR_20' ) start [2025-03-09 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639659', 'tblTempVendorCDR_20' ) end [2025-03-09 04:13:18] Production.INFO: ProcessCDR(1,14639659,1,1,2) [2025-03-09 04:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639659', 'tblTempUsageDetail_20' ) start [2025-03-09 04:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639659', 'tblTempUsageDetail_20' ) end [2025-03-09 04:13:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:13:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:13:21] Production.INFO: ==9118== Releasing lock... [2025-03-09 04:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:13:21] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:14:01] Production.INFO: ==9173== Lock acquired, processing the job... [2025-03-09 08:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:14:01] Production.INFO: neon service started [2025-03-09 08:14:01] Production.INFO: neon service started [2025-03-09 08:14:01] Production.INFO: ==9173== Releasing lock... [2025-03-09 08:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:14:02] Production.INFO: ==9177== Lock acquired, processing the job... [2025-03-09 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:14:02] Production.INFO: ==9177== Releasing lock... [2025-03-09 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:14:02] Production.INFO: ==9175== Lock acquired, processing the job... [2025-03-09 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:14:02] Production.INFO: ==9175== Releasing lock... [2025-03-09 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:14:03] Production.INFO: ==9184== Lock acquired, processing the job... [2025-03-09 04:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:14:03] Production.INFO: ==9186== Lock acquired, processing the job... [2025-03-09 04:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:14:03] Production.INFO: ==9188== Lock acquired, processing the job... [2025-03-09 04:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:14:03] Production.INFO: Account Balance Start. [2025-03-09 04:14:03] Production.INFO: CreateAllLog Start [2025-03-09 04:14:03] Production.INFO: 117 [2025-03-09 04:14:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:14:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:14:03] Production.INFO: Total Charge 0 [2025-03-09 04:14:03] Production.INFO: CreateAllLog End [2025-03-09 04:14:03] Production.INFO: ==9190== Lock acquired, processing the job... [2025-03-09 04:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:14:03] Production.INFO: ==9182== Lock acquired, processing the job... [2025-03-09 04:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:14:03] Production.INFO: ==9180== Lock acquired, processing the job... [2025-03-09 04:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:14:03] Production.INFO: Account Balance End. [2025-03-09 04:14:04] Production.INFO: count ==13 [2025-03-09 04:14:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:14:04] Production.INFO: ==9186== Releasing lock... [2025-03-09 04:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:14:04] Production.ERROR: done [2025-03-09 04:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:14:04] Production.INFO: count ==21 [2025-03-09 04:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639661') start [2025-03-09 04:14:04] Production.ERROR: done [2025-03-09 04:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639661') end [2025-03-09 04:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:14:04] Production.INFO: 1 [2025-03-09 04:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:14:04] Production.INFO: ==9190== Releasing lock... [2025-03-09 04:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:14:04] Production.INFO: ==9182== Releasing lock... [2025-03-09 04:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:14:05 [end_date_ymd] => 2025-03-09 05:14:05 [RateCDR] => 1 ) [2025-03-09 04:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:14:05' and `end` < '2025-03-09 05:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:14:11] Production.ERROR: CronJobId end10 [2025-03-09 04:14:11] Production.INFO: ==9184== Releasing lock... [2025-03-09 04:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:14:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:14:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:14:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:14:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:14:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:14:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:14:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:14:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:14:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:14:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:14:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:14:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:14:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:14:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:14:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:14:14] Production.INFO: call_cost start [2025-03-09 04:14:14] Production.INFO: call_cost end [2025-03-09 04:14:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:14:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:14:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:14:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:14:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:14:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:14:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:14:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:14:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:14:15] Production.INFO: ==9180== Releasing lock... [2025-03-09 04:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:14:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:14:17] Production.INFO: count ==210 [2025-03-09 04:14:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:14:05 - End Time 2025-03-09 05:14:05 [2025-03-09 04:14:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639664', 'tblTempUsageDetail_20' ) start [2025-03-09 04:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639664', 'tblTempUsageDetail_20' ) end [2025-03-09 04:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639664', 'tblTempVendorCDR_20' ) start [2025-03-09 04:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639664', 'tblTempVendorCDR_20' ) end [2025-03-09 04:14:17] Production.INFO: ProcessCDR(1,14639664,1,1,2) [2025-03-09 04:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639664', 'tblTempUsageDetail_20' ) start [2025-03-09 04:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639664', 'tblTempUsageDetail_20' ) end [2025-03-09 04:14:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:14:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:14:22] Production.INFO: ==9188== Releasing lock... [2025-03-09 04:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:14:22] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:15:02] Production.INFO: ==9247== Lock acquired, processing the job... [2025-03-09 08:15:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:15:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:15:02] Production.INFO: neon service started [2025-03-09 08:15:02] Production.INFO: neon service started [2025-03-09 08:15:02] Production.INFO: ==9247== Releasing lock... [2025-03-09 08:15:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:15:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:15:02] Production.INFO: ==9251== Lock acquired, processing the job... [2025-03-09 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:15:02] Production.INFO: ==9251== Releasing lock... [2025-03-09 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:15:02] Production.INFO: ==9249== Lock acquired, processing the job... [2025-03-09 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:15:03] Production.INFO: ==9249== Releasing lock... [2025-03-09 04:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:15:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:15:03] Production.INFO: ==9256== Lock acquired, processing the job... [2025-03-09 04:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:15:03] Production.INFO: ==9262== Lock acquired, processing the job... [2025-03-09 04:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:15:03] Production.INFO: ==9260== Lock acquired, processing the job... [2025-03-09 04:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:15:03] Production.INFO: Account Balance Start. [2025-03-09 04:15:03] Production.INFO: CreateAllLog Start [2025-03-09 04:15:04] Production.INFO: 117 [2025-03-09 04:15:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:15:04] Production.INFO: ==9254== Lock acquired, processing the job... [2025-03-09 04:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:15:04] Production.INFO: ==9258== Lock acquired, processing the job... [2025-03-09 04:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:15:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:15:04] Production.INFO: ==9264== Lock acquired, processing the job... [2025-03-09 04:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:15:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:15:04] Production.INFO: Total Charge 0 [2025-03-09 04:15:04] Production.INFO: CreateAllLog End [2025-03-09 04:15:04] Production.ERROR: done [2025-03-09 04:15:04] Production.INFO: ==9256== Releasing lock... [2025-03-09 04:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 04:15:04] Production.INFO: count ==13 [2025-03-09 04:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:15:04] Production.INFO: count ==21 [2025-03-09 04:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639668') start [2025-03-09 04:15:04] Production.INFO: Account Balance End. [2025-03-09 04:15:04] Production.ERROR: done [2025-03-09 04:15:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:15:04] Production.INFO: ==9260== Releasing lock... [2025-03-09 04:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639668') end [2025-03-09 04:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:15:04] Production.INFO: 1 [2025-03-09 04:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:15:04] Production.INFO: ==9264== Releasing lock... [2025-03-09 04:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:15:05 [end_date_ymd] => 2025-03-09 05:15:05 [RateCDR] => 1 ) [2025-03-09 04:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:15:05' and `end` < '2025-03-09 05:15:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:15:12] Production.ERROR: CronJobId end10 [2025-03-09 04:15:12] Production.INFO: ==9258== Releasing lock... [2025-03-09 04:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:15:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:15:14] Production.INFO: call_cost start [2025-03-09 04:15:14] Production.INFO: call_cost end [2025-03-09 04:15:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:15:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:15:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:15:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:15:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:15:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:15:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:15:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:15:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:15:15] Production.INFO: ==9254== Releasing lock... [2025-03-09 04:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:15:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:15:17] Production.INFO: count ==210 [2025-03-09 04:15:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:15:05 - End Time 2025-03-09 05:15:05 [2025-03-09 04:15:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639669', 'tblTempUsageDetail_20' ) start [2025-03-09 04:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639669', 'tblTempUsageDetail_20' ) end [2025-03-09 04:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639669', 'tblTempVendorCDR_20' ) start [2025-03-09 04:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639669', 'tblTempVendorCDR_20' ) end [2025-03-09 04:15:17] Production.INFO: ProcessCDR(1,14639669,1,1,2) [2025-03-09 04:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639669', 'tblTempUsageDetail_20' ) start [2025-03-09 04:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639669', 'tblTempUsageDetail_20' ) end [2025-03-09 04:15:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:15:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:15:22] Production.INFO: ==9262== Releasing lock... [2025-03-09 04:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:15:22] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 08:16:01] Production.INFO: ==9322== Lock acquired, processing the job... [2025-03-09 08:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:16:01] Production.INFO: neon service started [2025-03-09 08:16:01] Production.INFO: neon service started [2025-03-09 08:16:01] Production.INFO: ==9322== Releasing lock... [2025-03-09 08:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:16:02] Production.INFO: ==9324== Lock acquired, processing the job... [2025-03-09 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:16:02] Production.INFO: ==9324== Releasing lock... [2025-03-09 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:16:02] Production.INFO: ==9326== Lock acquired, processing the job... [2025-03-09 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:16:02] Production.INFO: ==9326== Releasing lock... [2025-03-09 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:16:03] Production.INFO: ==9338== Lock acquired, processing the job... [2025-03-09 04:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:16:03] Production.INFO: ==9336== Lock acquired, processing the job... [2025-03-09 04:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:16:03] Production.INFO: count ==13 [2025-03-09 04:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:16:03] Production.INFO: count ==21 [2025-03-09 04:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639670') start [2025-03-09 04:16:03] Production.INFO: ==9328== Lock acquired, processing the job... [2025-03-09 04:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:16:03] Production.INFO: ==9330== Lock acquired, processing the job... [2025-03-09 04:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639670') end [2025-03-09 04:16:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:16:03] Production.INFO: 1 [2025-03-09 04:16:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:16:03] Production.INFO: ==9332== Lock acquired, processing the job... [2025-03-09 04:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:16:03] Production.INFO: ==9334== Lock acquired, processing the job... [2025-03-09 04:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:16:03] Production.INFO: ==9338== Releasing lock... [2025-03-09 04:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:16:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:16:04] Production.ERROR: done [2025-03-09 04:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:16:04] Production.INFO: Account Balance Start. [2025-03-09 04:16:04] Production.INFO: CreateAllLog Start [2025-03-09 04:16:04] Production.INFO: 117 [2025-03-09 04:16:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:16:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:16:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:16:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:16:04] Production.ERROR: done [2025-03-09 04:16:04] Production.INFO: Total Charge 0 [2025-03-09 04:16:04] Production.INFO: CreateAllLog End [2025-03-09 04:16:04] Production.INFO: ==9330== Releasing lock... [2025-03-09 04:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:16:04] Production.INFO: Account Balance End. [2025-03-09 04:16:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:16:04] Production.INFO: ==9334== Releasing lock... [2025-03-09 04:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:16:05 [end_date_ymd] => 2025-03-09 05:16:05 [RateCDR] => 1 ) [2025-03-09 04:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:16:05' and `end` < '2025-03-09 05:16:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:16:11] Production.ERROR: CronJobId end10 [2025-03-09 04:16:11] Production.INFO: ==9332== Releasing lock... [2025-03-09 04:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:16:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:16:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:16:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:16:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:16:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:16:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:16:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:16:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:16:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:16:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:16:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:16:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:16:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:16:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:16:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:16:14] Production.INFO: call_cost start [2025-03-09 04:16:14] Production.INFO: call_cost end [2025-03-09 04:16:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:16:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:16:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:16:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:16:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:16:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:16:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:16:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:16:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:16:14] Production.INFO: ==9328== Releasing lock... [2025-03-09 04:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:16:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:16:17] Production.INFO: count ==206 [2025-03-09 04:16:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:16:05 - End Time 2025-03-09 05:16:05 [2025-03-09 04:16:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639674', 'tblTempUsageDetail_20' ) start [2025-03-09 04:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639674', 'tblTempUsageDetail_20' ) end [2025-03-09 04:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639674', 'tblTempVendorCDR_20' ) start [2025-03-09 04:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639674', 'tblTempVendorCDR_20' ) end [2025-03-09 04:16:17] Production.INFO: ProcessCDR(1,14639674,1,1,2) [2025-03-09 04:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:16:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639674', 'tblTempUsageDetail_20' ) start [2025-03-09 04:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639674', 'tblTempUsageDetail_20' ) end [2025-03-09 04:16:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:16:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:16:20] Production.INFO: ==9336== Releasing lock... [2025-03-09 04:16:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:16:20] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 08:17:02] Production.INFO: ==9470== Lock acquired, processing the job... [2025-03-09 08:17:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:17:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:17:02] Production.INFO: neon service started [2025-03-09 08:17:02] Production.INFO: neon service started [2025-03-09 08:17:02] Production.INFO: ==9470== Releasing lock... [2025-03-09 08:17:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:17:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:17:02] Production.INFO: ==9472== Lock acquired, processing the job... [2025-03-09 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:17:02] Production.INFO: ==9474== Lock acquired, processing the job... [2025-03-09 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:17:02] Production.INFO: ==9474== Releasing lock... [2025-03-09 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:17:03] Production.INFO: ==9472== Releasing lock... [2025-03-09 04:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:17:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:17:04] Production.INFO: ==9479== Lock acquired, processing the job... [2025-03-09 04:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:17:04] Production.INFO: ==9487== Lock acquired, processing the job... [2025-03-09 04:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:17:04] Production.INFO: ==9477== Lock acquired, processing the job... [2025-03-09 04:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:17:04] Production.INFO: ==9481== Lock acquired, processing the job... [2025-03-09 04:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:17:04] Production.INFO: count ==13 [2025-03-09 04:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:17:04] Production.INFO: count ==21 [2025-03-09 04:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639676') start [2025-03-09 04:17:04] Production.INFO: ==9483== Lock acquired, processing the job... [2025-03-09 04:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:17:04] Production.INFO: ==9479== Releasing lock... [2025-03-09 04:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:17:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:17:04] Production.INFO: ==9485== Lock acquired, processing the job... [2025-03-09 04:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639676') end [2025-03-09 04:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:17:04] Production.INFO: 1 [2025-03-09 04:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:17:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:17:04] Production.INFO: Account Balance Start. [2025-03-09 04:17:04] Production.INFO: CreateAllLog Start [2025-03-09 04:17:04] Production.INFO: 117 [2025-03-09 04:17:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:17:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:17:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:17:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:17:04] Production.INFO: Total Charge 0 [2025-03-09 04:17:04] Production.INFO: CreateAllLog End [2025-03-09 04:17:04] Production.INFO: ==9487== Releasing lock... [2025-03-09 04:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:17:05] Production.INFO: Account Balance End. [2025-03-09 04:17:05] Production.ERROR: done [2025-03-09 04:17:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:17:05] Production.ERROR: CronJobId end 12 [2025-03-09 04:17:05] Production.INFO: ==9483== Releasing lock... [2025-03-09 04:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:17:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:17:05] Production.ERROR: done [2025-03-09 04:17:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:17:06 [end_date_ymd] => 2025-03-09 05:17:06 [RateCDR] => 1 ) [2025-03-09 04:17:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:17:06' and `end` < '2025-03-09 05:17:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:17:11] Production.ERROR: CronJobId end10 [2025-03-09 04:17:11] Production.INFO: ==9481== Releasing lock... [2025-03-09 04:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:17:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:17:14] Production.INFO: call_cost start [2025-03-09 04:17:14] Production.INFO: call_cost end [2025-03-09 04:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:17:15] Production.INFO: ==9477== Releasing lock... [2025-03-09 04:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:17:18] Production.INFO: count ==207 [2025-03-09 04:17:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:17:06 - End Time 2025-03-09 05:17:06 [2025-03-09 04:17:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639679', 'tblTempUsageDetail_20' ) start [2025-03-09 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639679', 'tblTempUsageDetail_20' ) end [2025-03-09 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639679', 'tblTempVendorCDR_20' ) start [2025-03-09 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639679', 'tblTempVendorCDR_20' ) end [2025-03-09 04:17:18] Production.INFO: ProcessCDR(1,14639679,1,1,2) [2025-03-09 04:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639679', 'tblTempUsageDetail_20' ) start [2025-03-09 04:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639679', 'tblTempUsageDetail_20' ) end [2025-03-09 04:17:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:17:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:17:21] Production.INFO: ==9485== Releasing lock... [2025-03-09 04:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:17:21] Production.INFO: 29.5 MB #Memory Used# [2025-03-09 08:18:01] Production.INFO: ==9587== Lock acquired, processing the job... [2025-03-09 08:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:18:01] Production.INFO: neon service started [2025-03-09 08:18:01] Production.INFO: neon service started [2025-03-09 08:18:01] Production.INFO: ==9587== Releasing lock... [2025-03-09 08:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:18:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:18:02] Production.INFO: ==9589== Lock acquired, processing the job... [2025-03-09 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:18:02] Production.INFO: ==9591== Lock acquired, processing the job... [2025-03-09 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:18:02] Production.INFO: ==9591== Releasing lock... [2025-03-09 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:18:02] Production.INFO: ==9589== Releasing lock... [2025-03-09 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:18:03] Production.INFO: ==9596== Lock acquired, processing the job... [2025-03-09 04:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:18:03] Production.INFO: ==9604== Lock acquired, processing the job... [2025-03-09 04:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:18:03] Production.INFO: ==9602== Lock acquired, processing the job... [2025-03-09 04:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:18:03] Production.INFO: ==9594== Lock acquired, processing the job... [2025-03-09 04:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:18:03] Production.INFO: count ==13 [2025-03-09 04:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:18:03] Production.INFO: count ==21 [2025-03-09 04:18:03] Production.INFO: ==9598== Lock acquired, processing the job... [2025-03-09 04:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:18:03] Production.INFO: ==9600== Lock acquired, processing the job... [2025-03-09 04:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639681') start [2025-03-09 04:18:03] Production.INFO: ==9596== Releasing lock... [2025-03-09 04:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:18:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:18:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639681') end [2025-03-09 04:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:18:04] Production.INFO: 1 [2025-03-09 04:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:18:04] Production.INFO: Account Balance Start. [2025-03-09 04:18:04] Production.INFO: CreateAllLog Start [2025-03-09 04:18:04] Production.INFO: 117 [2025-03-09 04:18:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:18:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:18:04] Production.INFO: Total Charge 0 [2025-03-09 04:18:04] Production.INFO: ==9604== Releasing lock... [2025-03-09 04:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:18:04] Production.ERROR: done [2025-03-09 04:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:18:04] Production.INFO: CreateAllLog End [2025-03-09 04:18:04] Production.ERROR: done [2025-03-09 04:18:04] Production.INFO: Account Balance End. [2025-03-09 04:18:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:18:04] Production.INFO: ==9600== Releasing lock... [2025-03-09 04:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:18:05 [end_date_ymd] => 2025-03-09 05:18:05 [RateCDR] => 1 ) [2025-03-09 04:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:18:05' and `end` < '2025-03-09 05:18:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:18:11] Production.ERROR: CronJobId end10 [2025-03-09 04:18:11] Production.INFO: ==9598== Releasing lock... [2025-03-09 04:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:18:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:18:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:18:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:18:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:18:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:18:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:18:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:18:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:18:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:18:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:18:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:18:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:18:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:18:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:18:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:18:14] Production.INFO: call_cost start [2025-03-09 04:18:14] Production.INFO: call_cost end [2025-03-09 04:18:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:18:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:18:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:18:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:18:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:18:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:18:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:18:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:18:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:18:15] Production.INFO: ==9594== Releasing lock... [2025-03-09 04:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:18:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:18:17] Production.INFO: count ==211 [2025-03-09 04:18:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:18:05 - End Time 2025-03-09 05:18:05 [2025-03-09 04:18:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639684', 'tblTempUsageDetail_20' ) start [2025-03-09 04:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639684', 'tblTempUsageDetail_20' ) end [2025-03-09 04:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639684', 'tblTempVendorCDR_20' ) start [2025-03-09 04:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639684', 'tblTempVendorCDR_20' ) end [2025-03-09 04:18:17] Production.INFO: ProcessCDR(1,14639684,1,1,2) [2025-03-09 04:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639684', 'tblTempUsageDetail_20' ) start [2025-03-09 04:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639684', 'tblTempUsageDetail_20' ) end [2025-03-09 04:18:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:18:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:18:20] Production.INFO: ==9602== Releasing lock... [2025-03-09 04:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:18:20] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:19:02] Production.INFO: ==9659== Lock acquired, processing the job... [2025-03-09 08:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:19:02] Production.INFO: neon service started [2025-03-09 08:19:02] Production.INFO: neon service started [2025-03-09 08:19:02] Production.INFO: ==9659== Releasing lock... [2025-03-09 08:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:19:02] Production.INFO: ==9661== Lock acquired, processing the job... [2025-03-09 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:19:02] Production.INFO: ==9663== Lock acquired, processing the job... [2025-03-09 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:19:02] Production.INFO: ==9663== Releasing lock... [2025-03-09 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:19:03] Production.INFO: ==9661== Releasing lock... [2025-03-09 04:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:19:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:19:03] Production.INFO: ==9666== Lock acquired, processing the job... [2025-03-09 04:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:19:04] Production.INFO: ==9668== Lock acquired, processing the job... [2025-03-09 04:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:19:04] Production.INFO: ==9670== Lock acquired, processing the job... [2025-03-09 04:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:19:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:19:04] Production.INFO: ==9672== Lock acquired, processing the job... [2025-03-09 04:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:19:04] Production.INFO: ==9676== Lock acquired, processing the job... [2025-03-09 04:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:19:04] Production.INFO: ==9674== Lock acquired, processing the job... [2025-03-09 04:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:19:04] Production.INFO: Account Balance Start. [2025-03-09 04:19:04] Production.INFO: CreateAllLog Start [2025-03-09 04:19:04] Production.INFO: 117 [2025-03-09 04:19:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:19:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 04:19:04] Production.INFO: count ==13 [2025-03-09 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-09 04:19:04] Production.INFO: count ==21 [2025-03-09 04:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639688') start [2025-03-09 04:19:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:19:04] Production.INFO: ==9668== Releasing lock... [2025-03-09 04:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639688') end [2025-03-09 04:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:19:04] Production.INFO: 1 [2025-03-09 04:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:19:04] Production.INFO: Total Charge 0 [2025-03-09 04:19:04] Production.INFO: CreateAllLog End [2025-03-09 04:19:04] Production.INFO: ==9676== Releasing lock... [2025-03-09 04:19:04] Production.ERROR: done [2025-03-09 04:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:19:04] Production.ERROR: done [2025-03-09 04:19:04] Production.INFO: Account Balance End. [2025-03-09 04:19:05] Production.ERROR: CronJobId end 12 [2025-03-09 04:19:05] Production.INFO: ==9672== Releasing lock... [2025-03-09 04:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:19:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:19:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:19:06 [end_date_ymd] => 2025-03-09 05:19:06 [RateCDR] => 1 ) [2025-03-09 04: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-09 01:19:06' and `end` < '2025-03-09 05:19:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:19:11] Production.ERROR: CronJobId end10 [2025-03-09 04:19:11] Production.INFO: ==9670== Releasing lock... [2025-03-09 04:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:19:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:19:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:19:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:19:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:19:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:19:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:19:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:19:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:19:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:19:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:19:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:19:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:19:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:19:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:19:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:19:14] Production.INFO: call_cost start [2025-03-09 04:19:14] Production.INFO: call_cost end [2025-03-09 04:19:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:19:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:19:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:19:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:19:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:19:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:19:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:19:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:19:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:19:15] Production.INFO: ==9666== Releasing lock... [2025-03-09 04:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:19:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:19:18] Production.INFO: count ==216 [2025-03-09 04:19:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:19:06 - End Time 2025-03-09 05:19:06 [2025-03-09 04:19:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639689', 'tblTempUsageDetail_20' ) start [2025-03-09 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639689', 'tblTempUsageDetail_20' ) end [2025-03-09 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639689', 'tblTempVendorCDR_20' ) start [2025-03-09 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639689', 'tblTempVendorCDR_20' ) end [2025-03-09 04:19:18] Production.INFO: ProcessCDR(1,14639689,1,1,2) [2025-03-09 04:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639689', 'tblTempUsageDetail_20' ) start [2025-03-09 04:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639689', 'tblTempUsageDetail_20' ) end [2025-03-09 04:19:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:19:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:19:21] Production.INFO: ==9674== Releasing lock... [2025-03-09 04:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:19:21] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:20:01] Production.INFO: ==9732== Lock acquired, processing the job... [2025-03-09 08:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:20:01] Production.INFO: neon service started [2025-03-09 08:20:01] Production.INFO: neon service started [2025-03-09 08:20:01] Production.INFO: ==9732== Releasing lock... [2025-03-09 08:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:20:01] Production.INFO: ==9736== Lock acquired, processing the job... [2025-03-09 08:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:20:02] Production.INFO: ==9736== Releasing lock... [2025-03-09 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:20:02] Production.INFO: ==9734== Lock acquired, processing the job... [2025-03-09 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:20:02] Production.INFO: ==9734== Releasing lock... [2025-03-09 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:20:03] Production.INFO: ==9741== Lock acquired, processing the job... [2025-03-09 04:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:20:03] Production.INFO: ==9745== Lock acquired, processing the job... [2025-03-09 04:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:20:03] Production.INFO: ==9749== Lock acquired, processing the job... [2025-03-09 04:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:20:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:20:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:20:03] Production.INFO: ==9753== Lock acquired, processing the job... [2025-03-09 04:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:20:03] Production.INFO: ==9739== Lock acquired, processing the job... [2025-03-09 04:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 04:20:03] Production.INFO: ==9743== Lock acquired, processing the job... [2025-03-09 04:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:20:03] Production.INFO: ==9747== Lock acquired, processing the job... [2025-03-09 04:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:20:04] Production.INFO: ==9751== Lock acquired, processing the job... [2025-03-09 04:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 04:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 04:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 04:20:04] Production.ERROR: CronJob PID - 9741 [2025-03-09 04:20:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 04:20:04] Production.ERROR: CronJob ID - 5 [2025-03-09 04:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 04:20:00 [2025-03-09 04:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 04:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 04:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 04:20:04] Production.ERROR: CronJob PID - 9743 [2025-03-09 04:20:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 04:20:04] Production.ERROR: CronJob ID - 7 [2025-03-09 04:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 04:20:00 [2025-03-09 04:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 04:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 04:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 04:20:04] Production.ERROR: CronJob PID - 9745 [2025-03-09 04:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 04:20:04] Production.ERROR: CronJob ID - 10 [2025-03-09 04:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 04:20:00 [2025-03-09 04:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 04:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 04:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 04:20:04] Production.ERROR: CronJob PID - 9749 [2025-03-09 04:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 04:20:04] Production.ERROR: CronJob ID - 16 [2025-03-09 04:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 04:20:00 [2025-03-09 04:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 04:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 04:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 04:20:04] Production.ERROR: CronJob PID - 9753 [2025-03-09 04:20:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 04:20:04] Production.ERROR: CronJob ID - 19 [2025-03-09 04:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 04:20:00 [2025-03-09 04:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 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-09 04:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 04:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 04:20:04] Production.INFO: ==9739== Releasing lock... [2025-03-09 04:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 04:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 04:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:20:04] Production.INFO: count ==13 [2025-03-09 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-09 04:20:04] Production.INFO: count ==21 [2025-03-09 04:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639691') start [2025-03-09 04:20:04] Production.INFO: Account Balance Start. [2025-03-09 04:20:04] Production.INFO: CreateAllLog Start [2025-03-09 04:20:04] Production.INFO: 117 [2025-03-09 04:20:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:20:04] Production.ERROR: done [2025-03-09 04:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639691') end [2025-03-09 04:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:20:04] Production.INFO: 1 [2025-03-09 04:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:20:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:20:04] Production.ERROR: done [2025-03-09 04:20:04] Production.INFO: Total Charge 0 [2025-03-09 04:20:04] Production.INFO: CreateAllLog End [2025-03-09 04:20:04] Production.INFO: ==9753== Releasing lock... [2025-03-09 04:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 04:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639694', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 04:20:04] Production.INFO: ==9743== Releasing lock... [2025-03-09 04:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:20:04] Production.ERROR: done [2025-03-09 04:20:04] Production.INFO: Account Balance End. [2025-03-09 04:20:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:20:04] Production.INFO: ==9747== Releasing lock... [2025-03-09 04:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:20:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:20:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:20:05 [end_date_ymd] => 2025-03-09 05:20:05 [RateCDR] => 1 ) [2025-03-09 04: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-09 01:20:05' and `end` < '2025-03-09 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-09 04:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639694', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 04:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 04:20:09] Production.INFO: ProcessCDR(1,14639694,1,1,2) [2025-03-09 04:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14639694,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14639694,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:20:09] Production.INFO: ==9751== Releasing lock... [2025-03-09 04:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 04:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 04:20:13] Production.ERROR: CronJobId end10 [2025-03-09 04:20:13] Production.INFO: ==9745== Releasing lock... [2025-03-09 04:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:20:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:20:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:20:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:20:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:20:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:20:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:20:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:20:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:20:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:20:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:20:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:20:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:20:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:20:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:20:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:20:16] Production.INFO: call_cost start [2025-03-09 04:20:16] Production.INFO: call_cost end [2025-03-09 04:20:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:20:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:20:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:20:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:20:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:20:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:20:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:20:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:20:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:20:17] Production.INFO: ==9741== Releasing lock... [2025-03-09 04:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:20:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:20:18] Production.INFO: count ==232 [2025-03-09 04:20:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:20:05 - End Time 2025-03-09 05:20:05 [2025-03-09 04:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639695', 'tblTempUsageDetail_20' ) start [2025-03-09 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639695', 'tblTempUsageDetail_20' ) end [2025-03-09 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639695', 'tblTempVendorCDR_20' ) start [2025-03-09 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639695', 'tblTempVendorCDR_20' ) end [2025-03-09 04:20:18] Production.INFO: ProcessCDR(1,14639695,1,1,2) [2025-03-09 04:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639695', 'tblTempUsageDetail_20' ) start [2025-03-09 04:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639695', 'tblTempUsageDetail_20' ) end [2025-03-09 04:20:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:20:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:20:21] Production.INFO: ==9749== Releasing lock... [2025-03-09 04:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:20:21] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 08:21:01] Production.INFO: ==9808== Lock acquired, processing the job... [2025-03-09 08:21:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:21:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:21:02] Production.INFO: neon service started [2025-03-09 08:21:02] Production.INFO: neon service started [2025-03-09 08:21:02] Production.INFO: ==9808== Releasing lock... [2025-03-09 08:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:21:02] Production.INFO: ==9810== Lock acquired, processing the job... [2025-03-09 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:21:02] Production.INFO: ==9813== Lock acquired, processing the job... [2025-03-09 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:21:02] Production.INFO: ==9813== Releasing lock... [2025-03-09 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:21:03] Production.INFO: ==9810== Releasing lock... [2025-03-09 04:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:21:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:21:03] Production.INFO: ==9815== Lock acquired, processing the job... [2025-03-09 04:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:21:03] Production.INFO: ==9819== Lock acquired, processing the job... [2025-03-09 04:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:21:04] Production.INFO: ==9817== Lock acquired, processing the job... [2025-03-09 04:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:21:04] Production.INFO: ==9821== Lock acquired, processing the job... [2025-03-09 04:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:21:04] Production.INFO: ==9823== Lock acquired, processing the job... [2025-03-09 04:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:21:04] Production.INFO: Account Balance Start. [2025-03-09 04:21:04] Production.INFO: CreateAllLog Start [2025-03-09 04:21:04] Production.INFO: 117 [2025-03-09 04:21:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:21:04] Production.INFO: ==9825== Lock acquired, processing the job... [2025-03-09 04:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:21:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:21:04] Production.INFO: Total Charge 0 [2025-03-09 04:21:04] Production.INFO: CreateAllLog End [2025-03-09 04:21:04] Production.INFO: ==9817== Releasing lock... [2025-03-09 04:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:21:04] Production.INFO: count ==13 [2025-03-09 04:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:21:04] Production.INFO: count ==21 [2025-03-09 04:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639699') start [2025-03-09 04:21:04] Production.ERROR: done [2025-03-09 04:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:21:04] Production.INFO: Account Balance End. [2025-03-09 04:21:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639699') end [2025-03-09 04:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:21:04] Production.INFO: ==9821== Releasing lock... [2025-03-09 04:21:04] Production.INFO: 1 [2025-03-09 04:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:21:05] Production.INFO: ==9825== Releasing lock... [2025-03-09 04:21:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:21:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:21:05] Production.ERROR: done [2025-03-09 04:21:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:21:06 [end_date_ymd] => 2025-03-09 05:21:06 [RateCDR] => 1 ) [2025-03-09 04: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-09 01:21:06' and `end` < '2025-03-09 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-09 04:21:12] Production.ERROR: CronJobId end10 [2025-03-09 04:21:12] Production.INFO: ==9819== Releasing lock... [2025-03-09 04:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:21:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:21:15] Production.INFO: call_cost start [2025-03-09 04:21:15] Production.INFO: call_cost end [2025-03-09 04:21:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:21:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:21:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:21:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:21:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:21:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:21:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:21:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:21:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:21:16] Production.INFO: ==9815== Releasing lock... [2025-03-09 04:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:21:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:21:18] Production.INFO: count ==217 [2025-03-09 04:21:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:21:06 - End Time 2025-03-09 05:21:06 [2025-03-09 04:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639700', 'tblTempUsageDetail_20' ) start [2025-03-09 04:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639700', 'tblTempUsageDetail_20' ) end [2025-03-09 04:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639700', 'tblTempVendorCDR_20' ) start [2025-03-09 04:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639700', 'tblTempVendorCDR_20' ) end [2025-03-09 04:21:18] Production.INFO: ProcessCDR(1,14639700,1,1,2) [2025-03-09 04:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639700', 'tblTempUsageDetail_20' ) start [2025-03-09 04:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639700', 'tblTempUsageDetail_20' ) end [2025-03-09 04:21:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:21:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:21:23] Production.INFO: ==9823== Releasing lock... [2025-03-09 04:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:21:23] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:22:01] Production.INFO: ==9880== Lock acquired, processing the job... [2025-03-09 08:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:22:01] Production.INFO: neon service started [2025-03-09 08:22:01] Production.INFO: neon service started [2025-03-09 08:22:01] Production.INFO: ==9880== Releasing lock... [2025-03-09 08:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:22:01] Production.INFO: ==9882== Lock acquired, processing the job... [2025-03-09 04:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:22:02] Production.INFO: ==9882== Releasing lock... [2025-03-09 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:22:02] Production.INFO: ==9884== Lock acquired, processing the job... [2025-03-09 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:22:02] Production.INFO: ==9884== Releasing lock... [2025-03-09 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:22:03] Production.INFO: ==9887== Lock acquired, processing the job... [2025-03-09 04:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:22:03] Production.INFO: ==9889== Lock acquired, processing the job... [2025-03-09 04:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:22:03] Production.INFO: ==9891== Lock acquired, processing the job... [2025-03-09 04:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:22:03] Production.INFO: ==9889== Releasing lock... [2025-03-09 04:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:22:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:22:03] Production.INFO: ==9895== Lock acquired, processing the job... [2025-03-09 04:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:22:03] Production.INFO: ==9893== Lock acquired, processing the job... [2025-03-09 04:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:22:03] Production.INFO: ==9897== Lock acquired, processing the job... [2025-03-09 04:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:22:03] Production.INFO: Account Balance Start. [2025-03-09 04:22:03] Production.INFO: CreateAllLog Start [2025-03-09 04:22:03] Production.INFO: 117 [2025-03-09 04:22:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:22:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:22:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:22:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:22:03] Production.INFO: Total Charge 0 [2025-03-09 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-09 04:22:03] Production.INFO: CreateAllLog End [2025-03-09 04:22:03] Production.INFO: count ==13 [2025-03-09 04: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-09 04:22:03] Production.INFO: count ==21 [2025-03-09 04:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639704') start [2025-03-09 04:22:04] Production.ERROR: done [2025-03-09 04:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639704') end [2025-03-09 04:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:22:04] Production.INFO: 1 [2025-03-09 04:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:22:04] Production.INFO: ==9897== Releasing lock... [2025-03-09 04:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:22:04] Production.INFO: Account Balance End. [2025-03-09 04:22:04] Production.ERROR: done [2025-03-09 04:22:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:22:04] Production.INFO: ==9893== Releasing lock... [2025-03-09 04:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:22:05 [end_date_ymd] => 2025-03-09 05:22:05 [RateCDR] => 1 ) [2025-03-09 04:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:22:05' and `end` < '2025-03-09 05:22:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:22:11] Production.ERROR: CronJobId end10 [2025-03-09 04:22:11] Production.INFO: ==9891== Releasing lock... [2025-03-09 04:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:22:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:22:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:22:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:22:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:22:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:22:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:22:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:22:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:22:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:22:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:22:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:22:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:22:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:22:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:22:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:22:14] Production.INFO: call_cost start [2025-03-09 04:22:14] Production.INFO: call_cost end [2025-03-09 04:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:22:15] Production.INFO: ==9887== Releasing lock... [2025-03-09 04:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:22:17] Production.INFO: count ==214 [2025-03-09 04:22:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:22:05 - End Time 2025-03-09 05:22:05 [2025-03-09 04:22:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639705', 'tblTempUsageDetail_20' ) start [2025-03-09 04:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639705', 'tblTempUsageDetail_20' ) end [2025-03-09 04:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639705', 'tblTempVendorCDR_20' ) start [2025-03-09 04:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639705', 'tblTempVendorCDR_20' ) end [2025-03-09 04:22:17] Production.INFO: ProcessCDR(1,14639705,1,1,2) [2025-03-09 04:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:22:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639705', 'tblTempUsageDetail_20' ) start [2025-03-09 04:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639705', 'tblTempUsageDetail_20' ) end [2025-03-09 04:22:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:22:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:22:20] Production.INFO: ==9895== Releasing lock... [2025-03-09 04:22:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:22:20] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:23:02] Production.INFO: ==9951== Lock acquired, processing the job... [2025-03-09 08:23:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:23:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:23:02] Production.INFO: neon service started [2025-03-09 08:23:02] Production.INFO: neon service started [2025-03-09 08:23:02] Production.INFO: ==9951== Releasing lock... [2025-03-09 08:23:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:23:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:23:02] Production.INFO: ==9954== Lock acquired, processing the job... [2025-03-09 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:23:02] Production.INFO: ==9954== Releasing lock... [2025-03-09 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:23:02] Production.INFO: ==9956== Lock acquired, processing the job... [2025-03-09 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:23:03] Production.INFO: ==9956== Releasing lock... [2025-03-09 08:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:23:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:23:03] Production.INFO: ==9962== Lock acquired, processing the job... [2025-03-09 04:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:23:03] Production.INFO: ==9960== Lock acquired, processing the job... [2025-03-09 04:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:23:03] Production.INFO: ==9958== Lock acquired, processing the job... [2025-03-09 04:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:23:03] Production.INFO: ==9968== Lock acquired, processing the job... [2025-03-09 04:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:23:03] Production.INFO: ==9964== Lock acquired, processing the job... [2025-03-09 04:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:23:03] Production.INFO: ==9966== Lock acquired, processing the job... [2025-03-09 04:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:23:03] Production.INFO: count ==13 [2025-03-09 04:23:03] Production.INFO: Account Balance Start. [2025-03-09 04:23:03] Production.INFO: CreateAllLog Start [2025-03-09 04:23:03] Production.INFO: 117 [2025-03-09 04:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:23:04] Production.INFO: count ==21 [2025-03-09 04:23:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:23:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639708') start [2025-03-09 04:23:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:23:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:23:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:23:04] Production.INFO: Total Charge 0 [2025-03-09 04:23:04] Production.INFO: CreateAllLog End [2025-03-09 04:23:04] Production.INFO: ==9960== Releasing lock... [2025-03-09 04:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639708') end [2025-03-09 04:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:23:04] Production.INFO: 1 [2025-03-09 04:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:23:04] Production.INFO: ==9968== Releasing lock... [2025-03-09 04:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:23:04] Production.ERROR: done [2025-03-09 04:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:23:04] Production.ERROR: done [2025-03-09 04:23:04] Production.INFO: Account Balance End. [2025-03-09 04:23:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:23:04] Production.INFO: ==9964== Releasing lock... [2025-03-09 04:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:23:05 [end_date_ymd] => 2025-03-09 05:23:05 [RateCDR] => 1 ) [2025-03-09 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-09 01:23:05' and `end` < '2025-03-09 05:23:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:23:11] Production.ERROR: CronJobId end10 [2025-03-09 04:23:11] Production.INFO: ==9962== Releasing lock... [2025-03-09 04:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:23:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:23:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:23:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:23:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:23:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:23:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:23:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:23:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:23:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:23:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:23:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:23:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:23:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:23:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:23:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:23:14] Production.INFO: call_cost start [2025-03-09 04:23:14] Production.INFO: call_cost end [2025-03-09 04:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:23:15] Production.INFO: ==9958== Releasing lock... [2025-03-09 04:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:23:17] Production.INFO: count ==212 [2025-03-09 04:23:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:23:05 - End Time 2025-03-09 05:23:05 [2025-03-09 04:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639710', 'tblTempUsageDetail_20' ) start [2025-03-09 04:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639710', 'tblTempUsageDetail_20' ) end [2025-03-09 04:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639710', 'tblTempVendorCDR_20' ) start [2025-03-09 04:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639710', 'tblTempVendorCDR_20' ) end [2025-03-09 04:23:17] Production.INFO: ProcessCDR(1,14639710,1,1,2) [2025-03-09 04:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639710', 'tblTempUsageDetail_20' ) start [2025-03-09 04:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639710', 'tblTempUsageDetail_20' ) end [2025-03-09 04:23:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:23:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:23:21] Production.INFO: ==9966== Releasing lock... [2025-03-09 04:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:23:21] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:24:01] Production.INFO: ==10022== Lock acquired, processing the job... [2025-03-09 08:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:24:01] Production.INFO: neon service started [2025-03-09 08:24:01] Production.INFO: neon service started [2025-03-09 08:24:01] Production.INFO: ==10022== Releasing lock... [2025-03-09 08:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:24:01] Production.INFO: ==10024== Lock acquired, processing the job... [2025-03-09 04:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:24:02] Production.INFO: ==10024== Releasing lock... [2025-03-09 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:24:02] Production.INFO: ==10026== Lock acquired, processing the job... [2025-03-09 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:24:02] Production.INFO: ==10026== Releasing lock... [2025-03-09 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:24:03] Production.INFO: ==10034== Lock acquired, processing the job... [2025-03-09 04:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:24:03] Production.INFO: ==10038== Lock acquired, processing the job... [2025-03-09 04:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:24:03] Production.INFO: Account Balance Start. [2025-03-09 04:24:03] Production.INFO: CreateAllLog Start [2025-03-09 04:24:03] Production.INFO: 117 [2025-03-09 04:24:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:24:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:24:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:24:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:24:03] Production.INFO: Total Charge 0 [2025-03-09 04:24:03] Production.INFO: ==10028== Lock acquired, processing the job... [2025-03-09 04:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:24:03] Production.INFO: CreateAllLog End [2025-03-09 04:24:03] Production.INFO: ==10030== Lock acquired, processing the job... [2025-03-09 04:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:24:03] Production.INFO: count ==13 [2025-03-09 04:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:24:03] Production.INFO: count ==21 [2025-03-09 04:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639712') start [2025-03-09 04:24:03] Production.INFO: Account Balance End. [2025-03-09 04:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:24:03] Production.ERROR: CronJobId end 12 [2025-03-09 04:24:03] Production.INFO: ==10034== Releasing lock... [2025-03-09 04:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:24:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:24:03] Production.INFO: ==10032== Lock acquired, processing the job... [2025-03-09 04:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639712') end [2025-03-09 04:24:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:24:03] Production.INFO: 1 [2025-03-09 04:24:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:24:03] Production.INFO: ==10036== Lock acquired, processing the job... [2025-03-09 04:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:24:03] Production.INFO: ==10038== Releasing lock... [2025-03-09 04:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:24:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:24:03] Production.INFO: ==10030== Releasing lock... [2025-03-09 04:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:24:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:24:04] Production.ERROR: done [2025-03-09 04:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:24:04] Production.ERROR: done [2025-03-09 04:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:24:05 [end_date_ymd] => 2025-03-09 05:24:05 [RateCDR] => 1 ) [2025-03-09 04:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:24:05' and `end` < '2025-03-09 05:24:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:24:11] Production.ERROR: CronJobId end10 [2025-03-09 04:24:11] Production.INFO: ==10032== Releasing lock... [2025-03-09 04:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:24:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:24:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:24:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:24:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:24:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:24:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:24:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:24:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:24:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:24:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:24:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:24:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:24:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:24:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:24:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:24:14] Production.INFO: call_cost start [2025-03-09 04:24:14] Production.INFO: call_cost end [2025-03-09 04:24:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:24:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:24:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:24:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:24:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:24:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:24:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:24:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:24:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:24:15] Production.INFO: ==10028== Releasing lock... [2025-03-09 04:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:24:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:24:17] Production.INFO: count ==212 [2025-03-09 04:24:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:24:05 - End Time 2025-03-09 05:24:05 [2025-03-09 04:24:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639715', 'tblTempUsageDetail_20' ) start [2025-03-09 04:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639715', 'tblTempUsageDetail_20' ) end [2025-03-09 04:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639715', 'tblTempVendorCDR_20' ) start [2025-03-09 04:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639715', 'tblTempVendorCDR_20' ) end [2025-03-09 04:24:17] Production.INFO: ProcessCDR(1,14639715,1,1,2) [2025-03-09 04:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:24:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639715', 'tblTempUsageDetail_20' ) start [2025-03-09 04:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639715', 'tblTempUsageDetail_20' ) end [2025-03-09 04:24:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:24:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:24:20] Production.INFO: ==10036== Releasing lock... [2025-03-09 04:24:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:24:20] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:25:01] Production.INFO: ==10091== Lock acquired, processing the job... [2025-03-09 08:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:25:01] Production.INFO: neon service started [2025-03-09 08:25:01] Production.INFO: neon service started [2025-03-09 08:25:01] Production.INFO: ==10091== Releasing lock... [2025-03-09 08:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:25:02] Production.INFO: ==10093== Lock acquired, processing the job... [2025-03-09 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:25:02] Production.INFO: ==10095== Lock acquired, processing the job... [2025-03-09 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:25:02] Production.INFO: ==10095== Releasing lock... [2025-03-09 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:25:02] Production.INFO: ==10093== Releasing lock... [2025-03-09 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:25:03] Production.INFO: ==10100== Lock acquired, processing the job... [2025-03-09 04:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:25:03] Production.INFO: ==10104== Lock acquired, processing the job... [2025-03-09 04:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:25:03] Production.INFO: ==10106== Lock acquired, processing the job... [2025-03-09 04:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:25:03] Production.INFO: Account Balance Start. [2025-03-09 04:25:03] Production.INFO: CreateAllLog Start [2025-03-09 04:25:03] Production.INFO: 117 [2025-03-09 04:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:25:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:25:03] Production.INFO: ==10098== Lock acquired, processing the job... [2025-03-09 04:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:25:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:25:04] Production.INFO: Total Charge 0 [2025-03-09 04:25:04] Production.INFO: CreateAllLog End [2025-03-09 04:25:04] Production.INFO: ==10102== Lock acquired, processing the job... [2025-03-09 04:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:25:04] Production.INFO: ==10108== Lock acquired, processing the job... [2025-03-09 04:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:25:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:25:04] Production.INFO: ==10100== Releasing lock... [2025-03-09 04:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:25:04] Production.INFO: Account Balance End. [2025-03-09 04:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:25:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:25:04] Production.INFO: ==10104== Releasing lock... [2025-03-09 04:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:25:04] Production.INFO: count ==13 [2025-03-09 04:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:25:04] Production.ERROR: done [2025-03-09 04:25:04] Production.INFO: count ==21 [2025-03-09 04:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639719') start [2025-03-09 04:25:04] Production.ERROR: done [2025-03-09 04:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639719') end [2025-03-09 04:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:25:04] Production.INFO: 1 [2025-03-09 04:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:25:04] Production.INFO: ==10108== Releasing lock... [2025-03-09 04:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:25:05 [end_date_ymd] => 2025-03-09 05:25:05 [RateCDR] => 1 ) [2025-03-09 04:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:25:05' and `end` < '2025-03-09 05:25:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:25:11] Production.ERROR: CronJobId end10 [2025-03-09 04:25:11] Production.INFO: ==10102== Releasing lock... [2025-03-09 04:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:25:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:25:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:25:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:25:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:25:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:25:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:25:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:25:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:25:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:25:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:25:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:25:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:25:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:25:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:25:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:25:14] Production.INFO: call_cost start [2025-03-09 04:25:14] Production.INFO: call_cost end [2025-03-09 04:25:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:25:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:25:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:25:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:25:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:25:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:25:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:25:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:25:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:25:14] Production.INFO: ==10098== Releasing lock... [2025-03-09 04:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:25:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:25:17] Production.INFO: count ==211 [2025-03-09 04:25:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:25:05 - End Time 2025-03-09 05:25:05 [2025-03-09 04:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639720', 'tblTempUsageDetail_20' ) start [2025-03-09 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639720', 'tblTempUsageDetail_20' ) end [2025-03-09 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639720', 'tblTempVendorCDR_20' ) start [2025-03-09 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639720', 'tblTempVendorCDR_20' ) end [2025-03-09 04:25:17] Production.INFO: ProcessCDR(1,14639720,1,1,2) [2025-03-09 04:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639720', 'tblTempUsageDetail_20' ) start [2025-03-09 04:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639720', 'tblTempUsageDetail_20' ) end [2025-03-09 04:25:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:25:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:25:20] Production.INFO: ==10106== Releasing lock... [2025-03-09 04:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:25:20] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:26:01] Production.INFO: ==10166== Lock acquired, processing the job... [2025-03-09 08:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:26:01] Production.INFO: neon service started [2025-03-09 08:26:01] Production.INFO: neon service started [2025-03-09 08:26:01] Production.INFO: ==10166== Releasing lock... [2025-03-09 08:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:26:01] Production.INFO: ==10168== Lock acquired, processing the job... [2025-03-09 04:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:26:02] Production.INFO: ==10168== Releasing lock... [2025-03-09 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:26:02] Production.INFO: ==10170== Lock acquired, processing the job... [2025-03-09 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:26:02] Production.INFO: ==10170== Releasing lock... [2025-03-09 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:26:02] Production.INFO: ==10172== Lock acquired, processing the job... [2025-03-09 04:26:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:26:03] Production.INFO: ==10176== Lock acquired, processing the job... [2025-03-09 04:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:26:03] Production.INFO: ==10180== Lock acquired, processing the job... [2025-03-09 04:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:26:03] Production.INFO: ==10174== Lock acquired, processing the job... [2025-03-09 04:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:26:03] Production.INFO: ==10178== Lock acquired, processing the job... [2025-03-09 04:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:26:03] Production.INFO: ==10182== Lock acquired, processing the job... [2025-03-09 04:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:26:03] Production.INFO: Account Balance Start. [2025-03-09 04:26:03] Production.INFO: CreateAllLog Start [2025-03-09 04:26:03] Production.INFO: 117 [2025-03-09 04:26:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:26:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:26:03] Production.ERROR: done [2025-03-09 04:26:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:26:03] Production.INFO: ==10174== Releasing lock... [2025-03-09 04:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:26:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:26:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:26:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:26:03] Production.INFO: count ==13 [2025-03-09 04:26:03] Production.INFO: Total Charge 0 [2025-03-09 04: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-09 04:26:03] Production.INFO: count ==21 [2025-03-09 04:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639724') start [2025-03-09 04:26:03] Production.INFO: CreateAllLog End [2025-03-09 04:26:03] Production.ERROR: done [2025-03-09 04:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639724') end [2025-03-09 04:26:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:26:03] Production.INFO: 1 [2025-03-09 04:26:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:26:03] Production.INFO: ==10182== Releasing lock... [2025-03-09 04:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:26:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:26:03] Production.INFO: Account Balance End. [2025-03-09 04:26:03] Production.ERROR: CronJobId end 12 [2025-03-09 04:26:03] Production.INFO: ==10178== Releasing lock... [2025-03-09 04:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:26:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:26:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:26:04 [end_date_ymd] => 2025-03-09 05:26:04 [RateCDR] => 1 ) [2025-03-09 04: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-09 01:26:04' and `end` < '2025-03-09 05: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-09 04:26:11] Production.ERROR: CronJobId end10 [2025-03-09 04:26:11] Production.INFO: ==10176== Releasing lock... [2025-03-09 04:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:26:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:26:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:26:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:26:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:26:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:26:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:26:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:26:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:26:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:26:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:26:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:26:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:26:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:26:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:26:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:26:14] Production.INFO: call_cost start [2025-03-09 04:26:14] Production.INFO: call_cost end [2025-03-09 04:26:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:26:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:26:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:26:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:26:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:26:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:26:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:26:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:26:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:26:15] Production.INFO: ==10172== Releasing lock... [2025-03-09 04:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:26:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:26:16] Production.INFO: count ==211 [2025-03-09 04:26:16] Production.ERROR: pbx CDR StartTime 2025-03-09 01:26:04 - End Time 2025-03-09 05:26:04 [2025-03-09 04:26:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:26:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639725', 'tblTempUsageDetail_20' ) start [2025-03-09 04:26:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639725', 'tblTempUsageDetail_20' ) end [2025-03-09 04:26:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639725', 'tblTempVendorCDR_20' ) start [2025-03-09 04:26:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639725', 'tblTempVendorCDR_20' ) end [2025-03-09 04:26:16] Production.INFO: ProcessCDR(1,14639725,1,1,2) [2025-03-09 04:26:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:26:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:26:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639725', 'tblTempUsageDetail_20' ) start [2025-03-09 04:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639725', 'tblTempUsageDetail_20' ) end [2025-03-09 04:26:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:26:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:26:20] Production.INFO: ==10180== Releasing lock... [2025-03-09 04:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:26:20] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:27:01] Production.INFO: ==10238== Lock acquired, processing the job... [2025-03-09 08:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:27:01] Production.INFO: neon service started [2025-03-09 08:27:01] Production.INFO: neon service started [2025-03-09 08:27:01] Production.INFO: ==10238== Releasing lock... [2025-03-09 08:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:27:02] Production.INFO: ==10242== Lock acquired, processing the job... [2025-03-09 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:27:02] Production.INFO: ==10242== Releasing lock... [2025-03-09 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:27:02] Production.INFO: ==10240== Lock acquired, processing the job... [2025-03-09 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:27:02] Production.INFO: ==10240== Releasing lock... [2025-03-09 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:27:03] Production.INFO: ==10245== Lock acquired, processing the job... [2025-03-09 04:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:27:03] Production.INFO: ==10249== Lock acquired, processing the job... [2025-03-09 04:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:27:03] Production.INFO: ==10251== Lock acquired, processing the job... [2025-03-09 04:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:27:03] Production.INFO: Account Balance Start. [2025-03-09 04:27:03] Production.INFO: CreateAllLog Start [2025-03-09 04:27:03] Production.INFO: 117 [2025-03-09 04:27:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:27:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:27:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:27:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:27:03] Production.INFO: Total Charge 0 [2025-03-09 04:27:03] Production.INFO: CreateAllLog End [2025-03-09 04:27:03] Production.INFO: ==10247== Lock acquired, processing the job... [2025-03-09 04:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:27:03] Production.INFO: ==10253== Lock acquired, processing the job... [2025-03-09 04:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:27:03] Production.INFO: ==10255== Lock acquired, processing the job... [2025-03-09 04:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:27:04] Production.INFO: Account Balance End. [2025-03-09 04:27:04] Production.INFO: count ==13 [2025-03-09 04:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:27:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:27:04] Production.INFO: ==10251== Releasing lock... [2025-03-09 04:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:27:04] Production.INFO: count ==21 [2025-03-09 04:27:04] Production.INFO: ==10247== Releasing lock... [2025-03-09 04:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639729') start [2025-03-09 04:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639729') end [2025-03-09 04:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:27:04] Production.INFO: 1 [2025-03-09 04:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:27:04] Production.INFO: ==10255== Releasing lock... [2025-03-09 04:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:27:04] Production.ERROR: done [2025-03-09 04:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:27:04] Production.ERROR: done [2025-03-09 04:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:27:05 [end_date_ymd] => 2025-03-09 05:27:05 [RateCDR] => 1 ) [2025-03-09 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-09 01:27:05' and `end` < '2025-03-09 05:27:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:27:12] Production.ERROR: CronJobId end10 [2025-03-09 04:27:12] Production.INFO: ==10249== Releasing lock... [2025-03-09 04:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:27:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:27:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:27:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:27:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:27:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:27:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:27:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:27:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:27:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:27:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:27:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:27:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:27:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:27:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:27:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:27:14] Production.INFO: call_cost start [2025-03-09 04:27:14] Production.INFO: call_cost end [2025-03-09 04:27:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:27:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:27:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:27:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:27:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:27:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:27:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:27:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:27:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:27:15] Production.INFO: ==10245== Releasing lock... [2025-03-09 04:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:27:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:27:17] Production.INFO: count ==214 [2025-03-09 04:27:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:27:05 - End Time 2025-03-09 05:27:05 [2025-03-09 04:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639730', 'tblTempUsageDetail_20' ) start [2025-03-09 04:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639730', 'tblTempUsageDetail_20' ) end [2025-03-09 04:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639730', 'tblTempVendorCDR_20' ) start [2025-03-09 04:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639730', 'tblTempVendorCDR_20' ) end [2025-03-09 04:27:17] Production.INFO: ProcessCDR(1,14639730,1,1,2) [2025-03-09 04:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639730', 'tblTempUsageDetail_20' ) start [2025-03-09 04:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639730', 'tblTempUsageDetail_20' ) end [2025-03-09 04:27:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:27:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:27:21] Production.INFO: ==10253== Releasing lock... [2025-03-09 04:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:27:21] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 08:28:02] Production.INFO: ==10313== Lock acquired, processing the job... [2025-03-09 08:28:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:28:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:28:02] Production.INFO: neon service started [2025-03-09 08:28:02] Production.INFO: neon service started [2025-03-09 08:28:02] Production.INFO: ==10313== Releasing lock... [2025-03-09 08:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:28:02] Production.INFO: ==10315== Lock acquired, processing the job... [2025-03-09 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:28:02] Production.INFO: ==10315== Releasing lock... [2025-03-09 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:28:03] Production.INFO: ==10317== Lock acquired, processing the job... [2025-03-09 08:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:28:03] Production.INFO: ==10317== Releasing lock... [2025-03-09 08:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:28:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:28:03] Production.INFO: ==10324== Lock acquired, processing the job... [2025-03-09 04:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:28:04] Production.INFO: ==10320== Lock acquired, processing the job... [2025-03-09 04:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:28:04] Production.INFO: ==10330== Lock acquired, processing the job... [2025-03-09 04:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:28:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:28:04] Production.INFO: ==10322== Lock acquired, processing the job... [2025-03-09 04:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 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-09 04:28:04] Production.INFO: ==10326== Lock acquired, processing the job... [2025-03-09 04:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:28:04] Production.INFO: count ==13 [2025-03-09 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-09 04:28:04] Production.INFO: count ==21 [2025-03-09 04:28:04] Production.INFO: ==10328== Lock acquired, processing the job... [2025-03-09 04:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639732') start [2025-03-09 04:28:04] Production.INFO: Account Balance Start. [2025-03-09 04:28:04] Production.INFO: CreateAllLog Start [2025-03-09 04:28:04] Production.INFO: 117 [2025-03-09 04:28:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:28:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:28:04] Production.INFO: Total Charge 0 [2025-03-09 04:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639732') end [2025-03-09 04:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:28:04] Production.INFO: 1 [2025-03-09 04:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:28:04] Production.INFO: CreateAllLog End [2025-03-09 04:28:04] Production.INFO: ==10330== Releasing lock... [2025-03-09 04:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:28:04] Production.INFO: ==10322== Releasing lock... [2025-03-09 04:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:28:04] Production.INFO: Account Balance End. [2025-03-09 04:28:05] Production.ERROR: CronJobId end 12 [2025-03-09 04:28:05] Production.INFO: ==10326== Releasing lock... [2025-03-09 04:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:28:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:28:05] Production.ERROR: done [2025-03-09 04:28:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:28:05] Production.ERROR: done [2025-03-09 04:28:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:28:06 [end_date_ymd] => 2025-03-09 05:28:06 [RateCDR] => 1 ) [2025-03-09 04: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-09 01:28:06' and `end` < '2025-03-09 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-09 04:28:12] Production.ERROR: CronJobId end10 [2025-03-09 04:28:12] Production.INFO: ==10324== Releasing lock... [2025-03-09 04:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:28:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:28:14] Production.INFO: call_cost start [2025-03-09 04:28:14] Production.INFO: call_cost end [2025-03-09 04:28:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:28:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:28:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:28:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:28:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:28:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:28:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:28:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:28:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:28:15] Production.INFO: ==10320== Releasing lock... [2025-03-09 04:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:28:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:28:18] Production.INFO: count ==211 [2025-03-09 04:28:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:28:06 - End Time 2025-03-09 05:28:06 [2025-03-09 04:28:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639735', 'tblTempUsageDetail_20' ) start [2025-03-09 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639735', 'tblTempUsageDetail_20' ) end [2025-03-09 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639735', 'tblTempVendorCDR_20' ) start [2025-03-09 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639735', 'tblTempVendorCDR_20' ) end [2025-03-09 04:28:18] Production.INFO: ProcessCDR(1,14639735,1,1,2) [2025-03-09 04:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639735', 'tblTempUsageDetail_20' ) start [2025-03-09 04:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639735', 'tblTempUsageDetail_20' ) end [2025-03-09 04:28:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:28:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:28:21] Production.INFO: ==10328== Releasing lock... [2025-03-09 04:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:28:21] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 08:29:01] Production.INFO: ==10384== Lock acquired, processing the job... [2025-03-09 08:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:29:01] Production.INFO: neon service started [2025-03-09 08:29:01] Production.INFO: neon service started [2025-03-09 08:29:01] Production.INFO: ==10384== Releasing lock... [2025-03-09 08:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:29:02] Production.INFO: ==10388== Lock acquired, processing the job... [2025-03-09 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:29:02] Production.INFO: ==10388== Releasing lock... [2025-03-09 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:29:02] Production.INFO: ==10386== Lock acquired, processing the job... [2025-03-09 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:29:02] Production.INFO: ==10386== Releasing lock... [2025-03-09 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:29:03] Production.INFO: ==10391== Lock acquired, processing the job... [2025-03-09 04:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:29:03] Production.INFO: ==10397== Lock acquired, processing the job... [2025-03-09 04:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:29:03] Production.INFO: Account Balance Start. [2025-03-09 04:29:03] Production.INFO: CreateAllLog Start [2025-03-09 04:29:03] Production.INFO: 117 [2025-03-09 04:29:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:29:03] Production.INFO: ==10395== Lock acquired, processing the job... [2025-03-09 04:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:29:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:29:03] Production.INFO: Total Charge 0 [2025-03-09 04:29:03] Production.INFO: CreateAllLog End [2025-03-09 04:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:29:03] Production.INFO: ==10393== Lock acquired, processing the job... [2025-03-09 04:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:29:03] Production.INFO: ==10399== Lock acquired, processing the job... [2025-03-09 04:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:29:03] Production.INFO: ==10401== Lock acquired, processing the job... [2025-03-09 04:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:29:03] Production.INFO: Account Balance End. [2025-03-09 04:29:03] Production.ERROR: CronJobId end 12 [2025-03-09 04:29:03] Production.INFO: ==10397== Releasing lock... [2025-03-09 04:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:29:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:29:03] Production.INFO: count ==13 [2025-03-09 04:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:29:04] Production.INFO: count ==21 [2025-03-09 04:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639739') start [2025-03-09 04:29:04] Production.INFO: ==10393== Releasing lock... [2025-03-09 04:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:29:04] Production.ERROR: done [2025-03-09 04:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639739') end [2025-03-09 04:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:29:04] Production.INFO: 1 [2025-03-09 04:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:29:04] Production.ERROR: done [2025-03-09 04:29:04] Production.INFO: ==10401== Releasing lock... [2025-03-09 04:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:29:05 [end_date_ymd] => 2025-03-09 05:29:05 [RateCDR] => 1 ) [2025-03-09 04:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:29:05' and `end` < '2025-03-09 05:29:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:29:11] Production.ERROR: CronJobId end10 [2025-03-09 04:29:11] Production.INFO: ==10395== Releasing lock... [2025-03-09 04:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:29:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:29:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:29:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:29:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:29:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:29:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:29:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:29:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:29:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:29:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:29:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:29:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:29:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:29:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:29:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:29:13] Production.INFO: call_cost start [2025-03-09 04:29:13] Production.INFO: call_cost end [2025-03-09 04:29:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:29:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:29:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:29:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:29:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:29:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:29:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:29:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:29:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:29:14] Production.INFO: ==10391== Releasing lock... [2025-03-09 04:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:29:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:29:17] Production.INFO: count ==211 [2025-03-09 04:29:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:29:05 - End Time 2025-03-09 05:29:05 [2025-03-09 04:29:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639740', 'tblTempUsageDetail_20' ) start [2025-03-09 04:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639740', 'tblTempUsageDetail_20' ) end [2025-03-09 04:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639740', 'tblTempVendorCDR_20' ) start [2025-03-09 04:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639740', 'tblTempVendorCDR_20' ) end [2025-03-09 04:29:17] Production.INFO: ProcessCDR(1,14639740,1,1,2) [2025-03-09 04:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639740', 'tblTempUsageDetail_20' ) start [2025-03-09 04:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639740', 'tblTempUsageDetail_20' ) end [2025-03-09 04:29:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:29:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:29:20] Production.INFO: ==10399== Releasing lock... [2025-03-09 04:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:29:20] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 08:30:02] Production.INFO: ==10456== Lock acquired, processing the job... [2025-03-09 08:30:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:30:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:30:02] Production.INFO: neon service started [2025-03-09 08:30:02] Production.INFO: neon service started [2025-03-09 08:30:02] Production.INFO: ==10456== Releasing lock... [2025-03-09 08:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:30:02] Production.INFO: ==10458== Lock acquired, processing the job... [2025-03-09 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:30:02] Production.INFO: ==10458== Releasing lock... [2025-03-09 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:30:02] Production.INFO: ==10460== Lock acquired, processing the job... [2025-03-09 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:30:03] Production.INFO: ==10460== Releasing lock... [2025-03-09 08:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:30:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:30:04] Production.INFO: ==10464== Lock acquired, processing the job... [2025-03-09 04:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:30:04] Production.INFO: ==10466== Lock acquired, processing the job... [2025-03-09 04:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:30:04] Production.INFO: ==10462== Lock acquired, processing the job... [2025-03-09 04:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 04:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:30:04] Production.INFO: ==10468== Lock acquired, processing the job... [2025-03-09 04:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:30:04] Production.INFO: ==10470== Lock acquired, processing the job... [2025-03-09 04:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 04:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 04:30:04] Production.ERROR: CronJob PID - 10464 [2025-03-09 04:30:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 04:30:04] Production.ERROR: CronJob ID - 5 [2025-03-09 04:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 04:30:00 [2025-03-09 04:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 04:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 04:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 04:30:04] Production.ERROR: CronJob PID - 10466 [2025-03-09 04:30:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 04:30:04] Production.ERROR: CronJob ID - 7 [2025-03-09 04:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 04:30:00 [2025-03-09 04:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 04:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 04:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 04:30:04] Production.INFO: ==10462== Releasing lock... [2025-03-09 04:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 04:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 04:30:04] Production.INFO: ==10472== Lock acquired, processing the job... [2025-03-09 04:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:30:04] Production.INFO: ==10474== Lock acquired, processing the job... [2025-03-09 04:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 04:30:04] Production.INFO: Account Balance Start. [2025-03-09 04:30:04] Production.INFO: CreateAllLog Start [2025-03-09 04:30:04] Production.INFO: 117 [2025-03-09 04:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:30:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:30:04] Production.INFO: ==10476== Lock acquired, processing the job... [2025-03-09 04:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:30:04] Production.INFO: ==10466== Releasing lock... [2025-03-09 04:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:30:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:30:04] Production.INFO: count ==13 [2025-03-09 04:30:04] Production.ERROR: done [2025-03-09 04:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:30:04] Production.INFO: count ==21 [2025-03-09 04:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:30:04] Production.ERROR: done [2025-03-09 04:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639744') start [2025-03-09 04:30:04] Production.INFO: Total Charge 0 [2025-03-09 04:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 04:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639745', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 04:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639744') end [2025-03-09 04:30:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:30:05] Production.INFO: 1 [2025-03-09 04:30:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:30:05] Production.INFO: CreateAllLog End [2025-03-09 04:30:05] Production.ERROR: done [2025-03-09 04:30:05] Production.INFO: ==10476== Releasing lock... [2025-03-09 04:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:30:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:30:05] Production.INFO: Account Balance End. [2025-03-09 04:30:05] Production.ERROR: CronJobId end 12 [2025-03-09 04:30:05] Production.INFO: ==10470== Releasing lock... [2025-03-09 04:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:30:06 [end_date_ymd] => 2025-03-09 05:30:06 [RateCDR] => 1 ) [2025-03-09 04:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:30:06' and `end` < '2025-03-09 05:30:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639745', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 04:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 04:30:09] Production.INFO: ProcessCDR(1,14639745,1,1,2) [2025-03-09 04:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14639745,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14639745,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:30:09] Production.INFO: ==10474== Releasing lock... [2025-03-09 04:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 04:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 04:30:13] Production.ERROR: CronJobId end10 [2025-03-09 04:30:13] Production.INFO: ==10468== Releasing lock... [2025-03-09 04:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:30:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:30:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:30:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:30:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:30:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:30:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:30:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:30:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:30:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:30:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:30:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:30:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:30:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:30:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:30:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:30:17] Production.INFO: call_cost start [2025-03-09 04:30:17] Production.INFO: call_cost end [2025-03-09 04:30:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:30:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:30:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:30:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:30:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:30:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:30:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:30:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:30:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:30:18] Production.INFO: ==10464== Releasing lock... [2025-03-09 04:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:30:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:30:18] Production.INFO: count ==203 [2025-03-09 04:30:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:30:06 - End Time 2025-03-09 05:30:06 [2025-03-09 04:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639746', 'tblTempUsageDetail_20' ) start [2025-03-09 04:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639746', 'tblTempUsageDetail_20' ) end [2025-03-09 04:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639746', 'tblTempVendorCDR_20' ) start [2025-03-09 04:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639746', 'tblTempVendorCDR_20' ) end [2025-03-09 04:30:18] Production.INFO: ProcessCDR(1,14639746,1,1,2) [2025-03-09 04:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639746', 'tblTempUsageDetail_20' ) start [2025-03-09 04:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639746', 'tblTempUsageDetail_20' ) end [2025-03-09 04:30:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:30:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:30:21] Production.INFO: ==10472== Releasing lock... [2025-03-09 04:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:30:21] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 08:31:01] Production.INFO: ==10531== Lock acquired, processing the job... [2025-03-09 08:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:31:01] Production.INFO: neon service started [2025-03-09 08:31:01] Production.INFO: neon service started [2025-03-09 08:31:01] Production.INFO: ==10531== Releasing lock... [2025-03-09 08:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:31:01] Production.INFO: ==10533== Lock acquired, processing the job... [2025-03-09 04:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:31:02] Production.INFO: ==10533== Releasing lock... [2025-03-09 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:31:02] Production.INFO: ==10535== Lock acquired, processing the job... [2025-03-09 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:31:02] Production.INFO: ==10535== Releasing lock... [2025-03-09 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:31:03] Production.INFO: ==10543== Lock acquired, processing the job... [2025-03-09 04:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:31:03] Production.INFO: ==10545== Lock acquired, processing the job... [2025-03-09 04:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:31:03] Production.INFO: ==10539== Lock acquired, processing the job... [2025-03-09 04:31:03] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Starts# [2025-03-09 04:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:31:03] Production.INFO: Account Balance Start. [2025-03-09 04:31:03] Production.INFO: CreateAllLog Start [2025-03-09 04:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:31:03] Production.INFO: 117 [2025-03-09 04:31:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:31:03] Production.INFO: ==10537== Lock acquired, processing the job... [2025-03-09 04:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:31:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:31:03] Production.INFO: ==10550== Lock acquired, processing the job... [2025-03-09 04:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:31:03] Production.INFO: ==10541== Lock acquired, processing the job... [2025-03-09 04:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:31:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:31:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:31:03] Production.INFO: Call prc_getBillingAccounts(1,2025-03-09,'','0') [2025-03-09 04:31:03] Production.INFO: Array ( [0] => stdClass Object ( [AccountID] => 65 [NextInvoiceDate] => 2025-03-09 [AccountName] => AOPG Inc. [ServiceID] => 0 ) [1] => stdClass Object ( [AccountID] => 247 [NextInvoiceDate] => 2025-03-09 [AccountName] => Cancom Security [ServiceID] => 0 ) ) [2025-03-09 04:31:03] Production.INFO: Total Charge 0 [2025-03-09 04:31:03] Production.INFO: AccountID =65 FirstInvoiceSend 0 [2025-03-09 04:31:03] Production.INFO: LastInvoiceDate 2025-02-09 NextInvoiceDate 2025-03-09 [2025-03-09 04:31:03] Production.INFO: LastChargeDate 2025-02-09 NextChargeDate 2025-03-08 [2025-03-09 04:31:03] Production.INFO: CreateAllLog End [2025-03-09 04:31:03] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-03-09 04:31:03] Production.INFO: ========================== Invoice Send Start ============================= [2025-03-09 04:31:03] Production.INFO: Invoice::sendInvoice(1,65,2025-02-09,2025-03-09,billing@onswitchit.ca) [2025-03-09 04:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:31:03] Production.INFO: start Date =2025-02-09 EndDate =2025-03-08 23:59:59 [2025-03-09 04:31:03] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-03-09 04:31:03] 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-09 04:31:03] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-03-09 04:31:03] Production.INFO: count ==13 [2025-03-09 04:31:03] Production.INFO: AlreadyBilled [2025-03-09 04:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:31:03] Production.INFO: count ==21 [2025-03-09 04:31:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639750') start [2025-03-09 04:31:03] Production.INFO: original start date ==>2025-02-09 changed start date ==>2025-02-09 00:00:00 original end date ==>2025-03-08 23:59:59 changed end date ==>2025-03-08 23:59:59 [2025-03-09 04:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639750') end [2025-03-09 04:31:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:31:03] Production.INFO: 1 [2025-03-09 04:31:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:31:03] Production.INFO: CompanyGatewayID 1 TotalCharges ==>0.12000000 [2025-03-09 04:31:03] Production.INFO: Invoice::getAccountUsageTotal(1,65,2025-02-09,2025-03-08 23:59:59) [2025-03-09 04:31:03] Production.INFO: TotalCharges - 0.12 [2025-03-09 04:31:03] Production.INFO: TotalUsageCharges - 0.12 [2025-03-09 04:31:03] Production.INFO: ==10550== Releasing lock... [2025-03-09 04:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:31:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:31:03] Production.INFO: Account Balance End. [2025-03-09 04:31:03] Production.INFO: Usage Over [2025-03-09 04:31:03] Production.INFO: ==10547== Lock acquired, processing the job... [2025-03-09 04:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:31:03] Production.ERROR: CronJobId end 12 [2025-03-09 04:31:03] Production.INFO: ==10545== Releasing lock... [2025-03-09 04:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:31:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:31:03] Production.INFO: Call prc_getAccountSubscription(65,0) [2025-03-09 04:31:03] Production.INFO: SUBSCRIPTION 5 [2025-03-09 04:31:03] Production.INFO: ============================Subscription Start ================= [2025-03-09 04:31:03] Production.INFO: SubscriptionID - 1 [2025-03-09 04:31:03] Production.INFO: isAdvanceSubscription - 1 [2025-03-09 04:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:31:04] Production.INFO: SubscriptionStartDate =2025-03-09 - SubscriptionEndDate = 2025-04-08 [2025-03-09 04:31:04] Production.INFO: NewNextChargeDate =2025-04-08 00:00:00 [2025-03-09 04:31:04] Production.INFO: EndDate =2025-03-08 00:00:00 [2025-03-09 04:31:04] Production.INFO: NewEndDate1 =2025-03-09 [2025-03-09 04:31:04] Production.INFO: SubscriptionDate [2025-03-09 04:31:04] Production.INFO: Array ( [StartDate] => 2025-03-09 [EndDate] => 2025-04-08 00:00:00 [AlreadyCharged] => 0 ) [2025-03-09 04:31:04] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2025-02-09 [2025-03-09 04:31:04] Production.INFO: SubscriptionID - 2025-03-09=====2025-04-08 00:00:00 [2025-03-09 04:31:04] Production.INFO: AccountSubscriptionID - 229 === 2018-02-16=====2026-03-09 [2025-03-09 04:31:04] Production.INFO: regular Advance Subscription [2025-03-09 04:31:04] Production.INFO: First Time False 2018-02-16 2025-03-09 [2025-03-09 04:31:04] Production.INFO: StartDate 2025-03-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-04-08 00:00:00 AccountSubscription->EndDate 2026-03-09 [2025-03-09 04:31:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-03-09 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(229,2025-03-09,2025-04-08 00:00:00,,0) [2025-03-09 04:31:04] Production.INFO: SubscriptionCharge - 7 [2025-03-09 04:31:04] Production.INFO: Already Invoice Subscription 0 [2025-03-09 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,1,2025-03-09,2025-04-08 00:00:00,License for a Pay As You Go Cloud Phone extension,21,7,3,229) [2025-03-09 04:31:04] Production.INFO: DiscountAmount 0.000000 [2025-03-09 04:31:04] Production.INFO: DiscountType [2025-03-09 04:31:04] Production.INFO: SubscriptionCharge 21 [2025-03-09 04:31:04] Production.INFO: New SubscriptionCharge 21 [2025-03-09 04:31:04] Production.INFO: TotalSubscriptionCharge - 21.00 [2025-03-09 04:31:04] Production.INFO: ============================Subscription End ================= [2025-03-09 04:31:04] Production.INFO: ============================Subscription Start ================= [2025-03-09 04:31:04] Production.INFO: SubscriptionID - 12 [2025-03-09 04:31:04] Production.INFO: isAdvanceSubscription - 12 [2025-03-09 04:31:04] Production.INFO: SubscriptionStartDate =2025-03-09 - SubscriptionEndDate = 2025-04-08 [2025-03-09 04:31:04] Production.INFO: NewNextChargeDate =2025-04-08 00:00:00 [2025-03-09 04:31:04] Production.INFO: EndDate =2025-03-08 00:00:00 [2025-03-09 04:31:04] Production.INFO: NewEndDate1 =2025-03-09 [2025-03-09 04:31:04] Production.INFO: SubscriptionDate [2025-03-09 04:31:04] Production.INFO: Array ( [StartDate] => 2025-03-09 [EndDate] => 2025-04-08 00:00:00 [AlreadyCharged] => 0 ) [2025-03-09 04:31:04] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2025-02-09 [2025-03-09 04:31:04] Production.INFO: SubscriptionID - 2025-03-09=====2025-04-08 00:00:00 [2025-03-09 04:31:04] Production.INFO: AccountSubscriptionID - 230 === 2018-02-16=====2026-03-09 [2025-03-09 04:31:04] Production.INFO: regular Advance Subscription [2025-03-09 04:31:04] Production.INFO: First Time False 2018-02-16 2025-03-09 [2025-03-09 04:31:04] Production.INFO: StartDate 2025-03-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-04-08 00:00:00 AccountSubscription->EndDate 2026-03-09 [2025-03-09 04:31:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-03-09 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(230,2025-03-09,2025-04-08 00:00:00,,0) [2025-03-09 04:31:04] Production.INFO: SubscriptionCharge - 0 [2025-03-09 04:31:04] Production.INFO: Already Invoice Subscription 0 [2025-03-09 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,12,2025-03-09,2025-04-08 00:00:00,Included DID (16473177297),0,0,1,230) [2025-03-09 04:31:04] Production.INFO: DiscountAmount 0.000000 [2025-03-09 04:31:04] Production.INFO: DiscountType [2025-03-09 04:31:04] Production.INFO: SubscriptionCharge 0 [2025-03-09 04:31:04] Production.INFO: New SubscriptionCharge 0 [2025-03-09 04:31:04] Production.INFO: TotalSubscriptionCharge - 0.00 [2025-03-09 04:31:04] Production.INFO: ============================Subscription End ================= [2025-03-09 04:31:04] Production.INFO: ============================Subscription Start ================= [2025-03-09 04:31:04] Production.INFO: SubscriptionID - 12 [2025-03-09 04:31:04] Production.INFO: isAdvanceSubscription - 12 [2025-03-09 04:31:04] Production.INFO: SubscriptionStartDate =2025-03-09 - SubscriptionEndDate = 2025-04-08 [2025-03-09 04:31:04] Production.INFO: NewNextChargeDate =2025-04-08 00:00:00 [2025-03-09 04:31:04] Production.INFO: ==10541== Releasing lock... [2025-03-09 04:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:31:04] Production.INFO: EndDate =2025-03-08 00:00:00 [2025-03-09 04:31:04] Production.INFO: NewEndDate1 =2025-03-09 [2025-03-09 04:31:04] Production.INFO: SubscriptionDate [2025-03-09 04:31:04] Production.INFO: Array ( [StartDate] => 2025-03-09 [EndDate] => 2025-04-08 00:00:00 [AlreadyCharged] => 0 ) [2025-03-09 04:31:04] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2025-02-09 [2025-03-09 04:31:04] Production.INFO: SubscriptionID - 2025-03-09=====2025-04-08 00:00:00 [2025-03-09 04:31:04] Production.INFO: AccountSubscriptionID - 231 === 2018-02-16=====2026-03-09 [2025-03-09 04:31:04] Production.INFO: regular Advance Subscription [2025-03-09 04:31:04] Production.INFO: First Time False 2018-02-16 2025-03-09 [2025-03-09 04:31:04] Production.INFO: StartDate 2025-03-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-04-08 00:00:00 AccountSubscription->EndDate 2026-03-09 [2025-03-09 04:31:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-03-09 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(231,2025-03-09,2025-04-08 00:00:00,,0) [2025-03-09 04:31:04] Production.INFO: SubscriptionCharge - 0 [2025-03-09 04:31:04] Production.INFO: Already Invoice Subscription 0 [2025-03-09 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,12,2025-03-09,2025-04-08 00:00:00,Included DID (17134010840),0,0,1,231) [2025-03-09 04:31:04] Production.INFO: DiscountAmount 0.000000 [2025-03-09 04:31:04] Production.INFO: DiscountType [2025-03-09 04:31:04] Production.INFO: SubscriptionCharge 0 [2025-03-09 04:31:04] Production.INFO: New SubscriptionCharge 0 [2025-03-09 04:31:04] Production.INFO: TotalSubscriptionCharge - 0.00 [2025-03-09 04:31:04] Production.INFO: ============================Subscription End ================= [2025-03-09 04:31:04] Production.INFO: ============================Subscription Start ================= [2025-03-09 04:31:04] Production.INFO: SubscriptionID - 12 [2025-03-09 04:31:04] Production.INFO: isAdvanceSubscription - 12 [2025-03-09 04:31:04] Production.INFO: SubscriptionStartDate =2025-03-09 - SubscriptionEndDate = 2025-04-08 [2025-03-09 04:31:04] Production.INFO: NewNextChargeDate =2025-04-08 00:00:00 [2025-03-09 04:31:04] Production.ERROR: done [2025-03-09 04:31:04] Production.INFO: EndDate =2025-03-08 00:00:00 [2025-03-09 04:31:04] Production.INFO: NewEndDate1 =2025-03-09 [2025-03-09 04:31:04] Production.INFO: SubscriptionDate [2025-03-09 04:31:04] Production.INFO: Array ( [StartDate] => 2025-03-09 [EndDate] => 2025-04-08 00:00:00 [AlreadyCharged] => 0 ) [2025-03-09 04:31:04] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2025-02-09 [2025-03-09 04:31:04] Production.INFO: SubscriptionID - 2025-03-09=====2025-04-08 00:00:00 [2025-03-09 04:31:04] Production.INFO: AccountSubscriptionID - 232 === 2018-02-16=====2026-03-09 [2025-03-09 04:31:04] Production.INFO: regular Advance Subscription [2025-03-09 04:31:04] Production.INFO: First Time False 2018-02-16 2025-03-09 [2025-03-09 04:31:04] Production.INFO: StartDate 2025-03-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-04-08 00:00:00 AccountSubscription->EndDate 2026-03-09 [2025-03-09 04:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:31:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-03-09 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(232,2025-03-09,2025-04-08 00:00:00,,0) [2025-03-09 04:31:04] Production.INFO: SubscriptionCharge - 0 [2025-03-09 04:31:04] Production.INFO: Already Invoice Subscription 0 [2025-03-09 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,12,2025-03-09,2025-04-08 00:00:00,Included DID (18887829336),0,0,1,232) [2025-03-09 04:31:04] Production.INFO: DiscountAmount 0.000000 [2025-03-09 04:31:04] Production.INFO: DiscountType [2025-03-09 04:31:04] Production.INFO: SubscriptionCharge 0 [2025-03-09 04:31:04] Production.INFO: New SubscriptionCharge 0 [2025-03-09 04:31:04] Production.INFO: TotalSubscriptionCharge - 0.00 [2025-03-09 04:31:04] Production.INFO: ============================Subscription End ================= [2025-03-09 04:31:04] Production.INFO: ============================Subscription Start ================= [2025-03-09 04:31:04] Production.INFO: SubscriptionID - 4 [2025-03-09 04:31:04] Production.INFO: isAdvanceSubscription - 4 [2025-03-09 04:31:04] Production.INFO: SubscriptionStartDate =2025-03-09 - SubscriptionEndDate = 2025-04-08 [2025-03-09 04:31:04] Production.INFO: NewNextChargeDate =2025-04-08 00:00:00 [2025-03-09 04:31:04] Production.INFO: EndDate =2025-03-08 00:00:00 [2025-03-09 04:31:04] Production.INFO: NewEndDate1 =2025-03-09 [2025-03-09 04:31:04] Production.INFO: SubscriptionDate [2025-03-09 04:31:04] Production.INFO: Array ( [StartDate] => 2025-03-09 [EndDate] => 2025-04-08 00:00:00 [AlreadyCharged] => 0 ) [2025-03-09 04:31:04] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2025-02-09 [2025-03-09 04:31:04] Production.INFO: SubscriptionID - 2025-03-09=====2025-04-08 00:00:00 [2025-03-09 04:31:04] Production.INFO: AccountSubscriptionID - 233 === 2018-02-16=====2026-03-09 [2025-03-09 04:31:04] Production.INFO: regular Advance Subscription [2025-03-09 04:31:04] Production.INFO: First Time False 2018-02-16 2025-03-09 [2025-03-09 04:31:04] Production.INFO: StartDate 2025-03-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-04-08 00:00:00 AccountSubscription->EndDate 2026-03-09 [2025-03-09 04:31:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-03-09 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(233,2025-03-09,2025-04-08 00:00:00,,0) [2025-03-09 04:31:04] Production.INFO: SubscriptionCharge - 2.5 [2025-03-09 04:31:04] Production.INFO: Already Invoice Subscription 0 [2025-03-09 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,4,2025-03-09,2025-04-08 00:00:00,e911 address registration (16473177297 - 69 KINGSGATE CRES MOUNT ALBERT, ON L0G1M0),2.5,2.5,1,233) [2025-03-09 04:31:04] Production.INFO: DiscountAmount 0.000000 [2025-03-09 04:31:04] Production.INFO: DiscountType [2025-03-09 04:31:04] Production.INFO: SubscriptionCharge 2.5 [2025-03-09 04:31:04] Production.INFO: New SubscriptionCharge 2.5 [2025-03-09 04:31:04] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-03-09 04:31:04] Production.INFO: ============================Subscription End ================= [2025-03-09 04:31:04] Production.INFO: SUBSCRIPTION Over [2025-03-09 04:31:04] Production.INFO: Call prc_getAccountOneOffCharge(65,0,2025-02-09,2025-03-09 23:59:59) [2025-03-09 04:31:04] Production.INFO: AccountOneOffCharge 0 [2025-03-09 04:31:04] Production.INFO: AccountOneOffCharge Over [2025-03-09 04:31:04] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-03-09 04:31:04] Production.INFO: New UsageDates 2025-02-09 - 2025-03-08 23:59:59 [2025-03-09 04:31:04] Production.INFO: SubTotal 23.62 [2025-03-09 04:31:04] Production.INFO: SubTotalWithouttaxTotal 0 [2025-03-09 04:31:04] Production.ERROR: done [2025-03-09 04:31:04] Production.INFO: AccountOneOffCharge Tax Over [2025-03-09 04:31:04] Production.INFO: TotalTax 3.0706 [2025-03-09 04:31:04] Production.INFO: InvoiceGrandTotal 26.6906 [2025-03-09 04:31:04] Production.INFO: InvoiceTaxAmount 3.07 [2025-03-09 04:31:04] Production.INFO: GrandTotal 26.69 [2025-03-09 04:31:04] Production.INFO: SubTotal 23.62 [2025-03-09 04:31:04] Production.INFO: TotalDue -0.02 [2025-03-09 04:31:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:31:04] Production.INFO: original start date ==>2025-02-09 changed start date ==>2025-02-09 00:00:00 original end date ==>2025-03-08 23:59:59 changed end date ==>2025-03-08 23:59:59 [2025-03-09 04:31:04] Production.INFO: CALL prc_getInvoiceUsage(1,'65','0','1','2025-02-09 00:00:00','2025-03-08 23:59:59',0) [2025-03-09 04:31:04] Production.INFO: PDF Generation start [2025-03-09 04:31:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/65/Invoices/2025/03/09/Invoice-aopg-inc-inv11670-from-02-09-2025-to-03-08-2025-10610.pdf [2025-03-09 04:31:05] Production.INFO: On Linux [2025-03-09 04:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:31:05 [end_date_ymd] => 2025-03-09 05:31:05 [RateCDR] => 1 ) [2025-03-09 04:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:31:05' and `end` < '2025-03-09 05:31:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:31:06] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/65/Invoices/2025/03/09/footer-aopg-inc-inv11670-from-02-09-2025-to-03-08-2025-10610.html" "/var/www/tmp/1/65/Invoices/2025/03/09/Invoice-aopg-inc-inv11670-from-02-09-2025-to-03-08-2025-10610.html" "/var/www/tmp/1/65/Invoices/2025/03/09/Invoice-aopg-inc-inv11670-from-02-09-2025-to-03-08-2025-10610.pdf" [2025-03-09 04:31:06] Production.INFO: [2025-03-09 04:31:06] Production.INFO: /var/www/tmp/1/65/Invoices/2025/03/09/Invoice-aopg-inc-inv11670-from-02-09-2025-to-03-08-2025-10610.html [2025-03-09 04:31:06] Production.INFO: /var/www/tmp/1/65/Invoices/2025/03/09/header-aopg-inc-inv11670-from-02-09-2025-to-03-08-2025-10610.html [2025-03-09 04:31:06] Production.INFO: /var/www/tmp/1/65/Invoices/2025/03/09/footer-aopg-inc-inv11670-from-02-09-2025-to-03-08-2025-10610.html [2025-03-09 04:31:06] Production.INFO: Invoice generation PDF path [2025-03-09 04:31:06] Production.INFO: PDF fullPath 1/65/Invoices/2025/03/09/Invoice-aopg-inc-inv11670-from-02-09-2025-to-03-08-2025-10610.pdf [2025-03-09 04:31:06] Production.INFO: Generate Usage File Start [2025-03-09 04:31:06] Production.INFO: Usage File fullPath 1/65/InvoiceUsageFile/2025/03/09/aopg-inc-09-02-2025-00-00-00-TO-08-03-2025-23-59-59_6292__d87cc350-fcc0-11ef-8955-97b7b44a0cba.csv [2025-03-09 04:31:08] Production.INFO: Sending Email to Staff over [2025-03-09 04:31:08] Production.INFO: Email Status 1 [2025-03-09 04:31:08] Production.INFO: Sending Email to Customer [2025-03-09 04:31:09] Production.INFO: Email Try 10610 1 [2025-03-09 04:31:09] Production.INFO: =========== Email Sending over =========== [2025-03-09 04:31:09] Production.INFO: =========== Returning as Success =========== AccountID 65 [2025-03-09 04:31:09] Production.INFO: Invoice::sendInvoice done [2025-03-09 04:31:09] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-03-09 04:31:09] Production.INFO: Invoice Committed AccountID = 65 [2025-03-09 04:31:09] Production.INFO: =========== Updating InvoiceDate =========== [2025-03-09 04:31:09] Production.INFO: NextInvoice 2025-03-09 2025-04-08 [2025-03-09 04:31:09] Production.INFO: new dates [2025-03-09 04:31:09] Production.INFO: LastInvoiceDate 2025-03-09 NextInvoiceDate 2025-04-09 [2025-03-09 04:31:09] Production.INFO: LastChargeDate 2025-03-09 NextChargeDate 2025-04-08 [2025-03-09 04:31:09] Production.INFO: =========== Updated InvoiceDate =========== [2025-03-09 04:31:09] Production.INFO: ========================== Invoice Send End ============================= [2025-03-09 04:31:09] Production.INFO: AccountID =247 FirstInvoiceSend 0 [2025-03-09 04:31:09] Production.INFO: LastInvoiceDate 2025-02-09 NextInvoiceDate 2025-03-09 [2025-03-09 04:31:09] Production.INFO: LastChargeDate 2025-02-09 NextChargeDate 2025-03-08 [2025-03-09 04:31:09] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-03-09 04:31:09] Production.INFO: ========================== Invoice Send Start ============================= [2025-03-09 04:31:09] Production.INFO: Invoice::sendInvoice(1,247,2025-02-09,2025-03-09,billing@onswitchit.ca) [2025-03-09 04:31:09] Production.INFO: start Date =2025-02-09 EndDate =2025-03-08 23:59:59 [2025-03-09 04:31:09] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-03-09 04:31:09] 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-09 04:31:09] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-03-09 04:31:09] Production.INFO: AlreadyBilled [2025-03-09 04:31:09] Production.INFO: Reseller ==> 0 [2025-03-09 04:31:09] Production.INFO: original start date ==>2025-02-09 changed start date ==>2025-02-09 00:00:00 original end date ==>2025-03-08 23:59:59 changed end date ==>2025-03-08 23:59:59 [2025-03-09 04:31:09] Production.INFO: Invoice::getAccountUsageTotal(1,247,2025-02-09,2025-03-08 23:59:59) [2025-03-09 04:31:09] Production.INFO: TotalCharges - 0 [2025-03-09 04:31:09] Production.INFO: TotalUsageCharges - 0.00 [2025-03-09 04:31:09] Production.INFO: Usage Over [2025-03-09 04:31:09] Production.INFO: Call prc_getAccountSubscription(247,0) [2025-03-09 04:31:09] Production.INFO: SUBSCRIPTION 4 [2025-03-09 04:31:09] Production.INFO: ============================Subscription Start ================= [2025-03-09 04:31:09] Production.INFO: SubscriptionID - 64 [2025-03-09 04:31:09] Production.INFO: isAdvanceSubscription - 64 [2025-03-09 04:31:09] Production.INFO: SubscriptionStartDate =2025-03-09 - SubscriptionEndDate = 2025-04-08 [2025-03-09 04:31:09] Production.INFO: NewNextChargeDate =2025-04-08 00:00:00 [2025-03-09 04:31:09] Production.INFO: EndDate =2025-03-08 00:00:00 [2025-03-09 04:31:09] Production.INFO: NewEndDate1 =2025-03-09 [2025-03-09 04:31:09] Production.INFO: SubscriptionDate [2025-03-09 04:31:09] Production.INFO: Array ( [StartDate] => 2025-03-09 [EndDate] => 2025-04-08 00:00:00 [AlreadyCharged] => 0 ) [2025-03-09 04:31:09] Production.INFO: AccountSubscription StartDate 2025-02-05 StartDate 2025-02-09 [2025-03-09 04:31:09] Production.INFO: SubscriptionID - 2025-03-09=====2025-04-08 00:00:00 [2025-03-09 04:31:09] Production.INFO: AccountSubscriptionID - 1276 === 2025-02-05=====2026-03-09 [2025-03-09 04:31:09] Production.INFO: regular Advance Subscription [2025-03-09 04:31:09] Production.INFO: First Time False 2025-02-05 2025-03-09 [2025-03-09 04:31:09] Production.INFO: StartDate 2025-03-09 AccountSubscription->StartDate 2025-02-05 EndDate 2025-04-08 00:00:00 AccountSubscription->EndDate 2026-03-09 [2025-03-09 04:31:09] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-03-09 04:31:09] Production.INFO: AccountSubscription::getSubscriptionAmount(1276,2025-03-09,2025-04-08 00:00:00,,0) [2025-03-09 04:31:09] Production.INFO: SubscriptionCharge - 12.99 [2025-03-09 04:31:09] Production.INFO: Already Invoice Subscription 0 [2025-03-09 04:31:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(247,1,64,2025-03-09,2025-04-08 00:00:00,CloudPhone.ONE Softphone User - Unlimited Canada/US Calling,337.74,12.99,26,1276) [2025-03-09 04:31:09] Production.INFO: DiscountAmount 5.000000 [2025-03-09 04:31:09] Production.INFO: DiscountType Percentage [2025-03-09 04:31:09] Production.INFO: SubscriptionCharge 337.74 [2025-03-09 04:31:09] Production.INFO: New SubscriptionCharge 320.853 [2025-03-09 04:31:09] Production.INFO: TotalSubscriptionCharge - 320.85 [2025-03-09 04:31:09] Production.INFO: ============================Subscription End ================= [2025-03-09 04:31:09] Production.INFO: ============================Subscription Start ================= [2025-03-09 04:31:09] Production.INFO: SubscriptionID - 48 [2025-03-09 04:31:09] Production.INFO: isAdvanceSubscription - 48 [2025-03-09 04:31:09] Production.INFO: SubscriptionStartDate =2025-03-09 - SubscriptionEndDate = 2025-04-08 [2025-03-09 04:31:09] Production.INFO: NewNextChargeDate =2025-04-08 00:00:00 [2025-03-09 04:31:09] Production.INFO: EndDate =2025-03-08 00:00:00 [2025-03-09 04:31:09] Production.INFO: NewEndDate1 =2025-03-09 [2025-03-09 04:31:09] Production.INFO: SubscriptionDate [2025-03-09 04:31:09] Production.INFO: Array ( [StartDate] => 2025-03-09 [EndDate] => 2025-04-08 00:00:00 [AlreadyCharged] => 0 ) [2025-03-09 04:31:09] Production.INFO: AccountSubscription StartDate 2025-02-05 StartDate 2025-02-09 [2025-03-09 04:31:09] Production.INFO: SubscriptionID - 2025-03-09=====2025-04-08 00:00:00 [2025-03-09 04:31:09] Production.INFO: AccountSubscriptionID - 1277 === 2025-02-05=====2026-03-09 [2025-03-09 04:31:09] Production.INFO: regular Advance Subscription [2025-03-09 04:31:09] Production.INFO: First Time False 2025-02-05 2025-03-09 [2025-03-09 04:31:09] Production.INFO: StartDate 2025-03-09 AccountSubscription->StartDate 2025-02-05 EndDate 2025-04-08 00:00:00 AccountSubscription->EndDate 2026-03-09 [2025-03-09 04:31:09] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-03-09 04:31:09] Production.INFO: AccountSubscription::getSubscriptionAmount(1277,2025-03-09,2025-04-08 00:00:00,,0) [2025-03-09 04:31:09] Production.INFO: SubscriptionCharge - 4.86 [2025-03-09 04:31:09] Production.INFO: Already Invoice Subscription 0 [2025-03-09 04:31:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(247,1,48,2025-03-09,2025-04-08 00:00:00,Standby Capacity - Additional calling capacity during emergencies/high demand bursts.,82.62,4.86,17,1277) [2025-03-09 04:31:09] Production.INFO: DiscountAmount 5.000000 [2025-03-09 04:31:09] Production.INFO: DiscountType Percentage [2025-03-09 04:31:09] Production.INFO: SubscriptionCharge 82.62 [2025-03-09 04:31:09] Production.INFO: New SubscriptionCharge 78.489 [2025-03-09 04:31:09] Production.INFO: TotalSubscriptionCharge - 78.49 [2025-03-09 04:31:09] Production.INFO: ============================Subscription End ================= [2025-03-09 04:31:09] Production.INFO: ============================Subscription Start ================= [2025-03-09 04:31:09] Production.INFO: SubscriptionID - 4 [2025-03-09 04:31:09] Production.INFO: isAdvanceSubscription - 4 [2025-03-09 04:31:09] Production.INFO: SubscriptionStartDate =2025-03-09 - SubscriptionEndDate = 2025-04-08 [2025-03-09 04:31:09] Production.INFO: NewNextChargeDate =2025-04-08 00:00:00 [2025-03-09 04:31:09] Production.INFO: EndDate =2025-03-08 00:00:00 [2025-03-09 04:31:09] Production.INFO: NewEndDate1 =2025-03-09 [2025-03-09 04:31:09] Production.INFO: SubscriptionDate [2025-03-09 04:31:09] Production.INFO: Array ( [StartDate] => 2025-03-09 [EndDate] => 2025-04-08 00:00:00 [AlreadyCharged] => 0 ) [2025-03-09 04:31:09] Production.INFO: AccountSubscription StartDate 2025-02-05 StartDate 2025-02-09 [2025-03-09 04:31:09] Production.INFO: SubscriptionID - 2025-03-09=====2025-04-08 00:00:00 [2025-03-09 04:31:09] Production.INFO: AccountSubscriptionID - 1278 === 2025-02-05=====2026-03-09 [2025-03-09 04:31:09] Production.INFO: regular Advance Subscription [2025-03-09 04:31:09] Production.INFO: First Time False 2025-02-05 2025-03-09 [2025-03-09 04:31:09] Production.INFO: StartDate 2025-03-09 AccountSubscription->StartDate 2025-02-05 EndDate 2025-04-08 00:00:00 AccountSubscription->EndDate 2026-03-09 [2025-03-09 04:31:09] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-03-09 04:31:09] Production.INFO: AccountSubscription::getSubscriptionAmount(1278,2025-03-09,2025-04-08 00:00:00,,0) [2025-03-09 04:31:09] Production.INFO: SubscriptionCharge - 2.5 [2025-03-09 04:31:09] Production.INFO: Already Invoice Subscription 0 [2025-03-09 04:31:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(247,1,4,2025-03-09,2025-04-08 00:00:00,e911 address registration for one physical location (1183 Finch Ave W, UNIT #205, North York, ON M3J 2G2),2.5,2.5,1,1278) [2025-03-09 04:31:09] Production.INFO: DiscountAmount 0.000000 [2025-03-09 04:31:09] Production.INFO: DiscountType Flat [2025-03-09 04:31:09] Production.INFO: SubscriptionCharge 2.5 [2025-03-09 04:31:09] Production.INFO: New SubscriptionCharge 2.5 [2025-03-09 04:31:09] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-03-09 04:31:09] Production.INFO: ============================Subscription End ================= [2025-03-09 04:31:09] Production.INFO: ============================Subscription Start ================= [2025-03-09 04:31:09] Production.INFO: SubscriptionID - 2 [2025-03-09 04:31:09] Production.INFO: isAdvanceSubscription - 2 [2025-03-09 04:31:09] Production.INFO: SubscriptionStartDate =2025-03-09 - SubscriptionEndDate = 2025-04-08 [2025-03-09 04:31:09] Production.INFO: NewNextChargeDate =2025-04-08 00:00:00 [2025-03-09 04:31:09] Production.INFO: EndDate =2025-03-08 00:00:00 [2025-03-09 04:31:09] Production.INFO: NewEndDate1 =2025-03-09 [2025-03-09 04:31:09] Production.INFO: SubscriptionDate [2025-03-09 04:31:09] Production.INFO: Array ( [StartDate] => 2025-03-09 [EndDate] => 2025-04-08 00:00:00 [AlreadyCharged] => 0 ) [2025-03-09 04:31:09] Production.INFO: AccountSubscription StartDate 2025-02-05 StartDate 2025-02-09 [2025-03-09 04:31:09] Production.INFO: SubscriptionID - 2025-03-09=====2025-04-08 00:00:00 [2025-03-09 04:31:09] Production.INFO: AccountSubscriptionID - 1279 === 2025-02-05=====2026-03-09 [2025-03-09 04:31:09] Production.INFO: regular Advance Subscription [2025-03-09 04:31:09] Production.INFO: First Time False 2025-02-05 2025-03-09 [2025-03-09 04:31:09] Production.INFO: StartDate 2025-03-09 AccountSubscription->StartDate 2025-02-05 EndDate 2025-04-08 00:00:00 AccountSubscription->EndDate 2026-03-09 [2025-03-09 04:31:09] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-03-09 04:31:09] Production.INFO: AccountSubscription::getSubscriptionAmount(1279,2025-03-09,2025-04-08 00:00:00,,0) [2025-03-09 04:31:09] Production.INFO: SubscriptionCharge - 12.99 [2025-03-09 04:31:09] Production.INFO: Already Invoice Subscription 0 [2025-03-09 04:31:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(247,1,2,2025-03-09,2025-04-08 00:00:00,CloudPhone.ONE Softphone User - Unlimited Canada/US Calling - NFR Partner Base System,64.95,12.99,5,1279) [2025-03-09 04:31:09] Production.INFO: DiscountAmount 15.000000 [2025-03-09 04:31:09] Production.INFO: DiscountType Percentage [2025-03-09 04:31:09] Production.INFO: SubscriptionCharge 64.95 [2025-03-09 04:31:09] Production.INFO: New SubscriptionCharge 55.2075 [2025-03-09 04:31:09] Production.INFO: TotalSubscriptionCharge - 55.21 [2025-03-09 04:31:09] Production.INFO: ============================Subscription End ================= [2025-03-09 04:31:09] Production.INFO: SUBSCRIPTION Over [2025-03-09 04:31:09] Production.INFO: Call prc_getAccountOneOffCharge(247,0,2025-02-09,2025-03-09 23:59:59) [2025-03-09 04:31:09] Production.INFO: AccountOneOffCharge 0 [2025-03-09 04:31:09] Production.INFO: AccountOneOffCharge Over [2025-03-09 04:31:09] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-03-09 04:31:09] Production.INFO: New UsageDates 2025-02-09 - 2025-03-08 23:59:59 [2025-03-09 04:31:09] Production.INFO: SubTotal 457.0495 [2025-03-09 04:31:09] Production.INFO: SubTotalWithouttaxTotal 0 [2025-03-09 04:31:09] Production.INFO: AccountOneOffCharge Tax Over [2025-03-09 04:31:09] Production.INFO: TotalTax 59.416435 [2025-03-09 04:31:09] Production.INFO: InvoiceGrandTotal 516.465935 [2025-03-09 04:31:09] Production.INFO: InvoiceTaxAmount 59.42 [2025-03-09 04:31:09] Production.INFO: GrandTotal 516.47 [2025-03-09 04:31:09] Production.INFO: SubTotal 457.05 [2025-03-09 04:31:09] Production.INFO: TotalDue 2242.94 [2025-03-09 04:31:09] Production.INFO: Reseller ==> 0 [2025-03-09 04:31:10] Production.INFO: original start date ==>2025-02-09 changed start date ==>2025-02-09 00:00:00 original end date ==>2025-03-08 23:59:59 changed end date ==>2025-03-08 23:59:59 [2025-03-09 04:31:10] Production.INFO: CALL prc_getInvoiceUsage(1,'247','0','1','2025-02-09 00:00:00','2025-03-08 23:59:59',0) [2025-03-09 04:31:10] Production.INFO: PDF Generation start [2025-03-09 04:31:10] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/247/Invoices/2025/03/09/Invoice-cancom-security-inv11671-from-02-09-2025-to-03-08-2025-10611.pdf [2025-03-09 04:31:10] Production.INFO: On Linux [2025-03-09 04:31:11] 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/247/Invoices/2025/03/09/footer-cancom-security-inv11671-from-02-09-2025-to-03-08-2025-10611.html" "/var/www/tmp/1/247/Invoices/2025/03/09/Invoice-cancom-security-inv11671-from-02-09-2025-to-03-08-2025-10611.html" "/var/www/tmp/1/247/Invoices/2025/03/09/Invoice-cancom-security-inv11671-from-02-09-2025-to-03-08-2025-10611.pdf" [2025-03-09 04:31:11] Production.INFO: [2025-03-09 04:31:11] Production.INFO: /var/www/tmp/1/247/Invoices/2025/03/09/Invoice-cancom-security-inv11671-from-02-09-2025-to-03-08-2025-10611.html [2025-03-09 04:31:11] Production.INFO: /var/www/tmp/1/247/Invoices/2025/03/09/header-cancom-security-inv11671-from-02-09-2025-to-03-08-2025-10611.html [2025-03-09 04:31:11] Production.INFO: /var/www/tmp/1/247/Invoices/2025/03/09/footer-cancom-security-inv11671-from-02-09-2025-to-03-08-2025-10611.html [2025-03-09 04:31:11] Production.INFO: Invoice generation PDF path [2025-03-09 04:31:11] Production.INFO: PDF fullPath 1/247/Invoices/2025/03/09/Invoice-cancom-security-inv11671-from-02-09-2025-to-03-08-2025-10611.pdf [2025-03-09 04:31:11] Production.INFO: Generate Usage File Start [2025-03-09 04:31:11] Production.INFO: Usage File fullPath 1/247/InvoiceUsageFile/2025/03/09/cancom-security-09-02-2025-00-00-00-TO-08-03-2025-23-59-59_5107__db854b30-fcc0-11ef-baff-7d39d29039fd.csv [2025-03-09 04:31:13] Production.INFO: Sending Email to Staff over [2025-03-09 04:31:13] Production.INFO: Email Status 1 [2025-03-09 04:31:13] Production.INFO: Sending Email to Customer [2025-03-09 04:31:13] Production.INFO: =========== Email Sending over =========== [2025-03-09 04:31:13] Production.INFO: =========== Returning as Success =========== AccountID 247 [2025-03-09 04:31:13] Production.INFO: Invoice::sendInvoice done [2025-03-09 04:31:13] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-03-09 04:31:13] Production.INFO: Invoice Committed AccountID = 247 [2025-03-09 04:31:13] Production.INFO: =========== Updating InvoiceDate =========== [2025-03-09 04:31:13] Production.INFO: NextInvoice 2025-03-09 2025-04-08 [2025-03-09 04:31:13] Production.INFO: new dates [2025-03-09 04:31:13] Production.INFO: LastInvoiceDate 2025-03-09 NextInvoiceDate 2025-04-09 [2025-03-09 04:31:13] Production.INFO: LastChargeDate 2025-03-09 NextChargeDate 2025-04-08 [2025-03-09 04:31:13] Production.INFO: =========== Updated InvoiceDate =========== [2025-03-09 04:31:13] Production.INFO: ========================== Invoice Send End ============================= [2025-03-09 04:31:13] Production.INFO: ========================== Recurring invoice Start ============================= [2025-03-09 04:31:13] Production.INFO: recurring invoices ID [2025-03-09 04:31:13] Production.INFO: [2025-03-09 04:31:13] Production.INFO: recurring errorsArray ( ) [2025-03-09 04:31:13] Production.INFO: ========================== Recurring invoice End ============================= [2025-03-09 04:31:13] Production.INFO: ========================== Job Updated ============================= [2025-03-09 04:31:14] Production.INFO: ========================== Job Email Sent ============================= [2025-03-09 04:31:14] Production.ERROR: CronJobId end10 [2025-03-09 04:31:14] Production.INFO: ==10543== Releasing lock... [2025-03-09 04:31:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:31:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:31:15] Production.ERROR: **Email Sent Status 1 [2025-03-09 04:31:15] Production.ERROR: **Email Sent message Email has been sent [2025-03-09 04:31:15] Production.ERROR: CronJobId end6 [2025-03-09 04:31:15] Production.INFO: ==10539== Releasing lock... [2025-03-09 04:31:15] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops# [2025-03-09 04:31:15] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 04:31:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:31:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:31:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:31:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:31:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:31:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:31:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:31:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:31:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:31:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:31:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:31:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:31:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:31:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:31:16] Production.INFO: call_cost start [2025-03-09 04:31:16] Production.INFO: call_cost end [2025-03-09 04:31:17] Production.INFO: count ==191 [2025-03-09 04:31:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:31:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:31:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:31:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:31:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:31:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:31:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:31:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:31:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:31:17] Production.INFO: ==10537== Releasing lock... [2025-03-09 04:31:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:31:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:31:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:31:05 - End Time 2025-03-09 05:31:05 [2025-03-09 04:31:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639752', 'tblTempUsageDetail_20' ) start [2025-03-09 04:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639752', 'tblTempUsageDetail_20' ) end [2025-03-09 04:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639752', 'tblTempVendorCDR_20' ) start [2025-03-09 04:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639752', 'tblTempVendorCDR_20' ) end [2025-03-09 04:31:17] Production.INFO: ProcessCDR(1,14639752,1,1,2) [2025-03-09 04:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639752', 'tblTempUsageDetail_20' ) start [2025-03-09 04:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639752', 'tblTempUsageDetail_20' ) end [2025-03-09 04:31:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:31:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:31:21] Production.INFO: ==10547== Releasing lock... [2025-03-09 04:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:31:21] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:32:02] Production.INFO: ==10638== Lock acquired, processing the job... [2025-03-09 08:32:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:32:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:32:02] Production.INFO: neon service started [2025-03-09 08:32:02] Production.INFO: neon service started [2025-03-09 08:32:02] Production.INFO: ==10638== Releasing lock... [2025-03-09 08:32:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:32:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:32:02] Production.INFO: ==10642== Lock acquired, processing the job... [2025-03-09 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:32:02] Production.INFO: ==10642== Releasing lock... [2025-03-09 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:32:02] Production.INFO: ==10640== Lock acquired, processing the job... [2025-03-09 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:32:02] Production.INFO: ==10640== Releasing lock... [2025-03-09 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:32:03] Production.INFO: ==10651== Lock acquired, processing the job... [2025-03-09 04:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:32:03] Production.INFO: ==10645== Lock acquired, processing the job... [2025-03-09 04:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:32:03] Production.INFO: Account Balance Start. [2025-03-09 04:32:03] Production.INFO: CreateAllLog Start [2025-03-09 04:32:03] Production.INFO: 117 [2025-03-09 04:32:04] Production.INFO: ==10655== Lock acquired, processing the job... [2025-03-09 04:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:32:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:32:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:32:04] Production.INFO: ==10647== Lock acquired, processing the job... [2025-03-09 04:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:32:04] Production.INFO: ==10649== Lock acquired, processing the job... [2025-03-09 04:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:32:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:32:04] Production.INFO: Total Charge 0 [2025-03-09 04:32:04] Production.INFO: ==10653== Lock acquired, processing the job... [2025-03-09 04:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 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-09 04:32:04] Production.INFO: CreateAllLog End [2025-03-09 04:32:04] Production.INFO: count ==13 [2025-03-09 04:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 04:32:04] Production.INFO: count ==21 [2025-03-09 04:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639755') start [2025-03-09 04:32:04] Production.INFO: Account Balance End. [2025-03-09 04:32:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:32:04] Production.INFO: ==10651== Releasing lock... [2025-03-09 04:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639755') end [2025-03-09 04:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:32:04] Production.INFO: 1 [2025-03-09 04:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:32:04] Production.ERROR: done [2025-03-09 04:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:32:04] Production.INFO: ==10655== Releasing lock... [2025-03-09 04:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:32:04] Production.INFO: ==10647== Releasing lock... [2025-03-09 04:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:32:04] Production.ERROR: done [2025-03-09 04:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:32:05 [end_date_ymd] => 2025-03-09 05:32:05 [RateCDR] => 1 ) [2025-03-09 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-09 01:32:05' and `end` < '2025-03-09 05:32:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:32:12] Production.ERROR: CronJobId end10 [2025-03-09 04:32:12] Production.INFO: ==10649== Releasing lock... [2025-03-09 04:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:32:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:32:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:32:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:32:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:32:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:32:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:32:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:32:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:32:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:32:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:32:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:32:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:32:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:32:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:32:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:32:15] Production.INFO: call_cost start [2025-03-09 04:32:15] Production.INFO: call_cost end [2025-03-09 04:32:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:32:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:32:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:32:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:32:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:32:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:32:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:32:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:32:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:32:16] Production.INFO: ==10645== Releasing lock... [2025-03-09 04:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:32:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:32:17] Production.INFO: count ==191 [2025-03-09 04:32:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:32:05 - End Time 2025-03-09 05:32:05 [2025-03-09 04:32:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639757', 'tblTempUsageDetail_20' ) start [2025-03-09 04:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639757', 'tblTempUsageDetail_20' ) end [2025-03-09 04:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639757', 'tblTempVendorCDR_20' ) start [2025-03-09 04:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639757', 'tblTempVendorCDR_20' ) end [2025-03-09 04:32:17] Production.INFO: ProcessCDR(1,14639757,1,1,2) [2025-03-09 04:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639757', 'tblTempUsageDetail_20' ) start [2025-03-09 04:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639757', 'tblTempUsageDetail_20' ) end [2025-03-09 04:32:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:32:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:32:21] Production.INFO: ==10653== Releasing lock... [2025-03-09 04:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:32:21] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:33:01] Production.INFO: ==10746== Lock acquired, processing the job... [2025-03-09 08:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:33:01] Production.INFO: neon service started [2025-03-09 08:33:01] Production.INFO: neon service started [2025-03-09 08:33:01] Production.INFO: ==10746== Releasing lock... [2025-03-09 08:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:33:01] Production.INFO: ==10748== Lock acquired, processing the job... [2025-03-09 04:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:33:02] Production.INFO: ==10748== Releasing lock... [2025-03-09 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:33:02] Production.INFO: ==10750== Lock acquired, processing the job... [2025-03-09 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:33:02] Production.INFO: ==10750== Releasing lock... [2025-03-09 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:33:03] Production.INFO: ==10755== Lock acquired, processing the job... [2025-03-09 04:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:33:03] Production.INFO: ==10763== Lock acquired, processing the job... [2025-03-09 04:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:33:03] Production.INFO: ==10753== Lock acquired, processing the job... [2025-03-09 04:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:33:03] Production.INFO: ==10757== Lock acquired, processing the job... [2025-03-09 04:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:33:03] Production.INFO: ==10759== Lock acquired, processing the job... [2025-03-09 04:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:33:03] Production.INFO: ==10761== Lock acquired, processing the job... [2025-03-09 04:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:33:03] Production.INFO: count ==13 [2025-03-09 04:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:33:03] Production.INFO: count ==21 [2025-03-09 04:33:03] Production.INFO: ==10755== Releasing lock... [2025-03-09 04:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:33:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639759') start [2025-03-09 04:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639759') end [2025-03-09 04:33:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:33:03] Production.INFO: 1 [2025-03-09 04:33:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:33:03] Production.INFO: Account Balance Start. [2025-03-09 04:33:03] Production.INFO: CreateAllLog Start [2025-03-09 04:33:03] Production.INFO: 117 [2025-03-09 04:33:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:33:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:33:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:33:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:33:03] Production.INFO: Total Charge 0 [2025-03-09 04:33:03] Production.INFO: ==10763== Releasing lock... [2025-03-09 04:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:33:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:33:03] Production.INFO: CreateAllLog End [2025-03-09 04:33:03] Production.ERROR: done [2025-03-09 04:33:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:33:04] Production.ERROR: done [2025-03-09 04:33:04] Production.INFO: Account Balance End. [2025-03-09 04:33:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:33:04] Production.INFO: ==10759== Releasing lock... [2025-03-09 04:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:33:05 [end_date_ymd] => 2025-03-09 05:33:05 [RateCDR] => 1 ) [2025-03-09 04:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:33:05' and `end` < '2025-03-09 05:33:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:33:11] Production.ERROR: CronJobId end10 [2025-03-09 04:33:11] Production.INFO: ==10757== Releasing lock... [2025-03-09 04:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:33:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:33:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:33:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:33:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:33:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:33:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:33:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:33:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:33:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:33:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:33:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:33:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:33:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:33:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:33:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:33:14] Production.INFO: call_cost start [2025-03-09 04:33:14] Production.INFO: call_cost end [2025-03-09 04:33:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:33:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:33:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:33:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:33:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:33:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:33:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:33:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:33:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:33:15] Production.INFO: ==10753== Releasing lock... [2025-03-09 04:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:33:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:33:17] Production.INFO: count ==189 [2025-03-09 04:33:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:33:05 - End Time 2025-03-09 05:33:05 [2025-03-09 04:33:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639762', 'tblTempUsageDetail_20' ) start [2025-03-09 04:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639762', 'tblTempUsageDetail_20' ) end [2025-03-09 04:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639762', 'tblTempVendorCDR_20' ) start [2025-03-09 04:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639762', 'tblTempVendorCDR_20' ) end [2025-03-09 04:33:17] Production.INFO: ProcessCDR(1,14639762,1,1,2) [2025-03-09 04:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639762', 'tblTempUsageDetail_20' ) start [2025-03-09 04:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639762', 'tblTempUsageDetail_20' ) end [2025-03-09 04:33:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:33:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:33:20] Production.INFO: ==10761== Releasing lock... [2025-03-09 04:33:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:33:20] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 08:34:01] Production.INFO: ==10820== Lock acquired, processing the job... [2025-03-09 08:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:34:01] Production.INFO: neon service started [2025-03-09 08:34:01] Production.INFO: neon service started [2025-03-09 08:34:01] Production.INFO: ==10820== Releasing lock... [2025-03-09 08:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:34:02] Production.INFO: ==10822== Lock acquired, processing the job... [2025-03-09 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:34:02] Production.INFO: ==10822== Releasing lock... [2025-03-09 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:34:02] Production.INFO: ==10824== Lock acquired, processing the job... [2025-03-09 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:34:02] Production.INFO: ==10824== Releasing lock... [2025-03-09 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:34:03] Production.INFO: ==10827== Lock acquired, processing the job... [2025-03-09 04:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:34:03] Production.INFO: ==10835== Lock acquired, processing the job... [2025-03-09 04:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:34:03] Production.INFO: ==10837== Lock acquired, processing the job... [2025-03-09 04:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:34:03] Production.INFO: ==10831== Lock acquired, processing the job... [2025-03-09 04:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:34:03] Production.INFO: ==10833== Lock acquired, processing the job... [2025-03-09 04:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:34:03] Production.INFO: ==10829== Lock acquired, processing the job... [2025-03-09 04:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:34:03] Production.INFO: count ==13 [2025-03-09 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-09 04:34:04] Production.INFO: count ==21 [2025-03-09 04:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:34:04] Production.INFO: Account Balance Start. [2025-03-09 04:34:04] Production.INFO: CreateAllLog Start [2025-03-09 04:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639764') start [2025-03-09 04:34:04] Production.INFO: 117 [2025-03-09 04:34:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:34:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:34:04] Production.ERROR: done [2025-03-09 04:34:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:34:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639764') end [2025-03-09 04:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:34:04] Production.INFO: 1 [2025-03-09 04:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:34:04] Production.INFO: Total Charge 0 [2025-03-09 04:34:04] Production.INFO: CreateAllLog End [2025-03-09 04:34:04] Production.INFO: ==10837== Releasing lock... [2025-03-09 04:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:34:04] Production.INFO: ==10829== Releasing lock... [2025-03-09 04:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:34:04] Production.ERROR: done [2025-03-09 04:34:04] Production.INFO: Account Balance End. [2025-03-09 04:34:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:34:04] Production.INFO: ==10833== Releasing lock... [2025-03-09 04:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:34:05 [end_date_ymd] => 2025-03-09 05:34:05 [RateCDR] => 1 ) [2025-03-09 04:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:34:05' and `end` < '2025-03-09 05:34:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:34:12] Production.ERROR: CronJobId end10 [2025-03-09 04:34:12] Production.INFO: ==10831== Releasing lock... [2025-03-09 04:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:34:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:34:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:34:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:34:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:34:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:34:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:34:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:34:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:34:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:34:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:34:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:34:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:34:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:34:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:34:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:34:14] Production.INFO: call_cost start [2025-03-09 04:34:14] Production.INFO: call_cost end [2025-03-09 04:34:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:34:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:34:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:34:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:34:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:34:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:34:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:34:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:34:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:34:15] Production.INFO: ==10827== Releasing lock... [2025-03-09 04:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:34:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:34:17] Production.INFO: count ==192 [2025-03-09 04:34:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:34:05 - End Time 2025-03-09 05:34:05 [2025-03-09 04:34:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639767', 'tblTempUsageDetail_20' ) start [2025-03-09 04:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639767', 'tblTempUsageDetail_20' ) end [2025-03-09 04:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639767', 'tblTempVendorCDR_20' ) start [2025-03-09 04:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639767', 'tblTempVendorCDR_20' ) end [2025-03-09 04:34:17] Production.INFO: ProcessCDR(1,14639767,1,1,2) [2025-03-09 04:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:34:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639767', 'tblTempUsageDetail_20' ) start [2025-03-09 04:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639767', 'tblTempUsageDetail_20' ) end [2025-03-09 04:34:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:34:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:34:20] Production.INFO: ==10835== Releasing lock... [2025-03-09 04:34:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:34:20] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 08:35:01] Production.INFO: ==10894== Lock acquired, processing the job... [2025-03-09 08:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:35:01] Production.INFO: neon service started [2025-03-09 08:35:01] Production.INFO: neon service started [2025-03-09 08:35:01] Production.INFO: ==10894== Releasing lock... [2025-03-09 08:35:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:35:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:35:02] Production.INFO: ==10896== Lock acquired, processing the job... [2025-03-09 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:35:02] Production.INFO: ==10898== Lock acquired, processing the job... [2025-03-09 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:35:02] Production.INFO: ==10898== Releasing lock... [2025-03-09 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:35:02] Production.INFO: ==10896== Releasing lock... [2025-03-09 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:35:03] Production.INFO: ==10905== Lock acquired, processing the job... [2025-03-09 04:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:35:03] Production.INFO: ==10911== Lock acquired, processing the job... [2025-03-09 04:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:35:03] Production.INFO: ==10901== Lock acquired, processing the job... [2025-03-09 04:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:35:03] Production.INFO: ==10903== Lock acquired, processing the job... [2025-03-09 04:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:35:03] Production.INFO: count ==13 [2025-03-09 04:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:35:03] Production.INFO: count ==21 [2025-03-09 04:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639768') start [2025-03-09 04:35:03] Production.INFO: ==10907== Lock acquired, processing the job... [2025-03-09 04:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639768') end [2025-03-09 04:35:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:35:03] Production.INFO: 1 [2025-03-09 04:35:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:35:03] Production.INFO: ==10909== Lock acquired, processing the job... [2025-03-09 04:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:35:03] Production.INFO: ==10911== Releasing lock... [2025-03-09 04:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:35:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:35:03] Production.INFO: Account Balance Start. [2025-03-09 04:35:03] Production.INFO: CreateAllLog Start [2025-03-09 04:35:03] Production.INFO: 117 [2025-03-09 04:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:35:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:35:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:35:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:35:04] Production.INFO: Total Charge 0 [2025-03-09 04:35:04] Production.INFO: ==10903== Releasing lock... [2025-03-09 04:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:35:04] Production.INFO: CreateAllLog End [2025-03-09 04:35:04] Production.ERROR: done [2025-03-09 04:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:35:04] Production.INFO: Account Balance End. [2025-03-09 04:35:04] Production.ERROR: done [2025-03-09 04:35:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:35:04] Production.INFO: ==10907== Releasing lock... [2025-03-09 04:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:35:05 [end_date_ymd] => 2025-03-09 05:35:05 [RateCDR] => 1 ) [2025-03-09 04:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:35:05' and `end` < '2025-03-09 05:35:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:35:11] Production.ERROR: CronJobId end10 [2025-03-09 04:35:11] Production.INFO: ==10905== Releasing lock... [2025-03-09 04:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:35:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:35:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:35:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:35:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:35:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:35:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:35:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:35:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:35:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:35:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:35:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:35:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:35:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:35:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:35:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:35:14] Production.INFO: call_cost start [2025-03-09 04:35:14] Production.INFO: call_cost end [2025-03-09 04:35:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:35:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:35:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:35:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:35:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:35:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:35:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:35:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:35:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:35:15] Production.INFO: ==10901== Releasing lock... [2025-03-09 04:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:35:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:35:17] Production.INFO: count ==197 [2025-03-09 04:35:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:35:05 - End Time 2025-03-09 05:35:05 [2025-03-09 04:35:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639772', 'tblTempUsageDetail_20' ) start [2025-03-09 04:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639772', 'tblTempUsageDetail_20' ) end [2025-03-09 04:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639772', 'tblTempVendorCDR_20' ) start [2025-03-09 04:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639772', 'tblTempVendorCDR_20' ) end [2025-03-09 04:35:17] Production.INFO: ProcessCDR(1,14639772,1,1,2) [2025-03-09 04:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639772', 'tblTempUsageDetail_20' ) start [2025-03-09 04:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639772', 'tblTempUsageDetail_20' ) end [2025-03-09 04:35:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:35:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:35:20] Production.INFO: ==10909== Releasing lock... [2025-03-09 04:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:35:20] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 08:36:02] Production.INFO: ==10965== Lock acquired, processing the job... [2025-03-09 08:36:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:36:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:36:02] Production.INFO: neon service started [2025-03-09 08:36:02] Production.INFO: neon service started [2025-03-09 08:36:02] Production.INFO: ==10965== Releasing lock... [2025-03-09 08:36:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:36:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:36:02] Production.INFO: ==10967== Lock acquired, processing the job... [2025-03-09 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:36:02] Production.INFO: ==10969== Lock acquired, processing the job... [2025-03-09 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:36:02] Production.INFO: ==10969== Releasing lock... [2025-03-09 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:36:03] Production.INFO: ==10967== Releasing lock... [2025-03-09 04:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:36:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:36:03] Production.INFO: ==10974== Lock acquired, processing the job... [2025-03-09 04:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:36:04] Production.INFO: ==10980== Lock acquired, processing the job... [2025-03-09 04:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:36:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:36:04] Production.INFO: ==10972== Lock acquired, processing the job... [2025-03-09 04:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:36:04] Production.INFO: ==10976== Lock acquired, processing the job... [2025-03-09 04:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:36:04] Production.INFO: ==10978== Lock acquired, processing the job... [2025-03-09 04:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:36:04] Production.INFO: ==10982== Lock acquired, processing the job... [2025-03-09 04:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:36:04] Production.INFO: ==10974== Releasing lock... [2025-03-09 04:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:36:04] Production.ERROR: done [2025-03-09 04:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:36:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:36:04] Production.INFO: Account Balance Start. [2025-03-09 04:36:04] Production.INFO: CreateAllLog Start [2025-03-09 04:36:04] Production.INFO: 117 [2025-03-09 04:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:36:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:36:04] Production.INFO: count ==13 [2025-03-09 04:36:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:36:04] Production.INFO: count ==21 [2025-03-09 04:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639775') start [2025-03-09 04:36:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:36:04] Production.ERROR: done [2025-03-09 04:36:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:36:04] Production.INFO: Total Charge 0 [2025-03-09 04:36:04] Production.INFO: CreateAllLog End [2025-03-09 04:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639775') end [2025-03-09 04:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:36:04] Production.INFO: 1 [2025-03-09 04:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:36:04] Production.INFO: ==10982== Releasing lock... [2025-03-09 04:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:36:04] Production.INFO: Account Balance End. [2025-03-09 04:36:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:36:04] Production.INFO: ==10978== Releasing lock... [2025-03-09 04:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:36:05 [end_date_ymd] => 2025-03-09 05:36:05 [RateCDR] => 1 ) [2025-03-09 04:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:36:05' and `end` < '2025-03-09 05:36:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:36:12] Production.ERROR: CronJobId end10 [2025-03-09 04:36:12] Production.INFO: ==10976== Releasing lock... [2025-03-09 04:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:36:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:36:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:36:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:36:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:36:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:36:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:36:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:36:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:36:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:36:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:36:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:36:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:36:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:36:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:36:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:36:14] Production.INFO: call_cost start [2025-03-09 04:36:14] Production.INFO: call_cost end [2025-03-09 04:36:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:36:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:36:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:36:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:36:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:36:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:36:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:36:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:36:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:36:15] Production.INFO: ==10972== Releasing lock... [2025-03-09 04:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:36:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:36:17] Production.INFO: count ==201 [2025-03-09 04:36:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:36:05 - End Time 2025-03-09 05:36:05 [2025-03-09 04:36:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639777', 'tblTempUsageDetail_20' ) start [2025-03-09 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639777', 'tblTempUsageDetail_20' ) end [2025-03-09 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639777', 'tblTempVendorCDR_20' ) start [2025-03-09 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639777', 'tblTempVendorCDR_20' ) end [2025-03-09 04:36:18] Production.INFO: ProcessCDR(1,14639777,1,1,2) [2025-03-09 04:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639777', 'tblTempUsageDetail_20' ) start [2025-03-09 04:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639777', 'tblTempUsageDetail_20' ) end [2025-03-09 04:36:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:36:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:36:21] Production.INFO: ==10980== Releasing lock... [2025-03-09 04:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:36:21] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:37:01] Production.INFO: ==11036== Lock acquired, processing the job... [2025-03-09 08:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:37:01] Production.INFO: neon service started [2025-03-09 08:37:01] Production.INFO: neon service started [2025-03-09 08:37:01] Production.INFO: ==11036== Releasing lock... [2025-03-09 08:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:37:01] Production.INFO: ==11040== Lock acquired, processing the job... [2025-03-09 08:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:37:01] Production.INFO: ==11040== Releasing lock... [2025-03-09 08:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:37:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:37:02] Production.INFO: ==11038== Lock acquired, processing the job... [2025-03-09 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:37:02] Production.INFO: ==11038== Releasing lock... [2025-03-09 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:37:03] Production.INFO: ==11043== Lock acquired, processing the job... [2025-03-09 04:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:37:03] Production.INFO: ==11053== Lock acquired, processing the job... [2025-03-09 04:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:37:03] Production.INFO: ==11045== Lock acquired, processing the job... [2025-03-09 04:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:37:03] Production.INFO: count ==13 [2025-03-09 04:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:37:03] Production.INFO: count ==21 [2025-03-09 04:37:03] Production.INFO: ==11047== Lock acquired, processing the job... [2025-03-09 04:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639779') start [2025-03-09 04:37:03] Production.INFO: ==11049== Lock acquired, processing the job... [2025-03-09 04:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:37:03] Production.INFO: ==11051== Lock acquired, processing the job... [2025-03-09 04:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639779') end [2025-03-09 04:37:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:37:03] Production.INFO: 1 [2025-03-09 04:37:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:37:03] Production.INFO: Account Balance Start. [2025-03-09 04:37:03] Production.INFO: CreateAllLog Start [2025-03-09 04:37:03] Production.INFO: 117 [2025-03-09 04:37:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:37:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:37:03] Production.INFO: ==11045== Releasing lock... [2025-03-09 04:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:37:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:37:03] Production.INFO: ==11053== Releasing lock... [2025-03-09 04:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:37:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:37:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:37:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:37:04] Production.INFO: Total Charge 0 [2025-03-09 04:37:04] Production.INFO: CreateAllLog End [2025-03-09 04:37:04] Production.ERROR: done [2025-03-09 04:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:37:04] Production.INFO: Account Balance End. [2025-03-09 04:37:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:37:04] Production.INFO: ==11049== Releasing lock... [2025-03-09 04:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:37:04] Production.ERROR: done [2025-03-09 04:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:37:05 [end_date_ymd] => 2025-03-09 05:37:05 [RateCDR] => 1 ) [2025-03-09 04:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:37:05' and `end` < '2025-03-09 05:37:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:37:11] Production.ERROR: CronJobId end10 [2025-03-09 04:37:11] Production.INFO: ==11047== Releasing lock... [2025-03-09 04:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:37:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:37:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:37:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:37:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:37:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:37:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:37:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:37:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:37:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:37:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:37:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:37:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:37:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:37:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:37:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:37:13] Production.INFO: call_cost start [2025-03-09 04:37:13] Production.INFO: call_cost end [2025-03-09 04:37:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:37:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:37:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:37:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:37:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:37:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:37:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:37:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:37:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:37:14] Production.INFO: ==11043== Releasing lock... [2025-03-09 04:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:37:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:37:17] Production.INFO: count ==203 [2025-03-09 04:37:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:37:05 - End Time 2025-03-09 05:37:05 [2025-03-09 04:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639782', 'tblTempUsageDetail_20' ) start [2025-03-09 04:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639782', 'tblTempUsageDetail_20' ) end [2025-03-09 04:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639782', 'tblTempVendorCDR_20' ) start [2025-03-09 04:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639782', 'tblTempVendorCDR_20' ) end [2025-03-09 04:37:17] Production.INFO: ProcessCDR(1,14639782,1,1,2) [2025-03-09 04:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639782', 'tblTempUsageDetail_20' ) start [2025-03-09 04:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639782', 'tblTempUsageDetail_20' ) end [2025-03-09 04:37:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:37:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:37:21] Production.INFO: ==11051== Releasing lock... [2025-03-09 04:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:37:21] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:38:01] Production.INFO: ==11108== Lock acquired, processing the job... [2025-03-09 08:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:38:02] Production.INFO: neon service started [2025-03-09 08:38:02] Production.INFO: neon service started [2025-03-09 08:38:02] Production.INFO: ==11108== Releasing lock... [2025-03-09 08:38:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:38:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:38:02] Production.INFO: ==11112== Lock acquired, processing the job... [2025-03-09 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:38:02] Production.INFO: ==11112== Releasing lock... [2025-03-09 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:38:02] Production.INFO: ==11110== Lock acquired, processing the job... [2025-03-09 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:38:02] Production.INFO: ==11110== Releasing lock... [2025-03-09 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:38:03] Production.INFO: ==11114== Lock acquired, processing the job... [2025-03-09 04:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:38:03] Production.INFO: ==11124== Lock acquired, processing the job... [2025-03-09 04:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:38:03] Production.INFO: ==11116== Lock acquired, processing the job... [2025-03-09 04:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:38:03] Production.INFO: ==11120== Lock acquired, processing the job... [2025-03-09 04:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:38:03] Production.INFO: count ==13 [2025-03-09 04:38:03] Production.INFO: ==11118== Lock acquired, processing the job... [2025-03-09 04:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 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-09 04:38:03] Production.INFO: ==11122== Lock acquired, processing the job... [2025-03-09 04:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:38:03] Production.INFO: count ==21 [2025-03-09 04:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639784') start [2025-03-09 04:38:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:38:04] Production.INFO: Account Balance Start. [2025-03-09 04:38:04] Production.INFO: CreateAllLog Start [2025-03-09 04:38:04] Production.INFO: 117 [2025-03-09 04:38:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639784') end [2025-03-09 04:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:38:04] Production.INFO: 1 [2025-03-09 04:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:38:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:38:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:38:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:38:04] Production.INFO: Total Charge 0 [2025-03-09 04:38:04] Production.INFO: CreateAllLog End [2025-03-09 04:38:04] Production.INFO: ==11124== Releasing lock... [2025-03-09 04:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:38:04] Production.INFO: ==11116== Releasing lock... [2025-03-09 04:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:38:04] Production.INFO: Account Balance End. [2025-03-09 04:38:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:38:04] Production.INFO: ==11120== Releasing lock... [2025-03-09 04:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:38:04] Production.ERROR: done [2025-03-09 04:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:38:04] Production.ERROR: done [2025-03-09 04:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:38:05 [end_date_ymd] => 2025-03-09 05:38:05 [RateCDR] => 1 ) [2025-03-09 04:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:38:05' and `end` < '2025-03-09 05:38:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:38:12] Production.ERROR: CronJobId end10 [2025-03-09 04:38:12] Production.INFO: ==11118== Releasing lock... [2025-03-09 04:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:38:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:38:14] Production.INFO: call_cost start [2025-03-09 04:38:14] Production.INFO: call_cost end [2025-03-09 04:38:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:38:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:38:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:38:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:38:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:38:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:38:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:38:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:38:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:38:15] Production.INFO: ==11114== Releasing lock... [2025-03-09 04:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:38:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:38:17] Production.INFO: count ==212 [2025-03-09 04:38:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:38:05 - End Time 2025-03-09 05:38:05 [2025-03-09 04:38:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639787', 'tblTempUsageDetail_20' ) start [2025-03-09 04:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639787', 'tblTempUsageDetail_20' ) end [2025-03-09 04:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639787', 'tblTempVendorCDR_20' ) start [2025-03-09 04:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639787', 'tblTempVendorCDR_20' ) end [2025-03-09 04:38:17] Production.INFO: ProcessCDR(1,14639787,1,1,2) [2025-03-09 04:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639787', 'tblTempUsageDetail_20' ) start [2025-03-09 04:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639787', 'tblTempUsageDetail_20' ) end [2025-03-09 04:38:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:38:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:38:21] Production.INFO: ==11122== Releasing lock... [2025-03-09 04:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:38:21] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 08:39:01] Production.INFO: ==11179== Lock acquired, processing the job... [2025-03-09 08:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:39:01] Production.INFO: neon service started [2025-03-09 08:39:01] Production.INFO: neon service started [2025-03-09 08:39:01] Production.INFO: ==11179== Releasing lock... [2025-03-09 08:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:39:01] Production.INFO: ==11181== Lock acquired, processing the job... [2025-03-09 04:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:39:02] Production.INFO: ==11181== Releasing lock... [2025-03-09 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:39:02] Production.INFO: ==11183== Lock acquired, processing the job... [2025-03-09 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:39:02] Production.INFO: ==11183== Releasing lock... [2025-03-09 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:39:03] Production.INFO: ==11185== Lock acquired, processing the job... [2025-03-09 04:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:39:03] Production.INFO: ==11187== Lock acquired, processing the job... [2025-03-09 04:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:39:03] Production.INFO: ==11193== Lock acquired, processing the job... [2025-03-09 04:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:39:03] Production.INFO: ==11191== Lock acquired, processing the job... [2025-03-09 04:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:39:03] Production.INFO: ==11189== Lock acquired, processing the job... [2025-03-09 04:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:39:03] Production.INFO: Account Balance Start. [2025-03-09 04:39:03] Production.INFO: CreateAllLog Start [2025-03-09 04:39:03] Production.INFO: 117 [2025-03-09 04:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:39:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:39:03] Production.INFO: ==11195== Lock acquired, processing the job... [2025-03-09 04:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:39:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:39:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:39:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:39:03] Production.INFO: Total Charge 0 [2025-03-09 04:39:03] Production.INFO: CreateAllLog End [2025-03-09 04:39:03] Production.INFO: ==11187== Releasing lock... [2025-03-09 04:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:39:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:39:03] Production.INFO: count ==13 [2025-03-09 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-09 04:39:03] Production.INFO: count ==21 [2025-03-09 04:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639791') start [2025-03-09 04:39:03] Production.ERROR: done [2025-03-09 04:39:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639791') end [2025-03-09 04:39:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:39:03] Production.INFO: 1 [2025-03-09 04:39:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:39:03] Production.INFO: ==11195== Releasing lock... [2025-03-09 04:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:39:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:39:03] Production.INFO: Account Balance End. [2025-03-09 04:39:03] Production.ERROR: done [2025-03-09 04:39:03] Production.ERROR: CronJobId end 12 [2025-03-09 04:39:03] Production.INFO: ==11191== Releasing lock... [2025-03-09 04:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:39:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:39:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:39:04 [end_date_ymd] => 2025-03-09 05:39:04 [RateCDR] => 1 ) [2025-03-09 04:39:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:39:04' and `end` < '2025-03-09 05:39:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:39:10] Production.ERROR: CronJobId end10 [2025-03-09 04:39:10] Production.INFO: ==11189== Releasing lock... [2025-03-09 04:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:39:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:39:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:39:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:39:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:39:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:39:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:39:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:39:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:39:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:39:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:39:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:39:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:39:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:39:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:39:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:39:13] Production.INFO: call_cost start [2025-03-09 04:39:13] Production.INFO: call_cost end [2025-03-09 04:39:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:39:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:39:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:39:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:39:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:39:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:39:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:39:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:39:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:39:14] Production.INFO: ==11185== Releasing lock... [2025-03-09 04:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:39:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:39:16] Production.INFO: count ==217 [2025-03-09 04:39:16] Production.ERROR: pbx CDR StartTime 2025-03-09 01:39:04 - End Time 2025-03-09 05:39:04 [2025-03-09 04:39:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:39:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639792', 'tblTempUsageDetail_20' ) start [2025-03-09 04:39:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639792', 'tblTempUsageDetail_20' ) end [2025-03-09 04:39:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639792', 'tblTempVendorCDR_20' ) start [2025-03-09 04:39:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639792', 'tblTempVendorCDR_20' ) end [2025-03-09 04:39:16] Production.INFO: ProcessCDR(1,14639792,1,1,2) [2025-03-09 04:39:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:39:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:39:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639792', 'tblTempUsageDetail_20' ) start [2025-03-09 04:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639792', 'tblTempUsageDetail_20' ) end [2025-03-09 04:39:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:39:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:39:20] Production.INFO: ==11193== Releasing lock... [2025-03-09 04:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:39:20] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:40:01] Production.INFO: ==11254== Lock acquired, processing the job... [2025-03-09 08:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:40:01] Production.INFO: neon service started [2025-03-09 08:40:01] Production.INFO: neon service started [2025-03-09 08:40:01] Production.INFO: ==11254== Releasing lock... [2025-03-09 08:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:40:02] Production.INFO: ==11256== Lock acquired, processing the job... [2025-03-09 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:40:02] Production.INFO: ==11258== Lock acquired, processing the job... [2025-03-09 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:40:02] Production.INFO: ==11258== Releasing lock... [2025-03-09 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:40:03] Production.INFO: ==11256== Releasing lock... [2025-03-09 04:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:40:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:40:04] Production.INFO: ==11263== Lock acquired, processing the job... [2025-03-09 04:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:40:04] Production.INFO: ==11261== Lock acquired, processing the job... [2025-03-09 04:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 04:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:40:04] Production.INFO: ==11269== Lock acquired, processing the job... [2025-03-09 04:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:40:04] Production.INFO: ==11267== Lock acquired, processing the job... [2025-03-09 04:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 04:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 04:40:04] Production.ERROR: CronJob PID - 11263 [2025-03-09 04:40:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 04:40:04] Production.ERROR: CronJob ID - 5 [2025-03-09 04:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 04:40:00 [2025-03-09 04:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 04:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 04:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 04:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:40:04] Production.INFO: ==11261== Releasing lock... [2025-03-09 04:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 04:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 04:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:40:04] Production.INFO: Account Balance Start. [2025-03-09 04:40:04] Production.INFO: CreateAllLog Start [2025-03-09 04:40:04] Production.INFO: ==11265== Lock acquired, processing the job... [2025-03-09 04:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:40:04] Production.INFO: 117 [2025-03-09 04:40:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:40:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:40:04] Production.INFO: Total Charge 0 [2025-03-09 04:40:04] Production.INFO: CreateAllLog End [2025-03-09 04:40:04] Production.INFO: ==11271== Lock acquired, processing the job... [2025-03-09 04:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:40:04] Production.INFO: ==11273== Lock acquired, processing the job... [2025-03-09 04:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 04:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:40:04] Production.INFO: ==11275== Lock acquired, processing the job... [2025-03-09 04:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:40:04] Production.INFO: Account Balance End. [2025-03-09 04:40:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:40:04] Production.INFO: ==11269== Releasing lock... [2025-03-09 04:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:40:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:40:04] Production.INFO: ==11265== Releasing lock... [2025-03-09 04:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04: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-09 04:40:05] Production.INFO: count ==13 [2025-03-09 04: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-09 04:40:05] Production.INFO: count ==21 [2025-03-09 04:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639796') start [2025-03-09 04:40:05] Production.ERROR: done [2025-03-09 04:40:05] Production.ERROR: done [2025-03-09 04:40:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639796') end [2025-03-09 04:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 04:40:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639797', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 04:40:05] Production.INFO: 1 [2025-03-09 04:40:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:40:05] Production.ERROR: done [2025-03-09 04:40:05] Production.INFO: ==11275== Releasing lock... [2025-03-09 04:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:40:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:40:06 [end_date_ymd] => 2025-03-09 05:40:06 [RateCDR] => 1 ) [2025-03-09 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-09 01:40:06' and `end` < '2025-03-09 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-09 04:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639797', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 04:40:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 04:40:10] Production.INFO: ProcessCDR(1,14639797,1,1,2) [2025-03-09 04:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14639797,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14639797,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:40:10] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:40:10] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:40:10] Production.INFO: ==11273== Releasing lock... [2025-03-09 04:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 04:40:10] Production.INFO: 26 MB #Memory Used# [2025-03-09 04:40:15] Production.ERROR: CronJobId end10 [2025-03-09 04:40:15] Production.INFO: ==11267== Releasing lock... [2025-03-09 04:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:40:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:40:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:40:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:40:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:40:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:40:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:40:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:40:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:40:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:40:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:40:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:40:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:40:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:40:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:40:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:40:17] Production.INFO: call_cost start [2025-03-09 04:40:17] Production.INFO: call_cost end [2025-03-09 04:40:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:40:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:40:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:40:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:40:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:40:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:40:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:40:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:40:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:40:18] Production.INFO: ==11263== Releasing lock... [2025-03-09 04:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:40:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:40:19] Production.INFO: count ==223 [2025-03-09 04:40:19] Production.ERROR: pbx CDR StartTime 2025-03-09 01:40:06 - End Time 2025-03-09 05:40:06 [2025-03-09 04:40:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639798', 'tblTempUsageDetail_20' ) start [2025-03-09 04:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639798', 'tblTempUsageDetail_20' ) end [2025-03-09 04:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639798', 'tblTempVendorCDR_20' ) start [2025-03-09 04:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639798', 'tblTempVendorCDR_20' ) end [2025-03-09 04:40:19] Production.INFO: ProcessCDR(1,14639798,1,1,2) [2025-03-09 04:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639798', 'tblTempUsageDetail_20' ) start [2025-03-09 04:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639798', 'tblTempUsageDetail_20' ) end [2025-03-09 04:40:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:40:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:40:22] Production.INFO: ==11271== Releasing lock... [2025-03-09 04:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:40:22] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:41:01] Production.INFO: ==11333== Lock acquired, processing the job... [2025-03-09 08:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:41:01] Production.INFO: neon service started [2025-03-09 08:41:01] Production.INFO: neon service started [2025-03-09 08:41:01] Production.INFO: ==11333== Releasing lock... [2025-03-09 08:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:41:01] Production.INFO: ==11337== Lock acquired, processing the job... [2025-03-09 08:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:41:01] Production.INFO: ==11337== Releasing lock... [2025-03-09 08:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:41:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:41:01] Production.INFO: ==11335== Lock acquired, processing the job... [2025-03-09 04:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:41:02] Production.INFO: ==11335== Releasing lock... [2025-03-09 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:41:03] Production.INFO: ==11344== Lock acquired, processing the job... [2025-03-09 04:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:41:03] Production.INFO: ==11348== Lock acquired, processing the job... [2025-03-09 04:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:41:03] Production.INFO: ==11340== Lock acquired, processing the job... [2025-03-09 04:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:41:03] Production.INFO: ==11342== Lock acquired, processing the job... [2025-03-09 04:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:41:03] Production.INFO: ==11346== Lock acquired, processing the job... [2025-03-09 04:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:41:03] Production.INFO: ==11350== Lock acquired, processing the job... [2025-03-09 04:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:41:03] Production.INFO: Account Balance Start. [2025-03-09 04:41:03] Production.INFO: CreateAllLog Start [2025-03-09 04:41:03] Production.INFO: 117 [2025-03-09 04:41:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:41:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:41:03] Production.INFO: Total Charge 0 [2025-03-09 04:41:03] Production.INFO: CreateAllLog End [2025-03-09 04:41:03] Production.ERROR: done [2025-03-09 04:41:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:41:03] Production.INFO: count ==13 [2025-03-09 04:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:41:03] Production.INFO: count ==21 [2025-03-09 04:41:03] Production.INFO: ==11342== Releasing lock... [2025-03-09 04:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:41:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639802') start [2025-03-09 04:41:03] Production.ERROR: done [2025-03-09 04:41:03] Production.INFO: Account Balance End. [2025-03-09 04:41:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:41:04] Production.INFO: ==11346== Releasing lock... [2025-03-09 04:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639802') end [2025-03-09 04:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:41:04] Production.INFO: 1 [2025-03-09 04:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:41:04] Production.INFO: ==11350== Releasing lock... [2025-03-09 04:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:41:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:41:04 [end_date_ymd] => 2025-03-09 05:41:04 [RateCDR] => 1 ) [2025-03-09 04:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:41:04' and `end` < '2025-03-09 05:41:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:41:12] Production.ERROR: CronJobId end10 [2025-03-09 04:41:12] Production.INFO: ==11344== Releasing lock... [2025-03-09 04:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:41:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:41:14] Production.INFO: call_cost start [2025-03-09 04:41:14] Production.INFO: call_cost end [2025-03-09 04:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:41:15] Production.INFO: ==11340== Releasing lock... [2025-03-09 04:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:41:16] Production.INFO: count ==210 [2025-03-09 04:41:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:41:04 - End Time 2025-03-09 05:41:04 [2025-03-09 04:41:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639803', 'tblTempUsageDetail_20' ) start [2025-03-09 04:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639803', 'tblTempUsageDetail_20' ) end [2025-03-09 04:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639803', 'tblTempVendorCDR_20' ) start [2025-03-09 04:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639803', 'tblTempVendorCDR_20' ) end [2025-03-09 04:41:17] Production.INFO: ProcessCDR(1,14639803,1,1,2) [2025-03-09 04:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:41:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639803', 'tblTempUsageDetail_20' ) start [2025-03-09 04:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639803', 'tblTempUsageDetail_20' ) end [2025-03-09 04:41:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:41:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:41:20] Production.INFO: ==11348== Releasing lock... [2025-03-09 04:41:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:41:20] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 08:42:01] Production.INFO: ==11405== Lock acquired, processing the job... [2025-03-09 08:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:42:01] Production.INFO: neon service started [2025-03-09 08:42:01] Production.INFO: neon service started [2025-03-09 08:42:01] Production.INFO: ==11405== Releasing lock... [2025-03-09 08:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:42:02] Production.INFO: ==11407== Lock acquired, processing the job... [2025-03-09 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:42:02] Production.INFO: ==11409== Lock acquired, processing the job... [2025-03-09 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:42:02] Production.INFO: ==11409== Releasing lock... [2025-03-09 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:42:03] Production.INFO: ==11407== Releasing lock... [2025-03-09 04:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:42:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:42:04] Production.INFO: ==11418== Lock acquired, processing the job... [2025-03-09 04:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:42:04] Production.INFO: ==11422== Lock acquired, processing the job... [2025-03-09 04:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:42:04] Production.INFO: Account Balance Start. [2025-03-09 04:42:04] Production.INFO: CreateAllLog Start [2025-03-09 04:42:04] Production.INFO: 117 [2025-03-09 04:42:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:42:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:42:04] Production.INFO: ==11412== Lock acquired, processing the job... [2025-03-09 04:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:42:04] Production.INFO: Total Charge 0 [2025-03-09 04:42:04] Production.INFO: CreateAllLog End [2025-03-09 04:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:42:04] Production.INFO: ==11414== Lock acquired, processing the job... [2025-03-09 04:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:42:04] Production.INFO: ==11416== Lock acquired, processing the job... [2025-03-09 04:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:42:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:42:04] Production.INFO: count ==13 [2025-03-09 04:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:42:04] Production.INFO: count ==21 [2025-03-09 04:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639805') start [2025-03-09 04:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:42:04] Production.INFO: ==11420== Lock acquired, processing the job... [2025-03-09 04:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639805') end [2025-03-09 04:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:42:04] Production.INFO: 1 [2025-03-09 04:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:42:04] Production.INFO: Account Balance End. [2025-03-09 04:42:04] Production.INFO: ==11422== Releasing lock... [2025-03-09 04:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:42:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:42:04] Production.INFO: ==11418== Releasing lock... [2025-03-09 04:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:42:04] Production.INFO: ==11414== Releasing lock... [2025-03-09 04:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:42:05] Production.ERROR: done [2025-03-09 04:42:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:42:05] Production.ERROR: done [2025-03-09 04:42:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:42:06 [end_date_ymd] => 2025-03-09 05:42:06 [RateCDR] => 1 ) [2025-03-09 04: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-09 01:42:06' and `end` < '2025-03-09 05: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-09 04:42:14] Production.ERROR: CronJobId end10 [2025-03-09 04:42:14] Production.INFO: ==11416== Releasing lock... [2025-03-09 04:42:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:42:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:42:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:42:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:42:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:42:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:42:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:42:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:42:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:42:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:42:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:42:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:42:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:42:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:42:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:42:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:42:15] Production.INFO: call_cost start [2025-03-09 04:42:15] Production.INFO: call_cost end [2025-03-09 04:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:42:16] Production.INFO: ==11412== Releasing lock... [2025-03-09 04:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:42:18] Production.INFO: count ==216 [2025-03-09 04:42:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:42:06 - End Time 2025-03-09 05:42:06 [2025-03-09 04:42:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639808', 'tblTempUsageDetail_20' ) start [2025-03-09 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639808', 'tblTempUsageDetail_20' ) end [2025-03-09 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639808', 'tblTempVendorCDR_20' ) start [2025-03-09 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639808', 'tblTempVendorCDR_20' ) end [2025-03-09 04:42:18] Production.INFO: ProcessCDR(1,14639808,1,1,2) [2025-03-09 04:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639808', 'tblTempUsageDetail_20' ) start [2025-03-09 04:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639808', 'tblTempUsageDetail_20' ) end [2025-03-09 04:42:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:42:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:42:22] Production.INFO: ==11420== Releasing lock... [2025-03-09 04:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:42:22] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 08:43:01] Production.INFO: ==11475== Lock acquired, processing the job... [2025-03-09 08:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:43:01] Production.INFO: neon service started [2025-03-09 08:43:01] Production.INFO: neon service started [2025-03-09 08:43:01] Production.INFO: ==11475== Releasing lock... [2025-03-09 08:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:43:01] Production.INFO: ==11477== Lock acquired, processing the job... [2025-03-09 04:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:43:02] Production.INFO: ==11477== Releasing lock... [2025-03-09 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:43:02] Production.INFO: ==11479== Lock acquired, processing the job... [2025-03-09 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:43:02] Production.INFO: ==11479== Releasing lock... [2025-03-09 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:43:02] Production.INFO: ==11481== Lock acquired, processing the job... [2025-03-09 04:43:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:43:02] Production.INFO: ==11483== Lock acquired, processing the job... [2025-03-09 04:43:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:43:03] Production.INFO: ==11489== Lock acquired, processing the job... [2025-03-09 04:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:43:03] Production.INFO: ==11485== Lock acquired, processing the job... [2025-03-09 04:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:43:03] Production.INFO: ==11487== Lock acquired, processing the job... [2025-03-09 04:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:43:03] Production.INFO: ==11492== Lock acquired, processing the job... [2025-03-09 04:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:43:03] Production.INFO: ==11483== Releasing lock... [2025-03-09 04:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:43:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:43:03] Production.INFO: Account Balance Start. [2025-03-09 04:43:03] Production.INFO: CreateAllLog Start [2025-03-09 04:43:03] Production.INFO: 117 [2025-03-09 04:43:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:43:03] Production.INFO: count ==13 [2025-03-09 04:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:43:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:43:03] Production.INFO: count ==21 [2025-03-09 04:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:43:03] Production.ERROR: done [2025-03-09 04:43:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:43:03] Production.INFO: Total Charge 0 [2025-03-09 04:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639811') start [2025-03-09 04:43:03] Production.INFO: CreateAllLog End [2025-03-09 04:43:03] Production.ERROR: done [2025-03-09 04:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639811') end [2025-03-09 04:43:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:43:03] Production.INFO: 1 [2025-03-09 04:43:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:43:03] Production.INFO: Account Balance End. [2025-03-09 04:43:03] Production.INFO: ==11492== Releasing lock... [2025-03-09 04:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:43:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:43:03] Production.ERROR: CronJobId end 12 [2025-03-09 04:43:03] Production.INFO: ==11487== Releasing lock... [2025-03-09 04:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:43:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:43:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:43:04 [end_date_ymd] => 2025-03-09 05:43:04 [RateCDR] => 1 ) [2025-03-09 04:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:43:04' and `end` < '2025-03-09 05:43:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:43:12] Production.ERROR: CronJobId end10 [2025-03-09 04:43:12] Production.INFO: ==11485== Releasing lock... [2025-03-09 04:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:43:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:43:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:43:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:43:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:43:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:43:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:43:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:43:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:43:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:43:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:43:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:43:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:43:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:43:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:43:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:43:15] Production.INFO: call_cost start [2025-03-09 04:43:15] Production.INFO: call_cost end [2025-03-09 04:43:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:43:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:43:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:43:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:43:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:43:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:43:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:43:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:43:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:43:16] Production.INFO: ==11481== Releasing lock... [2025-03-09 04:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:43:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:43:16] Production.INFO: count ==238 [2025-03-09 04:43:16] Production.ERROR: pbx CDR StartTime 2025-03-09 01:43:04 - End Time 2025-03-09 05:43:04 [2025-03-09 04:43:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:43:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639813', 'tblTempUsageDetail_20' ) start [2025-03-09 04:43:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639813', 'tblTempUsageDetail_20' ) end [2025-03-09 04:43:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639813', 'tblTempVendorCDR_20' ) start [2025-03-09 04:43:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639813', 'tblTempVendorCDR_20' ) end [2025-03-09 04:43:16] Production.INFO: ProcessCDR(1,14639813,1,1,2) [2025-03-09 04:43:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:43:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:43:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:43:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:43:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639813', 'tblTempUsageDetail_20' ) start [2025-03-09 04:43:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639813', 'tblTempUsageDetail_20' ) end [2025-03-09 04:43:19] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:43:19] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:43:20] Production.INFO: ==11489== Releasing lock... [2025-03-09 04:43:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:43:20] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:44:01] Production.INFO: ==11547== Lock acquired, processing the job... [2025-03-09 08:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:44:01] Production.INFO: neon service started [2025-03-09 08:44:01] Production.INFO: neon service started [2025-03-09 08:44:01] Production.INFO: ==11547== Releasing lock... [2025-03-09 08:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:44:02] Production.INFO: ==11551== Lock acquired, processing the job... [2025-03-09 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:44:02] Production.INFO: ==11551== Releasing lock... [2025-03-09 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:44:02] Production.INFO: ==11549== Lock acquired, processing the job... [2025-03-09 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:44:02] Production.INFO: ==11549== Releasing lock... [2025-03-09 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:44:03] Production.INFO: ==11556== Lock acquired, processing the job... [2025-03-09 04:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:44:03] Production.INFO: ==11560== Lock acquired, processing the job... [2025-03-09 04:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:44:03] Production.INFO: ==11562== Lock acquired, processing the job... [2025-03-09 04:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:44:03] Production.INFO: Account Balance Start. [2025-03-09 04:44:03] Production.INFO: CreateAllLog Start [2025-03-09 04:44:03] Production.INFO: 117 [2025-03-09 04:44:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:44:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:44:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:44:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:44:03] Production.INFO: ==11554== Lock acquired, processing the job... [2025-03-09 04:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:44:03] Production.INFO: Total Charge 0 [2025-03-09 04:44:03] Production.INFO: CreateAllLog End [2025-03-09 04:44:03] Production.INFO: ==11558== Lock acquired, processing the job... [2025-03-09 04:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:44:03] Production.INFO: ==11564== Lock acquired, processing the job... [2025-03-09 04:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:44:03] Production.INFO: ==11556== Releasing lock... [2025-03-09 04:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:44:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:44:03] Production.INFO: Account Balance End. [2025-03-09 04:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:44:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:44:04] Production.INFO: ==11560== Releasing lock... [2025-03-09 04:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:44:04] Production.INFO: count ==13 [2025-03-09 04:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:44:04] Production.INFO: count ==21 [2025-03-09 04:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639817') start [2025-03-09 04:44:04] Production.ERROR: done [2025-03-09 04:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639817') end [2025-03-09 04:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:44:04] Production.INFO: 1 [2025-03-09 04:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:44:04] Production.ERROR: done [2025-03-09 04:44:04] Production.INFO: ==11564== Releasing lock... [2025-03-09 04:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:44:05 [end_date_ymd] => 2025-03-09 05:44:05 [RateCDR] => 1 ) [2025-03-09 04:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:44:05' and `end` < '2025-03-09 05:44:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:44:12] Production.ERROR: CronJobId end10 [2025-03-09 04:44:12] Production.INFO: ==11558== Releasing lock... [2025-03-09 04:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:44:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:44:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:44:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:44:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:44:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:44:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:44:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:44:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:44:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:44:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:44:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:44:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:44:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:44:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:44:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:44:15] Production.INFO: call_cost start [2025-03-09 04:44:15] Production.INFO: call_cost end [2025-03-09 04:44:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:44:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:44:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:44:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:44:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:44:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:44:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:44:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:44:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:44:15] Production.INFO: ==11554== Releasing lock... [2025-03-09 04:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:44:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:44:17] Production.INFO: count ==238 [2025-03-09 04:44:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:44:05 - End Time 2025-03-09 05:44:05 [2025-03-09 04:44:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639818', 'tblTempUsageDetail_20' ) start [2025-03-09 04:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639818', 'tblTempUsageDetail_20' ) end [2025-03-09 04:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639818', 'tblTempVendorCDR_20' ) start [2025-03-09 04:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639818', 'tblTempVendorCDR_20' ) end [2025-03-09 04:44:17] Production.INFO: ProcessCDR(1,14639818,1,1,2) [2025-03-09 04:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:44:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639818', 'tblTempUsageDetail_20' ) start [2025-03-09 04:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639818', 'tblTempUsageDetail_20' ) end [2025-03-09 04:44:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:44:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:44:20] Production.INFO: ==11562== Releasing lock... [2025-03-09 04:44:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:44:20] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:45:02] Production.INFO: ==11625== Lock acquired, processing the job... [2025-03-09 08:45:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:45:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:45:02] Production.INFO: neon service started [2025-03-09 08:45:02] Production.INFO: neon service started [2025-03-09 08:45:02] Production.INFO: ==11625== Releasing lock... [2025-03-09 08:45:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:45:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:45:03] Production.INFO: ==11628== Lock acquired, processing the job... [2025-03-09 04:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:45:03] Production.INFO: ==11630== Lock acquired, processing the job... [2025-03-09 08:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:45:03] Production.INFO: ==11630== Releasing lock... [2025-03-09 08:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:45:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:45:03] Production.INFO: ==11628== Releasing lock... [2025-03-09 04:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:45:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:45:04] Production.INFO: ==11634== Lock acquired, processing the job... [2025-03-09 04:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:45:04] Production.INFO: ==11636== Lock acquired, processing the job... [2025-03-09 04:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:45:04] Production.INFO: ==11640== Lock acquired, processing the job... [2025-03-09 04:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:45:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:45:04] Production.INFO: ==11638== Lock acquired, processing the job... [2025-03-09 04:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:45:04] Production.INFO: ==11632== Lock acquired, processing the job... [2025-03-09 04:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:45:04] Production.INFO: ==11642== Lock acquired, processing the job... [2025-03-09 04:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:45:04] Production.INFO: ==11634== Releasing lock... [2025-03-09 04:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:45:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:45:04] Production.INFO: Account Balance Start. [2025-03-09 04:45:04] Production.INFO: CreateAllLog Start [2025-03-09 04:45:04] Production.INFO: 117 [2025-03-09 04:45:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:45:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:45:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:45:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:45:04] Production.INFO: Total Charge 0 [2025-03-09 04:45:04] Production.INFO: CreateAllLog End [2025-03-09 04:45:04] Production.INFO: count ==13 [2025-03-09 04:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:45:04] Production.INFO: count ==21 [2025-03-09 04:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639822') start [2025-03-09 04:45:04] Production.ERROR: done [2025-03-09 04:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639822') end [2025-03-09 04:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:45:04] Production.INFO: 1 [2025-03-09 04:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:45:05] Production.INFO: ==11642== Releasing lock... [2025-03-09 04:45:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:45:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:45:05] Production.ERROR: done [2025-03-09 04:45:05] Production.INFO: Account Balance End. [2025-03-09 04:45:05] Production.ERROR: CronJobId end 12 [2025-03-09 04:45:05] Production.INFO: ==11638== Releasing lock... [2025-03-09 04:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:45:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:45:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:45:06 [end_date_ymd] => 2025-03-09 05:45:06 [RateCDR] => 1 ) [2025-03-09 04: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-09 01:45:06' and `end` < '2025-03-09 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-09 04:45:12] Production.ERROR: CronJobId end10 [2025-03-09 04:45:12] Production.INFO: ==11636== Releasing lock... [2025-03-09 04:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:45:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:45:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:45:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:45:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:45:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:45:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:45:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:45:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:45:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:45:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:45:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:45:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:45:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:45:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:45:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:45:14] Production.INFO: call_cost start [2025-03-09 04:45:14] Production.INFO: call_cost end [2025-03-09 04:45:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:45:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:45:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:45:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:45:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:45:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:45:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:45:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:45:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:45:15] Production.INFO: ==11632== Releasing lock... [2025-03-09 04:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:45:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:45:18] Production.INFO: count ==238 [2025-03-09 04:45:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:45:06 - End Time 2025-03-09 05:45:06 [2025-03-09 04:45:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639823', 'tblTempUsageDetail_20' ) start [2025-03-09 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639823', 'tblTempUsageDetail_20' ) end [2025-03-09 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639823', 'tblTempVendorCDR_20' ) start [2025-03-09 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639823', 'tblTempVendorCDR_20' ) end [2025-03-09 04:45:18] Production.INFO: ProcessCDR(1,14639823,1,1,2) [2025-03-09 04:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639823', 'tblTempUsageDetail_20' ) start [2025-03-09 04:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639823', 'tblTempUsageDetail_20' ) end [2025-03-09 04:45:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:45:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:45:21] Production.INFO: ==11640== Releasing lock... [2025-03-09 04:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:45:21] Production.INFO: 30 MB #Memory Used# [2025-03-09 08:46:01] Production.INFO: ==11697== Lock acquired, processing the job... [2025-03-09 08:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:46:01] Production.INFO: neon service started [2025-03-09 08:46:01] Production.INFO: neon service started [2025-03-09 08:46:01] Production.INFO: ==11697== Releasing lock... [2025-03-09 08:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:46:02] Production.INFO: ==11699== Lock acquired, processing the job... [2025-03-09 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:46:02] Production.INFO: ==11699== Releasing lock... [2025-03-09 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:46:02] Production.INFO: ==11701== Lock acquired, processing the job... [2025-03-09 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:46:02] Production.INFO: ==11701== Releasing lock... [2025-03-09 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:46:03] Production.INFO: ==11710== Lock acquired, processing the job... [2025-03-09 04:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:46:03] Production.INFO: ==11712== Lock acquired, processing the job... [2025-03-09 04:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:46:03] Production.INFO: ==11704== Lock acquired, processing the job... [2025-03-09 04:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:46:03] Production.INFO: ==11706== Lock acquired, processing the job... [2025-03-09 04:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:46:03] Production.INFO: Account Balance Start. [2025-03-09 04:46:03] Production.INFO: CreateAllLog Start [2025-03-09 04:46:03] Production.INFO: 117 [2025-03-09 04:46:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:46:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:46:03] Production.INFO: ==11708== Lock acquired, processing the job... [2025-03-09 04:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:46:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:46:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:46:03] Production.INFO: Total Charge 0 [2025-03-09 04:46:04] Production.INFO: CreateAllLog End [2025-03-09 04:46:04] Production.INFO: ==11714== Lock acquired, processing the job... [2025-03-09 04:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 04:46:04] Production.INFO: count ==13 [2025-03-09 04:46:04] Production.ERROR: done [2025-03-09 04:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 04:46:04] Production.INFO: count ==21 [2025-03-09 04:46:04] Production.INFO: Account Balance End. [2025-03-09 04:46:04] Production.INFO: ==11706== Releasing lock... [2025-03-09 04:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639827') start [2025-03-09 04:46:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:46:04] Production.INFO: ==11710== Releasing lock... [2025-03-09 04:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:46:04] Production.ERROR: done [2025-03-09 04:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639827') end [2025-03-09 04:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:46:04] Production.INFO: 1 [2025-03-09 04:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:46:04] Production.INFO: ==11714== Releasing lock... [2025-03-09 04:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:46:05 [end_date_ymd] => 2025-03-09 05:46:05 [RateCDR] => 1 ) [2025-03-09 04:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:46:05' and `end` < '2025-03-09 05:46:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:46:11] Production.ERROR: CronJobId end10 [2025-03-09 04:46:11] Production.INFO: ==11708== Releasing lock... [2025-03-09 04:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:46:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:46:14] Production.INFO: call_cost start [2025-03-09 04:46:14] Production.INFO: call_cost end [2025-03-09 04:46:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:46:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:46:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:46:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:46:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:46:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:46:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:46:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:46:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:46:15] Production.INFO: ==11704== Releasing lock... [2025-03-09 04:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:46:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:46:17] Production.INFO: count ==239 [2025-03-09 04:46:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:46:05 - End Time 2025-03-09 05:46:05 [2025-03-09 04:46:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639828', 'tblTempUsageDetail_20' ) start [2025-03-09 04:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639828', 'tblTempUsageDetail_20' ) end [2025-03-09 04:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639828', 'tblTempVendorCDR_20' ) start [2025-03-09 04:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639828', 'tblTempVendorCDR_20' ) end [2025-03-09 04:46:17] Production.INFO: ProcessCDR(1,14639828,1,1,2) [2025-03-09 04:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:46:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639828', 'tblTempUsageDetail_20' ) start [2025-03-09 04:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639828', 'tblTempUsageDetail_20' ) end [2025-03-09 04:46:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:46:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:46:21] Production.INFO: ==11712== Releasing lock... [2025-03-09 04:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:46:21] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 08:47:02] Production.INFO: ==11773== Lock acquired, processing the job... [2025-03-09 08:47:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:47:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:47:02] Production.INFO: neon service started [2025-03-09 08:47:02] Production.INFO: neon service started [2025-03-09 08:47:02] Production.INFO: ==11773== Releasing lock... [2025-03-09 08:47:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:47:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:47:02] Production.INFO: ==11775== Lock acquired, processing the job... [2025-03-09 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:47:03] Production.INFO: ==11775== Releasing lock... [2025-03-09 04:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:47:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:47:03] Production.INFO: ==11777== Lock acquired, processing the job... [2025-03-09 08:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:47:03] Production.INFO: ==11777== Releasing lock... [2025-03-09 08:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:47:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:47:03] Production.INFO: ==11782== Lock acquired, processing the job... [2025-03-09 04:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:47:03] Production.INFO: ==11790== Lock acquired, processing the job... [2025-03-09 04:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:47:04] Production.INFO: ==11780== Lock acquired, processing the job... [2025-03-09 04:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:47:04] Production.INFO: count ==13 [2025-03-09 04:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:47:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:47:04] Production.INFO: count ==21 [2025-03-09 04:47:04] Production.INFO: ==11784== Lock acquired, processing the job... [2025-03-09 04:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639830') start [2025-03-09 04:47:04] Production.INFO: ==11786== Lock acquired, processing the job... [2025-03-09 04:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:47:04] Production.INFO: ==11788== Lock acquired, processing the job... [2025-03-09 04:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:47:04] Production.INFO: ==11782== Releasing lock... [2025-03-09 04:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639830') end [2025-03-09 04:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:47:04] Production.INFO: 1 [2025-03-09 04:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:47:04] Production.INFO: ==11790== Releasing lock... [2025-03-09 04:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:47:04] Production.INFO: Account Balance Start. [2025-03-09 04:47:04] Production.INFO: CreateAllLog Start [2025-03-09 04:47:04] Production.INFO: 117 [2025-03-09 04:47:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:47:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:47:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:47:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:47:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:47:04] Production.INFO: Total Charge 0 [2025-03-09 04:47:04] Production.INFO: CreateAllLog End [2025-03-09 04:47:04] Production.ERROR: done [2025-03-09 04:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:47:04] Production.INFO: Account Balance End. [2025-03-09 04:47:05] Production.ERROR: CronJobId end 12 [2025-03-09 04:47:05] Production.INFO: ==11786== Releasing lock... [2025-03-09 04:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:47:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:47:05] Production.ERROR: done [2025-03-09 04:47:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:47:06 [end_date_ymd] => 2025-03-09 05:47:06 [RateCDR] => 1 ) [2025-03-09 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-09 01:47:06' and `end` < '2025-03-09 05: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-09 04:47:12] Production.ERROR: CronJobId end10 [2025-03-09 04:47:12] Production.INFO: ==11784== Releasing lock... [2025-03-09 04:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:47:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:47:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:47:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:47:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:47:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:47:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:47:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:47:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:47:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:47:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:47:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:47:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:47:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:47:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:47:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:47:15] Production.INFO: call_cost start [2025-03-09 04:47:15] Production.INFO: call_cost end [2025-03-09 04:47:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:47:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:47:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:47:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:47:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:47:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:47:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:47:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:47:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:47:16] Production.INFO: ==11780== Releasing lock... [2025-03-09 04:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:47:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:47:18] Production.INFO: count ==303 [2025-03-09 04:47:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:47:06 - End Time 2025-03-09 05:47:06 [2025-03-09 04:47:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639833', 'tblTempUsageDetail_20' ) start [2025-03-09 04:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639833', 'tblTempUsageDetail_20' ) end [2025-03-09 04:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639833', 'tblTempVendorCDR_20' ) start [2025-03-09 04:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639833', 'tblTempVendorCDR_20' ) end [2025-03-09 04:47:18] Production.INFO: ProcessCDR(1,14639833,1,1,2) [2025-03-09 04:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639833', 'tblTempUsageDetail_20' ) start [2025-03-09 04:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639833', 'tblTempUsageDetail_20' ) end [2025-03-09 04:47:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:47:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:47:21] Production.INFO: ==11788== Releasing lock... [2025-03-09 04:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:47:21] Production.INFO: 31 MB #Memory Used# [2025-03-09 08:48:01] Production.INFO: ==11846== Lock acquired, processing the job... [2025-03-09 08:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:48:01] Production.INFO: neon service started [2025-03-09 08:48:01] Production.INFO: neon service started [2025-03-09 08:48:01] Production.INFO: ==11846== Releasing lock... [2025-03-09 08:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:48:02] Production.INFO: ==11848== Lock acquired, processing the job... [2025-03-09 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:48:02] Production.INFO: ==11850== Lock acquired, processing the job... [2025-03-09 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:48:02] Production.INFO: ==11850== Releasing lock... [2025-03-09 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:48:03] Production.INFO: ==11848== Releasing lock... [2025-03-09 04:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:48:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:48:03] Production.INFO: ==11853== Lock acquired, processing the job... [2025-03-09 04:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:48:03] Production.INFO: ==11857== Lock acquired, processing the job... [2025-03-09 04:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:48:03] Production.INFO: ==11855== Lock acquired, processing the job... [2025-03-09 04:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:48:04] Production.INFO: ==11859== Lock acquired, processing the job... [2025-03-09 04:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:48:04] Production.INFO: ==11855== Releasing lock... [2025-03-09 04:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:48:04] Production.INFO: ==11861== Lock acquired, processing the job... [2025-03-09 04:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:48:04] Production.INFO: ==11863== Lock acquired, processing the job... [2025-03-09 04:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:48:04] Production.INFO: Account Balance Start. [2025-03-09 04:48:04] Production.INFO: CreateAllLog Start [2025-03-09 04:48:04] Production.INFO: 117 [2025-03-09 04:48:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 04:48:04] Production.INFO: count ==13 [2025-03-09 04:48:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:48:04] Production.INFO: count ==21 [2025-03-09 04:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639837') start [2025-03-09 04:48:04] Production.ERROR: done [2025-03-09 04:48:04] Production.INFO: Total Charge 0 [2025-03-09 04:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:48:04] Production.INFO: CreateAllLog End [2025-03-09 04:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639837') end [2025-03-09 04:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:48:04] Production.INFO: 1 [2025-03-09 04:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:48:04] Production.INFO: ==11863== Releasing lock... [2025-03-09 04:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:48:04] Production.ERROR: done [2025-03-09 04:48:04] Production.INFO: Account Balance End. [2025-03-09 04:48:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:48:04] Production.INFO: ==11859== Releasing lock... [2025-03-09 04:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:48:05 [end_date_ymd] => 2025-03-09 05:48:05 [RateCDR] => 1 ) [2025-03-09 04:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:48:05' and `end` < '2025-03-09 05:48:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:48:11] Production.ERROR: CronJobId end10 [2025-03-09 04:48:11] Production.INFO: ==11857== Releasing lock... [2025-03-09 04:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:48:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:48:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:48:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:48:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:48:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:48:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:48:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:48:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:48:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:48:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:48:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:48:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:48:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:48:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:48:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:48:14] Production.INFO: call_cost start [2025-03-09 04:48:14] Production.INFO: call_cost end [2025-03-09 04:48:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:48:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:48:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:48:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:48:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:48:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:48:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:48:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:48:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:48:15] Production.INFO: ==11853== Releasing lock... [2025-03-09 04:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:48:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:48:17] Production.INFO: count ==344 [2025-03-09 04:48:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:48:05 - End Time 2025-03-09 05:48:05 [2025-03-09 04:48:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639838', 'tblTempUsageDetail_20' ) start [2025-03-09 04:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639838', 'tblTempUsageDetail_20' ) end [2025-03-09 04:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639838', 'tblTempVendorCDR_20' ) start [2025-03-09 04:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639838', 'tblTempVendorCDR_20' ) end [2025-03-09 04:48:17] Production.INFO: ProcessCDR(1,14639838,1,1,2) [2025-03-09 04:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639838', 'tblTempUsageDetail_20' ) start [2025-03-09 04:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639838', 'tblTempUsageDetail_20' ) end [2025-03-09 04:48:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:48:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:48:21] Production.INFO: ==11861== Releasing lock... [2025-03-09 04:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:48:21] Production.INFO: 31.5 MB #Memory Used# [2025-03-09 08:49:02] Production.INFO: ==11958== Lock acquired, processing the job... [2025-03-09 08:49:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:49:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:49:02] Production.INFO: neon service started [2025-03-09 08:49:02] Production.INFO: neon service started [2025-03-09 08:49:02] Production.INFO: ==11958== Releasing lock... [2025-03-09 08:49:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:49:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:49:02] Production.INFO: ==11963== Lock acquired, processing the job... [2025-03-09 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:49:02] Production.INFO: ==11963== Releasing lock... [2025-03-09 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:49:02] Production.INFO: ==11961== Lock acquired, processing the job... [2025-03-09 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:49:03] Production.INFO: ==11961== Releasing lock... [2025-03-09 04:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:49:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:49:04] Production.INFO: ==11969== Lock acquired, processing the job... [2025-03-09 04:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:49:04] Production.INFO: ==11973== Lock acquired, processing the job... [2025-03-09 04:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:49:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:49:04] Production.INFO: ==11967== Lock acquired, processing the job... [2025-03-09 04:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:49:04] Production.INFO: ==11965== Lock acquired, processing the job... [2025-03-09 04:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:49:04] Production.INFO: ==11971== Lock acquired, processing the job... [2025-03-09 04:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:49:04] Production.INFO: ==11975== Lock acquired, processing the job... [2025-03-09 04:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:49:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:49:04] Production.INFO: Account Balance Start. [2025-03-09 04:49:04] Production.INFO: CreateAllLog Start [2025-03-09 04:49:04] Production.INFO: 117 [2025-03-09 04:49:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:49:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:49:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:49:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:49:04] Production.ERROR: done [2025-03-09 04:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:49:04] Production.INFO: Total Charge 0 [2025-03-09 04:49:04] Production.INFO: CreateAllLog End [2025-03-09 04:49:04] Production.INFO: count ==13 [2025-03-09 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-09 04:49:04] Production.INFO: count ==21 [2025-03-09 04:49:04] Production.INFO: ==11967== Releasing lock... [2025-03-09 04:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639841') start [2025-03-09 04:49:04] Production.ERROR: done [2025-03-09 04:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639841') end [2025-03-09 04:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:49:04] Production.INFO: 1 [2025-03-09 04:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:49:05] Production.INFO: ==11975== Releasing lock... [2025-03-09 04:49:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:49:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:49:05] Production.INFO: Account Balance End. [2025-03-09 04:49:05] Production.ERROR: CronJobId end 12 [2025-03-09 04:49:05] Production.INFO: ==11971== Releasing lock... [2025-03-09 04:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:49:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:49:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:49:06 [end_date_ymd] => 2025-03-09 05:49:06 [RateCDR] => 1 ) [2025-03-09 04: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-09 01:49:06' and `end` < '2025-03-09 05:49:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:49:12] Production.ERROR: CronJobId end10 [2025-03-09 04:49:12] Production.INFO: ==11969== Releasing lock... [2025-03-09 04:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:49:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:49:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:49:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:49:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:49:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:49:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:49:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:49:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:49:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:49:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:49:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:49:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:49:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:49:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:49:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:49:15] Production.INFO: call_cost start [2025-03-09 04:49:15] Production.INFO: call_cost end [2025-03-09 04:49:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:49:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:49:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:49:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:49:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:49:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:49:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:49:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:49:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:49:16] Production.INFO: ==11965== Releasing lock... [2025-03-09 04:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:49:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:49:18] Production.INFO: count ==427 [2025-03-09 04:49:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:49:06 - End Time 2025-03-09 05:49:06 [2025-03-09 04:49:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639843', 'tblTempUsageDetail_20' ) start [2025-03-09 04:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639843', 'tblTempUsageDetail_20' ) end [2025-03-09 04:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639843', 'tblTempVendorCDR_20' ) start [2025-03-09 04:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639843', 'tblTempVendorCDR_20' ) end [2025-03-09 04:49:18] Production.INFO: ProcessCDR(1,14639843,1,1,2) [2025-03-09 04:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639843', 'tblTempUsageDetail_20' ) start [2025-03-09 04:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639843', 'tblTempUsageDetail_20' ) end [2025-03-09 04:49:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:49:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:49:22] Production.INFO: ==11973== Releasing lock... [2025-03-09 04:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:49:22] Production.INFO: 31.5 MB #Memory Used# [2025-03-09 08:50:01] Production.INFO: ==12028== Lock acquired, processing the job... [2025-03-09 08:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:50:01] Production.INFO: neon service started [2025-03-09 08:50:01] Production.INFO: neon service started [2025-03-09 08:50:01] Production.INFO: ==12028== Releasing lock... [2025-03-09 08:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:50:02] Production.INFO: ==12031== Lock acquired, processing the job... [2025-03-09 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:50:02] Production.INFO: ==12033== Lock acquired, processing the job... [2025-03-09 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:50:02] Production.INFO: ==12031== Releasing lock... [2025-03-09 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:50:02] Production.INFO: ==12033== Releasing lock... [2025-03-09 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:50:03] Production.INFO: ==12037== Lock acquired, processing the job... [2025-03-09 04:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:50:03] Production.INFO: ==12045== Lock acquired, processing the job... [2025-03-09 04:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:50:03] Production.INFO: ==12035== Lock acquired, processing the job... [2025-03-09 04:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 04:50:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:50:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:50:03] Production.INFO: ==12047== Lock acquired, processing the job... [2025-03-09 04:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 04:50:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 04:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 04:50:03] Production.ERROR: CronJob PID - 12037 [2025-03-09 04:50:03] Production.ERROR: CronJob Title - System Alerts [2025-03-09 04:50:03] Production.ERROR: CronJob ID - 5 [2025-03-09 04:50:03] Production.ERROR: CronJob Last Run Time 2025-03-09 04:50:00 [2025-03-09 04:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 04:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 04:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 04:50:03] Production.ERROR: CronJob PID - 12045 [2025-03-09 04:50:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 04:50:03] Production.ERROR: CronJob ID - 16 [2025-03-09 04:50:03] Production.ERROR: CronJob Last Run Time 2025-03-09 04:50:00 [2025-03-09 04:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 04:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 04:50:04] Production.INFO: ==12041== Lock acquired, processing the job... [2025-03-09 04:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:50:04] Production.INFO: ==12039== Lock acquired, processing the job... [2025-03-09 04:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 04:50:04] Production.INFO: ==12035== Releasing lock... [2025-03-09 04:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 04:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 04:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:50:04] Production.INFO: ==12049== Lock acquired, processing the job... [2025-03-09 04:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:50:04] Production.INFO: ==12043== Lock acquired, processing the job... [2025-03-09 04:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:50:04] Production.INFO: Account Balance Start. [2025-03-09 04:50:04] Production.INFO: CreateAllLog Start [2025-03-09 04:50:04] Production.INFO: 117 [2025-03-09 04:50:04] Production.ERROR: done [2025-03-09 04:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:50:04] Production.INFO: Date 2025-03-08 [2025-03-09 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-09 04:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:50:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:50:04] Production.INFO: count ==13 [2025-03-09 04:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:50:04] Production.INFO: count ==21 [2025-03-09 04:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639845') start [2025-03-09 04:50:04] Production.INFO: Total Charge 0 [2025-03-09 04:50:04] Production.INFO: CreateAllLog End [2025-03-09 04:50:04] Production.ERROR: done [2025-03-09 04:50:04] Production.ERROR: done [2025-03-09 04:50:04] Production.INFO: ==12039== Releasing lock... [2025-03-09 04:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 04:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639848', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 04:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639845') end [2025-03-09 04:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:50:04] Production.INFO: 1 [2025-03-09 04:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:50:04] Production.INFO: ==12049== Releasing lock... [2025-03-09 04:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:50:04] Production.INFO: Account Balance End. [2025-03-09 04:50:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:50:04] Production.INFO: ==12043== Releasing lock... [2025-03-09 04:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:50:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:50:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:50:05 [end_date_ymd] => 2025-03-09 05:50:05 [RateCDR] => 1 ) [2025-03-09 04:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:50:05' and `end` < '2025-03-09 05:50:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639848', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 04:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 04:50:09] Production.INFO: ProcessCDR(1,14639848,1,1,2) [2025-03-09 04:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14639848,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14639848,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:50:09] Production.INFO: ==12047== Releasing lock... [2025-03-09 04:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 04:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 04:50:13] Production.ERROR: CronJobId end10 [2025-03-09 04:50:13] Production.INFO: ==12041== Releasing lock... [2025-03-09 04:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:50:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:50:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:50:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:50:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:50:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:50:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:50:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:50:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:50:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:50:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:50:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:50:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:50:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:50:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:50:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:50:15] Production.INFO: call_cost start [2025-03-09 04:50:15] Production.INFO: call_cost end [2025-03-09 04:50:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:50:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:50:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:50:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:50:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:50:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:50:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:50:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:50:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:50:16] Production.INFO: ==12037== Releasing lock... [2025-03-09 04:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:50:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:50:18] Production.INFO: count ==419 [2025-03-09 04:50:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:50:05 - End Time 2025-03-09 05:50:05 [2025-03-09 04:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639849', 'tblTempUsageDetail_20' ) start [2025-03-09 04:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639849', 'tblTempUsageDetail_20' ) end [2025-03-09 04:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639849', 'tblTempVendorCDR_20' ) start [2025-03-09 04:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639849', 'tblTempVendorCDR_20' ) end [2025-03-09 04:50:18] Production.INFO: ProcessCDR(1,14639849,1,1,2) [2025-03-09 04:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639849', 'tblTempUsageDetail_20' ) start [2025-03-09 04:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639849', 'tblTempUsageDetail_20' ) end [2025-03-09 04:50:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:50:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:50:21] Production.INFO: ==12045== Releasing lock... [2025-03-09 04:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:50:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 08:51:02] Production.INFO: ==12104== Lock acquired, processing the job... [2025-03-09 08:51:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:51:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:51:02] Production.INFO: neon service started [2025-03-09 08:51:02] Production.INFO: neon service started [2025-03-09 08:51:02] Production.INFO: ==12104== Releasing lock... [2025-03-09 08:51:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:51:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:51:02] Production.INFO: ==12106== Lock acquired, processing the job... [2025-03-09 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:51:02] Production.INFO: ==12108== Lock acquired, processing the job... [2025-03-09 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 04:51:03] Production.INFO: ==12106== Releasing lock... [2025-03-09 04:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:51:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:51:03] Production.INFO: ==12108== Releasing lock... [2025-03-09 08:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:51:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:51:03] Production.INFO: ==12111== Lock acquired, processing the job... [2025-03-09 04:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:51:03] Production.INFO: ==12113== Lock acquired, processing the job... [2025-03-09 04:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:51:03] Production.INFO: ==12115== Lock acquired, processing the job... [2025-03-09 04:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:51:04] Production.INFO: ==12117== Lock acquired, processing the job... [2025-03-09 04:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:51:04] Production.INFO: ==12113== Releasing lock... [2025-03-09 04:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:51:04] Production.INFO: ==12119== Lock acquired, processing the job... [2025-03-09 04:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:51:04] Production.INFO: ==12121== Lock acquired, processing the job... [2025-03-09 04:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:51:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:51:04] Production.INFO: Account Balance Start. [2025-03-09 04:51:04] Production.INFO: CreateAllLog Start [2025-03-09 04:51:04] Production.INFO: 117 [2025-03-09 04:51:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:51:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:51:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:51:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:51:04] Production.INFO: Total Charge 0 [2025-03-09 04:51:04] Production.INFO: CreateAllLog End [2025-03-09 04:51:04] Production.ERROR: done [2025-03-09 04:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:51:04] Production.INFO: count ==13 [2025-03-09 04:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:51:04] Production.INFO: count ==21 [2025-03-09 04:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639853') start [2025-03-09 04:51:04] Production.INFO: Account Balance End. [2025-03-09 04:51:04] Production.ERROR: done [2025-03-09 04:51:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:51:04] Production.INFO: ==12117== Releasing lock... [2025-03-09 04:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:51:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639853') end [2025-03-09 04:51:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:51:05] Production.INFO: 1 [2025-03-09 04:51:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:51:05] Production.INFO: ==12121== Releasing lock... [2025-03-09 04:51:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:51:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:51:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:51:05 [end_date_ymd] => 2025-03-09 05:51:05 [RateCDR] => 1 ) [2025-03-09 04: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-09 01:51:05' and `end` < '2025-03-09 05:51:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:51:12] Production.ERROR: CronJobId end10 [2025-03-09 04:51:12] Production.INFO: ==12115== Releasing lock... [2025-03-09 04:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:51:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:51:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:51:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:51:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:51:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:51:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:51:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:51:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:51:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:51:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:51:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:51:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:51:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:51:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:51:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:51:14] Production.INFO: call_cost start [2025-03-09 04:51:14] Production.INFO: call_cost end [2025-03-09 04:51:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:51:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:51:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:51:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:51:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:51:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:51:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:51:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:51:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:51:15] Production.INFO: ==12111== Releasing lock... [2025-03-09 04:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:51:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:51:18] Production.INFO: count ==419 [2025-03-09 04:51:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:51:05 - End Time 2025-03-09 05:51:05 [2025-03-09 04:51:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639854', 'tblTempUsageDetail_20' ) start [2025-03-09 04:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639854', 'tblTempUsageDetail_20' ) end [2025-03-09 04:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639854', 'tblTempVendorCDR_20' ) start [2025-03-09 04:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639854', 'tblTempVendorCDR_20' ) end [2025-03-09 04:51:18] Production.INFO: ProcessCDR(1,14639854,1,1,2) [2025-03-09 04:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639854', 'tblTempUsageDetail_20' ) start [2025-03-09 04:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639854', 'tblTempUsageDetail_20' ) end [2025-03-09 04:51:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:51:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:51:21] Production.INFO: ==12119== Releasing lock... [2025-03-09 04:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:51:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 08:52:01] Production.INFO: ==12181== Lock acquired, processing the job... [2025-03-09 08:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:52:01] Production.INFO: neon service started [2025-03-09 08:52:01] Production.INFO: neon service started [2025-03-09 08:52:01] Production.INFO: ==12181== Releasing lock... [2025-03-09 08:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:52:02] Production.INFO: ==12184== Lock acquired, processing the job... [2025-03-09 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:52:02] Production.INFO: ==12186== Lock acquired, processing the job... [2025-03-09 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:52:02] Production.INFO: ==12186== Releasing lock... [2025-03-09 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:52:02] Production.INFO: ==12184== Releasing lock... [2025-03-09 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:52:03] Production.INFO: ==12192== Lock acquired, processing the job... [2025-03-09 04:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:52:03] Production.INFO: ==12198== Lock acquired, processing the job... [2025-03-09 04:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:52:04] Production.INFO: ==12188== Lock acquired, processing the job... [2025-03-09 04:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:52:04] Production.INFO: ==12190== Lock acquired, processing the job... [2025-03-09 04:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:52:04] Production.INFO: count ==13 [2025-03-09 04:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:52:04] Production.INFO: count ==21 [2025-03-09 04:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639855') start [2025-03-09 04:52:04] Production.INFO: ==12194== Lock acquired, processing the job... [2025-03-09 04:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:52:04] Production.INFO: ==12196== Lock acquired, processing the job... [2025-03-09 04:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639855') end [2025-03-09 04:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:52:04] Production.INFO: 1 [2025-03-09 04:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:52:04] Production.INFO: ==12198== Releasing lock... [2025-03-09 04:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:52:04] Production.INFO: Account Balance Start. [2025-03-09 04:52:04] Production.INFO: CreateAllLog Start [2025-03-09 04:52:04] Production.INFO: 117 [2025-03-09 04:52:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:52:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:52:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:52:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:52:04] Production.INFO: ==12190== Releasing lock... [2025-03-09 04:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:52:04] Production.INFO: Total Charge 0 [2025-03-09 04:52:04] Production.INFO: CreateAllLog End [2025-03-09 04:52:04] Production.ERROR: done [2025-03-09 04:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:52:04] Production.INFO: Account Balance End. [2025-03-09 04:52:05] Production.ERROR: done [2025-03-09 04:52:05] Production.ERROR: CronJobId end 12 [2025-03-09 04:52:05] Production.INFO: ==12194== Releasing lock... [2025-03-09 04:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:52:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:52:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:52:06 [end_date_ymd] => 2025-03-09 05:52:06 [RateCDR] => 1 ) [2025-03-09 04:52:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:52:06' and `end` < '2025-03-09 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-09 04:52:11] Production.ERROR: CronJobId end10 [2025-03-09 04:52:11] Production.INFO: ==12192== Releasing lock... [2025-03-09 04:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:52:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:52:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:52:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:52:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:52:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:52:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:52:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:52:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:52:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:52:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:52:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:52:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:52:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:52:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:52:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:52:14] Production.INFO: call_cost start [2025-03-09 04:52:14] Production.INFO: call_cost end [2025-03-09 04:52:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:52:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:52:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:52:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:52:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:52:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:52:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:52:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:52:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:52:15] Production.INFO: ==12188== Releasing lock... [2025-03-09 04:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:52:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:52:18] Production.INFO: count ==419 [2025-03-09 04:52:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:52:06 - End Time 2025-03-09 05:52:06 [2025-03-09 04:52:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639859', 'tblTempUsageDetail_20' ) start [2025-03-09 04:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639859', 'tblTempUsageDetail_20' ) end [2025-03-09 04:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639859', 'tblTempVendorCDR_20' ) start [2025-03-09 04:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639859', 'tblTempVendorCDR_20' ) end [2025-03-09 04:52:18] Production.INFO: ProcessCDR(1,14639859,1,1,2) [2025-03-09 04:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639859', 'tblTempUsageDetail_20' ) start [2025-03-09 04:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639859', 'tblTempUsageDetail_20' ) end [2025-03-09 04:52:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:52:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:52:21] Production.INFO: ==12196== Releasing lock... [2025-03-09 04:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:52:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 08:53:02] Production.INFO: ==12259== Lock acquired, processing the job... [2025-03-09 08:53:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:53:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:53:02] Production.INFO: neon service started [2025-03-09 08:53:02] Production.INFO: neon service started [2025-03-09 08:53:02] Production.INFO: ==12259== Releasing lock... [2025-03-09 08:53:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:53:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:53:02] Production.INFO: ==12261== Lock acquired, processing the job... [2025-03-09 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:53:02] Production.INFO: ==12261== Releasing lock... [2025-03-09 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:53:03] Production.INFO: ==12263== Lock acquired, processing the job... [2025-03-09 08:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:53:03] Production.INFO: ==12263== Releasing lock... [2025-03-09 08:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:53:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:53:03] Production.INFO: ==12265== Lock acquired, processing the job... [2025-03-09 04:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:53:03] Production.INFO: ==12267== Lock acquired, processing the job... [2025-03-09 04:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:53:03] Production.INFO: ==12271== Lock acquired, processing the job... [2025-03-09 04:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:53:03] Production.INFO: Account Balance Start. [2025-03-09 04:53:03] Production.INFO: CreateAllLog Start [2025-03-09 04:53:03] Production.INFO: 117 [2025-03-09 04:53:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:53:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:53:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:53:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:53:03] Production.INFO: Total Charge 0 [2025-03-09 04:53:03] Production.INFO: CreateAllLog End [2025-03-09 04:53:04] Production.INFO: Account Balance End. [2025-03-09 04:53:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:53:04] Production.INFO: ==12271== Releasing lock... [2025-03-09 04:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:53:04] Production.INFO: ==12267== Releasing lock... [2025-03-09 04:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:53:04] Production.INFO: ==12269== Lock acquired, processing the job... [2025-03-09 04:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:53:04] Production.INFO: ==12273== Lock acquired, processing the job... [2025-03-09 04:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:53:04] Production.INFO: ==12275== Lock acquired, processing the job... [2025-03-09 04:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:53:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 04:53:04] Production.INFO: count ==13 [2025-03-09 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-09 04:53:04] Production.INFO: count ==21 [2025-03-09 04:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639863') start [2025-03-09 04:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639863') end [2025-03-09 04:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:53:04] Production.INFO: 1 [2025-03-09 04:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:53:04] Production.INFO: ==12275== Releasing lock... [2025-03-09 04:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:53:04] Production.ERROR: done [2025-03-09 04:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:53:04] Production.ERROR: done [2025-03-09 04:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:53:05 [end_date_ymd] => 2025-03-09 05:53:05 [RateCDR] => 1 ) [2025-03-09 04:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:53:05' and `end` < '2025-03-09 05:53:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:53:12] Production.ERROR: CronJobId end10 [2025-03-09 04:53:12] Production.INFO: ==12269== Releasing lock... [2025-03-09 04:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:53:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:53:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:53:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:53:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:53:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:53:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:53:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:53:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:53:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:53:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:53:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:53:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:53:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:53:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:53:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:53:13] Production.INFO: call_cost start [2025-03-09 04:53:13] Production.INFO: call_cost end [2025-03-09 04:53:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:53:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:53:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:53:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:53:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:53:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:53:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:53:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:53:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:53:14] Production.INFO: ==12265== Releasing lock... [2025-03-09 04:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:53:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:53:18] Production.INFO: count ==419 [2025-03-09 04:53:19] Production.ERROR: pbx CDR StartTime 2025-03-09 01:53:05 - End Time 2025-03-09 05:53:05 [2025-03-09 04:53:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639864', 'tblTempUsageDetail_20' ) start [2025-03-09 04:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639864', 'tblTempUsageDetail_20' ) end [2025-03-09 04:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639864', 'tblTempVendorCDR_20' ) start [2025-03-09 04:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639864', 'tblTempVendorCDR_20' ) end [2025-03-09 04:53:19] Production.INFO: ProcessCDR(1,14639864,1,1,2) [2025-03-09 04:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639864', 'tblTempUsageDetail_20' ) start [2025-03-09 04:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639864', 'tblTempUsageDetail_20' ) end [2025-03-09 04:53:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:53:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:53:22] Production.INFO: ==12273== Releasing lock... [2025-03-09 04:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:53:22] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 08:54:01] Production.INFO: ==12335== Lock acquired, processing the job... [2025-03-09 08:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:54:01] Production.INFO: neon service started [2025-03-09 08:54:01] Production.INFO: neon service started [2025-03-09 08:54:01] Production.INFO: ==12335== Releasing lock... [2025-03-09 08:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:54:02] Production.INFO: ==12339== Lock acquired, processing the job... [2025-03-09 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:54:02] Production.INFO: ==12339== Releasing lock... [2025-03-09 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:54:02] Production.INFO: ==12337== Lock acquired, processing the job... [2025-03-09 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:54:02] Production.INFO: ==12337== Releasing lock... [2025-03-09 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:54:03] Production.INFO: ==12346== Lock acquired, processing the job... [2025-03-09 04:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:54:03] Production.INFO: ==12352== Lock acquired, processing the job... [2025-03-09 04:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 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-09 04:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:54:03] Production.INFO: count ==13 [2025-03-09 04:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:54:03] Production.INFO: ==12344== Lock acquired, processing the job... [2025-03-09 04:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:54:03] Production.INFO: count ==21 [2025-03-09 04:54:03] Production.INFO: ==12342== Lock acquired, processing the job... [2025-03-09 04:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639865') start [2025-03-09 04:54:03] Production.INFO: ==12348== Lock acquired, processing the job... [2025-03-09 04:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:54:03] Production.INFO: ==12350== Lock acquired, processing the job... [2025-03-09 04:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639865') end [2025-03-09 04:54:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:54:03] Production.INFO: 1 [2025-03-09 04:54:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:54:03] Production.INFO: Account Balance Start. [2025-03-09 04:54:03] Production.INFO: CreateAllLog Start [2025-03-09 04:54:03] Production.INFO: 117 [2025-03-09 04:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:54:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:54:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:54:03] Production.INFO: ==12352== Releasing lock... [2025-03-09 04:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:54:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:54:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:54:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:54:03] Production.INFO: Total Charge 0 [2025-03-09 04:54:03] Production.INFO: CreateAllLog End [2025-03-09 04:54:04] Production.INFO: ==12344== Releasing lock... [2025-03-09 04:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:54:04] Production.ERROR: done [2025-03-09 04:54:04] Production.INFO: Account Balance End. [2025-03-09 04:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:54:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:54:04] Production.INFO: ==12348== Releasing lock... [2025-03-09 04:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:54:04] Production.ERROR: done [2025-03-09 04:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:54:05 [end_date_ymd] => 2025-03-09 05:54:05 [RateCDR] => 1 ) [2025-03-09 04:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:54:05' and `end` < '2025-03-09 05:54:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:54:12] Production.ERROR: CronJobId end10 [2025-03-09 04:54:12] Production.INFO: ==12346== Releasing lock... [2025-03-09 04:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:54:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:54:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:54:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:54:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:54:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:54:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:54:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:54:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:54:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:54:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:54:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:54:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:54:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:54:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:54:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:54:15] Production.INFO: call_cost start [2025-03-09 04:54:15] Production.INFO: call_cost end [2025-03-09 04:54:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:54:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:54:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:54:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:54:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:54:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:54:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:54:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:54:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:54:16] Production.INFO: ==12342== Releasing lock... [2025-03-09 04:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:54:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:54:18] Production.INFO: count ==419 [2025-03-09 04:54:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:54:05 - End Time 2025-03-09 05:54:05 [2025-03-09 04:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639869', 'tblTempUsageDetail_20' ) start [2025-03-09 04:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639869', 'tblTempUsageDetail_20' ) end [2025-03-09 04:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639869', 'tblTempVendorCDR_20' ) start [2025-03-09 04:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639869', 'tblTempVendorCDR_20' ) end [2025-03-09 04:54:18] Production.INFO: ProcessCDR(1,14639869,1,1,2) [2025-03-09 04:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639869', 'tblTempUsageDetail_20' ) start [2025-03-09 04:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639869', 'tblTempUsageDetail_20' ) end [2025-03-09 04:54:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:54:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:54:22] Production.INFO: ==12350== Releasing lock... [2025-03-09 04:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:54:22] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 08:55:02] Production.INFO: ==12416== Lock acquired, processing the job... [2025-03-09 08:55:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:55:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:55:02] Production.INFO: neon service started [2025-03-09 08:55:02] Production.INFO: neon service started [2025-03-09 08:55:02] Production.INFO: ==12416== Releasing lock... [2025-03-09 08:55:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:55:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:55:02] Production.INFO: ==12419== Lock acquired, processing the job... [2025-03-09 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:55:02] Production.INFO: ==12421== Lock acquired, processing the job... [2025-03-09 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:55:02] Production.INFO: ==12421== Releasing lock... [2025-03-09 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:55:03] Production.INFO: ==12419== Releasing lock... [2025-03-09 04:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:55:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:55:03] Production.INFO: ==12425== Lock acquired, processing the job... [2025-03-09 04:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:55:03] Production.INFO: ==12433== Lock acquired, processing the job... [2025-03-09 04:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:55:04] Production.INFO: ==12423== Lock acquired, processing the job... [2025-03-09 04:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:55:04] Production.INFO: ==12427== Lock acquired, processing the job... [2025-03-09 04:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 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-09 04:55:04] Production.INFO: ==12429== Lock acquired, processing the job... [2025-03-09 04:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:55:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:55:04] Production.INFO: ==12431== Lock acquired, processing the job... [2025-03-09 04:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:55:04] Production.INFO: ==12425== Releasing lock... [2025-03-09 04:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:55:04] Production.INFO: Account Balance Start. [2025-03-09 04:55:04] Production.INFO: CreateAllLog Start [2025-03-09 04:55:04] Production.INFO: 117 [2025-03-09 04:55:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:55:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:55:04] Production.INFO: Total Charge 0 [2025-03-09 04:55:04] Production.INFO: CreateAllLog End [2025-03-09 04:55:04] Production.ERROR: done [2025-03-09 04:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:55:04] Production.INFO: Account Balance End. [2025-03-09 04:55:04] Production.ERROR: done [2025-03-09 04:55:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:55:04] Production.INFO: ==12429== Releasing lock... [2025-03-09 04:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:55:05] Production.INFO: count ==13 [2025-03-09 04:55:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:55:05] Production.INFO: count ==21 [2025-03-09 04:55:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639871') start [2025-03-09 04:55:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639871') end [2025-03-09 04:55:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:55:05] Production.INFO: 1 [2025-03-09 04:55:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:55:05] Production.INFO: ==12433== Releasing lock... [2025-03-09 04:55:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:55:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:55:05 [end_date_ymd] => 2025-03-09 05:55:05 [RateCDR] => 1 ) [2025-03-09 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-09 01:55:05' and `end` < '2025-03-09 05:55:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:55:10] Production.ERROR: CronJobId end10 [2025-03-09 04:55:10] Production.INFO: ==12427== Releasing lock... [2025-03-09 04:55:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:55:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:55:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:55:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:55:14] Production.INFO: call_cost start [2025-03-09 04:55:14] Production.INFO: call_cost end [2025-03-09 04:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:55:15] Production.INFO: ==12423== Releasing lock... [2025-03-09 04:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:55:18] Production.INFO: count ==412 [2025-03-09 04:55:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:55:05 - End Time 2025-03-09 05:55:05 [2025-03-09 04:55:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639874', 'tblTempUsageDetail_20' ) start [2025-03-09 04:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639874', 'tblTempUsageDetail_20' ) end [2025-03-09 04:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639874', 'tblTempVendorCDR_20' ) start [2025-03-09 04:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639874', 'tblTempVendorCDR_20' ) end [2025-03-09 04:55:18] Production.INFO: ProcessCDR(1,14639874,1,1,2) [2025-03-09 04:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639874', 'tblTempUsageDetail_20' ) start [2025-03-09 04:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639874', 'tblTempUsageDetail_20' ) end [2025-03-09 04:55:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:55:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:55:21] Production.INFO: ==12431== Releasing lock... [2025-03-09 04:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:55:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-09 08:56:01] Production.INFO: ==12491== Lock acquired, processing the job... [2025-03-09 08:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:56:01] Production.INFO: neon service started [2025-03-09 08:56:01] Production.INFO: neon service started [2025-03-09 08:56:01] Production.INFO: ==12491== Releasing lock... [2025-03-09 08:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:56:01] Production.INFO: ==12493== Lock acquired, processing the job... [2025-03-09 04:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:56:02] Production.INFO: ==12493== Releasing lock... [2025-03-09 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:56:02] Production.INFO: ==12495== Lock acquired, processing the job... [2025-03-09 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:56:02] Production.INFO: ==12495== Releasing lock... [2025-03-09 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:56:02] Production.INFO: ==12498== Lock acquired, processing the job... [2025-03-09 04:56:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:56:03] Production.INFO: ==12502== Lock acquired, processing the job... [2025-03-09 04:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:56:03] Production.INFO: ==12500== Lock acquired, processing the job... [2025-03-09 04:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:56:03] Production.INFO: ==12500== Releasing lock... [2025-03-09 04:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:56:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:56:03] Production.INFO: ==12504== Lock acquired, processing the job... [2025-03-09 04:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:56:03] Production.INFO: ==12506== Lock acquired, processing the job... [2025-03-09 04:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:56:03] Production.INFO: Account Balance Start. [2025-03-09 04:56:03] Production.INFO: CreateAllLog Start [2025-03-09 04:56:03] Production.INFO: 117 [2025-03-09 04:56:03] Production.INFO: ==12508== Lock acquired, processing the job... [2025-03-09 04:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:56:03] Production.INFO: Date 2025-03-08 [2025-03-09 04:56:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:56:03] Production.INFO: Date 2025-03-09 [2025-03-09 04:56:03] Production.INFO: Reseller ==> 0 [2025-03-09 04:56:03] Production.INFO: Total Charge 0 [2025-03-09 04:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:56:03] Production.INFO: CreateAllLog End [2025-03-09 04:56:03] Production.INFO: count ==13 [2025-03-09 04:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:56:04] Production.INFO: count ==21 [2025-03-09 04:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639878') start [2025-03-09 04:56:04] Production.ERROR: done [2025-03-09 04:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639878') end [2025-03-09 04:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:56:04] Production.INFO: 1 [2025-03-09 04:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:56:04] Production.INFO: ==12508== Releasing lock... [2025-03-09 04:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:56:04] Production.ERROR: done [2025-03-09 04:56:04] Production.INFO: Account Balance End. [2025-03-09 04:56:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:56:04] Production.INFO: ==12504== Releasing lock... [2025-03-09 04:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:56:05 [end_date_ymd] => 2025-03-09 05:56:05 [RateCDR] => 1 ) [2025-03-09 04:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:56:05' and `end` < '2025-03-09 05:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 04:56:11] Production.ERROR: CronJobId end10 [2025-03-09 04:56:11] Production.INFO: ==12502== Releasing lock... [2025-03-09 04:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:56:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:56:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:56:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:56:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:56:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:56:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:56:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:56:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:56:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:56:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:56:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:56:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:56:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:56:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:56:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:56:13] Production.INFO: call_cost start [2025-03-09 04:56:13] Production.INFO: call_cost end [2025-03-09 04:56:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:56:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:56:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:56:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:56:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:56:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:56:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:56:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:56:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:56:14] Production.INFO: ==12498== Releasing lock... [2025-03-09 04:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:56:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:56:17] Production.INFO: count ==405 [2025-03-09 04:56:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:56:05 - End Time 2025-03-09 05:56:05 [2025-03-09 04:56:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639879', 'tblTempUsageDetail_20' ) start [2025-03-09 04:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639879', 'tblTempUsageDetail_20' ) end [2025-03-09 04:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639879', 'tblTempVendorCDR_20' ) start [2025-03-09 04:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639879', 'tblTempVendorCDR_20' ) end [2025-03-09 04:56:17] Production.INFO: ProcessCDR(1,14639879,1,1,2) [2025-03-09 04:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639879', 'tblTempUsageDetail_20' ) start [2025-03-09 04:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639879', 'tblTempUsageDetail_20' ) end [2025-03-09 04:56:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:56:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:56:21] Production.INFO: ==12506== Releasing lock... [2025-03-09 04:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:56:21] Production.INFO: 32 MB #Memory Used# [2025-03-09 08:57:01] Production.INFO: ==12564== Lock acquired, processing the job... [2025-03-09 08:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:57:01] Production.INFO: neon service started [2025-03-09 08:57:01] Production.INFO: neon service started [2025-03-09 08:57:01] Production.INFO: ==12564== Releasing lock... [2025-03-09 08:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:57:02] Production.INFO: ==12566== Lock acquired, processing the job... [2025-03-09 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:57:02] Production.INFO: ==12566== Releasing lock... [2025-03-09 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:57:02] Production.INFO: ==12568== Lock acquired, processing the job... [2025-03-09 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:57:02] Production.INFO: ==12568== Releasing lock... [2025-03-09 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:57:03] Production.INFO: ==12579== Lock acquired, processing the job... [2025-03-09 04:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:57:03] Production.INFO: ==12581== Lock acquired, processing the job... [2025-03-09 04:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:57:03] Production.ERROR: done [2025-03-09 04:57:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:57:03] Production.INFO: ==12571== Lock acquired, processing the job... [2025-03-09 04:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:57:03] Production.INFO: count ==13 [2025-03-09 04:57:03] Production.INFO: ==12573== Lock acquired, processing the job... [2025-03-09 04:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:57:03] Production.INFO: ==12575== Lock acquired, processing the job... [2025-03-09 04:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:57:03] Production.INFO: count ==21 [2025-03-09 04:57:03] Production.INFO: ==12577== Lock acquired, processing the job... [2025-03-09 04:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639880') start [2025-03-09 04:57:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:57:04] Production.ERROR: done [2025-03-09 04:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639880') end [2025-03-09 04:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:57:04] Production.INFO: 1 [2025-03-09 04:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:57:04] Production.INFO: Account Balance Start. [2025-03-09 04:57:04] Production.INFO: CreateAllLog Start [2025-03-09 04:57:04] Production.INFO: 117 [2025-03-09 04:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:57:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:57:04] Production.INFO: ==12581== Releasing lock... [2025-03-09 04:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:57:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:57:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:57:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:57:04] Production.INFO: Total Charge 0 [2025-03-09 04:57:04] Production.INFO: CreateAllLog End [2025-03-09 04:57:04] Production.INFO: ==12573== Releasing lock... [2025-03-09 04:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:57:04] Production.INFO: Account Balance End. [2025-03-09 04:57:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:57:04] Production.INFO: ==12577== Releasing lock... [2025-03-09 04:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:57:05 [end_date_ymd] => 2025-03-09 05:57:05 [RateCDR] => 1 ) [2025-03-09 04:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:57:05' and `end` < '2025-03-09 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-09 04:57:11] Production.ERROR: CronJobId end10 [2025-03-09 04:57:11] Production.INFO: ==12575== Releasing lock... [2025-03-09 04:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:57:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:57:14] Production.INFO: call_cost start [2025-03-09 04:57:14] Production.INFO: call_cost end [2025-03-09 04:57:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:57:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:57:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:57:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:57:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:57:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:57:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:57:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:57:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:57:15] Production.INFO: ==12571== Releasing lock... [2025-03-09 04:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:57:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:57:17] Production.INFO: count ==396 [2025-03-09 04:57:17] Production.ERROR: pbx CDR StartTime 2025-03-09 01:57:05 - End Time 2025-03-09 05:57:05 [2025-03-09 04:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639884', 'tblTempUsageDetail_20' ) start [2025-03-09 04:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639884', 'tblTempUsageDetail_20' ) end [2025-03-09 04:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639884', 'tblTempVendorCDR_20' ) start [2025-03-09 04:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639884', 'tblTempVendorCDR_20' ) end [2025-03-09 04:57:17] Production.INFO: ProcessCDR(1,14639884,1,1,2) [2025-03-09 04:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639884', 'tblTempUsageDetail_20' ) start [2025-03-09 04:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639884', 'tblTempUsageDetail_20' ) end [2025-03-09 04:57:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:57:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:57:20] Production.INFO: ==12579== Releasing lock... [2025-03-09 04:57:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:57:20] Production.INFO: 31.75 MB #Memory Used# [2025-03-09 08:58:02] Production.INFO: ==12638== Lock acquired, processing the job... [2025-03-09 08:58:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:58:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:58:02] Production.INFO: neon service started [2025-03-09 08:58:02] Production.INFO: neon service started [2025-03-09 08:58:02] Production.INFO: ==12638== Releasing lock... [2025-03-09 08:58:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:58:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:58:02] Production.INFO: ==12642== Lock acquired, processing the job... [2025-03-09 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:58:02] Production.INFO: ==12642== Releasing lock... [2025-03-09 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:58:02] Production.INFO: ==12640== Lock acquired, processing the job... [2025-03-09 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 04:58:03] Production.INFO: ==12640== Releasing lock... [2025-03-09 04:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:58:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:58:04] Production.INFO: ==12651== Lock acquired, processing the job... [2025-03-09 04:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:58:04] Production.INFO: ==12649== Lock acquired, processing the job... [2025-03-09 04:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:58:04] Production.INFO: Account Balance Start. [2025-03-09 04:58:04] Production.INFO: CreateAllLog Start [2025-03-09 04:58:04] Production.INFO: 117 [2025-03-09 04:58:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:58:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:58:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:58:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:58:04] Production.INFO: Total Charge 0 [2025-03-09 04:58:04] Production.INFO: CreateAllLog End [2025-03-09 04:58:04] Production.INFO: ==12647== Lock acquired, processing the job... [2025-03-09 04:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:58:04] Production.INFO: ==12645== Lock acquired, processing the job... [2025-03-09 04:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:58:04] Production.INFO: Account Balance End. [2025-03-09 04:58:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:58:04] Production.INFO: ==12651== Releasing lock... [2025-03-09 04:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:58:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:58:04] Production.INFO: ==12653== Lock acquired, processing the job... [2025-03-09 04:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:58:04] Production.INFO: ==12655== Lock acquired, processing the job... [2025-03-09 04:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:58:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:58:04] Production.INFO: ==12647== Releasing lock... [2025-03-09 04:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:58:04] Production.INFO: count ==13 [2025-03-09 04:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:58:04] Production.INFO: count ==21 [2025-03-09 04:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639888') start [2025-03-09 04:58:05] Production.ERROR: done [2025-03-09 04:58:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639888') end [2025-03-09 04:58:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:58:05] Production.INFO: 1 [2025-03-09 04:58:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:58:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:58:05] Production.INFO: ==12655== Releasing lock... [2025-03-09 04:58:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:58:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:58:05] Production.ERROR: done [2025-03-09 04:58:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:58:06 [end_date_ymd] => 2025-03-09 05:58:06 [RateCDR] => 1 ) [2025-03-09 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-09 01:58:06' and `end` < '2025-03-09 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-09 04:58:12] Production.ERROR: CronJobId end10 [2025-03-09 04:58:12] Production.INFO: ==12649== Releasing lock... [2025-03-09 04:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:58:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:58:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:58:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:58:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:58:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:58:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:58:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:58:14] Production.INFO: call_cost start [2025-03-09 04:58:14] Production.INFO: call_cost end [2025-03-09 04:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:58:15] Production.INFO: ==12645== Releasing lock... [2025-03-09 04:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:58:18] Production.INFO: count ==396 [2025-03-09 04:58:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:58:06 - End Time 2025-03-09 05:58:06 [2025-03-09 04:58:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639889', 'tblTempUsageDetail_20' ) start [2025-03-09 04:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639889', 'tblTempUsageDetail_20' ) end [2025-03-09 04:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639889', 'tblTempVendorCDR_20' ) start [2025-03-09 04:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639889', 'tblTempVendorCDR_20' ) end [2025-03-09 04:58:18] Production.INFO: ProcessCDR(1,14639889,1,1,2) [2025-03-09 04:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639889', 'tblTempUsageDetail_20' ) start [2025-03-09 04:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639889', 'tblTempUsageDetail_20' ) end [2025-03-09 04:58:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:58:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:58:22] Production.INFO: ==12653== Releasing lock... [2025-03-09 04:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:58:22] Production.INFO: 31.75 MB #Memory Used# [2025-03-09 08:59:01] Production.INFO: ==12711== Lock acquired, processing the job... [2025-03-09 08:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 08:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 08:59:01] Production.INFO: neon service started [2025-03-09 08:59:01] Production.INFO: neon service started [2025-03-09 08:59:01] Production.INFO: ==12711== Releasing lock... [2025-03-09 08:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 08:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 04:59:02] Production.INFO: ==12713== Lock acquired, processing the job... [2025-03-09 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:59:02] Production.INFO: ==12715== Lock acquired, processing the job... [2025-03-09 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:59:02] Production.INFO: ==12715== Releasing lock... [2025-03-09 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 08:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 04:59:02] Production.INFO: ==12713== Releasing lock... [2025-03-09 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 04:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 04:59:03] Production.INFO: ==12720== Lock acquired, processing the job... [2025-03-09 04:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 04:59:03] Production.INFO: ==12722== Lock acquired, processing the job... [2025-03-09 04:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 04:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 04:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 04:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 04:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 04:59:03] Production.INFO: ==12726== Lock acquired, processing the job... [2025-03-09 04:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 04:59:03] Production.INFO: ==12720== Releasing lock... [2025-03-09 04:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 04:59:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 04:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 04:59:03] Production.INFO: ==12718== Lock acquired, processing the job... [2025-03-09 04:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 04:59:03] Production.INFO: ==12724== Lock acquired, processing the job... [2025-03-09 04:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 04:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 04:59:03] Production.INFO: ==12728== Lock acquired, processing the job... [2025-03-09 04:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 04:59:04] Production.INFO: Account Balance Start. [2025-03-09 04:59:04] Production.INFO: CreateAllLog Start [2025-03-09 04:59:04] Production.INFO: 117 [2025-03-09 04:59:04] Production.INFO: Date 2025-03-08 [2025-03-09 04:59:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:59:04] Production.INFO: count ==13 [2025-03-09 04:59:04] Production.ERROR: done [2025-03-09 04:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 04:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 04:59:04] Production.INFO: Date 2025-03-09 [2025-03-09 04:59:04] Production.INFO: Reseller ==> 0 [2025-03-09 04:59:04] Production.INFO: count ==21 [2025-03-09 04:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639893') start [2025-03-09 04:59:04] Production.INFO: Total Charge 0 [2025-03-09 04:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639893') end [2025-03-09 04:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 04:59:04] Production.INFO: 1 [2025-03-09 04:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 04:59:04] Production.INFO: CreateAllLog End [2025-03-09 04:59:04] Production.INFO: ==12728== Releasing lock... [2025-03-09 04:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 04:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 04:59:04] Production.ERROR: done [2025-03-09 04:59:04] Production.INFO: Account Balance End. [2025-03-09 04:59:04] Production.ERROR: CronJobId end 12 [2025-03-09 04:59:04] Production.INFO: ==12724== Releasing lock... [2025-03-09 04:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 04:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 04:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 01:59:05 [end_date_ymd] => 2025-03-09 05:59:05 [RateCDR] => 1 ) [2025-03-09 04:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 01:59:05' and `end` < '2025-03-09 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-09 04:59:11] Production.ERROR: CronJobId end10 [2025-03-09 04:59:11] Production.INFO: ==12722== Releasing lock... [2025-03-09 04:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 04:59:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 04:59:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 04:59:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 04:59:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 04:59:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 04:59:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 04:59:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 04:59:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 04:59:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 04:59:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 04:59:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 04:59:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 04:59:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 04:59:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 04:59:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 04:59:14] Production.INFO: call_cost start [2025-03-09 04:59:14] Production.INFO: call_cost end [2025-03-09 04:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 04:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 04:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 04:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 04:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 04:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 04:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 04:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 04:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 04:59:15] Production.INFO: ==12718== Releasing lock... [2025-03-09 04:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 04:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 04:59:18] Production.INFO: count ==506 [2025-03-09 04:59:18] Production.ERROR: pbx CDR StartTime 2025-03-09 01:59:05 - End Time 2025-03-09 05:59:05 [2025-03-09 04:59:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 04:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639894', 'tblTempUsageDetail_20' ) start [2025-03-09 04:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639894', 'tblTempUsageDetail_20' ) end [2025-03-09 04:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639894', 'tblTempVendorCDR_20' ) start [2025-03-09 04:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639894', 'tblTempVendorCDR_20' ) end [2025-03-09 04:59:18] Production.INFO: ProcessCDR(1,14639894,1,1,2) [2025-03-09 04:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 04:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 04:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639894', 'tblTempUsageDetail_20' ) start [2025-03-09 04:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639894', 'tblTempUsageDetail_20' ) end [2025-03-09 04:59:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 04:59:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 04:59:21] Production.INFO: ==12726== Releasing lock... [2025-03-09 04:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 04:59:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 09:00:02] Production.INFO: ==12783== Lock acquired, processing the job... [2025-03-09 09:00:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:00:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:00:02] Production.INFO: neon service started [2025-03-09 09:00:02] Production.INFO: neon service started [2025-03-09 09:00:02] Production.INFO: ==12783== Releasing lock... [2025-03-09 09:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:00:02] Production.INFO: ==12786== Lock acquired, processing the job... [2025-03-09 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:00:03] Production.INFO: ==12788== Lock acquired, processing the job... [2025-03-09 09:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:00:03] Production.INFO: ==12786== Releasing lock... [2025-03-09 05:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:00:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:00:03] Production.INFO: ==12788== Releasing lock... [2025-03-09 09:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:00:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:00:04] Production.INFO: ==12790== Lock acquired, processing the job... [2025-03-09 05:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 05:00:04] Production.INFO: ==12800== Lock acquired, processing the job... [2025-03-09 05:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:00:04] Production.INFO: ==12798== Lock acquired, processing the job... [2025-03-09 05:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:00:04] Production.INFO: ==12796== Lock acquired, processing the job... [2025-03-09 05:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 05:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 05:00:04] Production.ERROR: CronJob PID - 12796 [2025-03-09 05:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 05:00:04] Production.ERROR: CronJob ID - 10 [2025-03-09 05:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 05:00:00 [2025-03-09 05:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 05:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 05:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 05:00:04] Production.ERROR: CronJob PID - 12798 [2025-03-09 05:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 05:00:04] Production.ERROR: CronJob ID - 12 [2025-03-09 05:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 05:00:00 [2025-03-09 05:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 05:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 05:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 05:00:04] Production.ERROR: CronJob PID - 12800 [2025-03-09 05:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 05:00:04] Production.ERROR: CronJob ID - 16 [2025-03-09 05:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 05:00:00 [2025-03-09 05:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 05:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 05:00:04] Production.INFO: ==12792== Lock acquired, processing the job... [2025-03-09 05:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 05:00:04] Production.INFO: ==12790== Releasing lock... [2025-03-09 05:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 05:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 05:00:04] Production.INFO: Account Balance Start. [2025-03-09 05:00:04] Production.INFO: CreateAllLog Start [2025-03-09 05:00:04] Production.INFO: 117 [2025-03-09 05:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:00:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:00:04] Production.INFO: ==12794== Lock acquired, processing the job... [2025-03-09 05:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:00:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:00:04] Production.INFO: Total Charge 0 [2025-03-09 05:00:04] Production.INFO: ==12804== Lock acquired, processing the job... [2025-03-09 05:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:00:04] Production.INFO: ==12802== Lock acquired, processing the job... [2025-03-09 05:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 05:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:00:04] Production.INFO: CreateAllLog End [2025-03-09 05:00:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:00:05] Production.ERROR: done [2025-03-09 05:00:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05: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-09 05:00:05] Production.INFO: count ==13 [2025-03-09 05: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-09 05:00:05] Production.INFO: count ==21 [2025-03-09 05:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639898') start [2025-03-09 05:00:05] Production.INFO: ==12794== Releasing lock... [2025-03-09 05:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:00:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:00:05] Production.ERROR: done [2025-03-09 05:00:05] Production.INFO: Account Balance End. [2025-03-09 05:00:05] Production.ERROR: done [2025-03-09 05:00:05] Production.ERROR: CronJobId end 12 [2025-03-09 05:00:05] Production.INFO: ==12798== Releasing lock... [2025-03-09 05:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 05:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639900', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 05:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639898') end [2025-03-09 05:00:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:00:05] Production.INFO: 1 [2025-03-09 05:00:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:00:05] Production.INFO: ==12804== Releasing lock... [2025-03-09 05:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:00:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:00:06 [end_date_ymd] => 2025-03-09 06:00:06 [RateCDR] => 1 ) [2025-03-09 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-09 03:00:06' and `end` < '2025-03-09 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-09 05:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639900', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 05:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 05:00:09] Production.INFO: ProcessCDR(1,14639900,1,1,2) [2025-03-09 05:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14639900,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14639900,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:00:09] Production.INFO: ==12802== Releasing lock... [2025-03-09 05:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 05:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 05:00:14] Production.ERROR: CronJobId end10 [2025-03-09 05:00:14] Production.INFO: ==12796== Releasing lock... [2025-03-09 05:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:00:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:00:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:00:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:00:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:00:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:00:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:00:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:00:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:00:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:00:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:00:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:00:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:00:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:00:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:00:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:00:17] Production.INFO: call_cost start [2025-03-09 05:00:17] Production.INFO: call_cost end [2025-03-09 05:00:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:00:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:00:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:00:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:00:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:00:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:00:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:00:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:00:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:00:18] Production.INFO: ==12792== Releasing lock... [2025-03-09 05:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:00:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:00:19] Production.INFO: count ==512 [2025-03-09 05:00:19] Production.ERROR: pbx CDR StartTime 2025-03-09 03:00:06 - End Time 2025-03-09 06:00:06 [2025-03-09 05:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639899', 'tblTempUsageDetail_20' ) start [2025-03-09 05:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639899', 'tblTempUsageDetail_20' ) end [2025-03-09 05:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639899', 'tblTempVendorCDR_20' ) start [2025-03-09 05:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639899', 'tblTempVendorCDR_20' ) end [2025-03-09 05:00:19] Production.INFO: ProcessCDR(1,14639899,1,1,2) [2025-03-09 05:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639899', 'tblTempUsageDetail_20' ) start [2025-03-09 05:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639899', 'tblTempUsageDetail_20' ) end [2025-03-09 05:00:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:00:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:00:22] Production.INFO: ==12800== Releasing lock... [2025-03-09 05:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:00:22] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:01:01] Production.INFO: ==12862== Lock acquired, processing the job... [2025-03-09 09:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:01:01] Production.INFO: neon service started [2025-03-09 09:01:01] Production.INFO: neon service started [2025-03-09 09:01:01] Production.INFO: ==12862== Releasing lock... [2025-03-09 09:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:01:02] Production.INFO: ==12874== Lock acquired, processing the job... [2025-03-09 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:01:02] Production.INFO: ==12876== Lock acquired, processing the job... [2025-03-09 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:01:02] Production.INFO: ==12876== Releasing lock... [2025-03-09 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:01:02] Production.INFO: ==12874== Releasing lock... [2025-03-09 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:01:03] Production.INFO: ==12886== Lock acquired, processing the job... [2025-03-09 05:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:01:03] Production.INFO: ==12893== Lock acquired, processing the job... [2025-03-09 05:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:01:03] Production.INFO: ==12882== Lock acquired, processing the job... [2025-03-09 05:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:01:03] Production.INFO: ==12888== Lock acquired, processing the job... [2025-03-09 05:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:01:03] Production.INFO: ==12890== Lock acquired, processing the job... [2025-03-09 05:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:01:03] Production.INFO: ==12884== Lock acquired, processing the job... [2025-03-09 05:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:01:04] Production.INFO: Account Balance Start. [2025-03-09 05:01:04] Production.INFO: CreateAllLog Start [2025-03-09 05:01:04] Production.INFO: 117 [2025-03-09 05:01:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:01:04] Production.INFO: count ==13 [2025-03-09 05:01:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:01:04] Production.INFO: count ==21 [2025-03-09 05:01:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:01:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639902') start [2025-03-09 05:01:04] Production.INFO: Total Charge 0 [2025-03-09 05:01:04] Production.INFO: CreateAllLog End [2025-03-09 05:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639902') end [2025-03-09 05:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:01:04] Production.INFO: 1 [2025-03-09 05:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:01:04] Production.INFO: ==12893== Releasing lock... [2025-03-09 05:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:01:04] Production.INFO: ==12884== Releasing lock... [2025-03-09 05:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:01:04] Production.ERROR: done [2025-03-09 05:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:01:04] Production.ERROR: done [2025-03-09 05:01:04] Production.INFO: Account Balance End. [2025-03-09 05:01:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:01:04] Production.INFO: ==12888== Releasing lock... [2025-03-09 05:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:01:05 [end_date_ymd] => 2025-03-09 06:01:05 [RateCDR] => 1 ) [2025-03-09 05:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:01:05' and `end` < '2025-03-09 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-09 05:01:13] Production.ERROR: CronJobId end10 [2025-03-09 05:01:13] Production.INFO: ==12886== Releasing lock... [2025-03-09 05:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:01:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:01:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:01:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:01:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:01:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:01:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:01:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:01:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:01:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:01:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:01:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:01:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:01:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:01:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:01:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:01:15] Production.INFO: call_cost start [2025-03-09 05:01:15] Production.INFO: call_cost end [2025-03-09 05:01:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:01:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:01:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:01:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:01:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:01:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:01:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:01:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:01:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:01:16] Production.INFO: ==12882== Releasing lock... [2025-03-09 05:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:01:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:01:17] Production.INFO: count ==517 [2025-03-09 05:01:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:01:05 - End Time 2025-03-09 06:01:05 [2025-03-09 05:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639905', 'tblTempUsageDetail_20' ) start [2025-03-09 05:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639905', 'tblTempUsageDetail_20' ) end [2025-03-09 05:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639905', 'tblTempVendorCDR_20' ) start [2025-03-09 05:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639905', 'tblTempVendorCDR_20' ) end [2025-03-09 05:01:18] Production.INFO: ProcessCDR(1,14639905,1,1,2) [2025-03-09 05:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639905', 'tblTempUsageDetail_20' ) start [2025-03-09 05:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639905', 'tblTempUsageDetail_20' ) end [2025-03-09 05:01:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:01:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:01:21] Production.INFO: ==12890== Releasing lock... [2025-03-09 05:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:01:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 09:02:02] Production.INFO: ==12950== Lock acquired, processing the job... [2025-03-09 09:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:02:02] Production.INFO: neon service started [2025-03-09 09:02:02] Production.INFO: neon service started [2025-03-09 09:02:02] Production.INFO: ==12950== Releasing lock... [2025-03-09 09:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:02:02] Production.INFO: ==12952== Lock acquired, processing the job... [2025-03-09 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:02:03] Production.INFO: ==12952== Releasing lock... [2025-03-09 05:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:02:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:02:03] Production.INFO: ==12954== Lock acquired, processing the job... [2025-03-09 09:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:02:03] Production.INFO: ==12954== Releasing lock... [2025-03-09 09:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:02:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:02:03] Production.INFO: ==12963== Lock acquired, processing the job... [2025-03-09 05:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:02:03] Production.INFO: Account Balance Start. [2025-03-09 05:02:03] Production.INFO: CreateAllLog Start [2025-03-09 05:02:03] Production.INFO: 117 [2025-03-09 05:02:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:02:03] Production.INFO: ==12957== Lock acquired, processing the job... [2025-03-09 05:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:02:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:02:04] Production.INFO: ==12967== Lock acquired, processing the job... [2025-03-09 05:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:02:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:02:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:02:04] Production.INFO: Total Charge 0 [2025-03-09 05:02:04] Production.INFO: ==12959== Lock acquired, processing the job... [2025-03-09 05:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:02:04] Production.INFO: ==12961== Lock acquired, processing the job... [2025-03-09 05:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:02:04] Production.INFO: CreateAllLog End [2025-03-09 05:02:04] Production.INFO: count ==13 [2025-03-09 05:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:02:04] Production.INFO: count ==21 [2025-03-09 05:02:04] Production.INFO: ==12965== Lock acquired, processing the job... [2025-03-09 05:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639907') start [2025-03-09 05:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:02:04] Production.INFO: Account Balance End. [2025-03-09 05:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639907') end [2025-03-09 05:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:02:04] Production.INFO: 1 [2025-03-09 05:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:02:04] Production.INFO: ==12967== Releasing lock... [2025-03-09 05:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:02:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:02:04] Production.INFO: ==12963== Releasing lock... [2025-03-09 05:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:02:04] Production.INFO: ==12959== Releasing lock... [2025-03-09 05:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:02:04] Production.ERROR: done [2025-03-09 05:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:02:04] Production.ERROR: done [2025-03-09 05:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:02:05 [end_date_ymd] => 2025-03-09 06:02:05 [RateCDR] => 1 ) [2025-03-09 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-09 03:02:05' and `end` < '2025-03-09 06:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:02:12] Production.ERROR: CronJobId end10 [2025-03-09 05:02:12] Production.INFO: ==12961== Releasing lock... [2025-03-09 05:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:02:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:02:14] Production.INFO: call_cost start [2025-03-09 05:02:14] Production.INFO: call_cost end [2025-03-09 05:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:02:15] Production.INFO: ==12957== Releasing lock... [2025-03-09 05:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:02:19] Production.INFO: count ==559 [2025-03-09 05:02:19] Production.ERROR: pbx CDR StartTime 2025-03-09 03:02:05 - End Time 2025-03-09 06:02:05 [2025-03-09 05:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639910', 'tblTempUsageDetail_20' ) start [2025-03-09 05:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639910', 'tblTempUsageDetail_20' ) end [2025-03-09 05:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639910', 'tblTempVendorCDR_20' ) start [2025-03-09 05:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639910', 'tblTempVendorCDR_20' ) end [2025-03-09 05:02:19] Production.INFO: ProcessCDR(1,14639910,1,1,2) [2025-03-09 05:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639910', 'tblTempUsageDetail_20' ) start [2025-03-09 05:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639910', 'tblTempUsageDetail_20' ) end [2025-03-09 05:02:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:02:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:02:22] Production.INFO: ==12965== Releasing lock... [2025-03-09 05:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:02:22] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 09:03:01] Production.INFO: ==13023== Lock acquired, processing the job... [2025-03-09 09:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:03:01] Production.INFO: neon service started [2025-03-09 09:03:01] Production.INFO: neon service started [2025-03-09 09:03:01] Production.INFO: ==13023== Releasing lock... [2025-03-09 09:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:03:02] Production.INFO: ==13025== Lock acquired, processing the job... [2025-03-09 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:03:02] Production.INFO: ==13025== Releasing lock... [2025-03-09 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:03:02] Production.INFO: ==13027== Lock acquired, processing the job... [2025-03-09 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:03:02] Production.INFO: ==13027== Releasing lock... [2025-03-09 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:03:02] Production.INFO: 26 MB #Memory Used# [2025-03-09 05:03:03] Production.INFO: ==13029== Lock acquired, processing the job... [2025-03-09 05:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:03:03] Production.INFO: ==13031== Lock acquired, processing the job... [2025-03-09 05:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:03:03] Production.INFO: ==13037== Lock acquired, processing the job... [2025-03-09 05:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:03:03] Production.INFO: ==13035== Lock acquired, processing the job... [2025-03-09 05:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:03:03] Production.INFO: ==13033== Lock acquired, processing the job... [2025-03-09 05:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:03:03] Production.INFO: ==13031== Releasing lock... [2025-03-09 05:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:03:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:03:03] Production.INFO: Account Balance Start. [2025-03-09 05:03:03] Production.INFO: CreateAllLog Start [2025-03-09 05:03:03] Production.INFO: 117 [2025-03-09 05:03:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:03:03] Production.INFO: ==13039== Lock acquired, processing the job... [2025-03-09 05:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:03:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:03:03] Production.ERROR: done [2025-03-09 05:03:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:03:03] Production.INFO: Total Charge 0 [2025-03-09 05:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:03:03] Production.INFO: CreateAllLog End [2025-03-09 05:03:03] Production.INFO: count ==13 [2025-03-09 05:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:03:04] Production.INFO: count ==21 [2025-03-09 05:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639914') start [2025-03-09 05:03:04] Production.ERROR: done [2025-03-09 05:03:04] Production.INFO: Account Balance End. [2025-03-09 05:03:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:03:04] Production.INFO: ==13035== Releasing lock... [2025-03-09 05:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639914') end [2025-03-09 05:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:03:04] Production.INFO: 1 [2025-03-09 05:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:03:04] Production.INFO: ==13039== Releasing lock... [2025-03-09 05:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:03:05 [end_date_ymd] => 2025-03-09 06:03:05 [RateCDR] => 1 ) [2025-03-09 05:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:03:05' and `end` < '2025-03-09 06:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:03:11] Production.ERROR: CronJobId end10 [2025-03-09 05:03:11] Production.INFO: ==13033== Releasing lock... [2025-03-09 05:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:03:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:03:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:03:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:03:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:03:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:03:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:03:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:03:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:03:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:03:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:03:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:03:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:03:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:03:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:03:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:03:14] Production.INFO: call_cost start [2025-03-09 05:03:14] Production.INFO: call_cost end [2025-03-09 05:03:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:03:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:03:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:03:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:03:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:03:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:03:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:03:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:03:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:03:15] Production.INFO: ==13029== Releasing lock... [2025-03-09 05:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:03:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:03:17] Production.INFO: count ==558 [2025-03-09 05:03:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:03:05 - End Time 2025-03-09 06:03:05 [2025-03-09 05:03:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639915', 'tblTempUsageDetail_20' ) start [2025-03-09 05:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639915', 'tblTempUsageDetail_20' ) end [2025-03-09 05:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639915', 'tblTempVendorCDR_20' ) start [2025-03-09 05:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639915', 'tblTempVendorCDR_20' ) end [2025-03-09 05:03:17] Production.INFO: ProcessCDR(1,14639915,1,1,2) [2025-03-09 05:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:03:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639915', 'tblTempUsageDetail_20' ) start [2025-03-09 05:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639915', 'tblTempUsageDetail_20' ) end [2025-03-09 05:03:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:03:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:03:20] Production.INFO: ==13037== Releasing lock... [2025-03-09 05:03:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:03:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:04:02] Production.INFO: ==13135== Lock acquired, processing the job... [2025-03-09 09:04:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:04:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:04:02] Production.INFO: neon service started [2025-03-09 09:04:02] Production.INFO: neon service started [2025-03-09 09:04:02] Production.INFO: ==13135== Releasing lock... [2025-03-09 09:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:04:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:04:02] Production.INFO: ==13137== Lock acquired, processing the job... [2025-03-09 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:04:02] Production.INFO: ==13137== Releasing lock... [2025-03-09 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:04:02] Production.INFO: ==13139== Lock acquired, processing the job... [2025-03-09 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:04:03] Production.INFO: ==13139== Releasing lock... [2025-03-09 09:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:04:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:04:03] Production.INFO: ==13148== Lock acquired, processing the job... [2025-03-09 05:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:04:03] Production.INFO: ==13152== Lock acquired, processing the job... [2025-03-09 05:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:04:03] Production.INFO: Account Balance Start. [2025-03-09 05:04:03] Production.INFO: CreateAllLog Start [2025-03-09 05:04:03] Production.INFO: 117 [2025-03-09 05:04:03] Production.INFO: ==13142== Lock acquired, processing the job... [2025-03-09 05:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:04:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:04:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:04:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:04:04] Production.INFO: ==13144== Lock acquired, processing the job... [2025-03-09 05:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:04:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:04:04] Production.INFO: ==13146== Lock acquired, processing the job... [2025-03-09 05:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:04:04] Production.INFO: Total Charge 0 [2025-03-09 05:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:04:04] Production.INFO: CreateAllLog End [2025-03-09 05:04:04] Production.INFO: ==13150== Lock acquired, processing the job... [2025-03-09 05:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:04:04] Production.INFO: count ==13 [2025-03-09 05:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:04:04] Production.INFO: count ==21 [2025-03-09 05:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639917') start [2025-03-09 05:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639917') end [2025-03-09 05:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:04:04] Production.INFO: 1 [2025-03-09 05:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:04:04] Production.INFO: Account Balance End. [2025-03-09 05:04:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:04:04] Production.INFO: ==13148== Releasing lock... [2025-03-09 05:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:04:04] Production.INFO: ==13152== Releasing lock... [2025-03-09 05:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:04:04] Production.INFO: ==13144== Releasing lock... [2025-03-09 05:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:04:04] Production.ERROR: done [2025-03-09 05:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:04:04] Production.ERROR: done [2025-03-09 05:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:04:05 [end_date_ymd] => 2025-03-09 06:04:05 [RateCDR] => 1 ) [2025-03-09 05:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:04:05' and `end` < '2025-03-09 06:04:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:04:11] Production.ERROR: CronJobId end10 [2025-03-09 05:04:11] Production.INFO: ==13146== Releasing lock... [2025-03-09 05:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:04:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:04:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:04:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:04:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:04:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:04:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:04:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:04:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:04:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:04:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:04:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:04:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:04:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:04:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:04:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:04:14] Production.INFO: call_cost start [2025-03-09 05:04:14] Production.INFO: call_cost end [2025-03-09 05:04:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:04:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:04:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:04:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:04:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:04:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:04:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:04:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:04:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:04:15] Production.INFO: ==13142== Releasing lock... [2025-03-09 05:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:04:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:04:18] Production.INFO: count ==557 [2025-03-09 05:04:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:04:05 - End Time 2025-03-09 06:04:05 [2025-03-09 05:04:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639920', 'tblTempUsageDetail_20' ) start [2025-03-09 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639920', 'tblTempUsageDetail_20' ) end [2025-03-09 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639920', 'tblTempVendorCDR_20' ) start [2025-03-09 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639920', 'tblTempVendorCDR_20' ) end [2025-03-09 05:04:18] Production.INFO: ProcessCDR(1,14639920,1,1,2) [2025-03-09 05:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639920', 'tblTempUsageDetail_20' ) start [2025-03-09 05:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639920', 'tblTempUsageDetail_20' ) end [2025-03-09 05:04:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:04:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:04:21] Production.INFO: ==13150== Releasing lock... [2025-03-09 05:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:04:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 09:05:01] Production.INFO: ==13209== Lock acquired, processing the job... [2025-03-09 09:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:05:01] Production.INFO: neon service started [2025-03-09 09:05:01] Production.INFO: neon service started [2025-03-09 09:05:01] Production.INFO: ==13209== Releasing lock... [2025-03-09 09:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:05:02] Production.INFO: ==13211== Lock acquired, processing the job... [2025-03-09 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:05:02] Production.INFO: ==13211== Releasing lock... [2025-03-09 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:05:02] Production.INFO: ==13213== Lock acquired, processing the job... [2025-03-09 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:05:02] Production.INFO: ==13213== Releasing lock... [2025-03-09 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:05:03] Production.INFO: ==13215== Lock acquired, processing the job... [2025-03-09 05:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:05:03] Production.INFO: ==13219== Lock acquired, processing the job... [2025-03-09 05:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:05:03] Production.INFO: ==13223== Lock acquired, processing the job... [2025-03-09 05:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:05:03] Production.INFO: ==13217== Lock acquired, processing the job... [2025-03-09 05:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:05:03] Production.INFO: ==13225== Lock acquired, processing the job... [2025-03-09 05:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:05:03] Production.INFO: ==13221== Lock acquired, processing the job... [2025-03-09 05:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:05:03] Production.ERROR: done [2025-03-09 05:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:05:03] Production.INFO: Account Balance Start. [2025-03-09 05:05:03] Production.INFO: CreateAllLog Start [2025-03-09 05:05:03] Production.INFO: 117 [2025-03-09 05:05:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:05:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:05:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:05:03] Production.INFO: count ==13 [2025-03-09 05:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:05:03] Production.INFO: count ==21 [2025-03-09 05:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639922') start [2025-03-09 05:05:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:05:04] Production.INFO: ==13217== Releasing lock... [2025-03-09 05:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:05:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:05:04] Production.ERROR: done [2025-03-09 05:05:04] Production.INFO: Total Charge 0 [2025-03-09 05:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639922') end [2025-03-09 05:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:05:04] Production.INFO: 1 [2025-03-09 05:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:05:04] Production.INFO: CreateAllLog End [2025-03-09 05:05:04] Production.INFO: ==13225== Releasing lock... [2025-03-09 05:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:05:04] Production.INFO: Account Balance End. [2025-03-09 05:05:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:05:04] Production.INFO: ==13221== Releasing lock... [2025-03-09 05:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:05:05 [end_date_ymd] => 2025-03-09 06:05:05 [RateCDR] => 1 ) [2025-03-09 05:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:05:05' and `end` < '2025-03-09 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-09 05:05:12] Production.ERROR: CronJobId end10 [2025-03-09 05:05:12] Production.INFO: ==13219== Releasing lock... [2025-03-09 05:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:05:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:05:14] Production.INFO: call_cost start [2025-03-09 05:05:14] Production.INFO: call_cost end [2025-03-09 05:05:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:05:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:05:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:05:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:05:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:05:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:05:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:05:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:05:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:05:15] Production.INFO: ==13215== Releasing lock... [2025-03-09 05:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:05:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:05:17] Production.INFO: count ==557 [2025-03-09 05:05:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:05:05 - End Time 2025-03-09 06:05:05 [2025-03-09 05:05:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639925', 'tblTempUsageDetail_20' ) start [2025-03-09 05:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639925', 'tblTempUsageDetail_20' ) end [2025-03-09 05:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639925', 'tblTempVendorCDR_20' ) start [2025-03-09 05:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639925', 'tblTempVendorCDR_20' ) end [2025-03-09 05:05:17] Production.INFO: ProcessCDR(1,14639925,1,1,2) [2025-03-09 05:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639925', 'tblTempUsageDetail_20' ) start [2025-03-09 05:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639925', 'tblTempUsageDetail_20' ) end [2025-03-09 05:05:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:05:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:05:20] Production.INFO: ==13223== Releasing lock... [2025-03-09 05:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:05:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 09:06:02] Production.INFO: ==13285== Lock acquired, processing the job... [2025-03-09 09:06:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:06:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:06:02] Production.INFO: neon service started [2025-03-09 09:06:02] Production.INFO: neon service started [2025-03-09 09:06:02] Production.INFO: ==13285== Releasing lock... [2025-03-09 09:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:06:02] Production.INFO: ==13287== Lock acquired, processing the job... [2025-03-09 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:06:02] Production.INFO: ==13289== Lock acquired, processing the job... [2025-03-09 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:06:02] Production.INFO: ==13289== Releasing lock... [2025-03-09 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:06:03] Production.INFO: ==13287== Releasing lock... [2025-03-09 05:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:06:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:06:03] Production.INFO: ==13294== Lock acquired, processing the job... [2025-03-09 05:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:06:03] Production.INFO: ==13298== Lock acquired, processing the job... [2025-03-09 05:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:06:04] Production.INFO: ==13302== Lock acquired, processing the job... [2025-03-09 05:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:06:04] Production.INFO: Account Balance Start. [2025-03-09 05:06:04] Production.INFO: CreateAllLog Start [2025-03-09 05:06:04] Production.INFO: 117 [2025-03-09 05:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:06:04] Production.INFO: ==13292== Lock acquired, processing the job... [2025-03-09 05:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:06:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:06:04] Production.INFO: count ==13 [2025-03-09 05:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:06:04] Production.INFO: ==13294== Releasing lock... [2025-03-09 05:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:06:04] Production.INFO: count ==21 [2025-03-09 05:06:04] Production.INFO: ==13300== Lock acquired, processing the job... [2025-03-09 05:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639928') start [2025-03-09 05:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:06:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639928') end [2025-03-09 05:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:06:04] Production.INFO: 1 [2025-03-09 05:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:06:04] Production.INFO: ==13296== Lock acquired, processing the job... [2025-03-09 05:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:06:04] Production.INFO: Total Charge 0 [2025-03-09 05:06:04] Production.INFO: CreateAllLog End [2025-03-09 05:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:06:04] Production.INFO: ==13302== Releasing lock... [2025-03-09 05:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:06:04] Production.ERROR: done [2025-03-09 05:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:06:04] Production.INFO: Account Balance End. [2025-03-09 05:06:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:06:04] Production.INFO: ==13298== Releasing lock... [2025-03-09 05:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:06:04] Production.ERROR: done [2025-03-09 05:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:06:05 [end_date_ymd] => 2025-03-09 06:06:05 [RateCDR] => 1 ) [2025-03-09 05:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:06:05' and `end` < '2025-03-09 06:06:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:06:12] Production.ERROR: CronJobId end10 [2025-03-09 05:06:12] Production.INFO: ==13296== Releasing lock... [2025-03-09 05:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:06:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:06:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:06:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:06:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:06:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:06:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:06:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:06:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:06:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:06:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:06:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:06:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:06:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:06:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:06:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:06:15] Production.INFO: call_cost start [2025-03-09 05:06:15] Production.INFO: call_cost end [2025-03-09 05:06:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:06:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:06:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:06:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:06:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:06:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:06:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:06:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:06:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:06:16] Production.INFO: ==13292== Releasing lock... [2025-03-09 05:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:06:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:06:18] Production.INFO: count ==554 [2025-03-09 05:06:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:06:05 - End Time 2025-03-09 06:06:05 [2025-03-09 05:06:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639930', 'tblTempUsageDetail_20' ) start [2025-03-09 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639930', 'tblTempUsageDetail_20' ) end [2025-03-09 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639930', 'tblTempVendorCDR_20' ) start [2025-03-09 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639930', 'tblTempVendorCDR_20' ) end [2025-03-09 05:06:18] Production.INFO: ProcessCDR(1,14639930,1,1,2) [2025-03-09 05:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639930', 'tblTempUsageDetail_20' ) start [2025-03-09 05:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639930', 'tblTempUsageDetail_20' ) end [2025-03-09 05:06:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:06:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:06:21] Production.INFO: ==13300== Releasing lock... [2025-03-09 05:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:06:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 09:07:01] Production.INFO: ==13359== Lock acquired, processing the job... [2025-03-09 09:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:07:01] Production.INFO: neon service started [2025-03-09 09:07:01] Production.INFO: neon service started [2025-03-09 09:07:01] Production.INFO: ==13359== Releasing lock... [2025-03-09 09:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:07:01] Production.INFO: ==13361== Lock acquired, processing the job... [2025-03-09 05:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:07:02] Production.INFO: ==13361== Releasing lock... [2025-03-09 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:07:02] Production.INFO: ==13363== Lock acquired, processing the job... [2025-03-09 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:07:02] Production.INFO: ==13363== Releasing lock... [2025-03-09 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:07:03] Production.INFO: ==13375== Lock acquired, processing the job... [2025-03-09 05:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:07:03] Production.INFO: ==13369== Lock acquired, processing the job... [2025-03-09 05:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:07:03] Production.INFO: ==13365== Lock acquired, processing the job... [2025-03-09 05:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:07:03] Production.INFO: ==13367== Lock acquired, processing the job... [2025-03-09 05:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:07:03] Production.INFO: ==13371== Lock acquired, processing the job... [2025-03-09 05:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:07:03] Production.INFO: count ==13 [2025-03-09 05:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:07:03] Production.INFO: count ==21 [2025-03-09 05:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639931') start [2025-03-09 05:07:03] Production.INFO: ==13373== Lock acquired, processing the job... [2025-03-09 05:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:07:03] Production.INFO: Account Balance Start. [2025-03-09 05:07:03] Production.INFO: CreateAllLog Start [2025-03-09 05:07:03] Production.INFO: 117 [2025-03-09 05:07:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639931') end [2025-03-09 05:07:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:07:03] Production.INFO: 1 [2025-03-09 05:07:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:07:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:07:03] Production.INFO: Total Charge 0 [2025-03-09 05:07:03] Production.INFO: ==13375== Releasing lock... [2025-03-09 05:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:07:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:07:03] Production.INFO: CreateAllLog End [2025-03-09 05:07:03] Production.INFO: ==13367== Releasing lock... [2025-03-09 05:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:07:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:07:03] Production.ERROR: done [2025-03-09 05:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:07:04] Production.INFO: Account Balance End. [2025-03-09 05:07:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:07:04] Production.INFO: ==13371== Releasing lock... [2025-03-09 05:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:07:04] Production.ERROR: done [2025-03-09 05:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:07:05 [end_date_ymd] => 2025-03-09 06:07:05 [RateCDR] => 1 ) [2025-03-09 05:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:07:05' and `end` < '2025-03-09 06:07:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:07:11] Production.ERROR: CronJobId end10 [2025-03-09 05:07:11] Production.INFO: ==13369== Releasing lock... [2025-03-09 05:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:07:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:07:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:07:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:07:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:07:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:07:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:07:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:07:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:07:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:07:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:07:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:07:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:07:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:07:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:07:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:07:13] Production.INFO: call_cost start [2025-03-09 05:07:13] Production.INFO: call_cost end [2025-03-09 05:07:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:07:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:07:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:07:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:07:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:07:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:07:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:07:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:07:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:07:14] Production.INFO: ==13365== Releasing lock... [2025-03-09 05:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:07:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:07:17] Production.INFO: count ==554 [2025-03-09 05:07:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:07:05 - End Time 2025-03-09 06:07:05 [2025-03-09 05:07:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639935', 'tblTempUsageDetail_20' ) start [2025-03-09 05:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639935', 'tblTempUsageDetail_20' ) end [2025-03-09 05:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639935', 'tblTempVendorCDR_20' ) start [2025-03-09 05:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639935', 'tblTempVendorCDR_20' ) end [2025-03-09 05:07:17] Production.INFO: ProcessCDR(1,14639935,1,1,2) [2025-03-09 05:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:07:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639935', 'tblTempUsageDetail_20' ) start [2025-03-09 05:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639935', 'tblTempUsageDetail_20' ) end [2025-03-09 05:07:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:07:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:07:20] Production.INFO: ==13373== Releasing lock... [2025-03-09 05:07:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:07:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 09:08:02] Production.INFO: ==13439== Lock acquired, processing the job... [2025-03-09 09:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:08:02] Production.INFO: neon service started [2025-03-09 09:08:02] Production.INFO: neon service started [2025-03-09 09:08:02] Production.INFO: ==13439== Releasing lock... [2025-03-09 09:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:08:02] Production.INFO: ==13441== Lock acquired, processing the job... [2025-03-09 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:08:02] Production.INFO: ==13443== Lock acquired, processing the job... [2025-03-09 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:08:02] Production.INFO: ==13443== Releasing lock... [2025-03-09 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:08:03] Production.INFO: ==13441== Releasing lock... [2025-03-09 05:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:08:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:08:03] Production.INFO: ==13448== Lock acquired, processing the job... [2025-03-09 05:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:08:03] Production.INFO: ==13446== Lock acquired, processing the job... [2025-03-09 05:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:08:04] Production.INFO: ==13454== Lock acquired, processing the job... [2025-03-09 05:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:08:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:08:04] Production.INFO: ==13450== Lock acquired, processing the job... [2025-03-09 05:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:08:04] Production.INFO: ==13452== Lock acquired, processing the job... [2025-03-09 05:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:08:04] Production.INFO: ==13448== Releasing lock... [2025-03-09 05:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:08:04] Production.INFO: Account Balance Start. [2025-03-09 05:08:04] Production.INFO: CreateAllLog Start [2025-03-09 05:08:04] Production.INFO: 117 [2025-03-09 05:08:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:08:04] Production.INFO: ==13456== Lock acquired, processing the job... [2025-03-09 05:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:08:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:08:04] Production.INFO: Total Charge 0 [2025-03-09 05:08:04] Production.INFO: CreateAllLog End [2025-03-09 05:08:04] Production.ERROR: done [2025-03-09 05:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 05:08:04] Production.INFO: count ==13 [2025-03-09 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-09 05:08:04] Production.INFO: count ==21 [2025-03-09 05:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639939') start [2025-03-09 05:08:04] Production.ERROR: done [2025-03-09 05:08:04] Production.INFO: Account Balance End. [2025-03-09 05:08:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:08:04] Production.INFO: ==13452== Releasing lock... [2025-03-09 05:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639939') end [2025-03-09 05:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:08:04] Production.INFO: 1 [2025-03-09 05:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:08:05] Production.INFO: ==13456== Releasing lock... [2025-03-09 05:08:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:08:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:08:05 [end_date_ymd] => 2025-03-09 06:08:05 [RateCDR] => 1 ) [2025-03-09 05:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:08:05' and `end` < '2025-03-09 06:08:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:08:11] Production.ERROR: CronJobId end10 [2025-03-09 05:08:11] Production.INFO: ==13450== Releasing lock... [2025-03-09 05:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:08:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:08:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:08:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:08:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:08:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:08:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:08:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:08:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:08:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:08:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:08:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:08:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:08:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:08:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:08:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:08:14] Production.INFO: call_cost start [2025-03-09 05:08:14] Production.INFO: call_cost end [2025-03-09 05:08:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:08:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:08:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:08:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:08:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:08:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:08:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:08:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:08:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:08:15] Production.INFO: ==13446== Releasing lock... [2025-03-09 05:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:08:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:08:17] Production.INFO: count ==553 [2025-03-09 05:08:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:08:05 - End Time 2025-03-09 06:08:05 [2025-03-09 05:08:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639940', 'tblTempUsageDetail_20' ) start [2025-03-09 05:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639940', 'tblTempUsageDetail_20' ) end [2025-03-09 05:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639940', 'tblTempVendorCDR_20' ) start [2025-03-09 05:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639940', 'tblTempVendorCDR_20' ) end [2025-03-09 05:08:18] Production.INFO: ProcessCDR(1,14639940,1,1,2) [2025-03-09 05:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639940', 'tblTempUsageDetail_20' ) start [2025-03-09 05:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639940', 'tblTempUsageDetail_20' ) end [2025-03-09 05:08:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:08:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:08:21] Production.INFO: ==13454== Releasing lock... [2025-03-09 05:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:08:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 09:09:01] Production.INFO: ==13517== Lock acquired, processing the job... [2025-03-09 09:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:09:01] Production.INFO: neon service started [2025-03-09 09:09:01] Production.INFO: neon service started [2025-03-09 09:09:01] Production.INFO: ==13517== Releasing lock... [2025-03-09 09:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:09:01] Production.INFO: ==13521== Lock acquired, processing the job... [2025-03-09 09:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:09:01] Production.INFO: ==13521== Releasing lock... [2025-03-09 09:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:09:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:09:02] Production.INFO: ==13519== Lock acquired, processing the job... [2025-03-09 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:09:02] Production.INFO: ==13519== Releasing lock... [2025-03-09 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:09:03] Production.INFO: ==13524== Lock acquired, processing the job... [2025-03-09 05:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:09:03] Production.INFO: ==13526== Lock acquired, processing the job... [2025-03-09 05:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:09:03] Production.INFO: ==13532== Lock acquired, processing the job... [2025-03-09 05:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:09:03] Production.INFO: ==13528== Lock acquired, processing the job... [2025-03-09 05:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:09:03] Production.INFO: ==13530== Lock acquired, processing the job... [2025-03-09 05:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:09:03] Production.INFO: ==13526== Releasing lock... [2025-03-09 05:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:09:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:09:03] Production.INFO: Account Balance Start. [2025-03-09 05:09:03] Production.INFO: CreateAllLog Start [2025-03-09 05:09:03] Production.INFO: 117 [2025-03-09 05:09:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:09:03] Production.INFO: ==13534== Lock acquired, processing the job... [2025-03-09 05:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:09:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:09:03] Production.INFO: Total Charge 0 [2025-03-09 05:09:03] Production.INFO: CreateAllLog End [2025-03-09 05:09:03] Production.ERROR: done [2025-03-09 05:09:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:09:03] Production.INFO: Account Balance End. [2025-03-09 05:09:03] Production.ERROR: CronJobId end 12 [2025-03-09 05:09:03] Production.INFO: ==13530== Releasing lock... [2025-03-09 05:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:09:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:09:04] Production.INFO: count ==13 [2025-03-09 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-09 05:09:04] Production.INFO: count ==21 [2025-03-09 05:09:04] Production.ERROR: done [2025-03-09 05:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639944') start [2025-03-09 05:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639944') end [2025-03-09 05:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:09:04] Production.INFO: 1 [2025-03-09 05:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:09:04] Production.INFO: ==13534== Releasing lock... [2025-03-09 05:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:09:05 [end_date_ymd] => 2025-03-09 06:09:05 [RateCDR] => 1 ) [2025-03-09 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-09 03:09:05' and `end` < '2025-03-09 06:09:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:09:12] Production.ERROR: CronJobId end10 [2025-03-09 05:09:12] Production.INFO: ==13528== Releasing lock... [2025-03-09 05:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:09:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:09:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:09:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:09:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:09:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:09:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:09:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:09:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:09:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:09:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:09:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:09:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:09:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:09:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:09:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:09:14] Production.INFO: call_cost start [2025-03-09 05:09:14] Production.INFO: call_cost end [2025-03-09 05:09:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:09:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:09:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:09:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:09:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:09:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:09:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:09:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:09:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:09:15] Production.INFO: ==13524== Releasing lock... [2025-03-09 05:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:09:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:09:17] Production.INFO: count ==553 [2025-03-09 05:09:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:09:05 - End Time 2025-03-09 06:09:05 [2025-03-09 05:09:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639945', 'tblTempUsageDetail_20' ) start [2025-03-09 05:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639945', 'tblTempUsageDetail_20' ) end [2025-03-09 05:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639945', 'tblTempVendorCDR_20' ) start [2025-03-09 05:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639945', 'tblTempVendorCDR_20' ) end [2025-03-09 05:09:17] Production.INFO: ProcessCDR(1,14639945,1,1,2) [2025-03-09 05:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:09:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639945', 'tblTempUsageDetail_20' ) start [2025-03-09 05:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639945', 'tblTempUsageDetail_20' ) end [2025-03-09 05:09:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:09:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:09:20] Production.INFO: ==13532== Releasing lock... [2025-03-09 05:09:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:09:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 09:10:02] Production.INFO: ==13592== Lock acquired, processing the job... [2025-03-09 09:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:10:02] Production.INFO: neon service started [2025-03-09 09:10:02] Production.INFO: neon service started [2025-03-09 09:10:02] Production.INFO: ==13592== Releasing lock... [2025-03-09 09:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:10:02] Production.INFO: ==13594== Lock acquired, processing the job... [2025-03-09 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:10:02] Production.INFO: ==13596== Lock acquired, processing the job... [2025-03-09 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:10:02] Production.INFO: ==13596== Releasing lock... [2025-03-09 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:10:03] Production.INFO: ==13594== Releasing lock... [2025-03-09 05:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:10:04] Production.INFO: ==13599== Lock acquired, processing the job... [2025-03-09 05:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 05:10:04] Production.INFO: ==13601== Lock acquired, processing the job... [2025-03-09 05:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 05:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 05:10:04] Production.ERROR: CronJob PID - 13601 [2025-03-09 05:10:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 05:10:04] Production.ERROR: CronJob ID - 5 [2025-03-09 05:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 05:10:00 [2025-03-09 05:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 05:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 05:10:04] Production.INFO: ==13605== Lock acquired, processing the job... [2025-03-09 05:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 05:10:04] Production.INFO: ==13599== Releasing lock... [2025-03-09 05:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 05:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 05:10:04] Production.INFO: ==13603== Lock acquired, processing the job... [2025-03-09 05:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:10:04] Production.INFO: ==13611== Lock acquired, processing the job... [2025-03-09 05:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 05:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:10:04] Production.INFO: ==13607== Lock acquired, processing the job... [2025-03-09 05:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:10:04] Production.INFO: ==13613== Lock acquired, processing the job... [2025-03-09 05:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:10:04] Production.INFO: ==13609== Lock acquired, processing the job... [2025-03-09 05:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:10:04] Production.INFO: Account Balance Start. [2025-03-09 05:10:04] Production.INFO: CreateAllLog Start [2025-03-09 05:10:04] Production.INFO: 117 [2025-03-09 05:10:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:10:04] Production.ERROR: done [2025-03-09 05:10:04] Production.INFO: ==13603== Releasing lock... [2025-03-09 05:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:10:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:10:04] Production.INFO: Total Charge 0 [2025-03-09 05:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 05:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639950', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 05:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:10:04] Production.INFO: CreateAllLog End [2025-03-09 05:10:04] Production.INFO: count ==13 [2025-03-09 05:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:10:04] Production.INFO: count ==21 [2025-03-09 05:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639949') start [2025-03-09 05:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14639949') end [2025-03-09 05:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:10:05] Production.INFO: 1 [2025-03-09 05:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:10:05] Production.INFO: ==13613== Releasing lock... [2025-03-09 05:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:10:05] Production.ERROR: done [2025-03-09 05:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:10:05] Production.ERROR: done [2025-03-09 05:10:05] Production.INFO: Account Balance End. [2025-03-09 05:10:05] Production.ERROR: CronJobId end 12 [2025-03-09 05:10:05] Production.INFO: ==13607== Releasing lock... [2025-03-09 05:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:10:06 [end_date_ymd] => 2025-03-09 06:10:06 [RateCDR] => 1 ) [2025-03-09 05:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:10:06' and `end` < '2025-03-09 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-09 05:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14639950', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 05:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 05:10:09] Production.INFO: ProcessCDR(1,14639950,1,1,2) [2025-03-09 05:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14639950,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14639950,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:10:10] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:10:10] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:10:10] Production.INFO: ==13611== Releasing lock... [2025-03-09 05:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 05:10:10] Production.INFO: 26 MB #Memory Used# [2025-03-09 05:10:13] Production.ERROR: CronJobId end10 [2025-03-09 05:10:13] Production.INFO: ==13605== Releasing lock... [2025-03-09 05:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:10:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:10:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:10:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:10:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:10:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:10:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:10:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:10:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:10:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:10:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:10:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:10:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:10:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:10:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:10:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:10:16] Production.INFO: call_cost start [2025-03-09 05:10:16] Production.INFO: call_cost end [2025-03-09 05:10:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:10:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:10:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:10:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:10:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:10:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:10:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:10:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:10:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:10:17] Production.INFO: ==13601== Releasing lock... [2025-03-09 05:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:10:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:10:18] Production.INFO: count ==561 [2025-03-09 05:10:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:10:06 - End Time 2025-03-09 06:10:06 [2025-03-09 05:10:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639951', 'tblTempUsageDetail_20' ) start [2025-03-09 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639951', 'tblTempUsageDetail_20' ) end [2025-03-09 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639951', 'tblTempVendorCDR_20' ) start [2025-03-09 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639951', 'tblTempVendorCDR_20' ) end [2025-03-09 05:10:18] Production.INFO: ProcessCDR(1,14639951,1,1,2) [2025-03-09 05:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639951', 'tblTempUsageDetail_20' ) start [2025-03-09 05:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639951', 'tblTempUsageDetail_20' ) end [2025-03-09 05:10:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:10:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:10:22] Production.INFO: ==13609== Releasing lock... [2025-03-09 05:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:10:22] Production.INFO: 33 MB #Memory Used# [2025-03-09 09:11:01] Production.INFO: ==13671== Lock acquired, processing the job... [2025-03-09 09:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:11:01] Production.INFO: neon service started [2025-03-09 09:11:01] Production.INFO: neon service started [2025-03-09 09:11:01] Production.INFO: ==13671== Releasing lock... [2025-03-09 09:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:11:01] Production.INFO: ==13673== Lock acquired, processing the job... [2025-03-09 05:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:11:02] Production.INFO: ==13675== Lock acquired, processing the job... [2025-03-09 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:11:02] Production.INFO: ==13673== Releasing lock... [2025-03-09 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:11:02] Production.INFO: ==13675== Releasing lock... [2025-03-09 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:11:02] Production.INFO: ==13678== Lock acquired, processing the job... [2025-03-09 05:11:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:11:03] Production.INFO: ==13684== Lock acquired, processing the job... [2025-03-09 05:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:11:03] Production.INFO: ==13680== Lock acquired, processing the job... [2025-03-09 05:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:11:03] Production.INFO: ==13682== Lock acquired, processing the job... [2025-03-09 05:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:11:03] Production.INFO: Account Balance Start. [2025-03-09 05:11:03] Production.INFO: CreateAllLog Start [2025-03-09 05:11:03] Production.INFO: 117 [2025-03-09 05:11:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:11:03] Production.INFO: ==13686== Lock acquired, processing the job... [2025-03-09 05:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:11:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:11:03] Production.INFO: ==13688== Lock acquired, processing the job... [2025-03-09 05:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:11:03] Production.INFO: Total Charge 0 [2025-03-09 05:11:03] Production.INFO: CreateAllLog End [2025-03-09 05:11:03] Production.INFO: ==13680== Releasing lock... [2025-03-09 05:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:11:03] Production.INFO: count ==13 [2025-03-09 05:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:11:03] Production.INFO: count ==21 [2025-03-09 05:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639955') start [2025-03-09 05:11:03] Production.ERROR: done [2025-03-09 05:11:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:11:03] Production.INFO: Account Balance End. [2025-03-09 05:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639955') end [2025-03-09 05:11:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:11:03] Production.INFO: 1 [2025-03-09 05:11:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:11:03] Production.ERROR: CronJobId end 12 [2025-03-09 05:11:03] Production.INFO: ==13684== Releasing lock... [2025-03-09 05:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:11:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:11:03] Production.INFO: ==13688== Releasing lock... [2025-03-09 05:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:11:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:11:04] Production.ERROR: done [2025-03-09 05:11:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:11:04 [end_date_ymd] => 2025-03-09 06:11:04 [RateCDR] => 1 ) [2025-03-09 05:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:11:04' and `end` < '2025-03-09 06:11:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:11: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-09 05:11:11] Production.ERROR: CronJobId end10 [2025-03-09 05:11:11] Production.INFO: ==13682== Releasing lock... [2025-03-09 05:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:11:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:11:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:11:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:11:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:11:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:11:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:11:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:11:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:11:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:11:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:11:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:11:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:11:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:11:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:11:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:11:13] Production.INFO: call_cost start [2025-03-09 05:11:13] Production.INFO: call_cost end [2025-03-09 05:11:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:11:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:11:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:11:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:11:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:11:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:11:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:11:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:11:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:11:14] Production.INFO: ==13678== Releasing lock... [2025-03-09 05:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:11:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:11:17] Production.INFO: count ==561 [2025-03-09 05:11:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:11:04 - End Time 2025-03-09 06:11:04 [2025-03-09 05:11:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639956', 'tblTempUsageDetail_20' ) start [2025-03-09 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639956', 'tblTempUsageDetail_20' ) end [2025-03-09 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639956', 'tblTempVendorCDR_20' ) start [2025-03-09 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639956', 'tblTempVendorCDR_20' ) end [2025-03-09 05:11:17] Production.INFO: ProcessCDR(1,14639956,1,1,2) [2025-03-09 05:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:11:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639956', 'tblTempUsageDetail_20' ) start [2025-03-09 05:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639956', 'tblTempUsageDetail_20' ) end [2025-03-09 05:11:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:11:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:11:20] Production.INFO: ==13686== Releasing lock... [2025-03-09 05:11:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:11:20] Production.INFO: 33 MB #Memory Used# [2025-03-09 09:12:01] Production.INFO: ==13747== Lock acquired, processing the job... [2025-03-09 09:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:12:02] Production.INFO: neon service started [2025-03-09 09:12:02] Production.INFO: neon service started [2025-03-09 09:12:02] Production.INFO: ==13747== Releasing lock... [2025-03-09 09:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:12:02] Production.INFO: ==13749== Lock acquired, processing the job... [2025-03-09 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:12:02] Production.INFO: ==13749== Releasing lock... [2025-03-09 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:12:02] Production.INFO: ==13751== Lock acquired, processing the job... [2025-03-09 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:12:02] Production.INFO: ==13751== Releasing lock... [2025-03-09 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:12:03] Production.INFO: ==13757== Lock acquired, processing the job... [2025-03-09 05:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:12:03] Production.INFO: ==13753== Lock acquired, processing the job... [2025-03-09 05:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:12:03] Production.INFO: ==13763== Lock acquired, processing the job... [2025-03-09 05:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:12:03] Production.INFO: ==13755== Lock acquired, processing the job... [2025-03-09 05:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:12:03] Production.INFO: count ==13 [2025-03-09 05:12:03] Production.INFO: ==13759== Lock acquired, processing the job... [2025-03-09 05:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:12:03] Production.INFO: count ==21 [2025-03-09 05:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639957') start [2025-03-09 05:12:03] Production.INFO: ==13761== Lock acquired, processing the job... [2025-03-09 05:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639957') end [2025-03-09 05:12:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:12:03] Production.INFO: 1 [2025-03-09 05:12:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:12:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:12:04] Production.INFO: Account Balance Start. [2025-03-09 05:12:04] Production.INFO: CreateAllLog Start [2025-03-09 05:12:04] Production.INFO: 117 [2025-03-09 05:12:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:12:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:12:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:12:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:12:04] Production.INFO: Total Charge 0 [2025-03-09 05:12:04] Production.INFO: CreateAllLog End [2025-03-09 05:12:04] Production.INFO: ==13763== Releasing lock... [2025-03-09 05:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:12:04] Production.INFO: ==13755== Releasing lock... [2025-03-09 05:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:12:04] Production.ERROR: done [2025-03-09 05:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:12:04] Production.ERROR: done [2025-03-09 05:12:04] Production.INFO: Account Balance End. [2025-03-09 05:12:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:12:04] Production.INFO: ==13759== Releasing lock... [2025-03-09 05:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:12:05 [end_date_ymd] => 2025-03-09 06:12:05 [RateCDR] => 1 ) [2025-03-09 05:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:12:05' and `end` < '2025-03-09 06:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:12:11] Production.ERROR: CronJobId end10 [2025-03-09 05:12:11] Production.INFO: ==13757== Releasing lock... [2025-03-09 05:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:12:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:12:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:12:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:12:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:12:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:12:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:12:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:12:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:12:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:12:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:12:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:12:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:12:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:12:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:12:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:12:14] Production.INFO: call_cost start [2025-03-09 05:12:14] Production.INFO: call_cost end [2025-03-09 05:12:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:12:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:12:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:12:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:12:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:12:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:12:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:12:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:12:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:12:15] Production.INFO: ==13753== Releasing lock... [2025-03-09 05:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:12:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:12:17] Production.INFO: count ==560 [2025-03-09 05:12:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:12:05 - End Time 2025-03-09 06:12:05 [2025-03-09 05:12:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639961', 'tblTempUsageDetail_20' ) start [2025-03-09 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639961', 'tblTempUsageDetail_20' ) end [2025-03-09 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639961', 'tblTempVendorCDR_20' ) start [2025-03-09 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639961', 'tblTempVendorCDR_20' ) end [2025-03-09 05:12:18] Production.INFO: ProcessCDR(1,14639961,1,1,2) [2025-03-09 05:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639961', 'tblTempUsageDetail_20' ) start [2025-03-09 05:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639961', 'tblTempUsageDetail_20' ) end [2025-03-09 05:12:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:12:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:12:21] Production.INFO: ==13761== Releasing lock... [2025-03-09 05:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:12:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 09:13:01] Production.INFO: ==13819== Lock acquired, processing the job... [2025-03-09 09:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:13:01] Production.INFO: neon service started [2025-03-09 09:13:01] Production.INFO: neon service started [2025-03-09 09:13:01] Production.INFO: ==13819== Releasing lock... [2025-03-09 09:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:13:01] Production.INFO: ==13821== Lock acquired, processing the job... [2025-03-09 05:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:13:02] Production.INFO: ==13821== Releasing lock... [2025-03-09 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:13:02] Production.INFO: ==13823== Lock acquired, processing the job... [2025-03-09 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:13:02] Production.INFO: ==13823== Releasing lock... [2025-03-09 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:13:03] Production.INFO: ==13836== Lock acquired, processing the job... [2025-03-09 05:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:13:03] Production.INFO: ==13832== Lock acquired, processing the job... [2025-03-09 05:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:13:03] Production.INFO: ==13826== Lock acquired, processing the job... [2025-03-09 05:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:13:03] Production.INFO: ==13828== Lock acquired, processing the job... [2025-03-09 05:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:13:03] Production.INFO: ==13830== Lock acquired, processing the job... [2025-03-09 05:13:03] Production.INFO: Account Balance Start. [2025-03-09 05:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:13:03] Production.INFO: CreateAllLog Start [2025-03-09 05:13:03] Production.INFO: 117 [2025-03-09 05:13:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:13:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:13:03] Production.INFO: ==13834== Lock acquired, processing the job... [2025-03-09 05:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:13:03] Production.INFO: count ==13 [2025-03-09 05:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:13:03] Production.INFO: count ==21 [2025-03-09 05:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639963') start [2025-03-09 05:13:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:13:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:13:03] Production.INFO: Total Charge 0 [2025-03-09 05:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:13:03] Production.INFO: CreateAllLog End [2025-03-09 05:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639963') end [2025-03-09 05:13:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:13:03] Production.INFO: 1 [2025-03-09 05:13:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:13:03] Production.INFO: ==13836== Releasing lock... [2025-03-09 05:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:13:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:13:03] Production.INFO: ==13828== Releasing lock... [2025-03-09 05:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:13:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:13:03] Production.INFO: Account Balance End. [2025-03-09 05:13:03] Production.ERROR: CronJobId end 12 [2025-03-09 05:13:03] Production.INFO: ==13832== Releasing lock... [2025-03-09 05:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:13:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:13:03] Production.ERROR: done [2025-03-09 05:13:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:13:03] Production.ERROR: done [2025-03-09 05:13:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:13:04 [end_date_ymd] => 2025-03-09 06:13:04 [RateCDR] => 1 ) [2025-03-09 05:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:13:04' and `end` < '2025-03-09 06:13:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:13:11] Production.ERROR: CronJobId end10 [2025-03-09 05:13:11] Production.INFO: ==13830== Releasing lock... [2025-03-09 05:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:13:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:13:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:13:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:13:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:13:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:13:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:13:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:13:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:13:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:13:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:13:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:13:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:13:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:13:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:13:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:13:13] Production.INFO: call_cost start [2025-03-09 05:13:13] Production.INFO: call_cost end [2025-03-09 05:13:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:13:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:13:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:13:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:13:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:13:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:13:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:13:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:13:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:13:14] Production.INFO: ==13826== Releasing lock... [2025-03-09 05:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:13:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:13:16] Production.INFO: count ==559 [2025-03-09 05:13:16] Production.ERROR: pbx CDR StartTime 2025-03-09 03:13:04 - End Time 2025-03-09 06:13:04 [2025-03-09 05:13:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:13:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639966', 'tblTempUsageDetail_20' ) start [2025-03-09 05:13:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639966', 'tblTempUsageDetail_20' ) end [2025-03-09 05:13:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639966', 'tblTempVendorCDR_20' ) start [2025-03-09 05:13:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639966', 'tblTempVendorCDR_20' ) end [2025-03-09 05:13:16] Production.INFO: ProcessCDR(1,14639966,1,1,2) [2025-03-09 05:13:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:13:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:13:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639966', 'tblTempUsageDetail_20' ) start [2025-03-09 05:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639966', 'tblTempUsageDetail_20' ) end [2025-03-09 05:13:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:13:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:13:20] Production.INFO: ==13834== Releasing lock... [2025-03-09 05:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:13:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:14:01] Production.INFO: ==13894== Lock acquired, processing the job... [2025-03-09 09:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:14:01] Production.INFO: neon service started [2025-03-09 09:14:01] Production.INFO: neon service started [2025-03-09 09:14:01] Production.INFO: ==13894== Releasing lock... [2025-03-09 09:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:14:02] Production.INFO: ==13896== Lock acquired, processing the job... [2025-03-09 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:14:02] Production.INFO: ==13896== Releasing lock... [2025-03-09 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:14:02] Production.INFO: ==13898== Lock acquired, processing the job... [2025-03-09 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:14:02] Production.INFO: ==13898== Releasing lock... [2025-03-09 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:14:03] Production.INFO: ==13900== Lock acquired, processing the job... [2025-03-09 05:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:14:03] Production.INFO: ==13910== Lock acquired, processing the job... [2025-03-09 05:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:14:03] Production.INFO: ==13904== Lock acquired, processing the job... [2025-03-09 05:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:14:03] Production.INFO: ==13902== Lock acquired, processing the job... [2025-03-09 05:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 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-09 05:14:03] Production.INFO: ==13906== Lock acquired, processing the job... [2025-03-09 05:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:14:03] Production.INFO: count ==13 [2025-03-09 05:14:03] Production.INFO: ==13908== Lock acquired, processing the job... [2025-03-09 05:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05: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-09 05:14:03] Production.INFO: count ==21 [2025-03-09 05:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639968') start [2025-03-09 05:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:14:03] Production.INFO: Account Balance Start. [2025-03-09 05:14:03] Production.INFO: CreateAllLog Start [2025-03-09 05:14:03] Production.INFO: 117 [2025-03-09 05:14:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639968') end [2025-03-09 05:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:14:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:14:03] Production.INFO: 1 [2025-03-09 05:14:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:14:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:14:03] Production.INFO: Total Charge 0 [2025-03-09 05:14:03] Production.INFO: CreateAllLog End [2025-03-09 05:14:04] Production.INFO: ==13910== Releasing lock... [2025-03-09 05:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:14:04] Production.INFO: ==13902== Releasing lock... [2025-03-09 05:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:14:04] Production.ERROR: done [2025-03-09 05:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:14:04] Production.INFO: Account Balance End. [2025-03-09 05:14:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:14:04] Production.INFO: ==13906== Releasing lock... [2025-03-09 05:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:14:04] Production.ERROR: done [2025-03-09 05:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:14:05 [end_date_ymd] => 2025-03-09 06:14:05 [RateCDR] => 1 ) [2025-03-09 05:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:14:05' and `end` < '2025-03-09 06:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:14:11] Production.ERROR: CronJobId end10 [2025-03-09 05:14:11] Production.INFO: ==13904== Releasing lock... [2025-03-09 05:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:14:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:14:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:14:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:14:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:14:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:14:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:14:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:14:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:14:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:14:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:14:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:14:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:14:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:14:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:14:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:14:14] Production.INFO: call_cost start [2025-03-09 05:14:14] Production.INFO: call_cost end [2025-03-09 05:14:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:14:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:14:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:14:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:14:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:14:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:14:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:14:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:14:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:14:15] Production.INFO: ==13900== Releasing lock... [2025-03-09 05:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:14:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:14:17] Production.INFO: count ==559 [2025-03-09 05:14:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:14:05 - End Time 2025-03-09 06:14:05 [2025-03-09 05:14:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639971', 'tblTempUsageDetail_20' ) start [2025-03-09 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639971', 'tblTempUsageDetail_20' ) end [2025-03-09 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639971', 'tblTempVendorCDR_20' ) start [2025-03-09 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639971', 'tblTempVendorCDR_20' ) end [2025-03-09 05:14:17] Production.INFO: ProcessCDR(1,14639971,1,1,2) [2025-03-09 05:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:14:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639971', 'tblTempUsageDetail_20' ) start [2025-03-09 05:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639971', 'tblTempUsageDetail_20' ) end [2025-03-09 05:14:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:14:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:14:20] Production.INFO: ==13908== Releasing lock... [2025-03-09 05:14:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:14:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:15:02] Production.INFO: ==13969== Lock acquired, processing the job... [2025-03-09 09:15:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:15:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:15:02] Production.INFO: neon service started [2025-03-09 09:15:02] Production.INFO: neon service started [2025-03-09 09:15:02] Production.INFO: ==13969== Releasing lock... [2025-03-09 09:15:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:15:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:15:02] Production.INFO: ==13971== Lock acquired, processing the job... [2025-03-09 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:15:02] Production.INFO: ==13971== Releasing lock... [2025-03-09 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:15:03] Production.INFO: ==13973== Lock acquired, processing the job... [2025-03-09 09:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:15:03] Production.INFO: ==13973== Releasing lock... [2025-03-09 09:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:15:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:15:03] Production.INFO: ==13975== Lock acquired, processing the job... [2025-03-09 05:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:15:03] Production.INFO: ==13977== Lock acquired, processing the job... [2025-03-09 05:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:15:03] Production.INFO: ==13981== Lock acquired, processing the job... [2025-03-09 05:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:15:04] Production.INFO: ==13977== Releasing lock... [2025-03-09 05:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:15:04] Production.INFO: ==13979== Lock acquired, processing the job... [2025-03-09 05:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:15:04] Production.INFO: Account Balance Start. [2025-03-09 05:15:04] Production.INFO: CreateAllLog Start [2025-03-09 05:15:04] Production.INFO: 117 [2025-03-09 05:15:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:15:04] Production.INFO: ==13983== Lock acquired, processing the job... [2025-03-09 05:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:15:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:15:04] Production.INFO: ==13985== Lock acquired, processing the job... [2025-03-09 05:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:15:04] Production.INFO: Total Charge 0 [2025-03-09 05:15:04] Production.INFO: CreateAllLog End [2025-03-09 05:15:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:15:04] Production.INFO: count ==13 [2025-03-09 05:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:15:04] Production.INFO: count ==21 [2025-03-09 05:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639975') start [2025-03-09 05:15:04] Production.INFO: Account Balance End. [2025-03-09 05:15:04] Production.ERROR: done [2025-03-09 05:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639975') end [2025-03-09 05:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:15:04] Production.INFO: 1 [2025-03-09 05:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:15:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:15:04] Production.INFO: ==13981== Releasing lock... [2025-03-09 05:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:15:04] Production.INFO: ==13985== Releasing lock... [2025-03-09 05:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:15:04] Production.ERROR: done [2025-03-09 05:15:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:15:06 [end_date_ymd] => 2025-03-09 06:15:06 [RateCDR] => 1 ) [2025-03-09 05:15:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:15:06' and `end` < '2025-03-09 06: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-09 05:15:12] Production.ERROR: CronJobId end10 [2025-03-09 05:15:12] Production.INFO: ==13979== Releasing lock... [2025-03-09 05:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:15:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:15:14] Production.INFO: call_cost start [2025-03-09 05:15:14] Production.INFO: call_cost end [2025-03-09 05:15:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:15:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:15:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:15:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:15:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:15:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:15:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:15:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:15:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:15:15] Production.INFO: ==13975== Releasing lock... [2025-03-09 05:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:15:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:15:18] Production.INFO: count ==559 [2025-03-09 05:15:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:15:06 - End Time 2025-03-09 06:15:06 [2025-03-09 05:15:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639976', 'tblTempUsageDetail_20' ) start [2025-03-09 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639976', 'tblTempUsageDetail_20' ) end [2025-03-09 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639976', 'tblTempVendorCDR_20' ) start [2025-03-09 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639976', 'tblTempVendorCDR_20' ) end [2025-03-09 05:15:18] Production.INFO: ProcessCDR(1,14639976,1,1,2) [2025-03-09 05:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639976', 'tblTempUsageDetail_20' ) start [2025-03-09 05:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639976', 'tblTempUsageDetail_20' ) end [2025-03-09 05:15:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:15:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:15:21] Production.INFO: ==13983== Releasing lock... [2025-03-09 05:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:15:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:16:01] Production.INFO: ==14043== Lock acquired, processing the job... [2025-03-09 09:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:16:01] Production.INFO: neon service started [2025-03-09 09:16:01] Production.INFO: neon service started [2025-03-09 09:16:01] Production.INFO: ==14043== Releasing lock... [2025-03-09 09:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:16:02] Production.INFO: ==14047== Lock acquired, processing the job... [2025-03-09 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:16:02] Production.INFO: ==14047== Releasing lock... [2025-03-09 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:16:02] Production.INFO: ==14045== Lock acquired, processing the job... [2025-03-09 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:16:02] Production.INFO: ==14045== Releasing lock... [2025-03-09 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:16:03] Production.INFO: ==14052== Lock acquired, processing the job... [2025-03-09 05:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:16:03] Production.INFO: ==14054== Lock acquired, processing the job... [2025-03-09 05:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:16:03] Production.INFO: ==14058== Lock acquired, processing the job... [2025-03-09 05:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:16:03] Production.INFO: ==14050== Lock acquired, processing the job... [2025-03-09 05:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:16:03] Production.INFO: ==14056== Lock acquired, processing the job... [2025-03-09 05:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:16:03] Production.INFO: ==14052== Releasing lock... [2025-03-09 05:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:16:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:16:03] Production.INFO: Account Balance Start. [2025-03-09 05:16:03] Production.INFO: CreateAllLog Start [2025-03-09 05:16:03] Production.INFO: 117 [2025-03-09 05:16:03] Production.INFO: ==14060== Lock acquired, processing the job... [2025-03-09 05:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:16:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:16:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:16:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:16:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:16:03] Production.INFO: Total Charge 0 [2025-03-09 05:16:03] Production.ERROR: done [2025-03-09 05:16:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:16:03] Production.INFO: CreateAllLog End [2025-03-09 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-09 05:16:04] Production.INFO: count ==13 [2025-03-09 05:16:04] Production.ERROR: done [2025-03-09 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-09 05:16:04] Production.INFO: count ==21 [2025-03-09 05:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639980') start [2025-03-09 05:16:04] Production.INFO: Account Balance End. [2025-03-09 05:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639980') end [2025-03-09 05:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:16:04] Production.INFO: 1 [2025-03-09 05:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:16:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:16:04] Production.INFO: ==14056== Releasing lock... [2025-03-09 05:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:16:04] Production.INFO: ==14060== Releasing lock... [2025-03-09 05:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:16:05 [end_date_ymd] => 2025-03-09 06:16:05 [RateCDR] => 1 ) [2025-03-09 05:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:16:05' and `end` < '2025-03-09 06:16:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:16:11] Production.ERROR: CronJobId end10 [2025-03-09 05:16:11] Production.INFO: ==14054== Releasing lock... [2025-03-09 05:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:16:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:16:14] Production.INFO: call_cost start [2025-03-09 05:16:14] Production.INFO: call_cost end [2025-03-09 05:16:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:16:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:16:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:16:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:16:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:16:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:16:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:16:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:16:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:16:15] Production.INFO: ==14050== Releasing lock... [2025-03-09 05:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:16:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:16:17] Production.INFO: count ==559 [2025-03-09 05:16:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:16:05 - End Time 2025-03-09 06:16:05 [2025-03-09 05:16:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639981', 'tblTempUsageDetail_20' ) start [2025-03-09 05:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639981', 'tblTempUsageDetail_20' ) end [2025-03-09 05:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639981', 'tblTempVendorCDR_20' ) start [2025-03-09 05:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639981', 'tblTempVendorCDR_20' ) end [2025-03-09 05:16:17] Production.INFO: ProcessCDR(1,14639981,1,1,2) [2025-03-09 05:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:16:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639981', 'tblTempUsageDetail_20' ) start [2025-03-09 05:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639981', 'tblTempUsageDetail_20' ) end [2025-03-09 05:16:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:16:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:16:20] Production.INFO: ==14058== Releasing lock... [2025-03-09 05:16:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:16:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:17:02] Production.INFO: ==14117== Lock acquired, processing the job... [2025-03-09 09:17:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:17:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:17:02] Production.INFO: neon service started [2025-03-09 09:17:02] Production.INFO: neon service started [2025-03-09 09:17:02] Production.INFO: ==14117== Releasing lock... [2025-03-09 09:17:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:17:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:17:02] Production.INFO: ==14119== Lock acquired, processing the job... [2025-03-09 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:17:02] Production.INFO: ==14119== Releasing lock... [2025-03-09 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:17:02] Production.INFO: ==14121== Lock acquired, processing the job... [2025-03-09 09:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:17:03] Production.INFO: ==14121== Releasing lock... [2025-03-09 09:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:17:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:17:03] Production.INFO: ==14132== Lock acquired, processing the job... [2025-03-09 05:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:17:03] Production.INFO: ==14124== Lock acquired, processing the job... [2025-03-09 05:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:17:04] Production.INFO: ==14126== Lock acquired, processing the job... [2025-03-09 05:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:17:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:17:04] Production.INFO: ==14128== Lock acquired, processing the job... [2025-03-09 05:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:17:04] Production.INFO: ==14130== Lock acquired, processing the job... [2025-03-09 05:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:17:04] Production.INFO: ==14134== Lock acquired, processing the job... [2025-03-09 05:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:17:04] Production.ERROR: done [2025-03-09 05:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:17:04] Production.INFO: Account Balance Start. [2025-03-09 05:17:04] Production.INFO: CreateAllLog Start [2025-03-09 05:17:04] Production.INFO: 117 [2025-03-09 05:17:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:17:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:17:04] Production.INFO: count ==13 [2025-03-09 05:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:17:04] Production.INFO: count ==21 [2025-03-09 05:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639985') start [2025-03-09 05:17:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:17:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:17:04] Production.ERROR: done [2025-03-09 05:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639985') end [2025-03-09 05:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:17:04] Production.INFO: 1 [2025-03-09 05:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:17:04] Production.INFO: Total Charge 0 [2025-03-09 05:17:04] Production.INFO: CreateAllLog End [2025-03-09 05:17:04] Production.INFO: ==14134== Releasing lock... [2025-03-09 05:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:17:04] Production.INFO: ==14126== Releasing lock... [2025-03-09 05:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:17:04] Production.INFO: Account Balance End. [2025-03-09 05:17:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:17:04] Production.INFO: ==14130== Releasing lock... [2025-03-09 05:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:17:05 [end_date_ymd] => 2025-03-09 06:17:05 [RateCDR] => 1 ) [2025-03-09 05:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:17:05' and `end` < '2025-03-09 06:17:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:17:12] Production.ERROR: CronJobId end10 [2025-03-09 05:17:12] Production.INFO: ==14128== Releasing lock... [2025-03-09 05:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:17:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:17:14] Production.INFO: call_cost start [2025-03-09 05:17:14] Production.INFO: call_cost end [2025-03-09 05:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:17:15] Production.INFO: ==14124== Releasing lock... [2025-03-09 05:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:17:17] Production.INFO: count ==559 [2025-03-09 05:17:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:17:05 - End Time 2025-03-09 06:17:05 [2025-03-09 05:17:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639986', 'tblTempUsageDetail_20' ) start [2025-03-09 05:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639986', 'tblTempUsageDetail_20' ) end [2025-03-09 05:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639986', 'tblTempVendorCDR_20' ) start [2025-03-09 05:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639986', 'tblTempVendorCDR_20' ) end [2025-03-09 05:17:17] Production.INFO: ProcessCDR(1,14639986,1,1,2) [2025-03-09 05:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:17:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639986', 'tblTempUsageDetail_20' ) start [2025-03-09 05:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639986', 'tblTempUsageDetail_20' ) end [2025-03-09 05:17:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:17:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:17:20] Production.INFO: ==14132== Releasing lock... [2025-03-09 05:17:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:17:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:18:01] Production.INFO: ==14203== Lock acquired, processing the job... [2025-03-09 09:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:18:01] Production.INFO: neon service started [2025-03-09 09:18:01] Production.INFO: neon service started [2025-03-09 09:18:01] Production.INFO: ==14203== Releasing lock... [2025-03-09 09:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:18:01] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 09:18:02] Production.INFO: ==14207== Lock acquired, processing the job... [2025-03-09 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:18:02] Production.INFO: ==14205== Lock acquired, processing the job... [2025-03-09 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:18:02] Production.INFO: ==14207== Releasing lock... [2025-03-09 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:18:02] Production.INFO: ==14205== Releasing lock... [2025-03-09 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:18:03] Production.INFO: ==14214== Lock acquired, processing the job... [2025-03-09 05:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:18:03] Production.INFO: ==14218== Lock acquired, processing the job... [2025-03-09 05:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:18:03] Production.INFO: ==14210== Lock acquired, processing the job... [2025-03-09 05:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:18:03] Production.INFO: ==14212== Lock acquired, processing the job... [2025-03-09 05:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:18:03] Production.INFO: ==14216== Lock acquired, processing the job... [2025-03-09 05:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:18:03] Production.INFO: ==14220== Lock acquired, processing the job... [2025-03-09 05:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:18:03] Production.INFO: Account Balance Start. [2025-03-09 05:18:03] Production.INFO: CreateAllLog Start [2025-03-09 05:18:03] Production.INFO: 117 [2025-03-09 05:18:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:18:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:18:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:18:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:18:04] Production.INFO: Total Charge 0 [2025-03-09 05:18:04] Production.INFO: CreateAllLog End [2025-03-09 05:18:04] Production.INFO: ==14212== Releasing lock... [2025-03-09 05:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:18:04] Production.ERROR: done [2025-03-09 05:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:18:04] Production.INFO: count ==13 [2025-03-09 05:18:04] Production.ERROR: done [2025-03-09 05:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:18:04] Production.INFO: count ==21 [2025-03-09 05:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639990') start [2025-03-09 05:18:04] Production.INFO: Account Balance End. [2025-03-09 05:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639990') end [2025-03-09 05:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:18:04] Production.INFO: 1 [2025-03-09 05:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:18:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:18:04] Production.INFO: ==14216== Releasing lock... [2025-03-09 05:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:18:04] Production.INFO: ==14220== Releasing lock... [2025-03-09 05:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:18:05 [end_date_ymd] => 2025-03-09 06:18:05 [RateCDR] => 1 ) [2025-03-09 05:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:18:05' and `end` < '2025-03-09 06:18:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:18:10] Production.ERROR: CronJobId end10 [2025-03-09 05:18:10] Production.INFO: ==14214== Releasing lock... [2025-03-09 05:18:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:18:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:18:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:18:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:18:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:18:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:18:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:18:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:18:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:18:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:18:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:18:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:18:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:18:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:18:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:18:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:18:13] Production.INFO: call_cost start [2025-03-09 05:18:13] Production.INFO: call_cost end [2025-03-09 05:18:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:18:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:18:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:18:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:18:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:18:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:18:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:18:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:18:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:18:14] Production.INFO: ==14210== Releasing lock... [2025-03-09 05:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:18:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:18:17] Production.INFO: count ==560 [2025-03-09 05:18:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:18:05 - End Time 2025-03-09 06:18:05 [2025-03-09 05:18:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639991', 'tblTempUsageDetail_20' ) start [2025-03-09 05:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639991', 'tblTempUsageDetail_20' ) end [2025-03-09 05:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639991', 'tblTempVendorCDR_20' ) start [2025-03-09 05:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639991', 'tblTempVendorCDR_20' ) end [2025-03-09 05:18:17] Production.INFO: ProcessCDR(1,14639991,1,1,2) [2025-03-09 05:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639991', 'tblTempUsageDetail_20' ) start [2025-03-09 05:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639991', 'tblTempUsageDetail_20' ) end [2025-03-09 05:18:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:18:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:18:22] Production.INFO: ==14218== Releasing lock... [2025-03-09 05:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:18:22] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 09:19:02] Production.INFO: ==14323== Lock acquired, processing the job... [2025-03-09 09:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:19:02] Production.INFO: neon service started [2025-03-09 09:19:02] Production.INFO: neon service started [2025-03-09 09:19:02] Production.INFO: ==14323== Releasing lock... [2025-03-09 09:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:19:02] Production.INFO: ==14325== Lock acquired, processing the job... [2025-03-09 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:19:02] Production.INFO: ==14325== Releasing lock... [2025-03-09 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:19:02] Production.INFO: ==14327== Lock acquired, processing the job... [2025-03-09 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:19:02] Production.INFO: ==14327== Releasing lock... [2025-03-09 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:19:03] Production.INFO: ==14334== Lock acquired, processing the job... [2025-03-09 05:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:19:03] Production.INFO: ==14330== Lock acquired, processing the job... [2025-03-09 05:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:19:03] Production.INFO: ==14332== Lock acquired, processing the job... [2025-03-09 05:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:19:03] Production.INFO: ==14336== Lock acquired, processing the job... [2025-03-09 05:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:19:03] Production.INFO: ==14340== Lock acquired, processing the job... [2025-03-09 05:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:19:03] Production.INFO: ==14338== Lock acquired, processing the job... [2025-03-09 05:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:19:03] Production.INFO: Account Balance Start. [2025-03-09 05:19:03] Production.INFO: CreateAllLog Start [2025-03-09 05:19:03] Production.INFO: 117 [2025-03-09 05:19:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:19:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:19:03] Production.INFO: count ==13 [2025-03-09 05:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:19:03] Production.INFO: count ==21 [2025-03-09 05:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639994') start [2025-03-09 05:19:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:19:04] Production.INFO: Total Charge 0 [2025-03-09 05:19:04] Production.INFO: CreateAllLog End [2025-03-09 05:19:04] Production.INFO: ==14332== Releasing lock... [2025-03-09 05:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14639994') end [2025-03-09 05:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:19:04] Production.INFO: 1 [2025-03-09 05:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:19:04] Production.INFO: Account Balance End. [2025-03-09 05:19:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:19:04] Production.INFO: ==14336== Releasing lock... [2025-03-09 05:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:19:04] Production.INFO: ==14340== Releasing lock... [2025-03-09 05:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:19:04] Production.ERROR: done [2025-03-09 05:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:19:04] Production.ERROR: done [2025-03-09 05:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:19:05 [end_date_ymd] => 2025-03-09 06:19:05 [RateCDR] => 1 ) [2025-03-09 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-09 03:19:05' and `end` < '2025-03-09 06:19:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:19:12] Production.ERROR: CronJobId end10 [2025-03-09 05:19:12] Production.INFO: ==14334== Releasing lock... [2025-03-09 05:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:19:14] Production.INFO: call_cost start [2025-03-09 05:19:14] Production.INFO: call_cost end [2025-03-09 05:19:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:19:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:19:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:19:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:19:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:19:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:19:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:19:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:19:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:19:15] Production.INFO: ==14330== Releasing lock... [2025-03-09 05:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:19:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:19:17] Production.INFO: count ==560 [2025-03-09 05:19:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:19:05 - End Time 2025-03-09 06:19:05 [2025-03-09 05:19:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639996', 'tblTempUsageDetail_20' ) start [2025-03-09 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14639996', 'tblTempUsageDetail_20' ) end [2025-03-09 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639996', 'tblTempVendorCDR_20' ) start [2025-03-09 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14639996', 'tblTempVendorCDR_20' ) end [2025-03-09 05:19:18] Production.INFO: ProcessCDR(1,14639996,1,1,2) [2025-03-09 05:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14639996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14639996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14639996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14639996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639996', 'tblTempUsageDetail_20' ) start [2025-03-09 05:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14639996', 'tblTempUsageDetail_20' ) end [2025-03-09 05:19:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:19:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:19:21] Production.INFO: ==14338== Releasing lock... [2025-03-09 05:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:19:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 09:20:01] Production.INFO: ==14396== Lock acquired, processing the job... [2025-03-09 09:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:20:01] Production.INFO: neon service started [2025-03-09 09:20:01] Production.INFO: neon service started [2025-03-09 09:20:01] Production.INFO: ==14396== Releasing lock... [2025-03-09 09:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:20:01] Production.INFO: ==14399== Lock acquired, processing the job... [2025-03-09 05:20:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:20:02] Production.INFO: ==14401== Lock acquired, processing the job... [2025-03-09 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:20:02] Production.INFO: ==14401== Releasing lock... [2025-03-09 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:20:02] Production.INFO: ==14399== Releasing lock... [2025-03-09 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:20:03] Production.INFO: ==14403== Lock acquired, processing the job... [2025-03-09 05:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 05:20:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 05:20:03] Production.INFO: ==14405== Lock acquired, processing the job... [2025-03-09 05:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:20:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 05:20:03] Production.INFO: ==14403== Releasing lock... [2025-03-09 05:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 05:20:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 05:20:03] Production.INFO: ==14411== Lock acquired, processing the job... [2025-03-09 05:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:20:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:20:03] Production.INFO: Account Balance Start. [2025-03-09 05:20:03] Production.INFO: CreateAllLog Start [2025-03-09 05:20:03] Production.INFO: 117 [2025-03-09 05:20:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:20:03] Production.INFO: ==14417== Lock acquired, processing the job... [2025-03-09 05:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:20:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:20:03] Production.INFO: ==14407== Lock acquired, processing the job... [2025-03-09 05:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:20:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:20:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:20:03] Production.INFO: Total Charge 0 [2025-03-09 05:20:03] Production.INFO: CreateAllLog End [2025-03-09 05: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-09 05:20:03] Production.INFO: ==14409== Lock acquired, processing the job... [2025-03-09 05:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:20:03] Production.INFO: count ==13 [2025-03-09 05: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-09 05:20:03] Production.INFO: count ==21 [2025-03-09 05:20:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639999') start [2025-03-09 05:20:03] Production.INFO: ==14413== Lock acquired, processing the job... [2025-03-09 05:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:20:03] Production.ERROR: PBX CALL prc_importPBXExtension('14639999') end [2025-03-09 05:20:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:20:03] Production.INFO: 1 [2025-03-09 05:20:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:20:03] Production.INFO: ==14415== Lock acquired, processing the job... [2025-03-09 05:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 05:20:03] Production.INFO: Account Balance End. [2025-03-09 05:20:03] Production.INFO: ==14417== Releasing lock... [2025-03-09 05:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:20:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:20:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:20:03] Production.ERROR: CronJobId end 12 [2025-03-09 05:20:03] Production.INFO: ==14411== Releasing lock... [2025-03-09 05:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:20:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:20:04] Production.INFO: ==14407== Releasing lock... [2025-03-09 05:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:20:04] Production.ERROR: done [2025-03-09 05:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:20:04] Production.ERROR: done [2025-03-09 05:20:04] Production.ERROR: done [2025-03-09 05:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 05:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640002', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 05:20:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:20:05 [end_date_ymd] => 2025-03-09 06:20:05 [RateCDR] => 1 ) [2025-03-09 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-09 03:20:05' and `end` < '2025-03-09 06:20:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640002', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 05:20:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 05:20:08] Production.INFO: ProcessCDR(1,14640002,1,1,2) [2025-03-09 05:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14640002,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14640002,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:20:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:20:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:20:09] Production.INFO: ==14415== Releasing lock... [2025-03-09 05:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 05:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 05:20:13] Production.ERROR: CronJobId end10 [2025-03-09 05:20:13] Production.INFO: ==14409== Releasing lock... [2025-03-09 05:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:20:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:20:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:20:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:20:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:20:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:20:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:20:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:20:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:20:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:20:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:20:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:20:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:20:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:20:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:20:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:20:15] Production.INFO: call_cost start [2025-03-09 05:20:15] Production.INFO: call_cost end [2025-03-09 05:20:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:20:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:20:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:20:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:20:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:20:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:20:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:20:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:20:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:20:16] Production.INFO: ==14405== Releasing lock... [2025-03-09 05:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:20:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:20:17] Production.INFO: count ==552 [2025-03-09 05:20:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:20:05 - End Time 2025-03-09 06:20:05 [2025-03-09 05:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640001', 'tblTempUsageDetail_20' ) start [2025-03-09 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640001', 'tblTempUsageDetail_20' ) end [2025-03-09 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640001', 'tblTempVendorCDR_20' ) start [2025-03-09 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640001', 'tblTempVendorCDR_20' ) end [2025-03-09 05:20:18] Production.INFO: ProcessCDR(1,14640001,1,1,2) [2025-03-09 05:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640001', 'tblTempUsageDetail_20' ) start [2025-03-09 05:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640001', 'tblTempUsageDetail_20' ) end [2025-03-09 05:20:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:20:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:20:21] Production.INFO: ==14413== Releasing lock... [2025-03-09 05:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:20:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:21:01] Production.INFO: ==14474== Lock acquired, processing the job... [2025-03-09 09:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:21:02] Production.INFO: neon service started [2025-03-09 09:21:02] Production.INFO: neon service started [2025-03-09 09:21:02] Production.INFO: ==14474== Releasing lock... [2025-03-09 09:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:21:02] Production.INFO: ==14476== Lock acquired, processing the job... [2025-03-09 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:21:02] Production.INFO: ==14478== Lock acquired, processing the job... [2025-03-09 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:21:02] Production.INFO: ==14478== Releasing lock... [2025-03-09 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:21:03] Production.INFO: ==14476== Releasing lock... [2025-03-09 05:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:21:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:21:03] Production.INFO: ==14483== Lock acquired, processing the job... [2025-03-09 05:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:21:03] Production.INFO: ==14487== Lock acquired, processing the job... [2025-03-09 05:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:21:03] Production.INFO: ==14481== Lock acquired, processing the job... [2025-03-09 05:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:21:04] Production.INFO: Account Balance Start. [2025-03-09 05:21:04] Production.INFO: CreateAllLog Start [2025-03-09 05:21:04] Production.INFO: 117 [2025-03-09 05:21:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:21:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:21:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:21:04] Production.INFO: ==14485== Lock acquired, processing the job... [2025-03-09 05:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:21:04] Production.INFO: Total Charge 0 [2025-03-09 05:21:04] Production.INFO: CreateAllLog End [2025-03-09 05:21:04] Production.INFO: ==14489== Lock acquired, processing the job... [2025-03-09 05:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:21:04] Production.INFO: ==14483== Releasing lock... [2025-03-09 05:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:21:04] Production.INFO: ==14491== Lock acquired, processing the job... [2025-03-09 05:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:21:04] Production.INFO: Account Balance End. [2025-03-09 05:21:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:21:04] Production.INFO: ==14487== Releasing lock... [2025-03-09 05:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:21:04] Production.INFO: count ==13 [2025-03-09 05:21:04] Production.ERROR: done [2025-03-09 05:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:21:04] Production.INFO: count ==21 [2025-03-09 05:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640006') start [2025-03-09 05:21:05] Production.ERROR: done [2025-03-09 05:21:05] Production.ERROR: PBX CALL prc_importPBXExtension('14640006') end [2025-03-09 05:21:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:21:05] Production.INFO: 1 [2025-03-09 05:21:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:21:05] Production.INFO: ==14491== Releasing lock... [2025-03-09 05:21:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:21:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:21:05 [end_date_ymd] => 2025-03-09 06:21:05 [RateCDR] => 1 ) [2025-03-09 05:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:21:05' and `end` < '2025-03-09 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-09 05:21:11] Production.ERROR: CronJobId end10 [2025-03-09 05:21:11] Production.INFO: ==14485== Releasing lock... [2025-03-09 05:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:21:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:21:14] Production.INFO: call_cost start [2025-03-09 05:21:14] Production.INFO: call_cost end [2025-03-09 05:21:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:21:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:21:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:21:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:21:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:21:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:21:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:21:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:21:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:21:15] Production.INFO: ==14481== Releasing lock... [2025-03-09 05:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:21:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:21:18] Production.INFO: count ==552 [2025-03-09 05:21:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:21:05 - End Time 2025-03-09 06:21:05 [2025-03-09 05:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640007', 'tblTempUsageDetail_20' ) start [2025-03-09 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640007', 'tblTempUsageDetail_20' ) end [2025-03-09 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640007', 'tblTempVendorCDR_20' ) start [2025-03-09 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640007', 'tblTempVendorCDR_20' ) end [2025-03-09 05:21:18] Production.INFO: ProcessCDR(1,14640007,1,1,2) [2025-03-09 05:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640007', 'tblTempUsageDetail_20' ) start [2025-03-09 05:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640007', 'tblTempUsageDetail_20' ) end [2025-03-09 05:21:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:21:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:21:22] Production.INFO: ==14489== Releasing lock... [2025-03-09 05:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:21:22] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:22:01] Production.INFO: ==14545== Lock acquired, processing the job... [2025-03-09 09:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:22:01] Production.INFO: neon service started [2025-03-09 09:22:01] Production.INFO: neon service started [2025-03-09 09:22:01] Production.INFO: ==14545== Releasing lock... [2025-03-09 09:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:22:01] Production.INFO: ==14547== Lock acquired, processing the job... [2025-03-09 05:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:22:02] Production.INFO: ==14547== Releasing lock... [2025-03-09 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:22:02] Production.INFO: ==14549== Lock acquired, processing the job... [2025-03-09 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:22:02] Production.INFO: ==14549== Releasing lock... [2025-03-09 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:22:03] Production.INFO: ==14551== Lock acquired, processing the job... [2025-03-09 05:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:22:03] Production.INFO: ==14553== Lock acquired, processing the job... [2025-03-09 05:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:22:03] Production.INFO: ==14555== Lock acquired, processing the job... [2025-03-09 05:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:22:03] Production.INFO: ==14557== Lock acquired, processing the job... [2025-03-09 05:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:22:03] Production.INFO: Account Balance Start. [2025-03-09 05:22:03] Production.INFO: CreateAllLog Start [2025-03-09 05:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:22:03] Production.INFO: 117 [2025-03-09 05:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:22:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:22:03] Production.INFO: ==14562== Lock acquired, processing the job... [2025-03-09 05:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:22:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:22:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:22:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:22:03] Production.INFO: ==14559== Lock acquired, processing the job... [2025-03-09 05:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:22:03] Production.INFO: Total Charge 0 [2025-03-09 05:22:03] Production.INFO: CreateAllLog End [2025-03-09 05:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:22:03] Production.INFO: count ==13 [2025-03-09 05:22:03] Production.INFO: ==14553== Releasing lock... [2025-03-09 05:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:22:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:22:03] Production.INFO: count ==21 [2025-03-09 05:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640011') start [2025-03-09 05:22:03] Production.INFO: Account Balance End. [2025-03-09 05:22:03] Production.ERROR: CronJobId end 12 [2025-03-09 05:22:03] Production.INFO: ==14557== Releasing lock... [2025-03-09 05:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:22:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:22:04] Production.ERROR: done [2025-03-09 05:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640011') end [2025-03-09 05:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:22:04] Production.INFO: 1 [2025-03-09 05:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:22:04] Production.INFO: ==14562== Releasing lock... [2025-03-09 05:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:22:04] Production.ERROR: done [2025-03-09 05:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:22:05 [end_date_ymd] => 2025-03-09 06:22:05 [RateCDR] => 1 ) [2025-03-09 05:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:22:05' and `end` < '2025-03-09 06:22:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:22:10] Production.ERROR: CronJobId end10 [2025-03-09 05:22:10] Production.INFO: ==14555== Releasing lock... [2025-03-09 05:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:22:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:22:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:22:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:22:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:22:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:22:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:22:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:22:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:22:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:22:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:22:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:22:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:22:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:22:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:22:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:22:14] Production.INFO: call_cost start [2025-03-09 05:22:14] Production.INFO: call_cost end [2025-03-09 05:22:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:22:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:22:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:22:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:22:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:22:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:22:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:22:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:22:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:22:14] Production.INFO: ==14551== Releasing lock... [2025-03-09 05:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:22:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:22:17] Production.INFO: count ==552 [2025-03-09 05:22:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:22:05 - End Time 2025-03-09 06:22:05 [2025-03-09 05:22:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640012', 'tblTempUsageDetail_20' ) start [2025-03-09 05:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640012', 'tblTempUsageDetail_20' ) end [2025-03-09 05:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640012', 'tblTempVendorCDR_20' ) start [2025-03-09 05:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640012', 'tblTempVendorCDR_20' ) end [2025-03-09 05:22:17] Production.INFO: ProcessCDR(1,14640012,1,1,2) [2025-03-09 05:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:22:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640012', 'tblTempUsageDetail_20' ) start [2025-03-09 05:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640012', 'tblTempUsageDetail_20' ) end [2025-03-09 05:22:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:22:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:22:20] Production.INFO: ==14559== Releasing lock... [2025-03-09 05:22:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:22:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:23:01] Production.INFO: ==14620== Lock acquired, processing the job... [2025-03-09 09:23:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:23:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:23:02] Production.INFO: neon service started [2025-03-09 09:23:02] Production.INFO: neon service started [2025-03-09 09:23:02] Production.INFO: ==14620== Releasing lock... [2025-03-09 09:23:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:23:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:23:02] Production.INFO: ==14622== Lock acquired, processing the job... [2025-03-09 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:23:02] Production.INFO: ==14624== Lock acquired, processing the job... [2025-03-09 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:23:02] Production.INFO: ==14624== Releasing lock... [2025-03-09 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:23:03] Production.INFO: ==14622== Releasing lock... [2025-03-09 05:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:23:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:23:03] Production.INFO: ==14629== Lock acquired, processing the job... [2025-03-09 05:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:23:03] Production.INFO: ==14631== Lock acquired, processing the job... [2025-03-09 05:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:23:03] Production.INFO: ==14633== Lock acquired, processing the job... [2025-03-09 05:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:23:04] Production.INFO: Account Balance Start. [2025-03-09 05:23:04] Production.INFO: CreateAllLog Start [2025-03-09 05:23:04] Production.INFO: 117 [2025-03-09 05:23:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:23:04] Production.INFO: ==14627== Lock acquired, processing the job... [2025-03-09 05:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:23:04] Production.INFO: ==14635== Lock acquired, processing the job... [2025-03-09 05:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:23:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:23:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:23:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:23:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:23:04] Production.INFO: ==14637== Lock acquired, processing the job... [2025-03-09 05:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:23:04] Production.INFO: Total Charge 0 [2025-03-09 05:23:04] Production.INFO: CreateAllLog End [2025-03-09 05:23:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:23:04] Production.INFO: count ==13 [2025-03-09 05:23:04] Production.INFO: ==14629== Releasing lock... [2025-03-09 05:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:23:04] Production.INFO: count ==21 [2025-03-09 05:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640015') start [2025-03-09 05:23:04] Production.INFO: Account Balance End. [2025-03-09 05:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640015') end [2025-03-09 05:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:23:04] Production.INFO: 1 [2025-03-09 05:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:23:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:23:04] Production.INFO: ==14633== Releasing lock... [2025-03-09 05:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:23:04] Production.INFO: ==14637== Releasing lock... [2025-03-09 05:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:23:04] Production.ERROR: done [2025-03-09 05:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:23:04] Production.ERROR: done [2025-03-09 05:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:23:05 [end_date_ymd] => 2025-03-09 06:23:05 [RateCDR] => 1 ) [2025-03-09 05:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:23:05' and `end` < '2025-03-09 06:23:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05: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-09 05:23:11] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:23:11] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:23:11] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:23:11] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:23:11] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:23:11] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:23:11] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:23:11] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:23:11] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:23:11] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:23:11] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:23:11] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:23:11] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:23:11] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:23:11] Production.ERROR: CronJobId end10 [2025-03-09 05:23:11] Production.INFO: ==14631== Releasing lock... [2025-03-09 05:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:23:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:23:12] Production.INFO: call_cost start [2025-03-09 05:23:12] Production.INFO: call_cost end [2025-03-09 05:23:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:23:13] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:23:13] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:23:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:23:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:23:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:23:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:23:13] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:23:13] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:23:13] Production.INFO: ==14627== Releasing lock... [2025-03-09 05:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:23:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:23:18] Production.INFO: count ==552 [2025-03-09 05:23:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:23:05 - End Time 2025-03-09 06:23:05 [2025-03-09 05:23:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640017', 'tblTempUsageDetail_20' ) start [2025-03-09 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640017', 'tblTempUsageDetail_20' ) end [2025-03-09 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640017', 'tblTempVendorCDR_20' ) start [2025-03-09 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640017', 'tblTempVendorCDR_20' ) end [2025-03-09 05:23:18] Production.INFO: ProcessCDR(1,14640017,1,1,2) [2025-03-09 05:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640017', 'tblTempUsageDetail_20' ) start [2025-03-09 05:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640017', 'tblTempUsageDetail_20' ) end [2025-03-09 05:23:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:23:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:23:21] Production.INFO: ==14635== Releasing lock... [2025-03-09 05:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:23:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:24:01] Production.INFO: ==14693== Lock acquired, processing the job... [2025-03-09 09:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:24:01] Production.INFO: neon service started [2025-03-09 09:24:01] Production.INFO: neon service started [2025-03-09 09:24:01] Production.INFO: ==14693== Releasing lock... [2025-03-09 09:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:24:01] Production.INFO: ==14695== Lock acquired, processing the job... [2025-03-09 05:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:24:02] Production.INFO: ==14695== Releasing lock... [2025-03-09 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:24:02] Production.INFO: ==14697== Lock acquired, processing the job... [2025-03-09 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:24:02] Production.INFO: ==14697== Releasing lock... [2025-03-09 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:24:03] Production.INFO: ==14699== Lock acquired, processing the job... [2025-03-09 05:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:24:03] Production.INFO: ==14709== Lock acquired, processing the job... [2025-03-09 05:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:24:03] Production.INFO: ==14707== Lock acquired, processing the job... [2025-03-09 05:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:24:03] Production.INFO: ==14701== Lock acquired, processing the job... [2025-03-09 05:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:24:03] Production.INFO: ==14703== Lock acquired, processing the job... [2025-03-09 05:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:24:03] Production.INFO: count ==13 [2025-03-09 05:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:24:03] Production.INFO: count ==21 [2025-03-09 05:24:03] Production.INFO: ==14705== Lock acquired, processing the job... [2025-03-09 05:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640019') start [2025-03-09 05:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:24:03] Production.INFO: Account Balance Start. [2025-03-09 05:24:03] Production.INFO: CreateAllLog Start [2025-03-09 05:24:03] Production.INFO: 117 [2025-03-09 05:24:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:24:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640019') end [2025-03-09 05:24:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:24:03] Production.INFO: 1 [2025-03-09 05:24:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:24:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:24:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:24:03] Production.INFO: ==14709== Releasing lock... [2025-03-09 05:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:24:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:24:03] Production.INFO: Total Charge 0 [2025-03-09 05:24:03] Production.INFO: CreateAllLog End [2025-03-09 05:24:03] Production.ERROR: done [2025-03-09 05:24:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:24:03] Production.INFO: ==14701== Releasing lock... [2025-03-09 05:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:24:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:24:03] Production.INFO: Account Balance End. [2025-03-09 05:24:03] Production.ERROR: done [2025-03-09 05:24:03] Production.ERROR: CronJobId end 12 [2025-03-09 05:24:03] Production.INFO: ==14705== Releasing lock... [2025-03-09 05:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:24:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:24:04 [end_date_ymd] => 2025-03-09 06:24:04 [RateCDR] => 1 ) [2025-03-09 05:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:24:04' and `end` < '2025-03-09 06:24:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:24:11] Production.ERROR: CronJobId end10 [2025-03-09 05:24:11] Production.INFO: ==14703== Releasing lock... [2025-03-09 05:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:24:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:24:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:24:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:24:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:24:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:24:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:24:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:24:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:24:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:24:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:24:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:24:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:24:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:24:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:24:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:24:13] Production.INFO: call_cost start [2025-03-09 05:24:13] Production.INFO: call_cost end [2025-03-09 05:24:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:24:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:24:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:24:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:24:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:24:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:24:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:24:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:24:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:24:14] Production.INFO: ==14699== Releasing lock... [2025-03-09 05:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:24:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:24:17] Production.INFO: count ==552 [2025-03-09 05:24:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:24:04 - End Time 2025-03-09 06:24:04 [2025-03-09 05:24:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640022', 'tblTempUsageDetail_20' ) start [2025-03-09 05:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640022', 'tblTempUsageDetail_20' ) end [2025-03-09 05:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640022', 'tblTempVendorCDR_20' ) start [2025-03-09 05:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640022', 'tblTempVendorCDR_20' ) end [2025-03-09 05:24:17] Production.INFO: ProcessCDR(1,14640022,1,1,2) [2025-03-09 05:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:24:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640022', 'tblTempUsageDetail_20' ) start [2025-03-09 05:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640022', 'tblTempUsageDetail_20' ) end [2025-03-09 05:24:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:24:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:24:20] Production.INFO: ==14707== Releasing lock... [2025-03-09 05:24:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:24:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:25:01] Production.INFO: ==14762== Lock acquired, processing the job... [2025-03-09 09:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:25:01] Production.INFO: neon service started [2025-03-09 09:25:02] Production.INFO: neon service started [2025-03-09 09:25:02] Production.INFO: ==14762== Releasing lock... [2025-03-09 09:25:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:25:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:25:02] Production.INFO: ==14764== Lock acquired, processing the job... [2025-03-09 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:25:02] Production.INFO: ==14766== Lock acquired, processing the job... [2025-03-09 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:25:02] Production.INFO: ==14766== Releasing lock... [2025-03-09 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:25:02] Production.INFO: ==14764== Releasing lock... [2025-03-09 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:25:03] Production.INFO: ==14771== Lock acquired, processing the job... [2025-03-09 05:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:25:03] Production.INFO: ==14779== Lock acquired, processing the job... [2025-03-09 05:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:25:04] Production.INFO: count ==13 [2025-03-09 05:25:04] Production.INFO: ==14769== Lock acquired, processing the job... [2025-03-09 05:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:25:04] Production.INFO: count ==21 [2025-03-09 05:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640024') start [2025-03-09 05:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640024') end [2025-03-09 05:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:25:04] Production.INFO: 1 [2025-03-09 05:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:25:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:25:04] Production.INFO: ==14771== Releasing lock... [2025-03-09 05:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:25:04] Production.INFO: ==14773== Lock acquired, processing the job... [2025-03-09 05:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:25:04] Production.INFO: ==14779== Releasing lock... [2025-03-09 05:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:25:04] Production.INFO: ==14775== Lock acquired, processing the job... [2025-03-09 05:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:25:04] Production.INFO: ==14777== Lock acquired, processing the job... [2025-03-09 05:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:25:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:25:04] Production.INFO: Account Balance Start. [2025-03-09 05:25:04] Production.INFO: CreateAllLog Start [2025-03-09 05:25:04] Production.INFO: 117 [2025-03-09 05:25:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:25:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:25:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:25:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:25:04] Production.INFO: Total Charge 0 [2025-03-09 05:25:04] Production.INFO: CreateAllLog End [2025-03-09 05:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:25:04] Production.ERROR: done [2025-03-09 05:25:04] Production.INFO: Account Balance End. [2025-03-09 05:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:25:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:25:04] Production.INFO: ==14775== Releasing lock... [2025-03-09 05:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:25:04] Production.ERROR: done [2025-03-09 05:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:25:05 [end_date_ymd] => 2025-03-09 06:25:05 [RateCDR] => 1 ) [2025-03-09 05:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:25:05' and `end` < '2025-03-09 06:25:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:25:11] Production.ERROR: CronJobId end10 [2025-03-09 05:25:11] Production.INFO: ==14773== Releasing lock... [2025-03-09 05:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:25:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:25:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:25:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:25:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:25:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:25:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:25:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:25:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:25:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:25:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:25:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:25:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:25:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:25:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:25:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:25:13] Production.INFO: call_cost start [2025-03-09 05:25:13] Production.INFO: call_cost end [2025-03-09 05:25:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:25:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:25:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:25:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:25:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:25:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:25:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:25:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:25:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:25:14] Production.INFO: ==14769== Releasing lock... [2025-03-09 05:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:25:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:25:17] Production.INFO: count ==552 [2025-03-09 05:25:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:25:05 - End Time 2025-03-09 06:25:05 [2025-03-09 05:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640027', 'tblTempUsageDetail_20' ) start [2025-03-09 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640027', 'tblTempUsageDetail_20' ) end [2025-03-09 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640027', 'tblTempVendorCDR_20' ) start [2025-03-09 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640027', 'tblTempVendorCDR_20' ) end [2025-03-09 05:25:18] Production.INFO: ProcessCDR(1,14640027,1,1,2) [2025-03-09 05:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640027', 'tblTempUsageDetail_20' ) start [2025-03-09 05:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640027', 'tblTempUsageDetail_20' ) end [2025-03-09 05:25:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:25:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:25:21] Production.INFO: ==14777== Releasing lock... [2025-03-09 05:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:25:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:26:01] Production.INFO: ==14837== Lock acquired, processing the job... [2025-03-09 09:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:26:01] Production.INFO: neon service started [2025-03-09 09:26:01] Production.INFO: neon service started [2025-03-09 09:26:01] Production.INFO: ==14837== Releasing lock... [2025-03-09 09:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:26:01] Production.INFO: ==14841== Lock acquired, processing the job... [2025-03-09 09:26:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:26:01] Production.INFO: ==14841== Releasing lock... [2025-03-09 09:26:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:26:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:26:02] Production.INFO: ==14839== Lock acquired, processing the job... [2025-03-09 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:26:02] Production.INFO: ==14839== Releasing lock... [2025-03-09 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:26:03] Production.INFO: ==14843== Lock acquired, processing the job... [2025-03-09 05:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:26:03] Production.INFO: ==14847== Lock acquired, processing the job... [2025-03-09 05:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:26:03] Production.INFO: ==14845== Lock acquired, processing the job... [2025-03-09 05:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:26:03] Production.INFO: ==14854== Lock acquired, processing the job... [2025-03-09 05:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:26:03] Production.INFO: ==14850== Lock acquired, processing the job... [2025-03-09 05:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:26:03] Production.INFO: ==14852== Lock acquired, processing the job... [2025-03-09 05:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:26:03] Production.INFO: count ==13 [2025-03-09 05:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:26:03] Production.INFO: count ==21 [2025-03-09 05:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640030') start [2025-03-09 05:26:03] Production.INFO: Account Balance Start. [2025-03-09 05:26:03] Production.INFO: CreateAllLog Start [2025-03-09 05:26:03] Production.INFO: 117 [2025-03-09 05:26:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:26:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:26:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:26:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:26:03] Production.INFO: Total Charge 0 [2025-03-09 05:26:03] Production.INFO: CreateAllLog End [2025-03-09 05:26:03] Production.INFO: ==14845== Releasing lock... [2025-03-09 05:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:26:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640030') end [2025-03-09 05:26:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:26:03] Production.INFO: 1 [2025-03-09 05:26:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:26:03] Production.INFO: ==14854== Releasing lock... [2025-03-09 05:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:26:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:26:04] Production.ERROR: done [2025-03-09 05:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:26:04] Production.INFO: Account Balance End. [2025-03-09 05:26:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:26:04] Production.INFO: ==14850== Releasing lock... [2025-03-09 05:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:26:04] Production.ERROR: done [2025-03-09 05:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:26:05 [end_date_ymd] => 2025-03-09 06:26:05 [RateCDR] => 1 ) [2025-03-09 05:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:26:05' and `end` < '2025-03-09 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-09 05:26:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array) #2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure)) #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure)) #4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array) #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array) #6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array) #7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array) #8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array) #9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder() #10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts() #11 [internal function]: App\Console\Commands\NeonAlerts->fire() #12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #21 {main} Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,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-09 05:26:10] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:26:10] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:26:10] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:26:10] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:26:10] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:26:10] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:26:10] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:26:10] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:26:10] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:26:10] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:26:10] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:26:10] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:26:10] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:26:10] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:26:10] Production.INFO: call_cost start [2025-03-09 05:26:10] Production.INFO: call_cost end [2025-03-09 05:26:10] Production.ERROR: CronJobId end10 [2025-03-09 05:26:10] Production.INFO: ==14847== Releasing lock... [2025-03-09 05:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:26:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:26:11] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:26:11] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:26:11] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:26:11] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:26:11] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:26:11] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:26:11] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:26:11] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:26:11] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:26:11] Production.INFO: ==14843== Releasing lock... [2025-03-09 05:26:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:26:11] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:26:17] Production.INFO: count ==552 [2025-03-09 05:26:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:26:05 - End Time 2025-03-09 06:26:05 [2025-03-09 05:26:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640032', 'tblTempUsageDetail_20' ) start [2025-03-09 05:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640032', 'tblTempUsageDetail_20' ) end [2025-03-09 05:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640032', 'tblTempVendorCDR_20' ) start [2025-03-09 05:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640032', 'tblTempVendorCDR_20' ) end [2025-03-09 05:26:17] Production.INFO: ProcessCDR(1,14640032,1,1,2) [2025-03-09 05:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640032', 'tblTempUsageDetail_20' ) start [2025-03-09 05:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640032', 'tblTempUsageDetail_20' ) end [2025-03-09 05:26:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:26:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:26:20] Production.INFO: ==14852== Releasing lock... [2025-03-09 05:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:26:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:27:01] Production.INFO: ==14906== Lock acquired, processing the job... [2025-03-09 09:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:27:01] Production.INFO: neon service started [2025-03-09 09:27:01] Production.INFO: neon service started [2025-03-09 09:27:01] Production.INFO: ==14906== Releasing lock... [2025-03-09 09:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:27:02] Production.INFO: ==14909== Lock acquired, processing the job... [2025-03-09 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:27:02] Production.INFO: ==14909== Releasing lock... [2025-03-09 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:27:02] Production.INFO: ==14911== Lock acquired, processing the job... [2025-03-09 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:27:02] Production.INFO: ==14911== Releasing lock... [2025-03-09 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:27:03] Production.INFO: ==14915== Lock acquired, processing the job... [2025-03-09 05:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:27:03] Production.INFO: ==14917== Lock acquired, processing the job... [2025-03-09 05:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:27:03] Production.INFO: ==14921== Lock acquired, processing the job... [2025-03-09 05:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:27:03] Production.INFO: ==14913== Lock acquired, processing the job... [2025-03-09 05:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:27:03] Production.INFO: ==14915== Releasing lock... [2025-03-09 05:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:27:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:27:03] Production.INFO: ==14919== Lock acquired, processing the job... [2025-03-09 05:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:27:03] Production.INFO: ==14923== Lock acquired, processing the job... [2025-03-09 05:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:27:03] Production.ERROR: done [2025-03-09 05:27:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:27:03] Production.INFO: Account Balance Start. [2025-03-09 05:27:03] Production.INFO: CreateAllLog Start [2025-03-09 05:27:03] Production.INFO: 117 [2025-03-09 05:27:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:27:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:27:03] Production.ERROR: done [2025-03-09 05:27:04] Production.INFO: count ==13 [2025-03-09 05:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:27:04] Production.INFO: count ==21 [2025-03-09 05:27:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:27:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:27:04] Production.INFO: Total Charge 0 [2025-03-09 05:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640036') start [2025-03-09 05:27:04] Production.INFO: CreateAllLog End [2025-03-09 05:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640036') end [2025-03-09 05:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:27:04] Production.INFO: 1 [2025-03-09 05:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:27:04] Production.INFO: ==14923== Releasing lock... [2025-03-09 05:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:27:04] Production.INFO: Account Balance End. [2025-03-09 05:27:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:27:04] Production.INFO: ==14919== Releasing lock... [2025-03-09 05:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:27:05 [end_date_ymd] => 2025-03-09 06:27:05 [RateCDR] => 1 ) [2025-03-09 05:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:27:05' and `end` < '2025-03-09 06:27:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:27:11] Production.ERROR: CronJobId end10 [2025-03-09 05:27:11] Production.INFO: ==14917== Releasing lock... [2025-03-09 05:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:27:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:27:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:27:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:27:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:27:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:27:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:27:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:27:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:27:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:27:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:27:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:27:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:27:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:27:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:27:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:27:14] Production.INFO: call_cost start [2025-03-09 05:27:14] Production.INFO: call_cost end [2025-03-09 05:27:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:27:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:27:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:27:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:27:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:27:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:27:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:27:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:27:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:27:15] Production.INFO: ==14913== Releasing lock... [2025-03-09 05:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:27:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:27:17] Production.INFO: count ==552 [2025-03-09 05:27:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:27:05 - End Time 2025-03-09 06:27:05 [2025-03-09 05:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640037', 'tblTempUsageDetail_20' ) start [2025-03-09 05:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640037', 'tblTempUsageDetail_20' ) end [2025-03-09 05:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640037', 'tblTempVendorCDR_20' ) start [2025-03-09 05:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640037', 'tblTempVendorCDR_20' ) end [2025-03-09 05:27:17] Production.INFO: ProcessCDR(1,14640037,1,1,2) [2025-03-09 05:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:27:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640037', 'tblTempUsageDetail_20' ) start [2025-03-09 05:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640037', 'tblTempUsageDetail_20' ) end [2025-03-09 05:27:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:27:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:27:20] Production.INFO: ==14921== Releasing lock... [2025-03-09 05:27:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:27:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:28:02] Production.INFO: ==14978== Lock acquired, processing the job... [2025-03-09 09:28:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:28:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:28:02] Production.INFO: neon service started [2025-03-09 09:28:02] Production.INFO: neon service started [2025-03-09 09:28:02] Production.INFO: ==14978== Releasing lock... [2025-03-09 09:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:28:02] Production.INFO: ==14982== Lock acquired, processing the job... [2025-03-09 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:28:02] Production.INFO: ==14982== Releasing lock... [2025-03-09 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:28:02] Production.INFO: ==14980== Lock acquired, processing the job... [2025-03-09 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:28:03] Production.INFO: ==14980== Releasing lock... [2025-03-09 05:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:28:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:28:04] Production.INFO: ==14991== Lock acquired, processing the job... [2025-03-09 05:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:28:04] Production.INFO: ==14987== Lock acquired, processing the job... [2025-03-09 05:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:28:04] Production.INFO: ==14985== Lock acquired, processing the job... [2025-03-09 05:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:28:04] Production.INFO: ==14989== Lock acquired, processing the job... [2025-03-09 05:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:28:04] Production.INFO: Account Balance Start. [2025-03-09 05:28:04] Production.INFO: ==14993== Lock acquired, processing the job... [2025-03-09 05:28:04] Production.INFO: CreateAllLog Start [2025-03-09 05:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:28:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:28:04] Production.INFO: 117 [2025-03-09 05:28:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:28:04] Production.INFO: ==14995== Lock acquired, processing the job... [2025-03-09 05:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:28:04] Production.INFO: ==14987== Releasing lock... [2025-03-09 05:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:28:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 05:28:04] Production.INFO: Total Charge 0 [2025-03-09 05:28:04] Production.INFO: count ==13 [2025-03-09 05:28:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 05:28:04] Production.INFO: count ==21 [2025-03-09 05:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640041') start [2025-03-09 05:28:04] Production.ERROR: done [2025-03-09 05:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640041') end [2025-03-09 05:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:28:04] Production.INFO: 1 [2025-03-09 05:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:28:04] Production.INFO: Account Balance End. [2025-03-09 05:28:04] Production.INFO: ==14995== Releasing lock... [2025-03-09 05:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:28:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:28:04] Production.INFO: ==14991== Releasing lock... [2025-03-09 05:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:28:04] Production.ERROR: done [2025-03-09 05:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:28:05 [end_date_ymd] => 2025-03-09 06:28:05 [RateCDR] => 1 ) [2025-03-09 05:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:28:05' and `end` < '2025-03-09 06:28:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:28:12] Production.ERROR: CronJobId end10 [2025-03-09 05:28:12] Production.INFO: ==14989== Releasing lock... [2025-03-09 05:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:28:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:28:14] Production.INFO: call_cost start [2025-03-09 05:28:14] Production.INFO: call_cost end [2025-03-09 05:28:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:28:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:28:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:28:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:28:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:28:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:28:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:28:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:28:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:28:15] Production.INFO: ==14985== Releasing lock... [2025-03-09 05:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:28:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:28:17] Production.INFO: count ==552 [2025-03-09 05:28:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:28:05 - End Time 2025-03-09 06:28:05 [2025-03-09 05:28:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640042', 'tblTempUsageDetail_20' ) start [2025-03-09 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640042', 'tblTempUsageDetail_20' ) end [2025-03-09 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640042', 'tblTempVendorCDR_20' ) start [2025-03-09 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640042', 'tblTempVendorCDR_20' ) end [2025-03-09 05:28:18] Production.INFO: ProcessCDR(1,14640042,1,1,2) [2025-03-09 05:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640042', 'tblTempUsageDetail_20' ) start [2025-03-09 05:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640042', 'tblTempUsageDetail_20' ) end [2025-03-09 05:28:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:28:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:28:21] Production.INFO: ==14993== Releasing lock... [2025-03-09 05:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:28:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:29:01] Production.INFO: ==15051== Lock acquired, processing the job... [2025-03-09 09:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:29:01] Production.INFO: neon service started [2025-03-09 09:29:01] Production.INFO: neon service started [2025-03-09 09:29:01] Production.INFO: ==15051== Releasing lock... [2025-03-09 09:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:29:02] Production.INFO: ==15055== Lock acquired, processing the job... [2025-03-09 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:29:02] Production.INFO: ==15055== Releasing lock... [2025-03-09 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:29:02] Production.INFO: ==15053== Lock acquired, processing the job... [2025-03-09 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:29:02] Production.INFO: ==15053== Releasing lock... [2025-03-09 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:29:03] Production.INFO: ==15060== Lock acquired, processing the job... [2025-03-09 05:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:29:03] Production.INFO: ==15062== Lock acquired, processing the job... [2025-03-09 05:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:29:03] Production.INFO: ==15066== Lock acquired, processing the job... [2025-03-09 05:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:29:03] Production.INFO: ==15058== Lock acquired, processing the job... [2025-03-09 05:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:29:03] Production.INFO: ==15064== Lock acquired, processing the job... [2025-03-09 05:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:29:03] Production.INFO: ==15060== Releasing lock... [2025-03-09 05:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:29:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:29:03] Production.INFO: ==15068== Lock acquired, processing the job... [2025-03-09 05:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:29:03] Production.INFO: Account Balance Start. [2025-03-09 05:29:03] Production.INFO: CreateAllLog Start [2025-03-09 05:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:29:03] Production.INFO: 117 [2025-03-09 05:29:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:29:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:29:03] Production.ERROR: done [2025-03-09 05:29:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 05:29:04] Production.INFO: Total Charge 0 [2025-03-09 05:29:04] Production.INFO: CreateAllLog End [2025-03-09 05:29:04] Production.INFO: count ==13 [2025-03-09 05:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:29:04] Production.INFO: count ==21 [2025-03-09 05:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640046') start [2025-03-09 05:29:04] Production.ERROR: done [2025-03-09 05:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640046') end [2025-03-09 05:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:29:04] Production.INFO: 1 [2025-03-09 05:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:29:04] Production.INFO: ==15068== Releasing lock... [2025-03-09 05:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:29:04] Production.INFO: Account Balance End. [2025-03-09 05:29:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:29:04] Production.INFO: ==15064== Releasing lock... [2025-03-09 05:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:29:05 [end_date_ymd] => 2025-03-09 06:29:05 [RateCDR] => 1 ) [2025-03-09 05:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:29:05' and `end` < '2025-03-09 06:29:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:29:11] Production.ERROR: CronJobId end10 [2025-03-09 05:29:11] Production.INFO: ==15062== Releasing lock... [2025-03-09 05:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:29:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:29:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:29:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:29:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:29:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:29:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:29:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:29:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:29:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:29:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:29:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:29:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:29:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:29:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:29:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:29:12] Production.INFO: call_cost start [2025-03-09 05:29:12] Production.INFO: call_cost end [2025-03-09 05:29:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:29:13] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:29:13] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:29:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:29:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:29:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:29:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:29:13] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:29:13] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:29:13] Production.INFO: ==15058== Releasing lock... [2025-03-09 05:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:29:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:29:17] Production.INFO: count ==552 [2025-03-09 05:29:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:29:05 - End Time 2025-03-09 06:29:05 [2025-03-09 05:29:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640047', 'tblTempUsageDetail_20' ) start [2025-03-09 05:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640047', 'tblTempUsageDetail_20' ) end [2025-03-09 05:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640047', 'tblTempVendorCDR_20' ) start [2025-03-09 05:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640047', 'tblTempVendorCDR_20' ) end [2025-03-09 05:29:17] Production.INFO: ProcessCDR(1,14640047,1,1,2) [2025-03-09 05:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640047', 'tblTempUsageDetail_20' ) start [2025-03-09 05:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640047', 'tblTempUsageDetail_20' ) end [2025-03-09 05:29:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:29:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:29:20] Production.INFO: ==15066== Releasing lock... [2025-03-09 05:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:29:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:30:02] Production.INFO: ==15127== Lock acquired, processing the job... [2025-03-09 09:30:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:30:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:30:02] Production.INFO: neon service started [2025-03-09 09:30:02] Production.INFO: neon service started [2025-03-09 09:30:02] Production.INFO: ==15127== Releasing lock... [2025-03-09 09:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:30:02] Production.INFO: ==15129== Lock acquired, processing the job... [2025-03-09 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:30:03] Production.INFO: ==15131== Lock acquired, processing the job... [2025-03-09 09:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:30:03] Production.INFO: ==15129== Releasing lock... [2025-03-09 05:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:30:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:30:03] Production.INFO: ==15131== Releasing lock... [2025-03-09 09:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:30:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:30:04] Production.INFO: ==15133== Lock acquired, processing the job... [2025-03-09 05:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 05:30:04] Production.INFO: ==15135== Lock acquired, processing the job... [2025-03-09 05:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:30:04] Production.INFO: ==15137== Lock acquired, processing the job... [2025-03-09 05:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 05:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 05:30:04] Production.INFO: ==15133== Releasing lock... [2025-03-09 05:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 05:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 05:30:04] Production.INFO: ==15141== Lock acquired, processing the job... [2025-03-09 05:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:30:04] Production.INFO: ==15139== Lock acquired, processing the job... [2025-03-09 05:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:30:04] Production.INFO: Account Balance Start. [2025-03-09 05:30:04] Production.INFO: CreateAllLog Start [2025-03-09 05:30:04] Production.INFO: 117 [2025-03-09 05:30:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:30:04] Production.INFO: ==15143== Lock acquired, processing the job... [2025-03-09 05:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:30:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:30:04] Production.INFO: ==15145== Lock acquired, processing the job... [2025-03-09 05:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 05:30:04] Production.INFO: ==15148== Lock acquired, processing the job... [2025-03-09 05:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:30:04] Production.INFO: ==15137== Releasing lock... [2025-03-09 05:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:30:04] Production.INFO: Total Charge 0 [2025-03-09 05:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:30:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 05:30:04] Production.ERROR: done [2025-03-09 05:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:30:04] Production.INFO: count ==13 [2025-03-09 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-09 05:30:04] Production.INFO: count ==21 [2025-03-09 05:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640051') start [2025-03-09 05:30:05] Production.ERROR: done [2025-03-09 05:30:05] Production.INFO: Account Balance End. [2025-03-09 05:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 05:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640052', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 05:30:05] Production.ERROR: done [2025-03-09 05:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14640051') end [2025-03-09 05:30:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:30:05] Production.INFO: 1 [2025-03-09 05:30:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:30:05] Production.INFO: ==15148== Releasing lock... [2025-03-09 05:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:30:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:30:05] Production.ERROR: CronJobId end 12 [2025-03-09 05:30:05] Production.INFO: ==15141== Releasing lock... [2025-03-09 05:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:30:06 [end_date_ymd] => 2025-03-09 06:30:06 [RateCDR] => 1 ) [2025-03-09 05:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:30:06' and `end` < '2025-03-09 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-09 05:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640052', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 05:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 05:30:09] Production.INFO: ProcessCDR(1,14640052,1,1,2) [2025-03-09 05:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14640052,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14640052,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:30:09] Production.INFO: ==15145== Releasing lock... [2025-03-09 05:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 05:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 05:30:13] Production.ERROR: CronJobId end10 [2025-03-09 05:30:13] Production.INFO: ==15139== Releasing lock... [2025-03-09 05:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:30:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:30:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:30:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:30:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:30:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:30:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:30:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:30:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:30:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:30:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:30:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:30:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:30:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:30:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:30:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:30:15] Production.INFO: call_cost start [2025-03-09 05:30:15] Production.INFO: call_cost end [2025-03-09 05:30:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:30:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:30:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:30:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:30:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:30:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:30:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:30:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:30:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:30:16] Production.INFO: ==15135== Releasing lock... [2025-03-09 05:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:30:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:30:18] Production.INFO: count ==555 [2025-03-09 05:30:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:30:06 - End Time 2025-03-09 06:30:06 [2025-03-09 05:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640053', 'tblTempUsageDetail_20' ) start [2025-03-09 05:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640053', 'tblTempUsageDetail_20' ) end [2025-03-09 05:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640053', 'tblTempVendorCDR_20' ) start [2025-03-09 05:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640053', 'tblTempVendorCDR_20' ) end [2025-03-09 05:30:18] Production.INFO: ProcessCDR(1,14640053,1,1,2) [2025-03-09 05:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640053', 'tblTempUsageDetail_20' ) start [2025-03-09 05:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640053', 'tblTempUsageDetail_20' ) end [2025-03-09 05:30:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:30:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:30:21] Production.INFO: ==15143== Releasing lock... [2025-03-09 05:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:30:21] Production.INFO: 33 MB #Memory Used# [2025-03-09 09:31:01] Production.INFO: ==15207== Lock acquired, processing the job... [2025-03-09 09:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:31:01] Production.INFO: neon service started [2025-03-09 09:31:01] Production.INFO: neon service started [2025-03-09 09:31:01] Production.INFO: ==15207== Releasing lock... [2025-03-09 09:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:31:02] Production.INFO: ==15209== Lock acquired, processing the job... [2025-03-09 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:31:02] Production.INFO: ==15209== Releasing lock... [2025-03-09 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:31:02] Production.INFO: ==15211== Lock acquired, processing the job... [2025-03-09 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:31:02] Production.INFO: ==15211== Releasing lock... [2025-03-09 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:31:03] Production.INFO: ==15215== Lock acquired, processing the job... [2025-03-09 05:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:31:03] Production.INFO: ==15222== Lock acquired, processing the job... [2025-03-09 05:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:31:03] Production.INFO: ==15213== Lock acquired, processing the job... [2025-03-09 05:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:31:03] Production.INFO: ==15215== Releasing lock... [2025-03-09 05:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:31:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:31:03] Production.INFO: ==15218== Lock acquired, processing the job... [2025-03-09 05:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:31:03] Production.INFO: ==15220== Lock acquired, processing the job... [2025-03-09 05:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:31:03] Production.INFO: ==15224== Lock acquired, processing the job... [2025-03-09 05:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:31:03] Production.ERROR: done [2025-03-09 05:31:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:31:03] Production.INFO: count ==13 [2025-03-09 05:31:03] Production.ERROR: done [2025-03-09 05:31:03] Production.INFO: Account Balance Start. [2025-03-09 05:31:03] Production.INFO: CreateAllLog Start [2025-03-09 05:31:03] Production.INFO: 117 [2025-03-09 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-09 05:31:03] Production.INFO: count ==21 [2025-03-09 05:31:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:31:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640056') start [2025-03-09 05:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640056') end [2025-03-09 05:31:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:31:03] Production.INFO: 1 [2025-03-09 05:31:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:31:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:31:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:31:03] Production.INFO: ==15224== Releasing lock... [2025-03-09 05:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:31:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:31:03] Production.INFO: Total Charge 0 [2025-03-09 05:31:04] Production.INFO: CreateAllLog End [2025-03-09 05:31:04] Production.INFO: Account Balance End. [2025-03-09 05:31:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:31:04] Production.INFO: ==15220== Releasing lock... [2025-03-09 05:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:31:04 [end_date_ymd] => 2025-03-09 06:31:04 [RateCDR] => 1 ) [2025-03-09 05:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:31:04' and `end` < '2025-03-09 06:31:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:31:12] Production.ERROR: CronJobId end10 [2025-03-09 05:31:12] Production.INFO: ==15218== Releasing lock... [2025-03-09 05:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:31:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:31:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:31:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:31:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:31:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:31:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:31:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:31:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:31:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:31:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:31:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:31:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:31:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:31:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:31:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:31:14] Production.INFO: call_cost start [2025-03-09 05:31:14] Production.INFO: call_cost end [2025-03-09 05:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:31:15] Production.INFO: ==15213== Releasing lock... [2025-03-09 05:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:31:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:31:17] Production.INFO: count ==558 [2025-03-09 05:31:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:31:04 - End Time 2025-03-09 06:31:04 [2025-03-09 05:31:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640058', 'tblTempUsageDetail_20' ) start [2025-03-09 05:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640058', 'tblTempUsageDetail_20' ) end [2025-03-09 05:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640058', 'tblTempVendorCDR_20' ) start [2025-03-09 05:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640058', 'tblTempVendorCDR_20' ) end [2025-03-09 05:31:17] Production.INFO: ProcessCDR(1,14640058,1,1,2) [2025-03-09 05:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:31:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640058', 'tblTempUsageDetail_20' ) start [2025-03-09 05:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640058', 'tblTempUsageDetail_20' ) end [2025-03-09 05:31:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:31:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:31:20] Production.INFO: ==15222== Releasing lock... [2025-03-09 05:31:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:31:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:32:02] Production.INFO: ==15278== Lock acquired, processing the job... [2025-03-09 09:32:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:32:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:32:02] Production.INFO: neon service started [2025-03-09 09:32:02] Production.INFO: neon service started [2025-03-09 09:32:02] Production.INFO: ==15278== Releasing lock... [2025-03-09 09:32:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:32:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:32:02] Production.INFO: ==15282== Lock acquired, processing the job... [2025-03-09 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:32:02] Production.INFO: ==15282== Releasing lock... [2025-03-09 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:32:02] Production.INFO: ==15280== Lock acquired, processing the job... [2025-03-09 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:32:03] Production.INFO: ==15280== Releasing lock... [2025-03-09 05:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:32:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:32:03] Production.INFO: ==15288== Lock acquired, processing the job... [2025-03-09 05:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:32:04] Production.INFO: ==15284== Lock acquired, processing the job... [2025-03-09 05:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:32:04] Production.INFO: ==15292== Lock acquired, processing the job... [2025-03-09 05:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:32:04] Production.INFO: ==15286== Lock acquired, processing the job... [2025-03-09 05:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:32:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:32:04] Production.INFO: ==15290== Lock acquired, processing the job... [2025-03-09 05:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:32:04] Production.INFO: ==15295== Lock acquired, processing the job... [2025-03-09 05:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:32:04] Production.INFO: Account Balance Start. [2025-03-09 05:32:04] Production.INFO: CreateAllLog Start [2025-03-09 05:32:04] Production.INFO: 117 [2025-03-09 05:32:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 05:32:04] Production.INFO: count ==13 [2025-03-09 05:32:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 05:32:04] Production.INFO: count ==21 [2025-03-09 05:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640061') start [2025-03-09 05:32:04] Production.ERROR: done [2025-03-09 05:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:32:04] Production.INFO: Total Charge 0 [2025-03-09 05:32:04] Production.INFO: CreateAllLog End [2025-03-09 05:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640061') end [2025-03-09 05:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:32:04] Production.INFO: 1 [2025-03-09 05:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:32:04] Production.ERROR: done [2025-03-09 05:32:04] Production.INFO: ==15295== Releasing lock... [2025-03-09 05:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:32:04] Production.INFO: ==15286== Releasing lock... [2025-03-09 05:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:32:04] Production.INFO: Account Balance End. [2025-03-09 05:32:05] Production.ERROR: CronJobId end 12 [2025-03-09 05:32:05] Production.INFO: ==15290== Releasing lock... [2025-03-09 05:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:32:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:32:05 [end_date_ymd] => 2025-03-09 06:32:05 [RateCDR] => 1 ) [2025-03-09 05:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:32:05' and `end` < '2025-03-09 06:32:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:32:12] Production.ERROR: CronJobId end10 [2025-03-09 05:32:12] Production.INFO: ==15288== Releasing lock... [2025-03-09 05:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:32:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:32:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:32:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:32:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:32:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:32:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:32:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:32:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:32:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:32:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:32:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:32:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:32:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:32:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:32:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:32:14] Production.INFO: call_cost start [2025-03-09 05:32:14] Production.INFO: call_cost end [2025-03-09 05:32:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:32:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:32:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:32:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:32:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:32:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:32:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:32:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:32:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:32:15] Production.INFO: ==15284== Releasing lock... [2025-03-09 05:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:32:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:32:17] Production.INFO: count ==558 [2025-03-09 05:32:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:32:05 - End Time 2025-03-09 06:32:05 [2025-03-09 05:32:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640063', 'tblTempUsageDetail_20' ) start [2025-03-09 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640063', 'tblTempUsageDetail_20' ) end [2025-03-09 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640063', 'tblTempVendorCDR_20' ) start [2025-03-09 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640063', 'tblTempVendorCDR_20' ) end [2025-03-09 05:32:18] Production.INFO: ProcessCDR(1,14640063,1,1,2) [2025-03-09 05:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640063', 'tblTempUsageDetail_20' ) start [2025-03-09 05:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640063', 'tblTempUsageDetail_20' ) end [2025-03-09 05:32:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:32:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:32:21] Production.INFO: ==15292== Releasing lock... [2025-03-09 05:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:32:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:33:01] Production.INFO: ==15358== Lock acquired, processing the job... [2025-03-09 09:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:33:01] Production.INFO: neon service started [2025-03-09 09:33:01] Production.INFO: neon service started [2025-03-09 09:33:01] Production.INFO: ==15358== Releasing lock... [2025-03-09 09:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:33:02] Production.INFO: ==15362== Lock acquired, processing the job... [2025-03-09 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:33:02] Production.INFO: ==15360== Lock acquired, processing the job... [2025-03-09 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:33:02] Production.INFO: ==15362== Releasing lock... [2025-03-09 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:33:02] Production.INFO: ==15360== Releasing lock... [2025-03-09 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:33:03] Production.INFO: ==15365== Lock acquired, processing the job... [2025-03-09 05:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:33:03] Production.INFO: ==15373== Lock acquired, processing the job... [2025-03-09 05:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:33:03] Production.INFO: ==15369== Lock acquired, processing the job... [2025-03-09 05:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:33:03] Production.INFO: ==15367== Lock acquired, processing the job... [2025-03-09 05:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:33:03] Production.INFO: ==15371== Lock acquired, processing the job... [2025-03-09 05:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:33:03] Production.INFO: Account Balance Start. [2025-03-09 05:33:03] Production.INFO: CreateAllLog Start [2025-03-09 05:33:03] Production.INFO: 117 [2025-03-09 05:33:03] Production.INFO: ==15375== Lock acquired, processing the job... [2025-03-09 05:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:33:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:33:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:33:04] Production.ERROR: done [2025-03-09 05:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:33:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:33:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:33:04] Production.INFO: Total Charge 0 [2025-03-09 05:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:33:04] Production.INFO: CreateAllLog End [2025-03-09 05:33:04] Production.INFO: count ==13 [2025-03-09 05:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:33:04] Production.INFO: count ==21 [2025-03-09 05:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640067') start [2025-03-09 05:33:04] Production.ERROR: done [2025-03-09 05:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640067') end [2025-03-09 05:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:33:04] Production.INFO: 1 [2025-03-09 05:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:33:04] Production.INFO: ==15375== Releasing lock... [2025-03-09 05:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:33:04] Production.INFO: ==15367== Releasing lock... [2025-03-09 05:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:33:04] Production.INFO: Account Balance End. [2025-03-09 05:33:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:33:04] Production.INFO: ==15371== Releasing lock... [2025-03-09 05:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:33:05 [end_date_ymd] => 2025-03-09 06:33:05 [RateCDR] => 1 ) [2025-03-09 05:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:33:05' and `end` < '2025-03-09 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-09 05:33:11] Production.ERROR: CronJobId end10 [2025-03-09 05:33:11] Production.INFO: ==15369== Releasing lock... [2025-03-09 05:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:33:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:33:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:33:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:33:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:33:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:33:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:33:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:33:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:33:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:33:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:33:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:33:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:33:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:33:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:33:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:33:14] Production.INFO: call_cost start [2025-03-09 05:33:14] Production.INFO: call_cost end [2025-03-09 05:33:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:33:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:33:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:33:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:33:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:33:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:33:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:33:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:33:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:33:15] Production.INFO: ==15365== Releasing lock... [2025-03-09 05:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:33:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:33:17] Production.INFO: count ==561 [2025-03-09 05:33:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:33:05 - End Time 2025-03-09 06:33:05 [2025-03-09 05:33:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640068', 'tblTempUsageDetail_20' ) start [2025-03-09 05:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640068', 'tblTempUsageDetail_20' ) end [2025-03-09 05:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640068', 'tblTempVendorCDR_20' ) start [2025-03-09 05:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640068', 'tblTempVendorCDR_20' ) end [2025-03-09 05:33:17] Production.INFO: ProcessCDR(1,14640068,1,1,2) [2025-03-09 05:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640068', 'tblTempUsageDetail_20' ) start [2025-03-09 05:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640068', 'tblTempUsageDetail_20' ) end [2025-03-09 05:33:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:33:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:33:20] Production.INFO: ==15373== Releasing lock... [2025-03-09 05:33:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:33:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:34:02] Production.INFO: ==15430== Lock acquired, processing the job... [2025-03-09 09:34:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:34:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:34:02] Production.INFO: neon service started [2025-03-09 09:34:02] Production.INFO: neon service started [2025-03-09 09:34:02] Production.INFO: ==15430== Releasing lock... [2025-03-09 09:34:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:34:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:34:02] Production.INFO: ==15434== Lock acquired, processing the job... [2025-03-09 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:34:02] Production.INFO: ==15434== Releasing lock... [2025-03-09 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:34:02] Production.INFO: ==15432== Lock acquired, processing the job... [2025-03-09 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:34:02] Production.INFO: ==15432== Releasing lock... [2025-03-09 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:34:03] Production.INFO: ==15437== Lock acquired, processing the job... [2025-03-09 05:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:34:03] Production.INFO: ==15439== Lock acquired, processing the job... [2025-03-09 05:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:34:03] Production.INFO: ==15445== Lock acquired, processing the job... [2025-03-09 05:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:34:04] Production.INFO: ==15439== Releasing lock... [2025-03-09 05:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:34:04] Production.INFO: ==15441== Lock acquired, processing the job... [2025-03-09 05:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:34:04] Production.INFO: ==15443== Lock acquired, processing the job... [2025-03-09 05:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:34:04] Production.INFO: ==15447== Lock acquired, processing the job... [2025-03-09 05:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:34:04] Production.INFO: Account Balance Start. [2025-03-09 05:34:04] Production.INFO: CreateAllLog Start [2025-03-09 05:34:04] Production.INFO: 117 [2025-03-09 05:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:34:04] Production.INFO: count ==13 [2025-03-09 05:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:34:04] Production.INFO: count ==21 [2025-03-09 05:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640072') start [2025-03-09 05:34:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:34:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:34:04] Production.ERROR: done [2025-03-09 05:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:34:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:34:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640072') end [2025-03-09 05:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:34:04] Production.INFO: 1 [2025-03-09 05:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:34:04] Production.INFO: Total Charge 0 [2025-03-09 05:34:04] Production.INFO: CreateAllLog End [2025-03-09 05:34:04] Production.INFO: ==15447== Releasing lock... [2025-03-09 05:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:34:04] Production.ERROR: done [2025-03-09 05:34:04] Production.INFO: Account Balance End. [2025-03-09 05:34:05] Production.ERROR: CronJobId end 12 [2025-03-09 05:34:05] Production.INFO: ==15443== Releasing lock... [2025-03-09 05:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:34:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:34:05 [end_date_ymd] => 2025-03-09 06:34:05 [RateCDR] => 1 ) [2025-03-09 05:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:34:05' and `end` < '2025-03-09 06:34:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:34:11] Production.ERROR: CronJobId end10 [2025-03-09 05:34:11] Production.INFO: ==15441== Releasing lock... [2025-03-09 05:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:34:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:34:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:34:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:34:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:34:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:34:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:34:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:34:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:34:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:34:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:34:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:34:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:34:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:34:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:34:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:34:15] Production.INFO: call_cost start [2025-03-09 05:34:15] Production.INFO: call_cost end [2025-03-09 05:34:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:34:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:34:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:34:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:34:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:34:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:34:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:34:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:34:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:34:16] Production.INFO: ==15437== Releasing lock... [2025-03-09 05:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:34:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:34:17] Production.INFO: count ==561 [2025-03-09 05:34:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:34:05 - End Time 2025-03-09 06:34:05 [2025-03-09 05:34:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640073', 'tblTempUsageDetail_20' ) start [2025-03-09 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640073', 'tblTempUsageDetail_20' ) end [2025-03-09 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640073', 'tblTempVendorCDR_20' ) start [2025-03-09 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640073', 'tblTempVendorCDR_20' ) end [2025-03-09 05:34:18] Production.INFO: ProcessCDR(1,14640073,1,1,2) [2025-03-09 05:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640073', 'tblTempUsageDetail_20' ) start [2025-03-09 05:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640073', 'tblTempUsageDetail_20' ) end [2025-03-09 05:34:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:34:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:34:21] Production.INFO: ==15445== Releasing lock... [2025-03-09 05:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:34:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:35:01] Production.INFO: ==15547== Lock acquired, processing the job... [2025-03-09 09:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:35:01] Production.INFO: neon service started [2025-03-09 09:35:01] Production.INFO: neon service started [2025-03-09 09:35:01] Production.INFO: ==15547== Releasing lock... [2025-03-09 09:35:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:35:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:35:01] Production.INFO: ==15549== Lock acquired, processing the job... [2025-03-09 05:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:35:02] Production.INFO: ==15549== Releasing lock... [2025-03-09 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:35:02] Production.INFO: ==15551== Lock acquired, processing the job... [2025-03-09 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:35:02] Production.INFO: ==15551== Releasing lock... [2025-03-09 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:35:03] Production.INFO: ==15558== Lock acquired, processing the job... [2025-03-09 05:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:35:03] Production.INFO: ==15553== Lock acquired, processing the job... [2025-03-09 05:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:35:03] Production.INFO: ==15560== Lock acquired, processing the job... [2025-03-09 05:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:35:03] Production.INFO: ==15556== Lock acquired, processing the job... [2025-03-09 05:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:35:03] Production.INFO: Account Balance Start. [2025-03-09 05:35:03] Production.INFO: CreateAllLog Start [2025-03-09 05:35:03] Production.INFO: 117 [2025-03-09 05:35:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:35:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:35:03] Production.INFO: ==15562== Lock acquired, processing the job... [2025-03-09 05:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:35:03] Production.INFO: ==15564== Lock acquired, processing the job... [2025-03-09 05:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:35:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:35:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:35:03] Production.INFO: Total Charge 0 [2025-03-09 05:35:03] Production.INFO: CreateAllLog End [2025-03-09 05:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:35:03] Production.INFO: ==15556== Releasing lock... [2025-03-09 05:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:35:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:35:03] Production.INFO: count ==13 [2025-03-09 05:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:35:03] Production.INFO: count ==21 [2025-03-09 05:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640077') start [2025-03-09 05:35:03] Production.INFO: Account Balance End. [2025-03-09 05:35:03] Production.ERROR: done [2025-03-09 05:35:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:35:03] Production.ERROR: CronJobId end 12 [2025-03-09 05:35:03] Production.INFO: ==15560== Releasing lock... [2025-03-09 05:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:35:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640077') end [2025-03-09 05:35:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:35:03] Production.INFO: 1 [2025-03-09 05:35:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:35:03] Production.INFO: ==15564== Releasing lock... [2025-03-09 05:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:35:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:35:03] Production.ERROR: done [2025-03-09 05:35:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:35:04 [end_date_ymd] => 2025-03-09 06:35:04 [RateCDR] => 1 ) [2025-03-09 05:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:35:04' and `end` < '2025-03-09 06:35:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:35:10] Production.ERROR: CronJobId end10 [2025-03-09 05:35:10] Production.INFO: ==15558== Releasing lock... [2025-03-09 05:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:35:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:35:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:35:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:35:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:35:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:35:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:35:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:35:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:35:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:35:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:35:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:35:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:35:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:35:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:35:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:35:13] Production.INFO: call_cost start [2025-03-09 05:35:13] Production.INFO: call_cost end [2025-03-09 05:35:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:35:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:35:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:35:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:35:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:35:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:35:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:35:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:35:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:35:14] Production.INFO: ==15553== Releasing lock... [2025-03-09 05:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:35:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:35:17] Production.INFO: count ==561 [2025-03-09 05:35:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:35:04 - End Time 2025-03-09 06:35:04 [2025-03-09 05:35:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640078', 'tblTempUsageDetail_20' ) start [2025-03-09 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640078', 'tblTempUsageDetail_20' ) end [2025-03-09 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640078', 'tblTempVendorCDR_20' ) start [2025-03-09 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640078', 'tblTempVendorCDR_20' ) end [2025-03-09 05:35:17] Production.INFO: ProcessCDR(1,14640078,1,1,2) [2025-03-09 05:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640078', 'tblTempUsageDetail_20' ) start [2025-03-09 05:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640078', 'tblTempUsageDetail_20' ) end [2025-03-09 05:35:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:35:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:35:20] Production.INFO: ==15562== Releasing lock... [2025-03-09 05:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:35:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:36:01] Production.INFO: ==15623== Lock acquired, processing the job... [2025-03-09 09:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:36:01] Production.INFO: neon service started [2025-03-09 09:36:02] Production.INFO: neon service started [2025-03-09 09:36:02] Production.INFO: ==15623== Releasing lock... [2025-03-09 09:36:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:36:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:36:02] Production.INFO: ==15625== Lock acquired, processing the job... [2025-03-09 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:36:02] Production.INFO: ==15625== Releasing lock... [2025-03-09 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:36:02] Production.INFO: ==15627== Lock acquired, processing the job... [2025-03-09 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:36:02] Production.INFO: ==15627== Releasing lock... [2025-03-09 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:36:03] Production.INFO: ==15629== Lock acquired, processing the job... [2025-03-09 05:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:36:03] Production.INFO: ==15640== Lock acquired, processing the job... [2025-03-09 05:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:36:03] Production.INFO: ==15631== Lock acquired, processing the job... [2025-03-09 05:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:36:03] Production.INFO: ==15633== Lock acquired, processing the job... [2025-03-09 05:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:36:03] Production.INFO: count ==13 [2025-03-09 05:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:36:03] Production.INFO: count ==21 [2025-03-09 05:36:03] Production.INFO: ==15636== Lock acquired, processing the job... [2025-03-09 05:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640079') start [2025-03-09 05:36:03] Production.INFO: ==15638== Lock acquired, processing the job... [2025-03-09 05:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640079') end [2025-03-09 05:36:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:36:03] Production.INFO: 1 [2025-03-09 05:36:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:36:04] Production.INFO: ==15640== Releasing lock... [2025-03-09 05:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:36:04] Production.INFO: ==15631== Releasing lock... [2025-03-09 05:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:36:04] Production.INFO: Account Balance Start. [2025-03-09 05:36:04] Production.INFO: CreateAllLog Start [2025-03-09 05:36:04] Production.INFO: 117 [2025-03-09 05:36:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:36:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:36:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:36:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:36:04] Production.INFO: Total Charge 0 [2025-03-09 05:36:04] Production.ERROR: done [2025-03-09 05:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:36:04] Production.INFO: CreateAllLog End [2025-03-09 05:36:04] Production.ERROR: done [2025-03-09 05:36:04] Production.INFO: Account Balance End. [2025-03-09 05:36:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:36:04] Production.INFO: ==15636== Releasing lock... [2025-03-09 05:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:36:05 [end_date_ymd] => 2025-03-09 06:36:05 [RateCDR] => 1 ) [2025-03-09 05:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:36:05' and `end` < '2025-03-09 06:36:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:36:11] Production.ERROR: CronJobId end10 [2025-03-09 05:36:11] Production.INFO: ==15633== Releasing lock... [2025-03-09 05:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:36:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:36:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:36:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:36:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:36:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:36:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:36:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:36:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:36:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:36:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:36:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:36:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:36:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:36:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:36:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:36:14] Production.INFO: call_cost start [2025-03-09 05:36:14] Production.INFO: call_cost end [2025-03-09 05:36:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:36:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:36:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:36:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:36:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:36:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:36:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:36:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:36:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:36:15] Production.INFO: ==15629== Releasing lock... [2025-03-09 05:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:36:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:36:18] Production.INFO: count ==559 [2025-03-09 05:36:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:36:05 - End Time 2025-03-09 06:36:05 [2025-03-09 05:36:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640083', 'tblTempUsageDetail_20' ) start [2025-03-09 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640083', 'tblTempUsageDetail_20' ) end [2025-03-09 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640083', 'tblTempVendorCDR_20' ) start [2025-03-09 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640083', 'tblTempVendorCDR_20' ) end [2025-03-09 05:36:18] Production.INFO: ProcessCDR(1,14640083,1,1,2) [2025-03-09 05:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640083', 'tblTempUsageDetail_20' ) start [2025-03-09 05:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640083', 'tblTempUsageDetail_20' ) end [2025-03-09 05:36:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:36:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:36:21] Production.INFO: ==15638== Releasing lock... [2025-03-09 05:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:36:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:37:01] Production.INFO: ==15702== Lock acquired, processing the job... [2025-03-09 09:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:37:01] Production.INFO: neon service started [2025-03-09 09:37:01] Production.INFO: neon service started [2025-03-09 09:37:01] Production.INFO: ==15702== Releasing lock... [2025-03-09 09:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:37:02] Production.INFO: ==15704== Lock acquired, processing the job... [2025-03-09 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:37:02] Production.INFO: ==15706== Lock acquired, processing the job... [2025-03-09 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:37:02] Production.INFO: ==15706== Releasing lock... [2025-03-09 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:37:02] Production.INFO: ==15704== Releasing lock... [2025-03-09 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:37:03] Production.INFO: ==15713== Lock acquired, processing the job... [2025-03-09 05:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:37:03] Production.INFO: ==15709== Lock acquired, processing the job... [2025-03-09 05:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:37:03] Production.INFO: ==15711== Lock acquired, processing the job... [2025-03-09 05:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:37:03] Production.INFO: ==15719== Lock acquired, processing the job... [2025-03-09 05:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:37:03] Production.INFO: ==15717== Lock acquired, processing the job... [2025-03-09 05:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:37:03] Production.INFO: ==15715== Lock acquired, processing the job... [2025-03-09 05:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:37:03] Production.INFO: count ==13 [2025-03-09 05:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:37:03] Production.INFO: count ==21 [2025-03-09 05:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640085') start [2025-03-09 05:37:03] Production.INFO: Account Balance Start. [2025-03-09 05:37:03] Production.INFO: CreateAllLog Start [2025-03-09 05:37:03] Production.INFO: 117 [2025-03-09 05:37:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:37:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640085') end [2025-03-09 05:37:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:37:03] Production.INFO: 1 [2025-03-09 05:37:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:37:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:37:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:37:03] Production.INFO: Total Charge 0 [2025-03-09 05:37:03] Production.INFO: CreateAllLog End [2025-03-09 05:37:03] Production.INFO: ==15719== Releasing lock... [2025-03-09 05:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:37:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:37:03] Production.ERROR: done [2025-03-09 05:37:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:37:03] Production.INFO: ==15711== Releasing lock... [2025-03-09 05:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:37:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:37:04] Production.ERROR: done [2025-03-09 05:37:04] Production.INFO: Account Balance End. [2025-03-09 05:37:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:37:04] Production.INFO: ==15715== Releasing lock... [2025-03-09 05:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:37:05 [end_date_ymd] => 2025-03-09 06:37:05 [RateCDR] => 1 ) [2025-03-09 05:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:37:05' and `end` < '2025-03-09 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-09 05:37:10] Production.ERROR: CronJobId end10 [2025-03-09 05:37:10] Production.INFO: ==15713== Releasing lock... [2025-03-09 05:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:37:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:37:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:37:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:37:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:37:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:37:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:37:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:37:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:37:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:37:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:37:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:37:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:37:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:37:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:37:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:37:14] Production.INFO: call_cost start [2025-03-09 05:37:14] Production.INFO: call_cost end [2025-03-09 05:37:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:37:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:37:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:37:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:37:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:37:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:37:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:37:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:37:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:37:14] Production.INFO: ==15709== Releasing lock... [2025-03-09 05:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:37:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:37:17] Production.INFO: count ==557 [2025-03-09 05:37:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:37:05 - End Time 2025-03-09 06:37:05 [2025-03-09 05:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640088', 'tblTempUsageDetail_20' ) start [2025-03-09 05:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640088', 'tblTempUsageDetail_20' ) end [2025-03-09 05:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640088', 'tblTempVendorCDR_20' ) start [2025-03-09 05:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640088', 'tblTempVendorCDR_20' ) end [2025-03-09 05:37:17] Production.INFO: ProcessCDR(1,14640088,1,1,2) [2025-03-09 05:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640088', 'tblTempUsageDetail_20' ) start [2025-03-09 05:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640088', 'tblTempUsageDetail_20' ) end [2025-03-09 05:37:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:37:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:37:21] Production.INFO: ==15717== Releasing lock... [2025-03-09 05:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:37:21] Production.INFO: 33 MB #Memory Used# [2025-03-09 09:38:01] Production.INFO: ==15773== Lock acquired, processing the job... [2025-03-09 09:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:38:02] Production.INFO: neon service started [2025-03-09 09:38:02] Production.INFO: neon service started [2025-03-09 09:38:02] Production.INFO: ==15773== Releasing lock... [2025-03-09 09:38:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:38:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:38:02] Production.INFO: ==15775== Lock acquired, processing the job... [2025-03-09 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:38:02] Production.INFO: ==15775== Releasing lock... [2025-03-09 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:38:02] Production.INFO: ==15777== Lock acquired, processing the job... [2025-03-09 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:38:02] Production.INFO: ==15777== Releasing lock... [2025-03-09 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:38:03] Production.INFO: ==15781== Lock acquired, processing the job... [2025-03-09 05:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:38:03] Production.INFO: ==15787== Lock acquired, processing the job... [2025-03-09 05:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:38:04] Production.INFO: ==15779== Lock acquired, processing the job... [2025-03-09 05:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:38:04] Production.INFO: ==15789== Lock acquired, processing the job... [2025-03-09 05:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:38:04] Production.INFO: ==15783== Lock acquired, processing the job... [2025-03-09 05:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:38:04] Production.INFO: ==15785== Lock acquired, processing the job... [2025-03-09 05:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:38:04] Production.INFO: ==15781== Releasing lock... [2025-03-09 05:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:38:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:38:04] Production.INFO: Account Balance Start. [2025-03-09 05:38:04] Production.INFO: CreateAllLog Start [2025-03-09 05:38:04] Production.INFO: 117 [2025-03-09 05:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:38:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:38:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:38:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:38:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:38:04] Production.INFO: count ==13 [2025-03-09 05:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:38:04] Production.INFO: count ==21 [2025-03-09 05:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640091') start [2025-03-09 05:38:04] Production.INFO: Total Charge 0 [2025-03-09 05:38:04] Production.INFO: CreateAllLog End [2025-03-09 05:38:04] Production.ERROR: done [2025-03-09 05:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640091') end [2025-03-09 05:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:38:04] Production.INFO: 1 [2025-03-09 05:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:38:04] Production.INFO: ==15789== Releasing lock... [2025-03-09 05:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:38:04] Production.ERROR: done [2025-03-09 05:38:04] Production.INFO: Account Balance End. [2025-03-09 05:38:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:38:04] Production.INFO: ==15785== Releasing lock... [2025-03-09 05:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:38:05 [end_date_ymd] => 2025-03-09 06:38:05 [RateCDR] => 1 ) [2025-03-09 05:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:38:05' and `end` < '2025-03-09 06:38:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:38:12] Production.ERROR: CronJobId end10 [2025-03-09 05:38:12] Production.INFO: ==15783== Releasing lock... [2025-03-09 05:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:38:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:38:15] Production.INFO: call_cost start [2025-03-09 05:38:15] Production.INFO: call_cost end [2025-03-09 05:38:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:38:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:38:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:38:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:38:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:38:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:38:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:38:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:38:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:38:16] Production.INFO: ==15779== Releasing lock... [2025-03-09 05:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:38:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:38:18] Production.INFO: count ==556 [2025-03-09 05:38:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:38:05 - End Time 2025-03-09 06:38:05 [2025-03-09 05:38:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640093', 'tblTempUsageDetail_20' ) start [2025-03-09 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640093', 'tblTempUsageDetail_20' ) end [2025-03-09 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640093', 'tblTempVendorCDR_20' ) start [2025-03-09 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640093', 'tblTempVendorCDR_20' ) end [2025-03-09 05:38:18] Production.INFO: ProcessCDR(1,14640093,1,1,2) [2025-03-09 05:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640093', 'tblTempUsageDetail_20' ) start [2025-03-09 05:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640093', 'tblTempUsageDetail_20' ) end [2025-03-09 05:38:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:38:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:38:21] Production.INFO: ==15787== Releasing lock... [2025-03-09 05:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:38:21] Production.INFO: 33 MB #Memory Used# [2025-03-09 09:39:01] Production.INFO: ==15848== Lock acquired, processing the job... [2025-03-09 09:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:39:01] Production.INFO: neon service started [2025-03-09 09:39:01] Production.INFO: neon service started [2025-03-09 09:39:01] Production.INFO: ==15848== Releasing lock... [2025-03-09 09:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:39:01] Production.INFO: ==15850== Lock acquired, processing the job... [2025-03-09 05:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:39:02] Production.INFO: ==15852== Lock acquired, processing the job... [2025-03-09 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:39:02] Production.INFO: ==15850== Releasing lock... [2025-03-09 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:39:02] Production.INFO: ==15852== Releasing lock... [2025-03-09 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:39:03] Production.INFO: ==15854== Lock acquired, processing the job... [2025-03-09 05:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:39:03] Production.INFO: ==15865== Lock acquired, processing the job... [2025-03-09 05:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:39:03] Production.INFO: ==15860== Lock acquired, processing the job... [2025-03-09 05:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:39:03] Production.INFO: ==15856== Lock acquired, processing the job... [2025-03-09 05:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:39:03] Production.INFO: ==15858== Lock acquired, processing the job... [2025-03-09 05:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:39:03] Production.INFO: Account Balance Start. [2025-03-09 05:39:03] Production.INFO: CreateAllLog Start [2025-03-09 05:39:03] Production.INFO: 117 [2025-03-09 05:39:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:39:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:39:03] Production.INFO: count ==13 [2025-03-09 05:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:39:03] Production.INFO: count ==21 [2025-03-09 05:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640095') start [2025-03-09 05:39:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:39:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:39:03] Production.INFO: ==15862== Lock acquired, processing the job... [2025-03-09 05:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:39:03] Production.INFO: Total Charge 0 [2025-03-09 05:39:03] Production.INFO: CreateAllLog End [2025-03-09 05:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640095') end [2025-03-09 05:39:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:39:03] Production.INFO: 1 [2025-03-09 05:39:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:39:03] Production.INFO: ==15865== Releasing lock... [2025-03-09 05:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:39:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:39:03] Production.INFO: ==15856== Releasing lock... [2025-03-09 05:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:39:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:39:03] Production.INFO: Account Balance End. [2025-03-09 05:39:03] Production.ERROR: CronJobId end 12 [2025-03-09 05:39:03] Production.INFO: ==15860== Releasing lock... [2025-03-09 05:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:39:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:39:03] Production.ERROR: done [2025-03-09 05:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:39:04] Production.ERROR: done [2025-03-09 05:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:39:05 [end_date_ymd] => 2025-03-09 06:39:05 [RateCDR] => 1 ) [2025-03-09 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-09 03:39:05' and `end` < '2025-03-09 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-09 05:39:11] Production.ERROR: CronJobId end10 [2025-03-09 05:39:11] Production.INFO: ==15858== Releasing lock... [2025-03-09 05:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:39:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:39:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:39:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:39:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:39:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:39:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:39:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:39:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:39:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:39:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:39:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:39:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:39:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:39:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:39:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:39:13] Production.INFO: call_cost start [2025-03-09 05:39:13] Production.INFO: call_cost end [2025-03-09 05:39:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:39:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:39:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:39:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:39:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:39:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:39:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:39:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:39:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:39:14] Production.INFO: ==15854== Releasing lock... [2025-03-09 05:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:39:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:39:17] Production.INFO: count ==555 [2025-03-09 05:39:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:39:05 - End Time 2025-03-09 06:39:05 [2025-03-09 05:39:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640098', 'tblTempUsageDetail_20' ) start [2025-03-09 05:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640098', 'tblTempUsageDetail_20' ) end [2025-03-09 05:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640098', 'tblTempVendorCDR_20' ) start [2025-03-09 05:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640098', 'tblTempVendorCDR_20' ) end [2025-03-09 05:39:17] Production.INFO: ProcessCDR(1,14640098,1,1,2) [2025-03-09 05:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640098', 'tblTempUsageDetail_20' ) start [2025-03-09 05:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640098', 'tblTempUsageDetail_20' ) end [2025-03-09 05:39:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:39:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:39:20] Production.INFO: ==15862== Releasing lock... [2025-03-09 05:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:39:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 09:40:01] Production.INFO: ==15923== Lock acquired, processing the job... [2025-03-09 09:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:40:02] Production.INFO: neon service started [2025-03-09 09:40:02] Production.INFO: neon service started [2025-03-09 09:40:02] Production.INFO: ==15923== Releasing lock... [2025-03-09 09:40:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:40:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:40:02] Production.INFO: ==15925== Lock acquired, processing the job... [2025-03-09 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:40:02] Production.INFO: ==15927== Lock acquired, processing the job... [2025-03-09 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:40:02] Production.INFO: ==15925== Releasing lock... [2025-03-09 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:40:02] Production.INFO: ==15927== Releasing lock... [2025-03-09 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:40:03] Production.INFO: ==15937== Lock acquired, processing the job... [2025-03-09 05:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:40:03] Production.INFO: ==15939== Lock acquired, processing the job... [2025-03-09 05:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:40:03] Production.INFO: Account Balance Start. [2025-03-09 05:40:03] Production.INFO: CreateAllLog Start [2025-03-09 05:40:03] Production.INFO: 117 [2025-03-09 05:40:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:40:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:40:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:40:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:40:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:40:03] Production.INFO: Total Charge 0 [2025-03-09 05:40:03] Production.INFO: CreateAllLog End [2025-03-09 05:40:04] Production.INFO: Account Balance End. [2025-03-09 05:40:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:40:04] Production.INFO: ==15937== Releasing lock... [2025-03-09 05:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:40:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:40:04] Production.ERROR: done [2025-03-09 05:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:40:04] Production.ERROR: done [2025-03-09 05:40:04] Production.INFO: ==15933== Lock acquired, processing the job... [2025-03-09 05:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:40:04] Production.INFO: ==15929== Lock acquired, processing the job... [2025-03-09 05:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 05:40:04] Production.INFO: ==15931== Lock acquired, processing the job... [2025-03-09 05:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:40:04] Production.INFO: ==15935== Lock acquired, processing the job... [2025-03-09 05:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 05:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 05:40:04] Production.ERROR: CronJob PID - 15931 [2025-03-09 05:40:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 05:40:04] Production.ERROR: CronJob ID - 5 [2025-03-09 05:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 05:40:00 [2025-03-09 05:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 05:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 05:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 05:40:04] Production.ERROR: CronJob PID - 15933 [2025-03-09 05:40:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 05:40:04] Production.ERROR: CronJob ID - 7 [2025-03-09 05:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 05:40:00 [2025-03-09 05:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 05:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 05:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 05:40:04] Production.ERROR: CronJob PID - 15935 [2025-03-09 05:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 05:40:04] Production.ERROR: CronJob ID - 10 [2025-03-09 05:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 05:40:00 [2025-03-09 05:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 05:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 05:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 05:40:04] Production.ERROR: CronJob PID - 15939 [2025-03-09 05:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 05:40:04] Production.ERROR: CronJob ID - 16 [2025-03-09 05:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 05:40:00 [2025-03-09 05:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 05:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 05:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 05:40:04] Production.INFO: ==15929== Releasing lock... [2025-03-09 05:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 05:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 05:40:04] Production.INFO: ==15941== Lock acquired, processing the job... [2025-03-09 05:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 05:40:04] Production.INFO: ==15944== Lock acquired, processing the job... [2025-03-09 05:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:40:04] Production.INFO: ==15933== Releasing lock... [2025-03-09 05:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:40:04] Production.INFO: count ==13 [2025-03-09 05:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:40:04] Production.INFO: count ==21 [2025-03-09 05:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640103') start [2025-03-09 05:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14640103') end [2025-03-09 05:40:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:40:05] Production.INFO: 1 [2025-03-09 05:40:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:40:05] Production.INFO: ==15944== Releasing lock... [2025-03-09 05:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:40:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:40:05] Production.ERROR: done [2025-03-09 05:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 05:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640104', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 05:40:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:40:05 [end_date_ymd] => 2025-03-09 06:40:05 [RateCDR] => 1 ) [2025-03-09 05:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:40:05' and `end` < '2025-03-09 06:40:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640104', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 05:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 05:40:09] Production.INFO: ProcessCDR(1,14640104,1,1,2) [2025-03-09 05:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14640104,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14640104,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:40:09] Production.INFO: ==15941== Releasing lock... [2025-03-09 05:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 05:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 05:40:13] Production.ERROR: CronJobId end10 [2025-03-09 05:40:13] Production.INFO: ==15935== Releasing lock... [2025-03-09 05:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:40:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:40:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:40:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:40:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:40:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:40:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:40:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:40:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:40:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:40:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:40:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:40:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:40:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:40:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:40:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:40:16] Production.INFO: call_cost start [2025-03-09 05:40:16] Production.INFO: call_cost end [2025-03-09 05:40:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:40:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:40:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:40:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:40:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:40:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:40:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:40:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:40:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:40:17] Production.INFO: ==15931== Releasing lock... [2025-03-09 05:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:40:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:40:17] Production.INFO: count ==553 [2025-03-09 05:40:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:40:05 - End Time 2025-03-09 06:40:05 [2025-03-09 05:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640101', 'tblTempUsageDetail_20' ) start [2025-03-09 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640101', 'tblTempUsageDetail_20' ) end [2025-03-09 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640101', 'tblTempVendorCDR_20' ) start [2025-03-09 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640101', 'tblTempVendorCDR_20' ) end [2025-03-09 05:40:18] Production.INFO: ProcessCDR(1,14640101,1,1,2) [2025-03-09 05:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640101', 'tblTempUsageDetail_20' ) start [2025-03-09 05:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640101', 'tblTempUsageDetail_20' ) end [2025-03-09 05:40:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:40:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:40:21] Production.INFO: ==15939== Releasing lock... [2025-03-09 05:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:40:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:41:01] Production.INFO: ==16005== Lock acquired, processing the job... [2025-03-09 09:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:41:01] Production.INFO: neon service started [2025-03-09 09:41:01] Production.INFO: neon service started [2025-03-09 09:41:01] Production.INFO: ==16005== Releasing lock... [2025-03-09 09:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:41:01] Production.INFO: ==16007== Lock acquired, processing the job... [2025-03-09 05:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:41:02] Production.INFO: ==16009== Lock acquired, processing the job... [2025-03-09 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:41:02] Production.INFO: ==16007== Releasing lock... [2025-03-09 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:41:02] Production.INFO: ==16009== Releasing lock... [2025-03-09 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:41:02] Production.INFO: ==16017== Lock acquired, processing the job... [2025-03-09 05:41:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:41:02] Production.INFO: Account Balance Start. [2025-03-09 05:41:02] Production.INFO: CreateAllLog Start [2025-03-09 05:41:02] Production.INFO: 117 [2025-03-09 05:41:02] Production.INFO: Date 2025-03-08 [2025-03-09 05:41:02] Production.INFO: Reseller ==> 0 [2025-03-09 05:41:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:41:03] Production.INFO: Total Charge 0 [2025-03-09 05:41:03] Production.INFO: CreateAllLog End [2025-03-09 05:41:03] Production.INFO: Account Balance End. [2025-03-09 05:41:03] Production.ERROR: CronJobId end 12 [2025-03-09 05:41:03] Production.INFO: ==16017== Releasing lock... [2025-03-09 05:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:41:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:41:03] Production.INFO: ==16011== Lock acquired, processing the job... [2025-03-09 05:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:41:03] Production.INFO: ==16021== Lock acquired, processing the job... [2025-03-09 05:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:41:03] Production.INFO: ==16013== Lock acquired, processing the job... [2025-03-09 05:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:41:03] Production.INFO: ==16015== Lock acquired, processing the job... [2025-03-09 05:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:41:03] Production.INFO: count ==13 [2025-03-09 05:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:41:03] Production.INFO: count ==21 [2025-03-09 05:41:03] Production.INFO: ==16019== Lock acquired, processing the job... [2025-03-09 05:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640107') start [2025-03-09 05:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640107') end [2025-03-09 05:41:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:41:03] Production.INFO: 1 [2025-03-09 05:41:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:41:03] Production.INFO: ==16021== Releasing lock... [2025-03-09 05:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:41:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:41:03] Production.INFO: ==16013== Releasing lock... [2025-03-09 05:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:41:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:41:04] Production.ERROR: done [2025-03-09 05:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:41:04] Production.ERROR: done [2025-03-09 05:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:41:05 [end_date_ymd] => 2025-03-09 06:41:05 [RateCDR] => 1 ) [2025-03-09 05:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:41:05' and `end` < '2025-03-09 06:41:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:41:12] Production.ERROR: CronJobId end10 [2025-03-09 05:41:12] Production.INFO: ==16015== Releasing lock... [2025-03-09 05:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:41:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:41:14] Production.INFO: call_cost start [2025-03-09 05:41:14] Production.INFO: call_cost end [2025-03-09 05:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:41:15] Production.INFO: ==16011== Releasing lock... [2025-03-09 05:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:41:17] Production.INFO: count ==553 [2025-03-09 05:41:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:41:05 - End Time 2025-03-09 06:41:05 [2025-03-09 05:41:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640109', 'tblTempUsageDetail_20' ) start [2025-03-09 05:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640109', 'tblTempUsageDetail_20' ) end [2025-03-09 05:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640109', 'tblTempVendorCDR_20' ) start [2025-03-09 05:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640109', 'tblTempVendorCDR_20' ) end [2025-03-09 05:41:17] Production.INFO: ProcessCDR(1,14640109,1,1,2) [2025-03-09 05:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:41:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640109', 'tblTempUsageDetail_20' ) start [2025-03-09 05:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640109', 'tblTempUsageDetail_20' ) end [2025-03-09 05:41:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:41:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:41:20] Production.INFO: ==16019== Releasing lock... [2025-03-09 05:41:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:41:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:42:02] Production.INFO: ==16076== Lock acquired, processing the job... [2025-03-09 09:42:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:42:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:42:02] Production.INFO: neon service started [2025-03-09 09:42:02] Production.INFO: neon service started [2025-03-09 09:42:02] Production.INFO: ==16076== Releasing lock... [2025-03-09 09:42:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:42:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:42:02] Production.INFO: ==16078== Lock acquired, processing the job... [2025-03-09 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:42:02] Production.INFO: ==16080== Lock acquired, processing the job... [2025-03-09 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:42:02] Production.INFO: ==16080== Releasing lock... [2025-03-09 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:42:03] Production.INFO: ==16078== Releasing lock... [2025-03-09 05:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:42:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:42:03] Production.INFO: ==16091== Lock acquired, processing the job... [2025-03-09 05:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:42:04] Production.INFO: ==16093== Lock acquired, processing the job... [2025-03-09 05:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:42:04] Production.INFO: ==16083== Lock acquired, processing the job... [2025-03-09 05:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:42:04] Production.INFO: count ==13 [2025-03-09 05:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:42:04] Production.INFO: count ==21 [2025-03-09 05:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640110') start [2025-03-09 05:42:04] Production.INFO: ==16085== Lock acquired, processing the job... [2025-03-09 05:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:42:04] Production.INFO: ==16087== Lock acquired, processing the job... [2025-03-09 05:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:42:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:42:04] Production.INFO: ==16089== Lock acquired, processing the job... [2025-03-09 05:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640110') end [2025-03-09 05:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:42:04] Production.INFO: 1 [2025-03-09 05:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:42:04] Production.INFO: Account Balance Start. [2025-03-09 05:42:04] Production.INFO: CreateAllLog Start [2025-03-09 05:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:42:04] Production.INFO: 117 [2025-03-09 05:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:42:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:42:04] Production.INFO: ==16093== Releasing lock... [2025-03-09 05:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:42:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:42:04] Production.ERROR: done [2025-03-09 05:42:04] Production.INFO: Total Charge 0 [2025-03-09 05:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:42:04] Production.INFO: CreateAllLog End [2025-03-09 05:42:04] Production.ERROR: done [2025-03-09 05:42:04] Production.INFO: ==16085== Releasing lock... [2025-03-09 05:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:42:04] Production.INFO: Account Balance End. [2025-03-09 05:42:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:42:04] Production.INFO: ==16089== Releasing lock... [2025-03-09 05:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:42:05 [end_date_ymd] => 2025-03-09 06:42:05 [RateCDR] => 1 ) [2025-03-09 05:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:42:05' and `end` < '2025-03-09 06:42:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:42:12] Production.ERROR: CronJobId end10 [2025-03-09 05:42:12] Production.INFO: ==16087== Releasing lock... [2025-03-09 05:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:42:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:42:14] Production.INFO: call_cost start [2025-03-09 05:42:14] Production.INFO: call_cost end [2025-03-09 05:42:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:42:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:42:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:42:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:42:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:42:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:42:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:42:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:42:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:42:15] Production.INFO: ==16083== Releasing lock... [2025-03-09 05:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:42:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:42:17] Production.INFO: count ==553 [2025-03-09 05:42:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:42:05 - End Time 2025-03-09 06:42:05 [2025-03-09 05:42:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640114', 'tblTempUsageDetail_20' ) start [2025-03-09 05:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640114', 'tblTempUsageDetail_20' ) end [2025-03-09 05:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640114', 'tblTempVendorCDR_20' ) start [2025-03-09 05:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640114', 'tblTempVendorCDR_20' ) end [2025-03-09 05:42:17] Production.INFO: ProcessCDR(1,14640114,1,1,2) [2025-03-09 05:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640114', 'tblTempUsageDetail_20' ) start [2025-03-09 05:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640114', 'tblTempUsageDetail_20' ) end [2025-03-09 05:42:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:42:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:42:21] Production.INFO: ==16091== Releasing lock... [2025-03-09 05:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:42:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:43:01] Production.INFO: ==16151== Lock acquired, processing the job... [2025-03-09 09:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:43:01] Production.INFO: neon service started [2025-03-09 09:43:01] Production.INFO: neon service started [2025-03-09 09:43:01] Production.INFO: ==16151== Releasing lock... [2025-03-09 09:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:43:01] Production.INFO: ==16155== Lock acquired, processing the job... [2025-03-09 09:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:43:01] Production.INFO: ==16155== Releasing lock... [2025-03-09 09:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:43:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:43:02] Production.INFO: ==16153== Lock acquired, processing the job... [2025-03-09 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:43:02] Production.INFO: ==16153== Releasing lock... [2025-03-09 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:43:03] Production.INFO: ==16160== Lock acquired, processing the job... [2025-03-09 05:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:43:03] Production.INFO: ==16168== Lock acquired, processing the job... [2025-03-09 05:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:43:03] Production.INFO: ==16160== Releasing lock... [2025-03-09 05:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:43:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:43:03] Production.INFO: ==16158== Lock acquired, processing the job... [2025-03-09 05:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:43:03] Production.INFO: ==16162== Lock acquired, processing the job... [2025-03-09 05:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:43:03] Production.INFO: count ==13 [2025-03-09 05:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:43:03] Production.INFO: count ==21 [2025-03-09 05:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640116') start [2025-03-09 05:43:03] Production.INFO: ==16164== Lock acquired, processing the job... [2025-03-09 05:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:43:03] Production.INFO: ==16166== Lock acquired, processing the job... [2025-03-09 05:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640116') end [2025-03-09 05:43:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:43:03] Production.INFO: 1 [2025-03-09 05:43:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:43:03] Production.INFO: Account Balance Start. [2025-03-09 05:43:03] Production.INFO: CreateAllLog Start [2025-03-09 05:43:03] Production.INFO: 117 [2025-03-09 05:43:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:43:03] Production.INFO: ==16168== Releasing lock... [2025-03-09 05:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:43:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:43:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:43:03] Production.INFO: Total Charge 0 [2025-03-09 05:43:03] Production.INFO: CreateAllLog End [2025-03-09 05:43:04] Production.INFO: Account Balance End. [2025-03-09 05:43:04] Production.ERROR: done [2025-03-09 05:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:43:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:43:04] Production.INFO: ==16164== Releasing lock... [2025-03-09 05:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:43:04] Production.ERROR: done [2025-03-09 05:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:43:05 [end_date_ymd] => 2025-03-09 06:43:05 [RateCDR] => 1 ) [2025-03-09 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-09 03:43:05' and `end` < '2025-03-09 06:43:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:43:11] Production.ERROR: CronJobId end10 [2025-03-09 05:43:11] Production.INFO: ==16162== Releasing lock... [2025-03-09 05:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:43:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:43:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:43:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:43:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:43:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:43:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:43:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:43:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:43:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:43:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:43:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:43:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:43:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:43:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:43:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:43:13] Production.INFO: call_cost start [2025-03-09 05:43:13] Production.INFO: call_cost end [2025-03-09 05:43:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:43:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:43:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:43:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:43:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:43:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:43:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:43:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:43:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:43:14] Production.INFO: ==16158== Releasing lock... [2025-03-09 05:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:43:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:43:17] Production.INFO: count ==550 [2025-03-09 05:43:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:43:05 - End Time 2025-03-09 06:43:05 [2025-03-09 05:43:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640119', 'tblTempUsageDetail_20' ) start [2025-03-09 05:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640119', 'tblTempUsageDetail_20' ) end [2025-03-09 05:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640119', 'tblTempVendorCDR_20' ) start [2025-03-09 05:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640119', 'tblTempVendorCDR_20' ) end [2025-03-09 05:43:17] Production.INFO: ProcessCDR(1,14640119,1,1,2) [2025-03-09 05:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:43:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640119', 'tblTempUsageDetail_20' ) start [2025-03-09 05:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640119', 'tblTempUsageDetail_20' ) end [2025-03-09 05:43:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:43:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:43:20] Production.INFO: ==16166== Releasing lock... [2025-03-09 05:43:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:43:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:44:01] Production.INFO: ==16228== Lock acquired, processing the job... [2025-03-09 09:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:44:01] Production.INFO: neon service started [2025-03-09 09:44:02] Production.INFO: neon service started [2025-03-09 09:44:02] Production.INFO: ==16228== Releasing lock... [2025-03-09 09:44:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:44:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:44:02] Production.INFO: ==16230== Lock acquired, processing the job... [2025-03-09 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:44:02] Production.INFO: ==16232== Lock acquired, processing the job... [2025-03-09 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:44:02] Production.INFO: ==16232== Releasing lock... [2025-03-09 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:44:02] Production.INFO: ==16230== Releasing lock... [2025-03-09 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:44:03] Production.INFO: ==16236== Lock acquired, processing the job... [2025-03-09 05:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:44:03] Production.INFO: ==16238== Lock acquired, processing the job... [2025-03-09 05:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:44:03] Production.INFO: ==16245== Lock acquired, processing the job... [2025-03-09 05:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:44:03] Production.INFO: ==16234== Lock acquired, processing the job... [2025-03-09 05:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:44:03] Production.INFO: ==16236== Releasing lock... [2025-03-09 05:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:44:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:44:03] Production.INFO: ==16240== Lock acquired, processing the job... [2025-03-09 05:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:44:03] Production.INFO: count ==13 [2025-03-09 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-09 05:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:44:03] Production.INFO: ==16242== Lock acquired, processing the job... [2025-03-09 05:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:44:03] Production.INFO: count ==21 [2025-03-09 05:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640121') start [2025-03-09 05:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:44:03] Production.INFO: Account Balance Start. [2025-03-09 05:44:03] Production.INFO: CreateAllLog Start [2025-03-09 05:44:03] Production.INFO: 117 [2025-03-09 05:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640121') end [2025-03-09 05:44:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:44:03] Production.INFO: 1 [2025-03-09 05:44:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:44:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:44:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:44:04] Production.INFO: ==16245== Releasing lock... [2025-03-09 05:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:44:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:44:04] Production.INFO: Total Charge 0 [2025-03-09 05:44:04] Production.INFO: CreateAllLog End [2025-03-09 05:44:04] Production.ERROR: done [2025-03-09 05:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:44:04] Production.INFO: Account Balance End. [2025-03-09 05:44:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:44:04] Production.INFO: ==16240== Releasing lock... [2025-03-09 05:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:44:04] Production.ERROR: done [2025-03-09 05:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:44:05 [end_date_ymd] => 2025-03-09 06:44:05 [RateCDR] => 1 ) [2025-03-09 05:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:44:05' and `end` < '2025-03-09 06:44:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:44:11] Production.ERROR: CronJobId end10 [2025-03-09 05:44:11] Production.INFO: ==16238== Releasing lock... [2025-03-09 05:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:44:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:44:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:44:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:44:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:44:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:44:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:44:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:44:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:44:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:44:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:44:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:44:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:44:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:44:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:44:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:44:13] Production.INFO: call_cost start [2025-03-09 05:44:13] Production.INFO: call_cost end [2025-03-09 05:44:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:44:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:44:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:44:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:44:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:44:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:44:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:44:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:44:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:44:14] Production.INFO: ==16234== Releasing lock... [2025-03-09 05:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:44:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:44:17] Production.INFO: count ==550 [2025-03-09 05:44:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:44:05 - End Time 2025-03-09 06:44:05 [2025-03-09 05:44:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640124', 'tblTempUsageDetail_20' ) start [2025-03-09 05:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640124', 'tblTempUsageDetail_20' ) end [2025-03-09 05:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640124', 'tblTempVendorCDR_20' ) start [2025-03-09 05:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640124', 'tblTempVendorCDR_20' ) end [2025-03-09 05:44:17] Production.INFO: ProcessCDR(1,14640124,1,1,2) [2025-03-09 05:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:44:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640124', 'tblTempUsageDetail_20' ) start [2025-03-09 05:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640124', 'tblTempUsageDetail_20' ) end [2025-03-09 05:44:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:44:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:44:20] Production.INFO: ==16242== Releasing lock... [2025-03-09 05:44:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:44:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 09:45:01] Production.INFO: ==16304== Lock acquired, processing the job... [2025-03-09 09:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:45:01] Production.INFO: neon service started [2025-03-09 09:45:01] Production.INFO: neon service started [2025-03-09 09:45:01] Production.INFO: ==16304== Releasing lock... [2025-03-09 09:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:45:02] Production.INFO: ==16306== Lock acquired, processing the job... [2025-03-09 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:45:02] Production.INFO: ==16308== Lock acquired, processing the job... [2025-03-09 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:45:02] Production.INFO: ==16308== Releasing lock... [2025-03-09 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:45:02] Production.INFO: ==16306== Releasing lock... [2025-03-09 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:45:03] Production.INFO: ==16319== Lock acquired, processing the job... [2025-03-09 05:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:45:03] Production.INFO: ==16311== Lock acquired, processing the job... [2025-03-09 05:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:45:03] Production.INFO: ==16321== Lock acquired, processing the job... [2025-03-09 05:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:45:03] Production.INFO: ==16313== Lock acquired, processing the job... [2025-03-09 05:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:45:03] Production.INFO: ==16315== Lock acquired, processing the job... [2025-03-09 05:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:45:03] Production.INFO: ==16317== Lock acquired, processing the job... [2025-03-09 05:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:45:03] Production.INFO: Account Balance Start. [2025-03-09 05:45:03] Production.INFO: CreateAllLog Start [2025-03-09 05:45:03] Production.INFO: 117 [2025-03-09 05:45:03] Production.INFO: Date 2025-03-08 [2025-03-09 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-09 05:45:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:45:03] Production.INFO: count ==13 [2025-03-09 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-09 05:45:03] Production.INFO: count ==21 [2025-03-09 05:45:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640126') start [2025-03-09 05:45:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:45:03] Production.ERROR: done [2025-03-09 05:45:03] Production.INFO: Total Charge 0 [2025-03-09 05:45:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:45:03] Production.INFO: CreateAllLog End [2025-03-09 05:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640126') end [2025-03-09 05:45:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:45:03] Production.INFO: 1 [2025-03-09 05:45:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:45:04] Production.INFO: ==16321== Releasing lock... [2025-03-09 05:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:45:04] Production.ERROR: done [2025-03-09 05:45:04] Production.INFO: ==16313== Releasing lock... [2025-03-09 05:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:45:04] Production.INFO: Account Balance End. [2025-03-09 05:45:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:45:04] Production.INFO: ==16317== Releasing lock... [2025-03-09 05:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:45:05 [end_date_ymd] => 2025-03-09 06:45:05 [RateCDR] => 1 ) [2025-03-09 05:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:45:05' and `end` < '2025-03-09 06:45:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:45:11] Production.ERROR: CronJobId end10 [2025-03-09 05:45:11] Production.INFO: ==16315== Releasing lock... [2025-03-09 05:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:45:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:45:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:45:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:45:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:45:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:45:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:45:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:45:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:45:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:45:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:45:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:45:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:45:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:45:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:45:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:45:13] Production.INFO: call_cost start [2025-03-09 05:45:13] Production.INFO: call_cost end [2025-03-09 05:45:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:45:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:45:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:45:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:45:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:45:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:45:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:45:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:45:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:45:14] Production.INFO: ==16311== Releasing lock... [2025-03-09 05:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:45:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:45:17] Production.INFO: count ==549 [2025-03-09 05:45:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:45:05 - End Time 2025-03-09 06:45:05 [2025-03-09 05:45:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640129', 'tblTempUsageDetail_20' ) start [2025-03-09 05:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640129', 'tblTempUsageDetail_20' ) end [2025-03-09 05:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640129', 'tblTempVendorCDR_20' ) start [2025-03-09 05:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640129', 'tblTempVendorCDR_20' ) end [2025-03-09 05:45:17] Production.INFO: ProcessCDR(1,14640129,1,1,2) [2025-03-09 05:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640129', 'tblTempUsageDetail_20' ) start [2025-03-09 05:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640129', 'tblTempUsageDetail_20' ) end [2025-03-09 05:45:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:45:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:45:20] Production.INFO: ==16319== Releasing lock... [2025-03-09 05:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:45:20] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 09:46:01] Production.INFO: ==16376== Lock acquired, processing the job... [2025-03-09 09:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:46:01] Production.INFO: neon service started [2025-03-09 09:46:01] Production.INFO: neon service started [2025-03-09 09:46:01] Production.INFO: ==16376== Releasing lock... [2025-03-09 09:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:46:02] Production.INFO: ==16378== Lock acquired, processing the job... [2025-03-09 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:46:02] Production.INFO: ==16378== Releasing lock... [2025-03-09 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:46:02] Production.INFO: ==16380== Lock acquired, processing the job... [2025-03-09 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:46:02] Production.INFO: ==16380== Releasing lock... [2025-03-09 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:46:03] Production.INFO: ==16387== Lock acquired, processing the job... [2025-03-09 05:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:46:03] Production.INFO: ==16383== Lock acquired, processing the job... [2025-03-09 05:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:46:03] Production.INFO: ==16385== Lock acquired, processing the job... [2025-03-09 05:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:46:03] Production.INFO: ==16393== Lock acquired, processing the job... [2025-03-09 05:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:46:03] Production.INFO: ==16391== Lock acquired, processing the job... [2025-03-09 05:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:46:03] Production.INFO: ==16389== Lock acquired, processing the job... [2025-03-09 05:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:46:03] Production.INFO: count ==13 [2025-03-09 05:46:03] Production.INFO: ==16385== Releasing lock... [2025-03-09 05:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:46:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:46:04] Production.INFO: count ==21 [2025-03-09 05:46:04] Production.INFO: Account Balance Start. [2025-03-09 05:46:04] Production.INFO: CreateAllLog Start [2025-03-09 05:46:04] Production.INFO: 117 [2025-03-09 05:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640132') start [2025-03-09 05:46:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:46:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:46:04] Production.INFO: Total Charge 0 [2025-03-09 05:46:04] Production.INFO: CreateAllLog End [2025-03-09 05:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640132') end [2025-03-09 05:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:46:04] Production.INFO: 1 [2025-03-09 05:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:46:04] Production.ERROR: done [2025-03-09 05:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:46:04] Production.INFO: ==16393== Releasing lock... [2025-03-09 05:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:46:04] Production.ERROR: done [2025-03-09 05:46:04] Production.INFO: Account Balance End. [2025-03-09 05:46:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:46:04] Production.INFO: ==16389== Releasing lock... [2025-03-09 05:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:46:05 [end_date_ymd] => 2025-03-09 06:46:05 [RateCDR] => 1 ) [2025-03-09 05:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:46:05' and `end` < '2025-03-09 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-09 05:46:12] Production.ERROR: CronJobId end10 [2025-03-09 05:46:12] Production.INFO: ==16387== Releasing lock... [2025-03-09 05:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:46:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:46:15] Production.INFO: call_cost start [2025-03-09 05:46:15] Production.INFO: call_cost end [2025-03-09 05:46:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:46:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:46:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:46:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:46:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:46:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:46:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:46:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:46:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:46:16] Production.INFO: ==16383== Releasing lock... [2025-03-09 05:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:46:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:46:17] Production.INFO: count ==549 [2025-03-09 05:46:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:46:05 - End Time 2025-03-09 06:46:05 [2025-03-09 05:46:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640134', 'tblTempUsageDetail_20' ) start [2025-03-09 05:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640134', 'tblTempUsageDetail_20' ) end [2025-03-09 05:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640134', 'tblTempVendorCDR_20' ) start [2025-03-09 05:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640134', 'tblTempVendorCDR_20' ) end [2025-03-09 05:46:17] Production.INFO: ProcessCDR(1,14640134,1,1,2) [2025-03-09 05:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:46:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640134', 'tblTempUsageDetail_20' ) start [2025-03-09 05:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640134', 'tblTempUsageDetail_20' ) end [2025-03-09 05:46:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:46:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:46:20] Production.INFO: ==16391== Releasing lock... [2025-03-09 05:46:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:46:20] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 09:47:02] Production.INFO: ==16450== Lock acquired, processing the job... [2025-03-09 09:47:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:47:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:47:02] Production.INFO: neon service started [2025-03-09 09:47:02] Production.INFO: neon service started [2025-03-09 09:47:02] Production.INFO: ==16450== Releasing lock... [2025-03-09 09:47:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:47:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:47:02] Production.INFO: ==16454== Lock acquired, processing the job... [2025-03-09 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:47:02] Production.INFO: ==16454== Releasing lock... [2025-03-09 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:47:02] Production.INFO: ==16452== Lock acquired, processing the job... [2025-03-09 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:47:03] Production.INFO: ==16452== Releasing lock... [2025-03-09 05:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:47:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:47:04] Production.INFO: ==16458== Lock acquired, processing the job... [2025-03-09 05:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:47:04] Production.INFO: ==16467== Lock acquired, processing the job... [2025-03-09 05:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:47:04] Production.INFO: count ==13 [2025-03-09 05:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:47:04] Production.INFO: count ==21 [2025-03-09 05:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640136') start [2025-03-09 05:47:04] Production.INFO: ==16456== Lock acquired, processing the job... [2025-03-09 05:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:47:04] Production.INFO: ==16458== Releasing lock... [2025-03-09 05:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640136') end [2025-03-09 05:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:47:04] Production.INFO: 1 [2025-03-09 05:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:47:04] Production.INFO: ==16460== Lock acquired, processing the job... [2025-03-09 05:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:47:04] Production.INFO: ==16467== Releasing lock... [2025-03-09 05:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:47:04] Production.INFO: ==16463== Lock acquired, processing the job... [2025-03-09 05:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:47:04] Production.INFO: ==16465== Lock acquired, processing the job... [2025-03-09 05:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:47:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:47:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:47:04] Production.INFO: Account Balance Start. [2025-03-09 05:47:04] Production.INFO: CreateAllLog Start [2025-03-09 05:47:04] Production.INFO: 117 [2025-03-09 05:47:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:47:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:47:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:47:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:47:04] Production.INFO: Total Charge 0 [2025-03-09 05:47:04] Production.INFO: CreateAllLog End [2025-03-09 05:47:04] Production.ERROR: done [2025-03-09 05:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:47:04] Production.ERROR: done [2025-03-09 05:47:04] Production.INFO: Account Balance End. [2025-03-09 05:47:05] Production.ERROR: CronJobId end 12 [2025-03-09 05:47:05] Production.INFO: ==16463== Releasing lock... [2025-03-09 05:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:47:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:47:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:47:05 [end_date_ymd] => 2025-03-09 06:47:05 [RateCDR] => 1 ) [2025-03-09 05: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-09 03:47:05' and `end` < '2025-03-09 06:47:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:47:14] Production.ERROR: CronJobId end10 [2025-03-09 05:47:14] Production.INFO: ==16460== Releasing lock... [2025-03-09 05:47:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:47:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:47:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:47:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:47:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:47:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:47:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:47:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:47:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:47:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:47:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:47:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:47:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:47:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:47:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:47:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:47:16] Production.INFO: call_cost start [2025-03-09 05:47:16] Production.INFO: call_cost end [2025-03-09 05:47:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:47:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:47:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:47:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:47:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:47:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:47:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:47:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:47:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:47:17] Production.INFO: ==16456== Releasing lock... [2025-03-09 05:47:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:47:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:47:18] Production.INFO: count ==549 [2025-03-09 05:47:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:47:05 - End Time 2025-03-09 06:47:05 [2025-03-09 05:47:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640139', 'tblTempUsageDetail_20' ) start [2025-03-09 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640139', 'tblTempUsageDetail_20' ) end [2025-03-09 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640139', 'tblTempVendorCDR_20' ) start [2025-03-09 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640139', 'tblTempVendorCDR_20' ) end [2025-03-09 05:47:18] Production.INFO: ProcessCDR(1,14640139,1,1,2) [2025-03-09 05:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640139', 'tblTempUsageDetail_20' ) start [2025-03-09 05:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640139', 'tblTempUsageDetail_20' ) end [2025-03-09 05:47:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:47:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:47:21] Production.INFO: ==16465== Releasing lock... [2025-03-09 05:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:47:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 09:48:01] Production.INFO: ==16524== Lock acquired, processing the job... [2025-03-09 09:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:48:01] Production.INFO: neon service started [2025-03-09 09:48:01] Production.INFO: neon service started [2025-03-09 09:48:01] Production.INFO: ==16524== Releasing lock... [2025-03-09 09:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:48:02] Production.INFO: ==16526== Lock acquired, processing the job... [2025-03-09 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:48:02] Production.INFO: ==16526== Releasing lock... [2025-03-09 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:48:02] Production.INFO: ==16528== Lock acquired, processing the job... [2025-03-09 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:48:02] Production.INFO: ==16528== Releasing lock... [2025-03-09 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:48:03] Production.INFO: ==16534== Lock acquired, processing the job... [2025-03-09 05:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:48:03] Production.INFO: ==16540== Lock acquired, processing the job... [2025-03-09 05:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:48:03] Production.INFO: ==16530== Lock acquired, processing the job... [2025-03-09 05:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:48:03] Production.INFO: ==16532== Lock acquired, processing the job... [2025-03-09 05:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:48:03] Production.INFO: count ==13 [2025-03-09 05:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:48:03] Production.INFO: ==16536== Lock acquired, processing the job... [2025-03-09 05:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:48:03] Production.INFO: count ==21 [2025-03-09 05:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640140') start [2025-03-09 05:48:03] Production.INFO: ==16538== Lock acquired, processing the job... [2025-03-09 05:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:48:03] Production.INFO: Account Balance Start. [2025-03-09 05:48:03] Production.INFO: CreateAllLog Start [2025-03-09 05:48:03] Production.INFO: 117 [2025-03-09 05:48:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:48:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:48:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:48:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:48:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:48:03] Production.INFO: Total Charge 0 [2025-03-09 05:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640140') end [2025-03-09 05:48:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:48:03] Production.INFO: 1 [2025-03-09 05:48:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:48:03] Production.INFO: CreateAllLog End [2025-03-09 05:48:03] Production.INFO: ==16540== Releasing lock... [2025-03-09 05:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:48:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:48:04] Production.INFO: ==16532== Releasing lock... [2025-03-09 05:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:48:04] Production.INFO: Account Balance End. [2025-03-09 05:48:04] Production.ERROR: done [2025-03-09 05:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:48:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:48:04] Production.INFO: ==16536== Releasing lock... [2025-03-09 05:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:48:04] Production.ERROR: done [2025-03-09 05:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:48:05 [end_date_ymd] => 2025-03-09 06:48:05 [RateCDR] => 1 ) [2025-03-09 05:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:48:05' and `end` < '2025-03-09 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-09 05:48:11] Production.ERROR: CronJobId end10 [2025-03-09 05:48:11] Production.INFO: ==16534== Releasing lock... [2025-03-09 05:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:48:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:48:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:48:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:48:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:48:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:48:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:48:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:48:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:48:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:48:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:48:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:48:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:48:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:48:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:48:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:48:13] Production.INFO: call_cost start [2025-03-09 05:48:13] Production.INFO: call_cost end [2025-03-09 05:48:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:48:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:48:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:48:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:48:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:48:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:48:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:48:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:48:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:48:14] Production.INFO: ==16530== Releasing lock... [2025-03-09 05:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:48:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:48:17] Production.INFO: count ==549 [2025-03-09 05:48:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:48:05 - End Time 2025-03-09 06:48:05 [2025-03-09 05:48:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640144', 'tblTempUsageDetail_20' ) start [2025-03-09 05:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640144', 'tblTempUsageDetail_20' ) end [2025-03-09 05:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640144', 'tblTempVendorCDR_20' ) start [2025-03-09 05:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640144', 'tblTempVendorCDR_20' ) end [2025-03-09 05:48:17] Production.INFO: ProcessCDR(1,14640144,1,1,2) [2025-03-09 05:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:48:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640144', 'tblTempUsageDetail_20' ) start [2025-03-09 05:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640144', 'tblTempUsageDetail_20' ) end [2025-03-09 05:48:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:48:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:48:20] Production.INFO: ==16538== Releasing lock... [2025-03-09 05:48:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:48:20] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 09:49:02] Production.INFO: ==16600== Lock acquired, processing the job... [2025-03-09 09:49:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:49:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:49:02] Production.INFO: neon service started [2025-03-09 09:49:02] Production.INFO: neon service started [2025-03-09 09:49:02] Production.INFO: ==16600== Releasing lock... [2025-03-09 09:49:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:49:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:49:03] Production.INFO: ==16602== Lock acquired, processing the job... [2025-03-09 05:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:49:03] Production.INFO: ==16604== Lock acquired, processing the job... [2025-03-09 09:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:49:03] Production.INFO: ==16604== Releasing lock... [2025-03-09 09:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:49:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:49:03] Production.INFO: ==16602== Releasing lock... [2025-03-09 05:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:49:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:49:04] Production.INFO: ==16607== Lock acquired, processing the job... [2025-03-09 05:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:49:04] Production.INFO: ==16609== Lock acquired, processing the job... [2025-03-09 05:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:49:04] Production.INFO: ==16611== Lock acquired, processing the job... [2025-03-09 05:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:49:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:49:04] Production.INFO: ==16615== Lock acquired, processing the job... [2025-03-09 05:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:49:04] Production.INFO: ==16609== Releasing lock... [2025-03-09 05:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:49:04] Production.INFO: ==16613== Lock acquired, processing the job... [2025-03-09 05:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:49:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:49:04] Production.INFO: ==16617== Lock acquired, processing the job... [2025-03-09 05:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:49:04] Production.INFO: Account Balance Start. [2025-03-09 05:49:04] Production.INFO: CreateAllLog Start [2025-03-09 05:49:04] Production.INFO: 117 [2025-03-09 05:49:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:49:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:49:04] Production.INFO: count ==13 [2025-03-09 05:49:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:49:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:49:04] Production.INFO: count ==21 [2025-03-09 05:49:05] Production.ERROR: PBX CALL prc_importPBXExtension('14640148') start [2025-03-09 05:49:05] Production.ERROR: done [2025-03-09 05:49:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:49:05] Production.INFO: Total Charge 0 [2025-03-09 05:49:05] Production.INFO: CreateAllLog End [2025-03-09 05:49:05] Production.ERROR: PBX CALL prc_importPBXExtension('14640148') end [2025-03-09 05:49:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:49:05] Production.INFO: 1 [2025-03-09 05:49:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:49:05] Production.INFO: ==16617== Releasing lock... [2025-03-09 05:49:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:49:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:49:05] Production.ERROR: done [2025-03-09 05:49:05] Production.INFO: Account Balance End. [2025-03-09 05:49:05] Production.ERROR: CronJobId end 12 [2025-03-09 05:49:05] Production.INFO: ==16613== Releasing lock... [2025-03-09 05:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:49:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:49:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:49:06 [end_date_ymd] => 2025-03-09 06:49:06 [RateCDR] => 1 ) [2025-03-09 05:49:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:49:06' and `end` < '2025-03-09 06: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-09 05:49:12] Production.ERROR: CronJobId end10 [2025-03-09 05:49:12] Production.INFO: ==16611== Releasing lock... [2025-03-09 05:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:49:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:49:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:49:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:49:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:49:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:49:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:49:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:49:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:49:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:49:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:49:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:49:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:49:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:49:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:49:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:49:15] Production.INFO: call_cost start [2025-03-09 05:49:15] Production.INFO: call_cost end [2025-03-09 05:49:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:49:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:49:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:49:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:49:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:49:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:49:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:49:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:49:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:49:16] Production.INFO: ==16607== Releasing lock... [2025-03-09 05:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:49:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:49:18] Production.INFO: count ==547 [2025-03-09 05:49:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:49:06 - End Time 2025-03-09 06:49:06 [2025-03-09 05:49:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640149', 'tblTempUsageDetail_20' ) start [2025-03-09 05:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640149', 'tblTempUsageDetail_20' ) end [2025-03-09 05:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640149', 'tblTempVendorCDR_20' ) start [2025-03-09 05:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640149', 'tblTempVendorCDR_20' ) end [2025-03-09 05:49:18] Production.INFO: ProcessCDR(1,14640149,1,1,2) [2025-03-09 05:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640149', 'tblTempUsageDetail_20' ) start [2025-03-09 05:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640149', 'tblTempUsageDetail_20' ) end [2025-03-09 05:49:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:49:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:49:21] Production.INFO: ==16615== Releasing lock... [2025-03-09 05:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:49:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 09:50:01] Production.INFO: ==16713== Lock acquired, processing the job... [2025-03-09 09:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:50:01] Production.INFO: neon service started [2025-03-09 09:50:01] Production.INFO: neon service started [2025-03-09 09:50:01] Production.INFO: ==16713== Releasing lock... [2025-03-09 09:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:50:02] Production.INFO: ==16715== Lock acquired, processing the job... [2025-03-09 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:50:02] Production.INFO: ==16715== Releasing lock... [2025-03-09 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:50:02] Production.INFO: ==16717== Lock acquired, processing the job... [2025-03-09 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:50:02] Production.INFO: ==16717== Releasing lock... [2025-03-09 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:50:03] Production.INFO: ==16720== Lock acquired, processing the job... [2025-03-09 05:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 05:50:03] Production.INFO: ==16722== Lock acquired, processing the job... [2025-03-09 05:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:50:03] Production.INFO: ==16726== Lock acquired, processing the job... [2025-03-09 05:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:50:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:50:03] Production.INFO: ==16728== Lock acquired, processing the job... [2025-03-09 05:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:50:03] Production.INFO: ==16724== Lock acquired, processing the job... [2025-03-09 05:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:50:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 05:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 05:50:03] Production.ERROR: CronJob PID - 16722 [2025-03-09 05:50:03] Production.ERROR: CronJob Title - System Alerts [2025-03-09 05:50:03] Production.ERROR: CronJob ID - 5 [2025-03-09 05:50:03] Production.ERROR: CronJob Last Run Time 2025-03-09 05:50:00 [2025-03-09 05:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 05:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 05:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 05:50:03] Production.ERROR: CronJob PID - 16724 [2025-03-09 05:50:03] Production.ERROR: CronJob Title - Account Block [2025-03-09 05:50:03] Production.ERROR: CronJob ID - 7 [2025-03-09 05:50:03] Production.ERROR: CronJob Last Run Time 2025-03-09 05:50:00 [2025-03-09 05:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 05:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 05:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 05:50:03] Production.ERROR: CronJob PID - 16726 [2025-03-09 05:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 05:50:03] Production.ERROR: CronJob ID - 10 [2025-03-09 05:50:03] Production.ERROR: CronJob Last Run Time 2025-03-09 05:50:00 [2025-03-09 05:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 05:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 05:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 05:50:03] Production.ERROR: CronJob PID - 16728 [2025-03-09 05:50:03] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 05:50:03] Production.ERROR: CronJob ID - 12 [2025-03-09 05:50:03] Production.ERROR: CronJob Last Run Time 2025-03-09 05:50:00 [2025-03-09 05:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 05:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 05:50:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 05:50:03] Production.INFO: ==16720== Releasing lock... [2025-03-09 05:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 05:50:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 05:50:03] Production.INFO: Account Balance Start. [2025-03-09 05:50:03] Production.INFO: CreateAllLog Start [2025-03-09 05:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:50:03] Production.INFO: 117 [2025-03-09 05:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:50:03] Production.INFO: ==16730== Lock acquired, processing the job... [2025-03-09 05:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:50:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:50:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:50:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:50:04] Production.INFO: ==16734== Lock acquired, processing the job... [2025-03-09 05:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:50:04] Production.INFO: ==16732== Lock acquired, processing the job... [2025-03-09 05:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 05:50:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:50:04] Production.INFO: Total Charge 0 [2025-03-09 05:50:04] Production.INFO: ==16724== Releasing lock... [2025-03-09 05:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 05:50:04] Production.INFO: CreateAllLog End [2025-03-09 05:50:04] Production.INFO: count ==13 [2025-03-09 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-09 05:50:04] Production.INFO: count ==21 [2025-03-09 05:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640153') start [2025-03-09 05:50:04] Production.ERROR: done [2025-03-09 05:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640153') end [2025-03-09 05:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:50:04] Production.INFO: 1 [2025-03-09 05:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:50:04] Production.INFO: ==16734== Releasing lock... [2025-03-09 05:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:50:04] Production.ERROR: done [2025-03-09 05:50:04] Production.INFO: Account Balance End. [2025-03-09 05:50:04] Production.ERROR: done [2025-03-09 05:50:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:50:04] Production.INFO: ==16728== Releasing lock... [2025-03-09 05:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:50:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 05:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640154', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 05:50:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:50:05 [end_date_ymd] => 2025-03-09 06:50:05 [RateCDR] => 1 ) [2025-03-09 05:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:50:05' and `end` < '2025-03-09 06: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-09 05:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640154', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 05:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 05:50:09] Production.INFO: ProcessCDR(1,14640154,1,1,2) [2025-03-09 05:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14640154,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14640154,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:50:09] Production.INFO: ==16732== Releasing lock... [2025-03-09 05:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 05:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 05:50:13] Production.ERROR: CronJobId end10 [2025-03-09 05:50:13] Production.INFO: ==16726== Releasing lock... [2025-03-09 05:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:50:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:50:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:50:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:50:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:50:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:50:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:50:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:50:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:50:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:50:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:50:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:50:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:50:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:50:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:50:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:50:16] Production.INFO: call_cost start [2025-03-09 05:50:16] Production.INFO: call_cost end [2025-03-09 05:50:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:50:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:50:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:50:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:50:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:50:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:50:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:50:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:50:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:50:17] Production.INFO: ==16722== Releasing lock... [2025-03-09 05:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:50:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:50:17] Production.INFO: count ==546 [2025-03-09 05:50:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:50:05 - End Time 2025-03-09 06:50:05 [2025-03-09 05:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640155', 'tblTempUsageDetail_20' ) start [2025-03-09 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640155', 'tblTempUsageDetail_20' ) end [2025-03-09 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640155', 'tblTempVendorCDR_20' ) start [2025-03-09 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640155', 'tblTempVendorCDR_20' ) end [2025-03-09 05:50:18] Production.INFO: ProcessCDR(1,14640155,1,1,2) [2025-03-09 05:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640155', 'tblTempUsageDetail_20' ) start [2025-03-09 05:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640155', 'tblTempUsageDetail_20' ) end [2025-03-09 05:50:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:50:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:50:21] Production.INFO: ==16730== Releasing lock... [2025-03-09 05:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:50:21] Production.INFO: 33 MB #Memory Used# [2025-03-09 09:51:02] Production.INFO: ==16797== Lock acquired, processing the job... [2025-03-09 09:51:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:51:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:51:02] Production.INFO: neon service started [2025-03-09 09:51:02] Production.INFO: neon service started [2025-03-09 09:51:02] Production.INFO: ==16797== Releasing lock... [2025-03-09 09:51:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:51:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:51:02] Production.INFO: ==16799== Lock acquired, processing the job... [2025-03-09 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:51:02] Production.INFO: ==16799== Releasing lock... [2025-03-09 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:51:03] Production.INFO: ==16801== Lock acquired, processing the job... [2025-03-09 09:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:51:03] Production.INFO: ==16801== Releasing lock... [2025-03-09 09:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:51:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:51:03] Production.INFO: ==16803== Lock acquired, processing the job... [2025-03-09 05:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:51:03] Production.INFO: ==16807== Lock acquired, processing the job... [2025-03-09 05:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:51:03] Production.INFO: ==16811== Lock acquired, processing the job... [2025-03-09 05:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:51:03] Production.INFO: ==16805== Lock acquired, processing the job... [2025-03-09 05:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:51:04] Production.INFO: ==16809== Lock acquired, processing the job... [2025-03-09 05:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:51:04] Production.INFO: ==16813== Lock acquired, processing the job... [2025-03-09 05:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:51:04] Production.INFO: Account Balance Start. [2025-03-09 05:51:04] Production.INFO: CreateAllLog Start [2025-03-09 05:51:04] Production.INFO: 117 [2025-03-09 05:51:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:51:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:51:04] Production.ERROR: done [2025-03-09 05:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:51:04] Production.INFO: ==16805== Releasing lock... [2025-03-09 05:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:51:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:51:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 05:51:04] Production.INFO: Total Charge 0 [2025-03-09 05:51:04] Production.INFO: count ==13 [2025-03-09 05:51:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 05:51:04] Production.INFO: count ==21 [2025-03-09 05:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640159') start [2025-03-09 05:51:04] Production.ERROR: done [2025-03-09 05:51:04] Production.INFO: Account Balance End. [2025-03-09 05:51:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:51:04] Production.INFO: ==16809== Releasing lock... [2025-03-09 05:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640159') end [2025-03-09 05:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:51:04] Production.INFO: 1 [2025-03-09 05:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:51:04] Production.INFO: ==16813== Releasing lock... [2025-03-09 05:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:51:05 [end_date_ymd] => 2025-03-09 06:51:05 [RateCDR] => 1 ) [2025-03-09 05:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:51:05' and `end` < '2025-03-09 06:51:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:51:12] Production.ERROR: CronJobId end10 [2025-03-09 05:51:12] Production.INFO: ==16807== Releasing lock... [2025-03-09 05:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:51:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:51:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:51:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:51:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:51:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:51:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:51:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:51:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:51:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:51:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:51:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:51:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:51:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:51:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:51:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:51:14] Production.INFO: call_cost start [2025-03-09 05:51:14] Production.INFO: call_cost end [2025-03-09 05:51:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:51:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:51:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:51:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:51:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:51:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:51:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:51:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:51:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:51:15] Production.INFO: ==16803== Releasing lock... [2025-03-09 05:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:51:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:51:17] Production.INFO: count ==546 [2025-03-09 05:51:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:51:05 - End Time 2025-03-09 06:51:05 [2025-03-09 05:51:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640160', 'tblTempUsageDetail_20' ) start [2025-03-09 05:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640160', 'tblTempUsageDetail_20' ) end [2025-03-09 05:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640160', 'tblTempVendorCDR_20' ) start [2025-03-09 05:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640160', 'tblTempVendorCDR_20' ) end [2025-03-09 05:51:17] Production.INFO: ProcessCDR(1,14640160,1,1,2) [2025-03-09 05:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640160', 'tblTempUsageDetail_20' ) start [2025-03-09 05:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640160', 'tblTempUsageDetail_20' ) end [2025-03-09 05:51:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:51:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:51:20] Production.INFO: ==16811== Releasing lock... [2025-03-09 05:51:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:51:20] Production.INFO: 33 MB #Memory Used# [2025-03-09 09:52:01] Production.INFO: ==16872== Lock acquired, processing the job... [2025-03-09 09:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:52:01] Production.INFO: neon service started [2025-03-09 09:52:01] Production.INFO: neon service started [2025-03-09 09:52:01] Production.INFO: ==16872== Releasing lock... [2025-03-09 09:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:52:02] Production.INFO: ==16874== Lock acquired, processing the job... [2025-03-09 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:52:02] Production.INFO: ==16876== Lock acquired, processing the job... [2025-03-09 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 05:52:02] Production.INFO: ==16874== Releasing lock... [2025-03-09 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:52:02] Production.INFO: ==16876== Releasing lock... [2025-03-09 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:52:03] Production.INFO: ==16886== Lock acquired, processing the job... [2025-03-09 05:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:52:03] Production.INFO: ==16878== Lock acquired, processing the job... [2025-03-09 05:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:52:03] Production.INFO: ==16888== Lock acquired, processing the job... [2025-03-09 05:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:52:03] Production.INFO: ==16880== Lock acquired, processing the job... [2025-03-09 05:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:52:03] Production.INFO: ==16882== Lock acquired, processing the job... [2025-03-09 05:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:52:03] Production.INFO: ==16884== Lock acquired, processing the job... [2025-03-09 05:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:52:03] Production.ERROR: done [2025-03-09 05:52:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:52:03] Production.INFO: Account Balance Start. [2025-03-09 05:52:03] Production.INFO: CreateAllLog Start [2025-03-09 05:52:03] Production.INFO: 117 [2025-03-09 05:52:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:52:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:52:03] Production.INFO: Total Charge 0 [2025-03-09 05:52:04] Production.INFO: CreateAllLog End [2025-03-09 05:52:04] Production.INFO: count ==13 [2025-03-09 05:52:04] Production.ERROR: done [2025-03-09 05:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:52:04] Production.INFO: count ==21 [2025-03-09 05:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640162') start [2025-03-09 05:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640162') end [2025-03-09 05:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:52:04] Production.INFO: 1 [2025-03-09 05:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:52:04] Production.INFO: Account Balance End. [2025-03-09 05:52:04] Production.INFO: ==16888== Releasing lock... [2025-03-09 05:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:52:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:52:04] Production.INFO: ==16884== Releasing lock... [2025-03-09 05:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:52:04] Production.INFO: ==16880== Releasing lock... [2025-03-09 05:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:52:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:52:04 [end_date_ymd] => 2025-03-09 06:52:04 [RateCDR] => 1 ) [2025-03-09 05:52:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:52:04' and `end` < '2025-03-09 06:52:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:52:12] Production.ERROR: CronJobId end10 [2025-03-09 05:52:12] Production.INFO: ==16882== Releasing lock... [2025-03-09 05:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:52:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:52:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:52:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:52:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:52:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:52:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:52:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:52:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:52:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:52:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:52:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:52:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:52:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:52:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:52:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:52:15] Production.INFO: call_cost start [2025-03-09 05:52:15] Production.INFO: call_cost end [2025-03-09 05:52:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:52:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:52:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:52:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:52:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:52:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:52:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:52:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:52:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:52:16] Production.INFO: ==16878== Releasing lock... [2025-03-09 05:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:52:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:52:16] Production.INFO: count ==545 [2025-03-09 05:52:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:52:04 - End Time 2025-03-09 06:52:04 [2025-03-09 05:52:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640165', 'tblTempUsageDetail_20' ) start [2025-03-09 05:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640165', 'tblTempUsageDetail_20' ) end [2025-03-09 05:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640165', 'tblTempVendorCDR_20' ) start [2025-03-09 05:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640165', 'tblTempVendorCDR_20' ) end [2025-03-09 05:52:17] Production.INFO: ProcessCDR(1,14640165,1,1,2) [2025-03-09 05:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:52:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640165', 'tblTempUsageDetail_20' ) start [2025-03-09 05:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640165', 'tblTempUsageDetail_20' ) end [2025-03-09 05:52:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:52:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:52:20] Production.INFO: ==16886== Releasing lock... [2025-03-09 05:52:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:52:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 09:53:02] Production.INFO: ==16953== Lock acquired, processing the job... [2025-03-09 09:53:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:53:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:53:02] Production.INFO: neon service started [2025-03-09 09:53:02] Production.INFO: neon service started [2025-03-09 09:53:02] Production.INFO: ==16953== Releasing lock... [2025-03-09 09:53:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:53:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:53:02] Production.INFO: ==16955== Lock acquired, processing the job... [2025-03-09 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:53:02] Production.INFO: ==16955== Releasing lock... [2025-03-09 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:53:03] Production.INFO: ==16957== Lock acquired, processing the job... [2025-03-09 09:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:53:03] Production.INFO: ==16957== Releasing lock... [2025-03-09 09:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:53:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:53:03] Production.INFO: ==16965== Lock acquired, processing the job... [2025-03-09 05:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:53:03] Production.INFO: ==16967== Lock acquired, processing the job... [2025-03-09 05:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:53:04] Production.INFO: ==16959== Lock acquired, processing the job... [2025-03-09 05:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:53:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:53:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:53:04] Production.INFO: ==16961== Lock acquired, processing the job... [2025-03-09 05:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:53:04] Production.INFO: ==16963== Lock acquired, processing the job... [2025-03-09 05:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:53:04] Production.INFO: Account Balance Start. [2025-03-09 05:53:04] Production.INFO: CreateAllLog Start [2025-03-09 05:53:04] Production.INFO: 117 [2025-03-09 05:53:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:53:04] Production.INFO: ==16969== Lock acquired, processing the job... [2025-03-09 05:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:53:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:53:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:53:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:53:04] Production.INFO: Total Charge 0 [2025-03-09 05:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:53:04] Production.INFO: CreateAllLog End [2025-03-09 05:53:04] Production.INFO: count ==13 [2025-03-09 05:53:04] Production.ERROR: done [2025-03-09 05:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:53:04] Production.INFO: count ==21 [2025-03-09 05:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640169') start [2025-03-09 05:53:04] Production.INFO: ==16961== Releasing lock... [2025-03-09 05:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:53:04] Production.ERROR: done [2025-03-09 05:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640169') end [2025-03-09 05:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:53:04] Production.INFO: 1 [2025-03-09 05:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:53:04] Production.INFO: Account Balance End. [2025-03-09 05:53:04] Production.INFO: ==16969== Releasing lock... [2025-03-09 05:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:53:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:53:04] Production.INFO: ==16965== Releasing lock... [2025-03-09 05:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:53:05 [end_date_ymd] => 2025-03-09 06:53:05 [RateCDR] => 1 ) [2025-03-09 05:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:53:05' and `end` < '2025-03-09 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-09 05:53:13] Production.ERROR: CronJobId end10 [2025-03-09 05:53:13] Production.INFO: ==16963== Releasing lock... [2025-03-09 05:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:53:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:53:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:53:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:53:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:53:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:53:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:53:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:53:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:53:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:53:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:53:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:53:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:53:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:53:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:53:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:53:15] Production.INFO: call_cost start [2025-03-09 05:53:15] Production.INFO: call_cost end [2025-03-09 05:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:53:16] Production.INFO: ==16959== Releasing lock... [2025-03-09 05:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:53:17] Production.INFO: count ==545 [2025-03-09 05:53:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:53:05 - End Time 2025-03-09 06:53:05 [2025-03-09 05:53:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640170', 'tblTempUsageDetail_20' ) start [2025-03-09 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640170', 'tblTempUsageDetail_20' ) end [2025-03-09 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640170', 'tblTempVendorCDR_20' ) start [2025-03-09 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640170', 'tblTempVendorCDR_20' ) end [2025-03-09 05:53:18] Production.INFO: ProcessCDR(1,14640170,1,1,2) [2025-03-09 05:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640170', 'tblTempUsageDetail_20' ) start [2025-03-09 05:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640170', 'tblTempUsageDetail_20' ) end [2025-03-09 05:53:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:53:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:53:21] Production.INFO: ==16967== Releasing lock... [2025-03-09 05:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:53:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 09:54:01] Production.INFO: ==17025== Lock acquired, processing the job... [2025-03-09 09:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:54:01] Production.INFO: neon service started [2025-03-09 09:54:01] Production.INFO: neon service started [2025-03-09 09:54:01] Production.INFO: ==17025== Releasing lock... [2025-03-09 09:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:54:01] Production.INFO: ==17027== Lock acquired, processing the job... [2025-03-09 05:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:54:02] Production.INFO: ==17027== Releasing lock... [2025-03-09 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:54:02] Production.INFO: ==17029== Lock acquired, processing the job... [2025-03-09 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:54:02] Production.INFO: ==17029== Releasing lock... [2025-03-09 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:54:03] Production.INFO: ==17036== Lock acquired, processing the job... [2025-03-09 05:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:54:03] Production.INFO: ==17032== Lock acquired, processing the job... [2025-03-09 05:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:54:03] Production.INFO: ==17034== Lock acquired, processing the job... [2025-03-09 05:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:54:03] Production.INFO: ==17042== Lock acquired, processing the job... [2025-03-09 05:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:54:03] Production.INFO: ==17040== Lock acquired, processing the job... [2025-03-09 05:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:54:03] Production.INFO: ==17038== Lock acquired, processing the job... [2025-03-09 05:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:54:03] Production.INFO: count ==13 [2025-03-09 05:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:54:03] Production.INFO: count ==21 [2025-03-09 05:54:03] Production.INFO: Account Balance Start. [2025-03-09 05:54:03] Production.INFO: CreateAllLog Start [2025-03-09 05:54:03] Production.INFO: 117 [2025-03-09 05:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640173') start [2025-03-09 05:54:03] Production.INFO: ==17034== Releasing lock... [2025-03-09 05:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:54:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:54:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:54:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:54:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:54:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:54:03] Production.INFO: Total Charge 0 [2025-03-09 05:54:03] Production.INFO: CreateAllLog End [2025-03-09 05:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640173') end [2025-03-09 05:54:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:54:03] Production.INFO: 1 [2025-03-09 05:54:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:54:03] Production.ERROR: done [2025-03-09 05:54:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:54:04] Production.INFO: ==17042== Releasing lock... [2025-03-09 05:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:54:04] Production.ERROR: done [2025-03-09 05:54:04] Production.INFO: Account Balance End. [2025-03-09 05:54:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:54:04] Production.INFO: ==17038== Releasing lock... [2025-03-09 05:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:54:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:54:04 [end_date_ymd] => 2025-03-09 06:54:04 [RateCDR] => 1 ) [2025-03-09 05:54:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:54:04' and `end` < '2025-03-09 06:54:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:54:12] Production.ERROR: CronJobId end10 [2025-03-09 05:54:12] Production.INFO: ==17036== Releasing lock... [2025-03-09 05:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:54:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:54:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:54:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:54:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:54:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:54:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:54:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:54:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:54:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:54:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:54:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:54:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:54:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:54:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:54:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:54:15] Production.INFO: call_cost start [2025-03-09 05:54:15] Production.INFO: call_cost end [2025-03-09 05:54:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:54:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:54:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:54:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:54:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:54:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:54:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:54:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:54:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:54:15] Production.INFO: ==17032== Releasing lock... [2025-03-09 05:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:54:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:54:16] Production.INFO: count ==545 [2025-03-09 05:54:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:54:04 - End Time 2025-03-09 06:54:04 [2025-03-09 05:54:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640175', 'tblTempUsageDetail_20' ) start [2025-03-09 05:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640175', 'tblTempUsageDetail_20' ) end [2025-03-09 05:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640175', 'tblTempVendorCDR_20' ) start [2025-03-09 05:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640175', 'tblTempVendorCDR_20' ) end [2025-03-09 05:54:17] Production.INFO: ProcessCDR(1,14640175,1,1,2) [2025-03-09 05:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:54:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640175', 'tblTempUsageDetail_20' ) start [2025-03-09 05:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640175', 'tblTempUsageDetail_20' ) end [2025-03-09 05:54:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:54:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:54:20] Production.INFO: ==17040== Releasing lock... [2025-03-09 05:54:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:54:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 09:55:01] Production.INFO: ==17101== Lock acquired, processing the job... [2025-03-09 09:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:55:02] Production.INFO: neon service started [2025-03-09 09:55:02] Production.INFO: neon service started [2025-03-09 09:55:02] Production.INFO: ==17101== Releasing lock... [2025-03-09 09:55:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:55:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:55:02] Production.INFO: ==17105== Lock acquired, processing the job... [2025-03-09 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:55:02] Production.INFO: ==17105== Releasing lock... [2025-03-09 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:55:02] Production.INFO: ==17103== Lock acquired, processing the job... [2025-03-09 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:55:02] Production.INFO: ==17103== Releasing lock... [2025-03-09 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:55:03] Production.INFO: ==17109== Lock acquired, processing the job... [2025-03-09 05:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:55:03] Production.INFO: ==17115== Lock acquired, processing the job... [2025-03-09 05:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:55:03] Production.INFO: ==17107== Lock acquired, processing the job... [2025-03-09 05:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:55:03] Production.INFO: ==17113== Lock acquired, processing the job... [2025-03-09 05:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:55:03] Production.INFO: ==17111== Lock acquired, processing the job... [2025-03-09 05:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:55:04] Production.INFO: ==17109== Releasing lock... [2025-03-09 05:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:55:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:55:04] Production.INFO: ==17118== Lock acquired, processing the job... [2025-03-09 05:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:55:04] Production.INFO: Account Balance Start. [2025-03-09 05:55:04] Production.INFO: CreateAllLog Start [2025-03-09 05:55:04] Production.INFO: 117 [2025-03-09 05:55:04] Production.INFO: Date 2025-03-08 [2025-03-09 05:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:55:04] Production.INFO: Date 2025-03-09 [2025-03-09 05:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 05:55:04] Production.INFO: Total Charge 0 [2025-03-09 05:55:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 05:55:04] Production.ERROR: done [2025-03-09 05:55:04] Production.INFO: count ==13 [2025-03-09 05:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 05:55:04] Production.INFO: count ==21 [2025-03-09 05:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640179') start [2025-03-09 05:55:04] Production.ERROR: done [2025-03-09 05:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640179') end [2025-03-09 05:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:55:04] Production.INFO: 1 [2025-03-09 05:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:55:04] Production.INFO: Account Balance End. [2025-03-09 05:55:04] Production.INFO: ==17118== Releasing lock... [2025-03-09 05:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:55:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:55:04] Production.INFO: ==17113== Releasing lock... [2025-03-09 05:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:55:05 [end_date_ymd] => 2025-03-09 06:55:05 [RateCDR] => 1 ) [2025-03-09 05:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:55:05' and `end` < '2025-03-09 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-09 05:55:11] Production.ERROR: CronJobId end10 [2025-03-09 05:55:11] Production.INFO: ==17111== Releasing lock... [2025-03-09 05:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:55:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:55:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:55:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:55:15] Production.INFO: call_cost start [2025-03-09 05:55:15] Production.INFO: call_cost end [2025-03-09 05:55:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:55:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:55:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:55:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:55:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:55:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:55:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:55:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:55:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:55:16] Production.INFO: ==17107== Releasing lock... [2025-03-09 05:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:55:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:55:17] Production.INFO: count ==542 [2025-03-09 05:55:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:55:05 - End Time 2025-03-09 06:55:05 [2025-03-09 05:55:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640180', 'tblTempUsageDetail_20' ) start [2025-03-09 05:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640180', 'tblTempUsageDetail_20' ) end [2025-03-09 05:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640180', 'tblTempVendorCDR_20' ) start [2025-03-09 05:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640180', 'tblTempVendorCDR_20' ) end [2025-03-09 05:55:17] Production.INFO: ProcessCDR(1,14640180,1,1,2) [2025-03-09 05:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640180', 'tblTempUsageDetail_20' ) start [2025-03-09 05:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640180', 'tblTempUsageDetail_20' ) end [2025-03-09 05:55:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:55:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:55:21] Production.INFO: ==17115== Releasing lock... [2025-03-09 05:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:55:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 09:56:01] Production.INFO: ==17174== Lock acquired, processing the job... [2025-03-09 09:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:56:01] Production.INFO: neon service started [2025-03-09 09:56:01] Production.INFO: neon service started [2025-03-09 09:56:01] Production.INFO: ==17174== Releasing lock... [2025-03-09 09:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:56:01] Production.INFO: ==17176== Lock acquired, processing the job... [2025-03-09 05:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:56:02] Production.INFO: ==17176== Releasing lock... [2025-03-09 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:56:02] Production.INFO: ==17178== Lock acquired, processing the job... [2025-03-09 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:56:02] Production.INFO: ==17178== Releasing lock... [2025-03-09 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:56:03] Production.INFO: ==17187== Lock acquired, processing the job... [2025-03-09 05:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:56:03] Production.INFO: ==17191== Lock acquired, processing the job... [2025-03-09 05:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:56:03] Production.INFO: Account Balance Start. [2025-03-09 05:56:03] Production.INFO: CreateAllLog Start [2025-03-09 05:56:03] Production.INFO: 117 [2025-03-09 05:56:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:56:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:56:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:56:03] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 05:56:03] Production.INFO: Total Charge 0 [2025-03-09 05:56:03] Production.INFO: ==17183== Lock acquired, processing the job... [2025-03-09 05:56:03] Production.INFO: ==17181== Lock acquired, processing the job... [2025-03-09 05:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:56:03] Production.INFO: CreateAllLog End [2025-03-09 05:56:03] Production.INFO: count ==13 [2025-03-09 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-09 05:56:03] Production.INFO: ==17185== Lock acquired, processing the job... [2025-03-09 05:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:56:03] Production.INFO: count ==21 [2025-03-09 05:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640182') start [2025-03-09 05:56:03] Production.INFO: ==17189== Lock acquired, processing the job... [2025-03-09 05:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640182') end [2025-03-09 05:56:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:56:03] Production.INFO: 1 [2025-03-09 05:56:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:56:03] Production.INFO: Account Balance End. [2025-03-09 05:56:03] Production.INFO: ==17191== Releasing lock... [2025-03-09 05:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:56:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:56:03] Production.ERROR: CronJobId end 12 [2025-03-09 05:56:03] Production.INFO: ==17187== Releasing lock... [2025-03-09 05:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:56:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:56:04] Production.INFO: ==17183== Releasing lock... [2025-03-09 05:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:56:04] Production.ERROR: done [2025-03-09 05:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:56:04] Production.ERROR: done [2025-03-09 05:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:56:05 [end_date_ymd] => 2025-03-09 06:56:05 [RateCDR] => 1 ) [2025-03-09 05:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:56:05' and `end` < '2025-03-09 06:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:56:11] Production.ERROR: CronJobId end10 [2025-03-09 05:56:11] Production.INFO: ==17185== Releasing lock... [2025-03-09 05:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:56:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:56:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:56:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:56:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:56:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:56:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:56:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:56:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:56:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:56:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:56:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:56:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:56:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:56:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:56:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:56:14] Production.INFO: call_cost start [2025-03-09 05:56:14] Production.INFO: call_cost end [2025-03-09 05:56:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:56:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:56:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:56:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:56:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:56:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:56:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:56:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:56:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:56:15] Production.INFO: ==17181== Releasing lock... [2025-03-09 05:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:56:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:56:17] Production.INFO: count ==542 [2025-03-09 05:56:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:56:05 - End Time 2025-03-09 06:56:05 [2025-03-09 05:56:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640185', 'tblTempUsageDetail_20' ) start [2025-03-09 05:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640185', 'tblTempUsageDetail_20' ) end [2025-03-09 05:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640185', 'tblTempVendorCDR_20' ) start [2025-03-09 05:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640185', 'tblTempVendorCDR_20' ) end [2025-03-09 05:56:17] Production.INFO: ProcessCDR(1,14640185,1,1,2) [2025-03-09 05:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:56:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640185', 'tblTempUsageDetail_20' ) start [2025-03-09 05:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640185', 'tblTempUsageDetail_20' ) end [2025-03-09 05:56:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:56:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:56:20] Production.INFO: ==17189== Releasing lock... [2025-03-09 05:56:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:56:20] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 09:57:01] Production.INFO: ==17248== Lock acquired, processing the job... [2025-03-09 09:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:57:02] Production.INFO: neon service started [2025-03-09 09:57:02] Production.INFO: neon service started [2025-03-09 09:57:02] Production.INFO: ==17248== Releasing lock... [2025-03-09 09:57:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:57:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:57:02] Production.INFO: ==17250== Lock acquired, processing the job... [2025-03-09 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:57:02] Production.INFO: ==17250== Releasing lock... [2025-03-09 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:57:02] Production.INFO: ==17252== Lock acquired, processing the job... [2025-03-09 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:57:02] Production.INFO: ==17252== Releasing lock... [2025-03-09 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:57:03] Production.INFO: ==17255== Lock acquired, processing the job... [2025-03-09 05:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:57:03] Production.INFO: ==17261== Lock acquired, processing the job... [2025-03-09 05:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:57:03] Production.INFO: ==17257== Lock acquired, processing the job... [2025-03-09 05:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:57:03] Production.INFO: ==17259== Lock acquired, processing the job... [2025-03-09 05:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:57:03] Production.INFO: Account Balance Start. [2025-03-09 05:57:03] Production.INFO: CreateAllLog Start [2025-03-09 05:57:03] Production.INFO: 117 [2025-03-09 05:57:03] Production.INFO: ==17265== Lock acquired, processing the job... [2025-03-09 05:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:57:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:57:03] Production.INFO: ==17263== Lock acquired, processing the job... [2025-03-09 05:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:57:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:57:03] Production.INFO: Total Charge 0 [2025-03-09 05:57:03] Production.INFO: CreateAllLog End [2025-03-09 05:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:57:04] Production.INFO: count ==13 [2025-03-09 05:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:57:04] Production.INFO: count ==21 [2025-03-09 05:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640189') start [2025-03-09 05:57:04] Production.INFO: ==17257== Releasing lock... [2025-03-09 05:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:57:04] Production.ERROR: done [2025-03-09 05:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640189') end [2025-03-09 05:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:57:04] Production.INFO: 1 [2025-03-09 05:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:57:04] Production.INFO: Account Balance End. [2025-03-09 05:57:04] Production.ERROR: done [2025-03-09 05:57:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:57:04] Production.INFO: ==17265== Releasing lock... [2025-03-09 05:57:04] Production.INFO: ==17261== Releasing lock... [2025-03-09 05:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:57:05 [end_date_ymd] => 2025-03-09 06:57:05 [RateCDR] => 1 ) [2025-03-09 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-09 03:57:05' and `end` < '2025-03-09 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-09 05:57:11] Production.ERROR: CronJobId end10 [2025-03-09 05:57:11] Production.INFO: ==17259== Releasing lock... [2025-03-09 05:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:57:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:57:14] Production.INFO: call_cost start [2025-03-09 05:57:14] Production.INFO: call_cost end [2025-03-09 05:57:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:57:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:57:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:57:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:57:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:57:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:57:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:57:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:57:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:57:15] Production.INFO: ==17255== Releasing lock... [2025-03-09 05:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:57:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:57:17] Production.INFO: count ==542 [2025-03-09 05:57:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:57:05 - End Time 2025-03-09 06:57:05 [2025-03-09 05:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640190', 'tblTempUsageDetail_20' ) start [2025-03-09 05:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640190', 'tblTempUsageDetail_20' ) end [2025-03-09 05:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640190', 'tblTempVendorCDR_20' ) start [2025-03-09 05:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640190', 'tblTempVendorCDR_20' ) end [2025-03-09 05:57:17] Production.INFO: ProcessCDR(1,14640190,1,1,2) [2025-03-09 05:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640190', 'tblTempUsageDetail_20' ) start [2025-03-09 05:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640190', 'tblTempUsageDetail_20' ) end [2025-03-09 05:57:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:57:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:57:21] Production.INFO: ==17263== Releasing lock... [2025-03-09 05:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:57:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 09:58:01] Production.INFO: ==17323== Lock acquired, processing the job... [2025-03-09 09:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:58:01] Production.INFO: neon service started [2025-03-09 09:58:01] Production.INFO: neon service started [2025-03-09 09:58:01] Production.INFO: ==17323== Releasing lock... [2025-03-09 09:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:58:01] Production.INFO: ==17327== Lock acquired, processing the job... [2025-03-09 09:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:58:01] Production.INFO: ==17327== Releasing lock... [2025-03-09 09:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:58:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:58:02] Production.INFO: ==17325== Lock acquired, processing the job... [2025-03-09 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:58:02] Production.INFO: ==17325== Releasing lock... [2025-03-09 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 05:58:03] Production.INFO: ==17336== Lock acquired, processing the job... [2025-03-09 05:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:58:03] Production.INFO: ==17340== Lock acquired, processing the job... [2025-03-09 05:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:58:03] Production.INFO: Account Balance Start. [2025-03-09 05:58:03] Production.INFO: CreateAllLog Start [2025-03-09 05:58:03] Production.INFO: 117 [2025-03-09 05:58:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:58:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:58:03] Production.INFO: count ==13 [2025-03-09 05:58:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:58:03] Production.INFO: count ==21 [2025-03-09 05:58:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:58:03] Production.INFO: ==17330== Lock acquired, processing the job... [2025-03-09 05:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640192') start [2025-03-09 05:58:03] Production.INFO: ==17332== Lock acquired, processing the job... [2025-03-09 05:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:58:03] Production.INFO: Total Charge 0 [2025-03-09 05:58:03] Production.INFO: ==17334== Lock acquired, processing the job... [2025-03-09 05:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:58:03] Production.INFO: CreateAllLog End [2025-03-09 05:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:58:03] Production.INFO: ==17338== Lock acquired, processing the job... [2025-03-09 05:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640192') end [2025-03-09 05:58:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:58:03] Production.INFO: 1 [2025-03-09 05:58:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:58:03] Production.INFO: ==17340== Releasing lock... [2025-03-09 05:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:58:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:58:03] Production.INFO: Account Balance End. [2025-03-09 05:58:03] Production.ERROR: CronJobId end 12 [2025-03-09 05:58:03] Production.INFO: ==17336== Releasing lock... [2025-03-09 05:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:58:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:58:04] Production.ERROR: done [2025-03-09 05:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:58:04] Production.INFO: ==17332== Releasing lock... [2025-03-09 05:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:58:04] Production.ERROR: done [2025-03-09 05:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:58:05 [end_date_ymd] => 2025-03-09 06:58:05 [RateCDR] => 1 ) [2025-03-09 05:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:58:05' and `end` < '2025-03-09 06:58:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 05:58:11] Production.ERROR: CronJobId end10 [2025-03-09 05:58:11] Production.INFO: ==17334== Releasing lock... [2025-03-09 05:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:58:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:58:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:58:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:58:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:58:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:58:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:58:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:58:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:58:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:58:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:58:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:58:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:58:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:58:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:58:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:58:14] Production.INFO: call_cost start [2025-03-09 05:58:14] Production.INFO: call_cost end [2025-03-09 05:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:58:15] Production.INFO: ==17330== Releasing lock... [2025-03-09 05:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:58:17] Production.INFO: count ==542 [2025-03-09 05:58:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:58:05 - End Time 2025-03-09 06:58:05 [2025-03-09 05:58:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640195', 'tblTempUsageDetail_20' ) start [2025-03-09 05:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640195', 'tblTempUsageDetail_20' ) end [2025-03-09 05:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640195', 'tblTempVendorCDR_20' ) start [2025-03-09 05:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640195', 'tblTempVendorCDR_20' ) end [2025-03-09 05:58:17] Production.INFO: ProcessCDR(1,14640195,1,1,2) [2025-03-09 05:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:58:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640195', 'tblTempUsageDetail_20' ) start [2025-03-09 05:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640195', 'tblTempUsageDetail_20' ) end [2025-03-09 05:58:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:58:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:58:20] Production.INFO: ==17338== Releasing lock... [2025-03-09 05:58:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:58:20] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 09:59:01] Production.INFO: ==17399== Lock acquired, processing the job... [2025-03-09 09:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 09:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 09:59:01] Production.INFO: neon service started [2025-03-09 09:59:01] Production.INFO: neon service started [2025-03-09 09:59:01] Production.INFO: ==17399== Releasing lock... [2025-03-09 09:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 09:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 05:59:02] Production.INFO: ==17401== Lock acquired, processing the job... [2025-03-09 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 05:59:02] Production.INFO: ==17401== Releasing lock... [2025-03-09 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 05:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:59:02] Production.INFO: ==17403== Lock acquired, processing the job... [2025-03-09 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:59:02] Production.INFO: ==17403== Releasing lock... [2025-03-09 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 09:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 05:59:03] Production.INFO: ==17412== Lock acquired, processing the job... [2025-03-09 05:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 05:59:03] Production.INFO: ==17416== Lock acquired, processing the job... [2025-03-09 05:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 05:59:03] Production.INFO: ==17408== Lock acquired, processing the job... [2025-03-09 05:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 05:59:03] Production.INFO: ==17410== Lock acquired, processing the job... [2025-03-09 05:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 05:59:03] Production.INFO: Account Balance Start. [2025-03-09 05:59:03] Production.INFO: ==17406== Lock acquired, processing the job... [2025-03-09 05:59:03] Production.INFO: CreateAllLog Start [2025-03-09 05:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 05:59:03] Production.INFO: 117 [2025-03-09 05:59:03] Production.INFO: Date 2025-03-08 [2025-03-09 05:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:59:03] Production.INFO: Date 2025-03-09 [2025-03-09 05:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 05:59:03] Production.INFO: count ==13 [2025-03-09 05:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 05:59:03] Production.INFO: count ==21 [2025-03-09 05:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 05:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 05:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 05:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 05:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 05:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640197') start [2025-03-09 05:59:04] Production.INFO: Total Charge 0 [2025-03-09 05:59:04] Production.INFO: ==17414== Lock acquired, processing the job... [2025-03-09 05:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 05:59:04] Production.INFO: CreateAllLog End [2025-03-09 05:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640197') end [2025-03-09 05:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 05:59:04] Production.INFO: 1 [2025-03-09 05:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 05:59:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 05:59:04] Production.INFO: ==17416== Releasing lock... [2025-03-09 05:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 05:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 05:59:04] Production.INFO: ==17408== Releasing lock... [2025-03-09 05:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 05:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 05:59:04] Production.ERROR: done [2025-03-09 05:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 05:59:04] Production.INFO: Account Balance End. [2025-03-09 05:59:04] Production.ERROR: CronJobId end 12 [2025-03-09 05:59:04] Production.INFO: ==17412== Releasing lock... [2025-03-09 05:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 05:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 05:59:04] Production.ERROR: done [2025-03-09 05:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:59:05 [end_date_ymd] => 2025-03-09 06:59:05 [RateCDR] => 1 ) [2025-03-09 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-09 03:59:05' and `end` < '2025-03-09 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-09 05:59:11] Production.ERROR: CronJobId end10 [2025-03-09 05:59:11] Production.INFO: ==17410== Releasing lock... [2025-03-09 05:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 05:59:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 05:59:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 05:59:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 05:59:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 05:59:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 05:59:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 05:59:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 05:59:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 05:59:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 05:59:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 05:59:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 05:59:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 05:59:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 05:59:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 05:59:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 05:59:14] Production.INFO: call_cost start [2025-03-09 05:59:14] Production.INFO: call_cost end [2025-03-09 05:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 05:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 05:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 05:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 05:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 05:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 05:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 05:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 05:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 05:59:15] Production.INFO: ==17406== Releasing lock... [2025-03-09 05:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 05:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 05:59:17] Production.INFO: count ==542 [2025-03-09 05:59:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:59:05 - End Time 2025-03-09 06:59:05 [2025-03-09 05:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640200', 'tblTempUsageDetail_20' ) start [2025-03-09 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640200', 'tblTempUsageDetail_20' ) end [2025-03-09 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640200', 'tblTempVendorCDR_20' ) start [2025-03-09 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640200', 'tblTempVendorCDR_20' ) end [2025-03-09 05:59:17] Production.INFO: ProcessCDR(1,14640200,1,1,2) [2025-03-09 05:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 05:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 05:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640200', 'tblTempUsageDetail_20' ) start [2025-03-09 05:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640200', 'tblTempUsageDetail_20' ) end [2025-03-09 05:59:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 05:59:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 05:59:21] Production.INFO: ==17414== Releasing lock... [2025-03-09 05:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 05:59:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 10:00:01] Production.INFO: ==17475== Lock acquired, processing the job... [2025-03-09 10:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:00:01] Production.INFO: neon service started [2025-03-09 10:00:01] Production.INFO: neon service started [2025-03-09 10:00:01] Production.INFO: ==17475== Releasing lock... [2025-03-09 10:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:00:01] Production.INFO: ==17477== Lock acquired, processing the job... [2025-03-09 06:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:00:02] Production.INFO: ==17479== Lock acquired, processing the job... [2025-03-09 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:00:02] Production.INFO: ==17477== Releasing lock... [2025-03-09 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:00:02] Production.INFO: ==17479== Releasing lock... [2025-03-09 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:00:03] Production.INFO: ==17489== Lock acquired, processing the job... [2025-03-09 06:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:00:03] Production.INFO: ==17493== Lock acquired, processing the job... [2025-03-09 06:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 06:00:03] Production.INFO: ==17496== Lock acquired, processing the job... [2025-03-09 06:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:00:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:00:03] Production.INFO: Account Balance Start. [2025-03-09 06:00:03] Production.INFO: CreateAllLog Start [2025-03-09 06:00:03] Production.INFO: 117 [2025-03-09 06:00:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:00:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:00:03] Production.INFO: ==17481== Lock acquired, processing the job... [2025-03-09 06:00:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:00:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 06:00:03] Production.INFO: ==17485== Lock acquired, processing the job... [2025-03-09 06:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:00:03] Production.INFO: ==17483== Lock acquired, processing the job... [2025-03-09 06:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:00:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:00:03] Production.INFO: Total Charge 0 [2025-03-09 06:00:03] Production.INFO: CreateAllLog End [2025-03-09 06:00:03] Production.INFO: ==17487== Lock acquired, processing the job... [2025-03-09 06:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:00:04] Production.INFO: count ==13 [2025-03-09 06:00:04] Production.INFO: ==17491== Lock acquired, processing the job... [2025-03-09 06:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:00:04] Production.INFO: count ==21 [2025-03-09 06:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640202') start [2025-03-09 06:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 06:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 06:00:04] Production.ERROR: CronJob PID - 17483 [2025-03-09 06:00:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 06:00:04] Production.ERROR: CronJob ID - 5 [2025-03-09 06:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 06:00:00 [2025-03-09 06:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 06:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 06:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 06:00:04] Production.ERROR: CronJob PID - 17485 [2025-03-09 06:00:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 06:00:04] Production.ERROR: CronJob ID - 7 [2025-03-09 06:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 06:00:00 [2025-03-09 06:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 06:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 06:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 06:00:04] Production.ERROR: CronJob PID - 17487 [2025-03-09 06:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 06:00:04] Production.ERROR: CronJob ID - 10 [2025-03-09 06:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 06:00:00 [2025-03-09 06:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 06:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 06:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 06:00:04] Production.ERROR: CronJob PID - 17489 [2025-03-09 06:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 06:00:04] Production.ERROR: CronJob ID - 12 [2025-03-09 06:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 06:00:00 [2025-03-09 06:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 06:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 06:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 06:00:04] Production.ERROR: CronJob PID - 17493 [2025-03-09 06:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-09 06:00:04] Production.ERROR: CronJob ID - 17 [2025-03-09 06:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 06:00:00 [2025-03-09 06:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 06:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 06:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 06:00:04] Production.ERROR: CronJob PID - 17496 [2025-03-09 06:00:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 06:00:04] Production.ERROR: CronJob ID - 19 [2025-03-09 06:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 06:00:00 [2025-03-09 06:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 06:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 06:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 06:00:04] Production.INFO: ==17481== Releasing lock... [2025-03-09 06:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 06:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 06:00:04] Production.ERROR: done [2025-03-09 06:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:00:04] Production.INFO: Account Balance End. [2025-03-09 06:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640202') end [2025-03-09 06:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:00:04] Production.INFO: 1 [2025-03-09 06:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 06:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640205', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 06:00:04] Production.INFO: ==17496== Releasing lock... [2025-03-09 06:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:00:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:00:04] Production.INFO: ==17489== Releasing lock... [2025-03-09 06:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:00:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:00:04] Production.INFO: ==17485== Releasing lock... [2025-03-09 06:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:00:04] Production.ERROR: done [2025-03-09 06:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:00:04] Production.ERROR: done [2025-03-09 06:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:00:06 [end_date_ymd] => 2025-03-09 06:00:06 [RateCDR] => 1 ) [2025-03-09 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-09 03:00:06' and `end` < '2025-03-09 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-09 06:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640205', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 06:00:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 06:00:08] Production.INFO: ProcessCDR(1,14640205,1,1,2) [2025-03-09 06:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14640205,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14640205,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:00:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:00:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:00:08] Production.INFO: ==17493== Releasing lock... [2025-03-09 06:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 06:00:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 06:00:13] Production.ERROR: CronJobId end10 [2025-03-09 06:00:13] Production.INFO: ==17487== Releasing lock... [2025-03-09 06:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:00:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:00:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:00:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:00:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:00:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:00:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:00:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:00:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:00:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:00:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:00:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:00:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:00:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:00:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:00:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:00:15] Production.INFO: call_cost start [2025-03-09 06:00:15] Production.INFO: call_cost end [2025-03-09 06:00:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:00:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:00:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:00:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:00:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:00:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:00:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:00:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:00:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:00:16] Production.INFO: ==17483== Releasing lock... [2025-03-09 06:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:00:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:00:18] Production.INFO: count ==583 [2025-03-09 06:00:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:00:06 - End Time 2025-03-09 06:00:06 [2025-03-09 06:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640206', 'tblTempUsageDetail_20' ) start [2025-03-09 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640206', 'tblTempUsageDetail_20' ) end [2025-03-09 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640206', 'tblTempVendorCDR_20' ) start [2025-03-09 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640206', 'tblTempVendorCDR_20' ) end [2025-03-09 06:00:18] Production.INFO: ProcessCDR(1,14640206,1,1,2) [2025-03-09 06:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640206', 'tblTempUsageDetail_20' ) start [2025-03-09 06:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640206', 'tblTempUsageDetail_20' ) end [2025-03-09 06:00:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:00:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:00:21] Production.INFO: ==17491== Releasing lock... [2025-03-09 06:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:00:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 10:01:01] Production.INFO: ==17560== Lock acquired, processing the job... [2025-03-09 10:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:01:01] Production.INFO: neon service started [2025-03-09 10:01:02] Production.INFO: neon service started [2025-03-09 10:01:02] Production.INFO: ==17560== Releasing lock... [2025-03-09 10:01:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:01:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:01:02] Production.INFO: ==17567== Lock acquired, processing the job... [2025-03-09 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:01:02] Production.INFO: ==17569== Lock acquired, processing the job... [2025-03-09 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:01:02] Production.INFO: ==17569== Releasing lock... [2025-03-09 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:01:03] Production.INFO: ==17567== Releasing lock... [2025-03-09 06:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:01:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:01:03] Production.INFO: ==17572== Lock acquired, processing the job... [2025-03-09 06:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:01:03] Production.INFO: ==17574== Lock acquired, processing the job... [2025-03-09 06:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:01:04] Production.INFO: ==17580== Lock acquired, processing the job... [2025-03-09 06:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:01:04] Production.INFO: ==17576== Lock acquired, processing the job... [2025-03-09 06:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:01:04] Production.INFO: ==17574== Releasing lock... [2025-03-09 06:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:01:04] Production.INFO: ==17578== Lock acquired, processing the job... [2025-03-09 06:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:01:04] Production.INFO: ==17582== Lock acquired, processing the job... [2025-03-09 06:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:01:04] Production.ERROR: done [2025-03-09 06:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:01:04] Production.INFO: Account Balance Start. [2025-03-09 06:01:04] Production.INFO: CreateAllLog Start [2025-03-09 06:01:04] Production.INFO: 117 [2025-03-09 06:01:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:01:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:01:04] Production.ERROR: done [2025-03-09 06:01:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:01:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:01:04] Production.INFO: count ==13 [2025-03-09 06:01:04] Production.INFO: Total Charge 0 [2025-03-09 06:01:04] Production.INFO: CreateAllLog End [2025-03-09 06:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:01:04] Production.INFO: count ==21 [2025-03-09 06:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640209') start [2025-03-09 06:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640209') end [2025-03-09 06:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:01:04] Production.INFO: 1 [2025-03-09 06:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:01:04] Production.INFO: Account Balance End. [2025-03-09 06:01:04] Production.INFO: ==17582== Releasing lock... [2025-03-09 06:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:01:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:01:04] Production.INFO: ==17578== Releasing lock... [2025-03-09 06:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:01:05 [end_date_ymd] => 2025-03-09 06:01:05 [RateCDR] => 1 ) [2025-03-09 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-09 03:01:05' and `end` < '2025-03-09 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-09 06:01:11] Production.ERROR: CronJobId end10 [2025-03-09 06:01:11] Production.INFO: ==17576== Releasing lock... [2025-03-09 06:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:01:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:01:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:01:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:01:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:01:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:01:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:01:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:01:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:01:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:01:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:01:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:01:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:01:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:01:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:01:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:01:14] Production.INFO: call_cost start [2025-03-09 06:01:14] Production.INFO: call_cost end [2025-03-09 06:01:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:01:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:01:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:01:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:01:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:01:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:01:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:01:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:01:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:01:15] Production.INFO: ==17572== Releasing lock... [2025-03-09 06:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:01:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:01:17] Production.INFO: count ==580 [2025-03-09 06:01:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:01:05 - End Time 2025-03-09 06:01:05 [2025-03-09 06:01:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640211', 'tblTempUsageDetail_20' ) start [2025-03-09 06:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640211', 'tblTempUsageDetail_20' ) end [2025-03-09 06:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640211', 'tblTempVendorCDR_20' ) start [2025-03-09 06:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640211', 'tblTempVendorCDR_20' ) end [2025-03-09 06:01:17] Production.INFO: ProcessCDR(1,14640211,1,1,2) [2025-03-09 06:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640211', 'tblTempUsageDetail_20' ) start [2025-03-09 06:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640211', 'tblTempUsageDetail_20' ) end [2025-03-09 06:01:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:01:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:01:21] Production.INFO: ==17580== Releasing lock... [2025-03-09 06:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:01:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:02:01] Production.INFO: ==17639== Lock acquired, processing the job... [2025-03-09 10:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:02:01] Production.INFO: neon service started [2025-03-09 10:02:01] Production.INFO: neon service started [2025-03-09 10:02:01] Production.INFO: ==17639== Releasing lock... [2025-03-09 10:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:02:02] Production.INFO: ==17641== Lock acquired, processing the job... [2025-03-09 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:02:02] Production.INFO: ==17643== Lock acquired, processing the job... [2025-03-09 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:02:02] Production.INFO: ==17643== Releasing lock... [2025-03-09 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:02:02] Production.INFO: ==17641== Releasing lock... [2025-03-09 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:02:03] Production.INFO: ==17654== Lock acquired, processing the job... [2025-03-09 06:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:02:03] Production.INFO: ==17656== Lock acquired, processing the job... [2025-03-09 06:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:02:03] Production.INFO: ==17646== Lock acquired, processing the job... [2025-03-09 06:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:02:03] Production.INFO: ==17648== Lock acquired, processing the job... [2025-03-09 06:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:02:03] Production.INFO: ==17650== Lock acquired, processing the job... [2025-03-09 06:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:02:03] Production.INFO: ==17652== Lock acquired, processing the job... [2025-03-09 06:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:02:03] Production.INFO: count ==13 [2025-03-09 06:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:02:03] Production.INFO: count ==21 [2025-03-09 06:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640212') start [2025-03-09 06:02:04] Production.INFO: Account Balance Start. [2025-03-09 06:02:04] Production.INFO: CreateAllLog Start [2025-03-09 06:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:02:04] Production.INFO: 117 [2025-03-09 06:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640212') end [2025-03-09 06:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:02:04] Production.INFO: 1 [2025-03-09 06:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:02:04] Production.ERROR: done [2025-03-09 06:02:04] Production.INFO: ==17648== Releasing lock... [2025-03-09 06:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:02:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:02:04] Production.INFO: ==17656== Releasing lock... [2025-03-09 06:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:02:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:02:04] Production.INFO: Total Charge 0 [2025-03-09 06:02:04] Production.ERROR: done [2025-03-09 06:02:04] Production.INFO: CreateAllLog End [2025-03-09 06:02:04] Production.INFO: Account Balance End. [2025-03-09 06:02:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:02:04] Production.INFO: ==17652== Releasing lock... [2025-03-09 06:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:02:05 [end_date_ymd] => 2025-03-09 06:02:05 [RateCDR] => 1 ) [2025-03-09 06:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:02:05' and `end` < '2025-03-09 06:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:02:12] Production.ERROR: CronJobId end10 [2025-03-09 06:02:12] Production.INFO: ==17650== Releasing lock... [2025-03-09 06:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:02:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:02:15] Production.INFO: call_cost start [2025-03-09 06:02:15] Production.INFO: call_cost end [2025-03-09 06:02:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:02:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:02:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:02:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:02:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:02:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:02:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:02:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:02:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:02:16] Production.INFO: ==17646== Releasing lock... [2025-03-09 06:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:02:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:02:17] Production.INFO: count ==580 [2025-03-09 06:02:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:02:05 - End Time 2025-03-09 06:02:05 [2025-03-09 06:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640216', 'tblTempUsageDetail_20' ) start [2025-03-09 06:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640216', 'tblTempUsageDetail_20' ) end [2025-03-09 06:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640216', 'tblTempVendorCDR_20' ) start [2025-03-09 06:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640216', 'tblTempVendorCDR_20' ) end [2025-03-09 06:02:17] Production.INFO: ProcessCDR(1,14640216,1,1,2) [2025-03-09 06:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:02:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:02:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640216', 'tblTempUsageDetail_20' ) start [2025-03-09 06:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640216', 'tblTempUsageDetail_20' ) end [2025-03-09 06:02:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:02:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:02:21] Production.INFO: ==17654== Releasing lock... [2025-03-09 06:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:02:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:03:01] Production.INFO: ==17714== Lock acquired, processing the job... [2025-03-09 10:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:03:01] Production.INFO: neon service started [2025-03-09 10:03:01] Production.INFO: neon service started [2025-03-09 10:03:01] Production.INFO: ==17714== Releasing lock... [2025-03-09 10:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:03:02] Production.INFO: ==17718== Lock acquired, processing the job... [2025-03-09 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:03:02] Production.INFO: ==17718== Releasing lock... [2025-03-09 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:03:02] Production.INFO: 26 MB #Memory Used# [2025-03-09 06:03:02] Production.INFO: ==17716== Lock acquired, processing the job... [2025-03-09 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:03:02] Production.INFO: ==17716== Releasing lock... [2025-03-09 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:03:03] Production.INFO: ==17721== Lock acquired, processing the job... [2025-03-09 06:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:03:03] Production.INFO: ==17723== Lock acquired, processing the job... [2025-03-09 06:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:03:03] Production.INFO: ==17729== Lock acquired, processing the job... [2025-03-09 06:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:03:03] Production.INFO: ==17725== Lock acquired, processing the job... [2025-03-09 06:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:03:03] Production.INFO: ==17723== Releasing lock... [2025-03-09 06:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:03:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:03:03] Production.INFO: ==17731== Lock acquired, processing the job... [2025-03-09 06:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:03:04] Production.INFO: ==17727== Lock acquired, processing the job... [2025-03-09 06:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:03:04] Production.ERROR: done [2025-03-09 06:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:03:04] Production.INFO: Account Balance Start. [2025-03-09 06:03:04] Production.INFO: CreateAllLog Start [2025-03-09 06:03:04] Production.INFO: count ==13 [2025-03-09 06:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:03:04] Production.INFO: 117 [2025-03-09 06:03:04] Production.INFO: count ==21 [2025-03-09 06:03:04] Production.ERROR: done [2025-03-09 06:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640220') start [2025-03-09 06:03:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:03:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640220') end [2025-03-09 06:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:03:04] Production.INFO: 1 [2025-03-09 06:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:03:04] Production.INFO: ==17731== Releasing lock... [2025-03-09 06:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:03:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:03:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:03:04] Production.INFO: Total Charge 0 [2025-03-09 06:03:04] Production.INFO: CreateAllLog End [2025-03-09 06:03:04] Production.INFO: Account Balance End. [2025-03-09 06:03:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:03:04] Production.INFO: ==17727== Releasing lock... [2025-03-09 06:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:03:05 [end_date_ymd] => 2025-03-09 06:03:05 [RateCDR] => 1 ) [2025-03-09 06:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:03:05' and `end` < '2025-03-09 06:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:03:11] Production.ERROR: CronJobId end10 [2025-03-09 06:03:11] Production.INFO: ==17725== Releasing lock... [2025-03-09 06:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:03:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:03:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:03:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:03:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:03:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:03:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:03:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:03:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:03:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:03:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:03:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:03:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:03:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:03:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:03:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:03:13] Production.INFO: call_cost start [2025-03-09 06:03:13] Production.INFO: call_cost end [2025-03-09 06:03:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:03:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:03:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:03:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:03:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:03:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:03:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:03:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:03:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:03:14] Production.INFO: ==17721== Releasing lock... [2025-03-09 06:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:03:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:03:17] Production.INFO: count ==579 [2025-03-09 06:03:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:03:05 - End Time 2025-03-09 06:03:05 [2025-03-09 06:03:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640221', 'tblTempUsageDetail_20' ) start [2025-03-09 06:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640221', 'tblTempUsageDetail_20' ) end [2025-03-09 06:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640221', 'tblTempVendorCDR_20' ) start [2025-03-09 06:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640221', 'tblTempVendorCDR_20' ) end [2025-03-09 06:03:17] Production.INFO: ProcessCDR(1,14640221,1,1,2) [2025-03-09 06:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640221', 'tblTempUsageDetail_20' ) start [2025-03-09 06:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640221', 'tblTempUsageDetail_20' ) end [2025-03-09 06:03:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:03:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:03:21] Production.INFO: ==17729== Releasing lock... [2025-03-09 06:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:03:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:04:02] Production.INFO: ==17791== Lock acquired, processing the job... [2025-03-09 10:04:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:04:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:04:02] Production.INFO: neon service started [2025-03-09 10:04:02] Production.INFO: neon service started [2025-03-09 10:04:02] Production.INFO: ==17791== Releasing lock... [2025-03-09 10:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:04:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:04:02] Production.INFO: ==17793== Lock acquired, processing the job... [2025-03-09 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:04:03] Production.INFO: ==17793== Releasing lock... [2025-03-09 06:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:04:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:04:03] Production.INFO: ==17795== Lock acquired, processing the job... [2025-03-09 10:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:04:03] Production.INFO: ==17795== Releasing lock... [2025-03-09 10:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:04:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:04:04] Production.INFO: ==17804== Lock acquired, processing the job... [2025-03-09 06:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:04:04] Production.INFO: ==17806== Lock acquired, processing the job... [2025-03-09 06:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:04:04] Production.INFO: ==17798== Lock acquired, processing the job... [2025-03-09 06:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:04:04] Production.INFO: Account Balance Start. [2025-03-09 06:04:04] Production.INFO: CreateAllLog Start [2025-03-09 06:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:04:04] Production.INFO: 117 [2025-03-09 06:04:04] Production.INFO: ==17802== Lock acquired, processing the job... [2025-03-09 06:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:04:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:04:04] Production.INFO: ==17800== Lock acquired, processing the job... [2025-03-09 06:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:04:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:04:04] Production.INFO: Total Charge 0 [2025-03-09 06:04:04] Production.INFO: CreateAllLog End [2025-03-09 06:04:04] Production.INFO: ==17808== Lock acquired, processing the job... [2025-03-09 06:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:04:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:04:04] Production.INFO: count ==13 [2025-03-09 06:04:04] Production.ERROR: done [2025-03-09 06:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:04:04] Production.INFO: ==17800== Releasing lock... [2025-03-09 06:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:04:04] Production.INFO: Account Balance End. [2025-03-09 06:04:04] Production.INFO: count ==21 [2025-03-09 06:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640225') start [2025-03-09 06:04:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:04:04] Production.INFO: ==17804== Releasing lock... [2025-03-09 06:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:04:04] Production.ERROR: done [2025-03-09 06:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640225') end [2025-03-09 06:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:04:04] Production.INFO: 1 [2025-03-09 06:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:04:05] Production.INFO: ==17808== Releasing lock... [2025-03-09 06:04:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:04:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:04:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:04:06 [end_date_ymd] => 2025-03-09 06:04:06 [RateCDR] => 1 ) [2025-03-09 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-09 03:04:06' and `end` < '2025-03-09 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-09 06:04:12] Production.ERROR: CronJobId end10 [2025-03-09 06:04:12] Production.INFO: ==17802== Releasing lock... [2025-03-09 06:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:04:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:04:15] Production.INFO: call_cost start [2025-03-09 06:04:15] Production.INFO: call_cost end [2025-03-09 06:04:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:04:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:04:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:04:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:04:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:04:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:04:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:04:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:04:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:04:16] Production.INFO: ==17798== Releasing lock... [2025-03-09 06:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:04:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:04:18] Production.INFO: count ==581 [2025-03-09 06:04:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:04:06 - End Time 2025-03-09 06:04:06 [2025-03-09 06:04:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640226', 'tblTempUsageDetail_20' ) start [2025-03-09 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640226', 'tblTempUsageDetail_20' ) end [2025-03-09 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640226', 'tblTempVendorCDR_20' ) start [2025-03-09 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640226', 'tblTempVendorCDR_20' ) end [2025-03-09 06:04:18] Production.INFO: ProcessCDR(1,14640226,1,1,2) [2025-03-09 06:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640226', 'tblTempUsageDetail_20' ) start [2025-03-09 06:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640226', 'tblTempUsageDetail_20' ) end [2025-03-09 06:04:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:04:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:04:21] Production.INFO: ==17806== Releasing lock... [2025-03-09 06:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:04:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:05:01] Production.INFO: ==17864== Lock acquired, processing the job... [2025-03-09 10:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:05:01] Production.INFO: neon service started [2025-03-09 10:05:01] Production.INFO: neon service started [2025-03-09 10:05:01] Production.INFO: ==17864== Releasing lock... [2025-03-09 10:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:05:02] Production.INFO: ==17866== Lock acquired, processing the job... [2025-03-09 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:05:02] Production.INFO: ==17866== Releasing lock... [2025-03-09 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:05:02] Production.INFO: ==17868== Lock acquired, processing the job... [2025-03-09 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:05:02] Production.INFO: ==17868== Releasing lock... [2025-03-09 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:05:03] Production.INFO: ==17871== Lock acquired, processing the job... [2025-03-09 06:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:05:03] Production.INFO: ==17873== Lock acquired, processing the job... [2025-03-09 06:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:05:03] Production.INFO: ==17877== Lock acquired, processing the job... [2025-03-09 06:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:05:03] Production.INFO: ==17879== Lock acquired, processing the job... [2025-03-09 06:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:05:03] Production.INFO: ==17881== Lock acquired, processing the job... [2025-03-09 06:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:05:03] Production.INFO: Account Balance Start. [2025-03-09 06:05:03] Production.INFO: CreateAllLog Start [2025-03-09 06:05:03] Production.INFO: 117 [2025-03-09 06:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:05:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:05:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:05:03] Production.INFO: ==17875== Lock acquired, processing the job... [2025-03-09 06:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:05:03] Production.INFO: count ==13 [2025-03-09 06:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:05:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:05:03] Production.INFO: count ==21 [2025-03-09 06:05:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640230') start [2025-03-09 06:05:03] Production.INFO: Total Charge 0 [2025-03-09 06:05:03] Production.INFO: CreateAllLog End [2025-03-09 06:05:03] Production.INFO: ==17873== Releasing lock... [2025-03-09 06:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:05:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640230') end [2025-03-09 06:05:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:05:03] Production.INFO: 1 [2025-03-09 06:05:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:05:04] Production.INFO: ==17881== Releasing lock... [2025-03-09 06:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:05:04] Production.ERROR: done [2025-03-09 06:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:05:04] Production.ERROR: done [2025-03-09 06:05:04] Production.INFO: Account Balance End. [2025-03-09 06:05:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:05:04] Production.INFO: ==17877== Releasing lock... [2025-03-09 06:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:05:05 [end_date_ymd] => 2025-03-09 06:05:05 [RateCDR] => 1 ) [2025-03-09 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-09 03:05:05' and `end` < '2025-03-09 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-09 06:05:11] Production.ERROR: CronJobId end10 [2025-03-09 06:05:11] Production.INFO: ==17875== Releasing lock... [2025-03-09 06:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:05:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:05:14] Production.INFO: call_cost start [2025-03-09 06:05:14] Production.INFO: call_cost end [2025-03-09 06:05:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:05:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:05:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:05:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:05:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:05:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:05:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:05:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:05:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:05:15] Production.INFO: ==17871== Releasing lock... [2025-03-09 06:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:05:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:05:17] Production.INFO: count ==581 [2025-03-09 06:05:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:05:05 - End Time 2025-03-09 06:05:05 [2025-03-09 06:05:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640231', 'tblTempUsageDetail_20' ) start [2025-03-09 06:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640231', 'tblTempUsageDetail_20' ) end [2025-03-09 06:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640231', 'tblTempVendorCDR_20' ) start [2025-03-09 06:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640231', 'tblTempVendorCDR_20' ) end [2025-03-09 06:05:17] Production.INFO: ProcessCDR(1,14640231,1,1,2) [2025-03-09 06:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640231', 'tblTempUsageDetail_20' ) start [2025-03-09 06:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640231', 'tblTempUsageDetail_20' ) end [2025-03-09 06:05:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:05:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:05:20] Production.INFO: ==17879== Releasing lock... [2025-03-09 06:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:05:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:06:02] Production.INFO: ==17981== Lock acquired, processing the job... [2025-03-09 10:06:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:06:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:06:02] Production.INFO: neon service started [2025-03-09 10:06:02] Production.INFO: neon service started [2025-03-09 10:06:02] Production.INFO: ==17981== Releasing lock... [2025-03-09 10:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:06:02] Production.INFO: ==17983== Lock acquired, processing the job... [2025-03-09 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:06:02] Production.INFO: ==17985== Lock acquired, processing the job... [2025-03-09 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:06:02] Production.INFO: ==17985== Releasing lock... [2025-03-09 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:06:02] Production.INFO: ==17983== Releasing lock... [2025-03-09 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:06:03] Production.INFO: ==17988== Lock acquired, processing the job... [2025-03-09 06:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:06:03] Production.INFO: ==17992== Lock acquired, processing the job... [2025-03-09 06:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:06:03] Production.INFO: ==17990== Lock acquired, processing the job... [2025-03-09 06:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:06:04] Production.INFO: ==17990== Releasing lock... [2025-03-09 06:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:06:04] Production.INFO: ==17996== Lock acquired, processing the job... [2025-03-09 06:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:06:04] Production.INFO: ==17994== Lock acquired, processing the job... [2025-03-09 06:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:06:04] Production.INFO: ==17998== Lock acquired, processing the job... [2025-03-09 06:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:06:04] Production.INFO: Account Balance Start. [2025-03-09 06:06:04] Production.INFO: CreateAllLog Start [2025-03-09 06:06:04] Production.INFO: 117 [2025-03-09 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-09 06:06:04] Production.INFO: count ==13 [2025-03-09 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-09 06:06:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:06:04] Production.INFO: count ==21 [2025-03-09 06:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640235') start [2025-03-09 06:06:04] Production.ERROR: done [2025-03-09 06:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:06:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:06:04] Production.INFO: Total Charge 0 [2025-03-09 06:06:04] Production.INFO: CreateAllLog End [2025-03-09 06:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640235') end [2025-03-09 06:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:06:04] Production.INFO: 1 [2025-03-09 06:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:06:04] Production.ERROR: done [2025-03-09 06:06:04] Production.INFO: ==17998== Releasing lock... [2025-03-09 06:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:06:04] Production.INFO: Account Balance End. [2025-03-09 06:06:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:06:04] Production.INFO: ==17994== Releasing lock... [2025-03-09 06:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:06:05 [end_date_ymd] => 2025-03-09 06:06:05 [RateCDR] => 1 ) [2025-03-09 06:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:06:05' and `end` < '2025-03-09 06:06:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:06:12] Production.ERROR: CronJobId end10 [2025-03-09 06:06:12] Production.INFO: ==17992== Releasing lock... [2025-03-09 06:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:06:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:06:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:06:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:06:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:06:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:06:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:06:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:06:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:06:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:06:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:06:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:06:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:06:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:06:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:06:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:06:15] Production.INFO: call_cost start [2025-03-09 06:06:15] Production.INFO: call_cost end [2025-03-09 06:06:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:06:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:06:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:06:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:06:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:06:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:06:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:06:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:06:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:06:16] Production.INFO: ==17988== Releasing lock... [2025-03-09 06:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:06:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:06:18] Production.INFO: count ==578 [2025-03-09 06:06:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:06:05 - End Time 2025-03-09 06:06:05 [2025-03-09 06:06:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640236', 'tblTempUsageDetail_20' ) start [2025-03-09 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640236', 'tblTempUsageDetail_20' ) end [2025-03-09 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640236', 'tblTempVendorCDR_20' ) start [2025-03-09 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640236', 'tblTempVendorCDR_20' ) end [2025-03-09 06:06:18] Production.INFO: ProcessCDR(1,14640236,1,1,2) [2025-03-09 06:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640236', 'tblTempUsageDetail_20' ) start [2025-03-09 06:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640236', 'tblTempUsageDetail_20' ) end [2025-03-09 06:06:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:06:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:06:21] Production.INFO: ==17996== Releasing lock... [2025-03-09 06:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:06:21] Production.INFO: 33 MB #Memory Used# [2025-03-09 10:07:01] Production.INFO: ==18053== Lock acquired, processing the job... [2025-03-09 10:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:07:01] Production.INFO: neon service started [2025-03-09 10:07:01] Production.INFO: neon service started [2025-03-09 10:07:01] Production.INFO: ==18053== Releasing lock... [2025-03-09 10:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:07:02] Production.INFO: ==18055== Lock acquired, processing the job... [2025-03-09 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:07:02] Production.INFO: ==18057== Lock acquired, processing the job... [2025-03-09 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:07:02] Production.INFO: ==18057== Releasing lock... [2025-03-09 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:07:02] Production.INFO: ==18055== Releasing lock... [2025-03-09 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:07:03] Production.INFO: ==18066== Lock acquired, processing the job... [2025-03-09 06:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:07:03] Production.INFO: ==18070== Lock acquired, processing the job... [2025-03-09 06:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 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-09 06:07:03] Production.INFO: ==18060== Lock acquired, processing the job... [2025-03-09 06:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:07:03] Production.INFO: count ==13 [2025-03-09 06:07:03] Production.INFO: Account Balance Start. [2025-03-09 06:07:03] Production.INFO: CreateAllLog Start [2025-03-09 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-09 06:07:03] Production.INFO: count ==21 [2025-03-09 06:07:03] Production.INFO: ==18062== Lock acquired, processing the job... [2025-03-09 06:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:07:03] Production.INFO: 117 [2025-03-09 06:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640238') start [2025-03-09 06:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:07:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:07:03] Production.INFO: ==18064== Lock acquired, processing the job... [2025-03-09 06:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:07:03] Production.INFO: ==18068== Lock acquired, processing the job... [2025-03-09 06:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:07:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:07:03] Production.INFO: Total Charge 0 [2025-03-09 06:07:03] Production.INFO: CreateAllLog End [2025-03-09 06:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640238') end [2025-03-09 06:07:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:07:03] Production.INFO: 1 [2025-03-09 06:07:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:07:03] Production.INFO: ==18070== Releasing lock... [2025-03-09 06:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:07:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:07:04] Production.INFO: ==18062== Releasing lock... [2025-03-09 06:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:07:04] Production.ERROR: done [2025-03-09 06:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:07:04] Production.ERROR: done [2025-03-09 06:07:04] Production.INFO: Account Balance End. [2025-03-09 06:07:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:07:04] Production.INFO: ==18066== Releasing lock... [2025-03-09 06:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:07:05 [end_date_ymd] => 2025-03-09 06:07:05 [RateCDR] => 1 ) [2025-03-09 06:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:07:05' and `end` < '2025-03-09 06:07:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:07:11] Production.ERROR: CronJobId end10 [2025-03-09 06:07:11] Production.INFO: ==18064== Releasing lock... [2025-03-09 06:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:07:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:07:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:07:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:07:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:07:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:07:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:07:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:07:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:07:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:07:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:07:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:07:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:07:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:07:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:07:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:07:14] Production.INFO: call_cost start [2025-03-09 06:07:14] Production.INFO: call_cost end [2025-03-09 06:07:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:07:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:07:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:07:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:07:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:07:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:07:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:07:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:07:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:07:15] Production.INFO: ==18060== Releasing lock... [2025-03-09 06:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:07:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:07:17] Production.INFO: count ==578 [2025-03-09 06:07:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:07:05 - End Time 2025-03-09 06:07:05 [2025-03-09 06:07:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640241', 'tblTempUsageDetail_20' ) start [2025-03-09 06:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640241', 'tblTempUsageDetail_20' ) end [2025-03-09 06:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640241', 'tblTempVendorCDR_20' ) start [2025-03-09 06:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640241', 'tblTempVendorCDR_20' ) end [2025-03-09 06:07:18] Production.INFO: ProcessCDR(1,14640241,1,1,2) [2025-03-09 06:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640241', 'tblTempUsageDetail_20' ) start [2025-03-09 06:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640241', 'tblTempUsageDetail_20' ) end [2025-03-09 06:07:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:07:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:07:21] Production.INFO: ==18068== Releasing lock... [2025-03-09 06:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:07:21] Production.INFO: 33 MB #Memory Used# [2025-03-09 10:08:02] Production.INFO: ==18133== Lock acquired, processing the job... [2025-03-09 10:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:08:02] Production.INFO: neon service started [2025-03-09 10:08:02] Production.INFO: neon service started [2025-03-09 10:08:02] Production.INFO: ==18133== Releasing lock... [2025-03-09 10:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:08:02] Production.INFO: ==18135== Lock acquired, processing the job... [2025-03-09 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:08:02] Production.INFO: ==18135== Releasing lock... [2025-03-09 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:08:03] Production.INFO: ==18137== Lock acquired, processing the job... [2025-03-09 10:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:08:03] Production.INFO: ==18137== Releasing lock... [2025-03-09 10:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:08:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:08:03] Production.INFO: ==18139== Lock acquired, processing the job... [2025-03-09 06:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:08:03] Production.INFO: ==18141== Lock acquired, processing the job... [2025-03-09 06:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:08:03] Production.INFO: ==18145== Lock acquired, processing the job... [2025-03-09 06:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:08:03] Production.INFO: ==18147== Lock acquired, processing the job... [2025-03-09 06:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:08:03] Production.INFO: ==18143== Lock acquired, processing the job... [2025-03-09 06:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:08:03] Production.INFO: Account Balance Start. [2025-03-09 06:08:03] Production.INFO: CreateAllLog Start [2025-03-09 06:08:03] Production.INFO: 117 [2025-03-09 06:08:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:08:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:08:03] Production.INFO: ==18149== Lock acquired, processing the job... [2025-03-09 06:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:08:04] Production.INFO: ==18141== Releasing lock... [2025-03-09 06:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:08:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:08:04] Production.INFO: Total Charge 0 [2025-03-09 06:08:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 06:08:04] Production.INFO: count ==13 [2025-03-09 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-09 06:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:08:04] Production.INFO: count ==21 [2025-03-09 06:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640245') start [2025-03-09 06:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:08:04] Production.ERROR: done [2025-03-09 06:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640245') end [2025-03-09 06:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:08:04] Production.INFO: 1 [2025-03-09 06:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:08:04] Production.INFO: ==18149== Releasing lock... [2025-03-09 06:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:08:04] Production.ERROR: done [2025-03-09 06:08:04] Production.INFO: Account Balance End. [2025-03-09 06:08:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:08:04] Production.INFO: ==18145== Releasing lock... [2025-03-09 06:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:08:05 [end_date_ymd] => 2025-03-09 06:08:05 [RateCDR] => 1 ) [2025-03-09 06:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:08:05' and `end` < '2025-03-09 06:08:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:08:12] Production.ERROR: CronJobId end10 [2025-03-09 06:08:12] Production.INFO: ==18143== Releasing lock... [2025-03-09 06:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:08:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:08:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:08:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:08:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:08:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:08:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:08:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:08:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:08:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:08:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:08:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:08:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:08:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:08:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:08:14] Production.INFO: call_cost start [2025-03-09 06:08:14] Production.INFO: call_cost end [2025-03-09 06:08:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:08:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:08:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:08:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:08:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:08:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:08:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:08:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:08:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:08:15] Production.INFO: ==18139== Releasing lock... [2025-03-09 06:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:08:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:08:17] Production.INFO: count ==577 [2025-03-09 06:08:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:08:05 - End Time 2025-03-09 06:08:05 [2025-03-09 06:08:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640246', 'tblTempUsageDetail_20' ) start [2025-03-09 06:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640246', 'tblTempUsageDetail_20' ) end [2025-03-09 06:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640246', 'tblTempVendorCDR_20' ) start [2025-03-09 06:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640246', 'tblTempVendorCDR_20' ) end [2025-03-09 06:08:17] Production.INFO: ProcessCDR(1,14640246,1,1,2) [2025-03-09 06:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640246', 'tblTempUsageDetail_20' ) start [2025-03-09 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640246', 'tblTempUsageDetail_20' ) end [2025-03-09 06:08:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:08:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:08:21] Production.INFO: ==18147== Releasing lock... [2025-03-09 06:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:08:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 10:09:01] Production.INFO: ==18207== Lock acquired, processing the job... [2025-03-09 10:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:09:01] Production.INFO: neon service started [2025-03-09 10:09:01] Production.INFO: neon service started [2025-03-09 10:09:01] Production.INFO: ==18207== Releasing lock... [2025-03-09 10:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:09:01] Production.INFO: ==18212== Lock acquired, processing the job... [2025-03-09 10:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:09:01] Production.INFO: ==18212== Releasing lock... [2025-03-09 10:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:09:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:09:02] Production.INFO: ==18210== Lock acquired, processing the job... [2025-03-09 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:09:02] Production.INFO: ==18210== Releasing lock... [2025-03-09 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:09:03] Production.INFO: ==18217== Lock acquired, processing the job... [2025-03-09 06:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:09:03] Production.INFO: ==18219== Lock acquired, processing the job... [2025-03-09 06:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:09:03] Production.INFO: ==18223== Lock acquired, processing the job... [2025-03-09 06:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:09:03] Production.INFO: ==18215== Lock acquired, processing the job... [2025-03-09 06:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:09:03] Production.INFO: ==18217== Releasing lock... [2025-03-09 06:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:09:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:09:03] Production.INFO: ==18221== Lock acquired, processing the job... [2025-03-09 06:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:09:03] Production.INFO: ==18225== Lock acquired, processing the job... [2025-03-09 06:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:09:03] Production.ERROR: done [2025-03-09 06:09:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:09:03] Production.INFO: Account Balance Start. [2025-03-09 06:09:03] Production.INFO: CreateAllLog Start [2025-03-09 06:09:03] Production.INFO: 117 [2025-03-09 06:09:03] Production.INFO: Date 2025-03-08 [2025-03-09 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-09 06:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:09:03] Production.INFO: count ==13 [2025-03-09 06:09:03] Production.INFO: Date 2025-03-09 [2025-03-09 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-09 06:09:03] Production.INFO: count ==21 [2025-03-09 06:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640249') start [2025-03-09 06:09:03] Production.ERROR: done [2025-03-09 06:09:03] Production.INFO: Total Charge 0 [2025-03-09 06:09:03] Production.INFO: CreateAllLog End [2025-03-09 06:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640249') end [2025-03-09 06:09:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:09:03] Production.INFO: 1 [2025-03-09 06:09:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:09:04] Production.INFO: ==18225== Releasing lock... [2025-03-09 06:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:09:04] Production.INFO: Account Balance End. [2025-03-09 06:09:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:09:04] Production.INFO: ==18221== Releasing lock... [2025-03-09 06:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:09:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:09:04 [end_date_ymd] => 2025-03-09 06:09:04 [RateCDR] => 1 ) [2025-03-09 06:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:09:04' and `end` < '2025-03-09 06:09:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:09:11] Production.ERROR: CronJobId end10 [2025-03-09 06:09:11] Production.INFO: ==18219== Releasing lock... [2025-03-09 06:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:09:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:09:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:09:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:09:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:09:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:09:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:09:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:09:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:09:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:09:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:09:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:09:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:09:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:09:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:09:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:09:13] Production.INFO: call_cost start [2025-03-09 06:09:13] Production.INFO: call_cost end [2025-03-09 06:09:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:09:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:09:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:09:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:09:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:09:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:09:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:09:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:09:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:09:14] Production.INFO: ==18215== Releasing lock... [2025-03-09 06:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:09:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:09:16] Production.INFO: count ==577 [2025-03-09 06:09:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:09:04 - End Time 2025-03-09 06:09:04 [2025-03-09 06:09:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640251', 'tblTempUsageDetail_20' ) start [2025-03-09 06:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640251', 'tblTempUsageDetail_20' ) end [2025-03-09 06:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640251', 'tblTempVendorCDR_20' ) start [2025-03-09 06:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640251', 'tblTempVendorCDR_20' ) end [2025-03-09 06:09:17] Production.INFO: ProcessCDR(1,14640251,1,1,2) [2025-03-09 06:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:09:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640251', 'tblTempUsageDetail_20' ) start [2025-03-09 06:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640251', 'tblTempUsageDetail_20' ) end [2025-03-09 06:09:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:09:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:09:20] Production.INFO: ==18223== Releasing lock... [2025-03-09 06:09:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:09:20] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 10:10:01] Production.INFO: ==18282== Lock acquired, processing the job... [2025-03-09 10:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:10:01] Production.INFO: neon service started [2025-03-09 10:10:01] Production.INFO: neon service started [2025-03-09 10:10:01] Production.INFO: ==18282== Releasing lock... [2025-03-09 10:10:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:10:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:10:02] Production.INFO: ==18284== Lock acquired, processing the job... [2025-03-09 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:10:02] Production.INFO: ==18286== Lock acquired, processing the job... [2025-03-09 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:10:02] Production.INFO: ==18286== Releasing lock... [2025-03-09 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:10:03] Production.INFO: ==18284== Releasing lock... [2025-03-09 06:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:10:04] Production.INFO: ==18291== Lock acquired, processing the job... [2025-03-09 06:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:10:04] Production.INFO: ==18295== Lock acquired, processing the job... [2025-03-09 06:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:10:04] Production.INFO: ==18297== Lock acquired, processing the job... [2025-03-09 06:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:10:04] Production.INFO: ==18301== Lock acquired, processing the job... [2025-03-09 06:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 06:10:04] Production.INFO: Account Balance Start. [2025-03-09 06:10:04] Production.INFO: CreateAllLog Start [2025-03-09 06:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:10:04] Production.INFO: 117 [2025-03-09 06:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:10:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:10:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:10:04] Production.INFO: ==18289== Lock acquired, processing the job... [2025-03-09 06:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 06:10:04] Production.INFO: Total Charge 0 [2025-03-09 06:10:04] Production.INFO: ==18293== Lock acquired, processing the job... [2025-03-09 06:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:10:04] Production.INFO: CreateAllLog End [2025-03-09 06:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 06:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 06:10:04] Production.ERROR: CronJob PID - 18291 [2025-03-09 06:10:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 06:10:04] Production.ERROR: CronJob ID - 5 [2025-03-09 06:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 06:10:00 [2025-03-09 06:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 06:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 06:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 06:10:04] Production.ERROR: CronJob PID - 18293 [2025-03-09 06:10:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 06:10:04] Production.INFO: ==18299== Lock acquired, processing the job... [2025-03-09 06:10:04] Production.ERROR: CronJob ID - 7 [2025-03-09 06:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 06:10:00 [2025-03-09 06:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 06:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 06:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 06:10:04] Production.ERROR: CronJob PID - 18295 [2025-03-09 06:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 06:10:04] Production.ERROR: CronJob ID - 10 [2025-03-09 06:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 06:10:00 [2025-03-09 06:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 06:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 06:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 06:10:04] Production.ERROR: CronJob PID - 18297 [2025-03-09 06:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 06:10:04] Production.ERROR: CronJob ID - 12 [2025-03-09 06:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 06:10:00 [2025-03-09 06:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 06:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 06:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 06:10:04] Production.ERROR: CronJob PID - 18301 [2025-03-09 06:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-09 06:10:04] Production.ERROR: CronJob ID - 17 [2025-03-09 06:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 06:10:00 [2025-03-09 06:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 06:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 06:10:04] Production.INFO: ==18303== Lock acquired, processing the job... [2025-03-09 06:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 06:10:04] Production.INFO: ==18289== Releasing lock... [2025-03-09 06:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 06:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 06:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:10:04] Production.ERROR: done [2025-03-09 06:10:04] Production.INFO: Account Balance End. [2025-03-09 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-09 06:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 06:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640255', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 06:10:04] Production.INFO: count ==13 [2025-03-09 06:10:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:10:04] Production.INFO: ==18297== Releasing lock... [2025-03-09 06:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:10:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:10:04] Production.INFO: count ==21 [2025-03-09 06:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14640256') start [2025-03-09 06:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14640256') end [2025-03-09 06:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:10:05] Production.INFO: 1 [2025-03-09 06:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:10:05] Production.INFO: ==18293== Releasing lock... [2025-03-09 06:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:10:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:10:05] Production.ERROR: done [2025-03-09 06:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:10:05] Production.INFO: ==18303== Releasing lock... [2025-03-09 06:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:10:05] Production.ERROR: done [2025-03-09 06:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:10:06 [end_date_ymd] => 2025-03-09 06:10:06 [RateCDR] => 1 ) [2025-03-09 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-09 03:10:06' and `end` < '2025-03-09 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-09 06:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640255', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 06:10:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 06:10:08] Production.INFO: ProcessCDR(1,14640255,1,1,2) [2025-03-09 06:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14640255,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14640255,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:10:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:10:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:10:09] Production.INFO: ==18301== Releasing lock... [2025-03-09 06:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 06:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 06:10:13] Production.ERROR: CronJobId end10 [2025-03-09 06:10:13] Production.INFO: ==18295== Releasing lock... [2025-03-09 06:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:10:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:10:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:10:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:10:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:10:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:10:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:10:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:10:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:10:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:10:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:10:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:10:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:10:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:10:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:10:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:10:16] Production.INFO: call_cost start [2025-03-09 06:10:16] Production.INFO: call_cost end [2025-03-09 06:10:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:10:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:10:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:10:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:10:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:10:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:10:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:10:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:10:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:10:17] Production.INFO: ==18291== Releasing lock... [2025-03-09 06:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:10:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:10:18] Production.INFO: count ==577 [2025-03-09 06:10:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:10:06 - End Time 2025-03-09 06:10:06 [2025-03-09 06:10:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640257', 'tblTempUsageDetail_20' ) start [2025-03-09 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640257', 'tblTempUsageDetail_20' ) end [2025-03-09 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640257', 'tblTempVendorCDR_20' ) start [2025-03-09 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640257', 'tblTempVendorCDR_20' ) end [2025-03-09 06:10:18] Production.INFO: ProcessCDR(1,14640257,1,1,2) [2025-03-09 06:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640257', 'tblTempUsageDetail_20' ) start [2025-03-09 06:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640257', 'tblTempUsageDetail_20' ) end [2025-03-09 06:10:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:10:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:10:22] Production.INFO: ==18299== Releasing lock... [2025-03-09 06:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:10:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 10:11:01] Production.INFO: ==18358== Lock acquired, processing the job... [2025-03-09 10:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:11:01] Production.INFO: neon service started [2025-03-09 10:11:01] Production.INFO: neon service started [2025-03-09 10:11:01] Production.INFO: ==18358== Releasing lock... [2025-03-09 10:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:11:01] Production.INFO: ==18360== Lock acquired, processing the job... [2025-03-09 06:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:11:02] Production.INFO: ==18360== Releasing lock... [2025-03-09 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:11:02] Production.INFO: ==18362== Lock acquired, processing the job... [2025-03-09 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:11:02] Production.INFO: ==18362== Releasing lock... [2025-03-09 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:11:02] Production.INFO: ==18370== Lock acquired, processing the job... [2025-03-09 06:11:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:11:02] Production.INFO: ==18372== Lock acquired, processing the job... [2025-03-09 06:11:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:11:02] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:11:03] Production.INFO: ==18364== Lock acquired, processing the job... [2025-03-09 06:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:11:03] Production.INFO: Account Balance Start. [2025-03-09 06:11:03] Production.INFO: CreateAllLog Start [2025-03-09 06:11:03] Production.INFO: 117 [2025-03-09 06:11:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:11:03] Production.INFO: ==18366== Lock acquired, processing the job... [2025-03-09 06:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:11:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:11:03] Production.INFO: ==18368== Lock acquired, processing the job... [2025-03-09 06:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:11:03] Production.INFO: Total Charge 0 [2025-03-09 06:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:11:03] Production.INFO: CreateAllLog End [2025-03-09 06:11:03] Production.INFO: ==18374== Lock acquired, processing the job... [2025-03-09 06:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:11:03] Production.ERROR: done [2025-03-09 06:11:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 06:11:03] Production.INFO: count ==13 [2025-03-09 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-09 06:11:03] Production.INFO: count ==21 [2025-03-09 06:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640261') start [2025-03-09 06:11:03] Production.INFO: Account Balance End. [2025-03-09 06:11:03] Production.INFO: ==18366== Releasing lock... [2025-03-09 06:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640261') end [2025-03-09 06:11:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:11:03] Production.INFO: 1 [2025-03-09 06:11:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:11:03] Production.ERROR: done [2025-03-09 06:11:03] Production.ERROR: CronJobId end 12 [2025-03-09 06:11:03] Production.INFO: ==18370== Releasing lock... [2025-03-09 06:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:11:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:11:03] Production.INFO: ==18374== Releasing lock... [2025-03-09 06:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:11:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:11:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:11:04 [end_date_ymd] => 2025-03-09 06:11:04 [RateCDR] => 1 ) [2025-03-09 06:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:11:04' and `end` < '2025-03-09 06:11:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:11:10] Production.ERROR: CronJobId end10 [2025-03-09 06:11:10] Production.INFO: ==18368== Releasing lock... [2025-03-09 06:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:11:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:11:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:11:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:11:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:11:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:11:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:11:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:11:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:11:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:11:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:11:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:11:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:11:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:11:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:11:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:11:12] Production.INFO: call_cost start [2025-03-09 06:11:12] Production.INFO: call_cost end [2025-03-09 06:11:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:11:13] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:11:13] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:11:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:11:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:11:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:11:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:11:13] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:11:13] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:11:13] Production.INFO: ==18364== Releasing lock... [2025-03-09 06:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:11:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:11:16] Production.INFO: count ==577 [2025-03-09 06:11:16] Production.ERROR: pbx CDR StartTime 2025-03-09 03:11:04 - End Time 2025-03-09 06:11:04 [2025-03-09 06:11:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:11:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640262', 'tblTempUsageDetail_20' ) start [2025-03-09 06:11:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640262', 'tblTempUsageDetail_20' ) end [2025-03-09 06:11:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640262', 'tblTempVendorCDR_20' ) start [2025-03-09 06:11:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640262', 'tblTempVendorCDR_20' ) end [2025-03-09 06:11:16] Production.INFO: ProcessCDR(1,14640262,1,1,2) [2025-03-09 06:11:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:11:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:11:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:11:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640262', 'tblTempUsageDetail_20' ) start [2025-03-09 06:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640262', 'tblTempUsageDetail_20' ) end [2025-03-09 06:11:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:11:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:11:20] Production.INFO: ==18372== Releasing lock... [2025-03-09 06:11:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:11:20] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 10:12:01] Production.INFO: ==18438== Lock acquired, processing the job... [2025-03-09 10:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:12:01] Production.INFO: neon service started [2025-03-09 10:12:01] Production.INFO: neon service started [2025-03-09 10:12:01] Production.INFO: ==18438== Releasing lock... [2025-03-09 10:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:12:02] Production.INFO: ==18440== Lock acquired, processing the job... [2025-03-09 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:12:02] Production.INFO: ==18440== Releasing lock... [2025-03-09 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:12:02] Production.INFO: ==18442== Lock acquired, processing the job... [2025-03-09 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:12:02] Production.INFO: ==18442== Releasing lock... [2025-03-09 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:12:03] Production.INFO: ==18451== Lock acquired, processing the job... [2025-03-09 06:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:12:03] Production.INFO: ==18455== Lock acquired, processing the job... [2025-03-09 06:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:12:03] Production.INFO: ==18445== Lock acquired, processing the job... [2025-03-09 06:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:12:03] Production.INFO: Account Balance Start. [2025-03-09 06:12:03] Production.INFO: CreateAllLog Start [2025-03-09 06:12:03] Production.INFO: 117 [2025-03-09 06:12:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:12:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:12:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:12:03] Production.INFO: ==18447== Lock acquired, processing the job... [2025-03-09 06:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:12:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:12:03] Production.INFO: Total Charge 0 [2025-03-09 06:12:03] Production.INFO: ==18449== Lock acquired, processing the job... [2025-03-09 06:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:12:03] Production.INFO: count ==13 [2025-03-09 06:12:03] Production.INFO: ==18453== Lock acquired, processing the job... [2025-03-09 06:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:12:03] Production.INFO: count ==21 [2025-03-09 06:12:03] Production.INFO: CreateAllLog End [2025-03-09 06:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640264') start [2025-03-09 06:12:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:12:03] Production.INFO: Account Balance End. [2025-03-09 06:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640264') end [2025-03-09 06:12:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:12:03] Production.INFO: 1 [2025-03-09 06:12:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:12:03] Production.ERROR: CronJobId end 12 [2025-03-09 06:12:03] Production.INFO: ==18451== Releasing lock... [2025-03-09 06:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:12:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:12:03] Production.INFO: ==18455== Releasing lock... [2025-03-09 06:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:12:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:12:04] Production.INFO: ==18447== Releasing lock... [2025-03-09 06:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:12:04] Production.ERROR: done [2025-03-09 06:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:12:04] Production.ERROR: done [2025-03-09 06:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:12:05 [end_date_ymd] => 2025-03-09 06:12:05 [RateCDR] => 1 ) [2025-03-09 06:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:12:05' and `end` < '2025-03-09 06:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:12:12] Production.ERROR: CronJobId end10 [2025-03-09 06:12:12] Production.INFO: ==18449== Releasing lock... [2025-03-09 06:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:12:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:12:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:12:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:12:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:12:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:12:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:12:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:12:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:12:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:12:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:12:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:12:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:12:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:12:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:12:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:12:13] Production.INFO: call_cost start [2025-03-09 06:12:13] Production.INFO: call_cost end [2025-03-09 06:12:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:12:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:12:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:12:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:12:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:12:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:12:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:12:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:12:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:12:14] Production.INFO: ==18445== Releasing lock... [2025-03-09 06:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:12:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:12:17] Production.INFO: count ==576 [2025-03-09 06:12:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:12:05 - End Time 2025-03-09 06:12:05 [2025-03-09 06:12:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640267', 'tblTempUsageDetail_20' ) start [2025-03-09 06:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640267', 'tblTempUsageDetail_20' ) end [2025-03-09 06:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640267', 'tblTempVendorCDR_20' ) start [2025-03-09 06:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640267', 'tblTempVendorCDR_20' ) end [2025-03-09 06:12:17] Production.INFO: ProcessCDR(1,14640267,1,1,2) [2025-03-09 06:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640267', 'tblTempUsageDetail_20' ) start [2025-03-09 06:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640267', 'tblTempUsageDetail_20' ) end [2025-03-09 06:12:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:12:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:12:21] Production.INFO: ==18453== Releasing lock... [2025-03-09 06:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:12:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 10:13:02] Production.INFO: ==18508== Lock acquired, processing the job... [2025-03-09 10:13:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:13:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:13:02] Production.INFO: neon service started [2025-03-09 10:13:02] Production.INFO: neon service started [2025-03-09 10:13:02] Production.INFO: ==18508== Releasing lock... [2025-03-09 10:13:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:13:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:13:02] Production.INFO: ==18510== Lock acquired, processing the job... [2025-03-09 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:13:03] Production.INFO: ==18512== Lock acquired, processing the job... [2025-03-09 10:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:13:03] Production.INFO: ==18512== Releasing lock... [2025-03-09 10:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:13:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:13:03] Production.INFO: ==18510== Releasing lock... [2025-03-09 06:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:13:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:13:04] Production.INFO: ==18523== Lock acquired, processing the job... [2025-03-09 06:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:13:04] Production.INFO: ==18525== Lock acquired, processing the job... [2025-03-09 06:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:13:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:13:04] Production.INFO: ==18515== Lock acquired, processing the job... [2025-03-09 06:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:13:04] Production.INFO: count ==13 [2025-03-09 06:13:04] Production.INFO: ==18517== Lock acquired, processing the job... [2025-03-09 06:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:13:04] Production.INFO: count ==21 [2025-03-09 06:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640268') start [2025-03-09 06:13:04] Production.INFO: ==18519== Lock acquired, processing the job... [2025-03-09 06:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:13:04] Production.INFO: ==18521== Lock acquired, processing the job... [2025-03-09 06:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:13:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:13:04] Production.INFO: Account Balance Start. [2025-03-09 06:13:04] Production.INFO: CreateAllLog Start [2025-03-09 06:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640268') end [2025-03-09 06:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:13:04] Production.INFO: 1 [2025-03-09 06:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:13:04] Production.INFO: 117 [2025-03-09 06:13:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:13:04] Production.INFO: ==18525== Releasing lock... [2025-03-09 06:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:13:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:13:05] Production.INFO: Date 2025-03-09 [2025-03-09 06:13:05] Production.INFO: Reseller ==> 0 [2025-03-09 06:13:05] Production.ERROR: done [2025-03-09 06:13:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:13:05] Production.INFO: Total Charge 0 [2025-03-09 06:13:05] Production.INFO: CreateAllLog End [2025-03-09 06:13:05] Production.INFO: ==18517== Releasing lock... [2025-03-09 06:13:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:13:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:13:05] Production.ERROR: done [2025-03-09 06:13:05] Production.INFO: Account Balance End. [2025-03-09 06:13:05] Production.ERROR: CronJobId end 12 [2025-03-09 06:13:05] Production.INFO: ==18521== Releasing lock... [2025-03-09 06:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:13:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:13:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:13:06 [end_date_ymd] => 2025-03-09 06:13:06 [RateCDR] => 1 ) [2025-03-09 06: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-09 03:13:06' and `end` < '2025-03-09 06: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-09 06:13:13] Production.ERROR: CronJobId end10 [2025-03-09 06:13:13] Production.INFO: ==18519== Releasing lock... [2025-03-09 06:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:13:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:13:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:13:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:13:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:13:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:13:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:13:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:13:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:13:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:13:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:13:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:13:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:13:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:13:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:13:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:13:15] Production.INFO: call_cost start [2025-03-09 06:13:15] Production.INFO: call_cost end [2025-03-09 06:13:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:13:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:13:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:13:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:13:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:13:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:13:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:13:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:13:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:13:16] Production.INFO: ==18515== Releasing lock... [2025-03-09 06:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:13:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:13:18] Production.INFO: count ==575 [2025-03-09 06:13:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:13:06 - End Time 2025-03-09 06:13:06 [2025-03-09 06:13:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640272', 'tblTempUsageDetail_20' ) start [2025-03-09 06:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640272', 'tblTempUsageDetail_20' ) end [2025-03-09 06:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640272', 'tblTempVendorCDR_20' ) start [2025-03-09 06:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640272', 'tblTempVendorCDR_20' ) end [2025-03-09 06:13:18] Production.INFO: ProcessCDR(1,14640272,1,1,2) [2025-03-09 06:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640272', 'tblTempUsageDetail_20' ) start [2025-03-09 06:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640272', 'tblTempUsageDetail_20' ) end [2025-03-09 06:13:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:13:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:13:21] Production.INFO: ==18523== Releasing lock... [2025-03-09 06:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:13:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:14:01] Production.INFO: ==18578== Lock acquired, processing the job... [2025-03-09 10:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:14:01] Production.INFO: neon service started [2025-03-09 10:14:01] Production.INFO: neon service started [2025-03-09 10:14:01] Production.INFO: ==18578== Releasing lock... [2025-03-09 10:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:14:02] Production.INFO: ==18580== Lock acquired, processing the job... [2025-03-09 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:14:02] Production.INFO: ==18580== Releasing lock... [2025-03-09 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:14:02] Production.INFO: ==18582== Lock acquired, processing the job... [2025-03-09 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:14:02] Production.INFO: ==18582== Releasing lock... [2025-03-09 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:14:03] Production.INFO: ==18585== Lock acquired, processing the job... [2025-03-09 06:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:14:03] Production.INFO: ==18593== Lock acquired, processing the job... [2025-03-09 06:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:14:03] Production.INFO: ==18595== Lock acquired, processing the job... [2025-03-09 06:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:14:03] Production.INFO: ==18587== Lock acquired, processing the job... [2025-03-09 06:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:14:03] Production.INFO: ==18589== Lock acquired, processing the job... [2025-03-09 06:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:14:03] Production.INFO: ==18591== Lock acquired, processing the job... [2025-03-09 06:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:14:03] Production.INFO: count ==13 [2025-03-09 06:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:14:03] Production.INFO: count ==21 [2025-03-09 06:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640274') start [2025-03-09 06:14:03] Production.INFO: Account Balance Start. [2025-03-09 06:14:03] Production.INFO: CreateAllLog Start [2025-03-09 06:14:03] Production.INFO: 117 [2025-03-09 06:14:03] Production.ERROR: done [2025-03-09 06:14:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:14:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640274') end [2025-03-09 06:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:14:04] Production.INFO: 1 [2025-03-09 06:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:14:04] Production.ERROR: done [2025-03-09 06:14:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:14:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:14:04] Production.INFO: ==18587== Releasing lock... [2025-03-09 06:14:04] Production.INFO: ==18595== Releasing lock... [2025-03-09 06:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:14:04] Production.INFO: Total Charge 0 [2025-03-09 06:14:04] Production.INFO: CreateAllLog End [2025-03-09 06:14:04] Production.INFO: Account Balance End. [2025-03-09 06:14:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:14:04] Production.INFO: ==18591== Releasing lock... [2025-03-09 06:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:14:05 [end_date_ymd] => 2025-03-09 06:14:05 [RateCDR] => 1 ) [2025-03-09 06:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:14:05' and `end` < '2025-03-09 06:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:14:10] Production.ERROR: CronJobId end10 [2025-03-09 06:14:10] Production.INFO: ==18589== Releasing lock... [2025-03-09 06:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:14:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:14:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:14:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:14:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:14:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:14:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:14:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:14:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:14:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:14:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:14:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:14:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:14:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:14:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:14:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:14:13] Production.INFO: call_cost start [2025-03-09 06:14:13] Production.INFO: call_cost end [2025-03-09 06:14:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:14:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:14:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:14:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:14:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:14:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:14:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:14:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:14:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:14:14] Production.INFO: ==18585== Releasing lock... [2025-03-09 06:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:14:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:14:17] Production.INFO: count ==575 [2025-03-09 06:14:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:14:05 - End Time 2025-03-09 06:14:05 [2025-03-09 06:14:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640277', 'tblTempUsageDetail_20' ) start [2025-03-09 06:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640277', 'tblTempUsageDetail_20' ) end [2025-03-09 06:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640277', 'tblTempVendorCDR_20' ) start [2025-03-09 06:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640277', 'tblTempVendorCDR_20' ) end [2025-03-09 06:14:17] Production.INFO: ProcessCDR(1,14640277,1,1,2) [2025-03-09 06:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:14:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640277', 'tblTempUsageDetail_20' ) start [2025-03-09 06:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640277', 'tblTempUsageDetail_20' ) end [2025-03-09 06:14:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:14:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:14:20] Production.INFO: ==18593== Releasing lock... [2025-03-09 06:14:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:14:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:15:02] Production.INFO: ==18649== Lock acquired, processing the job... [2025-03-09 10:15:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:15:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:15:02] Production.INFO: neon service started [2025-03-09 10:15:02] Production.INFO: neon service started [2025-03-09 10:15:02] Production.INFO: ==18649== Releasing lock... [2025-03-09 10:15:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:15:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:15:02] Production.INFO: ==18651== Lock acquired, processing the job... [2025-03-09 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:15:02] Production.INFO: ==18651== Releasing lock... [2025-03-09 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:15:02] Production.INFO: ==18653== Lock acquired, processing the job... [2025-03-09 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:15:03] Production.INFO: ==18653== Releasing lock... [2025-03-09 10:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:15:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:15:03] Production.INFO: ==18658== Lock acquired, processing the job... [2025-03-09 06:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:15:03] Production.INFO: ==18660== Lock acquired, processing the job... [2025-03-09 06:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:15:03] Production.INFO: ==18664== Lock acquired, processing the job... [2025-03-09 06:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:15:03] Production.INFO: ==18656== Lock acquired, processing the job... [2025-03-09 06:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:15:03] Production.INFO: ==18662== Lock acquired, processing the job... [2025-03-09 06:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:15:04] Production.INFO: ==18666== Lock acquired, processing the job... [2025-03-09 06:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:15:04] Production.INFO: ==18658== Releasing lock... [2025-03-09 06:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:15:04] Production.INFO: Account Balance Start. [2025-03-09 06:15:04] Production.INFO: CreateAllLog Start [2025-03-09 06:15:04] Production.INFO: 117 [2025-03-09 06:15:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:15:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:15:04] Production.INFO: count ==13 [2025-03-09 06:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:15:04] Production.INFO: count ==21 [2025-03-09 06:15:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:15:04] Production.ERROR: done [2025-03-09 06:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:15:04] Production.INFO: Total Charge 0 [2025-03-09 06:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640280') start [2025-03-09 06:15:04] Production.INFO: CreateAllLog End [2025-03-09 06:15:04] Production.ERROR: done [2025-03-09 06:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640280') end [2025-03-09 06:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:15:04] Production.INFO: 1 [2025-03-09 06:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:15:04] Production.INFO: ==18666== Releasing lock... [2025-03-09 06:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:15:04] Production.INFO: Account Balance End. [2025-03-09 06:15:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:15:04] Production.INFO: ==18662== Releasing lock... [2025-03-09 06:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:15:05 [end_date_ymd] => 2025-03-09 06:15:05 [RateCDR] => 1 ) [2025-03-09 06:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:15:05' and `end` < '2025-03-09 06:15:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:15:11] Production.ERROR: CronJobId end10 [2025-03-09 06:15:11] Production.INFO: ==18660== Releasing lock... [2025-03-09 06:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:15:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:15:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:15:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:15:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:15:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:15:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:15:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:15:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:15:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:15:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:15:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:15:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:15:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:15:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:15:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:15:13] Production.INFO: call_cost start [2025-03-09 06:15:13] Production.INFO: call_cost end [2025-03-09 06:15:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:15:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:15:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:15:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:15:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:15:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:15:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:15:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:15:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:15:14] Production.INFO: ==18656== Releasing lock... [2025-03-09 06:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:15:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:15:17] Production.INFO: count ==575 [2025-03-09 06:15:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:15:05 - End Time 2025-03-09 06:15:05 [2025-03-09 06:15:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640282', 'tblTempUsageDetail_20' ) start [2025-03-09 06:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640282', 'tblTempUsageDetail_20' ) end [2025-03-09 06:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640282', 'tblTempVendorCDR_20' ) start [2025-03-09 06:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640282', 'tblTempVendorCDR_20' ) end [2025-03-09 06:15:17] Production.INFO: ProcessCDR(1,14640282,1,1,2) [2025-03-09 06:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640282', 'tblTempUsageDetail_20' ) start [2025-03-09 06:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640282', 'tblTempUsageDetail_20' ) end [2025-03-09 06:15:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:15:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:15:21] Production.INFO: ==18664== Releasing lock... [2025-03-09 06:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:15:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:16:01] Production.INFO: ==18720== Lock acquired, processing the job... [2025-03-09 10:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:16:01] Production.INFO: neon service started [2025-03-09 10:16:01] Production.INFO: neon service started [2025-03-09 10:16:01] Production.INFO: ==18720== Releasing lock... [2025-03-09 10:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:16:01] Production.INFO: ==18724== Lock acquired, processing the job... [2025-03-09 10:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:16:02] Production.INFO: ==18724== Releasing lock... [2025-03-09 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:16:02] Production.INFO: ==18722== Lock acquired, processing the job... [2025-03-09 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:16:02] Production.INFO: ==18722== Releasing lock... [2025-03-09 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:16:03] Production.INFO: ==18731== Lock acquired, processing the job... [2025-03-09 06:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:16:03] Production.INFO: ==18727== Lock acquired, processing the job... [2025-03-09 06:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:16:03] Production.INFO: ==18737== Lock acquired, processing the job... [2025-03-09 06:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:16:03] Production.INFO: ==18729== Lock acquired, processing the job... [2025-03-09 06:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:16:03] Production.INFO: ==18733== Lock acquired, processing the job... [2025-03-09 06:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:16:03] Production.INFO: ==18735== Lock acquired, processing the job... [2025-03-09 06:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:16:03] Production.INFO: Account Balance Start. [2025-03-09 06:16:03] Production.INFO: CreateAllLog Start [2025-03-09 06:16:03] Production.INFO: 117 [2025-03-09 06:16:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:16:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:16:03] Production.INFO: count ==13 [2025-03-09 06:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:16:03] Production.INFO: count ==21 [2025-03-09 06:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640284') start [2025-03-09 06:16:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:16:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:16:04] Production.ERROR: done [2025-03-09 06:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640284') end [2025-03-09 06:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:16:04] Production.INFO: 1 [2025-03-09 06:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:16:04] Production.INFO: ==18729== Releasing lock... [2025-03-09 06:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:16:04] Production.INFO: Total Charge 0 [2025-03-09 06:16:04] Production.INFO: ==18737== Releasing lock... [2025-03-09 06:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:16:04] Production.ERROR: done [2025-03-09 06:16:04] Production.INFO: CreateAllLog End [2025-03-09 06:16:04] Production.INFO: Account Balance End. [2025-03-09 06:16:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:16:04] Production.INFO: ==18733== Releasing lock... [2025-03-09 06:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:16:05 [end_date_ymd] => 2025-03-09 06:16:05 [RateCDR] => 1 ) [2025-03-09 06:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:16:05' and `end` < '2025-03-09 06:16:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:16:12] Production.ERROR: CronJobId end10 [2025-03-09 06:16:12] Production.INFO: ==18731== Releasing lock... [2025-03-09 06:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:16:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:16:15] Production.INFO: call_cost start [2025-03-09 06:16:15] Production.INFO: call_cost end [2025-03-09 06:16:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:16:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:16:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:16:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:16:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:16:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:16:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:16:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:16:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:16:15] Production.INFO: ==18727== Releasing lock... [2025-03-09 06:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:16:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:16:17] Production.INFO: count ==575 [2025-03-09 06:16:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:16:05 - End Time 2025-03-09 06:16:05 [2025-03-09 06:16:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640287', 'tblTempUsageDetail_20' ) start [2025-03-09 06:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640287', 'tblTempUsageDetail_20' ) end [2025-03-09 06:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640287', 'tblTempVendorCDR_20' ) start [2025-03-09 06:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640287', 'tblTempVendorCDR_20' ) end [2025-03-09 06:16:17] Production.INFO: ProcessCDR(1,14640287,1,1,2) [2025-03-09 06:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:16:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640287', 'tblTempUsageDetail_20' ) start [2025-03-09 06:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640287', 'tblTempUsageDetail_20' ) end [2025-03-09 06:16:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:16:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:16:20] Production.INFO: ==18735== Releasing lock... [2025-03-09 06:16:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:16:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:17:01] Production.INFO: ==18793== Lock acquired, processing the job... [2025-03-09 10:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:17:01] Production.INFO: neon service started [2025-03-09 10:17:02] Production.INFO: neon service started [2025-03-09 10:17:02] Production.INFO: ==18793== Releasing lock... [2025-03-09 10:17:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:17:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:17:02] Production.INFO: ==18795== Lock acquired, processing the job... [2025-03-09 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:17:02] Production.INFO: ==18795== Releasing lock... [2025-03-09 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:17:02] Production.INFO: ==18797== Lock acquired, processing the job... [2025-03-09 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:17:02] Production.INFO: ==18797== Releasing lock... [2025-03-09 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:17:03] Production.INFO: ==18801== Lock acquired, processing the job... [2025-03-09 06:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:17:03] Production.INFO: ==18799== Lock acquired, processing the job... [2025-03-09 06:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:17:03] Production.INFO: ==18809== Lock acquired, processing the job... [2025-03-09 06:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:17:03] Production.INFO: ==18801== Releasing lock... [2025-03-09 06:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:17:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:17:03] Production.INFO: ==18803== Lock acquired, processing the job... [2025-03-09 06:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:17:03] Production.INFO: ==18805== Lock acquired, processing the job... [2025-03-09 06:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:17:03] Production.INFO: ==18807== Lock acquired, processing the job... [2025-03-09 06:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:17:04] Production.INFO: count ==13 [2025-03-09 06:17:04] Production.INFO: Account Balance Start. [2025-03-09 06:17:04] Production.INFO: CreateAllLog Start [2025-03-09 06:17:04] Production.INFO: 117 [2025-03-09 06:17:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:17:04] Production.INFO: count ==21 [2025-03-09 06:17:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640290') start [2025-03-09 06:17:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:17:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:17:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:17:04] Production.INFO: Total Charge 0 [2025-03-09 06:17:04] Production.INFO: CreateAllLog End [2025-03-09 06:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640290') end [2025-03-09 06:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:17:04] Production.INFO: 1 [2025-03-09 06:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:17:04] Production.INFO: ==18809== Releasing lock... [2025-03-09 06:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:17:04] Production.ERROR: done [2025-03-09 06:17:04] Production.INFO: Account Balance End. [2025-03-09 06:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:17:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:17:04] Production.INFO: ==18805== Releasing lock... [2025-03-09 06:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:17:04] Production.ERROR: done [2025-03-09 06:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:17:05 [end_date_ymd] => 2025-03-09 06:17:05 [RateCDR] => 1 ) [2025-03-09 06:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:17:05' and `end` < '2025-03-09 06:17:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:17:11] Production.ERROR: CronJobId end10 [2025-03-09 06:17:11] Production.INFO: ==18803== Releasing lock... [2025-03-09 06:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:17:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:17:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:17:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:17:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:17:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:17:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:17:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:17:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:17:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:17:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:17:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:17:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:17:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:17:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:17:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:17:14] Production.INFO: call_cost start [2025-03-09 06:17:14] Production.INFO: call_cost end [2025-03-09 06:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:17:15] Production.INFO: ==18799== Releasing lock... [2025-03-09 06:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:17:17] Production.INFO: count ==575 [2025-03-09 06:17:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:17:05 - End Time 2025-03-09 06:17:05 [2025-03-09 06:17:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640292', 'tblTempUsageDetail_20' ) start [2025-03-09 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640292', 'tblTempUsageDetail_20' ) end [2025-03-09 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640292', 'tblTempVendorCDR_20' ) start [2025-03-09 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640292', 'tblTempVendorCDR_20' ) end [2025-03-09 06:17:17] Production.INFO: ProcessCDR(1,14640292,1,1,2) [2025-03-09 06:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640292', 'tblTempUsageDetail_20' ) start [2025-03-09 06:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640292', 'tblTempUsageDetail_20' ) end [2025-03-09 06:17:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:17:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:17:21] Production.INFO: ==18807== Releasing lock... [2025-03-09 06:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:17:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:18:01] Production.INFO: ==18862== Lock acquired, processing the job... [2025-03-09 10:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:18:01] Production.INFO: neon service started [2025-03-09 10:18:01] Production.INFO: neon service started [2025-03-09 10:18:01] Production.INFO: ==18862== Releasing lock... [2025-03-09 10:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:18:01] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 06:18:01] Production.INFO: ==18864== Lock acquired, processing the job... [2025-03-09 06:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:18:02] Production.INFO: ==18866== Lock acquired, processing the job... [2025-03-09 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:18:02] Production.INFO: ==18866== Releasing lock... [2025-03-09 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:18:02] Production.INFO: ==18864== Releasing lock... [2025-03-09 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:18:03] Production.INFO: ==18868== Lock acquired, processing the job... [2025-03-09 06:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:18:03] Production.INFO: ==18877== Lock acquired, processing the job... [2025-03-09 06:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:18:03] Production.INFO: ==18871== Lock acquired, processing the job... [2025-03-09 06:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:18:03] Production.INFO: ==18873== Lock acquired, processing the job... [2025-03-09 06:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:18:03] Production.INFO: ==18875== Lock acquired, processing the job... [2025-03-09 06:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:18:03] Production.INFO: ==18879== Lock acquired, processing the job... [2025-03-09 06:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:18:03] Production.INFO: Account Balance Start. [2025-03-09 06:18:03] Production.INFO: CreateAllLog Start [2025-03-09 06:18:03] Production.INFO: 117 [2025-03-09 06:18:03] Production.INFO: count ==13 [2025-03-09 06:18:03] Production.ERROR: done [2025-03-09 06:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:18:03] Production.INFO: count ==21 [2025-03-09 06:18:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:18:03] Production.INFO: ==18871== Releasing lock... [2025-03-09 06:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:18:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:18:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640296') start [2025-03-09 06:18:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:18:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:18:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:18:03] Production.INFO: Total Charge 0 [2025-03-09 06:18:03] Production.INFO: CreateAllLog End [2025-03-09 06:18:03] Production.ERROR: done [2025-03-09 06:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640296') end [2025-03-09 06:18:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:18:03] Production.INFO: 1 [2025-03-09 06:18:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:18:04] Production.INFO: ==18879== Releasing lock... [2025-03-09 06:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:18:04] Production.INFO: Account Balance End. [2025-03-09 06:18:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:18:04] Production.INFO: ==18875== Releasing lock... [2025-03-09 06:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:18:05 [end_date_ymd] => 2025-03-09 06:18:05 [RateCDR] => 1 ) [2025-03-09 06:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:18:05' and `end` < '2025-03-09 06:18:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:18:10] Production.ERROR: CronJobId end10 [2025-03-09 06:18:10] Production.INFO: ==18873== Releasing lock... [2025-03-09 06:18:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:18:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:18:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:18:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:18:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:18:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:18:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:18:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:18:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:18:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:18:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:18:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:18:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:18:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:18:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:18:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:18:13] Production.INFO: call_cost start [2025-03-09 06:18:13] Production.INFO: call_cost end [2025-03-09 06:18:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:18:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:18:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:18:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:18:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:18:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:18:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:18:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:18:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:18:14] Production.INFO: ==18868== Releasing lock... [2025-03-09 06:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:18:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:18:17] Production.INFO: count ==575 [2025-03-09 06:18:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:18:05 - End Time 2025-03-09 06:18:05 [2025-03-09 06:18:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640297', 'tblTempUsageDetail_20' ) start [2025-03-09 06:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640297', 'tblTempUsageDetail_20' ) end [2025-03-09 06:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640297', 'tblTempVendorCDR_20' ) start [2025-03-09 06:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640297', 'tblTempVendorCDR_20' ) end [2025-03-09 06:18:17] Production.INFO: ProcessCDR(1,14640297,1,1,2) [2025-03-09 06:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640297', 'tblTempUsageDetail_20' ) start [2025-03-09 06:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640297', 'tblTempUsageDetail_20' ) end [2025-03-09 06:18:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:18:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:18:20] Production.INFO: ==18877== Releasing lock... [2025-03-09 06:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:18:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:19:01] Production.INFO: ==18934== Lock acquired, processing the job... [2025-03-09 10:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:19:01] Production.INFO: neon service started [2025-03-09 10:19:01] Production.INFO: neon service started [2025-03-09 10:19:01] Production.INFO: ==18934== Releasing lock... [2025-03-09 10:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:19:02] Production.INFO: ==18936== Lock acquired, processing the job... [2025-03-09 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:19:02] Production.INFO: ==18938== Lock acquired, processing the job... [2025-03-09 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:19:02] Production.INFO: ==18938== Releasing lock... [2025-03-09 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:19:03] Production.INFO: ==18936== Releasing lock... [2025-03-09 06:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:19:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:19:03] Production.INFO: ==18949== Lock acquired, processing the job... [2025-03-09 06:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:19:03] Production.INFO: ==18951== Lock acquired, processing the job... [2025-03-09 06:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:19:04] Production.INFO: ==18941== Lock acquired, processing the job... [2025-03-09 06:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:19:04] Production.INFO: ==18943== Lock acquired, processing the job... [2025-03-09 06:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:19:04] Production.INFO: count ==13 [2025-03-09 06:19:04] Production.INFO: ==18947== Lock acquired, processing the job... [2025-03-09 06:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:19:04] Production.ERROR: done [2025-03-09 06:19:04] Production.INFO: count ==21 [2025-03-09 06:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:19:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640298') start [2025-03-09 06:19:04] Production.INFO: ==18945== Lock acquired, processing the job... [2025-03-09 06:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:19:04] Production.INFO: Account Balance Start. [2025-03-09 06:19:04] Production.INFO: CreateAllLog Start [2025-03-09 06:19:04] Production.INFO: 117 [2025-03-09 06:19:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640298') end [2025-03-09 06:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:19:04] Production.INFO: 1 [2025-03-09 06:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:19:04] Production.INFO: ==18951== Releasing lock... [2025-03-09 06:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:19:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:19:04] Production.INFO: Total Charge 0 [2025-03-09 06:19:04] Production.ERROR: done [2025-03-09 06:19:04] Production.INFO: CreateAllLog End [2025-03-09 06:19:04] Production.INFO: ==18943== Releasing lock... [2025-03-09 06:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:19:04] Production.INFO: Account Balance End. [2025-03-09 06:19:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:19:04] Production.INFO: ==18947== Releasing lock... [2025-03-09 06:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:19:05 [end_date_ymd] => 2025-03-09 06:19:05 [RateCDR] => 1 ) [2025-03-09 06:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:19:05' and `end` < '2025-03-09 06:19:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:19:12] Production.ERROR: CronJobId end10 [2025-03-09 06:19:12] Production.INFO: ==18945== Releasing lock... [2025-03-09 06:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:19:14] Production.INFO: call_cost start [2025-03-09 06:19:14] Production.INFO: call_cost end [2025-03-09 06:19:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:19:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:19:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:19:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:19:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:19:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:19:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:19:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:19:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:19:15] Production.INFO: ==18941== Releasing lock... [2025-03-09 06:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:19:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:19:17] Production.INFO: count ==575 [2025-03-09 06:19:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:19:05 - End Time 2025-03-09 06:19:05 [2025-03-09 06:19:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640302', 'tblTempUsageDetail_20' ) start [2025-03-09 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640302', 'tblTempUsageDetail_20' ) end [2025-03-09 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640302', 'tblTempVendorCDR_20' ) start [2025-03-09 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640302', 'tblTempVendorCDR_20' ) end [2025-03-09 06:19:18] Production.INFO: ProcessCDR(1,14640302,1,1,2) [2025-03-09 06:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640302', 'tblTempUsageDetail_20' ) start [2025-03-09 06:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640302', 'tblTempUsageDetail_20' ) end [2025-03-09 06:19:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:19:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:19:21] Production.INFO: ==18949== Releasing lock... [2025-03-09 06:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:19:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:20:01] Production.INFO: ==19009== Lock acquired, processing the job... [2025-03-09 10:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:20:01] Production.INFO: neon service started [2025-03-09 10:20:01] Production.INFO: neon service started [2025-03-09 10:20:01] Production.INFO: ==19009== Releasing lock... [2025-03-09 10:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:20:01] Production.INFO: ==19011== Lock acquired, processing the job... [2025-03-09 06:20:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:20:02] Production.INFO: ==19013== Lock acquired, processing the job... [2025-03-09 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:20:02] Production.INFO: ==19011== Releasing lock... [2025-03-09 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:20:02] Production.INFO: ==19013== Releasing lock... [2025-03-09 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:20:03] Production.INFO: ==19020== Lock acquired, processing the job... [2025-03-09 06:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:20:03] Production.INFO: ==19016== Lock acquired, processing the job... [2025-03-09 06:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 06:20:03] Production.INFO: ==19018== Lock acquired, processing the job... [2025-03-09 06:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:20:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 06:20:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 06:20:03] Production.ERROR: CronJob PID - 19020 [2025-03-09 06:20:03] Production.ERROR: CronJob Title - Account Block [2025-03-09 06:20:03] Production.ERROR: CronJob ID - 7 [2025-03-09 06:20:03] Production.ERROR: CronJob Last Run Time 2025-03-09 06:20:00 [2025-03-09 06:20:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 06:20:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 06:20:03] Production.INFO: ==19026== Lock acquired, processing the job... [2025-03-09 06:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:20:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 06:20:03] Production.INFO: ==19016== Releasing lock... [2025-03-09 06:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 06:20:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 06:20:03] Production.INFO: ==19030== Lock acquired, processing the job... [2025-03-09 06:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:20:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:20:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:20:03] Production.INFO: ==19022== Lock acquired, processing the job... [2025-03-09 06:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06: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-09 06:20:03] Production.INFO: ==19024== Lock acquired, processing the job... [2025-03-09 06:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:20:03] Production.INFO: count ==13 [2025-03-09 06:20:03] Production.INFO: ==19028== Lock acquired, processing the job... [2025-03-09 06:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 06: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-09 06:20:03] Production.INFO: count ==21 [2025-03-09 06:20:03] Production.INFO: ==19020== Releasing lock... [2025-03-09 06:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:20:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:20:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640305') start [2025-03-09 06:20:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:20:03] Production.INFO: Account Balance Start. [2025-03-09 06:20:03] Production.INFO: CreateAllLog Start [2025-03-09 06:20:03] Production.INFO: 117 [2025-03-09 06:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:20:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:20:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640305') end [2025-03-09 06:20:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:20:03] Production.INFO: 1 [2025-03-09 06:20:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:20:04] Production.INFO: ==19030== Releasing lock... [2025-03-09 06:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:20:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:20:04] Production.ERROR: done [2025-03-09 06:20:04] Production.INFO: Total Charge 0 [2025-03-09 06:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:20:04] Production.INFO: CreateAllLog End [2025-03-09 06:20:04] Production.ERROR: done [2025-03-09 06:20:04] Production.ERROR: done [2025-03-09 06:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 06:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640307', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 06:20:04] Production.INFO: Account Balance End. [2025-03-09 06:20:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:20:04] Production.INFO: ==19024== Releasing lock... [2025-03-09 06:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:20:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:20:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:20:05 [end_date_ymd] => 2025-03-09 06:20:05 [RateCDR] => 1 ) [2025-03-09 06:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:20:05' and `end` < '2025-03-09 06:20:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640307', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 06:20:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 06:20:08] Production.INFO: ProcessCDR(1,14640307,1,1,2) [2025-03-09 06:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14640307,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14640307,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:20:09] Production.INFO: ==19028== Releasing lock... [2025-03-09 06:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 06:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 06:20:14] Production.ERROR: CronJobId end10 [2025-03-09 06:20:14] Production.INFO: ==19022== Releasing lock... [2025-03-09 06:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:20:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:20:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:20:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:20:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:20:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:20:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:20:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:20:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:20:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:20:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:20:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:20:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:20:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:20:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:20:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:20:16] Production.INFO: call_cost start [2025-03-09 06:20:16] Production.INFO: call_cost end [2025-03-09 06:20:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:20:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:20:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:20:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:20:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:20:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:20:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:20:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:20:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:20:17] Production.INFO: ==19018== Releasing lock... [2025-03-09 06:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:20:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:20:17] Production.INFO: count ==572 [2025-03-09 06:20:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:20:05 - End Time 2025-03-09 06:20:05 [2025-03-09 06:20:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:20:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640308', 'tblTempUsageDetail_20' ) start [2025-03-09 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640308', 'tblTempUsageDetail_20' ) end [2025-03-09 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640308', 'tblTempVendorCDR_20' ) start [2025-03-09 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640308', 'tblTempVendorCDR_20' ) end [2025-03-09 06:20:18] Production.INFO: ProcessCDR(1,14640308,1,1,2) [2025-03-09 06:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640308', 'tblTempUsageDetail_20' ) start [2025-03-09 06:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640308', 'tblTempUsageDetail_20' ) end [2025-03-09 06:20:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:20:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:20:21] Production.INFO: ==19026== Releasing lock... [2025-03-09 06:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:20:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 10:21:01] Production.INFO: ==19130== Lock acquired, processing the job... [2025-03-09 10:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:21:01] Production.INFO: neon service started [2025-03-09 10:21:01] Production.INFO: neon service started [2025-03-09 10:21:01] Production.INFO: ==19130== Releasing lock... [2025-03-09 10:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:21:02] Production.INFO: ==19135== Lock acquired, processing the job... [2025-03-09 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:21:02] Production.INFO: ==19135== Releasing lock... [2025-03-09 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:21:02] Production.INFO: ==19133== Lock acquired, processing the job... [2025-03-09 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:21:02] Production.INFO: ==19133== Releasing lock... [2025-03-09 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:21:03] Production.INFO: ==19137== Lock acquired, processing the job... [2025-03-09 06:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:21:03] Production.INFO: ==19139== Lock acquired, processing the job... [2025-03-09 06:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:21:03] Production.INFO: ==19145== Lock acquired, processing the job... [2025-03-09 06:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:21:03] Production.INFO: ==19139== Releasing lock... [2025-03-09 06:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:21:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:21:03] Production.INFO: ==19141== Lock acquired, processing the job... [2025-03-09 06:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:21:03] Production.INFO: ==19143== Lock acquired, processing the job... [2025-03-09 06:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:21:04] Production.ERROR: done [2025-03-09 06:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:21:04] Production.INFO: ==19147== Lock acquired, processing the job... [2025-03-09 06:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:21:04] Production.INFO: Account Balance Start. [2025-03-09 06:21:04] Production.INFO: CreateAllLog Start [2025-03-09 06:21:04] Production.INFO: 117 [2025-03-09 06:21:04] Production.ERROR: done [2025-03-09 06:21:04] Production.INFO: Date 2025-03-08 [2025-03-09 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-09 06:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:21:04] Production.INFO: count ==13 [2025-03-09 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-09 06:21:04] Production.INFO: count ==21 [2025-03-09 06:21:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640312') start [2025-03-09 06:21:04] Production.INFO: Total Charge 0 [2025-03-09 06:21:04] Production.INFO: CreateAllLog End [2025-03-09 06:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640312') end [2025-03-09 06:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:21:04] Production.INFO: 1 [2025-03-09 06:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:21:04] Production.INFO: Account Balance End. [2025-03-09 06:21:04] Production.INFO: ==19147== Releasing lock... [2025-03-09 06:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:21:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:21:04] Production.INFO: ==19143== Releasing lock... [2025-03-09 06:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:21:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:21:04 [end_date_ymd] => 2025-03-09 06:21:04 [RateCDR] => 1 ) [2025-03-09 06:21:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:21:04' and `end` < '2025-03-09 06:21:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:21:11] Production.ERROR: CronJobId end10 [2025-03-09 06:21:11] Production.INFO: ==19141== Releasing lock... [2025-03-09 06:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:21:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:21:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:21:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:21:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:21:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:21:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:21:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:21:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:21:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:21:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:21:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:21:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:21:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:21:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:21:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:21:13] Production.INFO: call_cost start [2025-03-09 06:21:13] Production.INFO: call_cost end [2025-03-09 06:21:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:21:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:21:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:21:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:21:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:21:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:21:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:21:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:21:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:21:14] Production.INFO: ==19137== Releasing lock... [2025-03-09 06:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:21:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:21:16] Production.INFO: count ==579 [2025-03-09 06:21:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:21:04 - End Time 2025-03-09 06:21:04 [2025-03-09 06:21:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640313', 'tblTempUsageDetail_20' ) start [2025-03-09 06:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640313', 'tblTempUsageDetail_20' ) end [2025-03-09 06:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640313', 'tblTempVendorCDR_20' ) start [2025-03-09 06:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640313', 'tblTempVendorCDR_20' ) end [2025-03-09 06:21:17] Production.INFO: ProcessCDR(1,14640313,1,1,2) [2025-03-09 06:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640313', 'tblTempUsageDetail_20' ) start [2025-03-09 06:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640313', 'tblTempUsageDetail_20' ) end [2025-03-09 06:21:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:21:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:21:20] Production.INFO: ==19145== Releasing lock... [2025-03-09 06:21:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:21:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:22:02] Production.INFO: ==19203== Lock acquired, processing the job... [2025-03-09 10:22:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:22:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:22:02] Production.INFO: neon service started [2025-03-09 10:22:02] Production.INFO: neon service started [2025-03-09 10:22:02] Production.INFO: ==19203== Releasing lock... [2025-03-09 10:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:22:02] Production.INFO: ==19205== Lock acquired, processing the job... [2025-03-09 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:22:02] Production.INFO: ==19205== Releasing lock... [2025-03-09 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:22:02] Production.INFO: ==19207== Lock acquired, processing the job... [2025-03-09 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:22:03] Production.INFO: ==19207== Releasing lock... [2025-03-09 10:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:22:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:22:03] Production.INFO: ==19211== Lock acquired, processing the job... [2025-03-09 06:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:22:03] Production.INFO: ==19216== Lock acquired, processing the job... [2025-03-09 06:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:22:03] Production.INFO: ==19218== Lock acquired, processing the job... [2025-03-09 06:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:22:03] Production.INFO: Account Balance Start. [2025-03-09 06:22:03] Production.INFO: CreateAllLog Start [2025-03-09 06:22:03] Production.INFO: 117 [2025-03-09 06:22:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:22:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:22:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:22:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:22:04] Production.INFO: Total Charge 0 [2025-03-09 06:22:04] Production.INFO: CreateAllLog End [2025-03-09 06:22:04] Production.INFO: ==19209== Lock acquired, processing the job... [2025-03-09 06:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:22:04] Production.INFO: ==19211== Releasing lock... [2025-03-09 06:22:04] Production.INFO: ==19214== Lock acquired, processing the job... [2025-03-09 06:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:22:04] Production.INFO: ==19220== Lock acquired, processing the job... [2025-03-09 06:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:22:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 06:22:04] Production.INFO: Account Balance End. [2025-03-09 06:22:04] Production.ERROR: done [2025-03-09 06:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:22:04] Production.INFO: count ==13 [2025-03-09 06:22:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:22:04] Production.INFO: ==19216== Releasing lock... [2025-03-09 06:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 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-09 06:22:04] Production.INFO: count ==21 [2025-03-09 06:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640317') start [2025-03-09 06:22:04] Production.ERROR: done [2025-03-09 06:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640317') end [2025-03-09 06:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:22:04] Production.INFO: 1 [2025-03-09 06:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:22:04] Production.INFO: ==19220== Releasing lock... [2025-03-09 06:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:22:05 [end_date_ymd] => 2025-03-09 06:22:05 [RateCDR] => 1 ) [2025-03-09 06:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:22:05' and `end` < '2025-03-09 06:22:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:22:11] Production.ERROR: CronJobId end10 [2025-03-09 06:22:11] Production.INFO: ==19214== Releasing lock... [2025-03-09 06:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:22:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:22:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:22:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:22:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:22:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:22:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:22:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:22:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:22:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:22:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:22:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:22:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:22:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:22:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:22:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:22:15] Production.INFO: call_cost start [2025-03-09 06:22:15] Production.INFO: call_cost end [2025-03-09 06:22:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:22:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:22:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:22:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:22:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:22:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:22:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:22:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:22:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:22:16] Production.INFO: ==19209== Releasing lock... [2025-03-09 06:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:22:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:22:17] Production.INFO: count ==579 [2025-03-09 06:22:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:22:05 - End Time 2025-03-09 06:22:05 [2025-03-09 06:22:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640318', 'tblTempUsageDetail_20' ) start [2025-03-09 06:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640318', 'tblTempUsageDetail_20' ) end [2025-03-09 06:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640318', 'tblTempVendorCDR_20' ) start [2025-03-09 06:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640318', 'tblTempVendorCDR_20' ) end [2025-03-09 06:22:17] Production.INFO: ProcessCDR(1,14640318,1,1,2) [2025-03-09 06:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640318', 'tblTempUsageDetail_20' ) start [2025-03-09 06:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640318', 'tblTempUsageDetail_20' ) end [2025-03-09 06:22:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:22:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:22:21] Production.INFO: ==19218== Releasing lock... [2025-03-09 06:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:22:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:23:01] Production.INFO: ==19274== Lock acquired, processing the job... [2025-03-09 10:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:23:01] Production.INFO: neon service started [2025-03-09 10:23:01] Production.INFO: neon service started [2025-03-09 10:23:01] Production.INFO: ==19274== Releasing lock... [2025-03-09 10:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:23:02] Production.INFO: ==19276== Lock acquired, processing the job... [2025-03-09 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:23:02] Production.INFO: ==19278== Lock acquired, processing the job... [2025-03-09 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 06:23:02] Production.INFO: ==19276== Releasing lock... [2025-03-09 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:23:02] Production.INFO: ==19278== Releasing lock... [2025-03-09 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:23:03] Production.INFO: ==19280== Lock acquired, processing the job... [2025-03-09 06:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:23:03] Production.INFO: ==19284== Lock acquired, processing the job... [2025-03-09 06:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:23:03] Production.INFO: ==19282== Lock acquired, processing the job... [2025-03-09 06:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:23:03] Production.INFO: ==19286== Lock acquired, processing the job... [2025-03-09 06:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:23:03] Production.INFO: ==19288== Lock acquired, processing the job... [2025-03-09 06:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:23:03] Production.INFO: Account Balance Start. [2025-03-09 06:23:03] Production.INFO: CreateAllLog Start [2025-03-09 06:23:03] Production.INFO: 117 [2025-03-09 06:23:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:23:03] Production.INFO: ==19290== Lock acquired, processing the job... [2025-03-09 06:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:23:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:23:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:23:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:23:03] Production.INFO: Total Charge 0 [2025-03-09 06:23:03] Production.INFO: CreateAllLog End [2025-03-09 06:23:03] Production.INFO: ==19282== Releasing lock... [2025-03-09 06:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:23:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:23:03] Production.INFO: count ==13 [2025-03-09 06:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:23:03] Production.INFO: count ==21 [2025-03-09 06:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640322') start [2025-03-09 06:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640322') end [2025-03-09 06:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:23:04] Production.INFO: 1 [2025-03-09 06:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:23:04] Production.ERROR: done [2025-03-09 06:23:04] Production.INFO: ==19290== Releasing lock... [2025-03-09 06:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:23:04] Production.INFO: Account Balance End. [2025-03-09 06:23:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:23:04] Production.INFO: ==19286== Releasing lock... [2025-03-09 06:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:23:04] Production.ERROR: done [2025-03-09 06:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:23:05 [end_date_ymd] => 2025-03-09 06:23:05 [RateCDR] => 1 ) [2025-03-09 06:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:23:05' and `end` < '2025-03-09 06:23:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:23:12] Production.ERROR: CronJobId end10 [2025-03-09 06:23:12] Production.INFO: ==19284== Releasing lock... [2025-03-09 06:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:23:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:23:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:23:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:23:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:23:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:23:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:23:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:23:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:23:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:23:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:23:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:23:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:23:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:23:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:23:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:23:14] Production.INFO: call_cost start [2025-03-09 06:23:14] Production.INFO: call_cost end [2025-03-09 06:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:23:15] Production.INFO: ==19280== Releasing lock... [2025-03-09 06:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:23:17] Production.INFO: count ==579 [2025-03-09 06:23:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:23:05 - End Time 2025-03-09 06:23:05 [2025-03-09 06:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640323', 'tblTempUsageDetail_20' ) start [2025-03-09 06:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640323', 'tblTempUsageDetail_20' ) end [2025-03-09 06:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640323', 'tblTempVendorCDR_20' ) start [2025-03-09 06:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640323', 'tblTempVendorCDR_20' ) end [2025-03-09 06:23:17] Production.INFO: ProcessCDR(1,14640323,1,1,2) [2025-03-09 06:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640323', 'tblTempUsageDetail_20' ) start [2025-03-09 06:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640323', 'tblTempUsageDetail_20' ) end [2025-03-09 06:23:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:23:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:23:21] Production.INFO: ==19288== Releasing lock... [2025-03-09 06:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:23:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:24:02] Production.INFO: ==19346== Lock acquired, processing the job... [2025-03-09 10:24:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:24:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:24:02] Production.INFO: neon service started [2025-03-09 10:24:02] Production.INFO: neon service started [2025-03-09 10:24:02] Production.INFO: ==19346== Releasing lock... [2025-03-09 10:24:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:24:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:24:02] Production.INFO: ==19350== Lock acquired, processing the job... [2025-03-09 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:24:02] Production.INFO: ==19350== Releasing lock... [2025-03-09 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:24:02] Production.INFO: ==19348== Lock acquired, processing the job... [2025-03-09 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:24:03] Production.INFO: ==19348== Releasing lock... [2025-03-09 06:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:24:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:24:03] Production.INFO: ==19353== Lock acquired, processing the job... [2025-03-09 06:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:24:03] Production.INFO: ==19355== Lock acquired, processing the job... [2025-03-09 06:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:24:04] Production.INFO: ==19359== Lock acquired, processing the job... [2025-03-09 06:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:24:04] Production.INFO: Account Balance Start. [2025-03-09 06:24:04] Production.INFO: CreateAllLog Start [2025-03-09 06:24:04] Production.INFO: 117 [2025-03-09 06:24:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:24:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:24:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:24:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:24:04] Production.INFO: Total Charge 0 [2025-03-09 06:24:04] Production.INFO: CreateAllLog End [2025-03-09 06:24:04] Production.INFO: ==19357== Lock acquired, processing the job... [2025-03-09 06:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:24:04] Production.INFO: ==19355== Releasing lock... [2025-03-09 06:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:24:04] Production.INFO: ==19361== Lock acquired, processing the job... [2025-03-09 06:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:24:04] Production.INFO: Account Balance End. [2025-03-09 06:24:04] Production.INFO: ==19363== Lock acquired, processing the job... [2025-03-09 06:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:24:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:24:04] Production.INFO: ==19359== Releasing lock... [2025-03-09 06:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 06:24:04] Production.INFO: count ==13 [2025-03-09 06:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:24:04] Production.INFO: count ==21 [2025-03-09 06:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640327') start [2025-03-09 06:24:04] Production.ERROR: done [2025-03-09 06:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640327') end [2025-03-09 06:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:24:04] Production.INFO: 1 [2025-03-09 06:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:24:05] Production.INFO: ==19363== Releasing lock... [2025-03-09 06:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:24:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:24:05] Production.ERROR: done [2025-03-09 06:24:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:24:06 [end_date_ymd] => 2025-03-09 06:24:06 [RateCDR] => 1 ) [2025-03-09 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-09 03:24:06' and `end` < '2025-03-09 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-09 06:24:11] Production.ERROR: CronJobId end10 [2025-03-09 06:24:11] Production.INFO: ==19357== Releasing lock... [2025-03-09 06:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:24:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:24:14] Production.INFO: call_cost start [2025-03-09 06:24:14] Production.INFO: call_cost end [2025-03-09 06:24:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:24:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:24:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:24:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:24:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:24:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:24:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:24:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:24:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:24:15] Production.INFO: ==19353== Releasing lock... [2025-03-09 06:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:24:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:24:18] Production.INFO: count ==579 [2025-03-09 06:24:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:24:06 - End Time 2025-03-09 06:24:06 [2025-03-09 06:24:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640328', 'tblTempUsageDetail_20' ) start [2025-03-09 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640328', 'tblTempUsageDetail_20' ) end [2025-03-09 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640328', 'tblTempVendorCDR_20' ) start [2025-03-09 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640328', 'tblTempVendorCDR_20' ) end [2025-03-09 06:24:18] Production.INFO: ProcessCDR(1,14640328,1,1,2) [2025-03-09 06:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640328', 'tblTempUsageDetail_20' ) start [2025-03-09 06:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640328', 'tblTempUsageDetail_20' ) end [2025-03-09 06:24:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:24:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:24:21] Production.INFO: ==19361== Releasing lock... [2025-03-09 06:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:24:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:25:01] Production.INFO: ==19420== Lock acquired, processing the job... [2025-03-09 10:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:25:01] Production.INFO: neon service started [2025-03-09 10:25:01] Production.INFO: neon service started [2025-03-09 10:25:01] Production.INFO: ==19420== Releasing lock... [2025-03-09 10:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:25:02] Production.INFO: ==19423== Lock acquired, processing the job... [2025-03-09 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:25:02] Production.INFO: ==19423== Releasing lock... [2025-03-09 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:25:02] Production.INFO: ==19425== Lock acquired, processing the job... [2025-03-09 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:25:02] Production.INFO: ==19425== Releasing lock... [2025-03-09 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:25:03] Production.INFO: ==19433== Lock acquired, processing the job... [2025-03-09 06:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:25:03] Production.INFO: ==19437== Lock acquired, processing the job... [2025-03-09 06:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:25:03] Production.INFO: Account Balance Start. [2025-03-09 06:25:03] Production.INFO: CreateAllLog Start [2025-03-09 06:25:03] Production.INFO: 117 [2025-03-09 06:25:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:25:03] Production.INFO: ==19427== Lock acquired, processing the job... [2025-03-09 06:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:25:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:25:03] Production.INFO: ==19429== Lock acquired, processing the job... [2025-03-09 06:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:25:03] Production.INFO: Total Charge 0 [2025-03-09 06:25:03] Production.INFO: ==19435== Lock acquired, processing the job... [2025-03-09 06:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:25:03] Production.INFO: count ==13 [2025-03-09 06:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:25:03] Production.INFO: CreateAllLog End [2025-03-09 06:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:25:03] Production.INFO: ==19431== Lock acquired, processing the job... [2025-03-09 06:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:25:03] Production.INFO: count ==21 [2025-03-09 06:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640330') start [2025-03-09 06:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640330') end [2025-03-09 06:25:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:25:03] Production.INFO: 1 [2025-03-09 06:25:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:25:03] Production.INFO: ==19437== Releasing lock... [2025-03-09 06:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:25:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:25:03] Production.INFO: ==19429== Releasing lock... [2025-03-09 06:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:25:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:25:03] Production.ERROR: done [2025-03-09 06:25:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:25:03] Production.INFO: Account Balance End. [2025-03-09 06:25:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:25:04] Production.INFO: ==19433== Releasing lock... [2025-03-09 06:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:25:04] Production.ERROR: done [2025-03-09 06:25:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:25:04 [end_date_ymd] => 2025-03-09 06:25:04 [RateCDR] => 1 ) [2025-03-09 06: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-09 03:25:04' and `end` < '2025-03-09 06: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-09 06:25:11] Production.ERROR: CronJobId end10 [2025-03-09 06:25:11] Production.INFO: ==19431== Releasing lock... [2025-03-09 06:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:25:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:25:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:25:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:25:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:25:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:25:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:25:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:25:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:25:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:25:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:25:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:25:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:25:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:25:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:25:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:25:14] Production.INFO: call_cost start [2025-03-09 06:25:14] Production.INFO: call_cost end [2025-03-09 06:25:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:25:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:25:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:25:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:25:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:25:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:25:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:25:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:25:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:25:15] Production.INFO: ==19427== Releasing lock... [2025-03-09 06:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:25:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:25:17] Production.INFO: count ==579 [2025-03-09 06:25:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:25:04 - End Time 2025-03-09 06:25:04 [2025-03-09 06:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640333', 'tblTempUsageDetail_20' ) start [2025-03-09 06:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640333', 'tblTempUsageDetail_20' ) end [2025-03-09 06:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640333', 'tblTempVendorCDR_20' ) start [2025-03-09 06:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640333', 'tblTempVendorCDR_20' ) end [2025-03-09 06:25:17] Production.INFO: ProcessCDR(1,14640333,1,1,2) [2025-03-09 06:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640333', 'tblTempUsageDetail_20' ) start [2025-03-09 06:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640333', 'tblTempUsageDetail_20' ) end [2025-03-09 06:25:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:25:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:25:20] Production.INFO: ==19435== Releasing lock... [2025-03-09 06:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:25:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:26:02] Production.INFO: ==19493== Lock acquired, processing the job... [2025-03-09 10:26:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:26:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:26:02] Production.INFO: neon service started [2025-03-09 10:26:02] Production.INFO: neon service started [2025-03-09 10:26:02] Production.INFO: ==19493== Releasing lock... [2025-03-09 10:26:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:26:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:26:02] Production.INFO: ==19495== Lock acquired, processing the job... [2025-03-09 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:26:02] Production.INFO: ==19497== Lock acquired, processing the job... [2025-03-09 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:26:03] Production.INFO: ==19497== Releasing lock... [2025-03-09 10:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:26:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:26:03] Production.INFO: ==19495== Releasing lock... [2025-03-09 06:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:26:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:26:04] Production.INFO: ==19500== Lock acquired, processing the job... [2025-03-09 06:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:26:04] Production.INFO: ==19502== Lock acquired, processing the job... [2025-03-09 06:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:26:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:26:04] Production.INFO: ==19508== Lock acquired, processing the job... [2025-03-09 06:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:26:04] Production.INFO: ==19504== Lock acquired, processing the job... [2025-03-09 06:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:26:04] Production.INFO: ==19510== Lock acquired, processing the job... [2025-03-09 06:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:26:04] Production.INFO: ==19506== Lock acquired, processing the job... [2025-03-09 06:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:26:04] Production.INFO: ==19502== Releasing lock... [2025-03-09 06:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:26:04] Production.INFO: count ==13 [2025-03-09 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-09 06:26:04] Production.INFO: Account Balance Start. [2025-03-09 06:26:04] Production.INFO: CreateAllLog Start [2025-03-09 06:26:04] Production.INFO: count ==21 [2025-03-09 06:26:04] Production.INFO: 117 [2025-03-09 06:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640336') start [2025-03-09 06:26:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:26:04] Production.ERROR: done [2025-03-09 06:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:26:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:26:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:26:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:26:04] Production.INFO: Total Charge 0 [2025-03-09 06:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640336') end [2025-03-09 06:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:26:04] Production.INFO: 1 [2025-03-09 06:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:26:04] Production.INFO: CreateAllLog End [2025-03-09 06:26:04] Production.INFO: ==19510== Releasing lock... [2025-03-09 06:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:26:05] Production.ERROR: done [2025-03-09 06:26:05] Production.INFO: Account Balance End. [2025-03-09 06:26:05] Production.ERROR: CronJobId end 12 [2025-03-09 06:26:05] Production.INFO: ==19506== Releasing lock... [2025-03-09 06:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:26:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:26:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:26:06 [end_date_ymd] => 2025-03-09 06:26:06 [RateCDR] => 1 ) [2025-03-09 06:26:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:26:06' and `end` < '2025-03-09 06:26:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:26:12] Production.ERROR: CronJobId end10 [2025-03-09 06:26:12] Production.INFO: ==19504== Releasing lock... [2025-03-09 06:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:26:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:26:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:26:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:26:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:26:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:26:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:26:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:26:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:26:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:26:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:26:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:26:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:26:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:26:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:26:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:26:15] Production.INFO: call_cost start [2025-03-09 06:26:15] Production.INFO: call_cost end [2025-03-09 06:26:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:26:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:26:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:26:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:26:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:26:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:26:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:26:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:26:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:26:16] Production.INFO: ==19500== Releasing lock... [2025-03-09 06:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:26:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:26:18] Production.INFO: count ==582 [2025-03-09 06:26:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:26:06 - End Time 2025-03-09 06:26:06 [2025-03-09 06:26:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640338', 'tblTempUsageDetail_20' ) start [2025-03-09 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640338', 'tblTempUsageDetail_20' ) end [2025-03-09 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640338', 'tblTempVendorCDR_20' ) start [2025-03-09 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640338', 'tblTempVendorCDR_20' ) end [2025-03-09 06:26:18] Production.INFO: ProcessCDR(1,14640338,1,1,2) [2025-03-09 06:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640338', 'tblTempUsageDetail_20' ) start [2025-03-09 06:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640338', 'tblTempUsageDetail_20' ) end [2025-03-09 06:26:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:26:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:26:21] Production.INFO: ==19508== Releasing lock... [2025-03-09 06:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:26:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:27:01] Production.INFO: ==19564== Lock acquired, processing the job... [2025-03-09 10:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:27:01] Production.INFO: neon service started [2025-03-09 10:27:01] Production.INFO: neon service started [2025-03-09 10:27:01] Production.INFO: ==19564== Releasing lock... [2025-03-09 10:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:27:02] Production.INFO: ==19570== Lock acquired, processing the job... [2025-03-09 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:27:02] Production.INFO: ==19570== Releasing lock... [2025-03-09 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:27:02] Production.INFO: ==19568== Lock acquired, processing the job... [2025-03-09 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:27:02] Production.INFO: ==19568== Releasing lock... [2025-03-09 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:27:03] Production.INFO: ==19573== Lock acquired, processing the job... [2025-03-09 06:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:27:03] Production.INFO: ==19577== Lock acquired, processing the job... [2025-03-09 06:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:27:03] Production.INFO: ==19581== Lock acquired, processing the job... [2025-03-09 06:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:27:03] Production.INFO: ==19575== Lock acquired, processing the job... [2025-03-09 06:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:27:03] Production.INFO: ==19579== Lock acquired, processing the job... [2025-03-09 06:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:27:03] Production.INFO: ==19583== Lock acquired, processing the job... [2025-03-09 06:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:27:04] Production.INFO: Account Balance Start. [2025-03-09 06:27:04] Production.INFO: CreateAllLog Start [2025-03-09 06:27:04] Production.INFO: 117 [2025-03-09 06:27:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:27:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:27:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:27:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:27:04] Production.INFO: Total Charge 0 [2025-03-09 06:27:04] Production.INFO: count ==13 [2025-03-09 06:27:04] Production.INFO: CreateAllLog End [2025-03-09 06:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:27:04] Production.INFO: count ==21 [2025-03-09 06:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640341') start [2025-03-09 06:27:04] Production.INFO: ==19575== Releasing lock... [2025-03-09 06:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:27:04] Production.ERROR: done [2025-03-09 06:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640341') end [2025-03-09 06:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:27:04] Production.INFO: 1 [2025-03-09 06:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:27:04] Production.INFO: ==19583== Releasing lock... [2025-03-09 06:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:27:04] Production.ERROR: done [2025-03-09 06:27:04] Production.INFO: Account Balance End. [2025-03-09 06:27:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:27:04] Production.INFO: ==19579== Releasing lock... [2025-03-09 06:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:27:05 [end_date_ymd] => 2025-03-09 06:27:05 [RateCDR] => 1 ) [2025-03-09 06:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:27:05' and `end` < '2025-03-09 06:27:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:27:12] Production.ERROR: CronJobId end10 [2025-03-09 06:27:12] Production.INFO: ==19577== Releasing lock... [2025-03-09 06:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:27:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:27:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:27:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:27:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:27:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:27:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:27:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:27:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:27:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:27:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:27:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:27:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:27:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:27:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:27:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:27:16] Production.INFO: call_cost start [2025-03-09 06:27:16] Production.INFO: call_cost end [2025-03-09 06:27:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:27:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:27:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:27:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:27:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:27:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:27:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:27:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:27:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:27:17] Production.INFO: ==19573== Releasing lock... [2025-03-09 06:27:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:27:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:27:17] Production.INFO: count ==582 [2025-03-09 06:27:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:27:05 - End Time 2025-03-09 06:27:05 [2025-03-09 06:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640343', 'tblTempUsageDetail_20' ) start [2025-03-09 06:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640343', 'tblTempUsageDetail_20' ) end [2025-03-09 06:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640343', 'tblTempVendorCDR_20' ) start [2025-03-09 06:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640343', 'tblTempVendorCDR_20' ) end [2025-03-09 06:27:17] Production.INFO: ProcessCDR(1,14640343,1,1,2) [2025-03-09 06:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640343', 'tblTempUsageDetail_20' ) start [2025-03-09 06:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640343', 'tblTempUsageDetail_20' ) end [2025-03-09 06:27:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:27:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:27:21] Production.INFO: ==19581== Releasing lock... [2025-03-09 06:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:27:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:28:02] Production.INFO: ==19638== Lock acquired, processing the job... [2025-03-09 10:28:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:28:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:28:02] Production.INFO: neon service started [2025-03-09 10:28:02] Production.INFO: neon service started [2025-03-09 10:28:02] Production.INFO: ==19638== Releasing lock... [2025-03-09 10:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:28:02] Production.INFO: ==19640== Lock acquired, processing the job... [2025-03-09 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:28:02] Production.INFO: ==19640== Releasing lock... [2025-03-09 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:28:03] Production.INFO: ==19642== Lock acquired, processing the job... [2025-03-09 10:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:28:03] Production.INFO: ==19642== Releasing lock... [2025-03-09 10:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:28:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:28:03] Production.INFO: ==19649== Lock acquired, processing the job... [2025-03-09 06:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:28:03] Production.INFO: ==19645== Lock acquired, processing the job... [2025-03-09 06:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:28:03] Production.INFO: ==19651== Lock acquired, processing the job... [2025-03-09 06:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:28:03] Production.INFO: Account Balance Start. [2025-03-09 06:28:03] Production.INFO: CreateAllLog Start [2025-03-09 06:28:04] Production.INFO: 117 [2025-03-09 06:28:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:28:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:28:04] Production.INFO: Total Charge 0 [2025-03-09 06:28:04] Production.INFO: CreateAllLog End [2025-03-09 06:28:04] Production.INFO: ==19647== Lock acquired, processing the job... [2025-03-09 06:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:28:04] Production.INFO: ==19653== Lock acquired, processing the job... [2025-03-09 06:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:28:04] Production.INFO: ==19655== Lock acquired, processing the job... [2025-03-09 06:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:28:04] Production.INFO: Account Balance End. [2025-03-09 06:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:28:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:28:04] Production.INFO: ==19651== Releasing lock... [2025-03-09 06:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:28:04] Production.INFO: count ==13 [2025-03-09 06:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:28:04] Production.INFO: count ==21 [2025-03-09 06:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640346') start [2025-03-09 06:28:04] Production.INFO: ==19647== Releasing lock... [2025-03-09 06:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:28:04] Production.ERROR: done [2025-03-09 06:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640346') end [2025-03-09 06:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:28:04] Production.INFO: 1 [2025-03-09 06:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:28:04] Production.INFO: ==19655== Releasing lock... [2025-03-09 06:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:28:04] Production.ERROR: done [2025-03-09 06:28:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:28:06 [end_date_ymd] => 2025-03-09 06:28:06 [RateCDR] => 1 ) [2025-03-09 06:28:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:28:06' and `end` < '2025-03-09 06:28:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:28:13] Production.ERROR: CronJobId end10 [2025-03-09 06:28:13] Production.INFO: ==19649== Releasing lock... [2025-03-09 06:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:28:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:28:15] Production.INFO: call_cost start [2025-03-09 06:28:15] Production.INFO: call_cost end [2025-03-09 06:28:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:28:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:28:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:28:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:28:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:28:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:28:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:28:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:28:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:28:16] Production.INFO: ==19645== Releasing lock... [2025-03-09 06:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:28:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:28:18] Production.INFO: count ==582 [2025-03-09 06:28:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:28:06 - End Time 2025-03-09 06:28:06 [2025-03-09 06:28:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640348', 'tblTempUsageDetail_20' ) start [2025-03-09 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640348', 'tblTempUsageDetail_20' ) end [2025-03-09 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640348', 'tblTempVendorCDR_20' ) start [2025-03-09 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640348', 'tblTempVendorCDR_20' ) end [2025-03-09 06:28:18] Production.INFO: ProcessCDR(1,14640348,1,1,2) [2025-03-09 06:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640348', 'tblTempUsageDetail_20' ) start [2025-03-09 06:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640348', 'tblTempUsageDetail_20' ) end [2025-03-09 06:28:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:28:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:28:21] Production.INFO: ==19653== Releasing lock... [2025-03-09 06:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:28:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:29:01] Production.INFO: ==19710== Lock acquired, processing the job... [2025-03-09 10:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:29:01] Production.INFO: neon service started [2025-03-09 10:29:01] Production.INFO: neon service started [2025-03-09 10:29:01] Production.INFO: ==19710== Releasing lock... [2025-03-09 10:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:29:01] Production.INFO: ==19712== Lock acquired, processing the job... [2025-03-09 06:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:29:02] Production.INFO: ==19712== Releasing lock... [2025-03-09 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:29:02] Production.INFO: ==19714== Lock acquired, processing the job... [2025-03-09 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:29:02] Production.INFO: ==19714== Releasing lock... [2025-03-09 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:29:03] Production.INFO: ==19717== Lock acquired, processing the job... [2025-03-09 06:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:29:03] Production.INFO: ==19721== Lock acquired, processing the job... [2025-03-09 06:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:29:03] Production.INFO: ==19719== Lock acquired, processing the job... [2025-03-09 06:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:29:03] Production.INFO: ==19723== Lock acquired, processing the job... [2025-03-09 06:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:29:03] Production.INFO: ==19725== Lock acquired, processing the job... [2025-03-09 06:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:29:03] Production.INFO: ==19727== Lock acquired, processing the job... [2025-03-09 06:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:29:03] Production.INFO: Account Balance Start. [2025-03-09 06:29:03] Production.INFO: CreateAllLog Start [2025-03-09 06:29:03] Production.INFO: 117 [2025-03-09 06:29:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:29:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:29:03] Production.INFO: Total Charge 0 [2025-03-09 06:29:03] Production.INFO: CreateAllLog End [2025-03-09 06:29:03] Production.INFO: ==19719== Releasing lock... [2025-03-09 06:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:29:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:29:03] Production.INFO: count ==13 [2025-03-09 06:29:04] Production.INFO: Account Balance End. [2025-03-09 06:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:29:04] Production.ERROR: done [2025-03-09 06:29:04] Production.INFO: count ==21 [2025-03-09 06:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640352') start [2025-03-09 06:29:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:29:04] Production.INFO: ==19723== Releasing lock... [2025-03-09 06:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640352') end [2025-03-09 06:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:29:04] Production.INFO: 1 [2025-03-09 06:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:29:04] Production.INFO: ==19727== Releasing lock... [2025-03-09 06:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:29:04] Production.ERROR: done [2025-03-09 06:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:29:05 [end_date_ymd] => 2025-03-09 06:29:05 [RateCDR] => 1 ) [2025-03-09 06:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:29:05' and `end` < '2025-03-09 06:29:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:29:11] Production.ERROR: CronJobId end10 [2025-03-09 06:29:11] Production.INFO: ==19721== Releasing lock... [2025-03-09 06:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:29:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:29:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:29:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:29:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:29:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:29:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:29:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:29:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:29:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:29:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:29:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:29:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:29:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:29:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:29:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:29:13] Production.INFO: call_cost start [2025-03-09 06:29:13] Production.INFO: call_cost end [2025-03-09 06:29:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:29:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:29:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:29:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:29:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:29:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:29:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:29:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:29:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:29:14] Production.INFO: ==19717== Releasing lock... [2025-03-09 06:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:29:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:29:17] Production.INFO: count ==582 [2025-03-09 06:29:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:29:05 - End Time 2025-03-09 06:29:05 [2025-03-09 06:29:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640353', 'tblTempUsageDetail_20' ) start [2025-03-09 06:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640353', 'tblTempUsageDetail_20' ) end [2025-03-09 06:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640353', 'tblTempVendorCDR_20' ) start [2025-03-09 06:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640353', 'tblTempVendorCDR_20' ) end [2025-03-09 06:29:17] Production.INFO: ProcessCDR(1,14640353,1,1,2) [2025-03-09 06:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640353', 'tblTempUsageDetail_20' ) start [2025-03-09 06:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640353', 'tblTempUsageDetail_20' ) end [2025-03-09 06:29:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:29:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:29:20] Production.INFO: ==19725== Releasing lock... [2025-03-09 06:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:29:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:30:01] Production.INFO: ==19786== Lock acquired, processing the job... [2025-03-09 10:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:30:01] Production.INFO: neon service started [2025-03-09 10:30:02] Production.INFO: neon service started [2025-03-09 10:30:02] Production.INFO: ==19786== Releasing lock... [2025-03-09 10:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:30:02] Production.INFO: ==19788== Lock acquired, processing the job... [2025-03-09 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:30:02] Production.INFO: ==19788== Releasing lock... [2025-03-09 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:30:03] Production.INFO: ==19790== Lock acquired, processing the job... [2025-03-09 10:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:30:03] Production.INFO: ==19790== Releasing lock... [2025-03-09 10:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:30:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:30:03] Production.INFO: ==19792== Lock acquired, processing the job... [2025-03-09 06:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 06:30:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 06:30:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 06:30:03] Production.INFO: ==19792== Releasing lock... [2025-03-09 06:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 06:30:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 06:30:03] Production.INFO: ==19796== Lock acquired, processing the job... [2025-03-09 06:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:30:03] Production.INFO: ==19794== Lock acquired, processing the job... [2025-03-09 06:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:30:03] Production.INFO: ==19800== Lock acquired, processing the job... [2025-03-09 06:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:30:03] Production.INFO: ==19802== Lock acquired, processing the job... [2025-03-09 06:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:30:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:30:04] Production.INFO: ==19804== Lock acquired, processing the job... [2025-03-09 06:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 06:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:30:04] Production.INFO: ==19798== Lock acquired, processing the job... [2025-03-09 06:30:04] Production.INFO: Account Balance Start. [2025-03-09 06:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:30:04] Production.INFO: CreateAllLog Start [2025-03-09 06:30:04] Production.INFO: 117 [2025-03-09 06:30:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:30:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:30:04] Production.INFO: Total Charge 0 [2025-03-09 06:30:04] Production.INFO: ==19806== Lock acquired, processing the job... [2025-03-09 06:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:30:04] Production.INFO: CreateAllLog End [2025-03-09 06:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:30:04] Production.INFO: ==19796== Releasing lock... [2025-03-09 06:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:30:04] Production.INFO: count ==13 [2025-03-09 06:30:04] Production.ERROR: done [2025-03-09 06:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:30:04] Production.INFO: count ==21 [2025-03-09 06:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640357') start [2025-03-09 06:30:04] Production.INFO: Account Balance End. [2025-03-09 06:30:04] Production.ERROR: done [2025-03-09 06:30:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:30:04] Production.INFO: ==19800== Releasing lock... [2025-03-09 06:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:30:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 06:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640358', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 06:30:04] Production.ERROR: done [2025-03-09 06:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640357') end [2025-03-09 06:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:30:04] Production.INFO: 1 [2025-03-09 06:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:30:04] Production.INFO: ==19806== Releasing lock... [2025-03-09 06:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:30:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:30:05 [end_date_ymd] => 2025-03-09 06:30:05 [RateCDR] => 1 ) [2025-03-09 06:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:30:05' and `end` < '2025-03-09 06:30:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640358', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 06:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 06:30:09] Production.INFO: ProcessCDR(1,14640358,1,1,2) [2025-03-09 06:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14640358,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14640358,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:30:09] Production.INFO: ==19804== Releasing lock... [2025-03-09 06:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 06:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 06:30:13] Production.ERROR: CronJobId end10 [2025-03-09 06:30:13] Production.INFO: ==19798== Releasing lock... [2025-03-09 06:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:30:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:30:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:30:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:30:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:30:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:30:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:30:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:30:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:30:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:30:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:30:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:30:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:30:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:30:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:30:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:30:16] Production.INFO: call_cost start [2025-03-09 06:30:16] Production.INFO: call_cost end [2025-03-09 06:30:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:30:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:30:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:30:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:30:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:30:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:30:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:30:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:30:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:30:16] Production.INFO: ==19794== Releasing lock... [2025-03-09 06:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:30:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:30:17] Production.INFO: count ==584 [2025-03-09 06:30:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:30:05 - End Time 2025-03-09 06:30:05 [2025-03-09 06:30:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640359', 'tblTempUsageDetail_20' ) start [2025-03-09 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640359', 'tblTempUsageDetail_20' ) end [2025-03-09 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640359', 'tblTempVendorCDR_20' ) start [2025-03-09 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640359', 'tblTempVendorCDR_20' ) end [2025-03-09 06:30:18] Production.INFO: ProcessCDR(1,14640359,1,1,2) [2025-03-09 06:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:30:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:30:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640359', 'tblTempUsageDetail_20' ) start [2025-03-09 06:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640359', 'tblTempUsageDetail_20' ) end [2025-03-09 06:30:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:30:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:30:21] Production.INFO: ==19802== Releasing lock... [2025-03-09 06:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:30:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:31:01] Production.INFO: ==19868== Lock acquired, processing the job... [2025-03-09 10:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:31:01] Production.INFO: neon service started [2025-03-09 10:31:01] Production.INFO: neon service started [2025-03-09 10:31:01] Production.INFO: ==19868== Releasing lock... [2025-03-09 10:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:31:02] Production.INFO: ==19870== Lock acquired, processing the job... [2025-03-09 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:31:02] Production.INFO: ==19872== Lock acquired, processing the job... [2025-03-09 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:31:02] Production.INFO: ==19872== Releasing lock... [2025-03-09 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:31:02] Production.INFO: ==19870== Releasing lock... [2025-03-09 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:31:03] Production.INFO: ==19875== Lock acquired, processing the job... [2025-03-09 06:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:31:03] Production.INFO: ==19879== Lock acquired, processing the job... [2025-03-09 06:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:31:03] Production.INFO: ==19883== Lock acquired, processing the job... [2025-03-09 06:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:31:03] Production.INFO: ==19877== Lock acquired, processing the job... [2025-03-09 06:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:31:03] Production.INFO: ==19885== Lock acquired, processing the job... [2025-03-09 06:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:31:03] Production.INFO: ==19881== Lock acquired, processing the job... [2025-03-09 06:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:31:03] Production.INFO: Account Balance Start. [2025-03-09 06:31:03] Production.INFO: CreateAllLog Start [2025-03-09 06:31:03] Production.INFO: 117 [2025-03-09 06:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:31:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:31:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:31:03] Production.INFO: count ==13 [2025-03-09 06:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:31:03] Production.INFO: count ==21 [2025-03-09 06:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640361') start [2025-03-09 06:31:03] Production.ERROR: done [2025-03-09 06:31:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:31:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:31:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:31:03] Production.INFO: Total Charge 0 [2025-03-09 06:31:03] Production.INFO: CreateAllLog End [2025-03-09 06:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640361') end [2025-03-09 06:31:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:31:03] Production.INFO: 1 [2025-03-09 06:31:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:31:04] Production.INFO: ==19885== Releasing lock... [2025-03-09 06:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:31:04] Production.INFO: ==19877== Releasing lock... [2025-03-09 06:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:31:04] Production.ERROR: done [2025-03-09 06:31:04] Production.INFO: Account Balance End. [2025-03-09 06:31:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:31:04] Production.INFO: ==19881== Releasing lock... [2025-03-09 06:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:31:05 [end_date_ymd] => 2025-03-09 06:31:05 [RateCDR] => 1 ) [2025-03-09 06:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:31:05' and `end` < '2025-03-09 06:31:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:31:11] Production.ERROR: CronJobId end10 [2025-03-09 06:31:11] Production.INFO: ==19879== Releasing lock... [2025-03-09 06:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:31:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:31:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:31:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:31:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:31:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:31:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:31:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:31:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:31:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:31:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:31:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:31:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:31:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:31:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:31:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:31:13] Production.INFO: call_cost start [2025-03-09 06:31:13] Production.INFO: call_cost end [2025-03-09 06:31:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:31:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:31:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:31:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:31:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:31:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:31:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:31:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:31:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:31:14] Production.INFO: ==19875== Releasing lock... [2025-03-09 06:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:31:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:31:17] Production.INFO: count ==584 [2025-03-09 06:31:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:31:05 - End Time 2025-03-09 06:31:05 [2025-03-09 06:31:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640364', 'tblTempUsageDetail_20' ) start [2025-03-09 06:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640364', 'tblTempUsageDetail_20' ) end [2025-03-09 06:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640364', 'tblTempVendorCDR_20' ) start [2025-03-09 06:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640364', 'tblTempVendorCDR_20' ) end [2025-03-09 06:31:17] Production.INFO: ProcessCDR(1,14640364,1,1,2) [2025-03-09 06:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:31:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640364', 'tblTempUsageDetail_20' ) start [2025-03-09 06:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640364', 'tblTempUsageDetail_20' ) end [2025-03-09 06:31:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:31:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:31:20] Production.INFO: ==19883== Releasing lock... [2025-03-09 06:31:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:31:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:32:01] Production.INFO: ==19943== Lock acquired, processing the job... [2025-03-09 10:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:32:01] Production.INFO: neon service started [2025-03-09 10:32:01] Production.INFO: neon service started [2025-03-09 10:32:01] Production.INFO: ==19943== Releasing lock... [2025-03-09 10:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:32:02] Production.INFO: ==19945== Lock acquired, processing the job... [2025-03-09 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:32:02] Production.INFO: ==19945== Releasing lock... [2025-03-09 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:32:02] Production.INFO: ==19947== Lock acquired, processing the job... [2025-03-09 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:32:02] Production.INFO: ==19947== Releasing lock... [2025-03-09 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:32:03] Production.INFO: ==19950== Lock acquired, processing the job... [2025-03-09 06:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:32:03] Production.INFO: ==19952== Lock acquired, processing the job... [2025-03-09 06:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:32:03] Production.INFO: ==19954== Lock acquired, processing the job... [2025-03-09 06:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:32:03] Production.INFO: ==19956== Lock acquired, processing the job... [2025-03-09 06:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:32:03] Production.INFO: ==19952== Releasing lock... [2025-03-09 06:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:32:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:32:03] Production.INFO: ==19958== Lock acquired, processing the job... [2025-03-09 06:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:32:03] Production.INFO: ==19960== Lock acquired, processing the job... [2025-03-09 06:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:32:03] Production.INFO: Account Balance Start. [2025-03-09 06:32:03] Production.INFO: CreateAllLog Start [2025-03-09 06:32:03] Production.INFO: 117 [2025-03-09 06:32:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:32:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:32:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:32:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:32:04] Production.INFO: Total Charge 0 [2025-03-09 06:32:04] Production.INFO: CreateAllLog End [2025-03-09 06:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:32:04] Production.INFO: count ==13 [2025-03-09 06:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:32:04] Production.INFO: count ==21 [2025-03-09 06:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640368') start [2025-03-09 06:32:04] Production.ERROR: done [2025-03-09 06:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640368') end [2025-03-09 06:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:32:04] Production.INFO: 1 [2025-03-09 06:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:32:04] Production.INFO: ==19960== Releasing lock... [2025-03-09 06:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:32:04] Production.ERROR: done [2025-03-09 06:32:04] Production.INFO: Account Balance End. [2025-03-09 06:32:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:32:04] Production.INFO: ==19956== Releasing lock... [2025-03-09 06:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:32:05 [end_date_ymd] => 2025-03-09 06:32:05 [RateCDR] => 1 ) [2025-03-09 06:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:32:05' and `end` < '2025-03-09 06:32:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:32:11] Production.ERROR: CronJobId end10 [2025-03-09 06:32:11] Production.INFO: ==19954== Releasing lock... [2025-03-09 06:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:32:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:32:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:32:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:32:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:32:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:32:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:32:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:32:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:32:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:32:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:32:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:32:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:32:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:32:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:32:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:32:14] Production.INFO: call_cost start [2025-03-09 06:32:14] Production.INFO: call_cost end [2025-03-09 06:32:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:32:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:32:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:32:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:32:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:32:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:32:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:32:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:32:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:32:15] Production.INFO: ==19950== Releasing lock... [2025-03-09 06:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:32:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:32:17] Production.INFO: count ==584 [2025-03-09 06:32:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:32:05 - End Time 2025-03-09 06:32:05 [2025-03-09 06:32:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640369', 'tblTempUsageDetail_20' ) start [2025-03-09 06:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640369', 'tblTempUsageDetail_20' ) end [2025-03-09 06:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640369', 'tblTempVendorCDR_20' ) start [2025-03-09 06:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640369', 'tblTempVendorCDR_20' ) end [2025-03-09 06:32:17] Production.INFO: ProcessCDR(1,14640369,1,1,2) [2025-03-09 06:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:32:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640369', 'tblTempUsageDetail_20' ) start [2025-03-09 06:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640369', 'tblTempUsageDetail_20' ) end [2025-03-09 06:32:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:32:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:32:20] Production.INFO: ==19958== Releasing lock... [2025-03-09 06:32:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:32:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:33:02] Production.INFO: ==20016== Lock acquired, processing the job... [2025-03-09 10:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:33:02] Production.INFO: neon service started [2025-03-09 10:33:02] Production.INFO: neon service started [2025-03-09 10:33:02] Production.INFO: ==20016== Releasing lock... [2025-03-09 10:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:33:02] Production.INFO: ==20018== Lock acquired, processing the job... [2025-03-09 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:33:02] Production.INFO: ==20018== Releasing lock... [2025-03-09 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:33:03] Production.INFO: ==20020== Lock acquired, processing the job... [2025-03-09 10:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:33:03] Production.INFO: ==20020== Releasing lock... [2025-03-09 10:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:33:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:33:03] Production.INFO: ==20024== Lock acquired, processing the job... [2025-03-09 06:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:33:03] Production.INFO: ==20026== Lock acquired, processing the job... [2025-03-09 06:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:33:03] Production.INFO: ==20028== Lock acquired, processing the job... [2025-03-09 06:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:33:03] Production.INFO: ==20022== Lock acquired, processing the job... [2025-03-09 06:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:33:03] Production.INFO: Account Balance Start. [2025-03-09 06:33:03] Production.INFO: CreateAllLog Start [2025-03-09 06:33:03] Production.INFO: 117 [2025-03-09 06:33:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:33:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:33:04] Production.INFO: ==20024== Releasing lock... [2025-03-09 06:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:33:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:33:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:33:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:33:04] Production.INFO: ==20030== Lock acquired, processing the job... [2025-03-09 06:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:33:04] Production.INFO: ==20032== Lock acquired, processing the job... [2025-03-09 06:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:33:04] Production.INFO: Total Charge 0 [2025-03-09 06:33:04] Production.INFO: CreateAllLog End [2025-03-09 06:33:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:33:04] Production.INFO: Account Balance End. [2025-03-09 06:33:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:33:04] Production.INFO: ==20028== Releasing lock... [2025-03-09 06:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:33:04] Production.INFO: count ==13 [2025-03-09 06:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:33:04] Production.INFO: count ==21 [2025-03-09 06:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640373') start [2025-03-09 06:33:04] Production.ERROR: done [2025-03-09 06:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640373') end [2025-03-09 06:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:33:04] Production.INFO: 1 [2025-03-09 06:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:33:04] Production.INFO: ==20032== Releasing lock... [2025-03-09 06:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:33:04] Production.ERROR: done [2025-03-09 06:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:33:05 [end_date_ymd] => 2025-03-09 06:33:05 [RateCDR] => 1 ) [2025-03-09 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-09 03:33:05' and `end` < '2025-03-09 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-09 06:33:11] Production.ERROR: CronJobId end10 [2025-03-09 06:33:11] Production.INFO: ==20026== Releasing lock... [2025-03-09 06:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:33:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:33:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:33:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:33:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:33:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:33:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:33:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:33:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:33:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:33:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:33:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:33:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:33:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:33:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:33:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:33:14] Production.INFO: call_cost start [2025-03-09 06:33:14] Production.INFO: call_cost end [2025-03-09 06:33:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:33:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:33:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:33:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:33:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:33:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:33:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:33:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:33:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:33:15] Production.INFO: ==20022== Releasing lock... [2025-03-09 06:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:33:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:33:17] Production.INFO: count ==584 [2025-03-09 06:33:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:33:05 - End Time 2025-03-09 06:33:05 [2025-03-09 06:33:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640374', 'tblTempUsageDetail_20' ) start [2025-03-09 06:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640374', 'tblTempUsageDetail_20' ) end [2025-03-09 06:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640374', 'tblTempVendorCDR_20' ) start [2025-03-09 06:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640374', 'tblTempVendorCDR_20' ) end [2025-03-09 06:33:18] Production.INFO: ProcessCDR(1,14640374,1,1,2) [2025-03-09 06:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640374', 'tblTempUsageDetail_20' ) start [2025-03-09 06:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640374', 'tblTempUsageDetail_20' ) end [2025-03-09 06:33:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:33:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:33:21] Production.INFO: ==20030== Releasing lock... [2025-03-09 06:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:33:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:34:01] Production.INFO: ==20091== Lock acquired, processing the job... [2025-03-09 10:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:34:01] Production.INFO: neon service started [2025-03-09 10:34:01] Production.INFO: neon service started [2025-03-09 10:34:01] Production.INFO: ==20091== Releasing lock... [2025-03-09 10:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:34:02] Production.INFO: ==20093== Lock acquired, processing the job... [2025-03-09 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:34:02] Production.INFO: ==20095== Lock acquired, processing the job... [2025-03-09 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:34:02] Production.INFO: ==20095== Releasing lock... [2025-03-09 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:34:02] Production.INFO: ==20093== Releasing lock... [2025-03-09 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:34:03] Production.INFO: ==20098== Lock acquired, processing the job... [2025-03-09 06:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:34:03] Production.INFO: ==20102== Lock acquired, processing the job... [2025-03-09 06:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:34:03] Production.INFO: ==20108== Lock acquired, processing the job... [2025-03-09 06:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:34:03] Production.INFO: count ==13 [2025-03-09 06:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:34:03] Production.INFO: count ==21 [2025-03-09 06:34:03] Production.INFO: ==20100== Lock acquired, processing the job... [2025-03-09 06:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640376') start [2025-03-09 06:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640376') end [2025-03-09 06:34:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:34:03] Production.INFO: 1 [2025-03-09 06:34:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:34:03] Production.INFO: ==20104== Lock acquired, processing the job... [2025-03-09 06:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:34:04] Production.INFO: ==20106== Lock acquired, processing the job... [2025-03-09 06:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:34:04] Production.INFO: ==20108== Releasing lock... [2025-03-09 06:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:34:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:34:04] Production.INFO: Account Balance Start. [2025-03-09 06:34:04] Production.INFO: CreateAllLog Start [2025-03-09 06:34:04] Production.INFO: 117 [2025-03-09 06:34:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:34:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:34:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:34:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:34:04] Production.INFO: ==20100== Releasing lock... [2025-03-09 06:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:34:04] Production.INFO: Total Charge 0 [2025-03-09 06:34:04] Production.INFO: CreateAllLog End [2025-03-09 06:34:04] Production.ERROR: done [2025-03-09 06:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:34:04] Production.INFO: Account Balance End. [2025-03-09 06:34:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:34:04] Production.INFO: ==20104== Releasing lock... [2025-03-09 06:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:34:04] Production.ERROR: done [2025-03-09 06:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:34:05 [end_date_ymd] => 2025-03-09 06:34:05 [RateCDR] => 1 ) [2025-03-09 06:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:34:05' and `end` < '2025-03-09 06:34:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:34:11] Production.ERROR: CronJobId end10 [2025-03-09 06:34:11] Production.INFO: ==20102== Releasing lock... [2025-03-09 06:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:34:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:34:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:34:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:34:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:34:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:34:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:34:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:34:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:34:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:34:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:34:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:34:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:34:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:34:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:34:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:34:13] Production.INFO: call_cost start [2025-03-09 06:34:13] Production.INFO: call_cost end [2025-03-09 06:34:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:34:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:34:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:34:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:34:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:34:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:34:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:34:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:34:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:34:14] Production.INFO: ==20098== Releasing lock... [2025-03-09 06:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:34:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:34:17] Production.INFO: count ==584 [2025-03-09 06:34:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:34:05 - End Time 2025-03-09 06:34:05 [2025-03-09 06:34:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640379', 'tblTempUsageDetail_20' ) start [2025-03-09 06:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640379', 'tblTempUsageDetail_20' ) end [2025-03-09 06:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640379', 'tblTempVendorCDR_20' ) start [2025-03-09 06:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640379', 'tblTempVendorCDR_20' ) end [2025-03-09 06:34:17] Production.INFO: ProcessCDR(1,14640379,1,1,2) [2025-03-09 06:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640379', 'tblTempUsageDetail_20' ) start [2025-03-09 06:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640379', 'tblTempUsageDetail_20' ) end [2025-03-09 06:34:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:34:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:34:21] Production.INFO: ==20106== Releasing lock... [2025-03-09 06:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:34:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:35:02] Production.INFO: ==20166== Lock acquired, processing the job... [2025-03-09 10:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:35:02] Production.INFO: neon service started [2025-03-09 10:35:02] Production.INFO: neon service started [2025-03-09 10:35:02] Production.INFO: ==20166== Releasing lock... [2025-03-09 10:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:35:02] Production.INFO: ==20168== Lock acquired, processing the job... [2025-03-09 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:35:02] Production.INFO: ==20168== Releasing lock... [2025-03-09 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:35:02] Production.INFO: ==20170== Lock acquired, processing the job... [2025-03-09 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:35:03] Production.INFO: ==20170== Releasing lock... [2025-03-09 10:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:35:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:35:03] Production.INFO: ==20174== Lock acquired, processing the job... [2025-03-09 06:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:35:03] Production.INFO: ==20182== Lock acquired, processing the job... [2025-03-09 06:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:35:04] Production.INFO: ==20172== Lock acquired, processing the job... [2025-03-09 06:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:35:04] Production.INFO: ==20174== Releasing lock... [2025-03-09 06:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:35:04] Production.INFO: ==20176== Lock acquired, processing the job... [2025-03-09 06:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:35:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:35:04] Production.INFO: ==20178== Lock acquired, processing the job... [2025-03-09 06:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:35:04] Production.INFO: ==20180== Lock acquired, processing the job... [2025-03-09 06:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:35:04] Production.INFO: count ==13 [2025-03-09 06:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:35:04] Production.INFO: count ==21 [2025-03-09 06:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640381') start [2025-03-09 06:35:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640381') end [2025-03-09 06:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:35:04] Production.INFO: 1 [2025-03-09 06:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:35:04] Production.INFO: Account Balance Start. [2025-03-09 06:35:04] Production.INFO: CreateAllLog Start [2025-03-09 06:35:04] Production.INFO: ==20182== Releasing lock... [2025-03-09 06:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:35:04] Production.INFO: 117 [2025-03-09 06:35:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:35:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:35:04] Production.INFO: Total Charge 0 [2025-03-09 06:35:04] Production.INFO: CreateAllLog End [2025-03-09 06:35:04] Production.ERROR: done [2025-03-09 06:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:35:04] Production.INFO: Account Balance End. [2025-03-09 06:35:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:35:04] Production.INFO: ==20178== Releasing lock... [2025-03-09 06:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:35:04] Production.ERROR: done [2025-03-09 06:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:35:05 [end_date_ymd] => 2025-03-09 06:35:05 [RateCDR] => 1 ) [2025-03-09 06:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:35:05' and `end` < '2025-03-09 06:35:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:35:12] Production.ERROR: CronJobId end10 [2025-03-09 06:35:12] Production.INFO: ==20176== Releasing lock... [2025-03-09 06:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:35:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:35:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:35:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:35:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:35:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:35:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:35:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:35:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:35:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:35:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:35:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:35:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:35:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:35:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:35:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:35:14] Production.INFO: call_cost start [2025-03-09 06:35:14] Production.INFO: call_cost end [2025-03-09 06:35:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:35:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:35:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:35:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:35:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:35:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:35:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:35:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:35:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:35:15] Production.INFO: ==20172== Releasing lock... [2025-03-09 06:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:35:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:35:17] Production.INFO: count ==584 [2025-03-09 06:35:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:35:05 - End Time 2025-03-09 06:35:05 [2025-03-09 06:35:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640384', 'tblTempUsageDetail_20' ) start [2025-03-09 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640384', 'tblTempUsageDetail_20' ) end [2025-03-09 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640384', 'tblTempVendorCDR_20' ) start [2025-03-09 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640384', 'tblTempVendorCDR_20' ) end [2025-03-09 06:35:18] Production.INFO: ProcessCDR(1,14640384,1,1,2) [2025-03-09 06:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640384', 'tblTempUsageDetail_20' ) start [2025-03-09 06:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640384', 'tblTempUsageDetail_20' ) end [2025-03-09 06:35:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:35:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:35:21] Production.INFO: ==20180== Releasing lock... [2025-03-09 06:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:35:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:36:01] Production.INFO: ==20239== Lock acquired, processing the job... [2025-03-09 10:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:36:01] Production.INFO: neon service started [2025-03-09 10:36:01] Production.INFO: neon service started [2025-03-09 10:36:01] Production.INFO: ==20239== Releasing lock... [2025-03-09 10:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:36:01] Production.INFO: ==20241== Lock acquired, processing the job... [2025-03-09 06:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:36:02] Production.INFO: ==20241== Releasing lock... [2025-03-09 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:36:02] Production.INFO: ==20243== Lock acquired, processing the job... [2025-03-09 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:36:02] Production.INFO: ==20243== Releasing lock... [2025-03-09 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:36:03] Production.INFO: ==20255== Lock acquired, processing the job... [2025-03-09 06:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:36:03] Production.INFO: ==20253== Lock acquired, processing the job... [2025-03-09 06:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:36:03] Production.INFO: ==20245== Lock acquired, processing the job... [2025-03-09 06:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:36:03] Production.INFO: count ==13 [2025-03-09 06:36:03] Production.INFO: ==20247== Lock acquired, processing the job... [2025-03-09 06:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:36:03] Production.INFO: count ==21 [2025-03-09 06:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640385') start [2025-03-09 06:36:03] Production.INFO: ==20249== Lock acquired, processing the job... [2025-03-09 06:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:36:03] Production.INFO: ==20251== Lock acquired, processing the job... [2025-03-09 06:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640385') end [2025-03-09 06:36:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:36:03] Production.INFO: 1 [2025-03-09 06:36:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:36:03] Production.INFO: ==20255== Releasing lock... [2025-03-09 06:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:36:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:36:03] Production.ERROR: done [2025-03-09 06:36:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:36:03] Production.INFO: Account Balance Start. [2025-03-09 06:36:03] Production.INFO: CreateAllLog Start [2025-03-09 06:36:03] Production.INFO: 117 [2025-03-09 06:36:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:36:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:36:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:36:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:36:03] Production.ERROR: done [2025-03-09 06:36:03] Production.INFO: ==20247== Releasing lock... [2025-03-09 06:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:36:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:36:03] Production.INFO: Total Charge 0 [2025-03-09 06:36:03] Production.INFO: CreateAllLog End [2025-03-09 06:36:03] Production.INFO: Account Balance End. [2025-03-09 06:36:03] Production.ERROR: CronJobId end 12 [2025-03-09 06:36:03] Production.INFO: ==20251== Releasing lock... [2025-03-09 06:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:36:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:36:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:36:04 [end_date_ymd] => 2025-03-09 06:36:04 [RateCDR] => 1 ) [2025-03-09 06:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:36:04' and `end` < '2025-03-09 06:36:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:36:11] Production.ERROR: CronJobId end10 [2025-03-09 06:36:11] Production.INFO: ==20249== Releasing lock... [2025-03-09 06:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:36:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:36:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:36:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:36:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:36:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:36:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:36:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:36:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:36:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:36:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:36:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:36:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:36:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:36:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:36:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:36:14] Production.INFO: call_cost start [2025-03-09 06:36:14] Production.INFO: call_cost end [2025-03-09 06:36:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:36:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:36:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:36:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:36:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:36:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:36:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:36:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:36:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:36:15] Production.INFO: ==20245== Releasing lock... [2025-03-09 06:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:36:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:36:16] Production.INFO: count ==582 [2025-03-09 06:36:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:36:04 - End Time 2025-03-09 06:36:04 [2025-03-09 06:36:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640389', 'tblTempUsageDetail_20' ) start [2025-03-09 06:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640389', 'tblTempUsageDetail_20' ) end [2025-03-09 06:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640389', 'tblTempVendorCDR_20' ) start [2025-03-09 06:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640389', 'tblTempVendorCDR_20' ) end [2025-03-09 06:36:17] Production.INFO: ProcessCDR(1,14640389,1,1,2) [2025-03-09 06:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640389', 'tblTempUsageDetail_20' ) start [2025-03-09 06:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640389', 'tblTempUsageDetail_20' ) end [2025-03-09 06:36:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:36:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:36:20] Production.INFO: ==20253== Releasing lock... [2025-03-09 06:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:36:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:37:02] Production.INFO: ==20350== Lock acquired, processing the job... [2025-03-09 10:37:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:37:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:37:02] Production.INFO: neon service started [2025-03-09 10:37:02] Production.INFO: neon service started [2025-03-09 10:37:02] Production.INFO: ==20350== Releasing lock... [2025-03-09 10:37:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:37:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:37:02] Production.INFO: ==20352== Lock acquired, processing the job... [2025-03-09 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:37:02] Production.INFO: ==20352== Releasing lock... [2025-03-09 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:37:02] Production.INFO: ==20354== Lock acquired, processing the job... [2025-03-09 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:37:03] Production.INFO: ==20354== Releasing lock... [2025-03-09 10:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:37:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:37:03] Production.INFO: ==20365== Lock acquired, processing the job... [2025-03-09 06:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:37:03] Production.INFO: ==20367== Lock acquired, processing the job... [2025-03-09 06:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:37:04] Production.INFO: ==20359== Lock acquired, processing the job... [2025-03-09 06:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:37:04] Production.INFO: ==20357== Lock acquired, processing the job... [2025-03-09 06:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:37:04] Production.INFO: ==20361== Lock acquired, processing the job... [2025-03-09 06:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:37:04] Production.INFO: count ==13 [2025-03-09 06:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:37:04] Production.INFO: count ==21 [2025-03-09 06:37:04] Production.INFO: ==20363== Lock acquired, processing the job... [2025-03-09 06:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640390') start [2025-03-09 06:37:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640390') end [2025-03-09 06:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:37:04] Production.INFO: 1 [2025-03-09 06:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:37:04] Production.INFO: Account Balance Start. [2025-03-09 06:37:04] Production.INFO: CreateAllLog Start [2025-03-09 06:37:04] Production.INFO: 117 [2025-03-09 06:37:04] Production.INFO: ==20367== Releasing lock... [2025-03-09 06:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:37:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:37:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:37:04] Production.INFO: Total Charge 0 [2025-03-09 06:37:04] Production.INFO: CreateAllLog End [2025-03-09 06:37:04] Production.INFO: ==20359== Releasing lock... [2025-03-09 06:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:37:04] Production.ERROR: done [2025-03-09 06:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:37:04] Production.ERROR: done [2025-03-09 06:37:04] Production.INFO: Account Balance End. [2025-03-09 06:37:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:37:04] Production.INFO: ==20363== Releasing lock... [2025-03-09 06:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:37:05 [end_date_ymd] => 2025-03-09 06:37:05 [RateCDR] => 1 ) [2025-03-09 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-09 03:37:05' and `end` < '2025-03-09 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-09 06:37:12] Production.ERROR: CronJobId end10 [2025-03-09 06:37:12] Production.INFO: ==20361== Releasing lock... [2025-03-09 06:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:37:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:37:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:37:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:37:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:37:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:37:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:37:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:37:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:37:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:37:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:37:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:37:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:37:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:37:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:37:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:37:14] Production.INFO: call_cost start [2025-03-09 06:37:14] Production.INFO: call_cost end [2025-03-09 06:37:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:37:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:37:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:37:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:37:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:37:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:37:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:37:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:37:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:37:15] Production.INFO: ==20357== Releasing lock... [2025-03-09 06:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:37:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:37:18] Production.INFO: count ==580 [2025-03-09 06:37:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:37:05 - End Time 2025-03-09 06:37:05 [2025-03-09 06:37:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640394', 'tblTempUsageDetail_20' ) start [2025-03-09 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640394', 'tblTempUsageDetail_20' ) end [2025-03-09 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640394', 'tblTempVendorCDR_20' ) start [2025-03-09 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640394', 'tblTempVendorCDR_20' ) end [2025-03-09 06:37:18] Production.INFO: ProcessCDR(1,14640394,1,1,2) [2025-03-09 06:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640394', 'tblTempUsageDetail_20' ) start [2025-03-09 06:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640394', 'tblTempUsageDetail_20' ) end [2025-03-09 06:37:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:37:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:37:21] Production.INFO: ==20365== Releasing lock... [2025-03-09 06:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:37:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:38:01] Production.INFO: ==20424== Lock acquired, processing the job... [2025-03-09 10:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:38:01] Production.INFO: neon service started [2025-03-09 10:38:01] Production.INFO: neon service started [2025-03-09 10:38:01] Production.INFO: ==20424== Releasing lock... [2025-03-09 10:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:38:01] Production.INFO: ==20426== Lock acquired, processing the job... [2025-03-09 06:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:38:02] Production.INFO: ==20426== Releasing lock... [2025-03-09 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:38:02] Production.INFO: ==20428== Lock acquired, processing the job... [2025-03-09 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:38:02] Production.INFO: ==20428== Releasing lock... [2025-03-09 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:38:03] Production.INFO: ==20435== Lock acquired, processing the job... [2025-03-09 06:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:38:03] Production.INFO: ==20433== Lock acquired, processing the job... [2025-03-09 06:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:38:03] Production.INFO: ==20437== Lock acquired, processing the job... [2025-03-09 06:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:38:03] Production.INFO: Account Balance Start. [2025-03-09 06:38:03] Production.INFO: CreateAllLog Start [2025-03-09 06:38:03] Production.INFO: 117 [2025-03-09 06:38:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:38:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:38:03] Production.INFO: Total Charge 0 [2025-03-09 06:38:03] Production.INFO: ==20433== Releasing lock... [2025-03-09 06:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:38:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:38:03] Production.INFO: ==20431== Lock acquired, processing the job... [2025-03-09 06:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:38:03] Production.INFO: CreateAllLog End [2025-03-09 06:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:38:03] Production.INFO: ==20439== Lock acquired, processing the job... [2025-03-09 06:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:38:03] Production.INFO: ==20441== Lock acquired, processing the job... [2025-03-09 06:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:38:03] Production.INFO: Account Balance End. [2025-03-09 06:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:38:03] Production.ERROR: CronJobId end 12 [2025-03-09 06:38:03] Production.INFO: ==20437== Releasing lock... [2025-03-09 06:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:38:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:38:03] Production.INFO: count ==13 [2025-03-09 06:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:38:03] Production.INFO: count ==21 [2025-03-09 06:38:03] Production.ERROR: done [2025-03-09 06:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640398') start [2025-03-09 06:38:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640398') end [2025-03-09 06:38:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:38:03] Production.INFO: 1 [2025-03-09 06:38:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:38:04] Production.INFO: ==20441== Releasing lock... [2025-03-09 06:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:38:04] Production.ERROR: done [2025-03-09 06:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:38:05 [end_date_ymd] => 2025-03-09 06:38:05 [RateCDR] => 1 ) [2025-03-09 06:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:38:05' and `end` < '2025-03-09 06:38:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:38:11] Production.ERROR: CronJobId end10 [2025-03-09 06:38:11] Production.INFO: ==20435== Releasing lock... [2025-03-09 06:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:38:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:38:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:38:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:38:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:38:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:38:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:38:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:38:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:38:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:38:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:38:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:38:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:38:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:38:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:38:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:38:12] Production.INFO: call_cost start [2025-03-09 06:38:12] Production.INFO: call_cost end [2025-03-09 06:38:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:38:13] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:38:13] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:38:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:38:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:38:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:38:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:38:13] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:38:13] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:38:13] Production.INFO: ==20431== Releasing lock... [2025-03-09 06:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:38:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:38:17] Production.INFO: count ==579 [2025-03-09 06:38:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:38:05 - End Time 2025-03-09 06:38:05 [2025-03-09 06:38:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640399', 'tblTempUsageDetail_20' ) start [2025-03-09 06:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640399', 'tblTempUsageDetail_20' ) end [2025-03-09 06:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640399', 'tblTempVendorCDR_20' ) start [2025-03-09 06:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640399', 'tblTempVendorCDR_20' ) end [2025-03-09 06:38:17] Production.INFO: ProcessCDR(1,14640399,1,1,2) [2025-03-09 06:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:38:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640399', 'tblTempUsageDetail_20' ) start [2025-03-09 06:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640399', 'tblTempUsageDetail_20' ) end [2025-03-09 06:38:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:38:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:38:20] Production.INFO: ==20439== Releasing lock... [2025-03-09 06:38:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:38:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 10:39:01] Production.INFO: ==20498== Lock acquired, processing the job... [2025-03-09 10:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:39:01] Production.INFO: neon service started [2025-03-09 10:39:01] Production.INFO: neon service started [2025-03-09 10:39:01] Production.INFO: ==20498== Releasing lock... [2025-03-09 10:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:39:02] Production.INFO: ==20500== Lock acquired, processing the job... [2025-03-09 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:39:02] Production.INFO: ==20502== Lock acquired, processing the job... [2025-03-09 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:39:02] Production.INFO: ==20502== Releasing lock... [2025-03-09 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:39:03] Production.INFO: ==20500== Releasing lock... [2025-03-09 06:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:39:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:39:03] Production.INFO: ==20505== Lock acquired, processing the job... [2025-03-09 06:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:39:03] Production.INFO: ==20509== Lock acquired, processing the job... [2025-03-09 06:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:39:03] Production.INFO: ==20513== Lock acquired, processing the job... [2025-03-09 06:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:39:04] Production.INFO: ==20507== Lock acquired, processing the job... [2025-03-09 06:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:39:04] Production.INFO: ==20515== Lock acquired, processing the job... [2025-03-09 06:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:39:04] Production.INFO: ==20511== Lock acquired, processing the job... [2025-03-09 06:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:39:04] Production.INFO: Account Balance Start. [2025-03-09 06:39:04] Production.INFO: CreateAllLog Start [2025-03-09 06:39:04] Production.INFO: 117 [2025-03-09 06:39:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:39:04] Production.INFO: count ==13 [2025-03-09 06:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:39:04] Production.INFO: count ==21 [2025-03-09 06:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640401') start [2025-03-09 06:39:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:39:04] Production.ERROR: done [2025-03-09 06:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640401') end [2025-03-09 06:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:39:04] Production.INFO: 1 [2025-03-09 06:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:39:04] Production.INFO: Total Charge 0 [2025-03-09 06:39:04] Production.INFO: CreateAllLog End [2025-03-09 06:39:04] Production.ERROR: done [2025-03-09 06:39:04] Production.INFO: ==20515== Releasing lock... [2025-03-09 06:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:39:04] Production.INFO: ==20507== Releasing lock... [2025-03-09 06:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:39:04] Production.INFO: Account Balance End. [2025-03-09 06:39:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:39:04] Production.INFO: ==20511== Releasing lock... [2025-03-09 06:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:39:05 [end_date_ymd] => 2025-03-09 06:39:05 [RateCDR] => 1 ) [2025-03-09 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-09 03:39:05' and `end` < '2025-03-09 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-09 06:39:12] Production.ERROR: CronJobId end10 [2025-03-09 06:39:12] Production.INFO: ==20509== Releasing lock... [2025-03-09 06:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:39:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:39:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:39:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:39:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:39:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:39:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:39:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:39:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:39:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:39:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:39:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:39:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:39:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:39:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:39:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:39:14] Production.INFO: call_cost start [2025-03-09 06:39:14] Production.INFO: call_cost end [2025-03-09 06:39:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:39:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:39:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:39:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:39:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:39:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:39:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:39:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:39:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:39:15] Production.INFO: ==20505== Releasing lock... [2025-03-09 06:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:39:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:39:17] Production.INFO: count ==578 [2025-03-09 06:39:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:39:05 - End Time 2025-03-09 06:39:05 [2025-03-09 06:39:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640404', 'tblTempUsageDetail_20' ) start [2025-03-09 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640404', 'tblTempUsageDetail_20' ) end [2025-03-09 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640404', 'tblTempVendorCDR_20' ) start [2025-03-09 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640404', 'tblTempVendorCDR_20' ) end [2025-03-09 06:39:18] Production.INFO: ProcessCDR(1,14640404,1,1,2) [2025-03-09 06:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640404', 'tblTempUsageDetail_20' ) start [2025-03-09 06:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640404', 'tblTempUsageDetail_20' ) end [2025-03-09 06:39:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:39:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:39:21] Production.INFO: ==20513== Releasing lock... [2025-03-09 06:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:39:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:40:01] Production.INFO: ==20572== Lock acquired, processing the job... [2025-03-09 10:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:40:01] Production.INFO: neon service started [2025-03-09 10:40:01] Production.INFO: neon service started [2025-03-09 10:40:01] Production.INFO: ==20572== Releasing lock... [2025-03-09 10:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:40:01] Production.INFO: ==20576== Lock acquired, processing the job... [2025-03-09 10:40:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:40:01] Production.INFO: ==20576== Releasing lock... [2025-03-09 10:40:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:40:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:40:01] Production.INFO: ==20574== Lock acquired, processing the job... [2025-03-09 06:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:40:02] Production.INFO: ==20574== Releasing lock... [2025-03-09 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:40:03] Production.INFO: ==20583== Lock acquired, processing the job... [2025-03-09 06:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:40:03] Production.INFO: ==20587== Lock acquired, processing the job... [2025-03-09 06:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:40:03] Production.INFO: ==20579== Lock acquired, processing the job... [2025-03-09 06:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 06:40:03] Production.INFO: Account Balance Start. [2025-03-09 06:40:03] Production.INFO: CreateAllLog Start [2025-03-09 06:40:03] Production.INFO: 117 [2025-03-09 06:40:03] Production.INFO: ==20593== Lock acquired, processing the job... [2025-03-09 06:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:40:03] Production.INFO: ==20581== Lock acquired, processing the job... [2025-03-09 06:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:40:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:40:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:40:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:40:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:40:03] Production.INFO: ==20585== Lock acquired, processing the job... [2025-03-09 06:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 06:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 06:40:03] Production.ERROR: CronJob PID - 20581 [2025-03-09 06:40:03] Production.ERROR: CronJob Title - System Alerts [2025-03-09 06:40:03] Production.ERROR: CronJob ID - 5 [2025-03-09 06:40:03] Production.ERROR: CronJob Last Run Time 2025-03-09 06:40:00 [2025-03-09 06:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 06:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 06:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 06:40:03] Production.ERROR: CronJob PID - 20583 [2025-03-09 06:40:03] Production.ERROR: CronJob Title - Account Block [2025-03-09 06:40:03] Production.ERROR: CronJob ID - 7 [2025-03-09 06:40:03] Production.ERROR: CronJob Last Run Time 2025-03-09 06:40:00 [2025-03-09 06:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 06:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 06:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 06:40:03] Production.ERROR: CronJob PID - 20587 [2025-03-09 06:40:03] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 06:40:03] Production.ERROR: CronJob ID - 12 [2025-03-09 06:40:03] Production.ERROR: CronJob Last Run Time 2025-03-09 06:40:00 [2025-03-09 06:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 06:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 06:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 06:40:03] Production.ERROR: CronJob PID - 20593 [2025-03-09 06:40:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 06:40:03] Production.ERROR: CronJob ID - 19 [2025-03-09 06:40:03] Production.ERROR: CronJob Last Run Time 2025-03-09 06:40:00 [2025-03-09 06:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 06:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 06:40:03] Production.INFO: ==20589== Lock acquired, processing the job... [2025-03-09 06:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:40:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 06:40:03] Production.INFO: ==20579== Releasing lock... [2025-03-09 06:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 06:40:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 06:40:03] Production.INFO: Total Charge 0 [2025-03-09 06: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-09 06:40:03] Production.INFO: ==20591== Lock acquired, processing the job... [2025-03-09 06:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 06:40:03] Production.INFO: CreateAllLog End [2025-03-09 06:40:03] Production.INFO: count ==13 [2025-03-09 06:40:03] Production.INFO: ==20583== Releasing lock... [2025-03-09 06:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:40:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:40:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06: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-09 06:40:03] Production.INFO: Account Balance End. [2025-03-09 06:40:03] Production.INFO: count ==21 [2025-03-09 06:40:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640407') start [2025-03-09 06:40:03] Production.ERROR: CronJobId end 12 [2025-03-09 06:40:03] Production.INFO: ==20587== Releasing lock... [2025-03-09 06:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:40:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640407') end [2025-03-09 06:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:40:04] Production.INFO: 1 [2025-03-09 06:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:40:04] Production.INFO: ==20593== Releasing lock... [2025-03-09 06:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:40:04] Production.ERROR: done [2025-03-09 06:40:04] Production.ERROR: done [2025-03-09 06:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 06:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640409', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 06:40:04] Production.ERROR: done [2025-03-09 06:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:40:05 [end_date_ymd] => 2025-03-09 06:40:05 [RateCDR] => 1 ) [2025-03-09 06:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:40:05' and `end` < '2025-03-09 06:40:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640409', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 06:40:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 06:40:08] Production.INFO: ProcessCDR(1,14640409,1,1,2) [2025-03-09 06:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14640409,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14640409,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:40:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:40:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:40:09] Production.INFO: ==20591== Releasing lock... [2025-03-09 06:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 06:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 06:40:12] Production.ERROR: CronJobId end10 [2025-03-09 06:40:12] Production.INFO: ==20585== Releasing lock... [2025-03-09 06:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:40:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:40:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:40:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:40:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:40:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:40:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:40:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:40:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:40:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:40:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:40:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:40:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:40:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:40:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:40:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:40:15] Production.INFO: call_cost start [2025-03-09 06:40:15] Production.INFO: call_cost end [2025-03-09 06:40:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:40:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:40:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:40:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:40:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:40:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:40:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:40:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:40:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:40:16] Production.INFO: ==20581== Releasing lock... [2025-03-09 06:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:40:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:40:17] Production.INFO: count ==576 [2025-03-09 06:40:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:40:05 - End Time 2025-03-09 06:40:05 [2025-03-09 06:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640410', 'tblTempUsageDetail_20' ) start [2025-03-09 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640410', 'tblTempUsageDetail_20' ) end [2025-03-09 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640410', 'tblTempVendorCDR_20' ) start [2025-03-09 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640410', 'tblTempVendorCDR_20' ) end [2025-03-09 06:40:18] Production.INFO: ProcessCDR(1,14640410,1,1,2) [2025-03-09 06:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640410', 'tblTempUsageDetail_20' ) start [2025-03-09 06:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640410', 'tblTempUsageDetail_20' ) end [2025-03-09 06:40:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:40:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:40:21] Production.INFO: ==20589== Releasing lock... [2025-03-09 06:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:40:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 10:41:01] Production.INFO: ==20654== Lock acquired, processing the job... [2025-03-09 10:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:41:01] Production.INFO: neon service started [2025-03-09 10:41:01] Production.INFO: neon service started [2025-03-09 10:41:01] Production.INFO: ==20654== Releasing lock... [2025-03-09 10:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:41:02] Production.INFO: ==20656== Lock acquired, processing the job... [2025-03-09 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:41:02] Production.INFO: ==20656== Releasing lock... [2025-03-09 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:41:02] Production.INFO: ==20658== Lock acquired, processing the job... [2025-03-09 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:41:02] Production.INFO: ==20658== Releasing lock... [2025-03-09 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:41:03] Production.INFO: ==20665== Lock acquired, processing the job... [2025-03-09 06:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:41:03] Production.INFO: ==20661== Lock acquired, processing the job... [2025-03-09 06:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:41:03] Production.INFO: ==20667== Lock acquired, processing the job... [2025-03-09 06:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:41:03] Production.INFO: ==20663== Lock acquired, processing the job... [2025-03-09 06:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:41:03] Production.INFO: Account Balance Start. [2025-03-09 06:41:03] Production.INFO: CreateAllLog Start [2025-03-09 06:41:03] Production.INFO: 117 [2025-03-09 06:41:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:41:03] Production.INFO: ==20669== Lock acquired, processing the job... [2025-03-09 06:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:41:03] Production.INFO: ==20671== Lock acquired, processing the job... [2025-03-09 06:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:41:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:41:03] Production.INFO: Total Charge 0 [2025-03-09 06:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:41:03] Production.INFO: CreateAllLog End [2025-03-09 06:41:03] Production.INFO: ==20663== Releasing lock... [2025-03-09 06:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:41:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:41:03] Production.INFO: count ==13 [2025-03-09 06:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:41:03] Production.INFO: count ==21 [2025-03-09 06:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640414') start [2025-03-09 06:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640414') end [2025-03-09 06:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:41:04] Production.INFO: 1 [2025-03-09 06:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:41:04] Production.INFO: Account Balance End. [2025-03-09 06:41:04] Production.INFO: ==20671== Releasing lock... [2025-03-09 06:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:41:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:41:04] Production.INFO: ==20667== Releasing lock... [2025-03-09 06:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:41:04] Production.ERROR: done [2025-03-09 06:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:41:04] Production.ERROR: done [2025-03-09 06:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:41:05 [end_date_ymd] => 2025-03-09 06:41:05 [RateCDR] => 1 ) [2025-03-09 06:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:41:05' and `end` < '2025-03-09 06:41:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:41:12] Production.ERROR: CronJobId end10 [2025-03-09 06:41:12] Production.INFO: ==20665== Releasing lock... [2025-03-09 06:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:41:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:41:14] Production.INFO: call_cost start [2025-03-09 06:41:14] Production.INFO: call_cost end [2025-03-09 06:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:41:15] Production.INFO: ==20661== Releasing lock... [2025-03-09 06:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:41:17] Production.INFO: count ==576 [2025-03-09 06:41:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:41:05 - End Time 2025-03-09 06:41:05 [2025-03-09 06:41:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640415', 'tblTempUsageDetail_20' ) start [2025-03-09 06:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640415', 'tblTempUsageDetail_20' ) end [2025-03-09 06:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640415', 'tblTempVendorCDR_20' ) start [2025-03-09 06:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640415', 'tblTempVendorCDR_20' ) end [2025-03-09 06:41:17] Production.INFO: ProcessCDR(1,14640415,1,1,2) [2025-03-09 06:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640415', 'tblTempUsageDetail_20' ) start [2025-03-09 06:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640415', 'tblTempUsageDetail_20' ) end [2025-03-09 06:41:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:41:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:41:21] Production.INFO: ==20669== Releasing lock... [2025-03-09 06:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:41:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 10:42:02] Production.INFO: ==20726== Lock acquired, processing the job... [2025-03-09 10:42:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:42:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:42:02] Production.INFO: neon service started [2025-03-09 10:42:02] Production.INFO: neon service started [2025-03-09 10:42:02] Production.INFO: ==20726== Releasing lock... [2025-03-09 10:42:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:42:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:42:02] Production.INFO: ==20728== Lock acquired, processing the job... [2025-03-09 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:42:02] Production.INFO: ==20728== Releasing lock... [2025-03-09 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:42:03] Production.INFO: ==20730== Lock acquired, processing the job... [2025-03-09 10:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:42:03] Production.INFO: ==20730== Releasing lock... [2025-03-09 10:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:42:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:42:03] Production.INFO: ==20739== Lock acquired, processing the job... [2025-03-09 06:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:42:03] Production.INFO: Account Balance Start. [2025-03-09 06:42:03] Production.INFO: CreateAllLog Start [2025-03-09 06:42:03] Production.INFO: 117 [2025-03-09 06:42:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:42:03] Production.INFO: ==20743== Lock acquired, processing the job... [2025-03-09 06:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:42:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:42:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:42:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:42:03] Production.INFO: Total Charge 0 [2025-03-09 06:42:03] Production.INFO: CreateAllLog End [2025-03-09 06:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:42:03] Production.INFO: count ==13 [2025-03-09 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-09 06:42:04] Production.INFO: count ==21 [2025-03-09 06:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640417') start [2025-03-09 06:42:04] Production.INFO: ==20733== Lock acquired, processing the job... [2025-03-09 06:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:42:04] Production.INFO: ==20735== Lock acquired, processing the job... [2025-03-09 06:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:42:04] Production.INFO: Account Balance End. [2025-03-09 06:42:04] Production.INFO: ==20737== Lock acquired, processing the job... [2025-03-09 06:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640417') end [2025-03-09 06:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:42:04] Production.INFO: 1 [2025-03-09 06:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:42:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:42:04] Production.INFO: ==20739== Releasing lock... [2025-03-09 06:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:42:04] Production.INFO: ==20741== Lock acquired, processing the job... [2025-03-09 06:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:42:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:42:04] Production.INFO: ==20743== Releasing lock... [2025-03-09 06:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:42:04] Production.ERROR: done [2025-03-09 06:42:04] Production.INFO: ==20735== Releasing lock... [2025-03-09 06:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:42:04] Production.ERROR: done [2025-03-09 06:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:42:05 [end_date_ymd] => 2025-03-09 06:42:05 [RateCDR] => 1 ) [2025-03-09 06:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:42:05' and `end` < '2025-03-09 06:42:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:42:11] Production.ERROR: CronJobId end10 [2025-03-09 06:42:11] Production.INFO: ==20737== Releasing lock... [2025-03-09 06:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:42:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:42:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:42:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:42:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:42:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:42:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:42:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:42:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:42:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:42:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:42:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:42:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:42:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:42:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:42:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:42:13] Production.INFO: call_cost start [2025-03-09 06:42:13] Production.INFO: call_cost end [2025-03-09 06:42:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:42:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:42:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:42:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:42:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:42:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:42:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:42:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:42:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:42:14] Production.INFO: ==20733== Releasing lock... [2025-03-09 06:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:42:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:42:17] Production.INFO: count ==576 [2025-03-09 06:42:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:42:05 - End Time 2025-03-09 06:42:05 [2025-03-09 06:42:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640420', 'tblTempUsageDetail_20' ) start [2025-03-09 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640420', 'tblTempUsageDetail_20' ) end [2025-03-09 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640420', 'tblTempVendorCDR_20' ) start [2025-03-09 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640420', 'tblTempVendorCDR_20' ) end [2025-03-09 06:42:18] Production.INFO: ProcessCDR(1,14640420,1,1,2) [2025-03-09 06:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640420', 'tblTempUsageDetail_20' ) start [2025-03-09 06:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640420', 'tblTempUsageDetail_20' ) end [2025-03-09 06:42:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:42:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:42:21] Production.INFO: ==20741== Releasing lock... [2025-03-09 06:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:42:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 10:43:01] Production.INFO: ==20798== Lock acquired, processing the job... [2025-03-09 10:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:43:01] Production.INFO: neon service started [2025-03-09 10:43:01] Production.INFO: neon service started [2025-03-09 10:43:01] Production.INFO: ==20798== Releasing lock... [2025-03-09 10:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:43:01] Production.INFO: ==20800== Lock acquired, processing the job... [2025-03-09 06:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:43:02] Production.INFO: ==20800== Releasing lock... [2025-03-09 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:43:02] Production.INFO: ==20802== Lock acquired, processing the job... [2025-03-09 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:43:02] Production.INFO: ==20802== Releasing lock... [2025-03-09 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:43:03] Production.INFO: ==20811== Lock acquired, processing the job... [2025-03-09 06:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:43:03] Production.INFO: ==20805== Lock acquired, processing the job... [2025-03-09 06:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:43:03] Production.INFO: ==20815== Lock acquired, processing the job... [2025-03-09 06:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:43:03] Production.INFO: Account Balance Start. [2025-03-09 06:43:03] Production.INFO: CreateAllLog Start [2025-03-09 06:43:03] Production.INFO: ==20809== Lock acquired, processing the job... [2025-03-09 06:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:43:03] Production.INFO: 117 [2025-03-09 06:43:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:43:03] Production.INFO: ==20807== Lock acquired, processing the job... [2025-03-09 06:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:43:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:43:03] Production.INFO: Total Charge 0 [2025-03-09 06:43:03] Production.INFO: count ==13 [2025-03-09 06:43:03] Production.INFO: CreateAllLog End [2025-03-09 06:43:03] Production.INFO: ==20813== Lock acquired, processing the job... [2025-03-09 06:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:43:03] Production.INFO: count ==21 [2025-03-09 06:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640423') start [2025-03-09 06:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640423') end [2025-03-09 06:43:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:43:03] Production.INFO: 1 [2025-03-09 06:43:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:43:03] Production.INFO: Account Balance End. [2025-03-09 06:43:03] Production.ERROR: CronJobId end 12 [2025-03-09 06:43:03] Production.INFO: ==20811== Releasing lock... [2025-03-09 06:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:43:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:43:03] Production.INFO: ==20815== Releasing lock... [2025-03-09 06:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:43:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:43:03] Production.INFO: ==20807== Releasing lock... [2025-03-09 06:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:43:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:43:04] Production.ERROR: done [2025-03-09 06:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:43:04] Production.ERROR: done [2025-03-09 06:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:43:05 [end_date_ymd] => 2025-03-09 06:43:05 [RateCDR] => 1 ) [2025-03-09 06:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:43:05' and `end` < '2025-03-09 06:43:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:43:11] Production.ERROR: CronJobId end10 [2025-03-09 06:43:11] Production.INFO: ==20809== Releasing lock... [2025-03-09 06:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:43:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:43:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:43:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:43:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:43:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:43:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:43:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:43:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:43:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:43:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:43:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:43:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:43:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:43:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:43:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:43:14] Production.INFO: call_cost start [2025-03-09 06:43:14] Production.INFO: call_cost end [2025-03-09 06:43:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:43:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:43:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:43:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:43:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:43:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:43:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:43:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:43:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:43:15] Production.INFO: ==20805== Releasing lock... [2025-03-09 06:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:43:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:43:17] Production.INFO: count ==573 [2025-03-09 06:43:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:43:05 - End Time 2025-03-09 06:43:05 [2025-03-09 06:43:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640425', 'tblTempUsageDetail_20' ) start [2025-03-09 06:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640425', 'tblTempUsageDetail_20' ) end [2025-03-09 06:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640425', 'tblTempVendorCDR_20' ) start [2025-03-09 06:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640425', 'tblTempVendorCDR_20' ) end [2025-03-09 06:43:17] Production.INFO: ProcessCDR(1,14640425,1,1,2) [2025-03-09 06:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:43:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640425', 'tblTempUsageDetail_20' ) start [2025-03-09 06:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640425', 'tblTempUsageDetail_20' ) end [2025-03-09 06:43:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:43:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:43:20] Production.INFO: ==20813== Releasing lock... [2025-03-09 06:43:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:43:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 10:44:02] Production.INFO: ==20869== Lock acquired, processing the job... [2025-03-09 10:44:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:44:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:44:02] Production.INFO: neon service started [2025-03-09 10:44:02] Production.INFO: neon service started [2025-03-09 10:44:02] Production.INFO: ==20869== Releasing lock... [2025-03-09 10:44:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:44:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:44:02] Production.INFO: ==20871== Lock acquired, processing the job... [2025-03-09 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:44:02] Production.INFO: ==20873== Lock acquired, processing the job... [2025-03-09 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:44:02] Production.INFO: ==20873== Releasing lock... [2025-03-09 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:44:03] Production.INFO: ==20871== Releasing lock... [2025-03-09 06:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:44:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:44:03] Production.INFO: ==20882== Lock acquired, processing the job... [2025-03-09 06:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:44:04] Production.INFO: ==20886== Lock acquired, processing the job... [2025-03-09 06:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:44:04] Production.INFO: Account Balance Start. [2025-03-09 06:44:04] Production.INFO: CreateAllLog Start [2025-03-09 06:44:04] Production.INFO: 117 [2025-03-09 06:44:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:44:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 06:44:04] Production.INFO: Total Charge 0 [2025-03-09 06:44:04] Production.INFO: count ==13 [2025-03-09 06:44:04] Production.INFO: ==20876== Lock acquired, processing the job... [2025-03-09 06:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:44:04] Production.INFO: CreateAllLog End [2025-03-09 06:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:44:04] Production.INFO: ==20878== Lock acquired, processing the job... [2025-03-09 06:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:44:04] Production.INFO: count ==21 [2025-03-09 06:44:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640427') start [2025-03-09 06:44:04] Production.INFO: ==20880== Lock acquired, processing the job... [2025-03-09 06:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:44:04] Production.INFO: Account Balance End. [2025-03-09 06:44:04] Production.INFO: ==20884== Lock acquired, processing the job... [2025-03-09 06:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:44:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:44:04] Production.INFO: ==20882== Releasing lock... [2025-03-09 06:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640427') end [2025-03-09 06:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:44:04] Production.INFO: 1 [2025-03-09 06:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:44:04] Production.INFO: ==20886== Releasing lock... [2025-03-09 06:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:44:04] Production.INFO: ==20878== Releasing lock... [2025-03-09 06:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:44:04] Production.ERROR: done [2025-03-09 06:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:44:05] Production.ERROR: done [2025-03-09 06:44:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:44:06 [end_date_ymd] => 2025-03-09 06:44:06 [RateCDR] => 1 ) [2025-03-09 06:44:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:44:06' and `end` < '2025-03-09 06:44:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:44:12] Production.ERROR: CronJobId end10 [2025-03-09 06:44:12] Production.INFO: ==20880== Releasing lock... [2025-03-09 06:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:44:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:44:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:44:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:44:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:44:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:44:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:44:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:44:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:44:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:44:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:44:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:44:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:44:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:44:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:44:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:44:14] Production.INFO: call_cost start [2025-03-09 06:44:14] Production.INFO: call_cost end [2025-03-09 06:44:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:44:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:44:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:44:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:44:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:44:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:44:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:44:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:44:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:44:15] Production.INFO: ==20876== Releasing lock... [2025-03-09 06:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:44:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:44:18] Production.INFO: count ==573 [2025-03-09 06:44:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:44:06 - End Time 2025-03-09 06:44:06 [2025-03-09 06:44:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640430', 'tblTempUsageDetail_20' ) start [2025-03-09 06:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640430', 'tblTempUsageDetail_20' ) end [2025-03-09 06:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640430', 'tblTempVendorCDR_20' ) start [2025-03-09 06:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640430', 'tblTempVendorCDR_20' ) end [2025-03-09 06:44:18] Production.INFO: ProcessCDR(1,14640430,1,1,2) [2025-03-09 06:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640430', 'tblTempUsageDetail_20' ) start [2025-03-09 06:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640430', 'tblTempUsageDetail_20' ) end [2025-03-09 06:44:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:44:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:44:21] Production.INFO: ==20884== Releasing lock... [2025-03-09 06:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:44:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 10:45:01] Production.INFO: ==20942== Lock acquired, processing the job... [2025-03-09 10:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:45:01] Production.INFO: neon service started [2025-03-09 10:45:01] Production.INFO: neon service started [2025-03-09 10:45:01] Production.INFO: ==20942== Releasing lock... [2025-03-09 10:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:45:02] Production.INFO: ==20944== Lock acquired, processing the job... [2025-03-09 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:45:02] Production.INFO: ==20946== Lock acquired, processing the job... [2025-03-09 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:45:02] Production.INFO: ==20946== Releasing lock... [2025-03-09 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:45:02] Production.INFO: ==20944== Releasing lock... [2025-03-09 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:45:03] Production.INFO: ==20951== Lock acquired, processing the job... [2025-03-09 06:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:45:03] Production.INFO: ==20953== Lock acquired, processing the job... [2025-03-09 06:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:45:03] Production.INFO: ==20949== Lock acquired, processing the job... [2025-03-09 06:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:45:03] Production.INFO: ==20955== Lock acquired, processing the job... [2025-03-09 06:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:45:03] Production.INFO: ==20957== Lock acquired, processing the job... [2025-03-09 06:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:45:03] Production.INFO: Account Balance Start. [2025-03-09 06:45:03] Production.INFO: CreateAllLog Start [2025-03-09 06:45:03] Production.INFO: 117 [2025-03-09 06:45:03] Production.INFO: ==20951== Releasing lock... [2025-03-09 06:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:45:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:45:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:45:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:45:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:45:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:45:03] Production.INFO: Total Charge 0 [2025-03-09 06:45:03] Production.INFO: ==20959== Lock acquired, processing the job... [2025-03-09 06:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:45:03] Production.INFO: CreateAllLog End [2025-03-09 06:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:45:04] Production.INFO: count ==13 [2025-03-09 06:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:45:04] Production.INFO: count ==21 [2025-03-09 06:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640434') start [2025-03-09 06:45:04] Production.ERROR: done [2025-03-09 06:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640434') end [2025-03-09 06:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:45:04] Production.INFO: 1 [2025-03-09 06:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:45:04] Production.INFO: ==20959== Releasing lock... [2025-03-09 06:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:45:04] Production.INFO: Account Balance End. [2025-03-09 06:45:04] Production.ERROR: done [2025-03-09 06:45:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:45:04] Production.INFO: ==20955== Releasing lock... [2025-03-09 06:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:45:05 [end_date_ymd] => 2025-03-09 06:45:05 [RateCDR] => 1 ) [2025-03-09 06:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:45:05' and `end` < '2025-03-09 06:45:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:45:11] Production.ERROR: CronJobId end10 [2025-03-09 06:45:11] Production.INFO: ==20953== Releasing lock... [2025-03-09 06:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:45:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:45:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:45:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:45:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:45:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:45:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:45:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:45:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:45:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:45:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:45:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:45:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:45:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:45:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:45:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:45:14] Production.INFO: call_cost start [2025-03-09 06:45:14] Production.INFO: call_cost end [2025-03-09 06:45:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:45:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:45:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:45:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:45:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:45:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:45:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:45:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:45:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:45:15] Production.INFO: ==20949== Releasing lock... [2025-03-09 06:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:45:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:45:17] Production.INFO: count ==572 [2025-03-09 06:45:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:45:05 - End Time 2025-03-09 06:45:05 [2025-03-09 06:45:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640435', 'tblTempUsageDetail_20' ) start [2025-03-09 06:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640435', 'tblTempUsageDetail_20' ) end [2025-03-09 06:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640435', 'tblTempVendorCDR_20' ) start [2025-03-09 06:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640435', 'tblTempVendorCDR_20' ) end [2025-03-09 06:45:17] Production.INFO: ProcessCDR(1,14640435,1,1,2) [2025-03-09 06:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640435', 'tblTempUsageDetail_20' ) start [2025-03-09 06:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640435', 'tblTempUsageDetail_20' ) end [2025-03-09 06:45:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:45:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:45:21] Production.INFO: ==20957== Releasing lock... [2025-03-09 06:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:45:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:46:01] Production.INFO: ==21018== Lock acquired, processing the job... [2025-03-09 10:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:46:01] Production.INFO: neon service started [2025-03-09 10:46:01] Production.INFO: neon service started [2025-03-09 10:46:02] Production.INFO: ==21018== Releasing lock... [2025-03-09 10:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:46:02] Production.INFO: ==21022== Lock acquired, processing the job... [2025-03-09 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:46:02] Production.INFO: ==21022== Releasing lock... [2025-03-09 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:46:02] Production.INFO: ==21020== Lock acquired, processing the job... [2025-03-09 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:46:02] Production.INFO: ==21020== Releasing lock... [2025-03-09 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:46:03] Production.INFO: ==21025== Lock acquired, processing the job... [2025-03-09 06:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:46:03] Production.INFO: ==21027== Lock acquired, processing the job... [2025-03-09 06:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:46:03] Production.INFO: ==21029== Lock acquired, processing the job... [2025-03-09 06:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:46:03] Production.INFO: ==21033== Lock acquired, processing the job... [2025-03-09 06:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:46:03] Production.INFO: ==21031== Lock acquired, processing the job... [2025-03-09 06:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:46:03] Production.INFO: ==21027== Releasing lock... [2025-03-09 06:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:46:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:46:03] Production.INFO: Account Balance Start. [2025-03-09 06:46:03] Production.INFO: CreateAllLog Start [2025-03-09 06:46:04] Production.INFO: 117 [2025-03-09 06:46:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:46:04] Production.INFO: ==21035== Lock acquired, processing the job... [2025-03-09 06:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:46:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:46:04] Production.INFO: Total Charge 0 [2025-03-09 06:46:04] Production.INFO: CreateAllLog End [2025-03-09 06:46:04] Production.INFO: Account Balance End. [2025-03-09 06:46:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:46:04] Production.INFO: ==21031== Releasing lock... [2025-03-09 06:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:46:04] Production.ERROR: done [2025-03-09 06:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:46:04] Production.INFO: count ==13 [2025-03-09 06:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:46:04] Production.INFO: count ==21 [2025-03-09 06:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640439') start [2025-03-09 06:46:04] Production.ERROR: done [2025-03-09 06:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640439') end [2025-03-09 06:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:46:04] Production.INFO: 1 [2025-03-09 06:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:46:04] Production.INFO: ==21035== Releasing lock... [2025-03-09 06:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:46:05 [end_date_ymd] => 2025-03-09 06:46:05 [RateCDR] => 1 ) [2025-03-09 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-09 03:46:05' and `end` < '2025-03-09 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-09 06:46:11] Production.ERROR: CronJobId end10 [2025-03-09 06:46:11] Production.INFO: ==21029== Releasing lock... [2025-03-09 06:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:46:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:46:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:46:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:46:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:46:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:46:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:46:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:46:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:46:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:46:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:46:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:46:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:46:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:46:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:46:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:46:13] Production.INFO: call_cost start [2025-03-09 06:46:13] Production.INFO: call_cost end [2025-03-09 06:46:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:46:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:46:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:46:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:46:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:46:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:46:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:46:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:46:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:46:14] Production.INFO: ==21025== Releasing lock... [2025-03-09 06:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:46:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:46:17] Production.INFO: count ==572 [2025-03-09 06:46:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:46:05 - End Time 2025-03-09 06:46:05 [2025-03-09 06:46:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640440', 'tblTempUsageDetail_20' ) start [2025-03-09 06:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640440', 'tblTempUsageDetail_20' ) end [2025-03-09 06:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640440', 'tblTempVendorCDR_20' ) start [2025-03-09 06:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640440', 'tblTempVendorCDR_20' ) end [2025-03-09 06:46:17] Production.INFO: ProcessCDR(1,14640440,1,1,2) [2025-03-09 06:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:46:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640440', 'tblTempUsageDetail_20' ) start [2025-03-09 06:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640440', 'tblTempUsageDetail_20' ) end [2025-03-09 06:46:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:46:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:46:20] Production.INFO: ==21033== Releasing lock... [2025-03-09 06:46:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:46:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:47:01] Production.INFO: ==21096== Lock acquired, processing the job... [2025-03-09 10:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:47:01] Production.INFO: neon service started [2025-03-09 10:47:01] Production.INFO: neon service started [2025-03-09 10:47:01] Production.INFO: ==21096== Releasing lock... [2025-03-09 10:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:47:02] Production.INFO: ==21098== Lock acquired, processing the job... [2025-03-09 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:47:02] Production.INFO: ==21100== Lock acquired, processing the job... [2025-03-09 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:47:02] Production.INFO: ==21100== Releasing lock... [2025-03-09 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:47:02] Production.INFO: ==21098== Releasing lock... [2025-03-09 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:47:03] Production.INFO: ==21103== Lock acquired, processing the job... [2025-03-09 06:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:47:03] Production.INFO: ==21107== Lock acquired, processing the job... [2025-03-09 06:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:47:03] Production.INFO: ==21111== Lock acquired, processing the job... [2025-03-09 06:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:47:03] Production.INFO: ==21105== Lock acquired, processing the job... [2025-03-09 06:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:47:03] Production.INFO: ==21109== Lock acquired, processing the job... [2025-03-09 06:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:47:03] Production.INFO: ==21113== Lock acquired, processing the job... [2025-03-09 06:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:47:03] Production.INFO: Account Balance Start. [2025-03-09 06:47:03] Production.INFO: CreateAllLog Start [2025-03-09 06:47:03] Production.INFO: 117 [2025-03-09 06:47:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:47:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:47:03] Production.ERROR: done [2025-03-09 06:47:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 06:47:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:47:03] Production.INFO: count ==13 [2025-03-09 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-09 06:47:03] Production.INFO: count ==21 [2025-03-09 06:47:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640444') start [2025-03-09 06:47:03] Production.ERROR: done [2025-03-09 06:47:03] Production.INFO: Total Charge 0 [2025-03-09 06:47:03] Production.INFO: CreateAllLog End [2025-03-09 06:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640444') end [2025-03-09 06:47:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:47:03] Production.INFO: 1 [2025-03-09 06:47:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:47:04] Production.INFO: ==21105== Releasing lock... [2025-03-09 06:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:47:04] Production.INFO: ==21113== Releasing lock... [2025-03-09 06:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:47:04] Production.INFO: Account Balance End. [2025-03-09 06:47:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:47:04] Production.INFO: ==21109== Releasing lock... [2025-03-09 06:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:47:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:47:04 [end_date_ymd] => 2025-03-09 06:47:04 [RateCDR] => 1 ) [2025-03-09 06:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:47:04' and `end` < '2025-03-09 06:47:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:47:11] Production.ERROR: CronJobId end10 [2025-03-09 06:47:11] Production.INFO: ==21107== Releasing lock... [2025-03-09 06:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:47:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:47:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:47:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:47:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:47:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:47:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:47:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:47:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:47:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:47:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:47:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:47:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:47:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:47:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:47:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:47:13] Production.INFO: call_cost start [2025-03-09 06:47:13] Production.INFO: call_cost end [2025-03-09 06:47:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:47:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:47:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:47:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:47:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:47:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:47:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:47:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:47:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:47:14] Production.INFO: ==21103== Releasing lock... [2025-03-09 06:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:47:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:47:16] Production.INFO: count ==575 [2025-03-09 06:47:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:47:04 - End Time 2025-03-09 06:47:04 [2025-03-09 06:47:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640445', 'tblTempUsageDetail_20' ) start [2025-03-09 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640445', 'tblTempUsageDetail_20' ) end [2025-03-09 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640445', 'tblTempVendorCDR_20' ) start [2025-03-09 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640445', 'tblTempVendorCDR_20' ) end [2025-03-09 06:47:17] Production.INFO: ProcessCDR(1,14640445,1,1,2) [2025-03-09 06:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:47:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640445', 'tblTempUsageDetail_20' ) start [2025-03-09 06:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640445', 'tblTempUsageDetail_20' ) end [2025-03-09 06:47:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:47:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:47:20] Production.INFO: ==21111== Releasing lock... [2025-03-09 06:47:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:47:20] Production.INFO: 33 MB #Memory Used# [2025-03-09 10:48:01] Production.INFO: ==21171== Lock acquired, processing the job... [2025-03-09 10:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:48:01] Production.INFO: neon service started [2025-03-09 10:48:01] Production.INFO: neon service started [2025-03-09 10:48:01] Production.INFO: ==21171== Releasing lock... [2025-03-09 10:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:48:02] Production.INFO: ==21175== Lock acquired, processing the job... [2025-03-09 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:48:02] Production.INFO: ==21175== Releasing lock... [2025-03-09 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:48:02] Production.INFO: ==21173== Lock acquired, processing the job... [2025-03-09 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:48:02] Production.INFO: ==21173== Releasing lock... [2025-03-09 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:48:03] Production.INFO: ==21178== Lock acquired, processing the job... [2025-03-09 06:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:48:03] Production.INFO: ==21180== Lock acquired, processing the job... [2025-03-09 06:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:48:03] Production.INFO: ==21184== Lock acquired, processing the job... [2025-03-09 06:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:48:03] Production.INFO: ==21182== Lock acquired, processing the job... [2025-03-09 06:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:48:03] Production.INFO: Account Balance Start. [2025-03-09 06:48:03] Production.INFO: CreateAllLog Start [2025-03-09 06:48:03] Production.INFO: 117 [2025-03-09 06:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:48:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:48:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:48:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:48:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:48:04] Production.INFO: ==21180== Releasing lock... [2025-03-09 06:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:48:04] Production.INFO: ==21188== Lock acquired, processing the job... [2025-03-09 06:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:48:04] Production.INFO: ==21186== Lock acquired, processing the job... [2025-03-09 06:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:48:04] Production.INFO: Total Charge 0 [2025-03-09 06:48:04] Production.INFO: CreateAllLog End [2025-03-09 06:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:48:04] Production.INFO: Account Balance End. [2025-03-09 06: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-09 06:48:04] Production.INFO: count ==13 [2025-03-09 06:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:48:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:48:04] Production.INFO: count ==21 [2025-03-09 06:48:04] Production.INFO: ==21184== Releasing lock... [2025-03-09 06:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640449') start [2025-03-09 06:48:04] Production.ERROR: done [2025-03-09 06:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640449') end [2025-03-09 06:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:48:04] Production.INFO: 1 [2025-03-09 06:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:48:04] Production.ERROR: done [2025-03-09 06:48:04] Production.INFO: ==21188== Releasing lock... [2025-03-09 06:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:48:05 [end_date_ymd] => 2025-03-09 06:48:05 [RateCDR] => 1 ) [2025-03-09 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-09 03:48:05' and `end` < '2025-03-09 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-09 06:48:12] Production.ERROR: CronJobId end10 [2025-03-09 06:48:12] Production.INFO: ==21182== Releasing lock... [2025-03-09 06:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:48:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:48:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:48:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:48:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:48:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:48:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:48:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:48:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:48:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:48:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:48:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:48:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:48:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:48:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:48:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:48:14] Production.INFO: call_cost start [2025-03-09 06:48:14] Production.INFO: call_cost end [2025-03-09 06:48:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:48:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:48:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:48:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:48:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:48:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:48:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:48:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:48:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:48:15] Production.INFO: ==21178== Releasing lock... [2025-03-09 06:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:48:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:48:17] Production.INFO: count ==575 [2025-03-09 06:48:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:48:05 - End Time 2025-03-09 06:48:05 [2025-03-09 06:48:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640450', 'tblTempUsageDetail_20' ) start [2025-03-09 06:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640450', 'tblTempUsageDetail_20' ) end [2025-03-09 06:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640450', 'tblTempVendorCDR_20' ) start [2025-03-09 06:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640450', 'tblTempVendorCDR_20' ) end [2025-03-09 06:48:17] Production.INFO: ProcessCDR(1,14640450,1,1,2) [2025-03-09 06:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640450', 'tblTempUsageDetail_20' ) start [2025-03-09 06:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640450', 'tblTempUsageDetail_20' ) end [2025-03-09 06:48:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:48:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:48:21] Production.INFO: ==21186== Releasing lock... [2025-03-09 06:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:48:21] Production.INFO: 33 MB #Memory Used# [2025-03-09 10:49:02] Production.INFO: ==21255== Lock acquired, processing the job... [2025-03-09 10:49:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:49:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:49:02] Production.INFO: neon service started [2025-03-09 10:49:02] Production.INFO: neon service started [2025-03-09 10:49:02] Production.INFO: ==21255== Releasing lock... [2025-03-09 10:49:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:49:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:49:02] Production.INFO: ==21257== Lock acquired, processing the job... [2025-03-09 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:49:02] Production.INFO: ==21257== Releasing lock... [2025-03-09 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:49:03] Production.INFO: ==21259== Lock acquired, processing the job... [2025-03-09 10:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:49:03] Production.INFO: ==21259== Releasing lock... [2025-03-09 10:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:49:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:49:03] Production.INFO: ==21269== Lock acquired, processing the job... [2025-03-09 06:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:49:03] Production.INFO: ==21261== Lock acquired, processing the job... [2025-03-09 06:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:49:03] Production.INFO: ==21263== Lock acquired, processing the job... [2025-03-09 06:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:49:03] Production.INFO: ==21271== Lock acquired, processing the job... [2025-03-09 06:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:49:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:49:04] Production.INFO: ==21265== Lock acquired, processing the job... [2025-03-09 06:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:49:04] Production.INFO: ==21267== Lock acquired, processing the job... [2025-03-09 06:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:49:04] Production.INFO: count ==13 [2025-03-09 06:49:04] Production.INFO: Account Balance Start. [2025-03-09 06:49:04] Production.INFO: CreateAllLog Start [2025-03-09 06:49:04] Production.INFO: 117 [2025-03-09 06:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:49:04] Production.INFO: count ==21 [2025-03-09 06:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640452') start [2025-03-09 06:49:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:49:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:49:04] Production.ERROR: done [2025-03-09 06:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:49:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:49:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640452') end [2025-03-09 06:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:49:04] Production.INFO: 1 [2025-03-09 06:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:49:04] Production.INFO: Total Charge 0 [2025-03-09 06:49:04] Production.INFO: CreateAllLog End [2025-03-09 06:49:04] Production.INFO: ==21271== Releasing lock... [2025-03-09 06:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:49:04] Production.INFO: ==21263== Releasing lock... [2025-03-09 06:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:49:04] Production.ERROR: done [2025-03-09 06:49:04] Production.INFO: Account Balance End. [2025-03-09 06:49:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:49:04] Production.INFO: ==21267== Releasing lock... [2025-03-09 06:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:49:05 [end_date_ymd] => 2025-03-09 06:49:05 [RateCDR] => 1 ) [2025-03-09 06:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:49:05' and `end` < '2025-03-09 06:49:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:49:12] Production.ERROR: CronJobId end10 [2025-03-09 06:49:12] Production.INFO: ==21265== Releasing lock... [2025-03-09 06:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:49:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:49:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:49:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:49:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:49:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:49:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:49:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:49:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:49:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:49:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:49:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:49:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:49:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:49:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:49:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:49:14] Production.INFO: call_cost start [2025-03-09 06:49:14] Production.INFO: call_cost end [2025-03-09 06:49:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:49:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:49:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:49:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:49:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:49:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:49:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:49:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:49:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:49:15] Production.INFO: ==21261== Releasing lock... [2025-03-09 06:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:49:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:49:17] Production.INFO: count ==573 [2025-03-09 06:49:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:49:05 - End Time 2025-03-09 06:49:05 [2025-03-09 06:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640455', 'tblTempUsageDetail_20' ) start [2025-03-09 06:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640455', 'tblTempUsageDetail_20' ) end [2025-03-09 06:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640455', 'tblTempVendorCDR_20' ) start [2025-03-09 06:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640455', 'tblTempVendorCDR_20' ) end [2025-03-09 06:49:17] Production.INFO: ProcessCDR(1,14640455,1,1,2) [2025-03-09 06:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640455', 'tblTempUsageDetail_20' ) start [2025-03-09 06:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640455', 'tblTempUsageDetail_20' ) end [2025-03-09 06:49:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:49:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:49:20] Production.INFO: ==21269== Releasing lock... [2025-03-09 06:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:49:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:50:01] Production.INFO: ==21335== Lock acquired, processing the job... [2025-03-09 10:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:50:01] Production.INFO: neon service started [2025-03-09 10:50:01] Production.INFO: neon service started [2025-03-09 10:50:01] Production.INFO: ==21335== Releasing lock... [2025-03-09 10:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:50:02] Production.INFO: ==21339== Lock acquired, processing the job... [2025-03-09 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:50:02] Production.INFO: ==21339== Releasing lock... [2025-03-09 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:50:02] Production.INFO: ==21337== Lock acquired, processing the job... [2025-03-09 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:50:02] Production.INFO: ==21337== Releasing lock... [2025-03-09 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:50:03] Production.INFO: ==21341== Lock acquired, processing the job... [2025-03-09 06:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 06:50:03] Production.INFO: ==21343== Lock acquired, processing the job... [2025-03-09 06:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:50:03] Production.INFO: ==21347== Lock acquired, processing the job... [2025-03-09 06:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:50:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 06:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 06:50:03] Production.ERROR: CronJob PID - 21343 [2025-03-09 06:50:03] Production.ERROR: CronJob Title - System Alerts [2025-03-09 06:50:03] Production.ERROR: CronJob ID - 5 [2025-03-09 06:50:03] Production.ERROR: CronJob Last Run Time 2025-03-09 06:50:00 [2025-03-09 06:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 06:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 06:50:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:50:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 06:50:03] Production.INFO: ==21341== Releasing lock... [2025-03-09 06:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 06:50:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 06:50:03] Production.INFO: ==21354== Lock acquired, processing the job... [2025-03-09 06:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 06:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:50:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:50:03] Production.INFO: ==21345== Lock acquired, processing the job... [2025-03-09 06:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:50:03] Production.INFO: ==21349== Lock acquired, processing the job... [2025-03-09 06:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:50:04] Production.INFO: ==21351== Lock acquired, processing the job... [2025-03-09 06:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:50:04] Production.INFO: ==21356== Lock acquired, processing the job... [2025-03-09 06:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:50:04] Production.INFO: ==21345== Releasing lock... [2025-03-09 06:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:50:04] Production.INFO: Account Balance Start. [2025-03-09 06:50:04] Production.INFO: CreateAllLog Start [2025-03-09 06:50:04] Production.INFO: 117 [2025-03-09 06:50:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:50:04] Production.ERROR: done [2025-03-09 06:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 06:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640460', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 06:50:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:50:04] Production.INFO: count ==13 [2025-03-09 06:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:50:04] Production.INFO: count ==21 [2025-03-09 06:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640459') start [2025-03-09 06:50:04] Production.ERROR: done [2025-03-09 06:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:50:04] Production.INFO: Total Charge 0 [2025-03-09 06:50:04] Production.INFO: CreateAllLog End [2025-03-09 06:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640459') end [2025-03-09 06:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:50:04] Production.INFO: 1 [2025-03-09 06:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:50:04] Production.ERROR: done [2025-03-09 06:50:04] Production.INFO: ==21356== Releasing lock... [2025-03-09 06:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:50:05] Production.INFO: Account Balance End. [2025-03-09 06:50:05] Production.ERROR: CronJobId end 12 [2025-03-09 06:50:05] Production.INFO: ==21349== Releasing lock... [2025-03-09 06:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:50:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:50:05 [end_date_ymd] => 2025-03-09 06:50:05 [RateCDR] => 1 ) [2025-03-09 06: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-09 03:50:05' and `end` < '2025-03-09 06: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-09 06:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640460', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 06:50:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 06:50:08] Production.INFO: ProcessCDR(1,14640460,1,1,2) [2025-03-09 06:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14640460,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14640460,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:50:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:50:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:50:08] Production.INFO: ==21354== Releasing lock... [2025-03-09 06:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 06:50:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 06:50:12] Production.ERROR: CronJobId end10 [2025-03-09 06:50:12] Production.INFO: ==21347== Releasing lock... [2025-03-09 06:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:50:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:50:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:50:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:50:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:50:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:50:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:50:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:50:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:50:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:50:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:50:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:50:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:50:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:50:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:50:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:50:15] Production.INFO: call_cost start [2025-03-09 06:50:15] Production.INFO: call_cost end [2025-03-09 06:50:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:50:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:50:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:50:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:50:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:50:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:50:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:50:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:50:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:50:16] Production.INFO: ==21343== Releasing lock... [2025-03-09 06:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:50:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:50:17] Production.INFO: count ==572 [2025-03-09 06:50:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:50:05 - End Time 2025-03-09 06:50:05 [2025-03-09 06:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640461', 'tblTempUsageDetail_20' ) start [2025-03-09 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640461', 'tblTempUsageDetail_20' ) end [2025-03-09 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640461', 'tblTempVendorCDR_20' ) start [2025-03-09 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640461', 'tblTempVendorCDR_20' ) end [2025-03-09 06:50:18] Production.INFO: ProcessCDR(1,14640461,1,1,2) [2025-03-09 06:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640461', 'tblTempUsageDetail_20' ) start [2025-03-09 06:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640461', 'tblTempUsageDetail_20' ) end [2025-03-09 06:50:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:50:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:50:21] Production.INFO: ==21351== Releasing lock... [2025-03-09 06:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:50:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:51:02] Production.INFO: ==21420== Lock acquired, processing the job... [2025-03-09 10:51:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:51:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:51:02] Production.INFO: neon service started [2025-03-09 10:51:02] Production.INFO: neon service started [2025-03-09 10:51:02] Production.INFO: ==21420== Releasing lock... [2025-03-09 10:51:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:51:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:51:02] Production.INFO: ==21423== Lock acquired, processing the job... [2025-03-09 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:51:02] Production.INFO: ==21423== Releasing lock... [2025-03-09 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:51:02] Production.INFO: ==21425== Lock acquired, processing the job... [2025-03-09 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:51:02] Production.INFO: ==21425== Releasing lock... [2025-03-09 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:51:03] Production.INFO: ==21431== Lock acquired, processing the job... [2025-03-09 06:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:51:03] Production.INFO: ==21427== Lock acquired, processing the job... [2025-03-09 06:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:51:03] Production.INFO: ==21437== Lock acquired, processing the job... [2025-03-09 06:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:51:03] Production.INFO: ==21429== Lock acquired, processing the job... [2025-03-09 06:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:51:03] Production.INFO: ==21433== Lock acquired, processing the job... [2025-03-09 06:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:51:03] Production.INFO: ==21435== Lock acquired, processing the job... [2025-03-09 06:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:51:03] Production.INFO: Account Balance Start. [2025-03-09 06:51:03] Production.INFO: CreateAllLog Start [2025-03-09 06:51:03] Production.INFO: 117 [2025-03-09 06:51:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:51:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:51:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:51:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:51:04] Production.INFO: Total Charge 0 [2025-03-09 06:51:04] Production.INFO: CreateAllLog End [2025-03-09 06:51:04] Production.INFO: count ==13 [2025-03-09 06:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:51:04] Production.INFO: count ==21 [2025-03-09 06:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640463') start [2025-03-09 06:51:04] Production.INFO: ==21429== Releasing lock... [2025-03-09 06:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640463') end [2025-03-09 06:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:51:04] Production.INFO: 1 [2025-03-09 06:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:51:04] Production.INFO: ==21437== Releasing lock... [2025-03-09 06:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:51:04] Production.INFO: Account Balance End. [2025-03-09 06:51:04] Production.ERROR: done [2025-03-09 06:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:51:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:51:04] Production.INFO: ==21433== Releasing lock... [2025-03-09 06:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:51:04] Production.ERROR: done [2025-03-09 06:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:51:05 [end_date_ymd] => 2025-03-09 06:51:05 [RateCDR] => 1 ) [2025-03-09 06:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:51:05' and `end` < '2025-03-09 06:51:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:51:11] Production.ERROR: CronJobId end10 [2025-03-09 06:51:11] Production.INFO: ==21431== Releasing lock... [2025-03-09 06:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:51:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:51:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:51:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:51:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:51:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:51:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:51:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:51:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:51:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:51:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:51:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:51:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:51:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:51:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:51:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:51:14] Production.INFO: call_cost start [2025-03-09 06:51:14] Production.INFO: call_cost end [2025-03-09 06:51:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:51:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:51:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:51:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:51:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:51:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:51:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:51:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:51:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:51:15] Production.INFO: ==21427== Releasing lock... [2025-03-09 06:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:51:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:51:17] Production.INFO: count ==572 [2025-03-09 06:51:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:51:05 - End Time 2025-03-09 06:51:05 [2025-03-09 06:51:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640466', 'tblTempUsageDetail_20' ) start [2025-03-09 06:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640466', 'tblTempUsageDetail_20' ) end [2025-03-09 06:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640466', 'tblTempVendorCDR_20' ) start [2025-03-09 06:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640466', 'tblTempVendorCDR_20' ) end [2025-03-09 06:51:17] Production.INFO: ProcessCDR(1,14640466,1,1,2) [2025-03-09 06:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640466', 'tblTempUsageDetail_20' ) start [2025-03-09 06:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640466', 'tblTempUsageDetail_20' ) end [2025-03-09 06:51:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:51:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:51:20] Production.INFO: ==21435== Releasing lock... [2025-03-09 06:51:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:51:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:52:01] Production.INFO: ==21542== Lock acquired, processing the job... [2025-03-09 10:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:52:01] Production.INFO: neon service started [2025-03-09 10:52:01] Production.INFO: neon service started [2025-03-09 10:52:01] Production.INFO: ==21542== Releasing lock... [2025-03-09 10:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:52:01] Production.INFO: ==21546== Lock acquired, processing the job... [2025-03-09 10:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:52:01] Production.INFO: ==21546== Releasing lock... [2025-03-09 10:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:52:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:52:01] Production.INFO: ==21544== Lock acquired, processing the job... [2025-03-09 06:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:52:02] Production.INFO: ==21544== Releasing lock... [2025-03-09 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:52:02] Production.INFO: ==21551== Lock acquired, processing the job... [2025-03-09 06:52:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:52:03] Production.INFO: ==21555== Lock acquired, processing the job... [2025-03-09 06:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:52:03] Production.INFO: ==21559== Lock acquired, processing the job... [2025-03-09 06:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:52:03] Production.INFO: Account Balance Start. [2025-03-09 06:52:03] Production.INFO: CreateAllLog Start [2025-03-09 06:52:03] Production.INFO: 117 [2025-03-09 06:52:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:52:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:52:03] Production.INFO: Total Charge 0 [2025-03-09 06:52:03] Production.INFO: count ==13 [2025-03-09 06:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:52:03] Production.INFO: CreateAllLog End [2025-03-09 06:52:03] Production.INFO: count ==21 [2025-03-09 06:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640469') start [2025-03-09 06:52:03] Production.INFO: ==21551== Releasing lock... [2025-03-09 06:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:52:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:52:03] Production.INFO: Account Balance End. [2025-03-09 06:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640469') end [2025-03-09 06:52:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:52:03] Production.INFO: 1 [2025-03-09 06:52:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:52:03] Production.INFO: ==21557== Lock acquired, processing the job... [2025-03-09 06:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:52:03] Production.ERROR: CronJobId end 12 [2025-03-09 06:52:03] Production.INFO: ==21555== Releasing lock... [2025-03-09 06:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:52:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:52:03] Production.INFO: ==21549== Lock acquired, processing the job... [2025-03-09 06:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:52:03] Production.INFO: ==21559== Releasing lock... [2025-03-09 06:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:52:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:52:03] Production.INFO: ==21553== Lock acquired, processing the job... [2025-03-09 06:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:52:03] Production.ERROR: done [2025-03-09 06:52:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:52:03] Production.ERROR: done [2025-03-09 06:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:52:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:52:04 [end_date_ymd] => 2025-03-09 06:52:04 [RateCDR] => 1 ) [2025-03-09 06:52:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:52:04' and `end` < '2025-03-09 06:52:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:52:10] Production.ERROR: CronJobId end10 [2025-03-09 06:52:10] Production.INFO: ==21553== Releasing lock... [2025-03-09 06:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:52:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:52:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:52:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:52:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:52:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:52:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:52:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:52:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:52:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:52:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:52:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:52:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:52:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:52:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:52:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:52:13] Production.INFO: call_cost start [2025-03-09 06:52:13] Production.INFO: call_cost end [2025-03-09 06:52:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:52:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:52:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:52:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:52:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:52:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:52:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:52:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:52:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:52:14] Production.INFO: ==21549== Releasing lock... [2025-03-09 06:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:52:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:52:16] Production.INFO: count ==571 [2025-03-09 06:52:16] Production.ERROR: pbx CDR StartTime 2025-03-09 03:52:04 - End Time 2025-03-09 06:52:04 [2025-03-09 06:52:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:52:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640471', 'tblTempUsageDetail_20' ) start [2025-03-09 06:52:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640471', 'tblTempUsageDetail_20' ) end [2025-03-09 06:52:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640471', 'tblTempVendorCDR_20' ) start [2025-03-09 06:52:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640471', 'tblTempVendorCDR_20' ) end [2025-03-09 06:52:16] Production.INFO: ProcessCDR(1,14640471,1,1,2) [2025-03-09 06:52:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:52:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:52:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:52:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640471', 'tblTempUsageDetail_20' ) start [2025-03-09 06:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640471', 'tblTempUsageDetail_20' ) end [2025-03-09 06:52:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:52:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:52:20] Production.INFO: ==21557== Releasing lock... [2025-03-09 06:52:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:52:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 10:53:01] Production.INFO: ==21631== Lock acquired, processing the job... [2025-03-09 10:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:53:01] Production.INFO: neon service started [2025-03-09 10:53:01] Production.INFO: neon service started [2025-03-09 10:53:01] Production.INFO: ==21631== Releasing lock... [2025-03-09 10:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:53:02] Production.INFO: ==21634== Lock acquired, processing the job... [2025-03-09 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:53:02] Production.INFO: ==21636== Lock acquired, processing the job... [2025-03-09 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:53:02] Production.INFO: ==21636== Releasing lock... [2025-03-09 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:53:02] Production.INFO: ==21634== Releasing lock... [2025-03-09 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:53:03] Production.INFO: ==21640== Lock acquired, processing the job... [2025-03-09 06:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:53:03] Production.INFO: ==21638== Lock acquired, processing the job... [2025-03-09 06:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:53:03] Production.INFO: ==21648== Lock acquired, processing the job... [2025-03-09 06:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:53:03] Production.INFO: ==21640== Releasing lock... [2025-03-09 06:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:53:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:53:03] Production.INFO: ==21642== Lock acquired, processing the job... [2025-03-09 06:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:53:03] Production.INFO: ==21644== Lock acquired, processing the job... [2025-03-09 06:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:53:03] Production.INFO: ==21646== Lock acquired, processing the job... [2025-03-09 06:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:53:03] Production.INFO: Account Balance Start. [2025-03-09 06:53:03] Production.INFO: CreateAllLog Start [2025-03-09 06:53:03] Production.INFO: 117 [2025-03-09 06:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:53:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:53:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:53:03] Production.INFO: count ==13 [2025-03-09 06:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:53:03] Production.INFO: count ==21 [2025-03-09 06:53:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640473') start [2025-03-09 06:53:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:53:03] Production.INFO: Total Charge 0 [2025-03-09 06:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:53:03] Production.INFO: CreateAllLog End [2025-03-09 06:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640473') end [2025-03-09 06:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:53:04] Production.INFO: 1 [2025-03-09 06:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:53:04] Production.INFO: ==21648== Releasing lock... [2025-03-09 06:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:53:04] Production.ERROR: done [2025-03-09 06:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:53:04] Production.INFO: Account Balance End. [2025-03-09 06:53:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:53:04] Production.INFO: ==21644== Releasing lock... [2025-03-09 06:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:53:04] Production.ERROR: done [2025-03-09 06:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:53:05 [end_date_ymd] => 2025-03-09 06:53:05 [RateCDR] => 1 ) [2025-03-09 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-09 03:53:05' and `end` < '2025-03-09 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-09 06:53:12] Production.ERROR: CronJobId end10 [2025-03-09 06:53:12] Production.INFO: ==21642== Releasing lock... [2025-03-09 06:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:53:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:53:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:53:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:53:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:53:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:53:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:53:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:53:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:53:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:53:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:53:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:53:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:53:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:53:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:53:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:53:13] Production.INFO: call_cost start [2025-03-09 06:53:13] Production.INFO: call_cost end [2025-03-09 06:53:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:53:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:53:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:53:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:53:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:53:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:53:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:53:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:53:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:53:14] Production.INFO: ==21638== Releasing lock... [2025-03-09 06:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:53:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:53:17] Production.INFO: count ==574 [2025-03-09 06:53:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:53:05 - End Time 2025-03-09 06:53:05 [2025-03-09 06:53:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640476', 'tblTempUsageDetail_20' ) start [2025-03-09 06:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640476', 'tblTempUsageDetail_20' ) end [2025-03-09 06:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640476', 'tblTempVendorCDR_20' ) start [2025-03-09 06:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640476', 'tblTempVendorCDR_20' ) end [2025-03-09 06:53:17] Production.INFO: ProcessCDR(1,14640476,1,1,2) [2025-03-09 06:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:53:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640476', 'tblTempUsageDetail_20' ) start [2025-03-09 06:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640476', 'tblTempUsageDetail_20' ) end [2025-03-09 06:53:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:53:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:53:20] Production.INFO: ==21646== Releasing lock... [2025-03-09 06:53:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:53:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 10:54:02] Production.INFO: ==21736== Lock acquired, processing the job... [2025-03-09 10:54:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:54:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:54:02] Production.INFO: neon service started [2025-03-09 10:54:02] Production.INFO: neon service started [2025-03-09 10:54:02] Production.INFO: ==21736== Releasing lock... [2025-03-09 10:54:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:54:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:54:02] Production.INFO: ==21738== Lock acquired, processing the job... [2025-03-09 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:54:02] Production.INFO: ==21738== Releasing lock... [2025-03-09 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:54:03] Production.INFO: ==21740== Lock acquired, processing the job... [2025-03-09 10:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:54:03] Production.INFO: ==21740== Releasing lock... [2025-03-09 10:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:54:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:54:03] Production.INFO: ==21742== Lock acquired, processing the job... [2025-03-09 06:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:54:03] Production.INFO: ==21744== Lock acquired, processing the job... [2025-03-09 06:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:54:03] Production.INFO: ==21746== Lock acquired, processing the job... [2025-03-09 06:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:54:03] Production.INFO: ==21748== Lock acquired, processing the job... [2025-03-09 06:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:54:03] Production.INFO: ==21750== Lock acquired, processing the job... [2025-03-09 06:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:54:04] Production.INFO: Account Balance Start. [2025-03-09 06:54:04] Production.INFO: CreateAllLog Start [2025-03-09 06:54:04] Production.INFO: ==21752== Lock acquired, processing the job... [2025-03-09 06:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:54:04] Production.INFO: 117 [2025-03-09 06:54:04] Production.INFO: Date 2025-03-08 [2025-03-09 06:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:54:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:54:04] Production.INFO: Total Charge 0 [2025-03-09 06:54:04] Production.INFO: CreateAllLog End [2025-03-09 06:54:04] Production.INFO: count ==13 [2025-03-09 06:54:04] Production.INFO: ==21744== Releasing lock... [2025-03-09 06:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:54:04] Production.INFO: count ==21 [2025-03-09 06:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640480') start [2025-03-09 06:54:04] Production.INFO: Account Balance End. [2025-03-09 06:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640480') end [2025-03-09 06:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:54:04] Production.INFO: 1 [2025-03-09 06:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:54:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:54:04] Production.INFO: ==21748== Releasing lock... [2025-03-09 06:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:54:04] Production.INFO: ==21752== Releasing lock... [2025-03-09 06:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:54:04] Production.ERROR: done [2025-03-09 06:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:54:04] Production.ERROR: done [2025-03-09 06:54:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:54:06 [end_date_ymd] => 2025-03-09 06:54:06 [RateCDR] => 1 ) [2025-03-09 06: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-09 03:54:06' and `end` < '2025-03-09 06: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-09 06:54:12] Production.ERROR: CronJobId end10 [2025-03-09 06:54:12] Production.INFO: ==21746== Releasing lock... [2025-03-09 06:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:54:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:54:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:54:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:54:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:54:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:54:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:54:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:54:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:54:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:54:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:54:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:54:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:54:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:54:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:54:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:54:14] Production.INFO: call_cost start [2025-03-09 06:54:14] Production.INFO: call_cost end [2025-03-09 06:54:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:54:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:54:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:54:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:54:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:54:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:54:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:54:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:54:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:54:15] Production.INFO: ==21742== Releasing lock... [2025-03-09 06:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:54:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:54:18] Production.INFO: count ==577 [2025-03-09 06:54:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:54:06 - End Time 2025-03-09 06:54:06 [2025-03-09 06:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640481', 'tblTempUsageDetail_20' ) start [2025-03-09 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640481', 'tblTempUsageDetail_20' ) end [2025-03-09 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640481', 'tblTempVendorCDR_20' ) start [2025-03-09 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640481', 'tblTempVendorCDR_20' ) end [2025-03-09 06:54:18] Production.INFO: ProcessCDR(1,14640481,1,1,2) [2025-03-09 06:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640481', 'tblTempUsageDetail_20' ) start [2025-03-09 06:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640481', 'tblTempUsageDetail_20' ) end [2025-03-09 06:54:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:54:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:54:21] Production.INFO: ==21750== Releasing lock... [2025-03-09 06:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:54:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 10:55:01] Production.INFO: ==21833== Lock acquired, processing the job... [2025-03-09 10:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:55:01] Production.INFO: neon service started [2025-03-09 10:55:01] Production.INFO: neon service started [2025-03-09 10:55:01] Production.INFO: ==21833== Releasing lock... [2025-03-09 10:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:55:01] Production.INFO: ==21835== Lock acquired, processing the job... [2025-03-09 06:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:55:02] Production.INFO: ==21835== Releasing lock... [2025-03-09 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:55:02] Production.INFO: ==21837== Lock acquired, processing the job... [2025-03-09 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:55:02] Production.INFO: ==21837== Releasing lock... [2025-03-09 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:55:03] Production.INFO: ==21842== Lock acquired, processing the job... [2025-03-09 06:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:55:03] Production.INFO: ==21850== Lock acquired, processing the job... [2025-03-09 06:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:55:03] Production.INFO: ==21840== Lock acquired, processing the job... [2025-03-09 06:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:55:03] Production.INFO: count ==13 [2025-03-09 06:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:55:03] Production.INFO: count ==21 [2025-03-09 06:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640483') start [2025-03-09 06:55:03] Production.INFO: ==21844== Lock acquired, processing the job... [2025-03-09 06:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:55:03] Production.INFO: ==21846== Lock acquired, processing the job... [2025-03-09 06:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:55:03] Production.INFO: ==21842== Releasing lock... [2025-03-09 06:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:55:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:55:03] Production.INFO: ==21848== Lock acquired, processing the job... [2025-03-09 06:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640483') end [2025-03-09 06:55:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:55:03] Production.INFO: 1 [2025-03-09 06:55:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:55:03] Production.INFO: ==21850== Releasing lock... [2025-03-09 06:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:55:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:55:03] Production.INFO: Account Balance Start. [2025-03-09 06:55:03] Production.INFO: CreateAllLog Start [2025-03-09 06:55:03] Production.INFO: 117 [2025-03-09 06:55:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:55:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:55:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:55:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:55:04] Production.INFO: Total Charge 0 [2025-03-09 06:55:04] Production.INFO: CreateAllLog End [2025-03-09 06:55:04] Production.ERROR: done [2025-03-09 06:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:55:04] Production.INFO: Account Balance End. [2025-03-09 06:55:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:55:04] Production.INFO: ==21846== Releasing lock... [2025-03-09 06:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:55:04] Production.ERROR: done [2025-03-09 06:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:55:05 [end_date_ymd] => 2025-03-09 06:55:05 [RateCDR] => 1 ) [2025-03-09 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-09 03:55:05' and `end` < '2025-03-09 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-09 06:55:11] Production.ERROR: CronJobId end10 [2025-03-09 06:55:11] Production.INFO: ==21844== Releasing lock... [2025-03-09 06:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:55:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:55:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:55:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:55:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:55:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:55:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:55:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:55:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:55:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:55:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:55:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:55:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:55:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:55:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:55:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:55:13] Production.INFO: call_cost start [2025-03-09 06:55:13] Production.INFO: call_cost end [2025-03-09 06:55:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:55:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:55:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:55:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:55:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:55:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:55:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:55:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:55:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:55:14] Production.INFO: ==21840== Releasing lock... [2025-03-09 06:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:55:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:55:17] Production.INFO: count ==574 [2025-03-09 06:55:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:55:05 - End Time 2025-03-09 06:55:05 [2025-03-09 06:55:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640486', 'tblTempUsageDetail_20' ) start [2025-03-09 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640486', 'tblTempUsageDetail_20' ) end [2025-03-09 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640486', 'tblTempVendorCDR_20' ) start [2025-03-09 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640486', 'tblTempVendorCDR_20' ) end [2025-03-09 06:55:17] Production.INFO: ProcessCDR(1,14640486,1,1,2) [2025-03-09 06:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:55:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640486', 'tblTempUsageDetail_20' ) start [2025-03-09 06:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640486', 'tblTempUsageDetail_20' ) end [2025-03-09 06:55:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:55:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:55:20] Production.INFO: ==21848== Releasing lock... [2025-03-09 06:55:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:55:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 10:56:02] Production.INFO: ==21936== Lock acquired, processing the job... [2025-03-09 10:56:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:56:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:56:02] Production.INFO: neon service started [2025-03-09 10:56:02] Production.INFO: neon service started [2025-03-09 10:56:02] Production.INFO: ==21936== Releasing lock... [2025-03-09 10:56:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:56:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:56:02] Production.INFO: ==21941== Lock acquired, processing the job... [2025-03-09 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:56:02] Production.INFO: ==21941== Releasing lock... [2025-03-09 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:56:02] Production.INFO: ==21939== Lock acquired, processing the job... [2025-03-09 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:56:02] Production.INFO: ==21939== Releasing lock... [2025-03-09 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:56:03] Production.INFO: ==21945== Lock acquired, processing the job... [2025-03-09 06:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:56:03] Production.INFO: ==21951== Lock acquired, processing the job... [2025-03-09 06:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:56:04] Production.INFO: ==21943== Lock acquired, processing the job... [2025-03-09 06:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:56:04] Production.INFO: ==21945== Releasing lock... [2025-03-09 06:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:56:04] Production.INFO: ==21947== Lock acquired, processing the job... [2025-03-09 06:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:56:04] Production.INFO: ==21949== Lock acquired, processing the job... [2025-03-09 06:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:56:04] Production.INFO: ==21953== Lock acquired, processing the job... [2025-03-09 06:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:56:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:56:04] Production.ERROR: done [2025-03-09 06:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 06:56:04] Production.INFO: Account Balance Start. [2025-03-09 06:56:04] Production.INFO: CreateAllLog Start [2025-03-09 06:56:04] Production.INFO: 117 [2025-03-09 06:56:04] Production.INFO: count ==13 [2025-03-09 06:56:04] Production.INFO: Date 2025-03-08 [2025-03-09 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-09 06:56:04] Production.INFO: count ==21 [2025-03-09 06:56:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640490') start [2025-03-09 06:56:04] Production.ERROR: done [2025-03-09 06:56:04] Production.INFO: Date 2025-03-09 [2025-03-09 06:56:04] Production.INFO: Reseller ==> 0 [2025-03-09 06:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640490') end [2025-03-09 06:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:56:04] Production.INFO: 1 [2025-03-09 06:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:56:04] Production.INFO: Total Charge 0 [2025-03-09 06:56:04] Production.INFO: CreateAllLog End [2025-03-09 06:56:04] Production.INFO: ==21953== Releasing lock... [2025-03-09 06:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:56:04] Production.INFO: Account Balance End. [2025-03-09 06:56:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:56:04] Production.INFO: ==21949== Releasing lock... [2025-03-09 06:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:56:05 [end_date_ymd] => 2025-03-09 06:56:05 [RateCDR] => 1 ) [2025-03-09 06:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:56:05' and `end` < '2025-03-09 06:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:56:12] Production.ERROR: CronJobId end10 [2025-03-09 06:56:12] Production.INFO: ==21947== Releasing lock... [2025-03-09 06:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:56:15] Production.INFO: call_cost start [2025-03-09 06:56:15] Production.INFO: call_cost end [2025-03-09 06:56:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:56:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:56:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:56:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:56:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:56:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:56:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:56:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:56:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:56:16] Production.INFO: ==21943== Releasing lock... [2025-03-09 06:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:56:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:56:17] Production.INFO: count ==574 [2025-03-09 06:56:18] Production.ERROR: pbx CDR StartTime 2025-03-09 03:56:05 - End Time 2025-03-09 06:56:05 [2025-03-09 06:56:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640491', 'tblTempUsageDetail_20' ) start [2025-03-09 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640491', 'tblTempUsageDetail_20' ) end [2025-03-09 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640491', 'tblTempVendorCDR_20' ) start [2025-03-09 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640491', 'tblTempVendorCDR_20' ) end [2025-03-09 06:56:18] Production.INFO: ProcessCDR(1,14640491,1,1,2) [2025-03-09 06:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640491', 'tblTempUsageDetail_20' ) start [2025-03-09 06:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640491', 'tblTempUsageDetail_20' ) end [2025-03-09 06:56:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:56:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:56:21] Production.INFO: ==21951== Releasing lock... [2025-03-09 06:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:56:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 10:57:01] Production.INFO: ==22040== Lock acquired, processing the job... [2025-03-09 10:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:57:01] Production.INFO: neon service started [2025-03-09 10:57:01] Production.INFO: neon service started [2025-03-09 10:57:01] Production.INFO: ==22040== Releasing lock... [2025-03-09 10:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:57:01] Production.INFO: ==22042== Lock acquired, processing the job... [2025-03-09 06:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:57:02] Production.INFO: ==22042== Releasing lock... [2025-03-09 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:57:02] Production.INFO: ==22044== Lock acquired, processing the job... [2025-03-09 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:57:02] Production.INFO: ==22044== Releasing lock... [2025-03-09 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:57:03] Production.INFO: ==22046== Lock acquired, processing the job... [2025-03-09 06:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:57:03] Production.INFO: ==22054== Lock acquired, processing the job... [2025-03-09 06:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:57:03] Production.INFO: ==22048== Lock acquired, processing the job... [2025-03-09 06:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:57:03] Production.INFO: ==22056== Lock acquired, processing the job... [2025-03-09 06:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:57:03] Production.INFO: ==22052== Lock acquired, processing the job... [2025-03-09 06:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:57:03] Production.INFO: ==22050== Lock acquired, processing the job... [2025-03-09 06:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:57:03] Production.INFO: Account Balance Start. [2025-03-09 06:57:03] Production.INFO: CreateAllLog Start [2025-03-09 06:57:03] Production.INFO: 117 [2025-03-09 06:57:03] Production.ERROR: done [2025-03-09 06:57:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:57:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:57:03] Production.INFO: count ==13 [2025-03-09 06:57:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:57:03] Production.INFO: count ==21 [2025-03-09 06:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640494') start [2025-03-09 06:57:03] Production.INFO: ==22048== Releasing lock... [2025-03-09 06:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:57:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:57:03] Production.INFO: Total Charge 0 [2025-03-09 06:57:03] Production.INFO: CreateAllLog End [2025-03-09 06:57:04] Production.ERROR: done [2025-03-09 06:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640494') end [2025-03-09 06:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:57:04] Production.INFO: 1 [2025-03-09 06:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:57:04] Production.INFO: Account Balance End. [2025-03-09 06:57:04] Production.INFO: ==22056== Releasing lock... [2025-03-09 06:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:57:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:57:04] Production.INFO: ==22052== Releasing lock... [2025-03-09 06:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:57:05 [end_date_ymd] => 2025-03-09 06:57:05 [RateCDR] => 1 ) [2025-03-09 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-09 03:57:05' and `end` < '2025-03-09 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-09 06:57:10] Production.ERROR: CronJobId end10 [2025-03-09 06:57:10] Production.INFO: ==22050== Releasing lock... [2025-03-09 06:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:57:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:57:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:57:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:57:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:57:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:57:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:57:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:57:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:57:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:57:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:57:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:57:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:57:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:57:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:57:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:57:13] Production.INFO: call_cost start [2025-03-09 06:57:13] Production.INFO: call_cost end [2025-03-09 06:57:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:57:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:57:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:57:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:57:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:57:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:57:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:57:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:57:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:57:14] Production.INFO: ==22046== Releasing lock... [2025-03-09 06:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:57:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:57:17] Production.INFO: count ==574 [2025-03-09 06:57:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:57:05 - End Time 2025-03-09 06:57:05 [2025-03-09 06:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640496', 'tblTempUsageDetail_20' ) start [2025-03-09 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640496', 'tblTempUsageDetail_20' ) end [2025-03-09 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640496', 'tblTempVendorCDR_20' ) start [2025-03-09 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640496', 'tblTempVendorCDR_20' ) end [2025-03-09 06:57:17] Production.INFO: ProcessCDR(1,14640496,1,1,2) [2025-03-09 06:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640496', 'tblTempUsageDetail_20' ) start [2025-03-09 06:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640496', 'tblTempUsageDetail_20' ) end [2025-03-09 06:57:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:57:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:57:20] Production.INFO: ==22054== Releasing lock... [2025-03-09 06:57:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:57:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 10:58:01] Production.INFO: ==22121== Lock acquired, processing the job... [2025-03-09 10:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:58:01] Production.INFO: neon service started [2025-03-09 10:58:02] Production.INFO: neon service started [2025-03-09 10:58:02] Production.INFO: ==22121== Releasing lock... [2025-03-09 10:58:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:58:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:58:02] Production.INFO: ==22125== Lock acquired, processing the job... [2025-03-09 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:58:02] Production.INFO: ==22125== Releasing lock... [2025-03-09 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:58:02] Production.INFO: ==22123== Lock acquired, processing the job... [2025-03-09 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:58:02] Production.INFO: ==22123== Releasing lock... [2025-03-09 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 06:58:03] Production.INFO: ==22128== Lock acquired, processing the job... [2025-03-09 06:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:58:03] Production.INFO: ==22136== Lock acquired, processing the job... [2025-03-09 06:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:58:03] Production.INFO: ==22134== Lock acquired, processing the job... [2025-03-09 06:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:58:03] Production.INFO: Account Balance Start. [2025-03-09 06:58:03] Production.INFO: CreateAllLog Start [2025-03-09 06:58:03] Production.INFO: 117 [2025-03-09 06:58:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:58:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:58:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:58:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:58:03] Production.INFO: Total Charge 0 [2025-03-09 06:58:03] Production.INFO: CreateAllLog End [2025-03-09 06:58:03] Production.INFO: ==22138== Lock acquired, processing the job... [2025-03-09 06:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:58:03] Production.INFO: ==22132== Lock acquired, processing the job... [2025-03-09 06:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:58:03] Production.INFO: ==22130== Lock acquired, processing the job... [2025-03-09 06:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:58:04] Production.ERROR: done [2025-03-09 06:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:58:04] Production.INFO: count ==13 [2025-03-09 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-09 06:58:04] Production.INFO: count ==21 [2025-03-09 06:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640499') start [2025-03-09 06:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:58:04] Production.INFO: Account Balance End. [2025-03-09 06:58:04] Production.ERROR: CronJobId end 12 [2025-03-09 06:58:04] Production.INFO: ==22134== Releasing lock... [2025-03-09 06:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:58:04] Production.ERROR: done [2025-03-09 06:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640499') end [2025-03-09 06:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:58:04] Production.INFO: 1 [2025-03-09 06:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:58:04] Production.INFO: ==22130== Releasing lock... [2025-03-09 06:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:58:04] Production.INFO: ==22138== Releasing lock... [2025-03-09 06:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:58:05 [end_date_ymd] => 2025-03-09 06:58:05 [RateCDR] => 1 ) [2025-03-09 06:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:58:05' and `end` < '2025-03-09 06:58:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:58:11] Production.ERROR: CronJobId end10 [2025-03-09 06:58:11] Production.INFO: ==22132== Releasing lock... [2025-03-09 06:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:58:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:58:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:58:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:58:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:58:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:58:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:58:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:58:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:58:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:58:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:58:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:58:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:58:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:58:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:58:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:58:14] Production.INFO: call_cost start [2025-03-09 06:58:14] Production.INFO: call_cost end [2025-03-09 06:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:58:15] Production.INFO: ==22128== Releasing lock... [2025-03-09 06:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:58:17] Production.INFO: count ==574 [2025-03-09 06:58:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:58:05 - End Time 2025-03-09 06:58:05 [2025-03-09 06:58:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640501', 'tblTempUsageDetail_20' ) start [2025-03-09 06:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640501', 'tblTempUsageDetail_20' ) end [2025-03-09 06:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640501', 'tblTempVendorCDR_20' ) start [2025-03-09 06:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640501', 'tblTempVendorCDR_20' ) end [2025-03-09 06:58:17] Production.INFO: ProcessCDR(1,14640501,1,1,2) [2025-03-09 06:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:58:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640501', 'tblTempUsageDetail_20' ) start [2025-03-09 06:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640501', 'tblTempUsageDetail_20' ) end [2025-03-09 06:58:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:58:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:58:20] Production.INFO: ==22136== Releasing lock... [2025-03-09 06:58:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:58:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 10:59:01] Production.INFO: ==22204== Lock acquired, processing the job... [2025-03-09 10:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 10:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 10:59:01] Production.INFO: neon service started [2025-03-09 10:59:01] Production.INFO: neon service started [2025-03-09 10:59:01] Production.INFO: ==22204== Releasing lock... [2025-03-09 10:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 10:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 06:59:01] Production.INFO: ==22206== Lock acquired, processing the job... [2025-03-09 06:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 06:59:02] Production.INFO: ==22206== Releasing lock... [2025-03-09 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 06:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:59:02] Production.INFO: ==22208== Lock acquired, processing the job... [2025-03-09 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:59:02] Production.INFO: ==22208== Releasing lock... [2025-03-09 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 10:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 06:59:02] Production.INFO: ==22211== Lock acquired, processing the job... [2025-03-09 06:59:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 06:59:02] Production.INFO: ==22215== Lock acquired, processing the job... [2025-03-09 06:59:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 06:59:03] Production.INFO: ==22221== Lock acquired, processing the job... [2025-03-09 06:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 06:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 06:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 06:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 06:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 06:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 06:59:03] Production.INFO: ==22219== Lock acquired, processing the job... [2025-03-09 06:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 06:59:03] Production.INFO: ==22213== Lock acquired, processing the job... [2025-03-09 06:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 06:59:03] Production.INFO: ==22217== Lock acquired, processing the job... [2025-03-09 06:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 06:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 06:59:03] Production.INFO: count ==13 [2025-03-09 06:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 06:59:03] Production.INFO: count ==21 [2025-03-09 06:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640503') start [2025-03-09 06:59:03] Production.INFO: Account Balance Start. [2025-03-09 06:59:03] Production.INFO: CreateAllLog Start [2025-03-09 06:59:03] Production.INFO: 117 [2025-03-09 06:59:03] Production.INFO: Date 2025-03-08 [2025-03-09 06:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640503') end [2025-03-09 06:59:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 06:59:03] Production.INFO: 1 [2025-03-09 06:59:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 06:59:03] Production.INFO: ==22221== Releasing lock... [2025-03-09 06:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 06:59:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 06:59:03] Production.INFO: Date 2025-03-09 [2025-03-09 06:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 06:59:03] Production.ERROR: done [2025-03-09 06:59:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 06:59:03] Production.INFO: ==22213== Releasing lock... [2025-03-09 06:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 06:59:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 06:59:03] Production.INFO: Total Charge 0 [2025-03-09 06:59:03] Production.ERROR: done [2025-03-09 06:59:03] Production.INFO: CreateAllLog End [2025-03-09 06:59:03] Production.INFO: Account Balance End. [2025-03-09 06:59:03] Production.ERROR: CronJobId end 12 [2025-03-09 06:59:03] Production.INFO: ==22217== Releasing lock... [2025-03-09 06:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 06:59:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 06:59:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 03:59:04 [end_date_ymd] => 2025-03-09 06:59:04 [RateCDR] => 1 ) [2025-03-09 06:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 03:59:04' and `end` < '2025-03-09 06:59:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 06:59:11] Production.ERROR: CronJobId end10 [2025-03-09 06:59:11] Production.INFO: ==22215== Releasing lock... [2025-03-09 06:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 06:59:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 06:59:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 06:59:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 06:59:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 06:59:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 06:59:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 06:59:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 06:59:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 06:59:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 06:59:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 06:59:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 06:59:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 06:59:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 06:59:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 06:59:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 06:59:14] Production.INFO: call_cost start [2025-03-09 06:59:14] Production.INFO: call_cost end [2025-03-09 06:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 06:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 06:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 06:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 06:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 06:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 06:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 06:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 06:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 06:59:15] Production.INFO: ==22211== Releasing lock... [2025-03-09 06:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 06:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 06:59:16] Production.INFO: count ==574 [2025-03-09 06:59:17] Production.ERROR: pbx CDR StartTime 2025-03-09 03:59:04 - End Time 2025-03-09 06:59:04 [2025-03-09 06:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640506', 'tblTempUsageDetail_20' ) start [2025-03-09 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640506', 'tblTempUsageDetail_20' ) end [2025-03-09 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640506', 'tblTempVendorCDR_20' ) start [2025-03-09 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640506', 'tblTempVendorCDR_20' ) end [2025-03-09 06:59:17] Production.INFO: ProcessCDR(1,14640506,1,1,2) [2025-03-09 06:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 06:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 06:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640506', 'tblTempUsageDetail_20' ) start [2025-03-09 06:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640506', 'tblTempUsageDetail_20' ) end [2025-03-09 06:59:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 06:59:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 06:59:20] Production.INFO: ==22219== Releasing lock... [2025-03-09 06:59:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 06:59:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 11:00:01] Production.INFO: ==22292== Lock acquired, processing the job... [2025-03-09 11:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:00:01] Production.INFO: neon service started [2025-03-09 11:00:01] Production.INFO: neon service started [2025-03-09 11:00:01] Production.INFO: ==22292== Releasing lock... [2025-03-09 11:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:00:02] Production.INFO: ==22296== Lock acquired, processing the job... [2025-03-09 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:00:02] Production.INFO: ==22296== Releasing lock... [2025-03-09 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:00:02] Production.INFO: ==22294== Lock acquired, processing the job... [2025-03-09 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:00:02] Production.INFO: ==22294== Releasing lock... [2025-03-09 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:00:03] Production.INFO: ==22299== Lock acquired, processing the job... [2025-03-09 07:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 07:00:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 07:00:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 07:00:03] Production.INFO: ==22299== Releasing lock... [2025-03-09 07:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 07:00:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 07:00:03] Production.INFO: ==22303== Lock acquired, processing the job... [2025-03-09 07:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:00:03] Production.INFO: ==22307== Lock acquired, processing the job... [2025-03-09 07:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:00:03] Production.INFO: ==22309== Lock acquired, processing the job... [2025-03-09 07:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:00:04] Production.INFO: ==22301== Lock acquired, processing the job... [2025-03-09 07:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:00:04] Production.INFO: Account Balance Start. [2025-03-09 07:00:04] Production.INFO: CreateAllLog Start [2025-03-09 07:00:04] Production.INFO: 117 [2025-03-09 07:00:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:00:04] Production.INFO: ==22305== Lock acquired, processing the job... [2025-03-09 07:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:00:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:00:04] Production.INFO: Total Charge 0 [2025-03-09 07:00:04] Production.INFO: ==22313== Lock acquired, processing the job... [2025-03-09 07:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:00:04] Production.INFO: CreateAllLog End [2025-03-09 07:00:04] Production.INFO: ==22311== Lock acquired, processing the job... [2025-03-09 07:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 07:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:00:04] Production.INFO: Account Balance End. [2025-03-09 07:00:04] Production.INFO: ==22303== Releasing lock... [2025-03-09 07:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:00:04] Production.ERROR: done [2025-03-09 07:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:00:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:00:04] Production.INFO: ==22307== Releasing lock... [2025-03-09 07:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:00:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:00:04] Production.INFO: count ==13 [2025-03-09 07:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:00:04] Production.INFO: count ==21 [2025-03-09 07:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640510') start [2025-03-09 07:00:04] Production.ERROR: done [2025-03-09 07:00:04] Production.ERROR: done [2025-03-09 07:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640510') end [2025-03-09 07:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:00:04] Production.INFO: 1 [2025-03-09 07:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:00:04] Production.INFO: ==22313== Releasing lock... [2025-03-09 07:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 07:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640512', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 07:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:00:06 [end_date_ymd] => 2025-03-09 07:00:06 [RateCDR] => 1 ) [2025-03-09 07:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:00:06' and `end` < '2025-03-09 07:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640512', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 07:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 07:00:09] Production.INFO: ProcessCDR(1,14640512,1,1,2) [2025-03-09 07:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14640512,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14640512,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:00:09] Production.INFO: ==22311== Releasing lock... [2025-03-09 07:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 07:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 07:00:13] Production.ERROR: CronJobId end10 [2025-03-09 07:00:13] Production.INFO: ==22305== Releasing lock... [2025-03-09 07:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:00:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:00:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:00:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:00:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:00:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:00:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:00:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:00:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:00:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:00:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:00:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:00:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:00:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:00:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:00:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:00:16] Production.INFO: call_cost start [2025-03-09 07:00:16] Production.INFO: call_cost end [2025-03-09 07:00:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:00:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:00:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:00:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:00:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:00:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:00:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:00:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:00:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:00:17] Production.INFO: ==22301== Releasing lock... [2025-03-09 07:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:00:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:00:18] Production.INFO: count ==574 [2025-03-09 07:00:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:00:06 - End Time 2025-03-09 07:00:06 [2025-03-09 07:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640511', 'tblTempUsageDetail_20' ) start [2025-03-09 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640511', 'tblTempUsageDetail_20' ) end [2025-03-09 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640511', 'tblTempVendorCDR_20' ) start [2025-03-09 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640511', 'tblTempVendorCDR_20' ) end [2025-03-09 07:00:18] Production.INFO: ProcessCDR(1,14640511,1,1,2) [2025-03-09 07:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640511', 'tblTempUsageDetail_20' ) start [2025-03-09 07:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640511', 'tblTempUsageDetail_20' ) end [2025-03-09 07:00:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:00:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:00:21] Production.INFO: ==22309== Releasing lock... [2025-03-09 07:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:00:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 11:01:02] Production.INFO: ==22457== Lock acquired, processing the job... [2025-03-09 11:01:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:01:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:01:02] Production.INFO: neon service started [2025-03-09 11:01:02] Production.INFO: neon service started [2025-03-09 11:01:02] Production.INFO: ==22457== Releasing lock... [2025-03-09 11:01:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:01:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:01:02] Production.INFO: ==22471== Lock acquired, processing the job... [2025-03-09 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:01:02] Production.INFO: ==22471== Releasing lock... [2025-03-09 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:01:02] Production.INFO: ==22469== Lock acquired, processing the job... [2025-03-09 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:01:03] Production.INFO: ==22469== Releasing lock... [2025-03-09 07:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:01:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:01:03] Production.INFO: ==22478== Lock acquired, processing the job... [2025-03-09 07:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:01:03] Production.INFO: ==22482== Lock acquired, processing the job... [2025-03-09 07:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:01:04] Production.INFO: ==22474== Lock acquired, processing the job... [2025-03-09 07:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:01:04] Production.INFO: ==22476== Lock acquired, processing the job... [2025-03-09 07:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:01:04] Production.INFO: ==22480== Lock acquired, processing the job... [2025-03-09 07:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:01:04] Production.INFO: ==22484== Lock acquired, processing the job... [2025-03-09 07:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:01:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:01:04] Production.ERROR: done [2025-03-09 07:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:01:04] Production.INFO: Account Balance Start. [2025-03-09 07:01:04] Production.INFO: CreateAllLog Start [2025-03-09 07:01:04] Production.INFO: 117 [2025-03-09 07:01:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:01:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:01:04] Production.INFO: count ==13 [2025-03-09 07:01:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:01:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:01:04] Production.INFO: count ==21 [2025-03-09 07:01:04] Production.INFO: Total Charge 0 [2025-03-09 07:01:04] Production.INFO: CreateAllLog End [2025-03-09 07:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640516') start [2025-03-09 07:01:04] Production.INFO: ==22476== Releasing lock... [2025-03-09 07:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:01:04] Production.ERROR: done [2025-03-09 07:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640516') end [2025-03-09 07:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:01:04] Production.INFO: 1 [2025-03-09 07:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:01:04] Production.INFO: Account Balance End. [2025-03-09 07:01:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:01:04] Production.INFO: ==22480== Releasing lock... [2025-03-09 07:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:01:04] Production.INFO: ==22484== Releasing lock... [2025-03-09 07:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:01:05 [end_date_ymd] => 2025-03-09 07:01:05 [RateCDR] => 1 ) [2025-03-09 07:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:01:05' and `end` < '2025-03-09 07:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:01:12] Production.ERROR: CronJobId end10 [2025-03-09 07:01:12] Production.INFO: ==22478== Releasing lock... [2025-03-09 07:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:01:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:01:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:01:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:01:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:01:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:01:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:01:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:01:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:01:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:01:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:01:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:01:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:01:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:01:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:01:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:01:15] Production.INFO: call_cost start [2025-03-09 07:01:15] Production.INFO: call_cost end [2025-03-09 07:01:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:01:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:01:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:01:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:01:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:01:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:01:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:01:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:01:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:01:16] Production.INFO: ==22474== Releasing lock... [2025-03-09 07:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:01:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:01:18] Production.INFO: count ==574 [2025-03-09 07:01:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:01:05 - End Time 2025-03-09 07:01:05 [2025-03-09 07:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640517', 'tblTempUsageDetail_20' ) start [2025-03-09 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640517', 'tblTempUsageDetail_20' ) end [2025-03-09 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640517', 'tblTempVendorCDR_20' ) start [2025-03-09 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640517', 'tblTempVendorCDR_20' ) end [2025-03-09 07:01:18] Production.INFO: ProcessCDR(1,14640517,1,1,2) [2025-03-09 07:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640517', 'tblTempUsageDetail_20' ) start [2025-03-09 07:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640517', 'tblTempUsageDetail_20' ) end [2025-03-09 07:01:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:01:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:01:21] Production.INFO: ==22482== Releasing lock... [2025-03-09 07:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:01:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 11:02:01] Production.INFO: ==22549== Lock acquired, processing the job... [2025-03-09 11:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:02:01] Production.INFO: neon service started [2025-03-09 11:02:01] Production.INFO: neon service started [2025-03-09 11:02:01] Production.INFO: ==22549== Releasing lock... [2025-03-09 11:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:02:02] Production.INFO: ==22553== Lock acquired, processing the job... [2025-03-09 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:02:02] Production.INFO: ==22553== Releasing lock... [2025-03-09 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:02:02] Production.INFO: ==22551== Lock acquired, processing the job... [2025-03-09 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:02:02] Production.INFO: ==22551== Releasing lock... [2025-03-09 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:02:03] Production.INFO: ==22562== Lock acquired, processing the job... [2025-03-09 07:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:02:03] Production.INFO: Account Balance Start. [2025-03-09 07:02:03] Production.INFO: CreateAllLog Start [2025-03-09 07:02:03] Production.INFO: 117 [2025-03-09 07:02:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:02:03] Production.INFO: ==22556== Lock acquired, processing the job... [2025-03-09 07:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:02:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:02:03] Production.INFO: ==22566== Lock acquired, processing the job... [2025-03-09 07:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:02:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:02:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:02:03] Production.INFO: ==22558== Lock acquired, processing the job... [2025-03-09 07:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:02:03] Production.INFO: Total Charge 0 [2025-03-09 07:02:03] Production.INFO: CreateAllLog End [2025-03-09 07:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:02:03] Production.INFO: count ==13 [2025-03-09 07:02:03] Production.INFO: ==22560== Lock acquired, processing the job... [2025-03-09 07:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:02:03] Production.INFO: count ==21 [2025-03-09 07:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640519') start [2025-03-09 07:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640519') end [2025-03-09 07:02:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:02:03] Production.INFO: 1 [2025-03-09 07:02:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:02:03] Production.INFO: Account Balance End. [2025-03-09 07:02:03] Production.INFO: ==22564== Lock acquired, processing the job... [2025-03-09 07:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:02:03] Production.ERROR: CronJobId end 12 [2025-03-09 07:02:03] Production.INFO: ==22562== Releasing lock... [2025-03-09 07:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:02:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:02:03] Production.INFO: ==22566== Releasing lock... [2025-03-09 07:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:02:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:02:03] Production.INFO: ==22558== Releasing lock... [2025-03-09 07:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:02:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:02:04] Production.ERROR: done [2025-03-09 07:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:02:04] Production.ERROR: done [2025-03-09 07:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:02:05 [end_date_ymd] => 2025-03-09 07:02:05 [RateCDR] => 1 ) [2025-03-09 07:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:02:05' and `end` < '2025-03-09 07:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:02:11] Production.ERROR: CronJobId end10 [2025-03-09 07:02:11] Production.INFO: ==22560== Releasing lock... [2025-03-09 07:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:02:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:02:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:02:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:02:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:02:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:02:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:02:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:02:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:02:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:02:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:02:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:02:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:02:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:02:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:02:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:02:13] Production.INFO: call_cost start [2025-03-09 07:02:13] Production.INFO: call_cost end [2025-03-09 07:02:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:02:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:02:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:02:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:02:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:02:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:02:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:02:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:02:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:02:14] Production.INFO: ==22556== Releasing lock... [2025-03-09 07:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:02:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:02:17] Production.INFO: count ==574 [2025-03-09 07:02:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:02:05 - End Time 2025-03-09 07:02:05 [2025-03-09 07:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640522', 'tblTempUsageDetail_20' ) start [2025-03-09 07:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640522', 'tblTempUsageDetail_20' ) end [2025-03-09 07:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640522', 'tblTempVendorCDR_20' ) start [2025-03-09 07:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640522', 'tblTempVendorCDR_20' ) end [2025-03-09 07:02:18] Production.INFO: ProcessCDR(1,14640522,1,1,2) [2025-03-09 07:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640522', 'tblTempUsageDetail_20' ) start [2025-03-09 07:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640522', 'tblTempUsageDetail_20' ) end [2025-03-09 07:02:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:02:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:02:21] Production.INFO: ==22564== Releasing lock... [2025-03-09 07:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:02:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 11:03:02] Production.INFO: ==22631== Lock acquired, processing the job... [2025-03-09 11:03:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:03:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:03:02] Production.INFO: neon service started [2025-03-09 11:03:02] Production.INFO: neon service started [2025-03-09 11:03:02] Production.INFO: ==22631== Releasing lock... [2025-03-09 11:03:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:03:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 07:03:02] Production.INFO: ==22633== Lock acquired, processing the job... [2025-03-09 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:03:02] Production.INFO: ==22633== Releasing lock... [2025-03-09 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:03:02] Production.INFO: ==22635== Lock acquired, processing the job... [2025-03-09 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:03:03] Production.INFO: ==22635== Releasing lock... [2025-03-09 11:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:03:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:03:03] Production.INFO: ==22637== Lock acquired, processing the job... [2025-03-09 07:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:03:03] Production.INFO: ==22639== Lock acquired, processing the job... [2025-03-09 07:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:03:03] Production.INFO: ==22643== Lock acquired, processing the job... [2025-03-09 07:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:03:03] Production.INFO: Account Balance Start. [2025-03-09 07:03:03] Production.INFO: CreateAllLog Start [2025-03-09 07:03:03] Production.INFO: 117 [2025-03-09 07:03:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:03:03] Production.INFO: ==22641== Lock acquired, processing the job... [2025-03-09 07:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:03:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:03:03] Production.INFO: ==22639== Releasing lock... [2025-03-09 07:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:03:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:03:03] Production.INFO: Total Charge 0 [2025-03-09 07:03:03] Production.INFO: ==22645== Lock acquired, processing the job... [2025-03-09 07:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:03:03] Production.INFO: ==22647== Lock acquired, processing the job... [2025-03-09 07:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:03:03] Production.INFO: CreateAllLog End [2025-03-09 07:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:03:04] Production.INFO: Account Balance End. [2025-03-09 07:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:03:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:03:04] Production.INFO: ==22643== Releasing lock... [2025-03-09 07:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:03:04] Production.ERROR: done [2025-03-09 07:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:03:04] Production.ERROR: done [2025-03-09 07:03:04] Production.INFO: count ==13 [2025-03-09 07:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:03:04] Production.INFO: count ==21 [2025-03-09 07:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640526') start [2025-03-09 07:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640526') end [2025-03-09 07:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:03:04] Production.INFO: 1 [2025-03-09 07:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:03:04] Production.INFO: ==22647== Releasing lock... [2025-03-09 07:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:03:05 [end_date_ymd] => 2025-03-09 07:03:05 [RateCDR] => 1 ) [2025-03-09 07:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:03:05' and `end` < '2025-03-09 07:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:03:11] Production.ERROR: CronJobId end10 [2025-03-09 07:03:11] Production.INFO: ==22641== Releasing lock... [2025-03-09 07:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:03:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:03:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:03:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:03:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:03:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:03:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:03:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:03:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:03:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:03:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:03:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:03:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:03:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:03:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:03:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:03:13] Production.INFO: call_cost start [2025-03-09 07:03:13] Production.INFO: call_cost end [2025-03-09 07:03:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:03:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:03:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:03:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:03:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:03:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:03:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:03:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:03:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:03:14] Production.INFO: ==22637== Releasing lock... [2025-03-09 07:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:03:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:03:17] Production.INFO: count ==574 [2025-03-09 07:03:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:03:05 - End Time 2025-03-09 07:03:05 [2025-03-09 07:03:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640527', 'tblTempUsageDetail_20' ) start [2025-03-09 07:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640527', 'tblTempUsageDetail_20' ) end [2025-03-09 07:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640527', 'tblTempVendorCDR_20' ) start [2025-03-09 07:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640527', 'tblTempVendorCDR_20' ) end [2025-03-09 07:03:18] Production.INFO: ProcessCDR(1,14640527,1,1,2) [2025-03-09 07:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640527', 'tblTempUsageDetail_20' ) start [2025-03-09 07:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640527', 'tblTempUsageDetail_20' ) end [2025-03-09 07:03:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:03:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:03:21] Production.INFO: ==22645== Releasing lock... [2025-03-09 07:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:03:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 11:04:01] Production.INFO: ==22715== Lock acquired, processing the job... [2025-03-09 11:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:04:01] Production.INFO: neon service started [2025-03-09 11:04:01] Production.INFO: neon service started [2025-03-09 11:04:01] Production.INFO: ==22715== Releasing lock... [2025-03-09 11:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:04:01] Production.INFO: ==22717== Lock acquired, processing the job... [2025-03-09 07:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:04:02] Production.INFO: ==22717== Releasing lock... [2025-03-09 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:04:02] Production.INFO: ==22719== Lock acquired, processing the job... [2025-03-09 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:04:02] Production.INFO: ==22719== Releasing lock... [2025-03-09 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:04:03] Production.INFO: ==22730== Lock acquired, processing the job... [2025-03-09 07:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:04:03] Production.INFO: ==22732== Lock acquired, processing the job... [2025-03-09 07:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:04:03] Production.INFO: ==22722== Lock acquired, processing the job... [2025-03-09 07:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:04:03] Production.INFO: count ==13 [2025-03-09 07:04:03] Production.INFO: ==22724== Lock acquired, processing the job... [2025-03-09 07:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:04:03] Production.INFO: count ==21 [2025-03-09 07:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640528') start [2025-03-09 07:04:03] Production.INFO: ==22726== Lock acquired, processing the job... [2025-03-09 07:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:04:03] Production.INFO: ==22728== Lock acquired, processing the job... [2025-03-09 07:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640528') end [2025-03-09 07:04:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:04:03] Production.INFO: 1 [2025-03-09 07:04:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:04:03] Production.ERROR: done [2025-03-09 07:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:04:03] Production.INFO: Account Balance Start. [2025-03-09 07:04:03] Production.INFO: CreateAllLog Start [2025-03-09 07:04:03] Production.INFO: 117 [2025-03-09 07:04:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:04:03] Production.INFO: ==22732== Releasing lock... [2025-03-09 07:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:04:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:04:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:04:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:04:03] Production.ERROR: done [2025-03-09 07:04:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:04:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:04:03] Production.INFO: Total Charge 0 [2025-03-09 07:04:03] Production.INFO: CreateAllLog End [2025-03-09 07:04:04] Production.INFO: ==22724== Releasing lock... [2025-03-09 07:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:04:04] Production.INFO: Account Balance End. [2025-03-09 07:04:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:04:04] Production.INFO: ==22728== Releasing lock... [2025-03-09 07:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:04:05 [end_date_ymd] => 2025-03-09 07:04:05 [RateCDR] => 1 ) [2025-03-09 07:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:04:05' and `end` < '2025-03-09 07:04:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:04:10] Production.ERROR: CronJobId end10 [2025-03-09 07:04:10] Production.INFO: ==22726== Releasing lock... [2025-03-09 07:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:04:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:04:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:04:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:04:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:04:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:04:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:04:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:04:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:04:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:04:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:04:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:04:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:04:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:04:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:04:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:04:14] Production.INFO: call_cost start [2025-03-09 07:04:14] Production.INFO: call_cost end [2025-03-09 07:04:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:04:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:04:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:04:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:04:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:04:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:04:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:04:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:04:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:04:14] Production.INFO: ==22722== Releasing lock... [2025-03-09 07:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:04:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:04:17] Production.INFO: count ==574 [2025-03-09 07:04:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:04:05 - End Time 2025-03-09 07:04:05 [2025-03-09 07:04:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640532', 'tblTempUsageDetail_20' ) start [2025-03-09 07:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640532', 'tblTempUsageDetail_20' ) end [2025-03-09 07:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640532', 'tblTempVendorCDR_20' ) start [2025-03-09 07:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640532', 'tblTempVendorCDR_20' ) end [2025-03-09 07:04:17] Production.INFO: ProcessCDR(1,14640532,1,1,2) [2025-03-09 07:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:04:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640532', 'tblTempUsageDetail_20' ) start [2025-03-09 07:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640532', 'tblTempUsageDetail_20' ) end [2025-03-09 07:04:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:04:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:04:20] Production.INFO: ==22730== Releasing lock... [2025-03-09 07:04:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:04:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 11:05:01] Production.INFO: ==22873== Lock acquired, processing the job... [2025-03-09 11:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:05:02] Production.INFO: neon service started [2025-03-09 11:05:02] Production.INFO: neon service started [2025-03-09 11:05:02] Production.INFO: ==22873== Releasing lock... [2025-03-09 11:05:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:05:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:05:02] Production.INFO: ==22875== Lock acquired, processing the job... [2025-03-09 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:05:02] Production.INFO: ==22877== Lock acquired, processing the job... [2025-03-09 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:05:02] Production.INFO: ==22877== Releasing lock... [2025-03-09 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:05:02] Production.INFO: ==22875== Releasing lock... [2025-03-09 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:05:03] Production.INFO: ==22879== Lock acquired, processing the job... [2025-03-09 07:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:05:03] Production.INFO: ==22883== Lock acquired, processing the job... [2025-03-09 07:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:05:03] Production.INFO: ==22887== Lock acquired, processing the job... [2025-03-09 07:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:05:03] Production.INFO: ==22885== Lock acquired, processing the job... [2025-03-09 07:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:05:03] Production.INFO: ==22889== Lock acquired, processing the job... [2025-03-09 07:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:05:03] Production.INFO: ==22881== Lock acquired, processing the job... [2025-03-09 07:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:05:03] Production.ERROR: done [2025-03-09 07:05:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:05:03] Production.INFO: Account Balance Start. [2025-03-09 07:05:03] Production.INFO: CreateAllLog Start [2025-03-09 07:05:03] Production.INFO: 117 [2025-03-09 07:05:03] Production.INFO: Date 2025-03-08 [2025-03-09 07: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-09 07:05:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:05:03] Production.INFO: count ==13 [2025-03-09 07: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-09 07:05:03] Production.INFO: count ==21 [2025-03-09 07:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640535') start [2025-03-09 07:05:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:05:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:05:04] Production.INFO: Total Charge 0 [2025-03-09 07:05:04] Production.INFO: CreateAllLog End [2025-03-09 07:05:04] Production.ERROR: done [2025-03-09 07:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640535') end [2025-03-09 07:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:05:04] Production.INFO: 1 [2025-03-09 07:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:05:04] Production.INFO: ==22889== Releasing lock... [2025-03-09 07:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:05:04] Production.INFO: ==22881== Releasing lock... [2025-03-09 07:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:05:04] Production.INFO: Account Balance End. [2025-03-09 07:05:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:05:04] Production.INFO: ==22885== Releasing lock... [2025-03-09 07:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:05:05 [end_date_ymd] => 2025-03-09 07:05:05 [RateCDR] => 1 ) [2025-03-09 07:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:05:05' and `end` < '2025-03-09 07:05:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:05:11] Production.ERROR: CronJobId end10 [2025-03-09 07:05:11] Production.INFO: ==22883== Releasing lock... [2025-03-09 07:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:05:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:05:14] Production.INFO: call_cost start [2025-03-09 07:05:14] Production.INFO: call_cost end [2025-03-09 07:05:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:05:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:05:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:05:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:05:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:05:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:05:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:05:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:05:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:05:15] Production.INFO: ==22879== Releasing lock... [2025-03-09 07:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:05:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:05:17] Production.INFO: count ==577 [2025-03-09 07:05:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:05:05 - End Time 2025-03-09 07:05:05 [2025-03-09 07:05:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640537', 'tblTempUsageDetail_20' ) start [2025-03-09 07:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640537', 'tblTempUsageDetail_20' ) end [2025-03-09 07:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640537', 'tblTempVendorCDR_20' ) start [2025-03-09 07:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640537', 'tblTempVendorCDR_20' ) end [2025-03-09 07:05:17] Production.INFO: ProcessCDR(1,14640537,1,1,2) [2025-03-09 07:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640537', 'tblTempUsageDetail_20' ) start [2025-03-09 07:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640537', 'tblTempUsageDetail_20' ) end [2025-03-09 07:05:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:05:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:05:21] Production.INFO: ==22887== Releasing lock... [2025-03-09 07:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:05:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 11:06:01] Production.INFO: ==22947== Lock acquired, processing the job... [2025-03-09 11:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:06:01] Production.INFO: neon service started [2025-03-09 11:06:01] Production.INFO: neon service started [2025-03-09 11:06:01] Production.INFO: ==22947== Releasing lock... [2025-03-09 11:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:06:02] Production.INFO: ==22949== Lock acquired, processing the job... [2025-03-09 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:06:02] Production.INFO: ==22951== Lock acquired, processing the job... [2025-03-09 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:06:02] Production.INFO: ==22951== Releasing lock... [2025-03-09 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:06:02] Production.INFO: ==22949== Releasing lock... [2025-03-09 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:06:03] Production.INFO: ==22954== Lock acquired, processing the job... [2025-03-09 07:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:06:03] Production.INFO: ==22960== Lock acquired, processing the job... [2025-03-09 07:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:06:03] Production.INFO: ==22964== Lock acquired, processing the job... [2025-03-09 07:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:06:03] Production.INFO: ==22956== Lock acquired, processing the job... [2025-03-09 07:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:06:03] Production.INFO: Account Balance Start. [2025-03-09 07:06:03] Production.INFO: CreateAllLog Start [2025-03-09 07:06:03] Production.INFO: 117 [2025-03-09 07:06:03] Production.INFO: ==22958== Lock acquired, processing the job... [2025-03-09 07:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:06:03] Production.INFO: count ==13 [2025-03-09 07:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:06:03] Production.INFO: count ==21 [2025-03-09 07:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640540') start [2025-03-09 07:06:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:06:03] Production.INFO: ==22962== Lock acquired, processing the job... [2025-03-09 07:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:06:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:06:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:06:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:06:04] Production.INFO: Total Charge 0 [2025-03-09 07:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:06:04] Production.INFO: CreateAllLog End [2025-03-09 07:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640540') end [2025-03-09 07:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:06:04] Production.INFO: 1 [2025-03-09 07:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:06:04] Production.INFO: ==22964== Releasing lock... [2025-03-09 07:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:06:04] Production.INFO: ==22956== Releasing lock... [2025-03-09 07:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:06:04] Production.INFO: Account Balance End. [2025-03-09 07:06:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:06:04] Production.INFO: ==22960== Releasing lock... [2025-03-09 07:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:06:04] Production.ERROR: done [2025-03-09 07:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:06:04] Production.ERROR: done [2025-03-09 07:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:06:05 [end_date_ymd] => 2025-03-09 07:06:05 [RateCDR] => 1 ) [2025-03-09 07:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:06:05' and `end` < '2025-03-09 07:06:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:06:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array) #2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure)) #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure)) #4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array) #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array) #6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array) #7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array) #8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array) #9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder() #10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts() #11 [internal function]: App\Console\Commands\NeonAlerts->fire() #12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #21 {main} Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,10))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure)) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure)) #2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array) #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array) #4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array) #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array) #6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array) #7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder() #8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts() #9 [internal function]: App\Console\Commands\NeonAlerts->fire() #10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 {main} [2025-03-09 07:06:10] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:06:10] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:06:10] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:06:10] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:06:10] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:06:10] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:06:10] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:06:10] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:06:10] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:06:10] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:06:10] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:06:10] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:06:10] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:06:10] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:06:11] Production.INFO: call_cost start [2025-03-09 07:06:11] Production.INFO: call_cost end [2025-03-09 07:06:11] Production.ERROR: CronJobId end10 [2025-03-09 07:06:11] Production.INFO: ==22958== Releasing lock... [2025-03-09 07:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:06:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:06:12] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:06:12] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:06:12] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:06:12] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:06:12] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:06:12] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:06:12] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:06:12] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:06:12] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:06:12] Production.INFO: ==22954== Releasing lock... [2025-03-09 07:06:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:06:12] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:06:18] Production.INFO: count ==576 [2025-03-09 07:06:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:06:05 - End Time 2025-03-09 07:06:05 [2025-03-09 07:06:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640542', 'tblTempUsageDetail_20' ) start [2025-03-09 07:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640542', 'tblTempUsageDetail_20' ) end [2025-03-09 07:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640542', 'tblTempVendorCDR_20' ) start [2025-03-09 07:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640542', 'tblTempVendorCDR_20' ) end [2025-03-09 07:06:18] Production.INFO: ProcessCDR(1,14640542,1,1,2) [2025-03-09 07:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640542', 'tblTempUsageDetail_20' ) start [2025-03-09 07:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640542', 'tblTempUsageDetail_20' ) end [2025-03-09 07:06:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:06:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:06:22] Production.INFO: ==22962== Releasing lock... [2025-03-09 07:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:06:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 11:07:01] Production.INFO: ==23025== Lock acquired, processing the job... [2025-03-09 11:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:07:02] Production.INFO: neon service started [2025-03-09 11:07:02] Production.INFO: neon service started [2025-03-09 11:07:02] Production.INFO: ==23025== Releasing lock... [2025-03-09 11:07:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:07:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:07:02] Production.INFO: ==23029== Lock acquired, processing the job... [2025-03-09 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:07:02] Production.INFO: ==23029== Releasing lock... [2025-03-09 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:07:02] Production.INFO: ==23027== Lock acquired, processing the job... [2025-03-09 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:07:02] Production.INFO: ==23027== Releasing lock... [2025-03-09 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:07:03] Production.INFO: ==23038== Lock acquired, processing the job... [2025-03-09 07:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:07:03] Production.INFO: ==23042== Lock acquired, processing the job... [2025-03-09 07:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:07:03] Production.INFO: Account Balance Start. [2025-03-09 07:07:03] Production.INFO: CreateAllLog Start [2025-03-09 07:07:03] Production.INFO: 117 [2025-03-09 07:07:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:07:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 07: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-09 07:07:03] Production.INFO: count ==13 [2025-03-09 07: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-09 07:07:03] Production.INFO: count ==21 [2025-03-09 07:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640544') start [2025-03-09 07:07:03] Production.INFO: Total Charge 0 [2025-03-09 07:07:03] Production.INFO: CreateAllLog End [2025-03-09 07:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640544') end [2025-03-09 07:07:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:07:03] Production.INFO: 1 [2025-03-09 07:07:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:07:03] Production.INFO: ==23032== Lock acquired, processing the job... [2025-03-09 07:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:07:03] Production.INFO: ==23036== Lock acquired, processing the job... [2025-03-09 07:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:07:03] Production.INFO: ==23034== Lock acquired, processing the job... [2025-03-09 07:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:07:03] Production.INFO: ==23042== Releasing lock... [2025-03-09 07:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:07:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:07:04] Production.INFO: Account Balance End. [2025-03-09 07:07:04] Production.INFO: ==23040== Lock acquired, processing the job... [2025-03-09 07:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:07:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:07:04] Production.INFO: ==23038== Releasing lock... [2025-03-09 07:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:07:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:07:04] Production.INFO: ==23034== Releasing lock... [2025-03-09 07:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:07:04] Production.ERROR: done [2025-03-09 07:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:07:04] Production.ERROR: done [2025-03-09 07:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:07:05 [end_date_ymd] => 2025-03-09 07:07:05 [RateCDR] => 1 ) [2025-03-09 07:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:07:05' and `end` < '2025-03-09 07:07:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:07:12] Production.ERROR: CronJobId end10 [2025-03-09 07:07:12] Production.INFO: ==23036== Releasing lock... [2025-03-09 07:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:07:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:07:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:07:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:07:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:07:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:07:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:07:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:07:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:07:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:07:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:07:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:07:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:07:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:07:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:07:13] Production.INFO: call_cost start [2025-03-09 07:07:13] Production.INFO: call_cost end [2025-03-09 07:07:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:07:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:07:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:07:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:07:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:07:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:07:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:07:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:07:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:07:14] Production.INFO: ==23032== Releasing lock... [2025-03-09 07:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:07:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:07:20] Production.INFO: count ==579 [2025-03-09 07:07:20] Production.ERROR: pbx CDR StartTime 2025-03-09 04:07:05 - End Time 2025-03-09 07:07:05 [2025-03-09 07:07:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640547', 'tblTempUsageDetail_20' ) start [2025-03-09 07:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640547', 'tblTempUsageDetail_20' ) end [2025-03-09 07:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640547', 'tblTempVendorCDR_20' ) start [2025-03-09 07:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640547', 'tblTempVendorCDR_20' ) end [2025-03-09 07:07:20] Production.INFO: ProcessCDR(1,14640547,1,1,2) [2025-03-09 07:07:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640547', 'tblTempUsageDetail_20' ) start [2025-03-09 07:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640547', 'tblTempUsageDetail_20' ) end [2025-03-09 07:07:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:07:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:07:23] Production.INFO: ==23040== Releasing lock... [2025-03-09 07:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:07:23] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 11:08:01] Production.INFO: ==23221== Lock acquired, processing the job... [2025-03-09 11:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:08:01] Production.INFO: neon service started [2025-03-09 11:08:01] Production.INFO: neon service started [2025-03-09 11:08:01] Production.INFO: ==23221== Releasing lock... [2025-03-09 11:08:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:08:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:08:01] Production.INFO: ==23225== Lock acquired, processing the job... [2025-03-09 11:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:08:01] Production.INFO: ==23225== Releasing lock... [2025-03-09 11:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:08:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:08:02] Production.INFO: ==23223== Lock acquired, processing the job... [2025-03-09 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:08:02] Production.INFO: ==23223== Releasing lock... [2025-03-09 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:08:03] Production.INFO: ==23227== Lock acquired, processing the job... [2025-03-09 07:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:08:03] Production.INFO: ==23231== Lock acquired, processing the job... [2025-03-09 07:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:08:03] Production.INFO: ==23236== Lock acquired, processing the job... [2025-03-09 07:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:08:03] Production.INFO: ==23233== Lock acquired, processing the job... [2025-03-09 07:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:08:03] Production.INFO: ==23238== Lock acquired, processing the job... [2025-03-09 07:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:08:03] Production.INFO: ==23229== Lock acquired, processing the job... [2025-03-09 07:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:08:03] Production.INFO: Account Balance Start. [2025-03-09 07:08:03] Production.INFO: CreateAllLog Start [2025-03-09 07:08:03] Production.INFO: 117 [2025-03-09 07:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:08:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:08:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:08:03] Production.INFO: count ==13 [2025-03-09 07:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:08:03] Production.INFO: count ==21 [2025-03-09 07:08:03] Production.ERROR: done [2025-03-09 07:08:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640550') start [2025-03-09 07:08:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:08:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:08:03] Production.INFO: Total Charge 0 [2025-03-09 07:08:03] Production.INFO: CreateAllLog End [2025-03-09 07:08:04] Production.ERROR: done [2025-03-09 07:08:04] Production.INFO: ==23229== Releasing lock... [2025-03-09 07:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640550') end [2025-03-09 07:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:08:04] Production.INFO: 1 [2025-03-09 07:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:08:04] Production.INFO: ==23238== Releasing lock... [2025-03-09 07:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:08:04] Production.INFO: Account Balance End. [2025-03-09 07:08:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:08:04] Production.INFO: ==23233== Releasing lock... [2025-03-09 07:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:08:05 [end_date_ymd] => 2025-03-09 07:08:05 [RateCDR] => 1 ) [2025-03-09 07:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:08:05' and `end` < '2025-03-09 07:08:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:08:10] Production.ERROR: CronJobId end10 [2025-03-09 07:08:10] Production.INFO: ==23231== Releasing lock... [2025-03-09 07:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:08:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:08:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:08:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:08:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:08:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:08:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:08:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:08:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:08:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:08:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:08:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:08:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:08:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:08:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:08:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:08:13] Production.INFO: call_cost start [2025-03-09 07:08:13] Production.INFO: call_cost end [2025-03-09 07:08:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:08:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:08:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:08:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:08:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:08:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:08:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:08:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:08:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:08:14] Production.INFO: ==23227== Releasing lock... [2025-03-09 07:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:08:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:08:18] Production.INFO: count ==579 [2025-03-09 07:08:19] Production.ERROR: pbx CDR StartTime 2025-03-09 04:08:05 - End Time 2025-03-09 07:08:05 [2025-03-09 07:08:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640552', 'tblTempUsageDetail_20' ) start [2025-03-09 07:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640552', 'tblTempUsageDetail_20' ) end [2025-03-09 07:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640552', 'tblTempVendorCDR_20' ) start [2025-03-09 07:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640552', 'tblTempVendorCDR_20' ) end [2025-03-09 07:08:19] Production.INFO: ProcessCDR(1,14640552,1,1,2) [2025-03-09 07:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640552', 'tblTempUsageDetail_20' ) start [2025-03-09 07:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640552', 'tblTempUsageDetail_20' ) end [2025-03-09 07:08:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:08:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:08:22] Production.INFO: ==23236== Releasing lock... [2025-03-09 07:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:08:22] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 11:09:01] Production.INFO: ==23299== Lock acquired, processing the job... [2025-03-09 11:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:09:01] Production.INFO: neon service started [2025-03-09 11:09:01] Production.INFO: neon service started [2025-03-09 11:09:01] Production.INFO: ==23299== Releasing lock... [2025-03-09 11:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:09:02] Production.INFO: ==23301== Lock acquired, processing the job... [2025-03-09 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:09:02] Production.INFO: ==23303== Lock acquired, processing the job... [2025-03-09 07:09:02] Production.INFO: ==23301== Releasing lock... [2025-03-09 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:09:02] Production.INFO: ==23303== Releasing lock... [2025-03-09 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:09:03] Production.INFO: ==23305== Lock acquired, processing the job... [2025-03-09 07:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:09:03] Production.INFO: ==23307== Lock acquired, processing the job... [2025-03-09 07:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:09:03] Production.INFO: ==23309== Lock acquired, processing the job... [2025-03-09 07:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:09:03] Production.INFO: ==23311== Lock acquired, processing the job... [2025-03-09 07:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:09:03] Production.INFO: ==23313== Lock acquired, processing the job... [2025-03-09 07:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:09:03] Production.INFO: Account Balance Start. [2025-03-09 07:09:03] Production.INFO: CreateAllLog Start [2025-03-09 07:09:03] Production.INFO: 117 [2025-03-09 07:09:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:09:03] Production.INFO: ==23307== Releasing lock... [2025-03-09 07:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:09:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:09:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:09:03] Production.INFO: Total Charge 0 [2025-03-09 07:09:03] Production.INFO: ==23315== Lock acquired, processing the job... [2025-03-09 07:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:09:03] Production.INFO: CreateAllLog End [2025-03-09 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-09 07:09:04] Production.INFO: count ==13 [2025-03-09 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-09 07:09:04] Production.INFO: count ==21 [2025-03-09 07:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640556') start [2025-03-09 07:09:04] Production.ERROR: done [2025-03-09 07:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640556') end [2025-03-09 07:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:09:04] Production.INFO: 1 [2025-03-09 07:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:09:04] Production.INFO: Account Balance End. [2025-03-09 07:09:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:09:04] Production.INFO: ==23311== Releasing lock... [2025-03-09 07:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:09:04] Production.INFO: ==23315== Releasing lock... [2025-03-09 07:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:09:04] Production.ERROR: done [2025-03-09 07:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:09:05 [end_date_ymd] => 2025-03-09 07:09:05 [RateCDR] => 1 ) [2025-03-09 07:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:09:05' and `end` < '2025-03-09 07:09:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:09:10] Production.ERROR: CronJobId end10 [2025-03-09 07:09:10] Production.INFO: ==23309== Releasing lock... [2025-03-09 07:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:09:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:09:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:09:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:09:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:09:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:09:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:09:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:09:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:09:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:09:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:09:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:09:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:09:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:09:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:09:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:09:13] Production.INFO: call_cost start [2025-03-09 07:09:13] Production.INFO: call_cost end [2025-03-09 07:09:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:09:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:09:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:09:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:09:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:09:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:09:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:09:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:09:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:09:14] Production.INFO: ==23305== Releasing lock... [2025-03-09 07:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:09:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:09:19] Production.INFO: count ==579 [2025-03-09 07:09:19] Production.ERROR: pbx CDR StartTime 2025-03-09 04:09:05 - End Time 2025-03-09 07:09:05 [2025-03-09 07:09:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640557', 'tblTempUsageDetail_20' ) start [2025-03-09 07:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640557', 'tblTempUsageDetail_20' ) end [2025-03-09 07:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640557', 'tblTempVendorCDR_20' ) start [2025-03-09 07:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640557', 'tblTempVendorCDR_20' ) end [2025-03-09 07:09:19] Production.INFO: ProcessCDR(1,14640557,1,1,2) [2025-03-09 07:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640557', 'tblTempUsageDetail_20' ) start [2025-03-09 07:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640557', 'tblTempUsageDetail_20' ) end [2025-03-09 07:09:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:09:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:09:22] Production.INFO: ==23313== Releasing lock... [2025-03-09 07:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:09:22] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 11:10:02] Production.INFO: ==23380== Lock acquired, processing the job... [2025-03-09 11:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:10:02] Production.INFO: neon service started [2025-03-09 11:10:02] Production.INFO: neon service started [2025-03-09 11:10:02] Production.INFO: ==23380== Releasing lock... [2025-03-09 11:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:10:02] Production.INFO: ==23383== Lock acquired, processing the job... [2025-03-09 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:10:03] Production.INFO: ==23383== Releasing lock... [2025-03-09 07:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:10:03] Production.INFO: ==23385== Lock acquired, processing the job... [2025-03-09 11:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:10:03] Production.INFO: ==23385== Releasing lock... [2025-03-09 11:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:10:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:10:04] Production.INFO: ==23389== Lock acquired, processing the job... [2025-03-09 07:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:10:04] Production.INFO: ==23387== Lock acquired, processing the job... [2025-03-09 07:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 07:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:10:04] Production.INFO: ==23393== Lock acquired, processing the job... [2025-03-09 07:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:10:04] Production.INFO: ==23397== Lock acquired, processing the job... [2025-03-09 07:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 07:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 07:10:04] Production.ERROR: CronJob PID - 23389 [2025-03-09 07:10:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 07:10:04] Production.ERROR: CronJob ID - 5 [2025-03-09 07:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 07:10:00 [2025-03-09 07:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 07:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 07:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 07:10:04] Production.ERROR: CronJob PID - 23393 [2025-03-09 07:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 07:10:04] Production.ERROR: CronJob ID - 10 [2025-03-09 07:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 07:10:00 [2025-03-09 07:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 07:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 07:10:04] Production.INFO: ==23391== Lock acquired, processing the job... [2025-03-09 07:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 07:10:04] Production.INFO: ==23387== Releasing lock... [2025-03-09 07:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 07:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 07:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:10:04] Production.INFO: ==23395== Lock acquired, processing the job... [2025-03-09 07:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:10:04] Production.INFO: ==23399== Lock acquired, processing the job... [2025-03-09 07:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 07:10:04] Production.INFO: ==23401== Lock acquired, processing the job... [2025-03-09 07:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:10:04] Production.ERROR: done [2025-03-09 07:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:10:04] Production.INFO: Account Balance Start. [2025-03-09 07:10:04] Production.INFO: CreateAllLog Start [2025-03-09 07:10:04] Production.INFO: 117 [2025-03-09 07:10:04] Production.INFO: ==23391== Releasing lock... [2025-03-09 07:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:10:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:10:04] Production.INFO: count ==13 [2025-03-09 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-09 07:10:04] Production.INFO: count ==21 [2025-03-09 07:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640561') start [2025-03-09 07:10:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:10:04] Production.ERROR: done [2025-03-09 07:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640561') end [2025-03-09 07:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:10:04] Production.INFO: 1 [2025-03-09 07:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:10:04] Production.INFO: Total Charge 0 [2025-03-09 07:10:04] Production.INFO: CreateAllLog End [2025-03-09 07:10:04] Production.INFO: ==23401== Releasing lock... [2025-03-09 07:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:10:05] Production.ERROR: done [2025-03-09 07:10:05] Production.INFO: Account Balance End. [2025-03-09 07:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 07:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640563', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 07:10:05] Production.ERROR: CronJobId end 12 [2025-03-09 07:10:05] Production.INFO: ==23395== Releasing lock... [2025-03-09 07:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:10:06 [end_date_ymd] => 2025-03-09 07:10:06 [RateCDR] => 1 ) [2025-03-09 07:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:10:06' and `end` < '2025-03-09 07:10:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640563', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 07:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 07:10:09] Production.INFO: ProcessCDR(1,14640563,1,1,2) [2025-03-09 07:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14640563,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14640563,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:10:09] Production.INFO: ==23399== Releasing lock... [2025-03-09 07:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 07:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 07:10:13] Production.ERROR: CronJobId end10 [2025-03-09 07:10:13] Production.INFO: ==23393== Releasing lock... [2025-03-09 07:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:10:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:10:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:10:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:10:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:10:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:10:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:10:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:10:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:10:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:10:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:10:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:10:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:10:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:10:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:10:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:10:15] Production.INFO: call_cost start [2025-03-09 07:10:15] Production.INFO: call_cost end [2025-03-09 07:10:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:10:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:10:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:10:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:10:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:10:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:10:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:10:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:10:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:10:16] Production.INFO: ==23389== Releasing lock... [2025-03-09 07:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:10:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:10:18] Production.INFO: count ==580 [2025-03-09 07:10:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:10:06 - End Time 2025-03-09 07:10:06 [2025-03-09 07:10:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640562', 'tblTempUsageDetail_20' ) start [2025-03-09 07:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640562', 'tblTempUsageDetail_20' ) end [2025-03-09 07:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640562', 'tblTempVendorCDR_20' ) start [2025-03-09 07:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640562', 'tblTempVendorCDR_20' ) end [2025-03-09 07:10:18] Production.INFO: ProcessCDR(1,14640562,1,1,2) [2025-03-09 07:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640562', 'tblTempUsageDetail_20' ) start [2025-03-09 07:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640562', 'tblTempUsageDetail_20' ) end [2025-03-09 07:10:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:10:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:10:23] Production.INFO: ==23397== Releasing lock... [2025-03-09 07:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:10:23] Production.INFO: 33 MB #Memory Used# [2025-03-09 11:11:01] Production.INFO: ==23463== Lock acquired, processing the job... [2025-03-09 11:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:11:01] Production.INFO: neon service started [2025-03-09 11:11:01] Production.INFO: neon service started [2025-03-09 11:11:01] Production.INFO: ==23463== Releasing lock... [2025-03-09 11:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:11:02] Production.INFO: ==23467== Lock acquired, processing the job... [2025-03-09 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:11:02] Production.INFO: ==23467== Releasing lock... [2025-03-09 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:11:02] Production.INFO: ==23465== Lock acquired, processing the job... [2025-03-09 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:11:02] Production.INFO: ==23465== Releasing lock... [2025-03-09 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:11:03] Production.INFO: ==23475== Lock acquired, processing the job... [2025-03-09 07:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:11:03] Production.INFO: Account Balance Start. [2025-03-09 07:11:03] Production.INFO: CreateAllLog Start [2025-03-09 07:11:03] Production.INFO: 117 [2025-03-09 07:11:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:11:03] Production.INFO: ==23479== Lock acquired, processing the job... [2025-03-09 07:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:11:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:11:03] Production.INFO: Total Charge 0 [2025-03-09 07:11:03] Production.INFO: CreateAllLog End [2025-03-09 07:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:11:03] Production.INFO: ==23469== Lock acquired, processing the job... [2025-03-09 07:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:11:03] Production.INFO: ==23471== Lock acquired, processing the job... [2025-03-09 07:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:11:03] Production.INFO: Account Balance End. [2025-03-09 07:11:03] Production.INFO: ==23473== Lock acquired, processing the job... [2025-03-09 07:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:11:03] Production.ERROR: CronJobId end 12 [2025-03-09 07:11:03] Production.INFO: ==23475== Releasing lock... [2025-03-09 07:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:11:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:11:03] Production.INFO: ==23477== Lock acquired, processing the job... [2025-03-09 07:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:11:03] Production.INFO: count ==13 [2025-03-09 07:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:11:03] Production.INFO: count ==21 [2025-03-09 07:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640565') start [2025-03-09 07:11:04] Production.ERROR: done [2025-03-09 07:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:11:04] Production.INFO: ==23471== Releasing lock... [2025-03-09 07:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640565') end [2025-03-09 07:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:11:04] Production.INFO: 1 [2025-03-09 07:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:11:04] Production.INFO: ==23479== Releasing lock... [2025-03-09 07:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:11:04] Production.ERROR: done [2025-03-09 07:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:11:05 [end_date_ymd] => 2025-03-09 07:11:05 [RateCDR] => 1 ) [2025-03-09 07:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:11:05' and `end` < '2025-03-09 07:11:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:11:11] Production.ERROR: CronJobId end10 [2025-03-09 07:11:11] Production.INFO: ==23473== Releasing lock... [2025-03-09 07:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:11:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:11:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:11:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:11:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:11:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:11:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:11:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:11:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:11:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:11:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:11:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:11:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:11:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:11:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:11:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:11:13] Production.INFO: call_cost start [2025-03-09 07:11:13] Production.INFO: call_cost end [2025-03-09 07:11:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:11:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:11:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:11:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:11:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:11:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:11:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:11:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:11:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:11:14] Production.INFO: ==23469== Releasing lock... [2025-03-09 07:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:11:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:11:18] Production.INFO: count ==580 [2025-03-09 07:11:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:11:05 - End Time 2025-03-09 07:11:05 [2025-03-09 07:11:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640568', 'tblTempUsageDetail_20' ) start [2025-03-09 07:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640568', 'tblTempUsageDetail_20' ) end [2025-03-09 07:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640568', 'tblTempVendorCDR_20' ) start [2025-03-09 07:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640568', 'tblTempVendorCDR_20' ) end [2025-03-09 07:11:18] Production.INFO: ProcessCDR(1,14640568,1,1,2) [2025-03-09 07:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640568', 'tblTempUsageDetail_20' ) start [2025-03-09 07:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640568', 'tblTempUsageDetail_20' ) end [2025-03-09 07:11:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:11:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:11:22] Production.INFO: ==23477== Releasing lock... [2025-03-09 07:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:11:22] Production.INFO: 33 MB #Memory Used# [2025-03-09 11:12:02] Production.INFO: ==23619== Lock acquired, processing the job... [2025-03-09 11:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:12:02] Production.INFO: neon service started [2025-03-09 11:12:02] Production.INFO: neon service started [2025-03-09 11:12:02] Production.INFO: ==23619== Releasing lock... [2025-03-09 11:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:12:02] Production.INFO: ==23621== Lock acquired, processing the job... [2025-03-09 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:12:02] Production.INFO: ==23621== Releasing lock... [2025-03-09 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:12:02] Production.INFO: ==23623== Lock acquired, processing the job... [2025-03-09 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:12:03] Production.INFO: ==23623== Releasing lock... [2025-03-09 11:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:12:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:12:03] Production.INFO: ==23636== Lock acquired, processing the job... [2025-03-09 07:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:12:03] Production.INFO: ==23631== Lock acquired, processing the job... [2025-03-09 07:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:12:03] Production.INFO: ==23625== Lock acquired, processing the job... [2025-03-09 07:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:12:03] Production.INFO: Account Balance Start. [2025-03-09 07:12:03] Production.INFO: CreateAllLog Start [2025-03-09 07:12:03] Production.INFO: 117 [2025-03-09 07:12:03] Production.INFO: ==23627== Lock acquired, processing the job... [2025-03-09 07:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:12:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:12:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:12:03] Production.INFO: count ==13 [2025-03-09 07:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:12:03] Production.INFO: count ==21 [2025-03-09 07:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640570') start [2025-03-09 07:12:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:12:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:12:03] Production.INFO: ==23629== Lock acquired, processing the job... [2025-03-09 07:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:12:03] Production.INFO: Total Charge 0 [2025-03-09 07:12:04] Production.INFO: CreateAllLog End [2025-03-09 07:12:04] Production.INFO: ==23633== Lock acquired, processing the job... [2025-03-09 07:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640570') end [2025-03-09 07:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:12:04] Production.INFO: 1 [2025-03-09 07:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:12:04] Production.INFO: ==23636== Releasing lock... [2025-03-09 07:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:12:04] Production.INFO: Account Balance End. [2025-03-09 07:12:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:12:04] Production.INFO: ==23631== Releasing lock... [2025-03-09 07:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:12:04] Production.INFO: ==23627== Releasing lock... [2025-03-09 07:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:12:04] Production.ERROR: done [2025-03-09 07:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:12:04] Production.ERROR: done [2025-03-09 07:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:12:05 [end_date_ymd] => 2025-03-09 07:12:05 [RateCDR] => 1 ) [2025-03-09 07:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:12:05' and `end` < '2025-03-09 07:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:12:11] Production.ERROR: CronJobId end10 [2025-03-09 07:12:11] Production.INFO: ==23629== Releasing lock... [2025-03-09 07:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:12:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:12:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:12:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:12:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:12:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:12:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:12:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:12:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:12:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:12:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:12:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:12:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:12:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:12:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:12:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:12:13] Production.INFO: call_cost start [2025-03-09 07:12:13] Production.INFO: call_cost end [2025-03-09 07:12:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:12:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:12:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:12:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:12:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:12:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:12:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:12:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:12:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:12:14] Production.INFO: ==23625== Releasing lock... [2025-03-09 07:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:12:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:12:18] Production.INFO: count ==577 [2025-03-09 07:12:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:12:05 - End Time 2025-03-09 07:12:05 [2025-03-09 07:12:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640573', 'tblTempUsageDetail_20' ) start [2025-03-09 07:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640573', 'tblTempUsageDetail_20' ) end [2025-03-09 07:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640573', 'tblTempVendorCDR_20' ) start [2025-03-09 07:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640573', 'tblTempVendorCDR_20' ) end [2025-03-09 07:12:18] Production.INFO: ProcessCDR(1,14640573,1,1,2) [2025-03-09 07:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640573', 'tblTempUsageDetail_20' ) start [2025-03-09 07:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640573', 'tblTempUsageDetail_20' ) end [2025-03-09 07:12:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:12:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:12:21] Production.INFO: ==23633== Releasing lock... [2025-03-09 07:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:12:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 11:13:01] Production.INFO: ==23692== Lock acquired, processing the job... [2025-03-09 11:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:13:01] Production.INFO: neon service started [2025-03-09 11:13:01] Production.INFO: neon service started [2025-03-09 11:13:01] Production.INFO: ==23692== Releasing lock... [2025-03-09 11:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:13:01] Production.INFO: ==23697== Lock acquired, processing the job... [2025-03-09 11:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:13:01] Production.INFO: ==23697== Releasing lock... [2025-03-09 11:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:13:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:13:02] Production.INFO: ==23695== Lock acquired, processing the job... [2025-03-09 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:13:02] Production.INFO: ==23695== Releasing lock... [2025-03-09 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:13:02] Production.INFO: ==23699== Lock acquired, processing the job... [2025-03-09 07:13:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:13:03] Production.INFO: ==23705== Lock acquired, processing the job... [2025-03-09 07:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:13:03] Production.INFO: ==23707== Lock acquired, processing the job... [2025-03-09 07:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:13:03] Production.INFO: Account Balance Start. [2025-03-09 07:13:03] Production.INFO: CreateAllLog Start [2025-03-09 07:13:03] Production.INFO: 117 [2025-03-09 07:13:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:13:03] Production.INFO: ==23701== Lock acquired, processing the job... [2025-03-09 07:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:13:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:13:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:13:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:13:03] Production.INFO: ==23703== Lock acquired, processing the job... [2025-03-09 07:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:13:03] Production.INFO: Total Charge 0 [2025-03-09 07:13:03] Production.INFO: CreateAllLog End [2025-03-09 07:13:03] Production.INFO: ==23709== Lock acquired, processing the job... [2025-03-09 07:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:13:03] Production.ERROR: done [2025-03-09 07:13:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:13:03] Production.INFO: Account Balance End. [2025-03-09 07:13:03] Production.INFO: ==23701== Releasing lock... [2025-03-09 07:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:13:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:13:03] Production.ERROR: CronJobId end 12 [2025-03-09 07:13:03] Production.INFO: ==23705== Releasing lock... [2025-03-09 07:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:13:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:13:03] Production.INFO: count ==13 [2025-03-09 07:13:03] Production.ERROR: done [2025-03-09 07:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:13:03] Production.INFO: count ==21 [2025-03-09 07:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640577') start [2025-03-09 07:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640577') end [2025-03-09 07:13:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:13:03] Production.INFO: 1 [2025-03-09 07:13:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:13:04] Production.INFO: ==23709== Releasing lock... [2025-03-09 07:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:13:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:13:04 [end_date_ymd] => 2025-03-09 07:13:04 [RateCDR] => 1 ) [2025-03-09 07:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:13:04' and `end` < '2025-03-09 07:13:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:13:11] Production.ERROR: CronJobId end10 [2025-03-09 07:13:11] Production.INFO: ==23703== Releasing lock... [2025-03-09 07:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:13:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:13:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:13:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:13:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:13:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:13:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:13:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:13:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:13:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:13:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:13:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:13:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:13:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:13:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:13:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:13:13] Production.INFO: call_cost start [2025-03-09 07:13:13] Production.INFO: call_cost end [2025-03-09 07:13:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:13:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:13:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:13:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:13:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:13:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:13:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:13:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:13:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:13:14] Production.INFO: ==23699== Releasing lock... [2025-03-09 07:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:13:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:13:17] Production.INFO: count ==577 [2025-03-09 07:13:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:13:04 - End Time 2025-03-09 07:13:04 [2025-03-09 07:13:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640578', 'tblTempUsageDetail_20' ) start [2025-03-09 07:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640578', 'tblTempUsageDetail_20' ) end [2025-03-09 07:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640578', 'tblTempVendorCDR_20' ) start [2025-03-09 07:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640578', 'tblTempVendorCDR_20' ) end [2025-03-09 07:13:17] Production.INFO: ProcessCDR(1,14640578,1,1,2) [2025-03-09 07:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640578', 'tblTempUsageDetail_20' ) start [2025-03-09 07:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640578', 'tblTempUsageDetail_20' ) end [2025-03-09 07:13:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:13:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:13:20] Production.INFO: ==23707== Releasing lock... [2025-03-09 07:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:13:20] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 11:14:01] Production.INFO: ==23771== Lock acquired, processing the job... [2025-03-09 11:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:14:02] Production.INFO: neon service started [2025-03-09 11:14:02] Production.INFO: neon service started [2025-03-09 11:14:02] Production.INFO: ==23771== Releasing lock... [2025-03-09 11:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:14:02] Production.INFO: ==23773== Lock acquired, processing the job... [2025-03-09 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:14:02] Production.INFO: ==23773== Releasing lock... [2025-03-09 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:14:02] Production.INFO: ==23776== Lock acquired, processing the job... [2025-03-09 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:14:02] Production.INFO: ==23776== Releasing lock... [2025-03-09 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:14:03] Production.INFO: ==23778== Lock acquired, processing the job... [2025-03-09 07:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:14:03] Production.INFO: ==23780== Lock acquired, processing the job... [2025-03-09 07:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:14:03] Production.INFO: ==23782== Lock acquired, processing the job... [2025-03-09 07:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:14:03] Production.INFO: ==23784== Lock acquired, processing the job... [2025-03-09 07:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:14:03] Production.INFO: ==23788== Lock acquired, processing the job... [2025-03-09 07:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:14:03] Production.INFO: ==23786== Lock acquired, processing the job... [2025-03-09 07:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:14:03] Production.INFO: Account Balance Start. [2025-03-09 07:14:03] Production.INFO: CreateAllLog Start [2025-03-09 07:14:03] Production.INFO: 117 [2025-03-09 07:14:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:14:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:14:03] Production.INFO: Total Charge 0 [2025-03-09 07:14:03] Production.INFO: CreateAllLog End [2025-03-09 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-09 07:14:04] Production.INFO: ==23780== Releasing lock... [2025-03-09 07:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:14:04] Production.ERROR: done [2025-03-09 07:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:14:04] Production.INFO: Account Balance End. [2025-03-09 07:14:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:14:04] Production.INFO: ==23784== Releasing lock... [2025-03-09 07:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:14:04] Production.ERROR: done [2025-03-09 07:14:04] Production.INFO: count ==13 [2025-03-09 07:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:14:04] Production.INFO: count ==21 [2025-03-09 07:14:05] Production.ERROR: PBX CALL prc_importPBXExtension('14640582') start [2025-03-09 07:14:05] Production.ERROR: PBX CALL prc_importPBXExtension('14640582') end [2025-03-09 07:14:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:14:05] Production.INFO: 1 [2025-03-09 07:14:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:14:05] Production.INFO: ==23788== Releasing lock... [2025-03-09 07:14:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:14:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:14:05 [end_date_ymd] => 2025-03-09 07:14:05 [RateCDR] => 1 ) [2025-03-09 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-09 04:14:05' and `end` < '2025-03-09 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-09 07:14:10] Production.ERROR: CronJobId end10 [2025-03-09 07:14:10] Production.INFO: ==23782== Releasing lock... [2025-03-09 07:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:14:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:14:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:14:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:14:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:14:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:14:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:14:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:14:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:14:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:14:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:14:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:14:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:14:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:14:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:14:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:14:13] Production.INFO: call_cost start [2025-03-09 07:14:13] Production.INFO: call_cost end [2025-03-09 07:14:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:14:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:14:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:14:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:14:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:14:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:14:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:14:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:14:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:14:14] Production.INFO: ==23778== Releasing lock... [2025-03-09 07:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:14:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:14:17] Production.INFO: count ==569 [2025-03-09 07:14:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:14:05 - End Time 2025-03-09 07:14:05 [2025-03-09 07:14:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640583', 'tblTempUsageDetail_20' ) start [2025-03-09 07:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640583', 'tblTempUsageDetail_20' ) end [2025-03-09 07:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640583', 'tblTempVendorCDR_20' ) start [2025-03-09 07:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640583', 'tblTempVendorCDR_20' ) end [2025-03-09 07:14:17] Production.INFO: ProcessCDR(1,14640583,1,1,2) [2025-03-09 07:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:14:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640583', 'tblTempUsageDetail_20' ) start [2025-03-09 07:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640583', 'tblTempUsageDetail_20' ) end [2025-03-09 07:14:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:14:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:14:20] Production.INFO: ==23786== Releasing lock... [2025-03-09 07:14:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:14:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 11:15:01] Production.INFO: ==23926== Lock acquired, processing the job... [2025-03-09 11:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:15:01] Production.INFO: neon service started [2025-03-09 11:15:01] Production.INFO: neon service started [2025-03-09 11:15:01] Production.INFO: ==23926== Releasing lock... [2025-03-09 11:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:15:01] Production.INFO: ==23928== Lock acquired, processing the job... [2025-03-09 07:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:15:02] Production.INFO: ==23928== Releasing lock... [2025-03-09 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:15:02] Production.INFO: ==23930== Lock acquired, processing the job... [2025-03-09 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:15:02] Production.INFO: ==23930== Releasing lock... [2025-03-09 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:15:02] Production.INFO: ==23933== Lock acquired, processing the job... [2025-03-09 07:15:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:15:02] Production.INFO: ==23935== Lock acquired, processing the job... [2025-03-09 07:15:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:15:03] Production.INFO: ==23937== Lock acquired, processing the job... [2025-03-09 07:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:15:03] Production.INFO: ==23939== Lock acquired, processing the job... [2025-03-09 07:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:15:03] Production.INFO: ==23941== Lock acquired, processing the job... [2025-03-09 07:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:15:03] Production.INFO: ==23943== Lock acquired, processing the job... [2025-03-09 07:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:15:03] Production.INFO: Account Balance Start. [2025-03-09 07:15:03] Production.INFO: CreateAllLog Start [2025-03-09 07:15:03] Production.INFO: 117 [2025-03-09 07:15:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:15:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:15:03] Production.INFO: ==23935== Releasing lock... [2025-03-09 07:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:15:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:15:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:15:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:15:03] Production.INFO: Total Charge 0 [2025-03-09 07:15:03] Production.INFO: CreateAllLog End [2025-03-09 07:15:03] Production.INFO: count ==13 [2025-03-09 07:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:15:03] Production.INFO: count ==21 [2025-03-09 07:15:03] Production.ERROR: done [2025-03-09 07:15:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640587') start [2025-03-09 07:15:03] Production.ERROR: done [2025-03-09 07:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640587') end [2025-03-09 07:15:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:15:03] Production.INFO: 1 [2025-03-09 07:15:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:15:03] Production.INFO: ==23943== Releasing lock... [2025-03-09 07:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:15:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:15:03] Production.INFO: Account Balance End. [2025-03-09 07:15:03] Production.ERROR: CronJobId end 12 [2025-03-09 07:15:03] Production.INFO: ==23939== Releasing lock... [2025-03-09 07:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:15:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:15:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:15:04 [end_date_ymd] => 2025-03-09 07:15:04 [RateCDR] => 1 ) [2025-03-09 07:15:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:15:04' and `end` < '2025-03-09 07:15:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:15:11] Production.ERROR: CronJobId end10 [2025-03-09 07:15:11] Production.INFO: ==23937== Releasing lock... [2025-03-09 07:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:15:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:15:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:15:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:15:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:15:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:15:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:15:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:15:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:15:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:15:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:15:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:15:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:15:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:15:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:15:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:15:13] Production.INFO: call_cost start [2025-03-09 07:15:13] Production.INFO: call_cost end [2025-03-09 07:15:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:15:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:15:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:15:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:15:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:15:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:15:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:15:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:15:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:15:14] Production.INFO: ==23933== Releasing lock... [2025-03-09 07:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:15:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:15:18] Production.INFO: count ==564 [2025-03-09 07:15:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:15:04 - End Time 2025-03-09 07:15:04 [2025-03-09 07:15:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640588', 'tblTempUsageDetail_20' ) start [2025-03-09 07:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640588', 'tblTempUsageDetail_20' ) end [2025-03-09 07:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640588', 'tblTempVendorCDR_20' ) start [2025-03-09 07:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640588', 'tblTempVendorCDR_20' ) end [2025-03-09 07:15:18] Production.INFO: ProcessCDR(1,14640588,1,1,2) [2025-03-09 07:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640588', 'tblTempUsageDetail_20' ) start [2025-03-09 07:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640588', 'tblTempUsageDetail_20' ) end [2025-03-09 07:15:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:15:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:15:21] Production.INFO: ==23941== Releasing lock... [2025-03-09 07:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:15:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 11:16:01] Production.INFO: ==24001== Lock acquired, processing the job... [2025-03-09 11:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:16:01] Production.INFO: neon service started [2025-03-09 11:16:01] Production.INFO: neon service started [2025-03-09 11:16:01] Production.INFO: ==24001== Releasing lock... [2025-03-09 11:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:16:02] Production.INFO: ==24005== Lock acquired, processing the job... [2025-03-09 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:16:02] Production.INFO: ==24005== Releasing lock... [2025-03-09 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:16:02] Production.INFO: ==24003== Lock acquired, processing the job... [2025-03-09 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:16:02] Production.INFO: ==24003== Releasing lock... [2025-03-09 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:16:03] Production.INFO: ==24008== Lock acquired, processing the job... [2025-03-09 07:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:16:03] Production.INFO: ==24010== Lock acquired, processing the job... [2025-03-09 07:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:16:03] Production.INFO: ==24014== Lock acquired, processing the job... [2025-03-09 07:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:16:03] Production.INFO: ==24012== Lock acquired, processing the job... [2025-03-09 07:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:16:03] Production.INFO: Account Balance Start. [2025-03-09 07:16:03] Production.INFO: CreateAllLog Start [2025-03-09 07:16:03] Production.INFO: 117 [2025-03-09 07:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:16:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:16:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:16:03] Production.INFO: ==24010== Releasing lock... [2025-03-09 07:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:16:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:16:03] Production.INFO: ==24016== Lock acquired, processing the job... [2025-03-09 07:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:16:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:16:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:16:03] Production.INFO: Total Charge 0 [2025-03-09 07:16:03] Production.INFO: CreateAllLog End [2025-03-09 07:16:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:16:04] Production.INFO: ==24018== Lock acquired, processing the job... [2025-03-09 07:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:16:04] Production.INFO: Account Balance End. [2025-03-09 07:16:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:16:04] Production.INFO: ==24014== Releasing lock... [2025-03-09 07:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:16:04] Production.INFO: count ==13 [2025-03-09 07:16:04] Production.ERROR: done [2025-03-09 07:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:16:04] Production.INFO: count ==21 [2025-03-09 07:16:04] Production.ERROR: done [2025-03-09 07:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640592') start [2025-03-09 07:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640592') end [2025-03-09 07:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:16:04] Production.INFO: 1 [2025-03-09 07:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:16:04] Production.INFO: ==24018== Releasing lock... [2025-03-09 07:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:16:05 [end_date_ymd] => 2025-03-09 07:16:05 [RateCDR] => 1 ) [2025-03-09 07:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:16:05' and `end` < '2025-03-09 07:16:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:16:11] Production.ERROR: CronJobId end10 [2025-03-09 07:16:11] Production.INFO: ==24012== Releasing lock... [2025-03-09 07:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:16:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:16:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:16:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:16:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:16:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:16:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:16:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:16:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:16:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:16:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:16:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:16:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:16:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:16:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:16:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:16:13] Production.INFO: call_cost start [2025-03-09 07:16:13] Production.INFO: call_cost end [2025-03-09 07:16:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:16:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:16:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:16:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:16:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:16:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:16:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:16:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:16:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:16:14] Production.INFO: ==24008== Releasing lock... [2025-03-09 07:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:16:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:16:18] Production.INFO: count ==556 [2025-03-09 07:16:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:16:05 - End Time 2025-03-09 07:16:05 [2025-03-09 07:16:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640593', 'tblTempUsageDetail_20' ) start [2025-03-09 07:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640593', 'tblTempUsageDetail_20' ) end [2025-03-09 07:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640593', 'tblTempVendorCDR_20' ) start [2025-03-09 07:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640593', 'tblTempVendorCDR_20' ) end [2025-03-09 07:16:18] Production.INFO: ProcessCDR(1,14640593,1,1,2) [2025-03-09 07:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640593', 'tblTempUsageDetail_20' ) start [2025-03-09 07:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640593', 'tblTempUsageDetail_20' ) end [2025-03-09 07:16:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:16:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:16:21] Production.INFO: ==24016== Releasing lock... [2025-03-09 07:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:16:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 11:17:02] Production.INFO: ==24080== Lock acquired, processing the job... [2025-03-09 11:17:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:17:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:17:02] Production.INFO: neon service started [2025-03-09 11:17:02] Production.INFO: neon service started [2025-03-09 11:17:02] Production.INFO: ==24080== Releasing lock... [2025-03-09 11:17:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:17:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:17:02] Production.INFO: ==24082== Lock acquired, processing the job... [2025-03-09 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:17:02] Production.INFO: ==24082== Releasing lock... [2025-03-09 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:17:03] Production.INFO: ==24084== Lock acquired, processing the job... [2025-03-09 11:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:17:03] Production.INFO: ==24084== Releasing lock... [2025-03-09 11:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:17:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:17:03] Production.INFO: ==24086== Lock acquired, processing the job... [2025-03-09 07:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:17:03] Production.INFO: ==24090== Lock acquired, processing the job... [2025-03-09 07:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:17:03] Production.INFO: ==24094== Lock acquired, processing the job... [2025-03-09 07:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:17:03] Production.INFO: ==24088== Lock acquired, processing the job... [2025-03-09 07:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:17:04] Production.INFO: ==24092== Lock acquired, processing the job... [2025-03-09 07:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:17:04] Production.INFO: ==24096== Lock acquired, processing the job... [2025-03-09 07:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:17:04] Production.ERROR: done [2025-03-09 07:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:17:04] Production.INFO: Account Balance Start. [2025-03-09 07:17:04] Production.INFO: CreateAllLog Start [2025-03-09 07:17:04] Production.INFO: 117 [2025-03-09 07:17:04] Production.INFO: count ==13 [2025-03-09 07:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:17:04] Production.INFO: count ==21 [2025-03-09 07:17:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:17:04] Production.ERROR: done [2025-03-09 07:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640596') start [2025-03-09 07:17:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:17:04] Production.INFO: ==24088== Releasing lock... [2025-03-09 07:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:17:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:17:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640596') end [2025-03-09 07:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:17:04] Production.INFO: 1 [2025-03-09 07:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:17:04] Production.INFO: ==24096== Releasing lock... [2025-03-09 07:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:17:04] Production.INFO: Total Charge 0 [2025-03-09 07:17:04] Production.INFO: CreateAllLog End [2025-03-09 07:17:04] Production.INFO: Account Balance End. [2025-03-09 07:17:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:17:04] Production.INFO: ==24092== Releasing lock... [2025-03-09 07:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:17:05 [end_date_ymd] => 2025-03-09 07:17:05 [RateCDR] => 1 ) [2025-03-09 07:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:17:05' and `end` < '2025-03-09 07:17:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:17:11] Production.ERROR: CronJobId end10 [2025-03-09 07:17:11] Production.INFO: ==24090== Releasing lock... [2025-03-09 07:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:17:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:17:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:17:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:17:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:17:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:17:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:17:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:17:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:17:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:17:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:17:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:17:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:17:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:17:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:17:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:17:13] Production.INFO: call_cost start [2025-03-09 07:17:13] Production.INFO: call_cost end [2025-03-09 07:17:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:17:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:17:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:17:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:17:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:17:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:17:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:17:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:17:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:17:14] Production.INFO: ==24086== Releasing lock... [2025-03-09 07:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:17:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:17:18] Production.INFO: count ==550 [2025-03-09 07:17:19] Production.ERROR: pbx CDR StartTime 2025-03-09 04:17:05 - End Time 2025-03-09 07:17:05 [2025-03-09 07:17:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640598', 'tblTempUsageDetail_20' ) start [2025-03-09 07:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640598', 'tblTempUsageDetail_20' ) end [2025-03-09 07:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640598', 'tblTempVendorCDR_20' ) start [2025-03-09 07:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640598', 'tblTempVendorCDR_20' ) end [2025-03-09 07:17:19] Production.INFO: ProcessCDR(1,14640598,1,1,2) [2025-03-09 07:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640598', 'tblTempUsageDetail_20' ) start [2025-03-09 07:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640598', 'tblTempUsageDetail_20' ) end [2025-03-09 07:17:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:17:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:17:22] Production.INFO: ==24094== Releasing lock... [2025-03-09 07:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:17:22] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 11:18:01] Production.INFO: ==24155== Lock acquired, processing the job... [2025-03-09 11:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:18:01] Production.INFO: neon service started [2025-03-09 11:18:01] Production.INFO: neon service started [2025-03-09 11:18:01] Production.INFO: ==24155== Releasing lock... [2025-03-09 11:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:18:01] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 07:18:02] Production.INFO: ==24157== Lock acquired, processing the job... [2025-03-09 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:18:02] Production.INFO: ==24157== Releasing lock... [2025-03-09 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:18:02] Production.INFO: ==24159== Lock acquired, processing the job... [2025-03-09 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:18:02] Production.INFO: ==24159== Releasing lock... [2025-03-09 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:18:03] Production.INFO: ==24170== Lock acquired, processing the job... [2025-03-09 07:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:18:03] Production.ERROR: done [2025-03-09 07:18:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:18:03] Production.ERROR: done [2025-03-09 07:18:03] Production.INFO: ==24172== Lock acquired, processing the job... [2025-03-09 07:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:18:03] Production.INFO: ==24162== Lock acquired, processing the job... [2025-03-09 07:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:18:03] Production.INFO: ==24166== Lock acquired, processing the job... [2025-03-09 07:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:18:03] Production.INFO: ==24164== Lock acquired, processing the job... [2025-03-09 07:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:18:03] Production.INFO: count ==13 [2025-03-09 07:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:18:03] Production.INFO: count ==21 [2025-03-09 07:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640600') start [2025-03-09 07:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:18:03] Production.INFO: ==24168== Lock acquired, processing the job... [2025-03-09 07:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640600') end [2025-03-09 07:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:18:04] Production.INFO: 1 [2025-03-09 07:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:18:04] Production.INFO: ==24172== Releasing lock... [2025-03-09 07:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:18:04] Production.INFO: Account Balance Start. [2025-03-09 07:18:04] Production.INFO: CreateAllLog Start [2025-03-09 07:18:04] Production.INFO: 117 [2025-03-09 07:18:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:18:04] Production.INFO: ==24164== Releasing lock... [2025-03-09 07:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:18:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:18:04] Production.INFO: Total Charge 0 [2025-03-09 07:18:04] Production.INFO: CreateAllLog End [2025-03-09 07:18:04] Production.INFO: Account Balance End. [2025-03-09 07:18:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:18:04 [end_date_ymd] => 2025-03-09 07:18:04 [RateCDR] => 1 ) [2025-03-09 07: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-09 04:18:04' and `end` < '2025-03-09 07: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-09 07:18:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:18:04] Production.INFO: ==24168== Releasing lock... [2025-03-09 07:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:18:11] Production.ERROR: CronJobId end10 [2025-03-09 07:18:11] Production.INFO: ==24166== Releasing lock... [2025-03-09 07:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:18:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:18:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:18:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:18:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:18:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:18:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:18:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:18:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:18:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:18:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:18:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:18:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:18:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:18:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:18:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:18:13] Production.INFO: call_cost start [2025-03-09 07:18:13] Production.INFO: call_cost end [2025-03-09 07:18:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:18:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:18:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:18:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:18:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:18:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:18:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:18:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:18:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:18:14] Production.INFO: ==24162== Releasing lock... [2025-03-09 07:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:18:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:18:16] Production.INFO: count ==542 [2025-03-09 07:18:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:18:04 - End Time 2025-03-09 07:18:04 [2025-03-09 07:18:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640599', 'tblTempUsageDetail_20' ) start [2025-03-09 07:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640599', 'tblTempUsageDetail_20' ) end [2025-03-09 07:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640599', 'tblTempVendorCDR_20' ) start [2025-03-09 07:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640599', 'tblTempVendorCDR_20' ) end [2025-03-09 07:18:17] Production.INFO: ProcessCDR(1,14640599,1,1,2) [2025-03-09 07:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640599', 'tblTempUsageDetail_20' ) start [2025-03-09 07:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640599', 'tblTempUsageDetail_20' ) end [2025-03-09 07:18:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:18:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:18:20] Production.INFO: ==24170== Releasing lock... [2025-03-09 07:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:18:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 11:19:02] Production.INFO: ==24233== Lock acquired, processing the job... [2025-03-09 11:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:19:02] Production.INFO: neon service started [2025-03-09 11:19:02] Production.INFO: neon service started [2025-03-09 11:19:02] Production.INFO: ==24233== Releasing lock... [2025-03-09 11:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:19:02] Production.INFO: ==24237== Lock acquired, processing the job... [2025-03-09 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:19:02] Production.INFO: ==24237== Releasing lock... [2025-03-09 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:19:02] Production.INFO: ==24235== Lock acquired, processing the job... [2025-03-09 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:19:02] Production.INFO: ==24235== Releasing lock... [2025-03-09 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:19:03] Production.INFO: ==24244== Lock acquired, processing the job... [2025-03-09 07:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:19:03] Production.INFO: ==24246== Lock acquired, processing the job... [2025-03-09 07:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:19:03] Production.INFO: ==24248== Lock acquired, processing the job... [2025-03-09 07:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:19:03] Production.INFO: Account Balance Start. [2025-03-09 07:19:03] Production.INFO: CreateAllLog Start [2025-03-09 07:19:03] Production.INFO: 117 [2025-03-09 07:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:19:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:19:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:19:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:19:04] Production.ERROR: done [2025-03-09 07:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:19:04] Production.INFO: Total Charge 0 [2025-03-09 07:19:04] Production.INFO: ==24242== Lock acquired, processing the job... [2025-03-09 07:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:19:04] Production.INFO: CreateAllLog End [2025-03-09 07:19:04] Production.INFO: ==24240== Lock acquired, processing the job... [2025-03-09 07:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:19:04] Production.INFO: ==24250== Lock acquired, processing the job... [2025-03-09 07:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:19:04] Production.ERROR: done [2025-03-09 07:19:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:19:04] Production.INFO: Account Balance End. [2025-03-09 07:19:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:19:04] Production.INFO: ==24246== Releasing lock... [2025-03-09 07:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 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-09 07:19:04] Production.INFO: count ==13 [2025-03-09 07:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:19:04] Production.INFO: count ==21 [2025-03-09 07:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640608') start [2025-03-09 07:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640608') end [2025-03-09 07:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:19:04] Production.INFO: 1 [2025-03-09 07:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:19:04] Production.INFO: ==24250== Releasing lock... [2025-03-09 07:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:19:04] Production.INFO: ==24242== Releasing lock... [2025-03-09 07:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:19:05 [end_date_ymd] => 2025-03-09 07:19:05 [RateCDR] => 1 ) [2025-03-09 07:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:19:05' and `end` < '2025-03-09 07:19:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:19:11] Production.ERROR: CronJobId end10 [2025-03-09 07:19:11] Production.INFO: ==24244== Releasing lock... [2025-03-09 07:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:19:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:19:14] Production.INFO: call_cost start [2025-03-09 07:19:14] Production.INFO: call_cost end [2025-03-09 07:19:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:19:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:19:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:19:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:19:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:19:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:19:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:19:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:19:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:19:15] Production.INFO: ==24240== Releasing lock... [2025-03-09 07:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:19:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:19:17] Production.INFO: count ==530 [2025-03-09 07:19:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:19:05 - End Time 2025-03-09 07:19:05 [2025-03-09 07:19:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640606', 'tblTempUsageDetail_20' ) start [2025-03-09 07:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640606', 'tblTempUsageDetail_20' ) end [2025-03-09 07:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640606', 'tblTempVendorCDR_20' ) start [2025-03-09 07:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640606', 'tblTempVendorCDR_20' ) end [2025-03-09 07:19:18] Production.INFO: ProcessCDR(1,14640606,1,1,2) [2025-03-09 07:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640606', 'tblTempUsageDetail_20' ) start [2025-03-09 07:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640606', 'tblTempUsageDetail_20' ) end [2025-03-09 07:19:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:19:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:19:21] Production.INFO: ==24248== Releasing lock... [2025-03-09 07:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:19:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 11:20:01] Production.INFO: ==24309== Lock acquired, processing the job... [2025-03-09 11:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:20:01] Production.INFO: neon service started [2025-03-09 11:20:01] Production.INFO: neon service started [2025-03-09 11:20:01] Production.INFO: ==24309== Releasing lock... [2025-03-09 11:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:20:02] Production.INFO: ==24311== Lock acquired, processing the job... [2025-03-09 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:20:02] Production.INFO: ==24313== Lock acquired, processing the job... [2025-03-09 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:20:02] Production.INFO: ==24313== Releasing lock... [2025-03-09 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:20:02] Production.INFO: ==24311== Releasing lock... [2025-03-09 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:20:03] Production.INFO: ==24316== Lock acquired, processing the job... [2025-03-09 07:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 07:20:03] Production.INFO: ==24324== Lock acquired, processing the job... [2025-03-09 07:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:20:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 07:20:03] Production.INFO: Account Balance Start. [2025-03-09 07:20:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 07:20:03] Production.INFO: CreateAllLog Start [2025-03-09 07:20:03] Production.ERROR: CronJob PID - 24324 [2025-03-09 07:20:03] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 07:20:03] Production.ERROR: CronJob ID - 12 [2025-03-09 07:20:03] Production.ERROR: CronJob Last Run Time 2025-03-09 07:20:00 [2025-03-09 07:20:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 07:20:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 07:20:03] Production.INFO: 117 [2025-03-09 07:20:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:20:03] Production.INFO: ==24328== Lock acquired, processing the job... [2025-03-09 07:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 07:20:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:20:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 07:20:03] Production.INFO: ==24316== Releasing lock... [2025-03-09 07:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 07:20:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 07:20:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:20:04] Production.INFO: Total Charge 0 [2025-03-09 07:20:04] Production.INFO: CreateAllLog End [2025-03-09 07:20:04] Production.INFO: ==24318== Lock acquired, processing the job... [2025-03-09 07:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:20:04] Production.INFO: ==24320== Lock acquired, processing the job... [2025-03-09 07:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:20:04] Production.INFO: ==24322== Lock acquired, processing the job... [2025-03-09 07:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:20:04] Production.INFO: ==24326== Lock acquired, processing the job... [2025-03-09 07:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:20:04] Production.INFO: ==24330== Lock acquired, processing the job... [2025-03-09 07:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:20:04] Production.INFO: Account Balance End. [2025-03-09 07:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:20:04] Production.ERROR: done [2025-03-09 07:20:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:20:04] Production.INFO: count ==13 [2025-03-09 07:20:04] Production.INFO: ==24324== Releasing lock... [2025-03-09 07:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:20:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 07:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640613', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 07:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:20:04] Production.INFO: count ==21 [2025-03-09 07:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640612') start [2025-03-09 07:20:04] Production.ERROR: done [2025-03-09 07:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640612') end [2025-03-09 07:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:20:04] Production.INFO: 1 [2025-03-09 07:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:20:05] Production.INFO: ==24330== Releasing lock... [2025-03-09 07:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:20:05] Production.ERROR: done [2025-03-09 07:20:05] Production.INFO: ==24320== Releasing lock... [2025-03-09 07:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:20:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:20:06 [end_date_ymd] => 2025-03-09 07:20:06 [RateCDR] => 1 ) [2025-03-09 07:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:20:06' and `end` < '2025-03-09 07:20:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640613', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 07:20:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 07:20:08] Production.INFO: ProcessCDR(1,14640613,1,1,2) [2025-03-09 07:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14640613,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14640613,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:20:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:20:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:20:08] Production.INFO: ==24328== Releasing lock... [2025-03-09 07:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 07:20:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 07:20:12] Production.ERROR: CronJobId end10 [2025-03-09 07:20:12] Production.INFO: ==24322== Releasing lock... [2025-03-09 07:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:20:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:20:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:20:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:20:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:20:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:20:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:20:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:20:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:20:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:20:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:20:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:20:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:20:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:20:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:20:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:20:15] Production.INFO: call_cost start [2025-03-09 07:20:15] Production.INFO: call_cost end [2025-03-09 07:20:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:20:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:20:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:20:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:20:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:20:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:20:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:20:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:20:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:20:16] Production.INFO: ==24318== Releasing lock... [2025-03-09 07:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:20:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:20:18] Production.INFO: count ==522 [2025-03-09 07:20:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:20:06 - End Time 2025-03-09 07:20:06 [2025-03-09 07:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640614', 'tblTempUsageDetail_20' ) start [2025-03-09 07:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640614', 'tblTempUsageDetail_20' ) end [2025-03-09 07:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640614', 'tblTempVendorCDR_20' ) start [2025-03-09 07:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640614', 'tblTempVendorCDR_20' ) end [2025-03-09 07:20:18] Production.INFO: ProcessCDR(1,14640614,1,1,2) [2025-03-09 07:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640614', 'tblTempUsageDetail_20' ) start [2025-03-09 07:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640614', 'tblTempUsageDetail_20' ) end [2025-03-09 07:20:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:20:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:20:22] Production.INFO: ==24326== Releasing lock... [2025-03-09 07:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:20:22] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 11:21:02] Production.INFO: ==24384== Lock acquired, processing the job... [2025-03-09 11:21:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:21:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:21:02] Production.INFO: neon service started [2025-03-09 11:21:02] Production.INFO: neon service started [2025-03-09 11:21:02] Production.INFO: ==24384== Releasing lock... [2025-03-09 11:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:21:02] Production.INFO: ==24386== Lock acquired, processing the job... [2025-03-09 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:21:02] Production.INFO: ==24388== Lock acquired, processing the job... [2025-03-09 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:21:02] Production.INFO: ==24388== Releasing lock... [2025-03-09 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:21:03] Production.INFO: ==24386== Releasing lock... [2025-03-09 07:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:21:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:21:03] Production.INFO: ==24391== Lock acquired, processing the job... [2025-03-09 07:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:21:03] Production.INFO: ==24395== Lock acquired, processing the job... [2025-03-09 07:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:21:04] Production.INFO: ==24401== Lock acquired, processing the job... [2025-03-09 07:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:21:04] Production.INFO: ==24393== Lock acquired, processing the job... [2025-03-09 07:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:21:04] Production.INFO: ==24397== Lock acquired, processing the job... [2025-03-09 07:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:21:04] Production.INFO: ==24399== Lock acquired, processing the job... [2025-03-09 07:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:21:04] Production.INFO: count ==13 [2025-03-09 07:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:21:04] Production.INFO: count ==21 [2025-03-09 07:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640616') start [2025-03-09 07:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:21:04] Production.INFO: Account Balance Start. [2025-03-09 07:21:04] Production.INFO: CreateAllLog Start [2025-03-09 07:21:04] Production.INFO: 117 [2025-03-09 07:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640616') end [2025-03-09 07:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:21:04] Production.INFO: 1 [2025-03-09 07:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:21:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:21:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:21:04] Production.INFO: Total Charge 0 [2025-03-09 07:21:04] Production.INFO: CreateAllLog End [2025-03-09 07:21:04] Production.INFO: ==24401== Releasing lock... [2025-03-09 07:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:21:04] Production.INFO: ==24393== Releasing lock... [2025-03-09 07:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:21:04] Production.INFO: Account Balance End. [2025-03-09 07:21:04] Production.ERROR: done [2025-03-09 07:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:21:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:21:04] Production.INFO: ==24397== Releasing lock... [2025-03-09 07:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:21:05] Production.ERROR: done [2025-03-09 07:21:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:21:06 [end_date_ymd] => 2025-03-09 07:21:06 [RateCDR] => 1 ) [2025-03-09 07: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-09 04:21:06' and `end` < '2025-03-09 07: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-09 07:21:11] Production.ERROR: CronJobId end10 [2025-03-09 07:21:11] Production.INFO: ==24395== Releasing lock... [2025-03-09 07:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:21:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:21:14] Production.INFO: call_cost start [2025-03-09 07:21:14] Production.INFO: call_cost end [2025-03-09 07:21:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:21:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:21:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:21:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:21:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:21:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:21:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:21:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:21:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:21:15] Production.INFO: ==24391== Releasing lock... [2025-03-09 07:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:21:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:21:18] Production.INFO: count ==521 [2025-03-09 07:21:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:21:06 - End Time 2025-03-09 07:21:06 [2025-03-09 07:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640619', 'tblTempUsageDetail_20' ) start [2025-03-09 07:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640619', 'tblTempUsageDetail_20' ) end [2025-03-09 07:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640619', 'tblTempVendorCDR_20' ) start [2025-03-09 07:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640619', 'tblTempVendorCDR_20' ) end [2025-03-09 07:21:18] Production.INFO: ProcessCDR(1,14640619,1,1,2) [2025-03-09 07:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640619', 'tblTempUsageDetail_20' ) start [2025-03-09 07:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640619', 'tblTempUsageDetail_20' ) end [2025-03-09 07:21:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:21:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:21:21] Production.INFO: ==24399== Releasing lock... [2025-03-09 07:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:21:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 11:22:01] Production.INFO: ==24458== Lock acquired, processing the job... [2025-03-09 11:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:22:01] Production.INFO: neon service started [2025-03-09 11:22:01] Production.INFO: neon service started [2025-03-09 11:22:01] Production.INFO: ==24458== Releasing lock... [2025-03-09 11:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:22:02] Production.INFO: ==24461== Lock acquired, processing the job... [2025-03-09 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:22:02] Production.INFO: ==24463== Lock acquired, processing the job... [2025-03-09 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:22:02] Production.INFO: ==24463== Releasing lock... [2025-03-09 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:22:02] Production.INFO: ==24461== Releasing lock... [2025-03-09 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:22:03] Production.INFO: ==24465== Lock acquired, processing the job... [2025-03-09 07:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:22:03] Production.INFO: ==24467== Lock acquired, processing the job... [2025-03-09 07:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:22:03] Production.INFO: ==24473== Lock acquired, processing the job... [2025-03-09 07:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:22:03] Production.INFO: ==24475== Lock acquired, processing the job... [2025-03-09 07:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:22:03] Production.INFO: ==24469== Lock acquired, processing the job... [2025-03-09 07:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:22:03] Production.INFO: ==24471== Lock acquired, processing the job... [2025-03-09 07:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:22:03] Production.INFO: ==24467== Releasing lock... [2025-03-09 07:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:22:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:22:03] Production.INFO: Account Balance Start. [2025-03-09 07:22:03] Production.INFO: CreateAllLog Start [2025-03-09 07:22:03] Production.INFO: 117 [2025-03-09 07:22:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:22:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:22:03] Production.INFO: count ==13 [2025-03-09 07:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:22:03] Production.INFO: count ==21 [2025-03-09 07:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640622') start [2025-03-09 07:22:03] Production.ERROR: done [2025-03-09 07:22:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:22:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:22:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:22:03] Production.INFO: Total Charge 0 [2025-03-09 07:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640622') end [2025-03-09 07:22:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:22:03] Production.INFO: 1 [2025-03-09 07:22:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:22:03] Production.INFO: CreateAllLog End [2025-03-09 07:22:04] Production.ERROR: done [2025-03-09 07:22:04] Production.INFO: ==24475== Releasing lock... [2025-03-09 07:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:22:04] Production.INFO: Account Balance End. [2025-03-09 07:22:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:22:04] Production.INFO: ==24471== Releasing lock... [2025-03-09 07:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:22:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:22:04 [end_date_ymd] => 2025-03-09 07:22:04 [RateCDR] => 1 ) [2025-03-09 07:22:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:22:04' and `end` < '2025-03-09 07:22:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:22:12] Production.ERROR: CronJobId end10 [2025-03-09 07:22:12] Production.INFO: ==24469== Releasing lock... [2025-03-09 07:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:22:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:22:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:22:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:22:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:22:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:22:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:22:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:22:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:22:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:22:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:22:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:22:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:22:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:22:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:22:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:22:14] Production.INFO: call_cost start [2025-03-09 07:22:14] Production.INFO: call_cost end [2025-03-09 07:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:22:15] Production.INFO: ==24465== Releasing lock... [2025-03-09 07:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:22:17] Production.INFO: count ==521 [2025-03-09 07:22:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:22:04 - End Time 2025-03-09 07:22:04 [2025-03-09 07:22:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640624', 'tblTempUsageDetail_20' ) start [2025-03-09 07:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640624', 'tblTempUsageDetail_20' ) end [2025-03-09 07:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640624', 'tblTempVendorCDR_20' ) start [2025-03-09 07:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640624', 'tblTempVendorCDR_20' ) end [2025-03-09 07:22:17] Production.INFO: ProcessCDR(1,14640624,1,1,2) [2025-03-09 07:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:22:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640624', 'tblTempUsageDetail_20' ) start [2025-03-09 07:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640624', 'tblTempUsageDetail_20' ) end [2025-03-09 07:22:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:22:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:22:20] Production.INFO: ==24473== Releasing lock... [2025-03-09 07:22:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:22:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 11:23:01] Production.INFO: ==24576== Lock acquired, processing the job... [2025-03-09 11:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:23:01] Production.INFO: neon service started [2025-03-09 11:23:01] Production.INFO: neon service started [2025-03-09 11:23:01] Production.INFO: ==24576== Releasing lock... [2025-03-09 11:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:23:02] Production.INFO: ==24580== Lock acquired, processing the job... [2025-03-09 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:23:02] Production.INFO: ==24580== Releasing lock... [2025-03-09 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:23:02] Production.INFO: ==24578== Lock acquired, processing the job... [2025-03-09 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:23:02] Production.INFO: ==24578== Releasing lock... [2025-03-09 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:23:03] Production.INFO: ==24584== Lock acquired, processing the job... [2025-03-09 07:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:23:03] Production.INFO: ==24582== Lock acquired, processing the job... [2025-03-09 07:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:23:03] Production.INFO: ==24590== Lock acquired, processing the job... [2025-03-09 07:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:23:03] Production.INFO: ==24586== Lock acquired, processing the job... [2025-03-09 07:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:23:03] Production.INFO: ==24592== Lock acquired, processing the job... [2025-03-09 07:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:23:03] Production.INFO: ==24588== Lock acquired, processing the job... [2025-03-09 07:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:23:03] Production.INFO: ==24584== Releasing lock... [2025-03-09 07:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:23:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:23:03] Production.INFO: Account Balance Start. [2025-03-09 07:23:03] Production.INFO: CreateAllLog Start [2025-03-09 07:23:03] Production.INFO: 117 [2025-03-09 07:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:23:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:23:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:23:04] Production.ERROR: done [2025-03-09 07:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:23:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:23:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:23:04] Production.INFO: Total Charge 0 [2025-03-09 07:23:04] Production.INFO: count ==13 [2025-03-09 07:23:04] Production.INFO: CreateAllLog End [2025-03-09 07:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:23:04] Production.INFO: count ==21 [2025-03-09 07:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640627') start [2025-03-09 07:23:04] Production.ERROR: done [2025-03-09 07:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640627') end [2025-03-09 07:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:23:04] Production.INFO: 1 [2025-03-09 07:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:23:04] Production.INFO: Account Balance End. [2025-03-09 07:23:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:23:04] Production.INFO: ==24588== Releasing lock... [2025-03-09 07:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:23:04] Production.INFO: ==24592== Releasing lock... [2025-03-09 07:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:23:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:23:04 [end_date_ymd] => 2025-03-09 07:23:04 [RateCDR] => 1 ) [2025-03-09 07:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:23:04' and `end` < '2025-03-09 07:23:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07: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,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-09 07:23:11] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:23:11] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:23:11] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:23:11] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:23:11] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:23:11] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:23:11] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:23:11] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:23:11] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:23:11] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:23:11] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:23:11] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:23:11] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:23:11] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:23:11] Production.ERROR: CronJobId end10 [2025-03-09 07:23:11] Production.INFO: ==24586== Releasing lock... [2025-03-09 07:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:23:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:23:12] Production.INFO: call_cost start [2025-03-09 07:23:12] Production.INFO: call_cost end [2025-03-09 07:23:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:23:13] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:23:13] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:23:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:23:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:23:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:23:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:23:13] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:23:13] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:23:13] Production.INFO: ==24582== Releasing lock... [2025-03-09 07:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:23:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:23:17] Production.INFO: count ==521 [2025-03-09 07:23:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:23:04 - End Time 2025-03-09 07:23:04 [2025-03-09 07:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640629', 'tblTempUsageDetail_20' ) start [2025-03-09 07:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640629', 'tblTempUsageDetail_20' ) end [2025-03-09 07:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640629', 'tblTempVendorCDR_20' ) start [2025-03-09 07:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640629', 'tblTempVendorCDR_20' ) end [2025-03-09 07:23:17] Production.INFO: ProcessCDR(1,14640629,1,1,2) [2025-03-09 07:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640629', 'tblTempUsageDetail_20' ) start [2025-03-09 07:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640629', 'tblTempUsageDetail_20' ) end [2025-03-09 07:23:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:23:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:23:20] Production.INFO: ==24590== Releasing lock... [2025-03-09 07:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:23:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 11:24:01] Production.INFO: ==24658== Lock acquired, processing the job... [2025-03-09 11:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:24:01] Production.INFO: neon service started [2025-03-09 11:24:01] Production.INFO: neon service started [2025-03-09 11:24:01] Production.INFO: ==24658== Releasing lock... [2025-03-09 11:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:24:01] Production.INFO: ==24660== Lock acquired, processing the job... [2025-03-09 07:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:24:01] Production.INFO: ==24662== Lock acquired, processing the job... [2025-03-09 11:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:24:02] Production.INFO: ==24662== Releasing lock... [2025-03-09 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:24:02] Production.INFO: ==24660== Releasing lock... [2025-03-09 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:24:02] Production.INFO: ==24664== Lock acquired, processing the job... [2025-03-09 07:24:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:24:03] Production.INFO: ==24675== Lock acquired, processing the job... [2025-03-09 07:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:24:03] Production.INFO: ==24666== Lock acquired, processing the job... [2025-03-09 07:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:24:03] Production.INFO: ==24668== Lock acquired, processing the job... [2025-03-09 07:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:24:03] Production.INFO: count ==13 [2025-03-09 07:24:03] Production.INFO: ==24670== Lock acquired, processing the job... [2025-03-09 07:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:24:03] Production.INFO: ==24672== Lock acquired, processing the job... [2025-03-09 07:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:24:03] Production.INFO: count ==21 [2025-03-09 07:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640631') start [2025-03-09 07:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640631') end [2025-03-09 07:24:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:24:03] Production.INFO: 1 [2025-03-09 07:24:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:24:03] Production.INFO: ==24675== Releasing lock... [2025-03-09 07:24:03] Production.INFO: Account Balance Start. [2025-03-09 07:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:24:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:24:03] Production.INFO: CreateAllLog Start [2025-03-09 07:24:03] Production.INFO: 117 [2025-03-09 07:24:03] Production.INFO: ==24666== Releasing lock... [2025-03-09 07:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:24:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:24:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:24:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:24:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:24:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:24:03] Production.INFO: Total Charge 0 [2025-03-09 07:24:03] Production.INFO: CreateAllLog End [2025-03-09 07:24:03] Production.ERROR: done [2025-03-09 07:24:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:24:04] Production.ERROR: done [2025-03-09 07:24:04] Production.INFO: Account Balance End. [2025-03-09 07:24:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:24:04] Production.INFO: ==24670== Releasing lock... [2025-03-09 07:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:24:05 [end_date_ymd] => 2025-03-09 07:24:05 [RateCDR] => 1 ) [2025-03-09 07:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:24:05' and `end` < '2025-03-09 07:24:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:24:11] Production.ERROR: CronJobId end10 [2025-03-09 07:24:11] Production.INFO: ==24668== Releasing lock... [2025-03-09 07:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:24:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:24:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:24:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:24:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:24:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:24:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:24:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:24:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:24:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:24:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:24:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:24:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:24:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:24:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:24:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:24:12] Production.INFO: call_cost start [2025-03-09 07:24:12] Production.INFO: call_cost end [2025-03-09 07:24:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:24:13] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:24:13] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:24:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:24:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:24:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:24:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:24:13] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:24:13] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:24:13] Production.INFO: ==24664== Releasing lock... [2025-03-09 07:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:24:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:24:17] Production.INFO: count ==521 [2025-03-09 07:24:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:24:05 - End Time 2025-03-09 07:24:05 [2025-03-09 07:24:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640634', 'tblTempUsageDetail_20' ) start [2025-03-09 07:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640634', 'tblTempUsageDetail_20' ) end [2025-03-09 07:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640634', 'tblTempVendorCDR_20' ) start [2025-03-09 07:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640634', 'tblTempVendorCDR_20' ) end [2025-03-09 07:24:17] Production.INFO: ProcessCDR(1,14640634,1,1,2) [2025-03-09 07:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:24:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640634', 'tblTempUsageDetail_20' ) start [2025-03-09 07:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640634', 'tblTempUsageDetail_20' ) end [2025-03-09 07:24:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:24:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:24:20] Production.INFO: ==24672== Releasing lock... [2025-03-09 07:24:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:24:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 11:25:01] Production.INFO: ==24742== Lock acquired, processing the job... [2025-03-09 11:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:25:01] Production.INFO: neon service started [2025-03-09 11:25:01] Production.INFO: neon service started [2025-03-09 11:25:01] Production.INFO: ==24742== Releasing lock... [2025-03-09 11:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:25:02] Production.INFO: ==24744== Lock acquired, processing the job... [2025-03-09 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:25:02] Production.INFO: ==24746== Lock acquired, processing the job... [2025-03-09 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:25:02] Production.INFO: ==24746== Releasing lock... [2025-03-09 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:25:02] Production.INFO: ==24744== Releasing lock... [2025-03-09 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:25:03] Production.INFO: ==24749== Lock acquired, processing the job... [2025-03-09 07:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:25:03] Production.INFO: ==24753== Lock acquired, processing the job... [2025-03-09 07:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:25:03] Production.INFO: ==24757== Lock acquired, processing the job... [2025-03-09 07:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:25:03] Production.INFO: ==24751== Lock acquired, processing the job... [2025-03-09 07:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:25:03] Production.INFO: ==24755== Lock acquired, processing the job... [2025-03-09 07:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:25:03] Production.INFO: ==24759== Lock acquired, processing the job... [2025-03-09 07:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:25:03] Production.ERROR: done [2025-03-09 07:25:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:25:04] Production.INFO: Account Balance Start. [2025-03-09 07:25:04] Production.INFO: CreateAllLog Start [2025-03-09 07:25:04] Production.INFO: 117 [2025-03-09 07:25:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:25:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:25:04] Production.INFO: count ==13 [2025-03-09 07:25:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:25:04] Production.INFO: count ==21 [2025-03-09 07:25:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640638') start [2025-03-09 07:25:04] Production.ERROR: done [2025-03-09 07:25:04] Production.INFO: Total Charge 0 [2025-03-09 07:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640638') end [2025-03-09 07:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:25:04] Production.INFO: 1 [2025-03-09 07:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:25:04] Production.INFO: CreateAllLog End [2025-03-09 07:25:04] Production.INFO: ==24751== Releasing lock... [2025-03-09 07:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:25:04] Production.INFO: ==24759== Releasing lock... [2025-03-09 07:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:25:04] Production.INFO: Account Balance End. [2025-03-09 07:25:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:25:04] Production.INFO: ==24755== Releasing lock... [2025-03-09 07:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:25:05 [end_date_ymd] => 2025-03-09 07:25:05 [RateCDR] => 1 ) [2025-03-09 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-09 04:25:05' and `end` < '2025-03-09 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-09 07:25:11] Production.ERROR: CronJobId end10 [2025-03-09 07:25:11] Production.INFO: ==24753== Releasing lock... [2025-03-09 07:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:25:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:25:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:25:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:25:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:25:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:25:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:25:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:25:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:25:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:25:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:25:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:25:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:25:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:25:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:25:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:25:13] Production.INFO: call_cost start [2025-03-09 07:25:13] Production.INFO: call_cost end [2025-03-09 07:25:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:25:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:25:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:25:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:25:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:25:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:25:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:25:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:25:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:25:14] Production.INFO: ==24749== Releasing lock... [2025-03-09 07:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:25:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:25:17] Production.INFO: count ==521 [2025-03-09 07:25:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:25:05 - End Time 2025-03-09 07:25:05 [2025-03-09 07:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640639', 'tblTempUsageDetail_20' ) start [2025-03-09 07:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640639', 'tblTempUsageDetail_20' ) end [2025-03-09 07:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640639', 'tblTempVendorCDR_20' ) start [2025-03-09 07:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640639', 'tblTempVendorCDR_20' ) end [2025-03-09 07:25:17] Production.INFO: ProcessCDR(1,14640639,1,1,2) [2025-03-09 07:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640639', 'tblTempUsageDetail_20' ) start [2025-03-09 07:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640639', 'tblTempUsageDetail_20' ) end [2025-03-09 07:25:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:25:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:25:20] Production.INFO: ==24757== Releasing lock... [2025-03-09 07:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:25:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 11:26:02] Production.INFO: ==24823== Lock acquired, processing the job... [2025-03-09 11:26:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:26:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:26:02] Production.INFO: neon service started [2025-03-09 11:26:02] Production.INFO: neon service started [2025-03-09 11:26:02] Production.INFO: ==24823== Releasing lock... [2025-03-09 11:26:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:26:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:26:02] Production.INFO: ==24825== Lock acquired, processing the job... [2025-03-09 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:26:02] Production.INFO: ==24825== Releasing lock... [2025-03-09 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:26:02] Production.INFO: ==24827== Lock acquired, processing the job... [2025-03-09 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:26:03] Production.INFO: ==24827== Releasing lock... [2025-03-09 11:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:26:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:26:03] Production.INFO: ==24829== Lock acquired, processing the job... [2025-03-09 07:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:26:03] Production.INFO: ==24831== Lock acquired, processing the job... [2025-03-09 07:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:26:03] Production.INFO: ==24833== Lock acquired, processing the job... [2025-03-09 07:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:26:03] Production.INFO: ==24831== Releasing lock... [2025-03-09 07:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:26:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:26:04] Production.INFO: ==24835== Lock acquired, processing the job... [2025-03-09 07:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:26:04] Production.INFO: ==24838== Lock acquired, processing the job... [2025-03-09 07:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:26:04] Production.INFO: Account Balance Start. [2025-03-09 07:26:04] Production.INFO: CreateAllLog Start [2025-03-09 07:26:04] Production.INFO: 117 [2025-03-09 07:26:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:26:04] Production.INFO: ==24840== Lock acquired, processing the job... [2025-03-09 07:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:26:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:26:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:26:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:26:04] Production.INFO: Total Charge 0 [2025-03-09 07:26:04] Production.INFO: CreateAllLog End [2025-03-09 07:26:04] Production.INFO: count ==13 [2025-03-09 07:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:26:04] Production.INFO: count ==21 [2025-03-09 07:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640643') start [2025-03-09 07:26:04] Production.INFO: Account Balance End. [2025-03-09 07:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640643') end [2025-03-09 07:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:26:04] Production.INFO: 1 [2025-03-09 07:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:26:04] Production.INFO: ==24840== Releasing lock... [2025-03-09 07:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:26:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:26:04] Production.INFO: ==24835== Releasing lock... [2025-03-09 07:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:26:04] Production.ERROR: done [2025-03-09 07:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:26:04] Production.ERROR: done [2025-03-09 07:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:26:05 [end_date_ymd] => 2025-03-09 07:26:05 [RateCDR] => 1 ) [2025-03-09 07:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:26:05' and `end` < '2025-03-09 07:26:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:26:11] Production.ERROR: CronJobId end10 [2025-03-09 07:26:11] Production.INFO: ==24833== Releasing lock... [2025-03-09 07:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:26:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:26:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:26:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:26:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:26:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:26:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:26:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:26:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:26:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:26:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:26:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:26:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:26:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:26:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:26:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:26:13] Production.INFO: call_cost start [2025-03-09 07:26:13] Production.INFO: call_cost end [2025-03-09 07:26:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:26:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:26:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:26:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:26:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:26:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:26:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:26:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:26:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:26:14] Production.INFO: ==24829== Releasing lock... [2025-03-09 07:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:26:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:26:17] Production.INFO: count ==518 [2025-03-09 07:26:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:26:05 - End Time 2025-03-09 07:26:05 [2025-03-09 07:26:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640644', 'tblTempUsageDetail_20' ) start [2025-03-09 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640644', 'tblTempUsageDetail_20' ) end [2025-03-09 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640644', 'tblTempVendorCDR_20' ) start [2025-03-09 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640644', 'tblTempVendorCDR_20' ) end [2025-03-09 07:26:18] Production.INFO: ProcessCDR(1,14640644,1,1,2) [2025-03-09 07:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640644', 'tblTempUsageDetail_20' ) start [2025-03-09 07:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640644', 'tblTempUsageDetail_20' ) end [2025-03-09 07:26:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:26:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:26:21] Production.INFO: ==24838== Releasing lock... [2025-03-09 07:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:26:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 11:27:01] Production.INFO: ==24901== Lock acquired, processing the job... [2025-03-09 11:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:27:01] Production.INFO: neon service started [2025-03-09 11:27:01] Production.INFO: neon service started [2025-03-09 11:27:01] Production.INFO: ==24901== Releasing lock... [2025-03-09 11:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:27:01] Production.INFO: ==24903== Lock acquired, processing the job... [2025-03-09 07:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:27:02] Production.INFO: ==24903== Releasing lock... [2025-03-09 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:27:02] Production.INFO: ==24905== Lock acquired, processing the job... [2025-03-09 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:27:02] Production.INFO: ==24905== Releasing lock... [2025-03-09 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:27:03] Production.INFO: ==24912== Lock acquired, processing the job... [2025-03-09 07:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:27:03] Production.INFO: ==24918== Lock acquired, processing the job... [2025-03-09 07:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:27:03] Production.INFO: ==24908== Lock acquired, processing the job... [2025-03-09 07:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:27:03] Production.INFO: ==24910== Lock acquired, processing the job... [2025-03-09 07:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:27:03] Production.INFO: ==24914== Lock acquired, processing the job... [2025-03-09 07:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:27:03] Production.INFO: ==24916== Lock acquired, processing the job... [2025-03-09 07:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:27:03] Production.INFO: count ==13 [2025-03-09 07:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:27:03] Production.INFO: count ==21 [2025-03-09 07:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640645') start [2025-03-09 07:27:03] Production.INFO: Account Balance Start. [2025-03-09 07:27:03] Production.INFO: CreateAllLog Start [2025-03-09 07:27:03] Production.INFO: 117 [2025-03-09 07:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:27:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:27:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:27:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:27:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640645') end [2025-03-09 07:27:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:27:03] Production.INFO: 1 [2025-03-09 07:27:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:27:03] Production.INFO: Total Charge 0 [2025-03-09 07:27:03] Production.INFO: ==24918== Releasing lock... [2025-03-09 07:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:27:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:27:03] Production.INFO: CreateAllLog End [2025-03-09 07:27:03] Production.INFO: ==24910== Releasing lock... [2025-03-09 07:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:27:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:27:03] Production.ERROR: done [2025-03-09 07:27:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:27:03] Production.INFO: Account Balance End. [2025-03-09 07:27:03] Production.ERROR: CronJobId end 12 [2025-03-09 07:27:03] Production.INFO: ==24914== Releasing lock... [2025-03-09 07:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:27:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:27:03] Production.ERROR: done [2025-03-09 07:27:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:27:04 [end_date_ymd] => 2025-03-09 07:27:04 [RateCDR] => 1 ) [2025-03-09 07:27:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:27:04' and `end` < '2025-03-09 07:27:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:27:10] Production.ERROR: CronJobId end10 [2025-03-09 07:27:10] Production.INFO: ==24912== Releasing lock... [2025-03-09 07:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:27:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:27:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:27:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:27:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:27:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:27:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:27:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:27:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:27:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:27:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:27:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:27:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:27:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:27:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:27:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:27:13] Production.INFO: call_cost start [2025-03-09 07:27:13] Production.INFO: call_cost end [2025-03-09 07:27:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:27:13] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:27:13] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:27:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:27:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:27:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:27:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:27:13] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:27:13] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:27:13] Production.INFO: ==24908== Releasing lock... [2025-03-09 07:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:27:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:27:17] Production.INFO: count ==518 [2025-03-09 07:27:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:27:04 - End Time 2025-03-09 07:27:04 [2025-03-09 07:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640649', 'tblTempUsageDetail_20' ) start [2025-03-09 07:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640649', 'tblTempUsageDetail_20' ) end [2025-03-09 07:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640649', 'tblTempVendorCDR_20' ) start [2025-03-09 07:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640649', 'tblTempVendorCDR_20' ) end [2025-03-09 07:27:17] Production.INFO: ProcessCDR(1,14640649,1,1,2) [2025-03-09 07:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:27:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640649', 'tblTempUsageDetail_20' ) start [2025-03-09 07:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640649', 'tblTempUsageDetail_20' ) end [2025-03-09 07:27:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:27:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:27:20] Production.INFO: ==24916== Releasing lock... [2025-03-09 07:27:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:27:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 11:28:02] Production.INFO: ==24982== Lock acquired, processing the job... [2025-03-09 11:28:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:28:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:28:02] Production.INFO: neon service started [2025-03-09 11:28:02] Production.INFO: neon service started [2025-03-09 11:28:02] Production.INFO: ==24982== Releasing lock... [2025-03-09 11:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:28:02] Production.INFO: ==24986== Lock acquired, processing the job... [2025-03-09 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:28:02] Production.INFO: ==24986== Releasing lock... [2025-03-09 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:28:02] Production.INFO: ==24984== Lock acquired, processing the job... [2025-03-09 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:28:02] Production.INFO: ==24984== Releasing lock... [2025-03-09 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:28:03] Production.INFO: ==24989== Lock acquired, processing the job... [2025-03-09 07:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:28:03] Production.INFO: ==24991== Lock acquired, processing the job... [2025-03-09 07:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:28:03] Production.INFO: ==24993== Lock acquired, processing the job... [2025-03-09 07:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:28:04] Production.INFO: ==24995== Lock acquired, processing the job... [2025-03-09 07:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:28:04] Production.INFO: ==24997== Lock acquired, processing the job... [2025-03-09 07:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:28:04] Production.INFO: ==24991== Releasing lock... [2025-03-09 07:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:28:04] Production.INFO: ==24999== Lock acquired, processing the job... [2025-03-09 07:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:28:04] Production.INFO: Account Balance Start. [2025-03-09 07:28:04] Production.INFO: CreateAllLog Start [2025-03-09 07:28:04] Production.INFO: 117 [2025-03-09 07:28:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:28:04] Production.INFO: count ==13 [2025-03-09 07:28:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:28:04] Production.INFO: count ==21 [2025-03-09 07:28:04] Production.INFO: Total Charge 0 [2025-03-09 07:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640653') start [2025-03-09 07:28:04] Production.INFO: CreateAllLog End [2025-03-09 07:28:04] Production.ERROR: done [2025-03-09 07:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640653') end [2025-03-09 07:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:28:04] Production.INFO: 1 [2025-03-09 07:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:28:04] Production.ERROR: done [2025-03-09 07:28:04] Production.INFO: ==24999== Releasing lock... [2025-03-09 07:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:28:04] Production.INFO: Account Balance End. [2025-03-09 07:28:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:28:04] Production.INFO: ==24995== Releasing lock... [2025-03-09 07:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:28:05 [end_date_ymd] => 2025-03-09 07:28:05 [RateCDR] => 1 ) [2025-03-09 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-09 04:28:05' and `end` < '2025-03-09 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-09 07:28:11] Production.ERROR: CronJobId end10 [2025-03-09 07:28:11] Production.INFO: ==24993== Releasing lock... [2025-03-09 07:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:28:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:28:14] Production.INFO: call_cost start [2025-03-09 07:28:14] Production.INFO: call_cost end [2025-03-09 07:28:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:28:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:28:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:28:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:28:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:28:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:28:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:28:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:28:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:28:15] Production.INFO: ==24989== Releasing lock... [2025-03-09 07:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:28:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:28:17] Production.INFO: count ==518 [2025-03-09 07:28:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:28:05 - End Time 2025-03-09 07:28:05 [2025-03-09 07:28:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640654', 'tblTempUsageDetail_20' ) start [2025-03-09 07:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640654', 'tblTempUsageDetail_20' ) end [2025-03-09 07:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640654', 'tblTempVendorCDR_20' ) start [2025-03-09 07:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640654', 'tblTempVendorCDR_20' ) end [2025-03-09 07:28:18] Production.INFO: ProcessCDR(1,14640654,1,1,2) [2025-03-09 07:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640654', 'tblTempUsageDetail_20' ) start [2025-03-09 07:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640654', 'tblTempUsageDetail_20' ) end [2025-03-09 07:28:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:28:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:28:21] Production.INFO: ==24997== Releasing lock... [2025-03-09 07:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:28:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 11:29:01] Production.INFO: ==25063== Lock acquired, processing the job... [2025-03-09 11:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:29:01] Production.INFO: neon service started [2025-03-09 11:29:01] Production.INFO: neon service started [2025-03-09 11:29:01] Production.INFO: ==25063== Releasing lock... [2025-03-09 11:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:29:01] Production.INFO: ==25070== Lock acquired, processing the job... [2025-03-09 07:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:29:02] Production.INFO: ==25070== Releasing lock... [2025-03-09 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:29:02] Production.INFO: ==25072== Lock acquired, processing the job... [2025-03-09 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:29:02] Production.INFO: ==25072== Releasing lock... [2025-03-09 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:29:03] Production.INFO: ==25078== Lock acquired, processing the job... [2025-03-09 07:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:29:03] Production.INFO: ==25085== Lock acquired, processing the job... [2025-03-09 07:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:29:03] Production.INFO: ==25074== Lock acquired, processing the job... [2025-03-09 07:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:29:03] Production.INFO: count ==13 [2025-03-09 07:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:29:03] Production.INFO: count ==21 [2025-03-09 07:29:03] Production.INFO: ==25076== Lock acquired, processing the job... [2025-03-09 07:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640655') start [2025-03-09 07:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:29:03] Production.INFO: ==25080== Lock acquired, processing the job... [2025-03-09 07:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:29:03] Production.INFO: ==25082== Lock acquired, processing the job... [2025-03-09 07:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640655') end [2025-03-09 07:29:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:29:03] Production.INFO: 1 [2025-03-09 07:29:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:29:03] Production.INFO: ==25085== Releasing lock... [2025-03-09 07:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:29:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:29:03] Production.INFO: Account Balance Start. [2025-03-09 07:29:03] Production.INFO: CreateAllLog Start [2025-03-09 07:29:03] Production.INFO: 117 [2025-03-09 07:29:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:29:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:29:03] Production.INFO: ==25076== Releasing lock... [2025-03-09 07:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:29:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:29:03] Production.INFO: Total Charge 0 [2025-03-09 07:29:03] Production.INFO: CreateAllLog End [2025-03-09 07:29:04] Production.ERROR: done [2025-03-09 07:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:29:04] Production.INFO: Account Balance End. [2025-03-09 07:29:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:29:04] Production.INFO: ==25080== Releasing lock... [2025-03-09 07:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:29:04] Production.ERROR: done [2025-03-09 07:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:29:05 [end_date_ymd] => 2025-03-09 07:29:05 [RateCDR] => 1 ) [2025-03-09 07:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:29:05' and `end` < '2025-03-09 07:29:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:29:11] Production.ERROR: CronJobId end10 [2025-03-09 07:29:11] Production.INFO: ==25078== Releasing lock... [2025-03-09 07:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:29:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:29:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:29:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:29:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:29:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:29:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:29:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:29:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:29:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:29:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:29:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:29:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:29:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:29:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:29:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:29:13] Production.INFO: call_cost start [2025-03-09 07:29:13] Production.INFO: call_cost end [2025-03-09 07:29:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:29:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:29:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:29:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:29:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:29:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:29:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:29:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:29:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:29:14] Production.INFO: ==25074== Releasing lock... [2025-03-09 07:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:29:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:29:17] Production.INFO: count ==518 [2025-03-09 07:29:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:29:05 - End Time 2025-03-09 07:29:05 [2025-03-09 07:29:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640659', 'tblTempUsageDetail_20' ) start [2025-03-09 07:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640659', 'tblTempUsageDetail_20' ) end [2025-03-09 07:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640659', 'tblTempVendorCDR_20' ) start [2025-03-09 07:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640659', 'tblTempVendorCDR_20' ) end [2025-03-09 07:29:17] Production.INFO: ProcessCDR(1,14640659,1,1,2) [2025-03-09 07:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640659', 'tblTempUsageDetail_20' ) start [2025-03-09 07:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640659', 'tblTempUsageDetail_20' ) end [2025-03-09 07:29:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:29:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:29:20] Production.INFO: ==25082== Releasing lock... [2025-03-09 07:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:29:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 11:30:02] Production.INFO: ==25149== Lock acquired, processing the job... [2025-03-09 11:30:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:30:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:30:02] Production.INFO: neon service started [2025-03-09 11:30:02] Production.INFO: neon service started [2025-03-09 11:30:02] Production.INFO: ==25149== Releasing lock... [2025-03-09 11:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:30:02] Production.INFO: ==25152== Lock acquired, processing the job... [2025-03-09 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:30:02] Production.INFO: ==25152== Releasing lock... [2025-03-09 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:30:03] Production.INFO: ==25154== Lock acquired, processing the job... [2025-03-09 11:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:30:03] Production.INFO: ==25154== Releasing lock... [2025-03-09 11:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:30:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:30:03] Production.INFO: ==25160== Lock acquired, processing the job... [2025-03-09 07:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:30:03] Production.INFO: ==25162== Lock acquired, processing the job... [2025-03-09 07:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:30:04] Production.INFO: ==25168== Lock acquired, processing the job... [2025-03-09 07:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 07:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:30:04] Production.INFO: ==25156== Lock acquired, processing the job... [2025-03-09 07:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 07:30:04] Production.INFO: ==25158== Lock acquired, processing the job... [2025-03-09 07:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:30:04] Production.INFO: ==25164== Lock acquired, processing the job... [2025-03-09 07:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 07:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 07:30:04] Production.ERROR: CronJob PID - 25158 [2025-03-09 07:30:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 07:30:04] Production.ERROR: CronJob ID - 5 [2025-03-09 07:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 07:30:00 [2025-03-09 07:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 07:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 07:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 07:30:04] Production.ERROR: CronJob PID - 25160 [2025-03-09 07:30:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 07:30:04] Production.ERROR: CronJob ID - 7 [2025-03-09 07:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 07:30:00 [2025-03-09 07:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 07:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 07:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 07:30:04] Production.ERROR: CronJob PID - 25162 [2025-03-09 07:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 07:30:04] Production.ERROR: CronJob ID - 10 [2025-03-09 07:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 07:30:00 [2025-03-09 07:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 07:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 07:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 07:30:04] Production.ERROR: CronJob PID - 25168 [2025-03-09 07:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-09 07:30:04] Production.ERROR: CronJob ID - 17 [2025-03-09 07:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 07:30:00 [2025-03-09 07:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 07:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 07:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:30:04] Production.INFO: ==25166== Lock acquired, processing the job... [2025-03-09 07:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:30:04] Production.INFO: ==25170== Lock acquired, processing the job... [2025-03-09 07:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:30:04] Production.ERROR: done [2025-03-09 07:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 07:30:04] Production.INFO: ==25156== Releasing lock... [2025-03-09 07:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 07:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 07:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:30:04] Production.INFO: ==25160== Releasing lock... [2025-03-09 07:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 07:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640662', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 07:30:04] Production.INFO: Account Balance Start. [2025-03-09 07:30:04] Production.INFO: CreateAllLog Start [2025-03-09 07:30:04] Production.INFO: 117 [2025-03-09 07:30:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:30:04] Production.INFO: count ==13 [2025-03-09 07:30:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:30:04] Production.INFO: count ==21 [2025-03-09 07:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640664') start [2025-03-09 07:30:04] Production.INFO: Total Charge 0 [2025-03-09 07:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640664') end [2025-03-09 07:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:30:04] Production.INFO: 1 [2025-03-09 07:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:30:04] Production.INFO: CreateAllLog End [2025-03-09 07:30:04] Production.ERROR: done [2025-03-09 07:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:30:04] Production.INFO: ==25170== Releasing lock... [2025-03-09 07:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:30:05] Production.INFO: Account Balance End. [2025-03-09 07:30:05] Production.ERROR: done [2025-03-09 07:30:05] Production.ERROR: CronJobId end 12 [2025-03-09 07:30:05] Production.INFO: ==25164== Releasing lock... [2025-03-09 07:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:30:06 [end_date_ymd] => 2025-03-09 07:30:06 [RateCDR] => 1 ) [2025-03-09 07:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:30:06' and `end` < '2025-03-09 07:30:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640662', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 07:30:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 07:30:08] Production.INFO: ProcessCDR(1,14640662,1,1,2) [2025-03-09 07:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14640662,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14640662,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:30:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:30:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:30:08] Production.INFO: ==25168== Releasing lock... [2025-03-09 07:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 07:30:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 07:30:13] Production.ERROR: CronJobId end10 [2025-03-09 07:30:13] Production.INFO: ==25162== Releasing lock... [2025-03-09 07:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:30:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:30:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:30:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:30:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:30:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:30:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:30:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:30:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:30:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:30:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:30:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:30:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:30:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:30:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:30:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:30:15] Production.INFO: call_cost start [2025-03-09 07:30:15] Production.INFO: call_cost end [2025-03-09 07:30:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:30:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:30:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:30:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:30:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:30:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:30:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:30:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:30:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:30:16] Production.INFO: ==25158== Releasing lock... [2025-03-09 07:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:30:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:30:18] Production.INFO: count ==516 [2025-03-09 07:30:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:30:06 - End Time 2025-03-09 07:30:06 [2025-03-09 07:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640665', 'tblTempUsageDetail_20' ) start [2025-03-09 07:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640665', 'tblTempUsageDetail_20' ) end [2025-03-09 07:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640665', 'tblTempVendorCDR_20' ) start [2025-03-09 07:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640665', 'tblTempVendorCDR_20' ) end [2025-03-09 07:30:18] Production.INFO: ProcessCDR(1,14640665,1,1,2) [2025-03-09 07:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640665', 'tblTempUsageDetail_20' ) start [2025-03-09 07:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640665', 'tblTempUsageDetail_20' ) end [2025-03-09 07:30:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:30:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:30:21] Production.INFO: ==25166== Releasing lock... [2025-03-09 07:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:30:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 11:31:01] Production.INFO: ==25230== Lock acquired, processing the job... [2025-03-09 11:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:31:01] Production.INFO: neon service started [2025-03-09 11:31:01] Production.INFO: neon service started [2025-03-09 11:31:01] Production.INFO: ==25230== Releasing lock... [2025-03-09 11:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:31:01] Production.INFO: ==25232== Lock acquired, processing the job... [2025-03-09 07:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:31:02] Production.INFO: ==25232== Releasing lock... [2025-03-09 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:31:02] Production.INFO: ==25234== Lock acquired, processing the job... [2025-03-09 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:31:02] Production.INFO: ==25234== Releasing lock... [2025-03-09 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:31:03] Production.INFO: ==25238== Lock acquired, processing the job... [2025-03-09 07:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:31:03] Production.INFO: ==25236== Lock acquired, processing the job... [2025-03-09 07:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:31:03] Production.INFO: ==25240== Lock acquired, processing the job... [2025-03-09 07:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:31:03] Production.INFO: ==25242== Lock acquired, processing the job... [2025-03-09 07:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:31:03] Production.INFO: ==25246== Lock acquired, processing the job... [2025-03-09 07:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:31:03] Production.INFO: ==25244== Lock acquired, processing the job... [2025-03-09 07:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:31:03] Production.INFO: ==25238== Releasing lock... [2025-03-09 07:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:31:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:31:03] Production.INFO: Account Balance Start. [2025-03-09 07:31:03] Production.INFO: CreateAllLog Start [2025-03-09 07:31:03] Production.INFO: 117 [2025-03-09 07:31:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:31:03] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 07:31:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:31:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:31:03] Production.INFO: Total Charge 0 [2025-03-09 07:31:03] Production.INFO: CreateAllLog End [2025-03-09 07:31:03] Production.INFO: count ==13 [2025-03-09 07:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:31:03] Production.INFO: count ==21 [2025-03-09 07:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640669') start [2025-03-09 07:31:03] Production.INFO: Account Balance End. [2025-03-09 07:31:03] Production.ERROR: done [2025-03-09 07:31:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640669') end [2025-03-09 07:31:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:31:03] Production.INFO: 1 [2025-03-09 07:31:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:31:03] Production.ERROR: CronJobId end 12 [2025-03-09 07:31:03] Production.INFO: ==25242== Releasing lock... [2025-03-09 07:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:31:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:31:04] Production.INFO: ==25246== Releasing lock... [2025-03-09 07:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:31:04] Production.ERROR: done [2025-03-09 07:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:31:05 [end_date_ymd] => 2025-03-09 07:31:05 [RateCDR] => 1 ) [2025-03-09 07:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:31:05' and `end` < '2025-03-09 07:31:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:31:11] Production.ERROR: CronJobId end10 [2025-03-09 07:31:11] Production.INFO: ==25240== Releasing lock... [2025-03-09 07:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:31:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:31:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:31:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:31:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:31:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:31:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:31:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:31:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:31:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:31:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:31:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:31:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:31:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:31:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:31:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:31:14] Production.INFO: call_cost start [2025-03-09 07:31:14] Production.INFO: call_cost end [2025-03-09 07:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:31:15] Production.INFO: ==25236== Releasing lock... [2025-03-09 07:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:31:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:31:17] Production.INFO: count ==516 [2025-03-09 07:31:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:31:05 - End Time 2025-03-09 07:31:05 [2025-03-09 07:31:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640670', 'tblTempUsageDetail_20' ) start [2025-03-09 07:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640670', 'tblTempUsageDetail_20' ) end [2025-03-09 07:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640670', 'tblTempVendorCDR_20' ) start [2025-03-09 07:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640670', 'tblTempVendorCDR_20' ) end [2025-03-09 07:31:17] Production.INFO: ProcessCDR(1,14640670,1,1,2) [2025-03-09 07:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:31:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640670', 'tblTempUsageDetail_20' ) start [2025-03-09 07:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640670', 'tblTempUsageDetail_20' ) end [2025-03-09 07:31:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:31:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:31:20] Production.INFO: ==25244== Releasing lock... [2025-03-09 07:31:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:31:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 11:32:01] Production.INFO: ==25300== Lock acquired, processing the job... [2025-03-09 11:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:32:02] Production.INFO: neon service started [2025-03-09 11:32:02] Production.INFO: neon service started [2025-03-09 11:32:02] Production.INFO: ==25300== Releasing lock... [2025-03-09 11:32:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:32:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:32:02] Production.INFO: ==25302== Lock acquired, processing the job... [2025-03-09 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:32:02] Production.INFO: ==25304== Lock acquired, processing the job... [2025-03-09 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:32:02] Production.INFO: ==25304== Releasing lock... [2025-03-09 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:32:02] Production.INFO: ==25302== Releasing lock... [2025-03-09 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:32:03] Production.INFO: ==25307== Lock acquired, processing the job... [2025-03-09 07:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:32:03] Production.INFO: ==25313== Lock acquired, processing the job... [2025-03-09 07:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:32:03] Production.INFO: Account Balance Start. [2025-03-09 07:32:03] Production.INFO: CreateAllLog Start [2025-03-09 07:32:03] Production.INFO: 117 [2025-03-09 07:32:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:32:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:32:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:32:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:32:03] Production.INFO: Total Charge 0 [2025-03-09 07:32:03] Production.INFO: ==25309== Lock acquired, processing the job... [2025-03-09 07:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:32:03] Production.INFO: CreateAllLog End [2025-03-09 07:32:03] Production.INFO: ==25315== Lock acquired, processing the job... [2025-03-09 07:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:32:03] Production.INFO: ==25311== Lock acquired, processing the job... [2025-03-09 07:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:32:03] Production.INFO: ==25317== Lock acquired, processing the job... [2025-03-09 07:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:32:04] Production.INFO: Account Balance End. [2025-03-09 07:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:32:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:32:04] Production.INFO: ==25313== Releasing lock... [2025-03-09 07:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:32:04] Production.INFO: count ==13 [2025-03-09 07:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:32:04] Production.INFO: count ==21 [2025-03-09 07:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640674') start [2025-03-09 07:32:04] Production.ERROR: done [2025-03-09 07:32:04] Production.INFO: ==25309== Releasing lock... [2025-03-09 07:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640674') end [2025-03-09 07:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:32:04] Production.INFO: 1 [2025-03-09 07:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:32:04] Production.ERROR: done [2025-03-09 07:32:04] Production.INFO: ==25317== Releasing lock... [2025-03-09 07:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:32:05 [end_date_ymd] => 2025-03-09 07:32:05 [RateCDR] => 1 ) [2025-03-09 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-09 04:32:05' and `end` < '2025-03-09 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-09 07:32:11] Production.ERROR: CronJobId end10 [2025-03-09 07:32:11] Production.INFO: ==25311== Releasing lock... [2025-03-09 07:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:32:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:32:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:32:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:32:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:32:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:32:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:32:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:32:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:32:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:32:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:32:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:32:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:32:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:32:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:32:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:32:14] Production.INFO: call_cost start [2025-03-09 07:32:14] Production.INFO: call_cost end [2025-03-09 07:32:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:32:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:32:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:32:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:32:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:32:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:32:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:32:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:32:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:32:15] Production.INFO: ==25307== Releasing lock... [2025-03-09 07:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:32:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:32:17] Production.INFO: count ==516 [2025-03-09 07:32:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:32:05 - End Time 2025-03-09 07:32:05 [2025-03-09 07:32:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640675', 'tblTempUsageDetail_20' ) start [2025-03-09 07:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640675', 'tblTempUsageDetail_20' ) end [2025-03-09 07:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640675', 'tblTempVendorCDR_20' ) start [2025-03-09 07:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640675', 'tblTempVendorCDR_20' ) end [2025-03-09 07:32:17] Production.INFO: ProcessCDR(1,14640675,1,1,2) [2025-03-09 07:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:32:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640675', 'tblTempUsageDetail_20' ) start [2025-03-09 07:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640675', 'tblTempUsageDetail_20' ) end [2025-03-09 07:32:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:32:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:32:20] Production.INFO: ==25315== Releasing lock... [2025-03-09 07:32:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:32:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 11:33:01] Production.INFO: ==25370== Lock acquired, processing the job... [2025-03-09 11:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:33:01] Production.INFO: neon service started [2025-03-09 11:33:01] Production.INFO: neon service started [2025-03-09 11:33:01] Production.INFO: ==25370== Releasing lock... [2025-03-09 11:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:33:01] Production.INFO: ==25374== Lock acquired, processing the job... [2025-03-09 11:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:33:01] Production.INFO: ==25374== Releasing lock... [2025-03-09 11:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:33:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:33:01] Production.INFO: ==25372== Lock acquired, processing the job... [2025-03-09 07:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:33:02] Production.INFO: ==25372== Releasing lock... [2025-03-09 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:33:02] Production.INFO: ==25378== Lock acquired, processing the job... [2025-03-09 07:33:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:33:02] Production.INFO: ==25376== Lock acquired, processing the job... [2025-03-09 07:33:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:33:02] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:33:03] Production.INFO: ==25386== Lock acquired, processing the job... [2025-03-09 07:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:33:03] Production.INFO: ==25378== Releasing lock... [2025-03-09 07:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:33:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:33:03] Production.INFO: count ==13 [2025-03-09 07:33:03] Production.INFO: ==25380== Lock acquired, processing the job... [2025-03-09 07:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:33:03] Production.INFO: count ==21 [2025-03-09 07:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640678') start [2025-03-09 07:33:03] Production.INFO: ==25382== Lock acquired, processing the job... [2025-03-09 07:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:33:03] Production.INFO: ==25384== Lock acquired, processing the job... [2025-03-09 07:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640678') end [2025-03-09 07:33:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:33:03] Production.INFO: 1 [2025-03-09 07:33:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:33:03] Production.INFO: ==25386== Releasing lock... [2025-03-09 07:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:33:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:33:03] Production.INFO: Account Balance Start. [2025-03-09 07:33:03] Production.INFO: CreateAllLog Start [2025-03-09 07:33:03] Production.INFO: 117 [2025-03-09 07:33:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:33:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:33:03] Production.ERROR: done [2025-03-09 07:33:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:33:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:33:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:33:03] Production.ERROR: done [2025-03-09 07:33:03] Production.INFO: Total Charge 0 [2025-03-09 07:33:03] Production.INFO: CreateAllLog End [2025-03-09 07:33:03] Production.INFO: Account Balance End. [2025-03-09 07:33:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:33:04] Production.INFO: ==25382== Releasing lock... [2025-03-09 07:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:33:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:33:04 [end_date_ymd] => 2025-03-09 07:33:04 [RateCDR] => 1 ) [2025-03-09 07: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-09 04:33:04' and `end` < '2025-03-09 07: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-09 07:33:10] Production.ERROR: CronJobId end10 [2025-03-09 07:33:10] Production.INFO: ==25380== Releasing lock... [2025-03-09 07:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:33:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:33:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:33:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:33:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:33:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:33:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:33:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:33:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:33:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:33:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:33:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:33:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:33:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:33:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:33:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:33:13] Production.INFO: call_cost start [2025-03-09 07:33:13] Production.INFO: call_cost end [2025-03-09 07:33:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:33:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:33:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:33:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:33:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:33:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:33:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:33:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:33:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:33:14] Production.INFO: ==25376== Releasing lock... [2025-03-09 07:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:33:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:33:17] Production.INFO: count ==516 [2025-03-09 07:33:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:33:04 - End Time 2025-03-09 07:33:04 [2025-03-09 07:33:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640680', 'tblTempUsageDetail_20' ) start [2025-03-09 07:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640680', 'tblTempUsageDetail_20' ) end [2025-03-09 07:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640680', 'tblTempVendorCDR_20' ) start [2025-03-09 07:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640680', 'tblTempVendorCDR_20' ) end [2025-03-09 07:33:17] Production.INFO: ProcessCDR(1,14640680,1,1,2) [2025-03-09 07:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640680', 'tblTempUsageDetail_20' ) start [2025-03-09 07:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640680', 'tblTempUsageDetail_20' ) end [2025-03-09 07:33:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:33:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:33:20] Production.INFO: ==25384== Releasing lock... [2025-03-09 07:33:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:33:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 11:34:01] Production.INFO: ==25441== Lock acquired, processing the job... [2025-03-09 11:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:34:01] Production.INFO: neon service started [2025-03-09 11:34:01] Production.INFO: neon service started [2025-03-09 11:34:01] Production.INFO: ==25441== Releasing lock... [2025-03-09 11:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:34:02] Production.INFO: ==25443== Lock acquired, processing the job... [2025-03-09 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:34:02] Production.INFO: ==25443== Releasing lock... [2025-03-09 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:34:02] Production.INFO: ==25445== Lock acquired, processing the job... [2025-03-09 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:34:02] Production.INFO: ==25445== Releasing lock... [2025-03-09 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:34:03] Production.INFO: ==25447== Lock acquired, processing the job... [2025-03-09 07:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:34:03] Production.INFO: ==25449== Lock acquired, processing the job... [2025-03-09 07:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:34:03] Production.INFO: ==25453== Lock acquired, processing the job... [2025-03-09 07:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:34:03] Production.INFO: Account Balance Start. [2025-03-09 07:34:03] Production.INFO: CreateAllLog Start [2025-03-09 07:34:03] Production.INFO: 117 [2025-03-09 07:34:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:34:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:34:03] Production.INFO: ==25449== Releasing lock... [2025-03-09 07:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:34:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:34:03] Production.INFO: ==25451== Lock acquired, processing the job... [2025-03-09 07:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:34:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:34:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:34:03] Production.INFO: Total Charge 0 [2025-03-09 07:34:03] Production.INFO: CreateAllLog End [2025-03-09 07:34:03] Production.INFO: ==25455== Lock acquired, processing the job... [2025-03-09 07:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:34:03] Production.INFO: ==25457== Lock acquired, processing the job... [2025-03-09 07:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:34:03] Production.INFO: Account Balance End. [2025-03-09 07:34:03] Production.ERROR: CronJobId end 12 [2025-03-09 07:34:03] Production.INFO: ==25453== Releasing lock... [2025-03-09 07:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:34:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 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-09 07:34:04] Production.INFO: count ==13 [2025-03-09 07:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:34:04] Production.INFO: count ==21 [2025-03-09 07:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640684') start [2025-03-09 07:34:04] Production.ERROR: done [2025-03-09 07:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640684') end [2025-03-09 07:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:34:04] Production.INFO: 1 [2025-03-09 07:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:34:04] Production.INFO: ==25457== Releasing lock... [2025-03-09 07:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:34:04] Production.ERROR: done [2025-03-09 07:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:34:05 [end_date_ymd] => 2025-03-09 07:34:05 [RateCDR] => 1 ) [2025-03-09 07:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:34:05' and `end` < '2025-03-09 07:34:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:34:10] Production.ERROR: CronJobId end10 [2025-03-09 07:34:10] Production.INFO: ==25451== Releasing lock... [2025-03-09 07:34:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:34:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:34:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:34:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:34:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:34:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:34:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:34:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:34:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:34:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:34:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:34:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:34:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:34:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:34:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:34:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:34:13] Production.INFO: call_cost start [2025-03-09 07:34:13] Production.INFO: call_cost end [2025-03-09 07:34:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:34:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:34:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:34:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:34:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:34:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:34:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:34:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:34:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:34:14] Production.INFO: ==25447== Releasing lock... [2025-03-09 07:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:34:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:34:17] Production.INFO: count ==512 [2025-03-09 07:34:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:34:05 - End Time 2025-03-09 07:34:05 [2025-03-09 07:34:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640685', 'tblTempUsageDetail_20' ) start [2025-03-09 07:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640685', 'tblTempUsageDetail_20' ) end [2025-03-09 07:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640685', 'tblTempVendorCDR_20' ) start [2025-03-09 07:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640685', 'tblTempVendorCDR_20' ) end [2025-03-09 07:34:17] Production.INFO: ProcessCDR(1,14640685,1,1,2) [2025-03-09 07:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:34:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640685', 'tblTempUsageDetail_20' ) start [2025-03-09 07:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640685', 'tblTempUsageDetail_20' ) end [2025-03-09 07:34:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:34:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:34:20] Production.INFO: ==25455== Releasing lock... [2025-03-09 07:34:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:34:20] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 11:35:02] Production.INFO: ==25513== Lock acquired, processing the job... [2025-03-09 11:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:35:02] Production.INFO: neon service started [2025-03-09 11:35:02] Production.INFO: neon service started [2025-03-09 11:35:02] Production.INFO: ==25513== Releasing lock... [2025-03-09 11:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:35:02] Production.INFO: ==25515== Lock acquired, processing the job... [2025-03-09 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:35:02] Production.INFO: ==25517== Lock acquired, processing the job... [2025-03-09 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:35:02] Production.INFO: ==25517== Releasing lock... [2025-03-09 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:35:03] Production.INFO: ==25515== Releasing lock... [2025-03-09 07:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:35:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:35:03] Production.INFO: ==25520== Lock acquired, processing the job... [2025-03-09 07:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:35:03] Production.INFO: ==25524== Lock acquired, processing the job... [2025-03-09 07:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:35:04] Production.INFO: ==25528== Lock acquired, processing the job... [2025-03-09 07:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:35:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:35:04] Production.INFO: ==25522== Lock acquired, processing the job... [2025-03-09 07:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:35:04] Production.INFO: ==25526== Lock acquired, processing the job... [2025-03-09 07:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:35:04] Production.INFO: ==25530== Lock acquired, processing the job... [2025-03-09 07:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:35:04] Production.ERROR: done [2025-03-09 07:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:35:04] Production.INFO: Account Balance Start. [2025-03-09 07:35:04] Production.INFO: CreateAllLog Start [2025-03-09 07:35:04] Production.INFO: 117 [2025-03-09 07:35:04] Production.INFO: Date 2025-03-08 [2025-03-09 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-09 07:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:35:04] Production.INFO: count ==13 [2025-03-09 07:35:04] Production.INFO: ==25522== Releasing lock... [2025-03-09 07:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 07:35:04] Production.INFO: count ==21 [2025-03-09 07:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640688') start [2025-03-09 07:35:04] Production.ERROR: done [2025-03-09 07:35:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:35:04] Production.INFO: Total Charge 0 [2025-03-09 07:35:04] Production.INFO: CreateAllLog End [2025-03-09 07:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640688') end [2025-03-09 07:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:35:04] Production.INFO: 1 [2025-03-09 07:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:35:04] Production.INFO: ==25530== Releasing lock... [2025-03-09 07:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:35:04] Production.INFO: Account Balance End. [2025-03-09 07:35:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:35:04] Production.INFO: ==25526== Releasing lock... [2025-03-09 07:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:35:05 [end_date_ymd] => 2025-03-09 07:35:05 [RateCDR] => 1 ) [2025-03-09 07:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:35:05' and `end` < '2025-03-09 07:35:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:35:11] Production.ERROR: CronJobId end10 [2025-03-09 07:35:11] Production.INFO: ==25524== Releasing lock... [2025-03-09 07:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:35:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:35:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:35:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:35:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:35:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:35:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:35:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:35:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:35:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:35:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:35:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:35:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:35:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:35:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:35:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:35:13] Production.INFO: call_cost start [2025-03-09 07:35:13] Production.INFO: call_cost end [2025-03-09 07:35:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:35:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:35:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:35:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:35:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:35:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:35:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:35:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:35:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:35:14] Production.INFO: ==25520== Releasing lock... [2025-03-09 07:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:35:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:35:17] Production.INFO: count ==504 [2025-03-09 07:35:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:35:05 - End Time 2025-03-09 07:35:05 [2025-03-09 07:35:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640690', 'tblTempUsageDetail_20' ) start [2025-03-09 07:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640690', 'tblTempUsageDetail_20' ) end [2025-03-09 07:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640690', 'tblTempVendorCDR_20' ) start [2025-03-09 07:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640690', 'tblTempVendorCDR_20' ) end [2025-03-09 07:35:17] Production.INFO: ProcessCDR(1,14640690,1,1,2) [2025-03-09 07:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640690', 'tblTempUsageDetail_20' ) start [2025-03-09 07:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640690', 'tblTempUsageDetail_20' ) end [2025-03-09 07:35:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:35:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:35:21] Production.INFO: ==25528== Releasing lock... [2025-03-09 07:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:35:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 11:36:01] Production.INFO: ==25583== Lock acquired, processing the job... [2025-03-09 11:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:36:01] Production.INFO: neon service started [2025-03-09 11:36:01] Production.INFO: neon service started [2025-03-09 11:36:01] Production.INFO: ==25583== Releasing lock... [2025-03-09 11:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:36:02] Production.INFO: ==25585== Lock acquired, processing the job... [2025-03-09 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:36:02] Production.INFO: ==25585== Releasing lock... [2025-03-09 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:36:02] Production.INFO: ==25587== Lock acquired, processing the job... [2025-03-09 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:36:02] Production.INFO: ==25587== Releasing lock... [2025-03-09 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:36:03] Production.INFO: ==25591== Lock acquired, processing the job... [2025-03-09 07:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:36:03] Production.INFO: ==25597== Lock acquired, processing the job... [2025-03-09 07:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:36:03] Production.INFO: ==25589== Lock acquired, processing the job... [2025-03-09 07:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:36:03] Production.INFO: ==25593== Lock acquired, processing the job... [2025-03-09 07:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:36:03] Production.INFO: ==25591== Releasing lock... [2025-03-09 07:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:36:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:36:03] Production.INFO: ==25595== Lock acquired, processing the job... [2025-03-09 07:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:36:03] Production.INFO: ==25600== Lock acquired, processing the job... [2025-03-09 07:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:36:03] Production.INFO: Account Balance Start. [2025-03-09 07:36:03] Production.INFO: CreateAllLog Start [2025-03-09 07:36:03] Production.INFO: 117 [2025-03-09 07:36:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:36:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:36:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:36:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:36:04] Production.INFO: Total Charge 0 [2025-03-09 07:36:04] Production.INFO: CreateAllLog End [2025-03-09 07:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:36:04] Production.INFO: count ==13 [2025-03-09 07:36:04] Production.ERROR: done [2025-03-09 07:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:36:04] Production.INFO: count ==21 [2025-03-09 07:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640694') start [2025-03-09 07:36:04] Production.ERROR: done [2025-03-09 07:36:04] Production.INFO: Account Balance End. [2025-03-09 07:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640694') end [2025-03-09 07:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:36:04] Production.INFO: 1 [2025-03-09 07:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:36:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:36:04] Production.INFO: ==25600== Releasing lock... [2025-03-09 07:36:04] Production.INFO: ==25595== Releasing lock... [2025-03-09 07:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:36:05 [end_date_ymd] => 2025-03-09 07:36:05 [RateCDR] => 1 ) [2025-03-09 07:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:36:05' and `end` < '2025-03-09 07:36:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:36:11] Production.ERROR: CronJobId end10 [2025-03-09 07:36:11] Production.INFO: ==25593== Releasing lock... [2025-03-09 07:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:36:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:36:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:36:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:36:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:36:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:36:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:36:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:36:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:36:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:36:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:36:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:36:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:36:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:36:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:36:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:36:13] Production.INFO: call_cost start [2025-03-09 07:36:13] Production.INFO: call_cost end [2025-03-09 07:36:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:36:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:36:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:36:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:36:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:36:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:36:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:36:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:36:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:36:14] Production.INFO: ==25589== Releasing lock... [2025-03-09 07:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:36:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:36:17] Production.INFO: count ==494 [2025-03-09 07:36:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:36:05 - End Time 2025-03-09 07:36:05 [2025-03-09 07:36:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640695', 'tblTempUsageDetail_20' ) start [2025-03-09 07:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640695', 'tblTempUsageDetail_20' ) end [2025-03-09 07:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640695', 'tblTempVendorCDR_20' ) start [2025-03-09 07:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640695', 'tblTempVendorCDR_20' ) end [2025-03-09 07:36:17] Production.INFO: ProcessCDR(1,14640695,1,1,2) [2025-03-09 07:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640695', 'tblTempUsageDetail_20' ) start [2025-03-09 07:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640695', 'tblTempUsageDetail_20' ) end [2025-03-09 07:36:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:36:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:36:20] Production.INFO: ==25597== Releasing lock... [2025-03-09 07:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:36:20] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 11:37:02] Production.INFO: ==25653== Lock acquired, processing the job... [2025-03-09 11:37:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:37:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:37:02] Production.INFO: neon service started [2025-03-09 11:37:02] Production.INFO: neon service started [2025-03-09 11:37:02] Production.INFO: ==25653== Releasing lock... [2025-03-09 11:37:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:37:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:37:02] Production.INFO: ==25657== Lock acquired, processing the job... [2025-03-09 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:37:02] Production.INFO: ==25657== Releasing lock... [2025-03-09 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:37:02] Production.INFO: ==25655== Lock acquired, processing the job... [2025-03-09 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:37:03] Production.INFO: ==25655== Releasing lock... [2025-03-09 07:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:37:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:37:03] Production.INFO: ==25659== Lock acquired, processing the job... [2025-03-09 07:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:37:03] Production.INFO: ==25661== Lock acquired, processing the job... [2025-03-09 07:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:37:04] Production.INFO: ==25663== Lock acquired, processing the job... [2025-03-09 07:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:37:04] Production.INFO: ==25665== Lock acquired, processing the job... [2025-03-09 07:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:37:04] Production.INFO: ==25667== Lock acquired, processing the job... [2025-03-09 07:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:37:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:37:04] Production.INFO: Account Balance Start. [2025-03-09 07:37:04] Production.INFO: CreateAllLog Start [2025-03-09 07:37:04] Production.INFO: 117 [2025-03-09 07:37:04] Production.INFO: ==25669== Lock acquired, processing the job... [2025-03-09 07:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:37:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:37:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:37:04] Production.INFO: ==25661== Releasing lock... [2025-03-09 07:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:37:04] Production.INFO: Total Charge 0 [2025-03-09 07:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:37:04] Production.INFO: CreateAllLog End [2025-03-09 07:37:04] Production.INFO: count ==13 [2025-03-09 07:37:04] Production.ERROR: done [2025-03-09 07:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:37:04] Production.INFO: count ==21 [2025-03-09 07:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640699') start [2025-03-09 07:37:04] Production.INFO: Account Balance End. [2025-03-09 07:37:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:37:04] Production.INFO: ==25665== Releasing lock... [2025-03-09 07:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:37:04] Production.ERROR: done [2025-03-09 07:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640699') end [2025-03-09 07:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:37:04] Production.INFO: 1 [2025-03-09 07:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:37:04] Production.INFO: ==25669== Releasing lock... [2025-03-09 07:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:37:05 [end_date_ymd] => 2025-03-09 07:37:05 [RateCDR] => 1 ) [2025-03-09 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-09 04:37:05' and `end` < '2025-03-09 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-09 07:37:12] Production.ERROR: CronJobId end10 [2025-03-09 07:37:12] Production.INFO: ==25663== Releasing lock... [2025-03-09 07:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:37:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:37:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:37:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:37:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:37:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:37:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:37:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:37:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:37:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:37:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:37:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:37:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:37:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:37:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:37:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:37:14] Production.INFO: call_cost start [2025-03-09 07:37:14] Production.INFO: call_cost end [2025-03-09 07:37:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:37:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:37:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:37:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:37:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:37:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:37:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:37:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:37:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:37:15] Production.INFO: ==25659== Releasing lock... [2025-03-09 07:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:37:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:37:17] Production.INFO: count ==490 [2025-03-09 07:37:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:37:05 - End Time 2025-03-09 07:37:05 [2025-03-09 07:37:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640700', 'tblTempUsageDetail_20' ) start [2025-03-09 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640700', 'tblTempUsageDetail_20' ) end [2025-03-09 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640700', 'tblTempVendorCDR_20' ) start [2025-03-09 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640700', 'tblTempVendorCDR_20' ) end [2025-03-09 07:37:18] Production.INFO: ProcessCDR(1,14640700,1,1,2) [2025-03-09 07:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640700', 'tblTempUsageDetail_20' ) start [2025-03-09 07:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640700', 'tblTempUsageDetail_20' ) end [2025-03-09 07:37:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:37:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:37:21] Production.INFO: ==25667== Releasing lock... [2025-03-09 07:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:37:21] Production.INFO: 32 MB #Memory Used# [2025-03-09 11:38:01] Production.INFO: ==25723== Lock acquired, processing the job... [2025-03-09 11:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:38:01] Production.INFO: neon service started [2025-03-09 11:38:01] Production.INFO: neon service started [2025-03-09 11:38:01] Production.INFO: ==25723== Releasing lock... [2025-03-09 11:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:38:02] Production.INFO: ==25727== Lock acquired, processing the job... [2025-03-09 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:38:02] Production.INFO: ==25727== Releasing lock... [2025-03-09 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:38:02] Production.INFO: ==25725== Lock acquired, processing the job... [2025-03-09 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:38:02] Production.INFO: ==25725== Releasing lock... [2025-03-09 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:38:03] Production.INFO: ==25730== Lock acquired, processing the job... [2025-03-09 07:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:38:03] Production.INFO: ==25732== Lock acquired, processing the job... [2025-03-09 07:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:38:03] Production.INFO: ==25734== Lock acquired, processing the job... [2025-03-09 07:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:38:03] Production.INFO: ==25736== Lock acquired, processing the job... [2025-03-09 07:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:38:03] Production.INFO: ==25738== Lock acquired, processing the job... [2025-03-09 07:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:38:03] Production.INFO: Account Balance Start. [2025-03-09 07:38:03] Production.INFO: CreateAllLog Start [2025-03-09 07:38:03] Production.INFO: 117 [2025-03-09 07:38:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:38:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:38:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:38:04] Production.INFO: ==25740== Lock acquired, processing the job... [2025-03-09 07:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:38:04] Production.INFO: Total Charge 0 [2025-03-09 07:38:04] Production.INFO: CreateAllLog End [2025-03-09 07:38:04] Production.INFO: ==25732== Releasing lock... [2025-03-09 07:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 07:38:04] Production.INFO: count ==13 [2025-03-09 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-09 07:38:04] Production.INFO: count ==21 [2025-03-09 07:38:04] Production.INFO: Account Balance End. [2025-03-09 07:38:04] Production.ERROR: done [2025-03-09 07:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640704') start [2025-03-09 07:38:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:38:04] Production.INFO: ==25736== Releasing lock... [2025-03-09 07:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:38:04] Production.ERROR: done [2025-03-09 07:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640704') end [2025-03-09 07:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:38:04] Production.INFO: 1 [2025-03-09 07:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:38:04] Production.INFO: ==25740== Releasing lock... [2025-03-09 07:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:38:05 [end_date_ymd] => 2025-03-09 07:38:05 [RateCDR] => 1 ) [2025-03-09 07:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:38:05' and `end` < '2025-03-09 07:38:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:38:12] Production.ERROR: CronJobId end10 [2025-03-09 07:38:12] Production.INFO: ==25734== Releasing lock... [2025-03-09 07:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:38:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:38:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:38:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:38:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:38:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:38:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:38:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:38:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:38:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:38:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:38:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:38:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:38:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:38:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:38:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:38:13] Production.INFO: call_cost start [2025-03-09 07:38:13] Production.INFO: call_cost end [2025-03-09 07:38:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:38:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:38:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:38:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:38:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:38:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:38:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:38:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:38:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:38:14] Production.INFO: ==25730== Releasing lock... [2025-03-09 07:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:38:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:38:17] Production.INFO: count ==480 [2025-03-09 07:38:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:38:05 - End Time 2025-03-09 07:38:05 [2025-03-09 07:38:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640705', 'tblTempUsageDetail_20' ) start [2025-03-09 07:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640705', 'tblTempUsageDetail_20' ) end [2025-03-09 07:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640705', 'tblTempVendorCDR_20' ) start [2025-03-09 07:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640705', 'tblTempVendorCDR_20' ) end [2025-03-09 07:38:17] Production.INFO: ProcessCDR(1,14640705,1,1,2) [2025-03-09 07:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:38:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640705', 'tblTempUsageDetail_20' ) start [2025-03-09 07:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640705', 'tblTempUsageDetail_20' ) end [2025-03-09 07:38:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:38:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:38:20] Production.INFO: ==25738== Releasing lock... [2025-03-09 07:38:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:38:20] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 11:39:02] Production.INFO: ==25835== Lock acquired, processing the job... [2025-03-09 11:39:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:39:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:39:02] Production.INFO: neon service started [2025-03-09 11:39:02] Production.INFO: neon service started [2025-03-09 11:39:02] Production.INFO: ==25835== Releasing lock... [2025-03-09 11:39:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:39:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:39:02] Production.INFO: ==25837== Lock acquired, processing the job... [2025-03-09 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:39:02] Production.INFO: ==25837== Releasing lock... [2025-03-09 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:39:03] Production.INFO: ==25839== Lock acquired, processing the job... [2025-03-09 11:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:39:03] Production.INFO: ==25839== Releasing lock... [2025-03-09 11:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:39:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:39:03] Production.INFO: ==25843== Lock acquired, processing the job... [2025-03-09 07:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:39:03] Production.INFO: ==25841== Lock acquired, processing the job... [2025-03-09 07:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:39:03] Production.INFO: ==25845== Lock acquired, processing the job... [2025-03-09 07:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:39:03] Production.INFO: ==25847== Lock acquired, processing the job... [2025-03-09 07:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:39:03] Production.INFO: ==25849== Lock acquired, processing the job... [2025-03-09 07:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:39:03] Production.INFO: Account Balance Start. [2025-03-09 07:39:03] Production.INFO: ==25851== Lock acquired, processing the job... [2025-03-09 07:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:39:03] Production.INFO: CreateAllLog Start [2025-03-09 07:39:03] Production.INFO: 117 [2025-03-09 07:39:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:39:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:39:04] Production.INFO: Total Charge 0 [2025-03-09 07:39:04] Production.INFO: CreateAllLog End [2025-03-09 07:39:04] Production.INFO: ==25843== Releasing lock... [2025-03-09 07:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:39:04] Production.ERROR: done [2025-03-09 07:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:39:04] Production.INFO: count ==13 [2025-03-09 07:39:04] Production.INFO: Account Balance End. [2025-03-09 07:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:39:04] Production.INFO: count ==21 [2025-03-09 07:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640709') start [2025-03-09 07:39:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:39:04] Production.INFO: ==25847== Releasing lock... [2025-03-09 07:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:39:04] Production.ERROR: done [2025-03-09 07:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640709') end [2025-03-09 07:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:39:04] Production.INFO: 1 [2025-03-09 07:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:39:04] Production.INFO: ==25851== Releasing lock... [2025-03-09 07:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:39:05 [end_date_ymd] => 2025-03-09 07:39:05 [RateCDR] => 1 ) [2025-03-09 07:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:39:05' and `end` < '2025-03-09 07:39:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:39:12] Production.ERROR: CronJobId end10 [2025-03-09 07:39:12] Production.INFO: ==25845== Releasing lock... [2025-03-09 07:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:39:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:39:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:39:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:39:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:39:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:39:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:39:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:39:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:39:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:39:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:39:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:39:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:39:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:39:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:39:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:39:13] Production.INFO: call_cost start [2025-03-09 07:39:13] Production.INFO: call_cost end [2025-03-09 07:39:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:39:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:39:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:39:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:39:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:39:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:39:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:39:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:39:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:39:14] Production.INFO: ==25841== Releasing lock... [2025-03-09 07:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:39:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:39:17] Production.INFO: count ==472 [2025-03-09 07:39:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:39:05 - End Time 2025-03-09 07:39:05 [2025-03-09 07:39:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640710', 'tblTempUsageDetail_20' ) start [2025-03-09 07:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640710', 'tblTempUsageDetail_20' ) end [2025-03-09 07:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640710', 'tblTempVendorCDR_20' ) start [2025-03-09 07:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640710', 'tblTempVendorCDR_20' ) end [2025-03-09 07:39:17] Production.INFO: ProcessCDR(1,14640710,1,1,2) [2025-03-09 07:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640710', 'tblTempUsageDetail_20' ) start [2025-03-09 07:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640710', 'tblTempUsageDetail_20' ) end [2025-03-09 07:39:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:39:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:39:20] Production.INFO: ==25849== Releasing lock... [2025-03-09 07:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:39:20] Production.INFO: 31.75 MB #Memory Used# [2025-03-09 11:40:01] Production.INFO: ==25908== Lock acquired, processing the job... [2025-03-09 11:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:40:01] Production.INFO: neon service started [2025-03-09 11:40:01] Production.INFO: neon service started [2025-03-09 11:40:01] Production.INFO: ==25908== Releasing lock... [2025-03-09 11:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:40:02] Production.INFO: ==25912== Lock acquired, processing the job... [2025-03-09 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:40:02] Production.INFO: ==25912== Releasing lock... [2025-03-09 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:40:02] Production.INFO: ==25910== Lock acquired, processing the job... [2025-03-09 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:40:02] Production.INFO: ==25910== Releasing lock... [2025-03-09 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:40:03] Production.INFO: ==25914== Lock acquired, processing the job... [2025-03-09 07:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 07:40:03] Production.INFO: ==25916== Lock acquired, processing the job... [2025-03-09 07:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:40:03] Production.INFO: ==25918== Lock acquired, processing the job... [2025-03-09 07:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:40:03] Production.INFO: ==25920== Lock acquired, processing the job... [2025-03-09 07:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 07:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 07:40:03] Production.ERROR: CronJob PID - 25916 [2025-03-09 07:40:03] Production.ERROR: CronJob Title - System Alerts [2025-03-09 07:40:03] Production.ERROR: CronJob ID - 5 [2025-03-09 07:40:03] Production.ERROR: CronJob Last Run Time 2025-03-09 07:40:00 [2025-03-09 07:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 07:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 07:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 07:40:03] Production.ERROR: CronJob PID - 25918 [2025-03-09 07:40:03] Production.ERROR: CronJob Title - Account Block [2025-03-09 07:40:03] Production.ERROR: CronJob ID - 7 [2025-03-09 07:40:03] Production.ERROR: CronJob Last Run Time 2025-03-09 07:40:00 [2025-03-09 07:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 07:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 07:40:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 07:40:03] Production.INFO: ==25914== Releasing lock... [2025-03-09 07:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 07:40:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 07:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:40:03] Production.INFO: ==25922== Lock acquired, processing the job... [2025-03-09 07:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:40:03] Production.INFO: ==25925== Lock acquired, processing the job... [2025-03-09 07:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:40:04] Production.INFO: Account Balance Start. [2025-03-09 07:40:04] Production.INFO: CreateAllLog Start [2025-03-09 07:40:04] Production.INFO: 117 [2025-03-09 07:40:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:40:04] Production.INFO: ==25927== Lock acquired, processing the job... [2025-03-09 07:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 07:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:40:04] Production.INFO: ==25918== Releasing lock... [2025-03-09 07:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:40:04] Production.INFO: ==25929== Lock acquired, processing the job... [2025-03-09 07:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:40:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:40:04] Production.INFO: Total Charge 0 [2025-03-09 07:40:04] Production.INFO: CreateAllLog End [2025-03-09 07:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:40:04] Production.INFO: count ==13 [2025-03-09 07:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:40:04] Production.INFO: count ==21 [2025-03-09 07:40:04] Production.ERROR: done [2025-03-09 07:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640714') start [2025-03-09 07:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 07:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640715', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 07:40:04] Production.ERROR: done [2025-03-09 07:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640714') end [2025-03-09 07:40:04] Production.INFO: Account Balance End. [2025-03-09 07:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:40:04] Production.INFO: 1 [2025-03-09 07:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:40:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:40:04] Production.INFO: ==25922== Releasing lock... [2025-03-09 07:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:40:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:40:04] Production.INFO: ==25929== Releasing lock... [2025-03-09 07:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:40:05] Production.ERROR: done [2025-03-09 07:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:40:06 [end_date_ymd] => 2025-03-09 07:40:06 [RateCDR] => 1 ) [2025-03-09 07:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:40:06' and `end` < '2025-03-09 07:40:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640715', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 07:40:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 07:40:08] Production.INFO: ProcessCDR(1,14640715,1,1,2) [2025-03-09 07:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14640715,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14640715,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:40:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:40:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:40:08] Production.INFO: ==25927== Releasing lock... [2025-03-09 07:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 07:40:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 07:40:13] Production.ERROR: CronJobId end10 [2025-03-09 07:40:13] Production.INFO: ==25920== Releasing lock... [2025-03-09 07:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:40:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:40:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:40:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:40:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:40:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:40:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:40:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:40:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:40:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:40:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:40:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:40:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:40:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:40:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:40:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:40:15] Production.INFO: call_cost start [2025-03-09 07:40:15] Production.INFO: call_cost end [2025-03-09 07:40:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:40:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:40:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:40:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:40:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:40:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:40:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:40:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:40:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:40:15] Production.INFO: ==25916== Releasing lock... [2025-03-09 07:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:40:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:40:18] Production.INFO: count ==456 [2025-03-09 07:40:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:40:06 - End Time 2025-03-09 07:40:06 [2025-03-09 07:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640716', 'tblTempUsageDetail_20' ) start [2025-03-09 07:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640716', 'tblTempUsageDetail_20' ) end [2025-03-09 07:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640716', 'tblTempVendorCDR_20' ) start [2025-03-09 07:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640716', 'tblTempVendorCDR_20' ) end [2025-03-09 07:40:18] Production.INFO: ProcessCDR(1,14640716,1,1,2) [2025-03-09 07:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640716', 'tblTempUsageDetail_20' ) start [2025-03-09 07:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640716', 'tblTempUsageDetail_20' ) end [2025-03-09 07:40:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:40:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:40:21] Production.INFO: ==25925== Releasing lock... [2025-03-09 07:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:40:21] Production.INFO: 31.75 MB #Memory Used# [2025-03-09 11:41:02] Production.INFO: ==25983== Lock acquired, processing the job... [2025-03-09 11:41:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:41:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:41:02] Production.INFO: neon service started [2025-03-09 11:41:02] Production.INFO: neon service started [2025-03-09 11:41:02] Production.INFO: ==25983== Releasing lock... [2025-03-09 11:41:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:41:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:41:02] Production.INFO: ==25985== Lock acquired, processing the job... [2025-03-09 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:41:02] Production.INFO: ==25985== Releasing lock... [2025-03-09 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:41:02] Production.INFO: ==25987== Lock acquired, processing the job... [2025-03-09 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:41:02] Production.INFO: ==25987== Releasing lock... [2025-03-09 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:41:03] Production.INFO: ==25992== Lock acquired, processing the job... [2025-03-09 07:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:41:03] Production.INFO: ==25998== Lock acquired, processing the job... [2025-03-09 07:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:41:03] Production.INFO: ==25990== Lock acquired, processing the job... [2025-03-09 07:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:41:03] Production.INFO: ==25994== Lock acquired, processing the job... [2025-03-09 07:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:41:03] Production.INFO: ==25996== Lock acquired, processing the job... [2025-03-09 07:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:41:03] Production.INFO: ==25992== Releasing lock... [2025-03-09 07:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:41:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:41:04] Production.INFO: ==26000== Lock acquired, processing the job... [2025-03-09 07:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:41:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:41:04] Production.ERROR: done [2025-03-09 07:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:41:04] Production.INFO: Account Balance Start. [2025-03-09 07:41:04] Production.INFO: CreateAllLog Start [2025-03-09 07:41:04] Production.INFO: 117 [2025-03-09 07:41:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:41:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:41:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:41:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:41:04] Production.INFO: Total Charge 0 [2025-03-09 07:41:04] Production.INFO: CreateAllLog End [2025-03-09 07:41:04] Production.INFO: count ==13 [2025-03-09 07:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:41:04] Production.INFO: count ==21 [2025-03-09 07:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640720') start [2025-03-09 07:41:04] Production.ERROR: done [2025-03-09 07:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640720') end [2025-03-09 07:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:41:04] Production.INFO: 1 [2025-03-09 07:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:41:04] Production.INFO: Account Balance End. [2025-03-09 07:41:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:41:04] Production.INFO: ==25996== Releasing lock... [2025-03-09 07:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:41:04] Production.INFO: ==26000== Releasing lock... [2025-03-09 07:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:41:05 [end_date_ymd] => 2025-03-09 07:41:05 [RateCDR] => 1 ) [2025-03-09 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-09 04:41:05' and `end` < '2025-03-09 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-09 07:41:11] Production.ERROR: CronJobId end10 [2025-03-09 07:41:11] Production.INFO: ==25994== Releasing lock... [2025-03-09 07:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:41:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:41:14] Production.INFO: call_cost start [2025-03-09 07:41:14] Production.INFO: call_cost end [2025-03-09 07:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:41:15] Production.INFO: ==25990== Releasing lock... [2025-03-09 07:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:41:17] Production.INFO: count ==448 [2025-03-09 07:41:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:41:05 - End Time 2025-03-09 07:41:05 [2025-03-09 07:41:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640721', 'tblTempUsageDetail_20' ) start [2025-03-09 07:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640721', 'tblTempUsageDetail_20' ) end [2025-03-09 07:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640721', 'tblTempVendorCDR_20' ) start [2025-03-09 07:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640721', 'tblTempVendorCDR_20' ) end [2025-03-09 07:41:17] Production.INFO: ProcessCDR(1,14640721,1,1,2) [2025-03-09 07:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640721', 'tblTempUsageDetail_20' ) start [2025-03-09 07:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640721', 'tblTempUsageDetail_20' ) end [2025-03-09 07:41:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:41:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:41:21] Production.INFO: ==25998== Releasing lock... [2025-03-09 07:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:41:21] Production.INFO: 32 MB #Memory Used# [2025-03-09 11:42:01] Production.INFO: ==26053== Lock acquired, processing the job... [2025-03-09 11:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:42:01] Production.INFO: neon service started [2025-03-09 11:42:01] Production.INFO: neon service started [2025-03-09 11:42:01] Production.INFO: ==26053== Releasing lock... [2025-03-09 11:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:42:01] Production.INFO: ==26055== Lock acquired, processing the job... [2025-03-09 07:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:42:02] Production.INFO: ==26055== Releasing lock... [2025-03-09 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:42:02] Production.INFO: ==26057== Lock acquired, processing the job... [2025-03-09 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:42:02] Production.INFO: ==26057== Releasing lock... [2025-03-09 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:42:03] Production.INFO: ==26067== Lock acquired, processing the job... [2025-03-09 07:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:42:03] Production.INFO: ==26065== Lock acquired, processing the job... [2025-03-09 07:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:42:03] Production.INFO: ==26059== Lock acquired, processing the job... [2025-03-09 07:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:42:03] Production.INFO: Account Balance Start. [2025-03-09 07:42:03] Production.INFO: CreateAllLog Start [2025-03-09 07:42:03] Production.INFO: 117 [2025-03-09 07:42:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:42:03] Production.INFO: ==26061== Lock acquired, processing the job... [2025-03-09 07:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:42:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:42:03] Production.INFO: ==26063== Lock acquired, processing the job... [2025-03-09 07:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:42:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:42:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:42:03] Production.INFO: Total Charge 0 [2025-03-09 07:42:03] Production.INFO: CreateAllLog End [2025-03-09 07:42:03] Production.INFO: ==26069== Lock acquired, processing the job... [2025-03-09 07:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:42:03] Production.INFO: Account Balance End. [2025-03-09 07:42:03] Production.ERROR: done [2025-03-09 07:42:03] Production.INFO: count ==13 [2025-03-09 07:42:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:42:03] Production.ERROR: CronJobId end 12 [2025-03-09 07:42:03] Production.INFO: ==26065== Releasing lock... [2025-03-09 07:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:42:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:42:03] Production.INFO: count ==21 [2025-03-09 07:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640725') start [2025-03-09 07:42:03] Production.INFO: ==26061== Releasing lock... [2025-03-09 07:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:42:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:42:04] Production.ERROR: done [2025-03-09 07:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640725') end [2025-03-09 07:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:42:04] Production.INFO: 1 [2025-03-09 07:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:42:04] Production.INFO: ==26069== Releasing lock... [2025-03-09 07:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:42:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:42:04 [end_date_ymd] => 2025-03-09 07:42:04 [RateCDR] => 1 ) [2025-03-09 07:42:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:42:04' and `end` < '2025-03-09 07:42:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:42:11] Production.ERROR: CronJobId end10 [2025-03-09 07:42:11] Production.INFO: ==26063== Releasing lock... [2025-03-09 07:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:42:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:42:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:42:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:42:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:42:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:42:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:42:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:42:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:42:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:42:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:42:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:42:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:42:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:42:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:42:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:42:14] Production.INFO: call_cost start [2025-03-09 07:42:14] Production.INFO: call_cost end [2025-03-09 07:42:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:42:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:42:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:42:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:42:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:42:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:42:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:42:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:42:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:42:15] Production.INFO: ==26059== Releasing lock... [2025-03-09 07:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:42:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:42:17] Production.INFO: count ==438 [2025-03-09 07:42:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:42:04 - End Time 2025-03-09 07:42:04 [2025-03-09 07:42:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640726', 'tblTempUsageDetail_20' ) start [2025-03-09 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640726', 'tblTempUsageDetail_20' ) end [2025-03-09 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640726', 'tblTempVendorCDR_20' ) start [2025-03-09 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640726', 'tblTempVendorCDR_20' ) end [2025-03-09 07:42:17] Production.INFO: ProcessCDR(1,14640726,1,1,2) [2025-03-09 07:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:42:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:42:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:42:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640726', 'tblTempUsageDetail_20' ) start [2025-03-09 07:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640726', 'tblTempUsageDetail_20' ) end [2025-03-09 07:42:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:42:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:42:20] Production.INFO: ==26067== Releasing lock... [2025-03-09 07:42:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:42:20] Production.INFO: 31.5 MB #Memory Used# [2025-03-09 11:43:01] Production.INFO: ==26124== Lock acquired, processing the job... [2025-03-09 11:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:43:01] Production.INFO: neon service started [2025-03-09 11:43:01] Production.INFO: neon service started [2025-03-09 11:43:01] Production.INFO: ==26124== Releasing lock... [2025-03-09 11:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:43:02] Production.INFO: ==26128== Lock acquired, processing the job... [2025-03-09 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:43:02] Production.INFO: ==26128== Releasing lock... [2025-03-09 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:43:02] Production.INFO: ==26126== Lock acquired, processing the job... [2025-03-09 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:43:02] Production.INFO: ==26126== Releasing lock... [2025-03-09 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:43:03] Production.INFO: ==26133== Lock acquired, processing the job... [2025-03-09 07:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:43:03] Production.INFO: ==26135== Lock acquired, processing the job... [2025-03-09 07:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:43:03] Production.INFO: ==26141== Lock acquired, processing the job... [2025-03-09 07:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:43:03] Production.INFO: ==26133== Releasing lock... [2025-03-09 07:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:43:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:43:03] Production.INFO: count ==13 [2025-03-09 07:43:03] Production.INFO: ==26139== Lock acquired, processing the job... [2025-03-09 07:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07: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-09 07:43:03] Production.INFO: count ==21 [2025-03-09 07:43:03] Production.INFO: ==26131== Lock acquired, processing the job... [2025-03-09 07:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640728') start [2025-03-09 07:43:03] Production.INFO: ==26137== Lock acquired, processing the job... [2025-03-09 07:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640728') end [2025-03-09 07:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:43:04] Production.INFO: 1 [2025-03-09 07:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:43:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:43:04] Production.INFO: Account Balance Start. [2025-03-09 07:43:04] Production.INFO: CreateAllLog Start [2025-03-09 07:43:04] Production.INFO: 117 [2025-03-09 07:43:04] Production.INFO: ==26141== Releasing lock... [2025-03-09 07:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:43:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:43:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:43:04] Production.ERROR: done [2025-03-09 07:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:43:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:43:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:43:04] Production.INFO: Total Charge 0 [2025-03-09 07:43:04] Production.ERROR: done [2025-03-09 07:43:04] Production.INFO: CreateAllLog End [2025-03-09 07:43:04] Production.INFO: Account Balance End. [2025-03-09 07:43:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:43:04] Production.INFO: ==26137== Releasing lock... [2025-03-09 07:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:43:05 [end_date_ymd] => 2025-03-09 07:43:05 [RateCDR] => 1 ) [2025-03-09 07:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:43:05' and `end` < '2025-03-09 07:43:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:43:12] Production.ERROR: CronJobId end10 [2025-03-09 07:43:12] Production.INFO: ==26135== Releasing lock... [2025-03-09 07:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:43:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:43:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:43:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:43:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:43:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:43:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:43:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:43:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:43:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:43:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:43:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:43:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:43:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:43:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:43:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:43:14] Production.INFO: call_cost start [2025-03-09 07:43:14] Production.INFO: call_cost end [2025-03-09 07:43:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:43:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:43:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:43:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:43:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:43:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:43:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:43:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:43:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:43:15] Production.INFO: ==26131== Releasing lock... [2025-03-09 07:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:43:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:43:17] Production.INFO: count ==429 [2025-03-09 07:43:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:43:05 - End Time 2025-03-09 07:43:05 [2025-03-09 07:43:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640731', 'tblTempUsageDetail_20' ) start [2025-03-09 07:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640731', 'tblTempUsageDetail_20' ) end [2025-03-09 07:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640731', 'tblTempVendorCDR_20' ) start [2025-03-09 07:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640731', 'tblTempVendorCDR_20' ) end [2025-03-09 07:43:17] Production.INFO: ProcessCDR(1,14640731,1,1,2) [2025-03-09 07:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:43:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640731', 'tblTempUsageDetail_20' ) start [2025-03-09 07:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640731', 'tblTempUsageDetail_20' ) end [2025-03-09 07:43:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:43:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:43:21] Production.INFO: ==26139== Releasing lock... [2025-03-09 07:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:43:21] Production.INFO: 31.75 MB #Memory Used# [2025-03-09 11:44:02] Production.INFO: ==26194== Lock acquired, processing the job... [2025-03-09 11:44:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:44:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:44:02] Production.INFO: neon service started [2025-03-09 11:44:02] Production.INFO: neon service started [2025-03-09 11:44:02] Production.INFO: ==26194== Releasing lock... [2025-03-09 11:44:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:44:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:44:03] Production.INFO: ==26196== Lock acquired, processing the job... [2025-03-09 07:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:44:03] Production.INFO: ==26198== Lock acquired, processing the job... [2025-03-09 11:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:44:03] Production.INFO: ==26198== Releasing lock... [2025-03-09 11:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:44:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:44:03] Production.INFO: ==26196== Releasing lock... [2025-03-09 07:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:44:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:44:04] Production.INFO: ==26205== Lock acquired, processing the job... [2025-03-09 07:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:44:04] Production.INFO: ==26201== Lock acquired, processing the job... [2025-03-09 07:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:44:04] Production.INFO: ==26203== Lock acquired, processing the job... [2025-03-09 07:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:44:04] Production.INFO: ==26211== Lock acquired, processing the job... [2025-03-09 07:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:44:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:44:04] Production.INFO: ==26207== Lock acquired, processing the job... [2025-03-09 07:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:44:04] Production.INFO: ==26209== Lock acquired, processing the job... [2025-03-09 07:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 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-09 07:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:44:04] Production.INFO: Account Balance Start. [2025-03-09 07:44:04] Production.INFO: CreateAllLog Start [2025-03-09 07:44:04] Production.INFO: count ==13 [2025-03-09 07:44:04] Production.INFO: 117 [2025-03-09 07:44:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:44:04] Production.INFO: count ==21 [2025-03-09 07:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640734') start [2025-03-09 07:44:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:44:04] Production.INFO: Total Charge 0 [2025-03-09 07:44:04] Production.INFO: CreateAllLog End [2025-03-09 07:44:05] Production.INFO: ==26203== Releasing lock... [2025-03-09 07:44:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:44:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:44:05] Production.ERROR: done [2025-03-09 07:44:05] Production.ERROR: PBX CALL prc_importPBXExtension('14640734') end [2025-03-09 07:44:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:44:05] Production.INFO: 1 [2025-03-09 07:44:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:44:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:44:05] Production.INFO: ==26211== Releasing lock... [2025-03-09 07:44:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:44:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:44:05] Production.INFO: Account Balance End. [2025-03-09 07:44:05] Production.ERROR: CronJobId end 12 [2025-03-09 07:44:05] Production.INFO: ==26207== Releasing lock... [2025-03-09 07:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:44:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:44:05] Production.ERROR: done [2025-03-09 07:44:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:44:06 [end_date_ymd] => 2025-03-09 07:44:06 [RateCDR] => 1 ) [2025-03-09 07: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-09 04:44:06' and `end` < '2025-03-09 07: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-09 07:44:12] Production.ERROR: CronJobId end10 [2025-03-09 07:44:12] Production.INFO: ==26205== Releasing lock... [2025-03-09 07:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:44:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:44:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:44:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:44:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:44:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:44:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:44:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:44:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:44:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:44:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:44:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:44:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:44:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:44:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:44:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:44:14] Production.INFO: call_cost start [2025-03-09 07:44:14] Production.INFO: call_cost end [2025-03-09 07:44:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:44:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:44:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:44:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:44:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:44:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:44:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:44:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:44:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:44:15] Production.INFO: ==26201== Releasing lock... [2025-03-09 07:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:44:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:44:18] Production.INFO: count ==429 [2025-03-09 07:44:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:44:06 - End Time 2025-03-09 07:44:06 [2025-03-09 07:44:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640736', 'tblTempUsageDetail_20' ) start [2025-03-09 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640736', 'tblTempUsageDetail_20' ) end [2025-03-09 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640736', 'tblTempVendorCDR_20' ) start [2025-03-09 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640736', 'tblTempVendorCDR_20' ) end [2025-03-09 07:44:18] Production.INFO: ProcessCDR(1,14640736,1,1,2) [2025-03-09 07:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640736', 'tblTempUsageDetail_20' ) start [2025-03-09 07:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640736', 'tblTempUsageDetail_20' ) end [2025-03-09 07:44:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:44:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:44:21] Production.INFO: ==26209== Releasing lock... [2025-03-09 07:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:44:21] Production.INFO: 31.75 MB #Memory Used# [2025-03-09 11:45:01] Production.INFO: ==26268== Lock acquired, processing the job... [2025-03-09 11:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:45:01] Production.INFO: neon service started [2025-03-09 11:45:01] Production.INFO: neon service started [2025-03-09 11:45:01] Production.INFO: ==26268== Releasing lock... [2025-03-09 11:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:45:02] Production.INFO: ==26270== Lock acquired, processing the job... [2025-03-09 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:45:02] Production.INFO: ==26272== Lock acquired, processing the job... [2025-03-09 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:45:02] Production.INFO: ==26272== Releasing lock... [2025-03-09 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:45:02] Production.INFO: ==26270== Releasing lock... [2025-03-09 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:45:03] Production.INFO: ==26275== Lock acquired, processing the job... [2025-03-09 07:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:45:03] Production.INFO: ==26279== Lock acquired, processing the job... [2025-03-09 07:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:45:03] Production.INFO: ==26283== Lock acquired, processing the job... [2025-03-09 07:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:45:03] Production.INFO: ==26277== Lock acquired, processing the job... [2025-03-09 07:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:45:03] Production.INFO: ==26285== Lock acquired, processing the job... [2025-03-09 07:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:45:03] Production.INFO: ==26281== Lock acquired, processing the job... [2025-03-09 07:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:45:03] Production.INFO: Account Balance Start. [2025-03-09 07:45:03] Production.INFO: CreateAllLog Start [2025-03-09 07:45:03] Production.INFO: 117 [2025-03-09 07:45:03] Production.INFO: count ==13 [2025-03-09 07:45:04] Production.ERROR: done [2025-03-09 07:45:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:45:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 07:45:04] Production.INFO: count ==21 [2025-03-09 07:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640738') start [2025-03-09 07:45:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:45:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:45:04] Production.INFO: Total Charge 0 [2025-03-09 07:45:04] Production.INFO: CreateAllLog End [2025-03-09 07:45:04] Production.INFO: ==26277== Releasing lock... [2025-03-09 07:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:45:04] Production.ERROR: done [2025-03-09 07:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640738') end [2025-03-09 07:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:45:04] Production.INFO: 1 [2025-03-09 07:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:45:04] Production.INFO: ==26285== Releasing lock... [2025-03-09 07:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:45:04] Production.INFO: Account Balance End. [2025-03-09 07:45:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:45:04] Production.INFO: ==26281== Releasing lock... [2025-03-09 07:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:45:05 [end_date_ymd] => 2025-03-09 07:45:05 [RateCDR] => 1 ) [2025-03-09 07:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:45:05' and `end` < '2025-03-09 07:45:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:45:11] Production.ERROR: CronJobId end10 [2025-03-09 07:45:11] Production.INFO: ==26279== Releasing lock... [2025-03-09 07:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:45:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:45:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:45:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:45:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:45:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:45:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:45:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:45:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:45:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:45:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:45:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:45:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:45:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:45:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:45:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:45:13] Production.INFO: call_cost start [2025-03-09 07:45:13] Production.INFO: call_cost end [2025-03-09 07:45:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:45:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:45:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:45:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:45:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:45:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:45:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:45:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:45:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:45:14] Production.INFO: ==26275== Releasing lock... [2025-03-09 07:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:45:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:45:17] Production.INFO: count ==429 [2025-03-09 07:45:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:45:05 - End Time 2025-03-09 07:45:05 [2025-03-09 07:45:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640741', 'tblTempUsageDetail_20' ) start [2025-03-09 07:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640741', 'tblTempUsageDetail_20' ) end [2025-03-09 07:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640741', 'tblTempVendorCDR_20' ) start [2025-03-09 07:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640741', 'tblTempVendorCDR_20' ) end [2025-03-09 07:45:17] Production.INFO: ProcessCDR(1,14640741,1,1,2) [2025-03-09 07:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640741', 'tblTempUsageDetail_20' ) start [2025-03-09 07:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640741', 'tblTempUsageDetail_20' ) end [2025-03-09 07:45:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:45:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:45:20] Production.INFO: ==26283== Releasing lock... [2025-03-09 07:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:45:20] Production.INFO: 31.75 MB #Memory Used# [2025-03-09 11:46:02] Production.INFO: ==26339== Lock acquired, processing the job... [2025-03-09 11:46:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:46:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:46:02] Production.INFO: neon service started [2025-03-09 11:46:02] Production.INFO: neon service started [2025-03-09 11:46:02] Production.INFO: ==26339== Releasing lock... [2025-03-09 11:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:46:02] Production.INFO: ==26343== Lock acquired, processing the job... [2025-03-09 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:46:02] Production.INFO: ==26343== Releasing lock... [2025-03-09 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:46:02] Production.INFO: ==26341== Lock acquired, processing the job... [2025-03-09 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:46:03] Production.INFO: ==26341== Releasing lock... [2025-03-09 07:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:46:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:46:04] Production.INFO: ==26352== Lock acquired, processing the job... [2025-03-09 07:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:46:04] Production.INFO: Account Balance Start. [2025-03-09 07:46:04] Production.INFO: CreateAllLog Start [2025-03-09 07:46:04] Production.INFO: ==26354== Lock acquired, processing the job... [2025-03-09 07:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:46:04] Production.INFO: 117 [2025-03-09 07:46:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:46:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:46:04] Production.INFO: ==26346== Lock acquired, processing the job... [2025-03-09 07:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:46:04] Production.INFO: Total Charge 0 [2025-03-09 07:46:04] Production.INFO: CreateAllLog End [2025-03-09 07:46:04] Production.INFO: ==26348== Lock acquired, processing the job... [2025-03-09 07:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:46:04] Production.INFO: ==26350== Lock acquired, processing the job... [2025-03-09 07:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:46:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:46:04] Production.INFO: ==26356== Lock acquired, processing the job... [2025-03-09 07:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:46:04] Production.ERROR: done [2025-03-09 07:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:46:04] Production.INFO: Account Balance End. [2025-03-09 07:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:46:04] Production.ERROR: done [2025-03-09 07:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:46:04] Production.INFO: ==26348== Releasing lock... [2025-03-09 07:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:46:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:46:04] Production.INFO: ==26352== Releasing lock... [2025-03-09 07:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:46:04] Production.INFO: count ==13 [2025-03-09 07:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:46:04] Production.INFO: count ==21 [2025-03-09 07:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640745') start [2025-03-09 07:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640745') end [2025-03-09 07:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:46:04] Production.INFO: 1 [2025-03-09 07:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:46:04] Production.INFO: ==26356== Releasing lock... [2025-03-09 07:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:46:05 [end_date_ymd] => 2025-03-09 07:46:05 [RateCDR] => 1 ) [2025-03-09 07:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:46:05' and `end` < '2025-03-09 07:46:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:46:12] Production.ERROR: CronJobId end10 [2025-03-09 07:46:12] Production.INFO: ==26350== Releasing lock... [2025-03-09 07:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:46:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:46:14] Production.INFO: call_cost start [2025-03-09 07:46:14] Production.INFO: call_cost end [2025-03-09 07:46:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:46:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:46:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:46:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:46:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:46:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:46:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:46:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:46:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:46:15] Production.INFO: ==26346== Releasing lock... [2025-03-09 07:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:46:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:46:17] Production.INFO: count ==387 [2025-03-09 07:46:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:46:05 - End Time 2025-03-09 07:46:05 [2025-03-09 07:46:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640746', 'tblTempUsageDetail_20' ) start [2025-03-09 07:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640746', 'tblTempUsageDetail_20' ) end [2025-03-09 07:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640746', 'tblTempVendorCDR_20' ) start [2025-03-09 07:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640746', 'tblTempVendorCDR_20' ) end [2025-03-09 07:46:18] Production.INFO: ProcessCDR(1,14640746,1,1,2) [2025-03-09 07:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640746', 'tblTempUsageDetail_20' ) start [2025-03-09 07:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640746', 'tblTempUsageDetail_20' ) end [2025-03-09 07:46:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:46:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:46:21] Production.INFO: ==26354== Releasing lock... [2025-03-09 07:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:46:21] Production.INFO: 31.5 MB #Memory Used# [2025-03-09 11:47:01] Production.INFO: ==26411== Lock acquired, processing the job... [2025-03-09 11:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:47:01] Production.INFO: neon service started [2025-03-09 11:47:01] Production.INFO: neon service started [2025-03-09 11:47:01] Production.INFO: ==26411== Releasing lock... [2025-03-09 11:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:47:02] Production.INFO: ==26413== Lock acquired, processing the job... [2025-03-09 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:47:02] Production.INFO: ==26415== Lock acquired, processing the job... [2025-03-09 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:47:02] Production.INFO: ==26415== Releasing lock... [2025-03-09 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:47:02] Production.INFO: ==26413== Releasing lock... [2025-03-09 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:47:03] Production.INFO: ==26424== Lock acquired, processing the job... [2025-03-09 07:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:47:03] Production.INFO: ==26426== Lock acquired, processing the job... [2025-03-09 07:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:47:03] Production.INFO: ==26418== Lock acquired, processing the job... [2025-03-09 07:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:47:03] Production.INFO: Account Balance Start. [2025-03-09 07:47:03] Production.INFO: CreateAllLog Start [2025-03-09 07:47:03] Production.INFO: 117 [2025-03-09 07:47:03] Production.INFO: ==26420== Lock acquired, processing the job... [2025-03-09 07:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:47:03] Production.INFO: ==26422== Lock acquired, processing the job... [2025-03-09 07:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:47:03] Production.INFO: ==26428== Lock acquired, processing the job... [2025-03-09 07:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:47:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:47:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:47:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:47:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:47:03] Production.ERROR: done [2025-03-09 07:47:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:47:03] Production.INFO: Total Charge 0 [2025-03-09 07:47:03] Production.INFO: CreateAllLog End [2025-03-09 07:47:03] Production.INFO: count ==13 [2025-03-09 07:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:47:03] Production.INFO: count ==21 [2025-03-09 07:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640750') start [2025-03-09 07:47:04] Production.ERROR: done [2025-03-09 07:47:04] Production.INFO: ==26420== Releasing lock... [2025-03-09 07:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640750') end [2025-03-09 07:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:47:04] Production.INFO: 1 [2025-03-09 07:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:47:04] Production.INFO: Account Balance End. [2025-03-09 07:47:04] Production.INFO: ==26428== Releasing lock... [2025-03-09 07:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:47:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:47:04] Production.INFO: ==26424== Releasing lock... [2025-03-09 07:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:47:05 [end_date_ymd] => 2025-03-09 07:47:05 [RateCDR] => 1 ) [2025-03-09 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-09 04:47:05' and `end` < '2025-03-09 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-09 07:47:11] Production.ERROR: CronJobId end10 [2025-03-09 07:47:11] Production.INFO: ==26422== Releasing lock... [2025-03-09 07:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:47:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:47:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:47:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:47:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:47:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:47:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:47:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:47:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:47:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:47:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:47:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:47:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:47:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:47:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:47:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:47:14] Production.INFO: call_cost start [2025-03-09 07:47:14] Production.INFO: call_cost end [2025-03-09 07:47:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:47:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:47:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:47:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:47:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:47:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:47:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:47:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:47:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:47:15] Production.INFO: ==26418== Releasing lock... [2025-03-09 07:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:47:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:47:17] Production.INFO: count ==328 [2025-03-09 07:47:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:47:05 - End Time 2025-03-09 07:47:05 [2025-03-09 07:47:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640751', 'tblTempUsageDetail_20' ) start [2025-03-09 07:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640751', 'tblTempUsageDetail_20' ) end [2025-03-09 07:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640751', 'tblTempVendorCDR_20' ) start [2025-03-09 07:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640751', 'tblTempVendorCDR_20' ) end [2025-03-09 07:47:17] Production.INFO: ProcessCDR(1,14640751,1,1,2) [2025-03-09 07:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:47:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640751', 'tblTempUsageDetail_20' ) start [2025-03-09 07:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640751', 'tblTempUsageDetail_20' ) end [2025-03-09 07:47:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:47:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:47:20] Production.INFO: ==26426== Releasing lock... [2025-03-09 07:47:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:47:20] Production.INFO: 31.5 MB #Memory Used# [2025-03-09 11:48:02] Production.INFO: ==26482== Lock acquired, processing the job... [2025-03-09 11:48:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:48:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:48:02] Production.INFO: neon service started [2025-03-09 11:48:02] Production.INFO: neon service started [2025-03-09 11:48:02] Production.INFO: ==26482== Releasing lock... [2025-03-09 11:48:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:48:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:48:02] Production.INFO: ==26486== Lock acquired, processing the job... [2025-03-09 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:48:02] Production.INFO: ==26486== Releasing lock... [2025-03-09 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:48:02] Production.INFO: ==26484== Lock acquired, processing the job... [2025-03-09 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:48:03] Production.INFO: ==26484== Releasing lock... [2025-03-09 07:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:48:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:48:03] Production.INFO: ==26489== Lock acquired, processing the job... [2025-03-09 07:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:48:03] Production.INFO: ==26493== Lock acquired, processing the job... [2025-03-09 07:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:48:03] Production.INFO: ==26497== Lock acquired, processing the job... [2025-03-09 07:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:48:04] Production.INFO: ==26491== Lock acquired, processing the job... [2025-03-09 07:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:48:04] Production.INFO: ==26495== Lock acquired, processing the job... [2025-03-09 07:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:48:04] Production.INFO: ==26499== Lock acquired, processing the job... [2025-03-09 07:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:48:04] Production.INFO: Account Balance Start. [2025-03-09 07:48:04] Production.INFO: CreateAllLog Start [2025-03-09 07:48:04] Production.INFO: 117 [2025-03-09 07:48:04] Production.ERROR: done [2025-03-09 07:48:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:48:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 07:48:04] Production.INFO: Total Charge 0 [2025-03-09 07:48:04] Production.INFO: CreateAllLog End [2025-03-09 07:48:04] Production.INFO: count ==13 [2025-03-09 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-09 07:48:04] Production.INFO: count ==21 [2025-03-09 07:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640755') start [2025-03-09 07:48:04] Production.INFO: ==26491== Releasing lock... [2025-03-09 07:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:48:04] Production.ERROR: done [2025-03-09 07:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640755') end [2025-03-09 07:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:48:04] Production.INFO: 1 [2025-03-09 07:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:48:04] Production.INFO: Account Balance End. [2025-03-09 07:48:04] Production.INFO: ==26499== Releasing lock... [2025-03-09 07:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:48:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:48:04] Production.INFO: ==26495== Releasing lock... [2025-03-09 07:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:48:05 [end_date_ymd] => 2025-03-09 07:48:05 [RateCDR] => 1 ) [2025-03-09 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-09 04:48:05' and `end` < '2025-03-09 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-09 07:48:11] Production.ERROR: CronJobId end10 [2025-03-09 07:48:11] Production.INFO: ==26493== Releasing lock... [2025-03-09 07:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:48:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:48:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:48:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:48:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:48:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:48:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:48:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:48:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:48:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:48:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:48:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:48:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:48:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:48:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:48:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:48:14] Production.INFO: call_cost start [2025-03-09 07:48:14] Production.INFO: call_cost end [2025-03-09 07:48:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:48:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:48:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:48:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:48:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:48:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:48:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:48:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:48:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:48:14] Production.INFO: ==26489== Releasing lock... [2025-03-09 07:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:48:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:48:17] Production.INFO: count ==266 [2025-03-09 07:48:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:48:05 - End Time 2025-03-09 07:48:05 [2025-03-09 07:48:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640756', 'tblTempUsageDetail_20' ) start [2025-03-09 07:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640756', 'tblTempUsageDetail_20' ) end [2025-03-09 07:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640756', 'tblTempVendorCDR_20' ) start [2025-03-09 07:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640756', 'tblTempVendorCDR_20' ) end [2025-03-09 07:48:18] Production.INFO: ProcessCDR(1,14640756,1,1,2) [2025-03-09 07:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640756', 'tblTempUsageDetail_20' ) start [2025-03-09 07:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640756', 'tblTempUsageDetail_20' ) end [2025-03-09 07:48:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:48:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:48:21] Production.INFO: ==26497== Releasing lock... [2025-03-09 07:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:48:21] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 11:49:01] Production.INFO: ==26557== Lock acquired, processing the job... [2025-03-09 11:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:49:01] Production.INFO: neon service started [2025-03-09 11:49:01] Production.INFO: neon service started [2025-03-09 11:49:01] Production.INFO: ==26557== Releasing lock... [2025-03-09 11:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:49:02] Production.INFO: ==26559== Lock acquired, processing the job... [2025-03-09 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:49:02] Production.INFO: ==26561== Lock acquired, processing the job... [2025-03-09 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:49:02] Production.INFO: ==26561== Releasing lock... [2025-03-09 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:49:02] Production.INFO: ==26559== Releasing lock... [2025-03-09 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:49:03] Production.INFO: ==26564== Lock acquired, processing the job... [2025-03-09 07:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:49:03] Production.INFO: ==26570== Lock acquired, processing the job... [2025-03-09 07:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:49:03] Production.INFO: ==26566== Lock acquired, processing the job... [2025-03-09 07:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:49:03] Production.INFO: Account Balance Start. [2025-03-09 07:49:03] Production.INFO: CreateAllLog Start [2025-03-09 07:49:03] Production.INFO: ==26574== Lock acquired, processing the job... [2025-03-09 07:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:49:03] Production.INFO: 117 [2025-03-09 07:49:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:49:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:49:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:49:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:49:03] Production.INFO: ==26568== Lock acquired, processing the job... [2025-03-09 07:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:49:03] Production.INFO: Total Charge 0 [2025-03-09 07:49:03] Production.INFO: CreateAllLog End [2025-03-09 07:49:03] Production.INFO: ==26572== Lock acquired, processing the job... [2025-03-09 07:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:49:03] Production.INFO: count ==13 [2025-03-09 07:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:49:03] Production.INFO: count ==21 [2025-03-09 07:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640760') start [2025-03-09 07:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640760') end [2025-03-09 07:49:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:49:03] Production.INFO: 1 [2025-03-09 07:49:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:49:03] Production.INFO: ==26566== Releasing lock... [2025-03-09 07:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:49:03] Production.INFO: Account Balance End. [2025-03-09 07:49:04] Production.INFO: ==26574== Releasing lock... [2025-03-09 07:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:49:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:49:04] Production.INFO: ==26570== Releasing lock... [2025-03-09 07:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:49:04] Production.ERROR: done [2025-03-09 07:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:49:04] Production.ERROR: done [2025-03-09 07:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:49:05 [end_date_ymd] => 2025-03-09 07:49:05 [RateCDR] => 1 ) [2025-03-09 07:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:49:05' and `end` < '2025-03-09 07:49:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:49:10] Production.ERROR: CronJobId end10 [2025-03-09 07:49:10] Production.INFO: ==26568== Releasing lock... [2025-03-09 07:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:49:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:49:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:49:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:49:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:49:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:49:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:49:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:49:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:49:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:49:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:49:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:49:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:49:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:49:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:49:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:49:13] Production.INFO: call_cost start [2025-03-09 07:49:13] Production.INFO: call_cost end [2025-03-09 07:49:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:49:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:49:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:49:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:49:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:49:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:49:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:49:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:49:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:49:14] Production.INFO: ==26564== Releasing lock... [2025-03-09 07:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:49:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:49:17] Production.INFO: count ==237 [2025-03-09 07:49:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:49:05 - End Time 2025-03-09 07:49:05 [2025-03-09 07:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640761', 'tblTempUsageDetail_20' ) start [2025-03-09 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640761', 'tblTempUsageDetail_20' ) end [2025-03-09 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640761', 'tblTempVendorCDR_20' ) start [2025-03-09 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640761', 'tblTempVendorCDR_20' ) end [2025-03-09 07:49:17] Production.INFO: ProcessCDR(1,14640761,1,1,2) [2025-03-09 07:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640761', 'tblTempUsageDetail_20' ) start [2025-03-09 07:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640761', 'tblTempUsageDetail_20' ) end [2025-03-09 07:49:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:49:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:49:20] Production.INFO: ==26572== Releasing lock... [2025-03-09 07:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:49:20] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 11:50:02] Production.INFO: ==26629== Lock acquired, processing the job... [2025-03-09 11:50:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:50:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:50:02] Production.INFO: neon service started [2025-03-09 11:50:02] Production.INFO: neon service started [2025-03-09 11:50:02] Production.INFO: ==26629== Releasing lock... [2025-03-09 11:50:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:50:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:50:02] Production.INFO: ==26631== Lock acquired, processing the job... [2025-03-09 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:50:02] Production.INFO: ==26633== Lock acquired, processing the job... [2025-03-09 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:50:02] Production.INFO: ==26633== Releasing lock... [2025-03-09 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:50:03] Production.INFO: ==26631== Releasing lock... [2025-03-09 07:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:50:04] Production.INFO: ==26638== Lock acquired, processing the job... [2025-03-09 07:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:50:04] Production.INFO: ==26644== Lock acquired, processing the job... [2025-03-09 07:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:50:04] Production.INFO: ==26636== Lock acquired, processing the job... [2025-03-09 07:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 07:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:50:04] Production.INFO: ==26648== Lock acquired, processing the job... [2025-03-09 07:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 07:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 07:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 07:50:04] Production.ERROR: CronJob PID - 26638 [2025-03-09 07:50:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 07:50:04] Production.ERROR: CronJob ID - 5 [2025-03-09 07:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 07:50:00 [2025-03-09 07:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 07:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 07:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 07:50:04] Production.ERROR: CronJob PID - 26644 [2025-03-09 07:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 07:50:04] Production.ERROR: CronJob ID - 12 [2025-03-09 07:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 07:50:00 [2025-03-09 07:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 07:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 07:50:04] Production.INFO: Account Balance Start. [2025-03-09 07:50:04] Production.INFO: CreateAllLog Start [2025-03-09 07:50:04] Production.INFO: 117 [2025-03-09 07:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:50:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 07:50:04] Production.INFO: ==26636== Releasing lock... [2025-03-09 07:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 07:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 07:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:50:04] Production.INFO: ==26640== Lock acquired, processing the job... [2025-03-09 07:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:50:04] Production.INFO: ==26642== Lock acquired, processing the job... [2025-03-09 07:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:50:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:50:04] Production.INFO: Total Charge 0 [2025-03-09 07:50:04] Production.INFO: ==26646== Lock acquired, processing the job... [2025-03-09 07:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:50:04] Production.INFO: CreateAllLog End [2025-03-09 07:50:04] Production.INFO: ==26650== Lock acquired, processing the job... [2025-03-09 07:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:50:04] Production.ERROR: done [2025-03-09 07:50:04] Production.INFO: Account Balance End. [2025-03-09 07:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 07:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640765', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 07:50:04] Production.INFO: ==26640== Releasing lock... [2025-03-09 07:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:50:04] Production.INFO: count ==13 [2025-03-09 07:50:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:50:04] Production.INFO: ==26644== Releasing lock... [2025-03-09 07:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:50:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:50:04] Production.INFO: count ==21 [2025-03-09 07:50:05] Production.ERROR: done [2025-03-09 07:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14640766') start [2025-03-09 07:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14640766') end [2025-03-09 07:50:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:50:05] Production.INFO: 1 [2025-03-09 07:50:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:50:05] Production.INFO: ==26650== Releasing lock... [2025-03-09 07:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:50:05] Production.ERROR: done [2025-03-09 07:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:50:06 [end_date_ymd] => 2025-03-09 07:50:06 [RateCDR] => 1 ) [2025-03-09 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-09 04:50:06' and `end` < '2025-03-09 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-09 07:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640765', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 07:50:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 07:50:08] Production.INFO: ProcessCDR(1,14640765,1,1,2) [2025-03-09 07:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14640765,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14640765,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:50:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:50:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:50:08] Production.INFO: ==26648== Releasing lock... [2025-03-09 07:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 07:50:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 07:50:13] Production.ERROR: CronJobId end10 [2025-03-09 07:50:13] Production.INFO: ==26642== Releasing lock... [2025-03-09 07:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:50:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:50:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:50:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:50:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:50:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:50:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:50:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:50:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:50:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:50:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:50:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:50:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:50:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:50:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:50:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:50:14] Production.INFO: call_cost start [2025-03-09 07:50:14] Production.INFO: call_cost end [2025-03-09 07:50:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:50:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:50:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:50:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:50:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:50:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:50:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:50:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:50:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:50:15] Production.INFO: ==26638== Releasing lock... [2025-03-09 07:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:50:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:50:18] Production.INFO: count ==237 [2025-03-09 07:50:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:50:06 - End Time 2025-03-09 07:50:06 [2025-03-09 07:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640767', 'tblTempUsageDetail_20' ) start [2025-03-09 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640767', 'tblTempUsageDetail_20' ) end [2025-03-09 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640767', 'tblTempVendorCDR_20' ) start [2025-03-09 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640767', 'tblTempVendorCDR_20' ) end [2025-03-09 07:50:18] Production.INFO: ProcessCDR(1,14640767,1,1,2) [2025-03-09 07:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640767', 'tblTempUsageDetail_20' ) start [2025-03-09 07:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640767', 'tblTempUsageDetail_20' ) end [2025-03-09 07:50:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:50:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:50:21] Production.INFO: ==26646== Releasing lock... [2025-03-09 07:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:50:21] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 11:51:01] Production.INFO: ==26703== Lock acquired, processing the job... [2025-03-09 11:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:51:01] Production.INFO: neon service started [2025-03-09 11:51:01] Production.INFO: neon service started [2025-03-09 11:51:01] Production.INFO: ==26703== Releasing lock... [2025-03-09 11:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:51:01] Production.INFO: ==26705== Lock acquired, processing the job... [2025-03-09 07:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:51:02] Production.INFO: ==26705== Releasing lock... [2025-03-09 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:51:02] Production.INFO: ==26707== Lock acquired, processing the job... [2025-03-09 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:51:02] Production.INFO: ==26707== Releasing lock... [2025-03-09 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:51:02] Production.INFO: ==26712== Lock acquired, processing the job... [2025-03-09 07:51:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:51:02] Production.INFO: ==26720== Lock acquired, processing the job... [2025-03-09 07:51:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:51:03] Production.INFO: ==26710== Lock acquired, processing the job... [2025-03-09 07:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:51:03] Production.INFO: ==26714== Lock acquired, processing the job... [2025-03-09 07:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:51:03] Production.INFO: count ==13 [2025-03-09 07:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:51:03] Production.INFO: count ==21 [2025-03-09 07:51:03] Production.INFO: ==26716== Lock acquired, processing the job... [2025-03-09 07:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:51:03] Production.INFO: ==26712== Releasing lock... [2025-03-09 07:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:51:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:51:03] Production.INFO: ==26718== Lock acquired, processing the job... [2025-03-09 07:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640769') start [2025-03-09 07:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640769') end [2025-03-09 07:51:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:51:03] Production.INFO: 1 [2025-03-09 07:51:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:51:03] Production.INFO: Account Balance Start. [2025-03-09 07:51:03] Production.INFO: CreateAllLog Start [2025-03-09 07:51:03] Production.INFO: 117 [2025-03-09 07:51:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:51:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:51:03] Production.INFO: ==26720== Releasing lock... [2025-03-09 07:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:51:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:51:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:51:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:51:03] Production.INFO: Total Charge 0 [2025-03-09 07:51:03] Production.INFO: CreateAllLog End [2025-03-09 07:51:03] Production.INFO: Account Balance End. [2025-03-09 07:51:03] Production.ERROR: done [2025-03-09 07:51:03] Production.ERROR: CronJobId end 12 [2025-03-09 07:51:03] Production.INFO: ==26716== Releasing lock... [2025-03-09 07:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:51:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:51:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:51:03] Production.ERROR: done [2025-03-09 07:51:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:51:04 [end_date_ymd] => 2025-03-09 07:51:04 [RateCDR] => 1 ) [2025-03-09 07:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:51:04' and `end` < '2025-03-09 07:51:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:51:11] Production.ERROR: CronJobId end10 [2025-03-09 07:51:11] Production.INFO: ==26714== Releasing lock... [2025-03-09 07:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:51:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:51:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:51:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:51:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:51:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:51:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:51:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:51:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:51:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:51:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:51:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:51:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:51:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:51:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:51:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:51:12] Production.INFO: call_cost start [2025-03-09 07:51:12] Production.INFO: call_cost end [2025-03-09 07:51:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:51:13] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:51:13] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:51:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:51:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:51:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:51:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:51:13] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:51:13] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:51:13] Production.INFO: ==26710== Releasing lock... [2025-03-09 07:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:51:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:51:16] Production.INFO: count ==237 [2025-03-09 07:51:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:51:04 - End Time 2025-03-09 07:51:04 [2025-03-09 07:51:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640772', 'tblTempUsageDetail_20' ) start [2025-03-09 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640772', 'tblTempUsageDetail_20' ) end [2025-03-09 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640772', 'tblTempVendorCDR_20' ) start [2025-03-09 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640772', 'tblTempVendorCDR_20' ) end [2025-03-09 07:51:17] Production.INFO: ProcessCDR(1,14640772,1,1,2) [2025-03-09 07:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:51:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640772', 'tblTempUsageDetail_20' ) start [2025-03-09 07:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640772', 'tblTempUsageDetail_20' ) end [2025-03-09 07:51:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:51:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:51:20] Production.INFO: ==26718== Releasing lock... [2025-03-09 07:51:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:51:20] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 11:52:01] Production.INFO: ==26774== Lock acquired, processing the job... [2025-03-09 11:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:52:01] Production.INFO: neon service started [2025-03-09 11:52:01] Production.INFO: neon service started [2025-03-09 11:52:01] Production.INFO: ==26774== Releasing lock... [2025-03-09 11:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:52:02] Production.INFO: ==26776== Lock acquired, processing the job... [2025-03-09 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:52:02] Production.INFO: ==26776== Releasing lock... [2025-03-09 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:52:02] Production.INFO: ==26778== Lock acquired, processing the job... [2025-03-09 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:52:02] Production.INFO: ==26778== Releasing lock... [2025-03-09 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:52:03] Production.INFO: ==26791== Lock acquired, processing the job... [2025-03-09 07:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:52:03] Production.INFO: ==26789== Lock acquired, processing the job... [2025-03-09 07:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:52:03] Production.INFO: ==26781== Lock acquired, processing the job... [2025-03-09 07:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:52:03] Production.INFO: ==26783== Lock acquired, processing the job... [2025-03-09 07:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 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-09 07:52:03] Production.INFO: ==26785== Lock acquired, processing the job... [2025-03-09 07:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:52:03] Production.INFO: ==26787== Lock acquired, processing the job... [2025-03-09 07:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:52:03] Production.INFO: count ==13 [2025-03-09 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-09 07:52:03] Production.INFO: count ==21 [2025-03-09 07:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640773') start [2025-03-09 07:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:52:03] Production.INFO: Account Balance Start. [2025-03-09 07:52:03] Production.INFO: CreateAllLog Start [2025-03-09 07:52:03] Production.INFO: 117 [2025-03-09 07:52:03] Production.ERROR: done [2025-03-09 07:52:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:52:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640773') end [2025-03-09 07:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:52:04] Production.INFO: 1 [2025-03-09 07:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:52:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:52:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:52:04] Production.INFO: Total Charge 0 [2025-03-09 07:52:04] Production.INFO: CreateAllLog End [2025-03-09 07:52:04] Production.INFO: ==26791== Releasing lock... [2025-03-09 07:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:52:04] Production.ERROR: done [2025-03-09 07:52:04] Production.INFO: ==26783== Releasing lock... [2025-03-09 07:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:52:04] Production.INFO: Account Balance End. [2025-03-09 07:52:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:52:04] Production.INFO: ==26787== Releasing lock... [2025-03-09 07:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:52:05 [end_date_ymd] => 2025-03-09 07:52:05 [RateCDR] => 1 ) [2025-03-09 07:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:52:05' and `end` < '2025-03-09 07:52:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:52:11] Production.ERROR: CronJobId end10 [2025-03-09 07:52:11] Production.INFO: ==26785== Releasing lock... [2025-03-09 07:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:52:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:52:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:52:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:52:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:52:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:52:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:52:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:52:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:52:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:52:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:52:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:52:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:52:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:52:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:52:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:52:13] Production.INFO: call_cost start [2025-03-09 07:52:13] Production.INFO: call_cost end [2025-03-09 07:52:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:52:13] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:52:13] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:52:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:52:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:52:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:52:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:52:13] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:52:13] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:52:13] Production.INFO: ==26781== Releasing lock... [2025-03-09 07:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:52:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:52:17] Production.INFO: count ==237 [2025-03-09 07:52:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:52:05 - End Time 2025-03-09 07:52:05 [2025-03-09 07:52:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640777', 'tblTempUsageDetail_20' ) start [2025-03-09 07:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640777', 'tblTempUsageDetail_20' ) end [2025-03-09 07:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640777', 'tblTempVendorCDR_20' ) start [2025-03-09 07:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640777', 'tblTempVendorCDR_20' ) end [2025-03-09 07:52:17] Production.INFO: ProcessCDR(1,14640777,1,1,2) [2025-03-09 07:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:52:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640777', 'tblTempUsageDetail_20' ) start [2025-03-09 07:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640777', 'tblTempUsageDetail_20' ) end [2025-03-09 07:52:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:52:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:52:20] Production.INFO: ==26789== Releasing lock... [2025-03-09 07:52:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:52:20] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 11:53:02] Production.INFO: ==26846== Lock acquired, processing the job... [2025-03-09 11:53:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:53:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:53:02] Production.INFO: neon service started [2025-03-09 11:53:02] Production.INFO: neon service started [2025-03-09 11:53:02] Production.INFO: ==26846== Releasing lock... [2025-03-09 11:53:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:53:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:53:02] Production.INFO: ==26849== Lock acquired, processing the job... [2025-03-09 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:53:02] Production.INFO: ==26849== Releasing lock... [2025-03-09 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:53:02] Production.INFO: ==26851== Lock acquired, processing the job... [2025-03-09 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:53:03] Production.INFO: ==26851== Releasing lock... [2025-03-09 11:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:53:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:53:03] Production.INFO: ==26861== Lock acquired, processing the job... [2025-03-09 07:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:53:03] Production.INFO: ==26853== Lock acquired, processing the job... [2025-03-09 07:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:53:03] Production.INFO: ==26857== Lock acquired, processing the job... [2025-03-09 07:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:53:04] Production.INFO: ==26855== Lock acquired, processing the job... [2025-03-09 07:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:53:04] Production.INFO: ==26863== Lock acquired, processing the job... [2025-03-09 07:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:53:04] Production.INFO: ==26859== Lock acquired, processing the job... [2025-03-09 07:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 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-09 07:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:53:04] Production.INFO: count ==13 [2025-03-09 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-09 07:53:04] Production.INFO: count ==21 [2025-03-09 07:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640779') start [2025-03-09 07:53:04] Production.ERROR: done [2025-03-09 07:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640779') end [2025-03-09 07:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:53:04] Production.INFO: 1 [2025-03-09 07:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:53:04] Production.INFO: Account Balance Start. [2025-03-09 07:53:04] Production.INFO: CreateAllLog Start [2025-03-09 07:53:04] Production.INFO: 117 [2025-03-09 07:53:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:53:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:53:04] Production.INFO: ==26863== Releasing lock... [2025-03-09 07:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:53:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:53:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:53:04] Production.ERROR: done [2025-03-09 07:53:04] Production.INFO: Total Charge 0 [2025-03-09 07:53:04] Production.INFO: CreateAllLog End [2025-03-09 07:53:04] Production.INFO: ==26855== Releasing lock... [2025-03-09 07:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:53:04] Production.INFO: Account Balance End. [2025-03-09 07:53:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:53:04] Production.INFO: ==26859== Releasing lock... [2025-03-09 07:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:53:05 [end_date_ymd] => 2025-03-09 07:53:05 [RateCDR] => 1 ) [2025-03-09 07:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:53:05' and `end` < '2025-03-09 07:53:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:53:11] Production.ERROR: CronJobId end10 [2025-03-09 07:53:11] Production.INFO: ==26857== Releasing lock... [2025-03-09 07:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:53:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:53:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:53:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:53:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:53:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:53:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:53:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:53:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:53:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:53:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:53:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:53:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:53:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:53:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:53:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:53:13] Production.INFO: call_cost start [2025-03-09 07:53:13] Production.INFO: call_cost end [2025-03-09 07:53:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:53:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:53:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:53:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:53:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:53:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:53:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:53:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:53:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:53:14] Production.INFO: ==26853== Releasing lock... [2025-03-09 07:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:53:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:53:17] Production.INFO: count ==237 [2025-03-09 07:53:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:53:05 - End Time 2025-03-09 07:53:05 [2025-03-09 07:53:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640782', 'tblTempUsageDetail_20' ) start [2025-03-09 07:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640782', 'tblTempUsageDetail_20' ) end [2025-03-09 07:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640782', 'tblTempVendorCDR_20' ) start [2025-03-09 07:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640782', 'tblTempVendorCDR_20' ) end [2025-03-09 07:53:17] Production.INFO: ProcessCDR(1,14640782,1,1,2) [2025-03-09 07:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:53:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640782', 'tblTempUsageDetail_20' ) start [2025-03-09 07:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640782', 'tblTempUsageDetail_20' ) end [2025-03-09 07:53:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:53:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:53:20] Production.INFO: ==26861== Releasing lock... [2025-03-09 07:53:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:53:20] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 11:54:01] Production.INFO: ==26956== Lock acquired, processing the job... [2025-03-09 11:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:54:01] Production.INFO: neon service started [2025-03-09 11:54:01] Production.INFO: neon service started [2025-03-09 11:54:01] Production.INFO: ==26956== Releasing lock... [2025-03-09 11:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:54:02] Production.INFO: ==26958== Lock acquired, processing the job... [2025-03-09 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:54:02] Production.INFO: ==26958== Releasing lock... [2025-03-09 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:54:02] Production.INFO: ==26960== Lock acquired, processing the job... [2025-03-09 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:54:02] Production.INFO: ==26960== Releasing lock... [2025-03-09 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:54:03] Production.INFO: ==26962== Lock acquired, processing the job... [2025-03-09 07:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:54:03] Production.INFO: ==26966== Lock acquired, processing the job... [2025-03-09 07:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:54:03] Production.INFO: ==26972== Lock acquired, processing the job... [2025-03-09 07:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:54:03] Production.INFO: ==26964== Lock acquired, processing the job... [2025-03-09 07:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:54:03] Production.INFO: ==26968== Lock acquired, processing the job... [2025-03-09 07:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:54:03] Production.INFO: ==26970== Lock acquired, processing the job... [2025-03-09 07:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:54:03] Production.INFO: count ==13 [2025-03-09 07:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:54:03] Production.INFO: count ==21 [2025-03-09 07:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640784') start [2025-03-09 07:54:03] Production.INFO: Account Balance Start. [2025-03-09 07:54:03] Production.INFO: CreateAllLog Start [2025-03-09 07:54:03] Production.INFO: 117 [2025-03-09 07:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640784') end [2025-03-09 07:54:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:54:03] Production.INFO: 1 [2025-03-09 07:54:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:54:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:54:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:54:04] Production.INFO: ==26972== Releasing lock... [2025-03-09 07:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:54:04] Production.INFO: ==26964== Releasing lock... [2025-03-09 07:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:54:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:54:04] Production.INFO: Total Charge 0 [2025-03-09 07:54:04] Production.INFO: CreateAllLog End [2025-03-09 07:54:04] Production.ERROR: done [2025-03-09 07:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:54:04] Production.INFO: Account Balance End. [2025-03-09 07:54:04] Production.ERROR: done [2025-03-09 07:54:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:54:04] Production.INFO: ==26968== Releasing lock... [2025-03-09 07:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:54:05 [end_date_ymd] => 2025-03-09 07:54:05 [RateCDR] => 1 ) [2025-03-09 07:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:54:05' and `end` < '2025-03-09 07:54:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:54:11] Production.ERROR: CronJobId end10 [2025-03-09 07:54:11] Production.INFO: ==26966== Releasing lock... [2025-03-09 07:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:54:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:54:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:54:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:54:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:54:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:54:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:54:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:54:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:54:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:54:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:54:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:54:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:54:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:54:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:54:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:54:13] Production.INFO: call_cost start [2025-03-09 07:54:13] Production.INFO: call_cost end [2025-03-09 07:54:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:54:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:54:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:54:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:54:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:54:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:54:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:54:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:54:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:54:14] Production.INFO: ==26962== Releasing lock... [2025-03-09 07:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:54:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:54:17] Production.INFO: count ==237 [2025-03-09 07:54:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:54:05 - End Time 2025-03-09 07:54:05 [2025-03-09 07:54:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640787', 'tblTempUsageDetail_20' ) start [2025-03-09 07:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640787', 'tblTempUsageDetail_20' ) end [2025-03-09 07:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640787', 'tblTempVendorCDR_20' ) start [2025-03-09 07:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640787', 'tblTempVendorCDR_20' ) end [2025-03-09 07:54:17] Production.INFO: ProcessCDR(1,14640787,1,1,2) [2025-03-09 07:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:54:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640787', 'tblTempUsageDetail_20' ) start [2025-03-09 07:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640787', 'tblTempUsageDetail_20' ) end [2025-03-09 07:54:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:54:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:54:20] Production.INFO: ==26970== Releasing lock... [2025-03-09 07:54:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:54:20] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 11:55:02] Production.INFO: ==27028== Lock acquired, processing the job... [2025-03-09 11:55:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:55:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:55:02] Production.INFO: neon service started [2025-03-09 11:55:02] Production.INFO: neon service started [2025-03-09 11:55:02] Production.INFO: ==27028== Releasing lock... [2025-03-09 11:55:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:55:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:55:02] Production.INFO: ==27030== Lock acquired, processing the job... [2025-03-09 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:55:02] Production.INFO: ==27030== Releasing lock... [2025-03-09 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:55:02] Production.INFO: ==27032== Lock acquired, processing the job... [2025-03-09 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:55:02] Production.INFO: ==27032== Releasing lock... [2025-03-09 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:55:03] Production.INFO: ==27041== Lock acquired, processing the job... [2025-03-09 07:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:55:03] Production.INFO: Account Balance Start. [2025-03-09 07:55:03] Production.INFO: CreateAllLog Start [2025-03-09 07:55:03] Production.INFO: ==27045== Lock acquired, processing the job... [2025-03-09 07:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:55:03] Production.INFO: 117 [2025-03-09 07:55:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:55:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:55:03] Production.INFO: ==27035== Lock acquired, processing the job... [2025-03-09 07:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:55:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:55:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:55:03] Production.INFO: ==27039== Lock acquired, processing the job... [2025-03-09 07:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:55:03] Production.INFO: ==27037== Lock acquired, processing the job... [2025-03-09 07:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:55:03] Production.INFO: Total Charge 0 [2025-03-09 07:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:55:03] Production.INFO: ==27043== Lock acquired, processing the job... [2025-03-09 07:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:55:03] Production.INFO: CreateAllLog End [2025-03-09 07:55:03] Production.INFO: count ==13 [2025-03-09 07:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:55:03] Production.INFO: count ==21 [2025-03-09 07:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640789') start [2025-03-09 07:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:55:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640789') end [2025-03-09 07:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:55:04] Production.INFO: 1 [2025-03-09 07:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:55:04] Production.INFO: Account Balance End. [2025-03-09 07:55:04] Production.INFO: ==27045== Releasing lock... [2025-03-09 07:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:55:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:55:04] Production.INFO: ==27041== Releasing lock... [2025-03-09 07:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:55:04] Production.INFO: ==27037== Releasing lock... [2025-03-09 07:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:55:04] Production.ERROR: done [2025-03-09 07:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:55:04] Production.ERROR: done [2025-03-09 07:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:55:05 [end_date_ymd] => 2025-03-09 07:55:05 [RateCDR] => 1 ) [2025-03-09 07:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:55:05' and `end` < '2025-03-09 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-09 07:55:11] Production.ERROR: CronJobId end10 [2025-03-09 07:55:11] Production.INFO: ==27039== Releasing lock... [2025-03-09 07:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:55:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:55:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:55:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:55:15] Production.INFO: call_cost start [2025-03-09 07:55:15] Production.INFO: call_cost end [2025-03-09 07:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:55:15] Production.INFO: ==27035== Releasing lock... [2025-03-09 07:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:55:17] Production.INFO: count ==237 [2025-03-09 07:55:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:55:05 - End Time 2025-03-09 07:55:05 [2025-03-09 07:55:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640792', 'tblTempUsageDetail_20' ) start [2025-03-09 07:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640792', 'tblTempUsageDetail_20' ) end [2025-03-09 07:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640792', 'tblTempVendorCDR_20' ) start [2025-03-09 07:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640792', 'tblTempVendorCDR_20' ) end [2025-03-09 07:55:17] Production.INFO: ProcessCDR(1,14640792,1,1,2) [2025-03-09 07:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:55:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640792', 'tblTempUsageDetail_20' ) start [2025-03-09 07:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640792', 'tblTempUsageDetail_20' ) end [2025-03-09 07:55:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:55:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:55:20] Production.INFO: ==27043== Releasing lock... [2025-03-09 07:55:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:55:20] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 11:56:01] Production.INFO: ==27100== Lock acquired, processing the job... [2025-03-09 11:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:56:01] Production.INFO: neon service started [2025-03-09 11:56:01] Production.INFO: neon service started [2025-03-09 11:56:01] Production.INFO: ==27100== Releasing lock... [2025-03-09 11:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:56:02] Production.INFO: ==27102== Lock acquired, processing the job... [2025-03-09 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:56:02] Production.INFO: ==27104== Lock acquired, processing the job... [2025-03-09 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:56:02] Production.INFO: ==27104== Releasing lock... [2025-03-09 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:56:02] Production.INFO: ==27102== Releasing lock... [2025-03-09 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:56:03] Production.INFO: ==27109== Lock acquired, processing the job... [2025-03-09 07:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:56:03] Production.INFO: ==27113== Lock acquired, processing the job... [2025-03-09 07:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:56:03] Production.INFO: ==27117== Lock acquired, processing the job... [2025-03-09 07:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:56:03] Production.INFO: Account Balance Start. [2025-03-09 07:56:03] Production.INFO: CreateAllLog Start [2025-03-09 07:56:03] Production.INFO: 117 [2025-03-09 07:56:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:56:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:56:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:56:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:56:03] Production.INFO: ==27109== Releasing lock... [2025-03-09 07:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:56:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:56:03] Production.INFO: Total Charge 0 [2025-03-09 07:56:03] Production.INFO: CreateAllLog End [2025-03-09 07:56:03] Production.INFO: ==27107== Lock acquired, processing the job... [2025-03-09 07:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:56:03] Production.INFO: ==27111== Lock acquired, processing the job... [2025-03-09 07:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:56:03] Production.INFO: ==27115== Lock acquired, processing the job... [2025-03-09 07:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:56:03] Production.INFO: count ==13 [2025-03-09 07:56:03] Production.INFO: Account Balance End. [2025-03-09 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-09 07:56:03] Production.INFO: count ==21 [2025-03-09 07:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640795') start [2025-03-09 07:56:03] Production.ERROR: CronJobId end 12 [2025-03-09 07:56:03] Production.INFO: ==27113== Releasing lock... [2025-03-09 07:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:56:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640795') end [2025-03-09 07:56:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:56:03] Production.INFO: 1 [2025-03-09 07:56:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:56:03] Production.INFO: ==27117== Releasing lock... [2025-03-09 07:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:56:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:56:04] Production.ERROR: done [2025-03-09 07:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:56:04] Production.ERROR: done [2025-03-09 07:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:56:05 [end_date_ymd] => 2025-03-09 07:56:05 [RateCDR] => 1 ) [2025-03-09 07:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:56:05' and `end` < '2025-03-09 07:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:56:11] Production.ERROR: CronJobId end10 [2025-03-09 07:56:11] Production.INFO: ==27111== Releasing lock... [2025-03-09 07:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:56:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:56:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:56:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:56:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:56:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:56:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:56:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:56:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:56:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:56:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:56:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:56:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:56:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:56:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:56:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:56:13] Production.INFO: call_cost start [2025-03-09 07:56:13] Production.INFO: call_cost end [2025-03-09 07:56:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:56:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:56:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:56:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:56:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:56:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:56:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:56:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:56:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:56:14] Production.INFO: ==27107== Releasing lock... [2025-03-09 07:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:56:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:56:17] Production.INFO: count ==232 [2025-03-09 07:56:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:56:05 - End Time 2025-03-09 07:56:05 [2025-03-09 07:56:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640797', 'tblTempUsageDetail_20' ) start [2025-03-09 07:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640797', 'tblTempUsageDetail_20' ) end [2025-03-09 07:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640797', 'tblTempVendorCDR_20' ) start [2025-03-09 07:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640797', 'tblTempVendorCDR_20' ) end [2025-03-09 07:56:17] Production.INFO: ProcessCDR(1,14640797,1,1,2) [2025-03-09 07:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:56:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640797', 'tblTempUsageDetail_20' ) start [2025-03-09 07:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640797', 'tblTempUsageDetail_20' ) end [2025-03-09 07:56:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:56:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:56:20] Production.INFO: ==27115== Releasing lock... [2025-03-09 07:56:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:56:20] Production.INFO: 30 MB #Memory Used# [2025-03-09 11:57:02] Production.INFO: ==27171== Lock acquired, processing the job... [2025-03-09 11:57:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:57:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:57:02] Production.INFO: neon service started [2025-03-09 11:57:02] Production.INFO: neon service started [2025-03-09 11:57:02] Production.INFO: ==27171== Releasing lock... [2025-03-09 11:57:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:57:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:57:02] Production.INFO: ==27175== Lock acquired, processing the job... [2025-03-09 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 07:57:02] Production.INFO: ==27173== Lock acquired, processing the job... [2025-03-09 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:57:02] Production.INFO: ==27175== Releasing lock... [2025-03-09 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:57:03] Production.INFO: ==27173== Releasing lock... [2025-03-09 07:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:57:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:57:03] Production.INFO: ==27182== Lock acquired, processing the job... [2025-03-09 07:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:57:03] Production.INFO: ==27188== Lock acquired, processing the job... [2025-03-09 07:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:57:04] Production.INFO: ==27178== Lock acquired, processing the job... [2025-03-09 07:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:57:04] Production.INFO: ==27180== Lock acquired, processing the job... [2025-03-09 07:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 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-09 07:57:04] Production.INFO: count ==13 [2025-03-09 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-09 07:57:04] Production.INFO: count ==21 [2025-03-09 07:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640798') start [2025-03-09 07:57:04] Production.INFO: ==27184== Lock acquired, processing the job... [2025-03-09 07:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:57:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640798') end [2025-03-09 07:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:57:04] Production.INFO: 1 [2025-03-09 07:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:57:04] Production.INFO: ==27186== Lock acquired, processing the job... [2025-03-09 07:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:57:04] Production.INFO: ==27188== Releasing lock... [2025-03-09 07:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:57:04] Production.INFO: Account Balance Start. [2025-03-09 07:57:04] Production.INFO: CreateAllLog Start [2025-03-09 07:57:04] Production.INFO: 117 [2025-03-09 07:57:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:57:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:57:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:57:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:57:04] Production.INFO: ==27180== Releasing lock... [2025-03-09 07:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:57:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:57:04] Production.INFO: Total Charge 0 [2025-03-09 07:57:04] Production.INFO: CreateAllLog End [2025-03-09 07:57:04] Production.ERROR: done [2025-03-09 07:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:57:04] Production.INFO: Account Balance End. [2025-03-09 07:57:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:57:04] Production.INFO: ==27184== Releasing lock... [2025-03-09 07:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:57:04] Production.ERROR: done [2025-03-09 07:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:57:05 [end_date_ymd] => 2025-03-09 07:57:05 [RateCDR] => 1 ) [2025-03-09 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-09 04:57:05' and `end` < '2025-03-09 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-09 07:57:12] Production.ERROR: CronJobId end10 [2025-03-09 07:57:12] Production.INFO: ==27182== Releasing lock... [2025-03-09 07:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:57:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:57:14] Production.INFO: call_cost start [2025-03-09 07:57:14] Production.INFO: call_cost end [2025-03-09 07:57:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:57:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:57:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:57:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:57:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:57:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:57:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:57:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:57:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:57:15] Production.INFO: ==27178== Releasing lock... [2025-03-09 07:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:57:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:57:17] Production.INFO: count ==182 [2025-03-09 07:57:18] Production.ERROR: pbx CDR StartTime 2025-03-09 04:57:05 - End Time 2025-03-09 07:57:05 [2025-03-09 07:57:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640802', 'tblTempUsageDetail_20' ) start [2025-03-09 07:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640802', 'tblTempUsageDetail_20' ) end [2025-03-09 07:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640802', 'tblTempVendorCDR_20' ) start [2025-03-09 07:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640802', 'tblTempVendorCDR_20' ) end [2025-03-09 07:57:18] Production.INFO: ProcessCDR(1,14640802,1,1,2) [2025-03-09 07:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640802', 'tblTempUsageDetail_20' ) start [2025-03-09 07:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640802', 'tblTempUsageDetail_20' ) end [2025-03-09 07:57:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:57:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:57:21] Production.INFO: ==27186== Releasing lock... [2025-03-09 07:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:57:21] Production.INFO: 30 MB #Memory Used# [2025-03-09 11:58:01] Production.INFO: ==27252== Lock acquired, processing the job... [2025-03-09 11:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:58:01] Production.INFO: neon service started [2025-03-09 11:58:01] Production.INFO: neon service started [2025-03-09 11:58:01] Production.INFO: ==27252== Releasing lock... [2025-03-09 11:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:58:02] Production.INFO: ==27254== Lock acquired, processing the job... [2025-03-09 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:58:02] Production.INFO: ==27256== Lock acquired, processing the job... [2025-03-09 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:58:02] Production.INFO: ==27256== Releasing lock... [2025-03-09 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:58:02] Production.INFO: ==27254== Releasing lock... [2025-03-09 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 07:58:03] Production.INFO: ==27267== Lock acquired, processing the job... [2025-03-09 07:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:58:03] Production.INFO: ==27259== Lock acquired, processing the job... [2025-03-09 07:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:58:03] Production.INFO: ==27269== Lock acquired, processing the job... [2025-03-09 07:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:58:03] Production.INFO: ==27261== Lock acquired, processing the job... [2025-03-09 07:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:58:03] Production.INFO: ==27263== Lock acquired, processing the job... [2025-03-09 07:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:58:03] Production.INFO: ==27265== Lock acquired, processing the job... [2025-03-09 07:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:58:03] Production.INFO: Account Balance Start. [2025-03-09 07:58:03] Production.INFO: CreateAllLog Start [2025-03-09 07:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:58:03] Production.INFO: 117 [2025-03-09 07:58:03] Production.INFO: Date 2025-03-08 [2025-03-09 07:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:58:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:58:03] Production.INFO: count ==13 [2025-03-09 07:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:58:03] Production.INFO: count ==21 [2025-03-09 07:58:03] Production.INFO: Date 2025-03-09 [2025-03-09 07:58:03] Production.INFO: Reseller ==> 0 [2025-03-09 07:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640804') start [2025-03-09 07:58:03] Production.ERROR: done [2025-03-09 07:58:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:58:04] Production.INFO: Total Charge 0 [2025-03-09 07:58:04] Production.INFO: CreateAllLog End [2025-03-09 07:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640804') end [2025-03-09 07:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:58:04] Production.INFO: 1 [2025-03-09 07:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:58:04] Production.INFO: ==27269== Releasing lock... [2025-03-09 07:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:58:04] Production.INFO: ==27261== Releasing lock... [2025-03-09 07:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:58:04] Production.ERROR: done [2025-03-09 07:58:04] Production.INFO: Account Balance End. [2025-03-09 07:58:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:58:04] Production.INFO: ==27265== Releasing lock... [2025-03-09 07:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:58:05 [end_date_ymd] => 2025-03-09 07:58:05 [RateCDR] => 1 ) [2025-03-09 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-09 04:58:05' and `end` < '2025-03-09 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-09 07:58:11] Production.ERROR: CronJobId end10 [2025-03-09 07:58:11] Production.INFO: ==27263== Releasing lock... [2025-03-09 07:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:58:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:58:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:58:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:58:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:58:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:58:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:58:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:58:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:58:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:58:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:58:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:58:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:58:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:58:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:58:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:58:14] Production.INFO: call_cost start [2025-03-09 07:58:14] Production.INFO: call_cost end [2025-03-09 07:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:58:15] Production.INFO: ==27259== Releasing lock... [2025-03-09 07:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:58:17] Production.INFO: count ==131 [2025-03-09 07:58:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:58:05 - End Time 2025-03-09 07:58:05 [2025-03-09 07:58:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640807', 'tblTempUsageDetail_20' ) start [2025-03-09 07:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640807', 'tblTempUsageDetail_20' ) end [2025-03-09 07:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640807', 'tblTempVendorCDR_20' ) start [2025-03-09 07:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640807', 'tblTempVendorCDR_20' ) end [2025-03-09 07:58:17] Production.INFO: ProcessCDR(1,14640807,1,1,2) [2025-03-09 07:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640807', 'tblTempUsageDetail_20' ) start [2025-03-09 07:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640807', 'tblTempUsageDetail_20' ) end [2025-03-09 07:58:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:58:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:58:22] Production.INFO: ==27267== Releasing lock... [2025-03-09 07:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:58:22] Production.INFO: 29.25 MB #Memory Used# [2025-03-09 11:59:02] Production.INFO: ==27367== Lock acquired, processing the job... [2025-03-09 11:59:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 11:59:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 11:59:02] Production.INFO: neon service started [2025-03-09 11:59:02] Production.INFO: neon service started [2025-03-09 11:59:02] Production.INFO: ==27367== Releasing lock... [2025-03-09 11:59:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 11:59:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 07:59:02] Production.INFO: ==27369== Lock acquired, processing the job... [2025-03-09 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 07:59:02] Production.INFO: ==27369== Releasing lock... [2025-03-09 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 07:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:59:02] Production.INFO: ==27371== Lock acquired, processing the job... [2025-03-09 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:59:02] Production.INFO: ==27371== Releasing lock... [2025-03-09 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 11:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 07:59:03] Production.INFO: ==27376== Lock acquired, processing the job... [2025-03-09 07:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 07:59:03] Production.INFO: ==27382== Lock acquired, processing the job... [2025-03-09 07:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 07:59:03] Production.INFO: ==27374== Lock acquired, processing the job... [2025-03-09 07:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 07:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 07:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 07:59:03] Production.INFO: ==27378== Lock acquired, processing the job... [2025-03-09 07:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 07:59:03] Production.INFO: ==27380== Lock acquired, processing the job... [2025-03-09 07:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 07:59:03] Production.INFO: ==27384== Lock acquired, processing the job... [2025-03-09 07:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 07:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 07:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 07:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 07:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 07:59:03] Production.INFO: ==27376== Releasing lock... [2025-03-09 07:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 07:59:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 07:59:04] Production.ERROR: done [2025-03-09 07:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 07:59:04] Production.INFO: Account Balance Start. [2025-03-09 07:59:04] Production.INFO: CreateAllLog Start [2025-03-09 07:59:04] Production.INFO: 117 [2025-03-09 07:59:04] Production.INFO: Date 2025-03-08 [2025-03-09 07:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:59:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:59:04] Production.INFO: count ==13 [2025-03-09 07:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 07:59:04] Production.INFO: Date 2025-03-09 [2025-03-09 07:59:04] Production.INFO: count ==21 [2025-03-09 07:59:04] Production.INFO: Reseller ==> 0 [2025-03-09 07:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640811') start [2025-03-09 07:59:04] Production.ERROR: done [2025-03-09 07:59:04] Production.INFO: Total Charge 0 [2025-03-09 07:59:04] Production.INFO: CreateAllLog End [2025-03-09 07:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640811') end [2025-03-09 07:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 07:59:04] Production.INFO: 1 [2025-03-09 07:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 07:59:04] Production.INFO: ==27384== Releasing lock... [2025-03-09 07:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 07:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 07:59:04] Production.INFO: Account Balance End. [2025-03-09 07:59:04] Production.ERROR: CronJobId end 12 [2025-03-09 07:59:04] Production.INFO: ==27380== Releasing lock... [2025-03-09 07:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 07:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 07:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 04:59:05 [end_date_ymd] => 2025-03-09 07:59:05 [RateCDR] => 1 ) [2025-03-09 07:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 04:59:05' and `end` < '2025-03-09 07:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 07:59:12] Production.ERROR: CronJobId end10 [2025-03-09 07:59:12] Production.INFO: ==27378== Releasing lock... [2025-03-09 07:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 07:59:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 07:59:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 07:59:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 07:59:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 07:59:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 07:59:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 07:59:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 07:59:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 07:59:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 07:59:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 07:59:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 07:59:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 07:59:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 07:59:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 07:59:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 07:59:14] Production.INFO: call_cost start [2025-03-09 07:59:14] Production.INFO: call_cost end [2025-03-09 07:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 07:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 07:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 07:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 07:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 07:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 07:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 07:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 07:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 07:59:15] Production.INFO: ==27374== Releasing lock... [2025-03-09 07:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 07:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 07:59:17] Production.INFO: count ==99 [2025-03-09 07:59:17] Production.ERROR: pbx CDR StartTime 2025-03-09 04:59:05 - End Time 2025-03-09 07:59:05 [2025-03-09 07:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 07:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640812', 'tblTempUsageDetail_20' ) start [2025-03-09 07:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640812', 'tblTempUsageDetail_20' ) end [2025-03-09 07:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640812', 'tblTempVendorCDR_20' ) start [2025-03-09 07:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640812', 'tblTempVendorCDR_20' ) end [2025-03-09 07:59:17] Production.INFO: ProcessCDR(1,14640812,1,1,2) [2025-03-09 07:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 07:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 07:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640812', 'tblTempUsageDetail_20' ) start [2025-03-09 07:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640812', 'tblTempUsageDetail_20' ) end [2025-03-09 07:59:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 07:59:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 07:59:20] Production.INFO: ==27382== Releasing lock... [2025-03-09 07:59:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 07:59:20] Production.INFO: 29 MB #Memory Used# [2025-03-09 12:00:01] Production.INFO: ==27480== Lock acquired, processing the job... [2025-03-09 12:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:00:01] Production.INFO: neon service started [2025-03-09 12:00:01] Production.INFO: neon service started [2025-03-09 12:00:01] Production.INFO: ==27480== Releasing lock... [2025-03-09 12:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:00:01] Production.INFO: ==27484== Lock acquired, processing the job... [2025-03-09 08:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:00:02] Production.INFO: ==27484== Releasing lock... [2025-03-09 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:00:02] Production.INFO: ==27486== Lock acquired, processing the job... [2025-03-09 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:00:02] Production.INFO: ==27486== Releasing lock... [2025-03-09 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:00:03] Production.INFO: ==27488== Lock acquired, processing the job... [2025-03-09 08:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 08:00:03] Production.INFO: ==27490== Lock acquired, processing the job... [2025-03-09 08:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:00:03] Production.INFO: ==27492== Lock acquired, processing the job... [2025-03-09 08:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:00:03] Production.INFO: ==27494== Lock acquired, processing the job... [2025-03-09 08:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:00:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 08:00:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 08:00:03] Production.INFO: ==27488== Releasing lock... [2025-03-09 08:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 08:00:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 08:00:03] Production.INFO: ==27496== Lock acquired, processing the job... [2025-03-09 08:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:00:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:00:03] Production.INFO: ==27498== Lock acquired, processing the job... [2025-03-09 08:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:00:03] Production.INFO: ==27502== Lock acquired, processing the job... [2025-03-09 08:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:00:03] Production.INFO: ==27500== Lock acquired, processing the job... [2025-03-09 08:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 08:00:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:00:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:00:03] Production.INFO: Account Balance Start. [2025-03-09 08:00:03] Production.INFO: CreateAllLog Start [2025-03-09 08:00:03] Production.INFO: 117 [2025-03-09 08:00:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:00:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:00:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:00:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:00:03] Production.INFO: Total Charge 0 [2025-03-09 08:00:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:00:04] Production.INFO: ==27492== Releasing lock... [2025-03-09 08:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:00:04] Production.INFO: CreateAllLog End [2025-03-09 08:00:04] Production.INFO: count ==13 [2025-03-09 08:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:00:04] Production.INFO: count ==21 [2025-03-09 08:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640816') start [2025-03-09 08:00:04] Production.ERROR: done [2025-03-09 08:00:04] Production.ERROR: done [2025-03-09 08:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 08:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640817', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 08:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640816') end [2025-03-09 08:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:00:04] Production.INFO: 1 [2025-03-09 08:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:00:04] Production.INFO: ==27502== Releasing lock... [2025-03-09 08:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:00:04] Production.ERROR: done [2025-03-09 08:00:04] Production.INFO: Account Balance End. [2025-03-09 08:00:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:00:04] Production.INFO: ==27496== Releasing lock... [2025-03-09 08:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:00:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:00:06 [end_date_ymd] => 2025-03-09 08:00:06 [RateCDR] => 1 ) [2025-03-09 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-09 05:00:06' and `end` < '2025-03-09 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-09 08:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640817', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 08:00:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 08:00:08] Production.INFO: ProcessCDR(1,14640817,1,1,2) [2025-03-09 08:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14640817,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14640817,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:00:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:00:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:00:08] Production.INFO: ==27500== Releasing lock... [2025-03-09 08:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 08:00:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 08:00:13] Production.ERROR: CronJobId end10 [2025-03-09 08:00:13] Production.INFO: ==27494== Releasing lock... [2025-03-09 08:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:00:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:00:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:00:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:00:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:00:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:00:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:00:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:00:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:00:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:00:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:00:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:00:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:00:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:00:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:00:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:00:16] Production.INFO: call_cost start [2025-03-09 08:00:16] Production.INFO: call_cost end [2025-03-09 08:00:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:00:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:00:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:00:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:00:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:00:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:00:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:00:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:00:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:00:17] Production.INFO: ==27490== Releasing lock... [2025-03-09 08:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:00:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:00:18] Production.INFO: count ==85 [2025-03-09 08:00:18] Production.ERROR: pbx CDR StartTime 2025-03-09 05:00:06 - End Time 2025-03-09 08:00:06 [2025-03-09 08:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640818', 'tblTempUsageDetail_20' ) start [2025-03-09 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640818', 'tblTempUsageDetail_20' ) end [2025-03-09 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640818', 'tblTempVendorCDR_20' ) start [2025-03-09 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640818', 'tblTempVendorCDR_20' ) end [2025-03-09 08:00:18] Production.INFO: ProcessCDR(1,14640818,1,1,2) [2025-03-09 08:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640818', 'tblTempUsageDetail_20' ) start [2025-03-09 08:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640818', 'tblTempUsageDetail_20' ) end [2025-03-09 08:00:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:00:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:00:21] Production.INFO: ==27498== Releasing lock... [2025-03-09 08:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:00:21] Production.INFO: 28.75 MB #Memory Used# [2025-03-09 12:01:01] Production.INFO: ==27601== Lock acquired, processing the job... [2025-03-09 12:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:01:02] Production.INFO: neon service started [2025-03-09 12:01:02] Production.INFO: neon service started [2025-03-09 12:01:02] Production.INFO: ==27601== Releasing lock... [2025-03-09 12:01:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:01:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:01:02] Production.INFO: ==27616== Lock acquired, processing the job... [2025-03-09 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:01:02] Production.INFO: ==27616== Releasing lock... [2025-03-09 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:01:02] Production.INFO: ==27614== Lock acquired, processing the job... [2025-03-09 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:01:02] Production.INFO: ==27614== Releasing lock... [2025-03-09 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:01:03] Production.INFO: ==27623== Lock acquired, processing the job... [2025-03-09 08:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:01:03] Production.INFO: ==27629== Lock acquired, processing the job... [2025-03-09 08:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:01:03] Production.INFO: ==27621== Lock acquired, processing the job... [2025-03-09 08:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:01:03] Production.INFO: ==27619== Lock acquired, processing the job... [2025-03-09 08:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 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-09 08:01:03] Production.INFO: count ==13 [2025-03-09 08:01:04] Production.INFO: ==27627== Lock acquired, processing the job... [2025-03-09 08:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:01:04] Production.INFO: ==27625== Lock acquired, processing the job... [2025-03-09 08:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:01:04] Production.INFO: count ==21 [2025-03-09 08:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640819') start [2025-03-09 08:01:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:01:04] Production.INFO: Account Balance Start. [2025-03-09 08:01:04] Production.INFO: CreateAllLog Start [2025-03-09 08:01:04] Production.INFO: 117 [2025-03-09 08:01:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:01:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:01:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:01:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640819') end [2025-03-09 08:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:01:04] Production.INFO: 1 [2025-03-09 08:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:01:04] Production.INFO: Total Charge 0 [2025-03-09 08:01:04] Production.INFO: CreateAllLog End [2025-03-09 08:01:04] Production.INFO: ==27629== Releasing lock... [2025-03-09 08:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:01:04] Production.INFO: ==27621== Releasing lock... [2025-03-09 08:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:01:04] Production.INFO: Account Balance End. [2025-03-09 08:01:04] Production.ERROR: done [2025-03-09 08:01:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:01:04] Production.INFO: ==27625== Releasing lock... [2025-03-09 08:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:01:04] Production.ERROR: done [2025-03-09 08:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:01:05 [end_date_ymd] => 2025-03-09 08:01:05 [RateCDR] => 1 ) [2025-03-09 08:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:01:05' and `end` < '2025-03-09 08:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:01:12] Production.ERROR: CronJobId end10 [2025-03-09 08:01:12] Production.INFO: ==27623== Releasing lock... [2025-03-09 08:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:01:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:01:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:01:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:01:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:01:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:01:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:01:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:01:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:01:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:01:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:01:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:01:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:01:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:01:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:01:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:01:15] Production.INFO: call_cost start [2025-03-09 08:01:15] Production.INFO: call_cost end [2025-03-09 08:01:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:01:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:01:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:01:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:01:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:01:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:01:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:01:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:01:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:01:16] Production.INFO: ==27619== Releasing lock... [2025-03-09 08:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:01:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:01:17] Production.INFO: count ==74 [2025-03-09 08:01:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:01:05 - End Time 2025-03-09 08:01:05 [2025-03-09 08:01:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640823', 'tblTempUsageDetail_20' ) start [2025-03-09 08:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640823', 'tblTempUsageDetail_20' ) end [2025-03-09 08:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640823', 'tblTempVendorCDR_20' ) start [2025-03-09 08:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640823', 'tblTempVendorCDR_20' ) end [2025-03-09 08:01:17] Production.INFO: ProcessCDR(1,14640823,1,1,2) [2025-03-09 08:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:01:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640823', 'tblTempUsageDetail_20' ) start [2025-03-09 08:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640823', 'tblTempUsageDetail_20' ) end [2025-03-09 08:01:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:01:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:01:20] Production.INFO: ==27627== Releasing lock... [2025-03-09 08:01:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:01:20] Production.INFO: 28.75 MB #Memory Used# [2025-03-09 12:02:01] Production.INFO: ==27723== Lock acquired, processing the job... [2025-03-09 12:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:02:01] Production.INFO: neon service started [2025-03-09 12:02:01] Production.INFO: neon service started [2025-03-09 12:02:01] Production.INFO: ==27723== Releasing lock... [2025-03-09 12:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:02:01] Production.INFO: ==27727== Lock acquired, processing the job... [2025-03-09 08:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:02:02] Production.INFO: ==27729== Lock acquired, processing the job... [2025-03-09 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:02:02] Production.INFO: ==27727== Releasing lock... [2025-03-09 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:02:02] Production.INFO: ==27729== Releasing lock... [2025-03-09 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:02:02] Production.INFO: ==27739== Lock acquired, processing the job... [2025-03-09 08:02:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:02:02] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:02:03] Production.ERROR: done [2025-03-09 08:02:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:02:03] Production.ERROR: done [2025-03-09 08:02:03] Production.INFO: ==27731== Lock acquired, processing the job... [2025-03-09 08:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:02:03] Production.INFO: ==27733== Lock acquired, processing the job... [2025-03-09 08:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:02:03] Production.INFO: ==27737== Lock acquired, processing the job... [2025-03-09 08:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:02:03] Production.INFO: ==27735== Lock acquired, processing the job... [2025-03-09 08:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:02:03] Production.INFO: Account Balance Start. [2025-03-09 08:02:03] Production.INFO: CreateAllLog Start [2025-03-09 08:02:03] Production.INFO: 117 [2025-03-09 08:02:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:02:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:02:03] Production.INFO: ==27742== Lock acquired, processing the job... [2025-03-09 08:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:02:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:02:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:02:03] Production.INFO: Total Charge 0 [2025-03-09 08:02:03] Production.INFO: CreateAllLog End [2025-03-09 08:02:03] Production.INFO: ==27733== Releasing lock... [2025-03-09 08:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:02:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:02:03] Production.INFO: Account Balance End. [2025-03-09 08:02:03] Production.INFO: count ==13 [2025-03-09 08:02:03] Production.ERROR: CronJobId end 12 [2025-03-09 08:02:03] Production.INFO: ==27737== Releasing lock... [2025-03-09 08:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:02:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:02:03] Production.INFO: count ==21 [2025-03-09 08:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640828') start [2025-03-09 08:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640828') end [2025-03-09 08:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:02:04] Production.INFO: 1 [2025-03-09 08:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:02:04] Production.INFO: ==27742== Releasing lock... [2025-03-09 08:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:02:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:02:04 [end_date_ymd] => 2025-03-09 08:02:04 [RateCDR] => 1 ) [2025-03-09 08:02:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:02:04' and `end` < '2025-03-09 08:02:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:02:10] Production.ERROR: CronJobId end10 [2025-03-09 08:02:10] Production.INFO: ==27735== Releasing lock... [2025-03-09 08:02:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:02:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:02:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:02:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:02:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:02:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:02:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:02:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:02:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:02:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:02:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:02:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:02:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:02:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:02:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:02:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:02:13] Production.INFO: call_cost start [2025-03-09 08:02:13] Production.INFO: call_cost end [2025-03-09 08:02:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:02:13] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:02:13] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:02:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:02:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:02:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:02:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:02:13] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:02:13] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:02:13] Production.INFO: ==27731== Releasing lock... [2025-03-09 08:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:02:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:02:16] Production.INFO: count ==66 [2025-03-09 08:02:16] Production.ERROR: pbx CDR StartTime 2025-03-09 05:02:04 - End Time 2025-03-09 08:02:04 [2025-03-09 08:02:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640824', 'tblTempUsageDetail_20' ) start [2025-03-09 08:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640824', 'tblTempUsageDetail_20' ) end [2025-03-09 08:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640824', 'tblTempVendorCDR_20' ) start [2025-03-09 08:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640824', 'tblTempVendorCDR_20' ) end [2025-03-09 08:02:16] Production.INFO: ProcessCDR(1,14640824,1,1,2) [2025-03-09 08:02:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:02:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:02:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:02:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:02:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640824', 'tblTempUsageDetail_20' ) start [2025-03-09 08:02:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640824', 'tblTempUsageDetail_20' ) end [2025-03-09 08:02:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:02:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:02:20] Production.INFO: ==27739== Releasing lock... [2025-03-09 08:02:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:02:20] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:03:01] Production.INFO: ==27835== Lock acquired, processing the job... [2025-03-09 12:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:03:01] Production.INFO: neon service started [2025-03-09 12:03:01] Production.INFO: neon service started [2025-03-09 12:03:01] Production.INFO: ==27835== Releasing lock... [2025-03-09 12:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:03:02] Production.INFO: ==27837== Lock acquired, processing the job... [2025-03-09 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:03:02] Production.INFO: ==27837== Releasing lock... [2025-03-09 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:03:02] Production.INFO: ==27839== Lock acquired, processing the job... [2025-03-09 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:03:02] Production.INFO: ==27839== Releasing lock... [2025-03-09 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:03:02] Production.INFO: 26 MB #Memory Used# [2025-03-09 08:03:03] Production.INFO: ==27844== Lock acquired, processing the job... [2025-03-09 08:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:03:03] Production.INFO: ==27848== Lock acquired, processing the job... [2025-03-09 08:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:03:03] Production.INFO: ==27850== Lock acquired, processing the job... [2025-03-09 08:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:03:03] Production.INFO: ==27844== Releasing lock... [2025-03-09 08:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:03:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:03:03] Production.INFO: Account Balance Start. [2025-03-09 08:03:03] Production.INFO: CreateAllLog Start [2025-03-09 08:03:03] Production.INFO: 117 [2025-03-09 08:03:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:03:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:03:03] Production.INFO: ==27842== Lock acquired, processing the job... [2025-03-09 08:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:03:03] Production.INFO: Total Charge 0 [2025-03-09 08:03:03] Production.INFO: CreateAllLog End [2025-03-09 08:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:03:03] Production.INFO: ==27854== Lock acquired, processing the job... [2025-03-09 08:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:03:03] Production.INFO: ==27852== Lock acquired, processing the job... [2025-03-09 08:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:03:03] Production.INFO: Account Balance End. [2025-03-09 08:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:03:03] Production.ERROR: CronJobId end 12 [2025-03-09 08:03:03] Production.INFO: ==27850== Releasing lock... [2025-03-09 08:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:03:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:03:03] Production.INFO: count ==13 [2025-03-09 08:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:03:03] Production.INFO: count ==21 [2025-03-09 08:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640832') start [2025-03-09 08:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640832') end [2025-03-09 08:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:03:04] Production.INFO: 1 [2025-03-09 08:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:03:04] Production.INFO: ==27854== Releasing lock... [2025-03-09 08:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:03:04] Production.ERROR: done [2025-03-09 08:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:03:04] Production.ERROR: done [2025-03-09 08:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:03:05 [end_date_ymd] => 2025-03-09 08:03:05 [RateCDR] => 1 ) [2025-03-09 08:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:03:05' and `end` < '2025-03-09 08:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:03:10] Production.ERROR: CronJobId end10 [2025-03-09 08:03:10] Production.INFO: ==27848== Releasing lock... [2025-03-09 08:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:03:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:03:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:03:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:03:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:03:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:03:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:03:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:03:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:03:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:03:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:03:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:03:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:03:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:03:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:03:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:03:13] Production.INFO: call_cost start [2025-03-09 08:03:13] Production.INFO: call_cost end [2025-03-09 08:03:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:03:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:03:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:03:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:03:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:03:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:03:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:03:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:03:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:03:14] Production.INFO: ==27842== Releasing lock... [2025-03-09 08:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:03:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:03:17] Production.INFO: count ==66 [2025-03-09 08:03:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:03:05 - End Time 2025-03-09 08:03:05 [2025-03-09 08:03:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640833', 'tblTempUsageDetail_20' ) start [2025-03-09 08:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640833', 'tblTempUsageDetail_20' ) end [2025-03-09 08:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640833', 'tblTempVendorCDR_20' ) start [2025-03-09 08:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640833', 'tblTempVendorCDR_20' ) end [2025-03-09 08:03:17] Production.INFO: ProcessCDR(1,14640833,1,1,2) [2025-03-09 08:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:03:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640833', 'tblTempUsageDetail_20' ) start [2025-03-09 08:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640833', 'tblTempUsageDetail_20' ) end [2025-03-09 08:03:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:03:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:03:20] Production.INFO: ==27852== Releasing lock... [2025-03-09 08:03:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:03:20] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:04:02] Production.INFO: ==27946== Lock acquired, processing the job... [2025-03-09 12:04:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:04:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:04:02] Production.INFO: neon service started [2025-03-09 12:04:02] Production.INFO: neon service started [2025-03-09 12:04:02] Production.INFO: ==27946== Releasing lock... [2025-03-09 12:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:04:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:04:03] Production.INFO: ==27949== Lock acquired, processing the job... [2025-03-09 08:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:04:03] Production.INFO: ==27951== Lock acquired, processing the job... [2025-03-09 12:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:04:03] Production.INFO: ==27951== Releasing lock... [2025-03-09 12:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:04:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:04:03] Production.INFO: ==27949== Releasing lock... [2025-03-09 08:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:04:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:04:04] Production.INFO: ==27958== Lock acquired, processing the job... [2025-03-09 08:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:04:04] Production.INFO: ==27954== Lock acquired, processing the job... [2025-03-09 08:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:04:04] Production.INFO: ==27956== Lock acquired, processing the job... [2025-03-09 08:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:04:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:04:04] Production.INFO: ==27963== Lock acquired, processing the job... [2025-03-09 08:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:04:04] Production.INFO: ==27960== Lock acquired, processing the job... [2025-03-09 08:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:04:04] Production.INFO: ==27966== Lock acquired, processing the job... [2025-03-09 08:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:04:05] Production.INFO: Account Balance Start. [2025-03-09 08:04:05] Production.INFO: CreateAllLog Start [2025-03-09 08:04:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:04:05] Production.INFO: 117 [2025-03-09 08:04:05] Production.INFO: Date 2025-03-08 [2025-03-09 08:04:05] Production.INFO: Reseller ==> 0 [2025-03-09 08:04:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:04:05] Production.INFO: count ==13 [2025-03-09 08:04:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:04:05] Production.INFO: count ==21 [2025-03-09 08:04:05] Production.INFO: ==27956== Releasing lock... [2025-03-09 08:04:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:04:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:04:05] Production.INFO: Date 2025-03-09 [2025-03-09 08:04:05] Production.INFO: Reseller ==> 0 [2025-03-09 08:04:05] Production.ERROR: PBX CALL prc_importPBXExtension('14640837') start [2025-03-09 08:04:05] Production.INFO: Total Charge 0 [2025-03-09 08:04:05] Production.INFO: CreateAllLog End [2025-03-09 08:04:05] Production.ERROR: done [2025-03-09 08:04:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:04:05] Production.ERROR: PBX CALL prc_importPBXExtension('14640837') end [2025-03-09 08:04:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:04:05] Production.INFO: 1 [2025-03-09 08:04:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:04:05] Production.INFO: ==27966== Releasing lock... [2025-03-09 08:04:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:04:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:04:05] Production.ERROR: done [2025-03-09 08:04:05] Production.INFO: Account Balance End. [2025-03-09 08:04:05] Production.ERROR: CronJobId end 12 [2025-03-09 08:04:05] Production.INFO: ==27960== Releasing lock... [2025-03-09 08:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:04:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:04:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:04:06 [end_date_ymd] => 2025-03-09 08:04:06 [RateCDR] => 1 ) [2025-03-09 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-09 05:04:06' and `end` < '2025-03-09 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-09 08:04:16] Production.ERROR: CronJobId end10 [2025-03-09 08:04:16] Production.INFO: ==27958== Releasing lock... [2025-03-09 08:04:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:04:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:04:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:04:17] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:04:17] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:04:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:04:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:04:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:04:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:04:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:04:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:04:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:04:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:04:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:04:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:04:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:04:18] Production.INFO: call_cost start [2025-03-09 08:04:18] Production.INFO: call_cost end [2025-03-09 08:04:18] Production.INFO: count ==66 [2025-03-09 08:04:18] Production.ERROR: pbx CDR StartTime 2025-03-09 05:04:06 - End Time 2025-03-09 08:04:06 [2025-03-09 08:04:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640838', 'tblTempUsageDetail_20' ) start [2025-03-09 08:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640838', 'tblTempUsageDetail_20' ) end [2025-03-09 08:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640838', 'tblTempVendorCDR_20' ) start [2025-03-09 08:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640838', 'tblTempVendorCDR_20' ) end [2025-03-09 08:04:19] Production.INFO: ProcessCDR(1,14640838,1,1,2) [2025-03-09 08:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:04:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:04:19] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:04:19] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:04:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:04:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:04:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:04:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:04:19] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:04:19] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:04:19] Production.INFO: ==27954== Releasing lock... [2025-03-09 08:04:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:04:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640838', 'tblTempUsageDetail_20' ) start [2025-03-09 08:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640838', 'tblTempUsageDetail_20' ) end [2025-03-09 08:04:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:04:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:04:22] Production.INFO: ==27963== Releasing lock... [2025-03-09 08:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:04:22] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:05:02] Production.INFO: ==28056== Lock acquired, processing the job... [2025-03-09 12:05:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:05:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:05:02] Production.INFO: neon service started [2025-03-09 12:05:02] Production.INFO: neon service started [2025-03-09 12:05:02] Production.INFO: ==28056== Releasing lock... [2025-03-09 12:05:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:05:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:05:02] Production.INFO: ==28060== Lock acquired, processing the job... [2025-03-09 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:05:02] Production.INFO: ==28060== Releasing lock... [2025-03-09 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:05:02] Production.INFO: ==28062== Lock acquired, processing the job... [2025-03-09 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:05:02] Production.INFO: ==28062== Releasing lock... [2025-03-09 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:05:03] Production.INFO: ==28064== Lock acquired, processing the job... [2025-03-09 08:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:05:03] Production.INFO: ==28072== Lock acquired, processing the job... [2025-03-09 08:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:05:03] Production.INFO: ==28074== Lock acquired, processing the job... [2025-03-09 08:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:05:03] Production.INFO: ==28066== Lock acquired, processing the job... [2025-03-09 08:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:05:03] Production.INFO: ==28068== Lock acquired, processing the job... [2025-03-09 08:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 08:05:03] Production.INFO: ==28070== Lock acquired, processing the job... [2025-03-09 08:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:05:03] Production.INFO: count ==13 [2025-03-09 08:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 08:05:03] Production.INFO: count ==21 [2025-03-09 08:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640840') start [2025-03-09 08:05:04] Production.INFO: Account Balance Start. [2025-03-09 08:05:04] Production.INFO: CreateAllLog Start [2025-03-09 08:05:04] Production.INFO: 117 [2025-03-09 08:05:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:05:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:05:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:05:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:05:04] Production.INFO: ==28066== Releasing lock... [2025-03-09 08:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:05:04] Production.INFO: Total Charge 0 [2025-03-09 08:05:04] Production.INFO: CreateAllLog End [2025-03-09 08:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640840') end [2025-03-09 08:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:05:04] Production.INFO: 1 [2025-03-09 08:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:05:04] Production.INFO: ==28074== Releasing lock... [2025-03-09 08:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:05:04] Production.ERROR: done [2025-03-09 08:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:05:04] Production.ERROR: done [2025-03-09 08:05:04] Production.INFO: Account Balance End. [2025-03-09 08:05:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:05:04] Production.INFO: ==28070== Releasing lock... [2025-03-09 08:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:05:05 [end_date_ymd] => 2025-03-09 08:05:05 [RateCDR] => 1 ) [2025-03-09 08:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:05:05' and `end` < '2025-03-09 08:05:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08: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,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-09 08:05:11] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:05:11] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:05:11] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:05:11] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:05:11] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:05:11] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:05:11] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:05:11] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:05:11] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:05:11] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:05:11] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:05:11] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:05:11] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:05:11] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:05:11] Production.INFO: call_cost start [2025-03-09 08:05:11] Production.INFO: call_cost end [2025-03-09 08:05:12] Production.ERROR: CronJobId end10 [2025-03-09 08:05:12] Production.INFO: ==28068== Releasing lock... [2025-03-09 08:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:05:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:05:12] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:05:12] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:05:12] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:05:12] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:05:12] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:05:12] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:05:12] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:05:12] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:05:12] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:05:12] Production.INFO: ==28064== Releasing lock... [2025-03-09 08:05:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:05:12] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:05:17] Production.INFO: count ==66 [2025-03-09 08:05:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:05:05 - End Time 2025-03-09 08:05:05 [2025-03-09 08:05:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640843', 'tblTempUsageDetail_20' ) start [2025-03-09 08:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640843', 'tblTempUsageDetail_20' ) end [2025-03-09 08:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640843', 'tblTempVendorCDR_20' ) start [2025-03-09 08:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640843', 'tblTempVendorCDR_20' ) end [2025-03-09 08:05:17] Production.INFO: ProcessCDR(1,14640843,1,1,2) [2025-03-09 08:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640843', 'tblTempUsageDetail_20' ) start [2025-03-09 08:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640843', 'tblTempUsageDetail_20' ) end [2025-03-09 08:05:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:05:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:05:20] Production.INFO: ==28072== Releasing lock... [2025-03-09 08:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:05:20] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:06:01] Production.INFO: ==28165== Lock acquired, processing the job... [2025-03-09 12:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:06:01] Production.INFO: neon service started [2025-03-09 12:06:01] Production.INFO: neon service started [2025-03-09 12:06:01] Production.INFO: ==28165== Releasing lock... [2025-03-09 12:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:06:01] Production.INFO: ==28167== Lock acquired, processing the job... [2025-03-09 08:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:06:02] Production.INFO: ==28167== Releasing lock... [2025-03-09 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:06:02] Production.INFO: ==28169== Lock acquired, processing the job... [2025-03-09 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:06:02] Production.INFO: ==28169== Releasing lock... [2025-03-09 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:06:03] Production.INFO: ==28173== Lock acquired, processing the job... [2025-03-09 08:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:06:03] Production.INFO: ==28177== Lock acquired, processing the job... [2025-03-09 08:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:06:03] Production.INFO: ==28183== Lock acquired, processing the job... [2025-03-09 08:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:06:03] Production.INFO: ==28175== Lock acquired, processing the job... [2025-03-09 08:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:06:03] Production.INFO: count ==13 [2025-03-09 08:06:03] Production.INFO: ==28179== Lock acquired, processing the job... [2025-03-09 08:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:06:03] Production.INFO: ==28181== Lock acquired, processing the job... [2025-03-09 08:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:06:03] Production.INFO: count ==21 [2025-03-09 08:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640845') start [2025-03-09 08:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:06:03] Production.INFO: Account Balance Start. [2025-03-09 08:06:03] Production.INFO: CreateAllLog Start [2025-03-09 08:06:03] Production.INFO: 117 [2025-03-09 08:06:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640845') end [2025-03-09 08:06:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:06:03] Production.INFO: 1 [2025-03-09 08:06:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:06:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:06:03] Production.INFO: ==28175== Releasing lock... [2025-03-09 08:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:06:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:06:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:06:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:06:03] Production.INFO: Total Charge 0 [2025-03-09 08:06:03] Production.INFO: ==28183== Releasing lock... [2025-03-09 08:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:06:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:06:03] Production.INFO: CreateAllLog End [2025-03-09 08:06:03] Production.ERROR: done [2025-03-09 08:06:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:06:04] Production.ERROR: done [2025-03-09 08:06:04] Production.INFO: Account Balance End. [2025-03-09 08:06:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:06:04] Production.INFO: ==28179== Releasing lock... [2025-03-09 08:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:06:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:06:04 [end_date_ymd] => 2025-03-09 08:06:04 [RateCDR] => 1 ) [2025-03-09 08:06:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:06:04' and `end` < '2025-03-09 08:06:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:06:10] Production.ERROR: CronJobId end10 [2025-03-09 08:06:10] Production.INFO: ==28177== Releasing lock... [2025-03-09 08:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:06:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:06:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:06:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:06:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:06:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:06:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:06:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:06:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:06:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:06:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:06:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:06:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:06:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:06:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:06:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:06:13] Production.INFO: call_cost start [2025-03-09 08:06:13] Production.INFO: call_cost end [2025-03-09 08:06:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:06:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:06:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:06:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:06:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:06:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:06:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:06:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:06:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:06:14] Production.INFO: ==28173== Releasing lock... [2025-03-09 08:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:06:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:06:16] Production.INFO: count ==66 [2025-03-09 08:06:16] Production.ERROR: pbx CDR StartTime 2025-03-09 05:06:04 - End Time 2025-03-09 08:06:04 [2025-03-09 08:06:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:06:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640848', 'tblTempUsageDetail_20' ) start [2025-03-09 08:06:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640848', 'tblTempUsageDetail_20' ) end [2025-03-09 08:06:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640848', 'tblTempVendorCDR_20' ) start [2025-03-09 08:06:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640848', 'tblTempVendorCDR_20' ) end [2025-03-09 08:06:16] Production.INFO: ProcessCDR(1,14640848,1,1,2) [2025-03-09 08:06:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:06:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:06:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:06:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:06:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640848', 'tblTempUsageDetail_20' ) start [2025-03-09 08:06:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640848', 'tblTempUsageDetail_20' ) end [2025-03-09 08:06:19] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:06:19] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:06:19] Production.INFO: ==28181== Releasing lock... [2025-03-09 08:06:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:06:19] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:07:01] Production.INFO: ==28275== Lock acquired, processing the job... [2025-03-09 12:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:07:01] Production.INFO: neon service started [2025-03-09 12:07:01] Production.INFO: neon service started [2025-03-09 12:07:01] Production.INFO: ==28275== Releasing lock... [2025-03-09 12:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:07:02] Production.INFO: ==28281== Lock acquired, processing the job... [2025-03-09 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:07:02] Production.INFO: ==28281== Releasing lock... [2025-03-09 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:07:02] Production.INFO: ==28279== Lock acquired, processing the job... [2025-03-09 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:07:02] Production.INFO: ==28279== Releasing lock... [2025-03-09 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:07:03] Production.INFO: ==28285== Lock acquired, processing the job... [2025-03-09 08:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:07:03] Production.INFO: ==28289== Lock acquired, processing the job... [2025-03-09 08:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:07:03] Production.INFO: ==28294== Lock acquired, processing the job... [2025-03-09 08:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:07:03] Production.INFO: Account Balance Start. [2025-03-09 08:07:03] Production.INFO: CreateAllLog Start [2025-03-09 08:07:03] Production.INFO: 117 [2025-03-09 08:07:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:07:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:07:03] Production.INFO: count ==13 [2025-03-09 08:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:07:03] Production.INFO: Total Charge 0 [2025-03-09 08:07:03] Production.INFO: count ==21 [2025-03-09 08:07:03] Production.INFO: CreateAllLog End [2025-03-09 08:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640850') start [2025-03-09 08:07:03] Production.INFO: ==28283== Lock acquired, processing the job... [2025-03-09 08:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640850') end [2025-03-09 08:07:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:07:03] Production.INFO: 1 [2025-03-09 08:07:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:07:03] Production.INFO: ==28294== Releasing lock... [2025-03-09 08:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:07:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:07:03] Production.INFO: ==28287== Lock acquired, processing the job... [2025-03-09 08:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:07:03] Production.INFO: ==28285== Releasing lock... [2025-03-09 08:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:07:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:07:03] Production.INFO: ==28291== Lock acquired, processing the job... [2025-03-09 08:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:07:03] Production.INFO: Account Balance End. [2025-03-09 08:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:07:03] Production.ERROR: CronJobId end 12 [2025-03-09 08:07:03] Production.INFO: ==28289== Releasing lock... [2025-03-09 08:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:07:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:07:04] Production.ERROR: done [2025-03-09 08:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:07:04] Production.ERROR: done [2025-03-09 08:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:07:05 [end_date_ymd] => 2025-03-09 08:07:05 [RateCDR] => 1 ) [2025-03-09 08:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:07:05' and `end` < '2025-03-09 08:07:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:07:12] Production.ERROR: CronJobId end10 [2025-03-09 08:07:12] Production.INFO: ==28287== Releasing lock... [2025-03-09 08:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:07:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:07:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:07:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:07:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:07:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:07:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:07:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:07:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:07:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:07:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:07:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:07:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:07:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:07:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:07:14] Production.INFO: call_cost start [2025-03-09 08:07:14] Production.INFO: call_cost end [2025-03-09 08:07:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:07:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:07:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:07:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:07:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:07:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:07:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:07:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:07:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:07:15] Production.INFO: ==28283== Releasing lock... [2025-03-09 08:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:07:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:07:17] Production.INFO: count ==66 [2025-03-09 08:07:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:07:05 - End Time 2025-03-09 08:07:05 [2025-03-09 08:07:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640853', 'tblTempUsageDetail_20' ) start [2025-03-09 08:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640853', 'tblTempUsageDetail_20' ) end [2025-03-09 08:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640853', 'tblTempVendorCDR_20' ) start [2025-03-09 08:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640853', 'tblTempVendorCDR_20' ) end [2025-03-09 08:07:17] Production.INFO: ProcessCDR(1,14640853,1,1,2) [2025-03-09 08:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:07:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640853', 'tblTempUsageDetail_20' ) start [2025-03-09 08:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640853', 'tblTempUsageDetail_20' ) end [2025-03-09 08:07:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:07:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:07:20] Production.INFO: ==28291== Releasing lock... [2025-03-09 08:07:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:07:20] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:08:02] Production.INFO: ==28393== Lock acquired, processing the job... [2025-03-09 12:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:08:02] Production.INFO: neon service started [2025-03-09 12:08:02] Production.INFO: neon service started [2025-03-09 12:08:02] Production.INFO: ==28393== Releasing lock... [2025-03-09 12:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:08:02] Production.INFO: ==28395== Lock acquired, processing the job... [2025-03-09 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:08:02] Production.INFO: ==28395== Releasing lock... [2025-03-09 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:08:02] Production.INFO: ==28397== Lock acquired, processing the job... [2025-03-09 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:08:03] Production.INFO: ==28397== Releasing lock... [2025-03-09 12:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:08:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:08:03] Production.INFO: ==28400== Lock acquired, processing the job... [2025-03-09 08:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:08:03] Production.INFO: ==28404== Lock acquired, processing the job... [2025-03-09 08:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:08:03] Production.INFO: ==28408== Lock acquired, processing the job... [2025-03-09 08:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:08:03] Production.INFO: ==28402== Lock acquired, processing the job... [2025-03-09 08:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:08:03] Production.INFO: ==28406== Lock acquired, processing the job... [2025-03-09 08:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:08:04] Production.INFO: Account Balance Start. [2025-03-09 08:08:04] Production.INFO: CreateAllLog Start [2025-03-09 08:08:04] Production.INFO: 117 [2025-03-09 08:08:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:08:04] Production.INFO: ==28410== Lock acquired, processing the job... [2025-03-09 08:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:08:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:08:04] Production.INFO: Total Charge 0 [2025-03-09 08:08:04] Production.INFO: CreateAllLog End [2025-03-09 08:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:08:04] Production.INFO: count ==13 [2025-03-09 08:08:04] Production.INFO: ==28402== Releasing lock... [2025-03-09 08:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:08:04] Production.ERROR: done [2025-03-09 08:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:08:04] Production.INFO: count ==21 [2025-03-09 08:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640857') start [2025-03-09 08:08:04] Production.INFO: Account Balance End. [2025-03-09 08:08:04] Production.ERROR: done [2025-03-09 08:08:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:08:04] Production.INFO: ==28406== Releasing lock... [2025-03-09 08:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640857') end [2025-03-09 08:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:08:04] Production.INFO: 1 [2025-03-09 08:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:08:04] Production.INFO: ==28410== Releasing lock... [2025-03-09 08:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:08:05 [end_date_ymd] => 2025-03-09 08:08:05 [RateCDR] => 1 ) [2025-03-09 08:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:08:05' and `end` < '2025-03-09 08:08:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:08:12] Production.ERROR: CronJobId end10 [2025-03-09 08:08:12] Production.INFO: ==28404== Releasing lock... [2025-03-09 08:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:08:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:08:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:08:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:08:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:08:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:08:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:08:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:08:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:08:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:08:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:08:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:08:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:08:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:08:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:08:13] Production.INFO: call_cost start [2025-03-09 08:08:13] Production.INFO: call_cost end [2025-03-09 08:08:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:08:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:08:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:08:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:08:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:08:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:08:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:08:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:08:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:08:14] Production.INFO: ==28400== Releasing lock... [2025-03-09 08:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:08:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:08:17] Production.INFO: count ==66 [2025-03-09 08:08:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:08:05 - End Time 2025-03-09 08:08:05 [2025-03-09 08:08:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640858', 'tblTempUsageDetail_20' ) start [2025-03-09 08:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640858', 'tblTempUsageDetail_20' ) end [2025-03-09 08:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640858', 'tblTempVendorCDR_20' ) start [2025-03-09 08:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640858', 'tblTempVendorCDR_20' ) end [2025-03-09 08:08:17] Production.INFO: ProcessCDR(1,14640858,1,1,2) [2025-03-09 08:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:08:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640858', 'tblTempUsageDetail_20' ) start [2025-03-09 08:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640858', 'tblTempUsageDetail_20' ) end [2025-03-09 08:08:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:08:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:08:20] Production.INFO: ==28408== Releasing lock... [2025-03-09 08:08:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:08:20] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:09:01] Production.INFO: ==28505== Lock acquired, processing the job... [2025-03-09 12:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:09:01] Production.INFO: neon service started [2025-03-09 12:09:01] Production.INFO: neon service started [2025-03-09 12:09:01] Production.INFO: ==28505== Releasing lock... [2025-03-09 12:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:09:01] Production.INFO: ==28507== Lock acquired, processing the job... [2025-03-09 08:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:09:02] Production.INFO: ==28507== Releasing lock... [2025-03-09 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:09:02] Production.INFO: ==28509== Lock acquired, processing the job... [2025-03-09 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:09:02] Production.INFO: ==28509== Releasing lock... [2025-03-09 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:09:03] Production.INFO: ==28512== Lock acquired, processing the job... [2025-03-09 08:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:09:03] Production.INFO: ==28516== Lock acquired, processing the job... [2025-03-09 08:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:09:03] Production.INFO: ==28520== Lock acquired, processing the job... [2025-03-09 08:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:09:03] Production.INFO: ==28514== Lock acquired, processing the job... [2025-03-09 08:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:09:03] Production.INFO: ==28518== Lock acquired, processing the job... [2025-03-09 08:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:09:03] Production.INFO: ==28522== Lock acquired, processing the job... [2025-03-09 08:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:09:03] Production.ERROR: done [2025-03-09 08:09:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:09:03] Production.INFO: Account Balance Start. [2025-03-09 08:09:03] Production.INFO: CreateAllLog Start [2025-03-09 08:09:03] Production.INFO: 117 [2025-03-09 08:09:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:09:03] Production.INFO: count ==13 [2025-03-09 08:09:03] Production.ERROR: done [2025-03-09 08:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:09:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:09:03] Production.INFO: count ==21 [2025-03-09 08:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640862') start [2025-03-09 08:09:03] Production.INFO: ==28514== Releasing lock... [2025-03-09 08:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:09:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:09:03] Production.INFO: Total Charge 0 [2025-03-09 08:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640862') end [2025-03-09 08:09:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:09:03] Production.INFO: 1 [2025-03-09 08:09:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:09:03] Production.INFO: CreateAllLog End [2025-03-09 08:09:04] Production.INFO: ==28522== Releasing lock... [2025-03-09 08:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:09:04] Production.INFO: Account Balance End. [2025-03-09 08:09:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:09:04] Production.INFO: ==28518== Releasing lock... [2025-03-09 08:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:09:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:09:04 [end_date_ymd] => 2025-03-09 08:09:04 [RateCDR] => 1 ) [2025-03-09 08:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:09:04' and `end` < '2025-03-09 08:09:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:09:10] Production.ERROR: CronJobId end10 [2025-03-09 08:09:10] Production.INFO: ==28516== Releasing lock... [2025-03-09 08:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:09:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:09:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:09:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:09:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:09:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:09:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:09:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:09:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:09:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:09:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:09:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:09:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:09:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:09:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:09:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:09:13] Production.INFO: call_cost start [2025-03-09 08:09:13] Production.INFO: call_cost end [2025-03-09 08:09:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:09:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:09:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:09:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:09:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:09:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:09:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:09:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:09:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:09:14] Production.INFO: ==28512== Releasing lock... [2025-03-09 08:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:09:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:09:16] Production.INFO: count ==66 [2025-03-09 08:09:16] Production.ERROR: pbx CDR StartTime 2025-03-09 05:09:04 - End Time 2025-03-09 08:09:04 [2025-03-09 08:09:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:09:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640863', 'tblTempUsageDetail_20' ) start [2025-03-09 08:09:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640863', 'tblTempUsageDetail_20' ) end [2025-03-09 08:09:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640863', 'tblTempVendorCDR_20' ) start [2025-03-09 08:09:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640863', 'tblTempVendorCDR_20' ) end [2025-03-09 08:09:16] Production.INFO: ProcessCDR(1,14640863,1,1,2) [2025-03-09 08:09:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:09:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:09:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:09:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:09:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640863', 'tblTempUsageDetail_20' ) start [2025-03-09 08:09:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640863', 'tblTempUsageDetail_20' ) end [2025-03-09 08:09:19] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:09:19] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:09:19] Production.INFO: ==28520== Releasing lock... [2025-03-09 08:09:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:09:19] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:10:02] Production.INFO: ==28654== Lock acquired, processing the job... [2025-03-09 12:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:10:02] Production.INFO: neon service started [2025-03-09 12:10:02] Production.INFO: neon service started [2025-03-09 12:10:02] Production.INFO: ==28654== Releasing lock... [2025-03-09 12:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:10:02] Production.INFO: ==28656== Lock acquired, processing the job... [2025-03-09 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:10:02] Production.INFO: ==28659== Lock acquired, processing the job... [2025-03-09 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:10:02] Production.INFO: ==28659== Releasing lock... [2025-03-09 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:10:02] Production.INFO: ==28656== Releasing lock... [2025-03-09 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:10:03] Production.INFO: ==28661== Lock acquired, processing the job... [2025-03-09 08:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 08:10:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 08:10:03] Production.INFO: ==28667== Lock acquired, processing the job... [2025-03-09 08:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:10:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 08:10:03] Production.INFO: ==28661== Releasing lock... [2025-03-09 08:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 08:10:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 08:10:03] Production.INFO: ==28663== Lock acquired, processing the job... [2025-03-09 08:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:10:03] Production.INFO: ==28671== Lock acquired, processing the job... [2025-03-09 08:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:10:03] Production.INFO: ==28665== Lock acquired, processing the job... [2025-03-09 08:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:10:04] Production.INFO: ==28669== Lock acquired, processing the job... [2025-03-09 08:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:10:04] Production.INFO: ==28675== Lock acquired, processing the job... [2025-03-09 08:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:10:04] Production.INFO: ==28673== Lock acquired, processing the job... [2025-03-09 08:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 08:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:10:04] Production.INFO: Account Balance Start. [2025-03-09 08:10:04] Production.INFO: CreateAllLog Start [2025-03-09 08:10:04] Production.INFO: 117 [2025-03-09 08:10:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:10:04] Production.ERROR: done [2025-03-09 08:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:10:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:10:04] Production.INFO: count ==13 [2025-03-09 08:10:04] Production.INFO: ==28665== Releasing lock... [2025-03-09 08:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:10:04] Production.INFO: count ==21 [2025-03-09 08:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640867') start [2025-03-09 08:10:04] Production.INFO: Total Charge 0 [2025-03-09 08:10:04] Production.INFO: CreateAllLog End [2025-03-09 08:10:04] Production.ERROR: done [2025-03-09 08:10:04] Production.ERROR: done [2025-03-09 08:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640867') end [2025-03-09 08:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:10:04] Production.INFO: 1 [2025-03-09 08:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 08:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640869', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 08:10:04] Production.INFO: ==28675== Releasing lock... [2025-03-09 08:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:10:04] Production.INFO: Account Balance End. [2025-03-09 08:10:05] Production.ERROR: CronJobId end 12 [2025-03-09 08:10:05] Production.INFO: ==28669== Releasing lock... [2025-03-09 08:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:10:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:10:05 [end_date_ymd] => 2025-03-09 08:10:05 [RateCDR] => 1 ) [2025-03-09 08:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:10:05' and `end` < '2025-03-09 08:10:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640869', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 08:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 08:10:09] Production.INFO: ProcessCDR(1,14640869,1,1,2) [2025-03-09 08:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14640869,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14640869,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:10:09] Production.INFO: ==28673== Releasing lock... [2025-03-09 08:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 08:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 08:10:13] Production.ERROR: CronJobId end10 [2025-03-09 08:10:13] Production.INFO: ==28667== Releasing lock... [2025-03-09 08:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:10:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:10:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:10:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:10:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:10:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:10:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:10:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:10:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:10:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:10:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:10:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:10:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:10:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:10:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:10:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:10:16] Production.INFO: call_cost start [2025-03-09 08:10:16] Production.INFO: call_cost end [2025-03-09 08:10:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:10:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:10:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:10:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:10:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:10:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:10:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:10:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:10:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:10:17] Production.INFO: ==28663== Releasing lock... [2025-03-09 08:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:10:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:10:17] Production.INFO: count ==58 [2025-03-09 08:10:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:10:05 - End Time 2025-03-09 08:10:05 [2025-03-09 08:10:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:10:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640868', 'tblTempUsageDetail_20' ) start [2025-03-09 08:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640868', 'tblTempUsageDetail_20' ) end [2025-03-09 08:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640868', 'tblTempVendorCDR_20' ) start [2025-03-09 08:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640868', 'tblTempVendorCDR_20' ) end [2025-03-09 08:10:18] Production.INFO: ProcessCDR(1,14640868,1,1,2) [2025-03-09 08:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640868', 'tblTempUsageDetail_20' ) start [2025-03-09 08:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640868', 'tblTempUsageDetail_20' ) end [2025-03-09 08:10:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:10:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:10:21] Production.INFO: ==28671== Releasing lock... [2025-03-09 08:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:10:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:11:01] Production.INFO: ==28750== Lock acquired, processing the job... [2025-03-09 12:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:11:01] Production.INFO: neon service started [2025-03-09 12:11:01] Production.INFO: neon service started [2025-03-09 12:11:01] Production.INFO: ==28750== Releasing lock... [2025-03-09 12:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:11:01] Production.INFO: ==28752== Lock acquired, processing the job... [2025-03-09 08:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:11:02] Production.INFO: ==28752== Releasing lock... [2025-03-09 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:11:02] Production.INFO: ==28754== Lock acquired, processing the job... [2025-03-09 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:11:02] Production.INFO: ==28754== Releasing lock... [2025-03-09 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:11:02] Production.INFO: ==28758== Lock acquired, processing the job... [2025-03-09 08:11:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:11:03] Production.INFO: ==28756== Lock acquired, processing the job... [2025-03-09 08:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:11:03] Production.INFO: ==28764== Lock acquired, processing the job... [2025-03-09 08:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:11:03] Production.INFO: ==28760== Lock acquired, processing the job... [2025-03-09 08:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:11:03] Production.INFO: ==28762== Lock acquired, processing the job... [2025-03-09 08:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:11:03] Production.INFO: ==28766== Lock acquired, processing the job... [2025-03-09 08:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:11:03] Production.INFO: Account Balance Start. [2025-03-09 08:11:03] Production.INFO: CreateAllLog Start [2025-03-09 08:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:11:03] Production.INFO: 117 [2025-03-09 08:11:03] Production.INFO: count ==13 [2025-03-09 08:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:11:03] Production.INFO: count ==21 [2025-03-09 08:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640873') start [2025-03-09 08:11:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:11:03] Production.ERROR: done [2025-03-09 08:11:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:11:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640873') end [2025-03-09 08:11:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:11:03] Production.INFO: 1 [2025-03-09 08:11:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:11:03] Production.INFO: ==28766== Releasing lock... [2025-03-09 08:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:11:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:11:03] Production.INFO: Total Charge 0 [2025-03-09 08:11:03] Production.INFO: ==28758== Releasing lock... [2025-03-09 08:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:11:03] Production.ERROR: done [2025-03-09 08:11:03] Production.INFO: CreateAllLog End [2025-03-09 08:11:03] Production.INFO: Account Balance End. [2025-03-09 08:11:03] Production.ERROR: CronJobId end 12 [2025-03-09 08:11:03] Production.INFO: ==28762== Releasing lock... [2025-03-09 08:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:11:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:11:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:11:04 [end_date_ymd] => 2025-03-09 08:11:04 [RateCDR] => 1 ) [2025-03-09 08:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:11:04' and `end` < '2025-03-09 08:11:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:11:10] Production.ERROR: CronJobId end10 [2025-03-09 08:11:10] Production.INFO: ==28760== Releasing lock... [2025-03-09 08:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:11:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:11:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:11:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:11:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:11:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:11:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:11:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:11:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:11:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:11:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:11:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:11:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:11:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:11:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:11:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:11:13] Production.INFO: call_cost start [2025-03-09 08:11:13] Production.INFO: call_cost end [2025-03-09 08:11:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:11:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:11:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:11:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:11:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:11:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:11:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:11:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:11:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:11:14] Production.INFO: ==28756== Releasing lock... [2025-03-09 08:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:11:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:11:16] Production.INFO: count ==58 [2025-03-09 08:11:16] Production.ERROR: pbx CDR StartTime 2025-03-09 05:11:04 - End Time 2025-03-09 08:11:04 [2025-03-09 08:11:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:11:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640874', 'tblTempUsageDetail_20' ) start [2025-03-09 08:11:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640874', 'tblTempUsageDetail_20' ) end [2025-03-09 08:11:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640874', 'tblTempVendorCDR_20' ) start [2025-03-09 08:11:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640874', 'tblTempVendorCDR_20' ) end [2025-03-09 08:11:16] Production.INFO: ProcessCDR(1,14640874,1,1,2) [2025-03-09 08:11:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:11:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:11:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:11:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:11:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640874', 'tblTempUsageDetail_20' ) start [2025-03-09 08:11:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640874', 'tblTempUsageDetail_20' ) end [2025-03-09 08:11:19] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:11:19] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:11:19] Production.INFO: ==28764== Releasing lock... [2025-03-09 08:11:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:11:19] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:12:02] Production.INFO: ==28823== Lock acquired, processing the job... [2025-03-09 12:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:12:02] Production.INFO: neon service started [2025-03-09 12:12:02] Production.INFO: neon service started [2025-03-09 12:12:02] Production.INFO: ==28823== Releasing lock... [2025-03-09 12:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:12:02] Production.INFO: ==28825== Lock acquired, processing the job... [2025-03-09 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:12:02] Production.INFO: ==28827== Lock acquired, processing the job... [2025-03-09 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:12:02] Production.INFO: ==28827== Releasing lock... [2025-03-09 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:12:02] Production.INFO: ==28825== Releasing lock... [2025-03-09 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:12:03] Production.INFO: ==28838== Lock acquired, processing the job... [2025-03-09 08:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:12:03] Production.INFO: ==28836== Lock acquired, processing the job... [2025-03-09 08:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:12:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:12:03] Production.INFO: Account Balance Start. [2025-03-09 08:12:03] Production.INFO: CreateAllLog Start [2025-03-09 08:12:03] Production.INFO: 117 [2025-03-09 08:12:03] Production.INFO: ==28830== Lock acquired, processing the job... [2025-03-09 08:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:12:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:12:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:12:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:12:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:12:03] Production.INFO: Total Charge 0 [2025-03-09 08:12:03] Production.INFO: CreateAllLog End [2025-03-09 08:12:03] Production.INFO: ==28832== Lock acquired, processing the job... [2025-03-09 08:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:12:03] Production.INFO: ==28834== Lock acquired, processing the job... [2025-03-09 08:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:12:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:12:04] Production.INFO: Account Balance End. [2025-03-09 08:12:04] Production.INFO: ==28840== Lock acquired, processing the job... [2025-03-09 08:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:12:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:12:04] Production.INFO: ==28836== Releasing lock... [2025-03-09 08:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:12:04] Production.ERROR: done [2025-03-09 08:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:12:04] Production.INFO: count ==13 [2025-03-09 08:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:12:04] Production.INFO: count ==21 [2025-03-09 08:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640878') start [2025-03-09 08:12:04] Production.ERROR: done [2025-03-09 08:12:04] Production.INFO: ==28832== Releasing lock... [2025-03-09 08:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640878') end [2025-03-09 08:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:12:04] Production.INFO: 1 [2025-03-09 08:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:12:04] Production.INFO: ==28840== Releasing lock... [2025-03-09 08:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:12:05 [end_date_ymd] => 2025-03-09 08:12:05 [RateCDR] => 1 ) [2025-03-09 08:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:12:05' and `end` < '2025-03-09 08:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:12:12] Production.ERROR: CronJobId end10 [2025-03-09 08:12:12] Production.INFO: ==28834== Releasing lock... [2025-03-09 08:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:12:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:12:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:12:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:12:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:12:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:12:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:12:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:12:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:12:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:12:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:12:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:12:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:12:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:12:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:12:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:12:14] Production.INFO: call_cost start [2025-03-09 08:12:14] Production.INFO: call_cost end [2025-03-09 08:12:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:12:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:12:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:12:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:12:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:12:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:12:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:12:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:12:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:12:15] Production.INFO: ==28830== Releasing lock... [2025-03-09 08:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:12:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:12:18] Production.INFO: count ==58 [2025-03-09 08:12:18] Production.ERROR: pbx CDR StartTime 2025-03-09 05:12:05 - End Time 2025-03-09 08:12:05 [2025-03-09 08:12:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640879', 'tblTempUsageDetail_20' ) start [2025-03-09 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640879', 'tblTempUsageDetail_20' ) end [2025-03-09 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640879', 'tblTempVendorCDR_20' ) start [2025-03-09 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640879', 'tblTempVendorCDR_20' ) end [2025-03-09 08:12:18] Production.INFO: ProcessCDR(1,14640879,1,1,2) [2025-03-09 08:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640879', 'tblTempUsageDetail_20' ) start [2025-03-09 08:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640879', 'tblTempUsageDetail_20' ) end [2025-03-09 08:12:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:12:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:12:21] Production.INFO: ==28838== Releasing lock... [2025-03-09 08:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:12:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:13:01] Production.INFO: ==28893== Lock acquired, processing the job... [2025-03-09 12:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:13:01] Production.INFO: neon service started [2025-03-09 12:13:01] Production.INFO: neon service started [2025-03-09 12:13:01] Production.INFO: ==28893== Releasing lock... [2025-03-09 12:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:13:01] Production.INFO: ==28895== Lock acquired, processing the job... [2025-03-09 08:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:13:02] Production.INFO: ==28895== Releasing lock... [2025-03-09 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:13:02] Production.INFO: ==28897== Lock acquired, processing the job... [2025-03-09 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:13:02] Production.INFO: ==28897== Releasing lock... [2025-03-09 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:13:02] Production.INFO: ==28899== Lock acquired, processing the job... [2025-03-09 08:13:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:13:02] Production.INFO: ==28901== Lock acquired, processing the job... [2025-03-09 08:13:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:13:02] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:13:02] Production.INFO: ==28903== Lock acquired, processing the job... [2025-03-09 08:13:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:13:02] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:13:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:13:02] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:13:02] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:13:03] Production.INFO: ==28901== Releasing lock... [2025-03-09 08:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:13:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:13:03] Production.INFO: ==28905== Lock acquired, processing the job... [2025-03-09 08:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:13:03] Production.INFO: ==28909== Lock acquired, processing the job... [2025-03-09 08:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:13:03] Production.INFO: Account Balance Start. [2025-03-09 08:13:03] Production.INFO: CreateAllLog Start [2025-03-09 08:13:03] Production.INFO: 117 [2025-03-09 08:13:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:13:03] Production.INFO: ==28907== Lock acquired, processing the job... [2025-03-09 08:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:13:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:13:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:13:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:13:03] Production.INFO: Total Charge 0 [2025-03-09 08:13:03] Production.INFO: CreateAllLog End [2025-03-09 08:13:03] Production.INFO: count ==13 [2025-03-09 08:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:13:03] Production.INFO: count ==21 [2025-03-09 08:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640883') start [2025-03-09 08:13:03] Production.ERROR: done [2025-03-09 08:13:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640883') end [2025-03-09 08:13:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:13:03] Production.INFO: 1 [2025-03-09 08:13:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:13:03] Production.INFO: ==28909== Releasing lock... [2025-03-09 08:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:13:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:13:03] Production.INFO: Account Balance End. [2025-03-09 08:13:03] Production.ERROR: done [2025-03-09 08:13:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:13:04] Production.INFO: ==28905== Releasing lock... [2025-03-09 08:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:13:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:13:04 [end_date_ymd] => 2025-03-09 08:13:04 [RateCDR] => 1 ) [2025-03-09 08:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:13:04' and `end` < '2025-03-09 08:13:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:13:10] Production.ERROR: CronJobId end10 [2025-03-09 08:13:10] Production.INFO: ==28903== Releasing lock... [2025-03-09 08:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:13:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:13:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:13:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:13:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:13:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:13:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:13:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:13:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:13:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:13:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:13:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:13:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:13:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:13:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:13:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:13:13] Production.INFO: call_cost start [2025-03-09 08:13:13] Production.INFO: call_cost end [2025-03-09 08:13:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:13:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:13:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:13:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:13:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:13:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:13:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:13:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:13:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:13:14] Production.INFO: ==28899== Releasing lock... [2025-03-09 08:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:13:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:13:17] Production.INFO: count ==58 [2025-03-09 08:13:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:13:04 - End Time 2025-03-09 08:13:04 [2025-03-09 08:13:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640884', 'tblTempUsageDetail_20' ) start [2025-03-09 08:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640884', 'tblTempUsageDetail_20' ) end [2025-03-09 08:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640884', 'tblTempVendorCDR_20' ) start [2025-03-09 08:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640884', 'tblTempVendorCDR_20' ) end [2025-03-09 08:13:17] Production.INFO: ProcessCDR(1,14640884,1,1,2) [2025-03-09 08:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640884', 'tblTempUsageDetail_20' ) start [2025-03-09 08:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640884', 'tblTempUsageDetail_20' ) end [2025-03-09 08:13:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:13:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:13:20] Production.INFO: ==28907== Releasing lock... [2025-03-09 08:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:13:20] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:14:01] Production.INFO: ==28963== Lock acquired, processing the job... [2025-03-09 12:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:14:01] Production.INFO: neon service started [2025-03-09 12:14:01] Production.INFO: neon service started [2025-03-09 12:14:01] Production.INFO: ==28963== Releasing lock... [2025-03-09 12:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:14:02] Production.INFO: ==28965== Lock acquired, processing the job... [2025-03-09 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:14:02] Production.INFO: ==28967== Lock acquired, processing the job... [2025-03-09 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:14:02] Production.INFO: ==28965== Releasing lock... [2025-03-09 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:14:02] Production.INFO: ==28967== Releasing lock... [2025-03-09 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:14:03] Production.INFO: ==28970== Lock acquired, processing the job... [2025-03-09 08:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:14:03] Production.INFO: ==28972== Lock acquired, processing the job... [2025-03-09 08:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:14:03] Production.INFO: ==28974== Lock acquired, processing the job... [2025-03-09 08:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:14:03] Production.INFO: ==28976== Lock acquired, processing the job... [2025-03-09 08:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:14:03] Production.INFO: ==28978== Lock acquired, processing the job... [2025-03-09 08:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:14:03] Production.INFO: Account Balance Start. [2025-03-09 08:14:03] Production.INFO: CreateAllLog Start [2025-03-09 08:14:03] Production.INFO: 117 [2025-03-09 08:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:14:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:14:03] Production.INFO: ==28980== Lock acquired, processing the job... [2025-03-09 08:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:14:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:14:03] Production.INFO: ==28972== Releasing lock... [2025-03-09 08:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:14:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:14:03] Production.INFO: Total Charge 0 [2025-03-09 08:14:03] Production.INFO: CreateAllLog End [2025-03-09 08:14:04] Production.ERROR: done [2025-03-09 08:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:14:04] Production.INFO: Account Balance End. [2025-03-09 08:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:14:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:14:04] Production.INFO: ==28976== Releasing lock... [2025-03-09 08:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:14:04] Production.INFO: count ==13 [2025-03-09 08:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:14:04] Production.INFO: count ==21 [2025-03-09 08:14:04] Production.ERROR: done [2025-03-09 08:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640888') start [2025-03-09 08:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640888') end [2025-03-09 08:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:14:04] Production.INFO: 1 [2025-03-09 08:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:14:04] Production.INFO: ==28980== Releasing lock... [2025-03-09 08:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:14:05 [end_date_ymd] => 2025-03-09 08:14:05 [RateCDR] => 1 ) [2025-03-09 08:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:14:05' and `end` < '2025-03-09 08:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:14:11] Production.ERROR: CronJobId end10 [2025-03-09 08:14:11] Production.INFO: ==28974== Releasing lock... [2025-03-09 08:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:14:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:14:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:14:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:14:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:14:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:14:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:14:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:14:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:14:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:14:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:14:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:14:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:14:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:14:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:14:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:14:13] Production.INFO: call_cost start [2025-03-09 08:14:13] Production.INFO: call_cost end [2025-03-09 08:14:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:14:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:14:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:14:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:14:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:14:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:14:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:14:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:14:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:14:14] Production.INFO: ==28970== Releasing lock... [2025-03-09 08:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:14:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:14:17] Production.INFO: count ==58 [2025-03-09 08:14:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:14:05 - End Time 2025-03-09 08:14:05 [2025-03-09 08:14:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640889', 'tblTempUsageDetail_20' ) start [2025-03-09 08:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640889', 'tblTempUsageDetail_20' ) end [2025-03-09 08:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640889', 'tblTempVendorCDR_20' ) start [2025-03-09 08:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640889', 'tblTempVendorCDR_20' ) end [2025-03-09 08:14:17] Production.INFO: ProcessCDR(1,14640889,1,1,2) [2025-03-09 08:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:14:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640889', 'tblTempUsageDetail_20' ) start [2025-03-09 08:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640889', 'tblTempUsageDetail_20' ) end [2025-03-09 08:14:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:14:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:14:20] Production.INFO: ==28978== Releasing lock... [2025-03-09 08:14:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:14:20] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:15:02] Production.INFO: ==29044== Lock acquired, processing the job... [2025-03-09 12:15:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:15:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:15:02] Production.INFO: neon service started [2025-03-09 12:15:02] Production.INFO: neon service started [2025-03-09 12:15:02] Production.INFO: ==29044== Releasing lock... [2025-03-09 12:15:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:15:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:15:02] Production.INFO: ==29050== Lock acquired, processing the job... [2025-03-09 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:15:02] Production.INFO: ==29050== Releasing lock... [2025-03-09 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:15:02] Production.INFO: ==29048== Lock acquired, processing the job... [2025-03-09 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:15:03] Production.INFO: ==29048== Releasing lock... [2025-03-09 08:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:15:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:15:03] Production.INFO: ==29053== Lock acquired, processing the job... [2025-03-09 08:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:15:03] Production.INFO: ==29063== Lock acquired, processing the job... [2025-03-09 08:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:15:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:15:04] Production.INFO: ==29057== Lock acquired, processing the job... [2025-03-09 08:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:15:04] Production.INFO: ==29055== Lock acquired, processing the job... [2025-03-09 08:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 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-09 08:15:04] Production.INFO: count ==13 [2025-03-09 08:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 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-09 08:15:04] Production.INFO: count ==21 [2025-03-09 08:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:15:04] Production.INFO: ==29059== Lock acquired, processing the job... [2025-03-09 08:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640891') start [2025-03-09 08:15:04] Production.INFO: ==29061== Lock acquired, processing the job... [2025-03-09 08:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:15:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640891') end [2025-03-09 08:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:15:04] Production.INFO: 1 [2025-03-09 08:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:15:04] Production.INFO: Account Balance Start. [2025-03-09 08:15:04] Production.INFO: CreateAllLog Start [2025-03-09 08:15:04] Production.INFO: 117 [2025-03-09 08:15:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:15:04] Production.INFO: ==29063== Releasing lock... [2025-03-09 08:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:15:04] Production.INFO: ==29055== Releasing lock... [2025-03-09 08:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:15:04] Production.ERROR: done [2025-03-09 08:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:15:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:15:04] Production.INFO: Total Charge 0 [2025-03-09 08:15:04] Production.INFO: CreateAllLog End [2025-03-09 08:15:04] Production.ERROR: done [2025-03-09 08:15:05] Production.INFO: Account Balance End. [2025-03-09 08:15:05] Production.ERROR: CronJobId end 12 [2025-03-09 08:15:05] Production.INFO: ==29059== Releasing lock... [2025-03-09 08:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:15:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:15:05 [end_date_ymd] => 2025-03-09 08:15:05 [RateCDR] => 1 ) [2025-03-09 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-09 05:15:05' and `end` < '2025-03-09 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-09 08:15:12] Production.ERROR: CronJobId end10 [2025-03-09 08:15:12] Production.INFO: ==29057== Releasing lock... [2025-03-09 08:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:15:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:15:15] Production.INFO: call_cost start [2025-03-09 08:15:15] Production.INFO: call_cost end [2025-03-09 08:15:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:15:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:15:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:15:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:15:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:15:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:15:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:15:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:15:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:15:16] Production.INFO: ==29053== Releasing lock... [2025-03-09 08:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:15:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:15:17] Production.INFO: count ==58 [2025-03-09 08:15:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:15:05 - End Time 2025-03-09 08:15:05 [2025-03-09 08:15:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640894', 'tblTempUsageDetail_20' ) start [2025-03-09 08:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640894', 'tblTempUsageDetail_20' ) end [2025-03-09 08:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640894', 'tblTempVendorCDR_20' ) start [2025-03-09 08:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640894', 'tblTempVendorCDR_20' ) end [2025-03-09 08:15:17] Production.INFO: ProcessCDR(1,14640894,1,1,2) [2025-03-09 08:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640894', 'tblTempUsageDetail_20' ) start [2025-03-09 08:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640894', 'tblTempUsageDetail_20' ) end [2025-03-09 08:15:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:15:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:15:21] Production.INFO: ==29061== Releasing lock... [2025-03-09 08:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:15:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:16:01] Production.INFO: ==29146== Lock acquired, processing the job... [2025-03-09 12:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:16:01] Production.INFO: neon service started [2025-03-09 12:16:01] Production.INFO: neon service started [2025-03-09 12:16:01] Production.INFO: ==29146== Releasing lock... [2025-03-09 12:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:16:02] Production.INFO: ==29148== Lock acquired, processing the job... [2025-03-09 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:16:02] Production.INFO: ==29148== Releasing lock... [2025-03-09 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:16:02] Production.INFO: ==29150== Lock acquired, processing the job... [2025-03-09 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:16:02] Production.INFO: ==29150== Releasing lock... [2025-03-09 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:16:03] Production.INFO: ==29161== Lock acquired, processing the job... [2025-03-09 08:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:16:03] Production.ERROR: done [2025-03-09 08:16:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:16:03] Production.ERROR: done [2025-03-09 08:16:03] Production.INFO: ==29154== Lock acquired, processing the job... [2025-03-09 08:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:16:03] Production.INFO: ==29152== Lock acquired, processing the job... [2025-03-09 08:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:16:03] Production.INFO: ==29156== Lock acquired, processing the job... [2025-03-09 08:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:16:03] Production.INFO: ==29159== Lock acquired, processing the job... [2025-03-09 08:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:16:03] Production.INFO: Account Balance Start. [2025-03-09 08:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:16:03] Production.INFO: CreateAllLog Start [2025-03-09 08:16:03] Production.INFO: 117 [2025-03-09 08:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:16:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:16:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:16:03] Production.INFO: ==29163== Lock acquired, processing the job... [2025-03-09 08:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:16:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:16:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:16:03] Production.INFO: Total Charge 0 [2025-03-09 08:16:03] Production.INFO: CreateAllLog End [2025-03-09 08:16:03] Production.INFO: ==29154== Releasing lock... [2025-03-09 08:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:16:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 08:16:04] Production.INFO: Account Balance End. [2025-03-09 08:16:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:16:04] Production.INFO: ==29159== Releasing lock... [2025-03-09 08:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:16:04] Production.INFO: count ==13 [2025-03-09 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-09 08:16:04] Production.INFO: count ==21 [2025-03-09 08:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640899') start [2025-03-09 08:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640899') end [2025-03-09 08:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:16:04] Production.INFO: 1 [2025-03-09 08:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:16:04] Production.INFO: ==29163== Releasing lock... [2025-03-09 08:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:16:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:16:04 [end_date_ymd] => 2025-03-09 08:16:04 [RateCDR] => 1 ) [2025-03-09 08:16:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:16:04' and `end` < '2025-03-09 08:16:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:16:11] Production.ERROR: CronJobId end10 [2025-03-09 08:16:11] Production.INFO: ==29156== Releasing lock... [2025-03-09 08:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:16:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:16:14] Production.INFO: call_cost start [2025-03-09 08:16:14] Production.INFO: call_cost end [2025-03-09 08:16:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:16:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:16:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:16:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:16:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:16:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:16:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:16:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:16:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:16:15] Production.INFO: ==29152== Releasing lock... [2025-03-09 08:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:16:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:16:16] Production.INFO: count ==58 [2025-03-09 08:16:16] Production.ERROR: pbx CDR StartTime 2025-03-09 05:16:04 - End Time 2025-03-09 08:16:04 [2025-03-09 08:16:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:16:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640895', 'tblTempUsageDetail_20' ) start [2025-03-09 08:16:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640895', 'tblTempUsageDetail_20' ) end [2025-03-09 08:16:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640895', 'tblTempVendorCDR_20' ) start [2025-03-09 08:16:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640895', 'tblTempVendorCDR_20' ) end [2025-03-09 08:16:16] Production.INFO: ProcessCDR(1,14640895,1,1,2) [2025-03-09 08:16:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:16:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:16:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:16:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:16:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640895', 'tblTempUsageDetail_20' ) start [2025-03-09 08:16:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640895', 'tblTempUsageDetail_20' ) end [2025-03-09 08:16:19] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:16:19] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:16:19] Production.INFO: ==29161== Releasing lock... [2025-03-09 08:16:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:16:19] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:17:02] Production.INFO: ==29248== Lock acquired, processing the job... [2025-03-09 12:17:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:17:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:17:02] Production.INFO: neon service started [2025-03-09 12:17:02] Production.INFO: neon service started [2025-03-09 12:17:02] Production.INFO: ==29248== Releasing lock... [2025-03-09 12:17:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:17:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:17:02] Production.INFO: ==29250== Lock acquired, processing the job... [2025-03-09 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:17:02] Production.INFO: ==29252== Lock acquired, processing the job... [2025-03-09 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:17:02] Production.INFO: ==29252== Releasing lock... [2025-03-09 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:17:03] Production.INFO: ==29250== Releasing lock... [2025-03-09 08:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:17:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:17:03] Production.INFO: ==29257== Lock acquired, processing the job... [2025-03-09 08:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:17:04] Production.INFO: ==29261== Lock acquired, processing the job... [2025-03-09 08:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:17:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:17:04] Production.INFO: ==29267== Lock acquired, processing the job... [2025-03-09 08:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:17:04] Production.INFO: ==29259== Lock acquired, processing the job... [2025-03-09 08:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:17:04] Production.INFO: count ==13 [2025-03-09 08:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:17:04] Production.INFO: count ==21 [2025-03-09 08:17:04] Production.INFO: ==29263== Lock acquired, processing the job... [2025-03-09 08:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640901') start [2025-03-09 08:17:04] Production.INFO: ==29265== Lock acquired, processing the job... [2025-03-09 08:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:17:04] Production.INFO: Account Balance Start. [2025-03-09 08:17:04] Production.INFO: CreateAllLog Start [2025-03-09 08:17:04] Production.INFO: 117 [2025-03-09 08:17:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:17:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640901') end [2025-03-09 08:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:17:04] Production.INFO: 1 [2025-03-09 08:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:17:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:17:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:17:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:17:04] Production.INFO: Total Charge 0 [2025-03-09 08:17:04] Production.INFO: CreateAllLog End [2025-03-09 08:17:04] Production.INFO: ==29267== Releasing lock... [2025-03-09 08:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:17:04] Production.INFO: ==29259== Releasing lock... [2025-03-09 08:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:17:04] Production.INFO: Account Balance End. [2025-03-09 08:17:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:17:04] Production.INFO: ==29263== Releasing lock... [2025-03-09 08:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:17:05] Production.ERROR: done [2025-03-09 08:17:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:17:05] Production.ERROR: done [2025-03-09 08:17:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:17:06 [end_date_ymd] => 2025-03-09 08:17:06 [RateCDR] => 1 ) [2025-03-09 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-09 05:17:06' and `end` < '2025-03-09 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-09 08:17:12] Production.ERROR: CronJobId end10 [2025-03-09 08:17:12] Production.INFO: ==29261== Releasing lock... [2025-03-09 08:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:17:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:17:14] Production.INFO: call_cost start [2025-03-09 08:17:14] Production.INFO: call_cost end [2025-03-09 08:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:17:15] Production.INFO: ==29257== Releasing lock... [2025-03-09 08:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:17:18] Production.INFO: count ==58 [2025-03-09 08:17:18] Production.ERROR: pbx CDR StartTime 2025-03-09 05:17:06 - End Time 2025-03-09 08:17:06 [2025-03-09 08:17:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640904', 'tblTempUsageDetail_20' ) start [2025-03-09 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640904', 'tblTempUsageDetail_20' ) end [2025-03-09 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640904', 'tblTempVendorCDR_20' ) start [2025-03-09 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640904', 'tblTempVendorCDR_20' ) end [2025-03-09 08:17:18] Production.INFO: ProcessCDR(1,14640904,1,1,2) [2025-03-09 08:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640904', 'tblTempUsageDetail_20' ) start [2025-03-09 08:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640904', 'tblTempUsageDetail_20' ) end [2025-03-09 08:17:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:17:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:17:21] Production.INFO: ==29265== Releasing lock... [2025-03-09 08:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:17:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:18:01] Production.INFO: ==29350== Lock acquired, processing the job... [2025-03-09 12:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:18:01] Production.INFO: neon service started [2025-03-09 12:18:01] Production.INFO: neon service started [2025-03-09 12:18:01] Production.INFO: ==29350== Releasing lock... [2025-03-09 12:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:18:01] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 08:18:01] Production.INFO: ==29352== Lock acquired, processing the job... [2025-03-09 08:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:18:02] Production.INFO: ==29354== Lock acquired, processing the job... [2025-03-09 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:18:02] Production.INFO: ==29352== Releasing lock... [2025-03-09 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:18:02] Production.INFO: ==29354== Releasing lock... [2025-03-09 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:18:03] Production.INFO: ==29362== Lock acquired, processing the job... [2025-03-09 08:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:18:03] Production.INFO: ==29356== Lock acquired, processing the job... [2025-03-09 08:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:18:03] Production.INFO: ==29366== Lock acquired, processing the job... [2025-03-09 08:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:18:03] Production.INFO: Account Balance Start. [2025-03-09 08:18:03] Production.INFO: CreateAllLog Start [2025-03-09 08:18:03] Production.INFO: 117 [2025-03-09 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-09 08:18:03] Production.INFO: ==29358== Lock acquired, processing the job... [2025-03-09 08:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:18:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:18:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:18:03] Production.INFO: ==29360== Lock acquired, processing the job... [2025-03-09 08:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:18:03] Production.INFO: count ==13 [2025-03-09 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-09 08:18:03] Production.INFO: count ==21 [2025-03-09 08:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640907') start [2025-03-09 08:18:03] Production.INFO: ==29364== Lock acquired, processing the job... [2025-03-09 08:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:18:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:18:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:18:03] Production.INFO: Total Charge 0 [2025-03-09 08:18:03] Production.INFO: CreateAllLog End [2025-03-09 08:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640907') end [2025-03-09 08:18:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:18:03] Production.INFO: 1 [2025-03-09 08:18:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:18:03] Production.INFO: ==29366== Releasing lock... [2025-03-09 08:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:18:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:18:03] Production.INFO: ==29358== Releasing lock... [2025-03-09 08:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:18:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:18:04] Production.INFO: Account Balance End. [2025-03-09 08:18:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:18:04] Production.INFO: ==29362== Releasing lock... [2025-03-09 08:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:18:04] Production.ERROR: done [2025-03-09 08:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:18:04] Production.ERROR: done [2025-03-09 08:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:18:05 [end_date_ymd] => 2025-03-09 08:18:05 [RateCDR] => 1 ) [2025-03-09 08:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:18:05' and `end` < '2025-03-09 08:18:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:18:12] Production.ERROR: CronJobId end10 [2025-03-09 08:18:12] Production.INFO: ==29360== Releasing lock... [2025-03-09 08:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:18:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:18:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:18:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:18:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:18:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:18:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:18:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:18:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:18:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:18:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:18:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:18:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:18:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:18:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:18:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:18:14] Production.INFO: call_cost start [2025-03-09 08:18:14] Production.INFO: call_cost end [2025-03-09 08:18:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:18:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:18:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:18:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:18:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:18:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:18:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:18:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:18:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:18:15] Production.INFO: ==29356== Releasing lock... [2025-03-09 08:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:18:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:18:17] Production.INFO: count ==57 [2025-03-09 08:18:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:18:05 - End Time 2025-03-09 08:18:05 [2025-03-09 08:18:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640909', 'tblTempUsageDetail_20' ) start [2025-03-09 08:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640909', 'tblTempUsageDetail_20' ) end [2025-03-09 08:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640909', 'tblTempVendorCDR_20' ) start [2025-03-09 08:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640909', 'tblTempVendorCDR_20' ) end [2025-03-09 08:18:17] Production.INFO: ProcessCDR(1,14640909,1,1,2) [2025-03-09 08:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640909', 'tblTempUsageDetail_20' ) start [2025-03-09 08:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640909', 'tblTempUsageDetail_20' ) end [2025-03-09 08:18:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:18:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:18:20] Production.INFO: ==29364== Releasing lock... [2025-03-09 08:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:18:20] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:19:02] Production.INFO: ==29456== Lock acquired, processing the job... [2025-03-09 12:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:19:02] Production.INFO: neon service started [2025-03-09 12:19:02] Production.INFO: neon service started [2025-03-09 12:19:02] Production.INFO: ==29456== Releasing lock... [2025-03-09 12:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:19:02] Production.INFO: ==29458== Lock acquired, processing the job... [2025-03-09 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:19:02] Production.INFO: ==29460== Lock acquired, processing the job... [2025-03-09 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:19:02] Production.INFO: ==29460== Releasing lock... [2025-03-09 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:19:03] Production.INFO: ==29458== Releasing lock... [2025-03-09 08:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:19:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:19:04] Production.INFO: ==29471== Lock acquired, processing the job... [2025-03-09 08:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:19:04] Production.INFO: ==29473== Lock acquired, processing the job... [2025-03-09 08:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:19:04] Production.INFO: ==29465== Lock acquired, processing the job... [2025-03-09 08:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:19:04] Production.INFO: Account Balance Start. [2025-03-09 08:19:04] Production.INFO: CreateAllLog Start [2025-03-09 08:19:04] Production.INFO: 117 [2025-03-09 08:19:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:19:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:19:04] Production.INFO: ==29467== Lock acquired, processing the job... [2025-03-09 08:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:19:04] Production.INFO: ==29469== Lock acquired, processing the job... [2025-03-09 08:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:19:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:19:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:19:04] Production.INFO: Total Charge 0 [2025-03-09 08:19:04] Production.INFO: CreateAllLog End [2025-03-09 08:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:19:04] Production.INFO: ==29475== Lock acquired, processing the job... [2025-03-09 08:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:19:04] Production.ERROR: done [2025-03-09 08:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:19:04] Production.INFO: Account Balance End. [2025-03-09 08:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:19:04] Production.INFO: count ==13 [2025-03-09 08:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:19:04] Production.INFO: count ==21 [2025-03-09 08:19:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:19:04] Production.INFO: ==29471== Releasing lock... [2025-03-09 08:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640913') start [2025-03-09 08:19:04] Production.ERROR: done [2025-03-09 08:19:04] Production.INFO: ==29467== Releasing lock... [2025-03-09 08:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640913') end [2025-03-09 08:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:19:04] Production.INFO: 1 [2025-03-09 08:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:19:04] Production.INFO: ==29475== Releasing lock... [2025-03-09 08:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:19:05 [end_date_ymd] => 2025-03-09 08:19:05 [RateCDR] => 1 ) [2025-03-09 08:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:19:05' and `end` < '2025-03-09 08:19:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:19:11] Production.ERROR: CronJobId end10 [2025-03-09 08:19:11] Production.INFO: ==29469== Releasing lock... [2025-03-09 08:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:19:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:19:14] Production.INFO: call_cost start [2025-03-09 08:19:14] Production.INFO: call_cost end [2025-03-09 08:19:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:19:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:19:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:19:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:19:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:19:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:19:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:19:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:19:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:19:15] Production.INFO: ==29465== Releasing lock... [2025-03-09 08:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:19:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:19:17] Production.INFO: count ==57 [2025-03-09 08:19:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:19:05 - End Time 2025-03-09 08:19:05 [2025-03-09 08:19:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640914', 'tblTempUsageDetail_20' ) start [2025-03-09 08:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640914', 'tblTempUsageDetail_20' ) end [2025-03-09 08:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640914', 'tblTempVendorCDR_20' ) start [2025-03-09 08:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640914', 'tblTempVendorCDR_20' ) end [2025-03-09 08:19:17] Production.INFO: ProcessCDR(1,14640914,1,1,2) [2025-03-09 08:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:19:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640914', 'tblTempUsageDetail_20' ) start [2025-03-09 08:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640914', 'tblTempUsageDetail_20' ) end [2025-03-09 08:19:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:19:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:19:21] Production.INFO: ==29473== Releasing lock... [2025-03-09 08:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:19:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:20:01] Production.INFO: ==29557== Lock acquired, processing the job... [2025-03-09 12:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:20:01] Production.INFO: neon service started [2025-03-09 12:20:01] Production.INFO: neon service started [2025-03-09 12:20:01] Production.INFO: ==29557== Releasing lock... [2025-03-09 12:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:20:02] Production.INFO: ==29559== Lock acquired, processing the job... [2025-03-09 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:20:02] Production.INFO: ==29561== Lock acquired, processing the job... [2025-03-09 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:20:02] Production.INFO: ==29561== Releasing lock... [2025-03-09 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:20:02] Production.INFO: ==29559== Releasing lock... [2025-03-09 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:20:03] Production.INFO: ==29574== Lock acquired, processing the job... [2025-03-09 08:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:20:03] Production.INFO: ==29572== Lock acquired, processing the job... [2025-03-09 08:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:20:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:20:03] Production.INFO: ==29576== Lock acquired, processing the job... [2025-03-09 08:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 08:20:04] Production.ERROR: done [2025-03-09 08:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:20:04] Production.INFO: Account Balance Start. [2025-03-09 08:20:04] Production.INFO: CreateAllLog Start [2025-03-09 08:20:04] Production.INFO: 117 [2025-03-09 08:20:04] Production.INFO: ==29564== Lock acquired, processing the job... [2025-03-09 08:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 08:20:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:20:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:20:04] Production.INFO: ==29568== Lock acquired, processing the job... [2025-03-09 08:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:20:04] Production.ERROR: done [2025-03-09 08:20:04] Production.INFO: ==29570== Lock acquired, processing the job... [2025-03-09 08:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:20:04] Production.INFO: ==29566== Lock acquired, processing the job... [2025-03-09 08:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:20:04] Production.INFO: ==29578== Lock acquired, processing the job... [2025-03-09 08:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 08:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 08:20:04] Production.ERROR: CronJob PID - 29568 [2025-03-09 08:20:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 08:20:04] Production.ERROR: CronJob ID - 7 [2025-03-09 08:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 08:20:00 [2025-03-09 08:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 08:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 08:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 08:20:04] Production.ERROR: CronJob PID - 29572 [2025-03-09 08:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 08:20:04] Production.ERROR: CronJob ID - 12 [2025-03-09 08:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 08:20:00 [2025-03-09 08:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 08:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 08:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 08:20:04] Production.ERROR: CronJob PID - 29574 [2025-03-09 08:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 08:20:04] Production.ERROR: CronJob ID - 16 [2025-03-09 08:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 08:20:00 [2025-03-09 08:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 08:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 08:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 08:20:04] Production.ERROR: CronJob PID - 29576 [2025-03-09 08:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-09 08:20:04] Production.ERROR: CronJob ID - 17 [2025-03-09 08:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 08:20:00 [2025-03-09 08:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 08:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 08:20:04] Production.INFO: Total Charge 0 [2025-03-09 08:20:04] Production.INFO: CreateAllLog End [2025-03-09 08:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 08:20:04] Production.INFO: ==29564== Releasing lock... [2025-03-09 08:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 08:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 08:20:04] Production.ERROR: done [2025-03-09 08:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 08:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640920', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 08:20:04] Production.INFO: count ==13 [2025-03-09 08:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:20:04] Production.INFO: ==29568== Releasing lock... [2025-03-09 08:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:20:04] Production.INFO: count ==21 [2025-03-09 08:20:04] Production.INFO: Account Balance End. [2025-03-09 08:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640918') start [2025-03-09 08:20:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:20:04] Production.INFO: ==29572== Releasing lock... [2025-03-09 08:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:20:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14640918') end [2025-03-09 08:20:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:20:05] Production.INFO: 1 [2025-03-09 08:20:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:20:05] Production.INFO: ==29578== Releasing lock... [2025-03-09 08:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:20:06 [end_date_ymd] => 2025-03-09 08:20:06 [RateCDR] => 1 ) [2025-03-09 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-09 05:20:06' and `end` < '2025-03-09 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-09 08:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640920', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 08:20:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 08:20:10] Production.INFO: ProcessCDR(1,14640920,1,1,2) [2025-03-09 08:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14640920,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14640920,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:20:10] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:20:10] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:20:10] Production.INFO: ==29576== Releasing lock... [2025-03-09 08:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 08:20:10] Production.INFO: 26 MB #Memory Used# [2025-03-09 08:20:15] Production.ERROR: CronJobId end10 [2025-03-09 08:20:15] Production.INFO: ==29570== Releasing lock... [2025-03-09 08:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:20:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:20:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:20:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:20:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:20:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:20:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:20:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:20:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:20:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:20:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:20:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:20:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:20:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:20:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:20:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:20:16] Production.INFO: call_cost start [2025-03-09 08:20:16] Production.INFO: call_cost end [2025-03-09 08:20:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:20:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:20:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:20:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:20:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:20:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:20:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:20:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:20:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:20:17] Production.INFO: ==29566== Releasing lock... [2025-03-09 08:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:20:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:20:18] Production.INFO: count ==57 [2025-03-09 08:20:18] Production.ERROR: pbx CDR StartTime 2025-03-09 05:20:06 - End Time 2025-03-09 08:20:06 [2025-03-09 08:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640916', 'tblTempUsageDetail_20' ) start [2025-03-09 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640916', 'tblTempUsageDetail_20' ) end [2025-03-09 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640916', 'tblTempVendorCDR_20' ) start [2025-03-09 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640916', 'tblTempVendorCDR_20' ) end [2025-03-09 08:20:18] Production.INFO: ProcessCDR(1,14640916,1,1,2) [2025-03-09 08:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640916', 'tblTempUsageDetail_20' ) start [2025-03-09 08:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640916', 'tblTempUsageDetail_20' ) end [2025-03-09 08:20:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:20:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:20:21] Production.INFO: ==29574== Releasing lock... [2025-03-09 08:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:20:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:21:02] Production.INFO: ==29664== Lock acquired, processing the job... [2025-03-09 12:21:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:21:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:21:02] Production.INFO: neon service started [2025-03-09 12:21:02] Production.INFO: neon service started [2025-03-09 12:21:02] Production.INFO: ==29664== Releasing lock... [2025-03-09 12:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:21:02] Production.INFO: ==29666== Lock acquired, processing the job... [2025-03-09 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:21:02] Production.INFO: ==29668== Lock acquired, processing the job... [2025-03-09 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:21:02] Production.INFO: ==29668== Releasing lock... [2025-03-09 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:21:03] Production.INFO: ==29666== Releasing lock... [2025-03-09 08:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:21:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:21:03] Production.INFO: ==29673== Lock acquired, processing the job... [2025-03-09 08:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:21:03] Production.INFO: ==29679== Lock acquired, processing the job... [2025-03-09 08:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:21:04] Production.INFO: ==29671== Lock acquired, processing the job... [2025-03-09 08:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:21:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:21:04] Production.INFO: ==29677== Lock acquired, processing the job... [2025-03-09 08:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:21:04] Production.INFO: ==29673== Releasing lock... [2025-03-09 08:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:21:04] Production.INFO: ==29675== Lock acquired, processing the job... [2025-03-09 08:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:21:04] Production.INFO: ==29681== Lock acquired, processing the job... [2025-03-09 08:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:21:04] Production.INFO: Account Balance Start. [2025-03-09 08:21:04] Production.INFO: CreateAllLog Start [2025-03-09 08:21:04] Production.INFO: 117 [2025-03-09 08:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:21:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 08:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:21:04] Production.INFO: count ==13 [2025-03-09 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-09 08:21:04] Production.INFO: count ==21 [2025-03-09 08:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640924') start [2025-03-09 08:21:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:21:04] Production.ERROR: done [2025-03-09 08:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640924') end [2025-03-09 08:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:21:04] Production.INFO: 1 [2025-03-09 08:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:21:04] Production.INFO: Total Charge 0 [2025-03-09 08:21:04] Production.INFO: CreateAllLog End [2025-03-09 08:21:04] Production.INFO: ==29681== Releasing lock... [2025-03-09 08:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:21:04] Production.ERROR: done [2025-03-09 08:21:04] Production.INFO: Account Balance End. [2025-03-09 08:21:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:21:04] Production.INFO: ==29677== Releasing lock... [2025-03-09 08:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:21:05 [end_date_ymd] => 2025-03-09 08:21:05 [RateCDR] => 1 ) [2025-03-09 08:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:21:05' and `end` < '2025-03-09 08:21:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:21:12] Production.ERROR: CronJobId end10 [2025-03-09 08:21:12] Production.INFO: ==29675== Releasing lock... [2025-03-09 08:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:21:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:21:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:21:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:21:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:21:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:21:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:21:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:21:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:21:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:21:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:21:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:21:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:21:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:21:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:21:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:21:13] Production.INFO: call_cost start [2025-03-09 08:21:13] Production.INFO: call_cost end [2025-03-09 08:21:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:21:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:21:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:21:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:21:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:21:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:21:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:21:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:21:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:21:14] Production.INFO: ==29671== Releasing lock... [2025-03-09 08:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:21:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:21:17] Production.INFO: count ==57 [2025-03-09 08:21:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:21:05 - End Time 2025-03-09 08:21:05 [2025-03-09 08:21:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640925', 'tblTempUsageDetail_20' ) start [2025-03-09 08:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640925', 'tblTempUsageDetail_20' ) end [2025-03-09 08:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640925', 'tblTempVendorCDR_20' ) start [2025-03-09 08:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640925', 'tblTempVendorCDR_20' ) end [2025-03-09 08:21:17] Production.INFO: ProcessCDR(1,14640925,1,1,2) [2025-03-09 08:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640925', 'tblTempUsageDetail_20' ) start [2025-03-09 08:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640925', 'tblTempUsageDetail_20' ) end [2025-03-09 08:21:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:21:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:21:21] Production.INFO: ==29679== Releasing lock... [2025-03-09 08:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:21:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:22:01] Production.INFO: ==29765== Lock acquired, processing the job... [2025-03-09 12:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:22:01] Production.INFO: neon service started [2025-03-09 12:22:01] Production.INFO: neon service started [2025-03-09 12:22:01] Production.INFO: ==29765== Releasing lock... [2025-03-09 12:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:22:02] Production.INFO: ==29771== Lock acquired, processing the job... [2025-03-09 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:22:02] Production.INFO: ==29769== Lock acquired, processing the job... [2025-03-09 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:22:02] Production.INFO: ==29771== Releasing lock... [2025-03-09 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:22:02] Production.INFO: ==29769== Releasing lock... [2025-03-09 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:22:03] Production.INFO: ==29776== Lock acquired, processing the job... [2025-03-09 08:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:22:03] Production.INFO: ==29780== Lock acquired, processing the job... [2025-03-09 08:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:22:03] Production.INFO: Account Balance Start. [2025-03-09 08:22:03] Production.INFO: CreateAllLog Start [2025-03-09 08:22:03] Production.INFO: 117 [2025-03-09 08:22:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:22:03] Production.INFO: ==29774== Lock acquired, processing the job... [2025-03-09 08:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:22:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:22:03] Production.INFO: ==29778== Lock acquired, processing the job... [2025-03-09 08:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:22:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:22:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:22:03] Production.INFO: ==29782== Lock acquired, processing the job... [2025-03-09 08:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:22:03] Production.INFO: ==29776== Releasing lock... [2025-03-09 08:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:22:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:22:03] Production.INFO: Total Charge 0 [2025-03-09 08:22:03] Production.INFO: ==29784== Lock acquired, processing the job... [2025-03-09 08:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:22:03] Production.INFO: CreateAllLog End [2025-03-09 08:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 08:22:04] Production.INFO: count ==13 [2025-03-09 08:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:22:04] Production.INFO: count ==21 [2025-03-09 08:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640929') start [2025-03-09 08:22:04] Production.INFO: Account Balance End. [2025-03-09 08:22:04] Production.ERROR: done [2025-03-09 08:22:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:22:04] Production.INFO: ==29780== Releasing lock... [2025-03-09 08:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640929') end [2025-03-09 08:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:22:04] Production.INFO: 1 [2025-03-09 08:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:22:04] Production.INFO: ==29784== Releasing lock... [2025-03-09 08:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:22:04] Production.ERROR: done [2025-03-09 08:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:22:05 [end_date_ymd] => 2025-03-09 08:22:05 [RateCDR] => 1 ) [2025-03-09 08:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:22:05' and `end` < '2025-03-09 08:22:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:22:11] Production.ERROR: CronJobId end10 [2025-03-09 08:22:11] Production.INFO: ==29778== Releasing lock... [2025-03-09 08:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:22:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:22:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:22:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:22:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:22:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:22:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:22:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:22:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:22:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:22:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:22:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:22:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:22:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:22:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:22:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:22:13] Production.INFO: call_cost start [2025-03-09 08:22:13] Production.INFO: call_cost end [2025-03-09 08:22:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:22:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:22:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:22:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:22:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:22:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:22:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:22:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:22:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:22:14] Production.INFO: ==29774== Releasing lock... [2025-03-09 08:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:22:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:22:17] Production.INFO: count ==57 [2025-03-09 08:22:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:22:05 - End Time 2025-03-09 08:22:05 [2025-03-09 08:22:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640930', 'tblTempUsageDetail_20' ) start [2025-03-09 08:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640930', 'tblTempUsageDetail_20' ) end [2025-03-09 08:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640930', 'tblTempVendorCDR_20' ) start [2025-03-09 08:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640930', 'tblTempVendorCDR_20' ) end [2025-03-09 08:22:17] Production.INFO: ProcessCDR(1,14640930,1,1,2) [2025-03-09 08:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:22:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640930', 'tblTempUsageDetail_20' ) start [2025-03-09 08:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640930', 'tblTempUsageDetail_20' ) end [2025-03-09 08:22:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:22:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:22:20] Production.INFO: ==29782== Releasing lock... [2025-03-09 08:22:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:22:20] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:23:02] Production.INFO: ==29869== Lock acquired, processing the job... [2025-03-09 12:23:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:23:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:23:02] Production.INFO: neon service started [2025-03-09 12:23:02] Production.INFO: neon service started [2025-03-09 12:23:02] Production.INFO: ==29869== Releasing lock... [2025-03-09 12:23:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:23:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:23:02] Production.INFO: ==29872== Lock acquired, processing the job... [2025-03-09 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:23:02] Production.INFO: ==29874== Lock acquired, processing the job... [2025-03-09 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:23:02] Production.INFO: ==29874== Releasing lock... [2025-03-09 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:23:02] Production.INFO: ==29872== Releasing lock... [2025-03-09 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:23:03] Production.INFO: ==29880== Lock acquired, processing the job... [2025-03-09 08:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:23:03] Production.INFO: ==29882== Lock acquired, processing the job... [2025-03-09 08:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:23:03] Production.INFO: ==29878== Lock acquired, processing the job... [2025-03-09 08:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:23:03] Production.INFO: ==29880== Releasing lock... [2025-03-09 08:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:23:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:23:03] Production.INFO: ==29884== Lock acquired, processing the job... [2025-03-09 08:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:23:04] Production.INFO: ==29886== Lock acquired, processing the job... [2025-03-09 08:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:23:04] Production.INFO: ==29888== Lock acquired, processing the job... [2025-03-09 08:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:23:04] Production.INFO: Account Balance Start. [2025-03-09 08:23:04] Production.INFO: CreateAllLog Start [2025-03-09 08:23:04] Production.INFO: 117 [2025-03-09 08:23:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:23:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:23:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:23:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:23:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:23:04] Production.INFO: Total Charge 0 [2025-03-09 08:23:04] Production.INFO: CreateAllLog End [2025-03-09 08:23:04] Production.INFO: count ==13 [2025-03-09 08:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:23:04] Production.INFO: count ==21 [2025-03-09 08:23:04] Production.INFO: Account Balance End. [2025-03-09 08:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640934') start [2025-03-09 08:23:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:23:04] Production.INFO: ==29884== Releasing lock... [2025-03-09 08:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:23:04] Production.ERROR: done [2025-03-09 08:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640934') end [2025-03-09 08:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:23:04] Production.INFO: 1 [2025-03-09 08:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:23:04] Production.INFO: ==29888== Releasing lock... [2025-03-09 08:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:23:04] Production.ERROR: done [2025-03-09 08:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:23:05 [end_date_ymd] => 2025-03-09 08:23:05 [RateCDR] => 1 ) [2025-03-09 08:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:23:05' and `end` < '2025-03-09 08:23:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:23:11] Production.ERROR: CronJobId end10 [2025-03-09 08:23:11] Production.INFO: ==29882== Releasing lock... [2025-03-09 08:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:23:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:23:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:23:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:23:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:23:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:23:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:23:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:23:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:23:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:23:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:23:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:23:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:23:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:23:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:23:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:23:14] Production.INFO: call_cost start [2025-03-09 08:23:14] Production.INFO: call_cost end [2025-03-09 08:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:23:15] Production.INFO: ==29878== Releasing lock... [2025-03-09 08:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:23:17] Production.INFO: count ==57 [2025-03-09 08:23:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:23:05 - End Time 2025-03-09 08:23:05 [2025-03-09 08:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640935', 'tblTempUsageDetail_20' ) start [2025-03-09 08:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640935', 'tblTempUsageDetail_20' ) end [2025-03-09 08:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640935', 'tblTempVendorCDR_20' ) start [2025-03-09 08:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640935', 'tblTempVendorCDR_20' ) end [2025-03-09 08:23:17] Production.INFO: ProcessCDR(1,14640935,1,1,2) [2025-03-09 08:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640935', 'tblTempUsageDetail_20' ) start [2025-03-09 08:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640935', 'tblTempUsageDetail_20' ) end [2025-03-09 08:23:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:23:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:23:21] Production.INFO: ==29886== Releasing lock... [2025-03-09 08:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:23:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:24:01] Production.INFO: ==29972== Lock acquired, processing the job... [2025-03-09 12:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:24:01] Production.INFO: neon service started [2025-03-09 12:24:01] Production.INFO: neon service started [2025-03-09 12:24:01] Production.INFO: ==29972== Releasing lock... [2025-03-09 12:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:24:01] Production.INFO: ==29976== Lock acquired, processing the job... [2025-03-09 08:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:24:02] Production.INFO: ==29976== Releasing lock... [2025-03-09 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:24:02] Production.INFO: ==29978== Lock acquired, processing the job... [2025-03-09 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:24:02] Production.INFO: ==29978== Releasing lock... [2025-03-09 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:24:02] Production.INFO: ==29980== Lock acquired, processing the job... [2025-03-09 08:24:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:24:03] Production.INFO: ==29987== Lock acquired, processing the job... [2025-03-09 08:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:24:03] Production.INFO: ==29984== Lock acquired, processing the job... [2025-03-09 08:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:24:03] Production.INFO: ==29982== Lock acquired, processing the job... [2025-03-09 08:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:24:03] Production.INFO: ==29989== Lock acquired, processing the job... [2025-03-09 08:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:24:03] Production.INFO: Account Balance Start. [2025-03-09 08:24:03] Production.INFO: CreateAllLog Start [2025-03-09 08:24:03] Production.INFO: 117 [2025-03-09 08:24:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:24:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:24:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:24:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:24:03] Production.INFO: ==29991== Lock acquired, processing the job... [2025-03-09 08:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:24:03] Production.INFO: Total Charge 0 [2025-03-09 08:24:03] Production.INFO: CreateAllLog End [2025-03-09 08:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:24:03] Production.ERROR: done [2025-03-09 08:24:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:24:03] Production.INFO: count ==13 [2025-03-09 08:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:24:03] Production.INFO: count ==21 [2025-03-09 08:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640939') start [2025-03-09 08:24:03] Production.INFO: ==29982== Releasing lock... [2025-03-09 08:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:24:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:24:03] Production.ERROR: done [2025-03-09 08:24:03] Production.INFO: Account Balance End. [2025-03-09 08:24:03] Production.ERROR: CronJobId end 12 [2025-03-09 08:24:03] Production.INFO: ==29987== Releasing lock... [2025-03-09 08:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:24:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640939') end [2025-03-09 08:24:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:24:03] Production.INFO: 1 [2025-03-09 08:24:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:24:03] Production.INFO: ==29991== Releasing lock... [2025-03-09 08:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:24:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:24:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:24:04 [end_date_ymd] => 2025-03-09 08:24:04 [RateCDR] => 1 ) [2025-03-09 08:24:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:24:04' and `end` < '2025-03-09 08:24:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:24:11] Production.ERROR: CronJobId end10 [2025-03-09 08:24:11] Production.INFO: ==29984== Releasing lock... [2025-03-09 08:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:24:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:24:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:24:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:24:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:24:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:24:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:24:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:24:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:24:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:24:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:24:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:24:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:24:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:24:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:24:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:24:13] Production.INFO: call_cost start [2025-03-09 08:24:13] Production.INFO: call_cost end [2025-03-09 08:24:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:24:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:24:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:24:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:24:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:24:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:24:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:24:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:24:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:24:14] Production.INFO: ==29980== Releasing lock... [2025-03-09 08:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:24:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:24:16] Production.INFO: count ==57 [2025-03-09 08:24:16] Production.ERROR: pbx CDR StartTime 2025-03-09 05:24:04 - End Time 2025-03-09 08:24:04 [2025-03-09 08:24:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:24:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640940', 'tblTempUsageDetail_20' ) start [2025-03-09 08:24:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640940', 'tblTempUsageDetail_20' ) end [2025-03-09 08:24:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640940', 'tblTempVendorCDR_20' ) start [2025-03-09 08:24:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640940', 'tblTempVendorCDR_20' ) end [2025-03-09 08:24:16] Production.INFO: ProcessCDR(1,14640940,1,1,2) [2025-03-09 08:24:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:24:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:24:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:24:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:24:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640940', 'tblTempUsageDetail_20' ) start [2025-03-09 08:24:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640940', 'tblTempUsageDetail_20' ) end [2025-03-09 08:24:19] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:24:19] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:24:19] Production.INFO: ==29989== Releasing lock... [2025-03-09 08:24:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:24:19] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:25:01] Production.INFO: ==30111== Lock acquired, processing the job... [2025-03-09 12:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:25:01] Production.INFO: neon service started [2025-03-09 12:25:01] Production.INFO: neon service started [2025-03-09 12:25:01] Production.INFO: ==30111== Releasing lock... [2025-03-09 12:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:25:02] Production.INFO: ==30113== Lock acquired, processing the job... [2025-03-09 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:25:02] Production.INFO: ==30115== Lock acquired, processing the job... [2025-03-09 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:25:02] Production.INFO: ==30115== Releasing lock... [2025-03-09 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:25:02] Production.INFO: ==30113== Releasing lock... [2025-03-09 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:25:03] Production.INFO: ==30118== Lock acquired, processing the job... [2025-03-09 08:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:25:03] Production.INFO: ==30122== Lock acquired, processing the job... [2025-03-09 08:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:25:03] Production.INFO: ==30126== Lock acquired, processing the job... [2025-03-09 08:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:25:03] Production.INFO: ==30120== Lock acquired, processing the job... [2025-03-09 08:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:25:03] Production.INFO: ==30124== Lock acquired, processing the job... [2025-03-09 08:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:25:03] Production.INFO: ==30128== Lock acquired, processing the job... [2025-03-09 08:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:25:03] Production.ERROR: done [2025-03-09 08:25:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:25:03] Production.INFO: Account Balance Start. [2025-03-09 08:25:03] Production.INFO: CreateAllLog Start [2025-03-09 08:25:03] Production.INFO: 117 [2025-03-09 08:25:04] Production.ERROR: done [2025-03-09 08:25:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:25:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:25:04] Production.INFO: count ==13 [2025-03-09 08:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:25:04] Production.INFO: ==30120== Releasing lock... [2025-03-09 08:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:25:04] Production.INFO: count ==21 [2025-03-09 08:25:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:25:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:25:04] Production.INFO: Total Charge 0 [2025-03-09 08:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640945') start [2025-03-09 08:25:04] Production.INFO: CreateAllLog End [2025-03-09 08:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640945') end [2025-03-09 08:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:25:04] Production.INFO: 1 [2025-03-09 08:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:25:04] Production.INFO: Account Balance End. [2025-03-09 08:25:04] Production.INFO: ==30128== Releasing lock... [2025-03-09 08:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:25:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:25:04] Production.INFO: ==30124== Releasing lock... [2025-03-09 08:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:25:05 [end_date_ymd] => 2025-03-09 08:25:05 [RateCDR] => 1 ) [2025-03-09 08:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:25:05' and `end` < '2025-03-09 08:25:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:25:11] Production.ERROR: CronJobId end10 [2025-03-09 08:25:11] Production.INFO: ==30122== Releasing lock... [2025-03-09 08:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:25:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:25:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:25:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:25:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:25:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:25:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:25:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:25:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:25:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:25:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:25:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:25:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:25:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:25:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:25:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:25:14] Production.INFO: call_cost start [2025-03-09 08:25:14] Production.INFO: call_cost end [2025-03-09 08:25:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:25:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:25:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:25:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:25:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:25:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:25:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:25:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:25:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:25:15] Production.INFO: ==30118== Releasing lock... [2025-03-09 08:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:25:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:25:17] Production.INFO: count ==57 [2025-03-09 08:25:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:25:05 - End Time 2025-03-09 08:25:05 [2025-03-09 08:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640944', 'tblTempUsageDetail_20' ) start [2025-03-09 08:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640944', 'tblTempUsageDetail_20' ) end [2025-03-09 08:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640944', 'tblTempVendorCDR_20' ) start [2025-03-09 08:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640944', 'tblTempVendorCDR_20' ) end [2025-03-09 08:25:17] Production.INFO: ProcessCDR(1,14640944,1,1,2) [2025-03-09 08:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640944', 'tblTempUsageDetail_20' ) start [2025-03-09 08:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640944', 'tblTempUsageDetail_20' ) end [2025-03-09 08:25:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:25:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:25:20] Production.INFO: ==30126== Releasing lock... [2025-03-09 08:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:25:20] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:26:02] Production.INFO: ==30211== Lock acquired, processing the job... [2025-03-09 12:26:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:26:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:26:02] Production.INFO: neon service started [2025-03-09 12:26:02] Production.INFO: neon service started [2025-03-09 12:26:02] Production.INFO: ==30211== Releasing lock... [2025-03-09 12:26:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:26:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:26:02] Production.INFO: ==30216== Lock acquired, processing the job... [2025-03-09 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:26:02] Production.INFO: ==30216== Releasing lock... [2025-03-09 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:26:03] Production.INFO: ==30218== Lock acquired, processing the job... [2025-03-09 12:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:26:03] Production.INFO: ==30218== Releasing lock... [2025-03-09 12:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:26:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:26:03] Production.INFO: ==30222== Lock acquired, processing the job... [2025-03-09 08:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:26:03] Production.INFO: ==30230== Lock acquired, processing the job... [2025-03-09 08:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:26:03] Production.INFO: ==30220== Lock acquired, processing the job... [2025-03-09 08:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:26:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:26:04] Production.INFO: count ==13 [2025-03-09 08:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:26:04] Production.INFO: count ==21 [2025-03-09 08:26:04] Production.INFO: ==30224== Lock acquired, processing the job... [2025-03-09 08:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640946') start [2025-03-09 08:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640946') end [2025-03-09 08:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:26:04] Production.INFO: 1 [2025-03-09 08:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:26:04] Production.INFO: ==30230== Releasing lock... [2025-03-09 08:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:26:04] Production.INFO: ==30226== Lock acquired, processing the job... [2025-03-09 08:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:26:04] Production.INFO: ==30228== Lock acquired, processing the job... [2025-03-09 08:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:26:04] Production.INFO: ==30222== Releasing lock... [2025-03-09 08:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:26:04] Production.INFO: Account Balance Start. [2025-03-09 08:26:04] Production.INFO: CreateAllLog Start [2025-03-09 08:26:04] Production.INFO: 117 [2025-03-09 08:26:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:26:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:26:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:26:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:26:04] Production.INFO: Total Charge 0 [2025-03-09 08:26:04] Production.INFO: CreateAllLog End [2025-03-09 08:26:04] Production.ERROR: done [2025-03-09 08:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:26:04] Production.ERROR: done [2025-03-09 08:26:04] Production.INFO: Account Balance End. [2025-03-09 08:26:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:26:04] Production.INFO: ==30226== Releasing lock... [2025-03-09 08:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:26:05 [end_date_ymd] => 2025-03-09 08:26:05 [RateCDR] => 1 ) [2025-03-09 08:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:26:05' and `end` < '2025-03-09 08:26:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:26:12] Production.ERROR: CronJobId end10 [2025-03-09 08:26:12] Production.INFO: ==30224== Releasing lock... [2025-03-09 08:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:26:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:26:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:26:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:26:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:26:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:26:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:26:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:26:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:26:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:26:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:26:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:26:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:26:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:26:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:26:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:26:13] Production.INFO: call_cost start [2025-03-09 08:26:13] Production.INFO: call_cost end [2025-03-09 08:26:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:26:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:26:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:26:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:26:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:26:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:26:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:26:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:26:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:26:14] Production.INFO: ==30220== Releasing lock... [2025-03-09 08:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:26:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:26:17] Production.INFO: count ==57 [2025-03-09 08:26:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:26:05 - End Time 2025-03-09 08:26:05 [2025-03-09 08:26:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640950', 'tblTempUsageDetail_20' ) start [2025-03-09 08:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640950', 'tblTempUsageDetail_20' ) end [2025-03-09 08:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640950', 'tblTempVendorCDR_20' ) start [2025-03-09 08:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640950', 'tblTempVendorCDR_20' ) end [2025-03-09 08:26:17] Production.INFO: ProcessCDR(1,14640950,1,1,2) [2025-03-09 08:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640950', 'tblTempUsageDetail_20' ) start [2025-03-09 08:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640950', 'tblTempUsageDetail_20' ) end [2025-03-09 08:26:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:26:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:26:20] Production.INFO: ==30228== Releasing lock... [2025-03-09 08:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:26:20] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:27:01] Production.INFO: ==30313== Lock acquired, processing the job... [2025-03-09 12:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:27:01] Production.INFO: neon service started [2025-03-09 12:27:01] Production.INFO: neon service started [2025-03-09 12:27:01] Production.INFO: ==30313== Releasing lock... [2025-03-09 12:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:27:02] Production.INFO: ==30315== Lock acquired, processing the job... [2025-03-09 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:27:02] Production.INFO: ==30317== Lock acquired, processing the job... [2025-03-09 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 08:27:02] Production.INFO: ==30315== Releasing lock... [2025-03-09 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:27:02] Production.INFO: ==30317== Releasing lock... [2025-03-09 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:27:03] Production.INFO: ==30327== Lock acquired, processing the job... [2025-03-09 08:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:27:03] Production.INFO: ==30329== Lock acquired, processing the job... [2025-03-09 08:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:27:03] Production.INFO: Account Balance Start. [2025-03-09 08:27:03] Production.INFO: CreateAllLog Start [2025-03-09 08:27:03] Production.INFO: 117 [2025-03-09 08:27:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:27:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:27:03] Production.INFO: ==30321== Lock acquired, processing the job... [2025-03-09 08:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:27:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:27:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:27:03] Production.INFO: ==30323== Lock acquired, processing the job... [2025-03-09 08:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:27:03] Production.ERROR: done [2025-03-09 08:27:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:27:03] Production.INFO: Total Charge 0 [2025-03-09 08:27:03] Production.INFO: CreateAllLog End [2025-03-09 08:27:03] Production.INFO: ==30325== Lock acquired, processing the job... [2025-03-09 08:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:27:03] Production.INFO: ==30331== Lock acquired, processing the job... [2025-03-09 08:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:27:03] Production.ERROR: done [2025-03-09 08:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 08:27:03] Production.INFO: Account Balance End. [2025-03-09 08:27:03] Production.INFO: count ==13 [2025-03-09 08:27:03] Production.ERROR: CronJobId end 12 [2025-03-09 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-09 08:27:03] Production.INFO: ==30327== Releasing lock... [2025-03-09 08:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:27:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:27:03] Production.INFO: count ==21 [2025-03-09 08:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640953') start [2025-03-09 08:27:04] Production.INFO: ==30323== Releasing lock... [2025-03-09 08:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640953') end [2025-03-09 08:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:27:04] Production.INFO: 1 [2025-03-09 08:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:27:04] Production.INFO: ==30331== Releasing lock... [2025-03-09 08:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:27:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:27:04 [end_date_ymd] => 2025-03-09 08:27:04 [RateCDR] => 1 ) [2025-03-09 08:27:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:27:04' and `end` < '2025-03-09 08:27:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:27:12] Production.ERROR: CronJobId end10 [2025-03-09 08:27:12] Production.INFO: ==30325== Releasing lock... [2025-03-09 08:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:27:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:27:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:27:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:27:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:27:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:27:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:27:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:27:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:27:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:27:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:27:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:27:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:27:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:27:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:27:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:27:14] Production.INFO: call_cost start [2025-03-09 08:27:14] Production.INFO: call_cost end [2025-03-09 08:27:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:27:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:27:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:27:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:27:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:27:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:27:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:27:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:27:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:27:15] Production.INFO: ==30321== Releasing lock... [2025-03-09 08:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:27:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:27:16] Production.INFO: count ==57 [2025-03-09 08:27:16] Production.ERROR: pbx CDR StartTime 2025-03-09 05:27:04 - End Time 2025-03-09 08:27:04 [2025-03-09 08:27:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:27:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640955', 'tblTempUsageDetail_20' ) start [2025-03-09 08:27:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640955', 'tblTempUsageDetail_20' ) end [2025-03-09 08:27:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640955', 'tblTempVendorCDR_20' ) start [2025-03-09 08:27:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640955', 'tblTempVendorCDR_20' ) end [2025-03-09 08:27:16] Production.INFO: ProcessCDR(1,14640955,1,1,2) [2025-03-09 08:27:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:27:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:27:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:27:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:27:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640955', 'tblTempUsageDetail_20' ) start [2025-03-09 08:27:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640955', 'tblTempUsageDetail_20' ) end [2025-03-09 08:27:19] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:27:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:27:20] Production.INFO: ==30329== Releasing lock... [2025-03-09 08:27:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:27:20] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:28:02] Production.INFO: ==30426== Lock acquired, processing the job... [2025-03-09 12:28:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:28:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:28:02] Production.INFO: neon service started [2025-03-09 12:28:02] Production.INFO: neon service started [2025-03-09 12:28:02] Production.INFO: ==30426== Releasing lock... [2025-03-09 12:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:28:02] Production.INFO: ==30428== Lock acquired, processing the job... [2025-03-09 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:28:02] Production.INFO: ==30428== Releasing lock... [2025-03-09 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:28:03] Production.INFO: ==30430== Lock acquired, processing the job... [2025-03-09 12:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:28:03] Production.INFO: ==30430== Releasing lock... [2025-03-09 12:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:28:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:28:03] Production.INFO: ==30437== Lock acquired, processing the job... [2025-03-09 08:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:28:03] Production.INFO: ==30433== Lock acquired, processing the job... [2025-03-09 08:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:28:03] Production.INFO: ==30443== Lock acquired, processing the job... [2025-03-09 08:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:28:03] Production.INFO: ==30435== Lock acquired, processing the job... [2025-03-09 08:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:28:03] Production.INFO: ==30439== Lock acquired, processing the job... [2025-03-09 08:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:28:03] Production.INFO: ==30441== Lock acquired, processing the job... [2025-03-09 08:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:28:03] Production.INFO: count ==13 [2025-03-09 08:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:28:04] Production.INFO: count ==21 [2025-03-09 08:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640956') start [2025-03-09 08:28:04] Production.INFO: Account Balance Start. [2025-03-09 08:28:04] Production.INFO: CreateAllLog Start [2025-03-09 08:28:04] Production.INFO: 117 [2025-03-09 08:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640956') end [2025-03-09 08:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:28:04] Production.INFO: 1 [2025-03-09 08:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:28:04] Production.ERROR: done [2025-03-09 08:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:28:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:28:04] Production.INFO: ==30435== Releasing lock... [2025-03-09 08:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:28:04] Production.INFO: ==30443== Releasing lock... [2025-03-09 08:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:28:04] Production.ERROR: done [2025-03-09 08:28:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:28:04] Production.INFO: Total Charge 0 [2025-03-09 08:28:04] Production.INFO: CreateAllLog End [2025-03-09 08:28:04] Production.INFO: Account Balance End. [2025-03-09 08:28:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:28:04] Production.INFO: ==30439== Releasing lock... [2025-03-09 08:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:28:05 [end_date_ymd] => 2025-03-09 08:28:05 [RateCDR] => 1 ) [2025-03-09 08:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:28:05' and `end` < '2025-03-09 08:28:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:28:11] Production.ERROR: CronJobId end10 [2025-03-09 08:28:11] Production.INFO: ==30437== Releasing lock... [2025-03-09 08:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:28:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:28:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:28:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:28:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:28:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:28:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:28:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:28:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:28:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:28:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:28:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:28:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:28:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:28:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:28:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:28:14] Production.INFO: call_cost start [2025-03-09 08:28:14] Production.INFO: call_cost end [2025-03-09 08:28:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:28:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:28:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:28:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:28:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:28:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:28:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:28:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:28:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:28:14] Production.INFO: ==30433== Releasing lock... [2025-03-09 08:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:28:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:28:17] Production.INFO: count ==57 [2025-03-09 08:28:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:28:05 - End Time 2025-03-09 08:28:05 [2025-03-09 08:28:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640960', 'tblTempUsageDetail_20' ) start [2025-03-09 08:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640960', 'tblTempUsageDetail_20' ) end [2025-03-09 08:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640960', 'tblTempVendorCDR_20' ) start [2025-03-09 08:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640960', 'tblTempVendorCDR_20' ) end [2025-03-09 08:28:17] Production.INFO: ProcessCDR(1,14640960,1,1,2) [2025-03-09 08:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:28:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640960', 'tblTempUsageDetail_20' ) start [2025-03-09 08:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640960', 'tblTempUsageDetail_20' ) end [2025-03-09 08:28:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:28:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:28:20] Production.INFO: ==30441== Releasing lock... [2025-03-09 08:28:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:28:20] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:29:01] Production.INFO: ==30532== Lock acquired, processing the job... [2025-03-09 12:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:29:01] Production.INFO: neon service started [2025-03-09 12:29:01] Production.INFO: neon service started [2025-03-09 12:29:01] Production.INFO: ==30532== Releasing lock... [2025-03-09 12:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:29:01] Production.INFO: ==30536== Lock acquired, processing the job... [2025-03-09 12:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:29:01] Production.INFO: ==30536== Releasing lock... [2025-03-09 12:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:29:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:29:02] Production.INFO: ==30534== Lock acquired, processing the job... [2025-03-09 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:29:02] Production.INFO: ==30534== Releasing lock... [2025-03-09 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:29:03] Production.INFO: ==30543== Lock acquired, processing the job... [2025-03-09 08:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:29:03] Production.INFO: ==30545== Lock acquired, processing the job... [2025-03-09 08:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:29:03] Production.INFO: ==30549== Lock acquired, processing the job... [2025-03-09 08:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:29:03] Production.INFO: Account Balance Start. [2025-03-09 08:29:03] Production.INFO: CreateAllLog Start [2025-03-09 08:29:03] Production.INFO: 117 [2025-03-09 08:29:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:29:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:29:03] Production.INFO: Total Charge 0 [2025-03-09 08:29:03] Production.INFO: CreateAllLog End [2025-03-09 08:29:03] Production.INFO: ==30539== Lock acquired, processing the job... [2025-03-09 08:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:29:03] Production.INFO: Account Balance End. [2025-03-09 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-09 08:29:03] Production.ERROR: CronJobId end 12 [2025-03-09 08:29:03] Production.INFO: ==30545== Releasing lock... [2025-03-09 08:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:29:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:29:03] Production.INFO: ==30541== Lock acquired, processing the job... [2025-03-09 08:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:29:03] Production.INFO: count ==13 [2025-03-09 08:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 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-09 08:29:03] Production.INFO: count ==21 [2025-03-09 08:29:03] Production.INFO: ==30547== Lock acquired, processing the job... [2025-03-09 08:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640962') start [2025-03-09 08:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640962') end [2025-03-09 08:29:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:29:03] Production.INFO: 1 [2025-03-09 08:29:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:29:03] Production.INFO: ==30549== Releasing lock... [2025-03-09 08:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:29:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:29:03] Production.INFO: ==30541== Releasing lock... [2025-03-09 08:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:29:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:29:03] Production.ERROR: done [2025-03-09 08:29:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:29:04] Production.ERROR: done [2025-03-09 08:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:29:05 [end_date_ymd] => 2025-03-09 08:29:05 [RateCDR] => 1 ) [2025-03-09 08:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:29:05' and `end` < '2025-03-09 08:29:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:29:10] Production.ERROR: CronJobId end10 [2025-03-09 08:29:10] Production.INFO: ==30543== Releasing lock... [2025-03-09 08:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:29:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:29:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:29:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:29:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:29:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:29:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:29:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:29:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:29:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:29:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:29:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:29:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:29:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:29:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:29:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:29:13] Production.INFO: call_cost start [2025-03-09 08:29:13] Production.INFO: call_cost end [2025-03-09 08:29:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:29:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:29:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:29:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:29:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:29:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:29:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:29:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:29:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:29:14] Production.INFO: ==30539== Releasing lock... [2025-03-09 08:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:29:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:29:17] Production.INFO: count ==57 [2025-03-09 08:29:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:29:05 - End Time 2025-03-09 08:29:05 [2025-03-09 08:29:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640965', 'tblTempUsageDetail_20' ) start [2025-03-09 08:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640965', 'tblTempUsageDetail_20' ) end [2025-03-09 08:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640965', 'tblTempVendorCDR_20' ) start [2025-03-09 08:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640965', 'tblTempVendorCDR_20' ) end [2025-03-09 08:29:17] Production.INFO: ProcessCDR(1,14640965,1,1,2) [2025-03-09 08:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640965', 'tblTempUsageDetail_20' ) start [2025-03-09 08:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640965', 'tblTempUsageDetail_20' ) end [2025-03-09 08:29:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:29:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:29:20] Production.INFO: ==30547== Releasing lock... [2025-03-09 08:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:29:20] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:30:02] Production.INFO: ==30637== Lock acquired, processing the job... [2025-03-09 12:30:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:30:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:30:02] Production.INFO: neon service started [2025-03-09 12:30:02] Production.INFO: neon service started [2025-03-09 12:30:02] Production.INFO: ==30637== Releasing lock... [2025-03-09 12:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:30:02] Production.INFO: ==30642== Lock acquired, processing the job... [2025-03-09 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:30:02] Production.INFO: ==30642== Releasing lock... [2025-03-09 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:30:02] Production.INFO: ==30640== Lock acquired, processing the job... [2025-03-09 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:30:02] Production.INFO: ==30640== Releasing lock... [2025-03-09 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:30:04] Production.INFO: ==30648== Lock acquired, processing the job... [2025-03-09 08:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:30:04] Production.INFO: ==30645== Lock acquired, processing the job... [2025-03-09 08:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 08:30:04] Production.INFO: ==30654== Lock acquired, processing the job... [2025-03-09 08:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 08:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 08:30:04] Production.ERROR: CronJob PID - 30648 [2025-03-09 08:30:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 08:30:04] Production.ERROR: CronJob ID - 5 [2025-03-09 08:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 08:30:00 [2025-03-09 08:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 08:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 08:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 08:30:04] Production.INFO: ==30645== Releasing lock... [2025-03-09 08:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 08:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 08:30:04] Production.INFO: ==30650== Lock acquired, processing the job... [2025-03-09 08:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:30:04] Production.INFO: ==30658== Lock acquired, processing the job... [2025-03-09 08:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 08:30:04] Production.INFO: Account Balance Start. [2025-03-09 08:30:04] Production.INFO: CreateAllLog Start [2025-03-09 08:30:04] Production.INFO: 117 [2025-03-09 08:30:04] Production.INFO: ==30652== Lock acquired, processing the job... [2025-03-09 08:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:30:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:30:04] Production.INFO: ==30656== Lock acquired, processing the job... [2025-03-09 08:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:30:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:30:04] Production.INFO: Total Charge 0 [2025-03-09 08:30:04] Production.INFO: CreateAllLog End [2025-03-09 08:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:30:04] Production.INFO: ==30660== Lock acquired, processing the job... [2025-03-09 08:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:30:04] Production.INFO: ==30650== Releasing lock... [2025-03-09 08:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:30:04] Production.ERROR: done [2025-03-09 08:30:04] Production.INFO: count ==13 [2025-03-09 08:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:30:04] Production.INFO: count ==21 [2025-03-09 08:30:04] Production.INFO: Account Balance End. [2025-03-09 08:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640969') start [2025-03-09 08:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 08:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640970', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 08:30:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:30:04] Production.INFO: ==30654== Releasing lock... [2025-03-09 08:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:30:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:30:05] Production.ERROR: done [2025-03-09 08:30:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14640969') end [2025-03-09 08:30:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:30:05] Production.INFO: 1 [2025-03-09 08:30:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:30:05] Production.INFO: ==30660== Releasing lock... [2025-03-09 08:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:30:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:30:05] Production.ERROR: done [2025-03-09 08:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:30:06 [end_date_ymd] => 2025-03-09 08:30:06 [RateCDR] => 1 ) [2025-03-09 08:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:30:06' and `end` < '2025-03-09 08:30:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14640970', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 08:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 08:30:09] Production.INFO: ProcessCDR(1,14640970,1,1,2) [2025-03-09 08:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14640970,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14640970,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:30:09] Production.INFO: ==30658== Releasing lock... [2025-03-09 08:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 08:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 08:30:16] Production.ERROR: CronJobId end10 [2025-03-09 08:30:16] Production.INFO: ==30652== Releasing lock... [2025-03-09 08:30:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:30:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:30:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:30:17] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:30:17] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:30:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:30:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:30:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:30:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:30:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:30:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:30:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:30:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:30:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:30:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:30:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:30:18] Production.INFO: call_cost start [2025-03-09 08:30:18] Production.INFO: call_cost end [2025-03-09 08:30:18] Production.INFO: count ==56 [2025-03-09 08:30:18] Production.ERROR: pbx CDR StartTime 2025-03-09 05:30:06 - End Time 2025-03-09 08:30:06 [2025-03-09 08:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640971', 'tblTempUsageDetail_20' ) start [2025-03-09 08:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640971', 'tblTempUsageDetail_20' ) end [2025-03-09 08:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640971', 'tblTempVendorCDR_20' ) start [2025-03-09 08:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640971', 'tblTempVendorCDR_20' ) end [2025-03-09 08:30:18] Production.INFO: ProcessCDR(1,14640971,1,1,2) [2025-03-09 08:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:30:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:30:19] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:30:19] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:30:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:30:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:30:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:30:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:30:19] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:30:19] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:30:19] Production.INFO: ==30648== Releasing lock... [2025-03-09 08:30:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:30:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640971', 'tblTempUsageDetail_20' ) start [2025-03-09 08:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640971', 'tblTempUsageDetail_20' ) end [2025-03-09 08:30:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:30:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:30:22] Production.INFO: ==30656== Releasing lock... [2025-03-09 08:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:30:22] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 12:31:01] Production.INFO: ==30743== Lock acquired, processing the job... [2025-03-09 12:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:31:01] Production.INFO: neon service started [2025-03-09 12:31:01] Production.INFO: neon service started [2025-03-09 12:31:01] Production.INFO: ==30743== Releasing lock... [2025-03-09 12:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:31:01] Production.INFO: ==30747== Lock acquired, processing the job... [2025-03-09 08:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:31:02] Production.INFO: ==30747== Releasing lock... [2025-03-09 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:31:02] Production.INFO: ==30749== Lock acquired, processing the job... [2025-03-09 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:31:02] Production.INFO: ==30749== Releasing lock... [2025-03-09 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:31:03] Production.INFO: ==30760== Lock acquired, processing the job... [2025-03-09 08:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:31:03] Production.INFO: ==30762== Lock acquired, processing the job... [2025-03-09 08:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:31:03] Production.INFO: ==30752== Lock acquired, processing the job... [2025-03-09 08:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:31:03] Production.INFO: ==30754== Lock acquired, processing the job... [2025-03-09 08:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:31:03] Production.INFO: ==30756== Lock acquired, processing the job... [2025-03-09 08:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:31:03] Production.INFO: ==30758== Lock acquired, processing the job... [2025-03-09 08:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:31:03] Production.INFO: Account Balance Start. [2025-03-09 08:31:03] Production.INFO: CreateAllLog Start [2025-03-09 08:31:03] Production.INFO: 117 [2025-03-09 08:31:03] Production.INFO: count ==13 [2025-03-09 08:31:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:31:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:31:03] Production.ERROR: done [2025-03-09 08:31:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:31:03] Production.INFO: count ==21 [2025-03-09 08:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640972') start [2025-03-09 08:31:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:31:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:31:03] Production.INFO: Total Charge 0 [2025-03-09 08:31:03] Production.INFO: CreateAllLog End [2025-03-09 08:31:03] Production.INFO: ==30754== Releasing lock... [2025-03-09 08:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:31:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:31:03] Production.ERROR: done [2025-03-09 08:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640972') end [2025-03-09 08:31:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:31:03] Production.INFO: 1 [2025-03-09 08:31:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:31:03] Production.INFO: ==30762== Releasing lock... [2025-03-09 08:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:31:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:31:03] Production.INFO: Account Balance End. [2025-03-09 08:31:03] Production.ERROR: CronJobId end 12 [2025-03-09 08:31:03] Production.INFO: ==30758== Releasing lock... [2025-03-09 08:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:31:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:31:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:31:04 [end_date_ymd] => 2025-03-09 08:31:04 [RateCDR] => 1 ) [2025-03-09 08:31:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:31:04' and `end` < '2025-03-09 08:31:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:31:10] Production.ERROR: CronJobId end10 [2025-03-09 08:31:10] Production.INFO: ==30756== Releasing lock... [2025-03-09 08:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:31:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:31:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:31:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:31:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:31:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:31:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:31:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:31:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:31:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:31:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:31:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:31:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:31:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:31:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:31:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:31:13] Production.INFO: call_cost start [2025-03-09 08:31:13] Production.INFO: call_cost end [2025-03-09 08:31:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:31:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:31:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:31:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:31:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:31:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:31:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:31:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:31:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:31:14] Production.INFO: ==30752== Releasing lock... [2025-03-09 08:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:31:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:31:16] Production.INFO: count ==53 [2025-03-09 08:31:16] Production.ERROR: pbx CDR StartTime 2025-03-09 05:31:04 - End Time 2025-03-09 08:31:04 [2025-03-09 08:31:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:31:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640976', 'tblTempUsageDetail_20' ) start [2025-03-09 08:31:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640976', 'tblTempUsageDetail_20' ) end [2025-03-09 08:31:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640976', 'tblTempVendorCDR_20' ) start [2025-03-09 08:31:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640976', 'tblTempVendorCDR_20' ) end [2025-03-09 08:31:16] Production.INFO: ProcessCDR(1,14640976,1,1,2) [2025-03-09 08:31:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:31:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:31:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:31:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:31:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640976', 'tblTempUsageDetail_20' ) start [2025-03-09 08:31:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640976', 'tblTempUsageDetail_20' ) end [2025-03-09 08:31:19] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:31:19] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:31:19] Production.INFO: ==30760== Releasing lock... [2025-03-09 08:31:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:31:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:32:01] Production.INFO: ==30849== Lock acquired, processing the job... [2025-03-09 12:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:32:02] Production.INFO: neon service started [2025-03-09 12:32:02] Production.INFO: neon service started [2025-03-09 12:32:02] Production.INFO: ==30849== Releasing lock... [2025-03-09 12:32:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:32:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:32:02] Production.INFO: ==30851== Lock acquired, processing the job... [2025-03-09 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:32:02] Production.INFO: ==30851== Releasing lock... [2025-03-09 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:32:02] Production.INFO: ==30853== Lock acquired, processing the job... [2025-03-09 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:32:03] Production.INFO: ==30853== Releasing lock... [2025-03-09 12:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:32:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:32:03] Production.INFO: ==30864== Lock acquired, processing the job... [2025-03-09 08:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:32:03] Production.INFO: ==30866== Lock acquired, processing the job... [2025-03-09 08:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 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-09 08:32:04] Production.INFO: ==30858== Lock acquired, processing the job... [2025-03-09 08:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:32:04] Production.INFO: count ==13 [2025-03-09 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-09 08:32:04] Production.INFO: count ==21 [2025-03-09 08:32:04] Production.INFO: ==30860== Lock acquired, processing the job... [2025-03-09 08:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:32:04] Production.INFO: ==30856== Lock acquired, processing the job... [2025-03-09 08:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640977') start [2025-03-09 08:32:04] Production.INFO: ==30862== Lock acquired, processing the job... [2025-03-09 08:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:32:04] Production.ERROR: done [2025-03-09 08:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640977') end [2025-03-09 08:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:32:04] Production.INFO: 1 [2025-03-09 08:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:32:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:32:04] Production.INFO: Account Balance Start. [2025-03-09 08:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:32:04] Production.INFO: CreateAllLog Start [2025-03-09 08:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:32:04] Production.INFO: 117 [2025-03-09 08:32:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:32:04] Production.INFO: ==30866== Releasing lock... [2025-03-09 08:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:32:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:32:04] Production.ERROR: done [2025-03-09 08:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:32:04] Production.INFO: Total Charge 0 [2025-03-09 08:32:04] Production.INFO: CreateAllLog End [2025-03-09 08:32:04] Production.INFO: ==30858== Releasing lock... [2025-03-09 08:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:32:04] Production.INFO: Account Balance End. [2025-03-09 08:32:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:32:04] Production.INFO: ==30862== Releasing lock... [2025-03-09 08:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:32:05 [end_date_ymd] => 2025-03-09 08:32:05 [RateCDR] => 1 ) [2025-03-09 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-09 05:32:05' and `end` < '2025-03-09 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-09 08:32:13] Production.ERROR: CronJobId end10 [2025-03-09 08:32:13] Production.INFO: ==30860== Releasing lock... [2025-03-09 08:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:32:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:32:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:32:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:32:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:32:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:32:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:32:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:32:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:32:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:32:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:32:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:32:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:32:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:32:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:32:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:32:16] Production.INFO: call_cost start [2025-03-09 08:32:16] Production.INFO: call_cost end [2025-03-09 08:32:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:32:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:32:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:32:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:32:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:32:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:32:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:32:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:32:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:32:17] Production.INFO: ==30856== Releasing lock... [2025-03-09 08:32:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:32:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:32:17] Production.INFO: count ==53 [2025-03-09 08:32:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:32:05 - End Time 2025-03-09 08:32:05 [2025-03-09 08:32:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640981', 'tblTempUsageDetail_20' ) start [2025-03-09 08:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640981', 'tblTempUsageDetail_20' ) end [2025-03-09 08:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640981', 'tblTempVendorCDR_20' ) start [2025-03-09 08:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640981', 'tblTempVendorCDR_20' ) end [2025-03-09 08:32:17] Production.INFO: ProcessCDR(1,14640981,1,1,2) [2025-03-09 08:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640981', 'tblTempUsageDetail_20' ) start [2025-03-09 08:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640981', 'tblTempUsageDetail_20' ) end [2025-03-09 08:32:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:32:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:32:21] Production.INFO: ==30864== Releasing lock... [2025-03-09 08:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:32:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:33:01] Production.INFO: ==30952== Lock acquired, processing the job... [2025-03-09 12:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:33:01] Production.INFO: neon service started [2025-03-09 12:33:01] Production.INFO: neon service started [2025-03-09 12:33:01] Production.INFO: ==30952== Releasing lock... [2025-03-09 12:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:33:01] Production.INFO: ==30954== Lock acquired, processing the job... [2025-03-09 08:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:33:02] Production.INFO: ==30954== Releasing lock... [2025-03-09 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:33:02] Production.INFO: ==30956== Lock acquired, processing the job... [2025-03-09 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:33:02] Production.INFO: ==30956== Releasing lock... [2025-03-09 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:33:03] Production.INFO: ==30959== Lock acquired, processing the job... [2025-03-09 08:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:33:03] Production.INFO: ==30961== Lock acquired, processing the job... [2025-03-09 08:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:33:03] Production.INFO: ==30963== Lock acquired, processing the job... [2025-03-09 08:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:33:03] Production.INFO: ==30965== Lock acquired, processing the job... [2025-03-09 08:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:33:03] Production.INFO: ==30969== Lock acquired, processing the job... [2025-03-09 08:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:33:03] Production.INFO: ==30967== Lock acquired, processing the job... [2025-03-09 08:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:33:03] Production.INFO: Account Balance Start. [2025-03-09 08:33:03] Production.INFO: CreateAllLog Start [2025-03-09 08:33:03] Production.INFO: 117 [2025-03-09 08:33:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:33:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:33:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:33:03] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 08:33:03] Production.INFO: Total Charge 0 [2025-03-09 08:33:03] Production.INFO: CreateAllLog End [2025-03-09 08:33:03] Production.INFO: count ==13 [2025-03-09 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-09 08:33:03] Production.INFO: count ==21 [2025-03-09 08:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640985') start [2025-03-09 08:33:03] Production.INFO: ==30961== Releasing lock... [2025-03-09 08:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:33:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640985') end [2025-03-09 08:33:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:33:03] Production.INFO: 1 [2025-03-09 08:33:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:33:03] Production.INFO: ==30969== Releasing lock... [2025-03-09 08:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:33:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:33:03] Production.ERROR: done [2025-03-09 08:33:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:33:04] Production.ERROR: done [2025-03-09 08:33:04] Production.INFO: Account Balance End. [2025-03-09 08:33:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:33:04] Production.INFO: ==30965== Releasing lock... [2025-03-09 08:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:33:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:33:04 [end_date_ymd] => 2025-03-09 08:33:04 [RateCDR] => 1 ) [2025-03-09 08:33:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:33:04' and `end` < '2025-03-09 08:33:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:33:11] Production.ERROR: CronJobId end10 [2025-03-09 08:33:11] Production.INFO: ==30963== Releasing lock... [2025-03-09 08:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:33:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:33:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:33:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:33:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:33:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:33:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:33:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:33:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:33:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:33:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:33:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:33:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:33:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:33:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:33:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:33:14] Production.INFO: call_cost start [2025-03-09 08:33:14] Production.INFO: call_cost end [2025-03-09 08:33:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:33:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:33:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:33:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:33:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:33:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:33:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:33:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:33:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:33:15] Production.INFO: ==30959== Releasing lock... [2025-03-09 08:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:33:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:33:16] Production.INFO: count ==50 [2025-03-09 08:33:16] Production.ERROR: pbx CDR StartTime 2025-03-09 05:33:04 - End Time 2025-03-09 08:33:04 [2025-03-09 08:33:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:33:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640986', 'tblTempUsageDetail_20' ) start [2025-03-09 08:33:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640986', 'tblTempUsageDetail_20' ) end [2025-03-09 08:33:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640986', 'tblTempVendorCDR_20' ) start [2025-03-09 08:33:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640986', 'tblTempVendorCDR_20' ) end [2025-03-09 08:33:16] Production.INFO: ProcessCDR(1,14640986,1,1,2) [2025-03-09 08:33:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:33:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:33:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640986', 'tblTempUsageDetail_20' ) start [2025-03-09 08:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640986', 'tblTempUsageDetail_20' ) end [2025-03-09 08:33:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:33:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:33:20] Production.INFO: ==30967== Releasing lock... [2025-03-09 08:33:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:33:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:34:01] Production.INFO: ==31028== Lock acquired, processing the job... [2025-03-09 12:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:34:01] Production.INFO: neon service started [2025-03-09 12:34:01] Production.INFO: neon service started [2025-03-09 12:34:01] Production.INFO: ==31028== Releasing lock... [2025-03-09 12:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:34:02] Production.INFO: ==31032== Lock acquired, processing the job... [2025-03-09 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:34:02] Production.INFO: ==31032== Releasing lock... [2025-03-09 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:34:02] Production.INFO: ==31030== Lock acquired, processing the job... [2025-03-09 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:34:02] Production.INFO: ==31030== Releasing lock... [2025-03-09 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:34:03] Production.INFO: ==31041== Lock acquired, processing the job... [2025-03-09 08:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:34:03] Production.INFO: ==31035== Lock acquired, processing the job... [2025-03-09 08:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:34:03] Production.INFO: ==31043== Lock acquired, processing the job... [2025-03-09 08:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:34:03] Production.INFO: ==31037== Lock acquired, processing the job... [2025-03-09 08:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:34:03] Production.INFO: ==31039== Lock acquired, processing the job... [2025-03-09 08:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:34:03] Production.INFO: Account Balance Start. [2025-03-09 08:34:03] Production.INFO: CreateAllLog Start [2025-03-09 08:34:03] Production.INFO: 117 [2025-03-09 08:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:34:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:34:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:34:03] Production.INFO: ==31045== Lock acquired, processing the job... [2025-03-09 08:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:34:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:34:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:34:04] Production.INFO: Total Charge 0 [2025-03-09 08:34:04] Production.INFO: CreateAllLog End [2025-03-09 08:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:34:04] Production.INFO: count ==13 [2025-03-09 08:34:04] Production.INFO: ==31037== Releasing lock... [2025-03-09 08:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:34:04] Production.ERROR: done [2025-03-09 08:34:04] Production.INFO: count ==21 [2025-03-09 08:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640990') start [2025-03-09 08:34:04] Production.INFO: Account Balance End. [2025-03-09 08:34:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:34:04] Production.INFO: ==31041== Releasing lock... [2025-03-09 08:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:34:04] Production.ERROR: done [2025-03-09 08:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14640990') end [2025-03-09 08:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:34:04] Production.INFO: 1 [2025-03-09 08:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:34:04] Production.INFO: ==31045== Releasing lock... [2025-03-09 08:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:34:05 [end_date_ymd] => 2025-03-09 08:34:05 [RateCDR] => 1 ) [2025-03-09 08:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:34:05' and `end` < '2025-03-09 08:34:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:34:12] Production.ERROR: CronJobId end10 [2025-03-09 08:34:12] Production.INFO: ==31039== Releasing lock... [2025-03-09 08:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:34:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:34:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:34:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:34:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:34:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:34:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:34:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:34:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:34:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:34:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:34:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:34:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:34:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:34:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:34:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:34:14] Production.INFO: call_cost start [2025-03-09 08:34:14] Production.INFO: call_cost end [2025-03-09 08:34:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:34:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:34:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:34:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:34:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:34:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:34:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:34:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:34:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:34:15] Production.INFO: ==31035== Releasing lock... [2025-03-09 08:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:34:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:34:17] Production.INFO: count ==50 [2025-03-09 08:34:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:34:05 - End Time 2025-03-09 08:34:05 [2025-03-09 08:34:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640991', 'tblTempUsageDetail_20' ) start [2025-03-09 08:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640991', 'tblTempUsageDetail_20' ) end [2025-03-09 08:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640991', 'tblTempVendorCDR_20' ) start [2025-03-09 08:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640991', 'tblTempVendorCDR_20' ) end [2025-03-09 08:34:17] Production.INFO: ProcessCDR(1,14640991,1,1,2) [2025-03-09 08:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:34:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640991', 'tblTempUsageDetail_20' ) start [2025-03-09 08:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640991', 'tblTempUsageDetail_20' ) end [2025-03-09 08:34:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:34:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:34:20] Production.INFO: ==31043== Releasing lock... [2025-03-09 08:34:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:34:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:35:01] Production.INFO: ==31097== Lock acquired, processing the job... [2025-03-09 12:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:35:01] Production.INFO: neon service started [2025-03-09 12:35:01] Production.INFO: neon service started [2025-03-09 12:35:01] Production.INFO: ==31097== Releasing lock... [2025-03-09 12:35:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:35:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:35:02] Production.INFO: ==31099== Lock acquired, processing the job... [2025-03-09 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:35:02] Production.INFO: ==31101== Lock acquired, processing the job... [2025-03-09 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:35:02] Production.INFO: ==31101== Releasing lock... [2025-03-09 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:35:02] Production.INFO: ==31099== Releasing lock... [2025-03-09 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:35:03] Production.INFO: ==31112== Lock acquired, processing the job... [2025-03-09 08:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:35:03] Production.INFO: ==31114== Lock acquired, processing the job... [2025-03-09 08:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:35:03] Production.INFO: ==31104== Lock acquired, processing the job... [2025-03-09 08:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:35:03] Production.INFO: count ==13 [2025-03-09 08:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:35:03] Production.INFO: ==31106== Lock acquired, processing the job... [2025-03-09 08:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:35:03] Production.INFO: count ==21 [2025-03-09 08:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640992') start [2025-03-09 08:35:03] Production.INFO: ==31108== Lock acquired, processing the job... [2025-03-09 08:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:35:03] Production.INFO: ==31110== Lock acquired, processing the job... [2025-03-09 08:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:35:03] Production.ERROR: done [2025-03-09 08:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14640992') end [2025-03-09 08:35:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:35:03] Production.INFO: 1 [2025-03-09 08:35:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:35:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:35:03] Production.INFO: ==31114== Releasing lock... [2025-03-09 08:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:35:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:35:03] Production.INFO: Account Balance Start. [2025-03-09 08:35:03] Production.INFO: CreateAllLog Start [2025-03-09 08:35:03] Production.INFO: 117 [2025-03-09 08:35:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:35:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:35:04] Production.INFO: Total Charge 0 [2025-03-09 08:35:04] Production.INFO: CreateAllLog End [2025-03-09 08:35:04] Production.ERROR: done [2025-03-09 08:35:04] Production.INFO: ==31106== Releasing lock... [2025-03-09 08:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:35:04] Production.INFO: Account Balance End. [2025-03-09 08:35:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:35:04] Production.INFO: ==31110== Releasing lock... [2025-03-09 08:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:35:05 [end_date_ymd] => 2025-03-09 08:35:05 [RateCDR] => 1 ) [2025-03-09 08:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:35:05' and `end` < '2025-03-09 08:35:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:35:12] Production.ERROR: CronJobId end10 [2025-03-09 08:35:12] Production.INFO: ==31108== Releasing lock... [2025-03-09 08:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:35:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:35:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:35:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:35:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:35:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:35:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:35:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:35:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:35:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:35:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:35:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:35:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:35:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:35:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:35:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:35:13] Production.INFO: call_cost start [2025-03-09 08:35:13] Production.INFO: call_cost end [2025-03-09 08:35:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:35:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:35:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:35:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:35:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:35:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:35:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:35:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:35:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:35:14] Production.INFO: ==31104== Releasing lock... [2025-03-09 08:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:35:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:35:17] Production.INFO: count ==50 [2025-03-09 08:35:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:35:05 - End Time 2025-03-09 08:35:05 [2025-03-09 08:35:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640996', 'tblTempUsageDetail_20' ) start [2025-03-09 08:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14640996', 'tblTempUsageDetail_20' ) end [2025-03-09 08:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640996', 'tblTempVendorCDR_20' ) start [2025-03-09 08:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14640996', 'tblTempVendorCDR_20' ) end [2025-03-09 08:35:17] Production.INFO: ProcessCDR(1,14640996,1,1,2) [2025-03-09 08:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14640996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14640996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14640996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14640996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640996', 'tblTempUsageDetail_20' ) start [2025-03-09 08:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14640996', 'tblTempUsageDetail_20' ) end [2025-03-09 08:35:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:35:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:35:20] Production.INFO: ==31112== Releasing lock... [2025-03-09 08:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:35:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:36:01] Production.INFO: ==31170== Lock acquired, processing the job... [2025-03-09 12:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:36:01] Production.INFO: neon service started [2025-03-09 12:36:01] Production.INFO: neon service started [2025-03-09 12:36:01] Production.INFO: ==31170== Releasing lock... [2025-03-09 12:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:36:02] Production.INFO: ==31174== Lock acquired, processing the job... [2025-03-09 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:36:02] Production.INFO: ==31174== Releasing lock... [2025-03-09 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:36:02] Production.INFO: ==31172== Lock acquired, processing the job... [2025-03-09 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:36:02] Production.INFO: ==31172== Releasing lock... [2025-03-09 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:36:03] Production.INFO: ==31179== Lock acquired, processing the job... [2025-03-09 08:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:36:03] Production.INFO: ==31185== Lock acquired, processing the job... [2025-03-09 08:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:36:03] Production.INFO: ==31177== Lock acquired, processing the job... [2025-03-09 08:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:36:04] Production.INFO: ==31181== Lock acquired, processing the job... [2025-03-09 08:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:36:04] Production.INFO: ==31179== Releasing lock... [2025-03-09 08:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:36:04] Production.INFO: ==31183== Lock acquired, processing the job... [2025-03-09 08:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:36:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:36:04] Production.INFO: ==31187== Lock acquired, processing the job... [2025-03-09 08:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:36:04] Production.ERROR: done [2025-03-09 08:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:36:04] Production.INFO: Account Balance Start. [2025-03-09 08:36:04] Production.INFO: CreateAllLog Start [2025-03-09 08:36:04] Production.INFO: 117 [2025-03-09 08:36:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:36:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 08:36:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:36:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:36:04] Production.INFO: count ==13 [2025-03-09 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-09 08:36:04] Production.INFO: count ==21 [2025-03-09 08:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641000') start [2025-03-09 08:36:04] Production.ERROR: done [2025-03-09 08:36:04] Production.INFO: Total Charge 0 [2025-03-09 08:36:04] Production.INFO: CreateAllLog End [2025-03-09 08:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641000') end [2025-03-09 08:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:36:04] Production.INFO: 1 [2025-03-09 08:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:36:04] Production.INFO: ==31187== Releasing lock... [2025-03-09 08:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:36:04] Production.INFO: Account Balance End. [2025-03-09 08:36:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:36:04] Production.INFO: ==31183== Releasing lock... [2025-03-09 08:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:36:05 [end_date_ymd] => 2025-03-09 08:36:05 [RateCDR] => 1 ) [2025-03-09 08:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:36:05' and `end` < '2025-03-09 08:36:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:36:12] Production.ERROR: CronJobId end10 [2025-03-09 08:36:12] Production.INFO: ==31181== Releasing lock... [2025-03-09 08:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:36:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:36:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:36:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:36:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:36:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:36:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:36:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:36:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:36:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:36:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:36:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:36:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:36:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:36:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:36:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:36:14] Production.INFO: call_cost start [2025-03-09 08:36:14] Production.INFO: call_cost end [2025-03-09 08:36:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:36:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:36:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:36:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:36:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:36:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:36:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:36:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:36:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:36:14] Production.INFO: ==31177== Releasing lock... [2025-03-09 08:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:36:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:36:17] Production.INFO: count ==50 [2025-03-09 08:36:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:36:05 - End Time 2025-03-09 08:36:05 [2025-03-09 08:36:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641001', 'tblTempUsageDetail_20' ) start [2025-03-09 08:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641001', 'tblTempUsageDetail_20' ) end [2025-03-09 08:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641001', 'tblTempVendorCDR_20' ) start [2025-03-09 08:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641001', 'tblTempVendorCDR_20' ) end [2025-03-09 08:36:17] Production.INFO: ProcessCDR(1,14641001,1,1,2) [2025-03-09 08:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641001', 'tblTempUsageDetail_20' ) start [2025-03-09 08:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641001', 'tblTempUsageDetail_20' ) end [2025-03-09 08:36:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:36:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:36:20] Production.INFO: ==31185== Releasing lock... [2025-03-09 08:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:36:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:37:01] Production.INFO: ==31240== Lock acquired, processing the job... [2025-03-09 12:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:37:01] Production.INFO: neon service started [2025-03-09 12:37:01] Production.INFO: neon service started [2025-03-09 12:37:01] Production.INFO: ==31240== Releasing lock... [2025-03-09 12:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:37:01] Production.INFO: ==31242== Lock acquired, processing the job... [2025-03-09 08:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:37:02] Production.INFO: ==31242== Releasing lock... [2025-03-09 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:37:02] Production.INFO: ==31244== Lock acquired, processing the job... [2025-03-09 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:37:02] Production.INFO: ==31244== Releasing lock... [2025-03-09 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:37:03] Production.INFO: ==31254== Lock acquired, processing the job... [2025-03-09 08:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:37:03] Production.INFO: ==31257== Lock acquired, processing the job... [2025-03-09 08:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:37:03] Production.INFO: ==31246== Lock acquired, processing the job... [2025-03-09 08:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:37:03] Production.INFO: ==31248== Lock acquired, processing the job... [2025-03-09 08:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:37:03] Production.INFO: ==31250== Lock acquired, processing the job... [2025-03-09 08:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:37:03] Production.INFO: ==31252== Lock acquired, processing the job... [2025-03-09 08:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:37:03] Production.INFO: Account Balance Start. [2025-03-09 08:37:03] Production.INFO: CreateAllLog Start [2025-03-09 08:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:37:03] Production.INFO: 117 [2025-03-09 08:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:37:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:37:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:37:03] Production.INFO: count ==13 [2025-03-09 08:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:37:03] Production.INFO: count ==21 [2025-03-09 08:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641004') start [2025-03-09 08:37:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:37:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:37:03] Production.INFO: ==31248== Releasing lock... [2025-03-09 08:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:37:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:37:03] Production.ERROR: done [2025-03-09 08:37:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:37:03] Production.INFO: Total Charge 0 [2025-03-09 08:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641004') end [2025-03-09 08:37:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:37:03] Production.INFO: 1 [2025-03-09 08:37:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:37:03] Production.INFO: CreateAllLog End [2025-03-09 08:37:03] Production.INFO: ==31257== Releasing lock... [2025-03-09 08:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:37:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:37:03] Production.ERROR: done [2025-03-09 08:37:03] Production.INFO: Account Balance End. [2025-03-09 08:37:03] Production.ERROR: CronJobId end 12 [2025-03-09 08:37:03] Production.INFO: ==31252== Releasing lock... [2025-03-09 08:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:37:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:37:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:37:04 [end_date_ymd] => 2025-03-09 08:37:04 [RateCDR] => 1 ) [2025-03-09 08:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:37:04' and `end` < '2025-03-09 08:37:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:37:11] Production.ERROR: CronJobId end10 [2025-03-09 08:37:11] Production.INFO: ==31250== Releasing lock... [2025-03-09 08:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:37:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:37:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:37:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:37:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:37:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:37:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:37:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:37:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:37:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:37:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:37:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:37:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:37:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:37:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:37:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:37:13] Production.INFO: call_cost start [2025-03-09 08:37:13] Production.INFO: call_cost end [2025-03-09 08:37:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:37:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:37:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:37:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:37:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:37:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:37:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:37:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:37:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:37:14] Production.INFO: ==31246== Releasing lock... [2025-03-09 08:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:37:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:37:16] Production.INFO: count ==50 [2025-03-09 08:37:16] Production.ERROR: pbx CDR StartTime 2025-03-09 05:37:04 - End Time 2025-03-09 08:37:04 [2025-03-09 08:37:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:37:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641006', 'tblTempUsageDetail_20' ) start [2025-03-09 08:37:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641006', 'tblTempUsageDetail_20' ) end [2025-03-09 08:37:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641006', 'tblTempVendorCDR_20' ) start [2025-03-09 08:37:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641006', 'tblTempVendorCDR_20' ) end [2025-03-09 08:37:16] Production.INFO: ProcessCDR(1,14641006,1,1,2) [2025-03-09 08:37:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:37:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:37:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:37:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:37:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641006', 'tblTempUsageDetail_20' ) start [2025-03-09 08:37:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641006', 'tblTempUsageDetail_20' ) end [2025-03-09 08:37:19] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:37:19] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:37:19] Production.INFO: ==31254== Releasing lock... [2025-03-09 08:37:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:37:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:38:01] Production.INFO: ==31314== Lock acquired, processing the job... [2025-03-09 12:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:38:01] Production.INFO: neon service started [2025-03-09 12:38:01] Production.INFO: neon service started [2025-03-09 12:38:01] Production.INFO: ==31314== Releasing lock... [2025-03-09 12:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:38:02] Production.INFO: ==31318== Lock acquired, processing the job... [2025-03-09 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:38:02] Production.INFO: ==31318== Releasing lock... [2025-03-09 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:38:02] Production.INFO: ==31316== Lock acquired, processing the job... [2025-03-09 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:38:02] Production.INFO: ==31316== Releasing lock... [2025-03-09 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:38:03] Production.INFO: ==31320== Lock acquired, processing the job... [2025-03-09 08:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:38:03] Production.INFO: ==31322== Lock acquired, processing the job... [2025-03-09 08:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:38:03] Production.INFO: ==31326== Lock acquired, processing the job... [2025-03-09 08:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:38:03] Production.INFO: Account Balance Start. [2025-03-09 08:38:03] Production.INFO: CreateAllLog Start [2025-03-09 08:38:03] Production.INFO: 117 [2025-03-09 08:38:03] Production.INFO: ==31324== Lock acquired, processing the job... [2025-03-09 08:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:38:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:38:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:38:03] Production.INFO: Total Charge 0 [2025-03-09 08:38:03] Production.INFO: CreateAllLog End [2025-03-09 08:38:03] Production.INFO: ==31328== Lock acquired, processing the job... [2025-03-09 08:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:38:03] Production.INFO: ==31331== Lock acquired, processing the job... [2025-03-09 08:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:38:03] Production.INFO: ==31322== Releasing lock... [2025-03-09 08:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:38:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:38:03] Production.INFO: Account Balance End. [2025-03-09 08:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:38:03] Production.ERROR: CronJobId end 12 [2025-03-09 08:38:03] Production.INFO: ==31326== Releasing lock... [2025-03-09 08:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:38:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:38:03] Production.INFO: count ==13 [2025-03-09 08: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-09 08:38:03] Production.INFO: count ==21 [2025-03-09 08:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641010') start [2025-03-09 08:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641010') end [2025-03-09 08:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:38:04] Production.INFO: 1 [2025-03-09 08:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:38:04] Production.ERROR: done [2025-03-09 08:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:38:04] Production.INFO: ==31331== Releasing lock... [2025-03-09 08:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:38:04] Production.ERROR: done [2025-03-09 08:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:38:05 [end_date_ymd] => 2025-03-09 08:38:05 [RateCDR] => 1 ) [2025-03-09 08:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:38:05' and `end` < '2025-03-09 08:38:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:38:11] Production.ERROR: CronJobId end10 [2025-03-09 08:38:11] Production.INFO: ==31324== Releasing lock... [2025-03-09 08:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:38:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:38:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:38:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:38:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:38:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:38:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:38:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:38:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:38:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:38:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:38:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:38:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:38:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:38:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:38:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:38:13] Production.INFO: call_cost start [2025-03-09 08:38:13] Production.INFO: call_cost end [2025-03-09 08:38:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:38:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:38:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:38:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:38:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:38:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:38:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:38:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:38:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:38:14] Production.INFO: ==31320== Releasing lock... [2025-03-09 08:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:38:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:38:17] Production.INFO: count ==50 [2025-03-09 08:38:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:38:05 - End Time 2025-03-09 08:38:05 [2025-03-09 08:38:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641011', 'tblTempUsageDetail_20' ) start [2025-03-09 08:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641011', 'tblTempUsageDetail_20' ) end [2025-03-09 08:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641011', 'tblTempVendorCDR_20' ) start [2025-03-09 08:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641011', 'tblTempVendorCDR_20' ) end [2025-03-09 08:38:17] Production.INFO: ProcessCDR(1,14641011,1,1,2) [2025-03-09 08:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:38:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641011', 'tblTempUsageDetail_20' ) start [2025-03-09 08:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641011', 'tblTempUsageDetail_20' ) end [2025-03-09 08:38:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:38:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:38:20] Production.INFO: ==31328== Releasing lock... [2025-03-09 08:38:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:38:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:39:02] Production.INFO: ==31387== Lock acquired, processing the job... [2025-03-09 12:39:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:39:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:39:02] Production.INFO: neon service started [2025-03-09 12:39:02] Production.INFO: neon service started [2025-03-09 12:39:02] Production.INFO: ==31387== Releasing lock... [2025-03-09 12:39:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:39:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:39:02] Production.INFO: ==31389== Lock acquired, processing the job... [2025-03-09 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:39:02] Production.INFO: ==31389== Releasing lock... [2025-03-09 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:39:02] Production.INFO: ==31391== Lock acquired, processing the job... [2025-03-09 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:39:03] Production.INFO: ==31391== Releasing lock... [2025-03-09 12:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:39:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:39:03] Production.INFO: ==31394== Lock acquired, processing the job... [2025-03-09 08:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:39:03] Production.INFO: ==31400== Lock acquired, processing the job... [2025-03-09 08:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:39:03] Production.INFO: ==31396== Lock acquired, processing the job... [2025-03-09 08:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:39:03] Production.INFO: ==31404== Lock acquired, processing the job... [2025-03-09 08:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:39:03] Production.INFO: ==31398== Lock acquired, processing the job... [2025-03-09 08:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:39:03] Production.INFO: ==31402== Lock acquired, processing the job... [2025-03-09 08:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:39:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08: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-09 08:39:04] Production.INFO: Account Balance Start. [2025-03-09 08:39:04] Production.INFO: CreateAllLog Start [2025-03-09 08:39:04] Production.INFO: 117 [2025-03-09 08:39:04] Production.INFO: count ==13 [2025-03-09 08:39:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 08: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-09 08:39:04] Production.INFO: count ==21 [2025-03-09 08:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641015') start [2025-03-09 08:39:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:39:04] Production.INFO: ==31396== Releasing lock... [2025-03-09 08:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:39:04] Production.INFO: Total Charge 0 [2025-03-09 08:39:04] Production.INFO: CreateAllLog End [2025-03-09 08:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641015') end [2025-03-09 08:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:39:04] Production.INFO: 1 [2025-03-09 08:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:39:04] Production.INFO: ==31404== Releasing lock... [2025-03-09 08:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:39:04] Production.INFO: Account Balance End. [2025-03-09 08:39:04] Production.ERROR: done [2025-03-09 08:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:39:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:39:04] Production.INFO: ==31400== Releasing lock... [2025-03-09 08:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:39:04] Production.ERROR: done [2025-03-09 08:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:39:05 [end_date_ymd] => 2025-03-09 08:39:05 [RateCDR] => 1 ) [2025-03-09 08:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:39:05' and `end` < '2025-03-09 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-09 08:39:11] Production.ERROR: CronJobId end10 [2025-03-09 08:39:11] Production.INFO: ==31398== Releasing lock... [2025-03-09 08:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:39:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:39:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:39:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:39:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:39:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:39:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:39:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:39:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:39:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:39:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:39:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:39:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:39:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:39:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:39:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:39:15] Production.INFO: call_cost start [2025-03-09 08:39:15] Production.INFO: call_cost end [2025-03-09 08:39:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:39:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:39:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:39:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:39:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:39:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:39:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:39:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:39:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:39:16] Production.INFO: ==31394== Releasing lock... [2025-03-09 08:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:39:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:39:17] Production.INFO: count ==50 [2025-03-09 08:39:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:39:05 - End Time 2025-03-09 08:39:05 [2025-03-09 08:39:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641016', 'tblTempUsageDetail_20' ) start [2025-03-09 08:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641016', 'tblTempUsageDetail_20' ) end [2025-03-09 08:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641016', 'tblTempVendorCDR_20' ) start [2025-03-09 08:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641016', 'tblTempVendorCDR_20' ) end [2025-03-09 08:39:17] Production.INFO: ProcessCDR(1,14641016,1,1,2) [2025-03-09 08:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641016', 'tblTempUsageDetail_20' ) start [2025-03-09 08:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641016', 'tblTempUsageDetail_20' ) end [2025-03-09 08:39:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:39:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:39:20] Production.INFO: ==31402== Releasing lock... [2025-03-09 08:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:39:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:40:01] Production.INFO: ==31495== Lock acquired, processing the job... [2025-03-09 12:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:40:01] Production.INFO: neon service started [2025-03-09 12:40:01] Production.INFO: neon service started [2025-03-09 12:40:01] Production.INFO: ==31495== Releasing lock... [2025-03-09 12:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:40:01] Production.INFO: ==31497== Lock acquired, processing the job... [2025-03-09 08:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:40:02] Production.INFO: ==31497== Releasing lock... [2025-03-09 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:40:02] Production.INFO: ==31499== Lock acquired, processing the job... [2025-03-09 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:40:02] Production.INFO: ==31499== Releasing lock... [2025-03-09 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:40:03] Production.INFO: ==31504== Lock acquired, processing the job... [2025-03-09 08:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:40:03] Production.INFO: ==31502== Lock acquired, processing the job... [2025-03-09 08:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 08:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 08:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 08:40:03] Production.ERROR: CronJob PID - 31504 [2025-03-09 08:40:03] Production.ERROR: CronJob Title - System Alerts [2025-03-09 08:40:03] Production.ERROR: CronJob ID - 5 [2025-03-09 08:40:03] Production.ERROR: CronJob Last Run Time 2025-03-09 08:40:00 [2025-03-09 08:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 08:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 08:40:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 08:40:03] Production.INFO: ==31502== Releasing lock... [2025-03-09 08:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 08:40:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 08:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:40:03] Production.INFO: ==31506== Lock acquired, processing the job... [2025-03-09 08:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:40:03] Production.INFO: ==31508== Lock acquired, processing the job... [2025-03-09 08:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:40:03] Production.INFO: ==31510== Lock acquired, processing the job... [2025-03-09 08:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:40:03] Production.INFO: ==31512== Lock acquired, processing the job... [2025-03-09 08:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:40:03] Production.INFO: Account Balance Start. [2025-03-09 08:40:03] Production.INFO: CreateAllLog Start [2025-03-09 08:40:03] Production.INFO: 117 [2025-03-09 08:40:03] Production.INFO: ==31514== Lock acquired, processing the job... [2025-03-09 08:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 08:40:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:40:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:40:03] Production.INFO: ==31516== Lock acquired, processing the job... [2025-03-09 08:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:40:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:40:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:40:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:40:04] Production.INFO: ==31506== Releasing lock... [2025-03-09 08:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:40:04] Production.INFO: Total Charge 0 [2025-03-09 08:40:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 08:40:04] Production.INFO: count ==13 [2025-03-09 08:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:40:04] Production.INFO: count ==21 [2025-03-09 08:40:04] Production.ERROR: done [2025-03-09 08:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641020') start [2025-03-09 08:40:04] Production.ERROR: done [2025-03-09 08:40:04] Production.ERROR: done [2025-03-09 08:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641020') end [2025-03-09 08:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:40:04] Production.INFO: 1 [2025-03-09 08:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:40:04] Production.INFO: Account Balance End. [2025-03-09 08:40:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:40:04] Production.INFO: ==31510== Releasing lock... [2025-03-09 08:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:40:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 08:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641022', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 08:40:04] Production.INFO: ==31516== Releasing lock... [2025-03-09 08:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:40:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:40:05 [end_date_ymd] => 2025-03-09 08:40:05 [RateCDR] => 1 ) [2025-03-09 08:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:40:05' and `end` < '2025-03-09 08:40:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641022', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 08:40:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 08:40:08] Production.INFO: ProcessCDR(1,14641022,1,1,2) [2025-03-09 08:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14641022,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14641022,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:40:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:40:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:40:08] Production.INFO: ==31514== Releasing lock... [2025-03-09 08:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 08:40:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 08:40:13] Production.ERROR: CronJobId end10 [2025-03-09 08:40:13] Production.INFO: ==31508== Releasing lock... [2025-03-09 08:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:40:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:40:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:40:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:40:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:40:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:40:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:40:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:40:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:40:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:40:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:40:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:40:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:40:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:40:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:40:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:40:15] Production.INFO: call_cost start [2025-03-09 08:40:15] Production.INFO: call_cost end [2025-03-09 08:40:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:40:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:40:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:40:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:40:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:40:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:40:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:40:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:40:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:40:16] Production.INFO: ==31504== Releasing lock... [2025-03-09 08:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:40:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:40:17] Production.INFO: count ==52 [2025-03-09 08:40:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:40:05 - End Time 2025-03-09 08:40:05 [2025-03-09 08:40:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:40:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641021', 'tblTempUsageDetail_20' ) start [2025-03-09 08:40:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641021', 'tblTempUsageDetail_20' ) end [2025-03-09 08:40:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641021', 'tblTempVendorCDR_20' ) start [2025-03-09 08:40:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641021', 'tblTempVendorCDR_20' ) end [2025-03-09 08:40:17] Production.INFO: ProcessCDR(1,14641021,1,1,2) [2025-03-09 08:40:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:40:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:40:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641021', 'tblTempUsageDetail_20' ) start [2025-03-09 08:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641021', 'tblTempUsageDetail_20' ) end [2025-03-09 08:40:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:40:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:40:21] Production.INFO: ==31512== Releasing lock... [2025-03-09 08:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:40:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:41:02] Production.INFO: ==31571== Lock acquired, processing the job... [2025-03-09 12:41:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:41:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:41:02] Production.INFO: neon service started [2025-03-09 12:41:02] Production.INFO: neon service started [2025-03-09 12:41:02] Production.INFO: ==31571== Releasing lock... [2025-03-09 12:41:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:41:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:41:02] Production.INFO: ==31573== Lock acquired, processing the job... [2025-03-09 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:41:02] Production.INFO: ==31575== Lock acquired, processing the job... [2025-03-09 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:41:02] Production.INFO: ==31575== Releasing lock... [2025-03-09 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:41:02] Production.INFO: ==31573== Releasing lock... [2025-03-09 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:41:03] Production.INFO: ==31578== Lock acquired, processing the job... [2025-03-09 08:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:41:03] Production.INFO: ==31582== Lock acquired, processing the job... [2025-03-09 08:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:41:03] Production.INFO: ==31580== Lock acquired, processing the job... [2025-03-09 08:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:41:03] Production.INFO: ==31588== Lock acquired, processing the job... [2025-03-09 08:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:41:03] Production.INFO: ==31584== Lock acquired, processing the job... [2025-03-09 08:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:41:03] Production.INFO: ==31586== Lock acquired, processing the job... [2025-03-09 08:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:41:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:41:04] Production.INFO: Account Balance Start. [2025-03-09 08:41:04] Production.INFO: CreateAllLog Start [2025-03-09 08:41:04] Production.INFO: 117 [2025-03-09 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-09 08:41:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:41:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:41:04] Production.INFO: count ==13 [2025-03-09 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-09 08:41:04] Production.INFO: count ==21 [2025-03-09 08:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641025') start [2025-03-09 08:41:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:41:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:41:04] Production.INFO: Total Charge 0 [2025-03-09 08:41:04] Production.INFO: CreateAllLog End [2025-03-09 08:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641025') end [2025-03-09 08:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:41:04] Production.INFO: 1 [2025-03-09 08:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:41:04] Production.INFO: ==31580== Releasing lock... [2025-03-09 08:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:41:04] Production.ERROR: done [2025-03-09 08:41:04] Production.INFO: ==31588== Releasing lock... [2025-03-09 08:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:41:04] Production.INFO: Account Balance End. [2025-03-09 08:41:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:41:04] Production.INFO: ==31584== Releasing lock... [2025-03-09 08:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:41:04] Production.ERROR: done [2025-03-09 08:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:41:05 [end_date_ymd] => 2025-03-09 08:41:05 [RateCDR] => 1 ) [2025-03-09 08:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:41:05' and `end` < '2025-03-09 08:41:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:41:11] Production.ERROR: CronJobId end10 [2025-03-09 08:41:11] Production.INFO: ==31582== Releasing lock... [2025-03-09 08:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:41:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:41:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:41:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:41:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:41:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:41:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:41:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:41:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:41:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:41:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:41:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:41:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:41:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:41:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:41:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:41:13] Production.INFO: call_cost start [2025-03-09 08:41:13] Production.INFO: call_cost end [2025-03-09 08:41:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:41:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:41:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:41:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:41:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:41:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:41:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:41:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:41:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:41:14] Production.INFO: ==31578== Releasing lock... [2025-03-09 08:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:41:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:41:17] Production.INFO: count ==52 [2025-03-09 08:41:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:41:05 - End Time 2025-03-09 08:41:05 [2025-03-09 08:41:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641027', 'tblTempUsageDetail_20' ) start [2025-03-09 08:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641027', 'tblTempUsageDetail_20' ) end [2025-03-09 08:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641027', 'tblTempVendorCDR_20' ) start [2025-03-09 08:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641027', 'tblTempVendorCDR_20' ) end [2025-03-09 08:41:17] Production.INFO: ProcessCDR(1,14641027,1,1,2) [2025-03-09 08:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641027', 'tblTempUsageDetail_20' ) start [2025-03-09 08:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641027', 'tblTempUsageDetail_20' ) end [2025-03-09 08:41:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:41:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:41:21] Production.INFO: ==31586== Releasing lock... [2025-03-09 08:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:41:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:42:01] Production.INFO: ==31641== Lock acquired, processing the job... [2025-03-09 12:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:42:01] Production.INFO: neon service started [2025-03-09 12:42:01] Production.INFO: neon service started [2025-03-09 12:42:01] Production.INFO: ==31641== Releasing lock... [2025-03-09 12:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:42:02] Production.INFO: ==31645== Lock acquired, processing the job... [2025-03-09 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:42:02] Production.INFO: ==31645== Releasing lock... [2025-03-09 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:42:02] Production.INFO: ==31643== Lock acquired, processing the job... [2025-03-09 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:42:02] Production.INFO: ==31643== Releasing lock... [2025-03-09 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:42:03] Production.INFO: ==31654== Lock acquired, processing the job... [2025-03-09 08:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:42:03] Production.INFO: ==31656== Lock acquired, processing the job... [2025-03-09 08:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:42:03] Production.INFO: Account Balance Start. [2025-03-09 08:42:03] Production.INFO: CreateAllLog Start [2025-03-09 08:42:03] Production.INFO: 117 [2025-03-09 08:42:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:42:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:42:03] Production.INFO: ==31648== Lock acquired, processing the job... [2025-03-09 08:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:42:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:42:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:42:03] Production.INFO: Total Charge 0 [2025-03-09 08:42:03] Production.INFO: CreateAllLog End [2025-03-09 08:42:03] Production.INFO: ==31652== Lock acquired, processing the job... [2025-03-09 08:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:42:03] Production.INFO: ==31650== Lock acquired, processing the job... [2025-03-09 08:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:42:03] Production.INFO: ==31658== Lock acquired, processing the job... [2025-03-09 08:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:42:03] Production.INFO: Account Balance End. [2025-03-09 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-09 08:42:03] Production.ERROR: CronJobId end 12 [2025-03-09 08:42:03] Production.INFO: ==31654== Releasing lock... [2025-03-09 08:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:42:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:42:03] Production.INFO: count ==13 [2025-03-09 08:42:03] Production.ERROR: done [2025-03-09 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-09 08:42:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:42:03] Production.INFO: count ==21 [2025-03-09 08:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641030') start [2025-03-09 08:42:03] Production.INFO: ==31650== Releasing lock... [2025-03-09 08:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:42:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:42:04] Production.ERROR: done [2025-03-09 08:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641030') end [2025-03-09 08:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:42:04] Production.INFO: 1 [2025-03-09 08:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:42:04] Production.INFO: ==31658== Releasing lock... [2025-03-09 08:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:42:04 [end_date_ymd] => 2025-03-09 08:42:04 [RateCDR] => 1 ) [2025-03-09 08:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:42:04' and `end` < '2025-03-09 08: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-09 08:42:11] Production.ERROR: CronJobId end10 [2025-03-09 08:42:11] Production.INFO: ==31652== Releasing lock... [2025-03-09 08:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:42:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:42:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:42:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:42:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:42:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:42:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:42:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:42:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:42:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:42:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:42:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:42:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:42:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:42:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:42:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:42:14] Production.INFO: call_cost start [2025-03-09 08:42:14] Production.INFO: call_cost end [2025-03-09 08:42:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:42:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:42:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:42:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:42:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:42:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:42:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:42:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:42:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:42:15] Production.INFO: ==31648== Releasing lock... [2025-03-09 08:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:42:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:42:16] Production.INFO: count ==52 [2025-03-09 08:42:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:42:04 - End Time 2025-03-09 08:42:04 [2025-03-09 08:42:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641032', 'tblTempUsageDetail_20' ) start [2025-03-09 08:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641032', 'tblTempUsageDetail_20' ) end [2025-03-09 08:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641032', 'tblTempVendorCDR_20' ) start [2025-03-09 08:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641032', 'tblTempVendorCDR_20' ) end [2025-03-09 08:42:17] Production.INFO: ProcessCDR(1,14641032,1,1,2) [2025-03-09 08:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:42:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:42:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:42:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641032', 'tblTempUsageDetail_20' ) start [2025-03-09 08:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641032', 'tblTempUsageDetail_20' ) end [2025-03-09 08:42:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:42:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:42:20] Production.INFO: ==31656== Releasing lock... [2025-03-09 08:42:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:42:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:43:01] Production.INFO: ==31711== Lock acquired, processing the job... [2025-03-09 12:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:43:01] Production.INFO: neon service started [2025-03-09 12:43:01] Production.INFO: neon service started [2025-03-09 12:43:01] Production.INFO: ==31711== Releasing lock... [2025-03-09 12:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:43:02] Production.INFO: ==31713== Lock acquired, processing the job... [2025-03-09 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:43:02] Production.INFO: ==31715== Lock acquired, processing the job... [2025-03-09 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:43:02] Production.INFO: ==31715== Releasing lock... [2025-03-09 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:43:02] Production.INFO: ==31713== Releasing lock... [2025-03-09 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:43:03] Production.INFO: ==31720== Lock acquired, processing the job... [2025-03-09 08:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:43:03] Production.INFO: ==31722== Lock acquired, processing the job... [2025-03-09 08:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:43:03] Production.INFO: ==31724== Lock acquired, processing the job... [2025-03-09 08:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:43:03] Production.INFO: Account Balance Start. [2025-03-09 08:43:03] Production.INFO: CreateAllLog Start [2025-03-09 08:43:03] Production.INFO: 117 [2025-03-09 08:43:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:43:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:43:03] Production.INFO: ==31718== Lock acquired, processing the job... [2025-03-09 08:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:43:03] Production.INFO: Total Charge 0 [2025-03-09 08:43:03] Production.INFO: CreateAllLog End [2025-03-09 08:43:03] Production.INFO: ==31720== Releasing lock... [2025-03-09 08:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:43:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:43:03] Production.INFO: ==31726== Lock acquired, processing the job... [2025-03-09 08:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:43:03] Production.INFO: ==31728== Lock acquired, processing the job... [2025-03-09 08:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:43:03] Production.INFO: Account Balance End. [2025-03-09 08:43:03] Production.ERROR: CronJobId end 12 [2025-03-09 08:43:03] Production.INFO: ==31724== Releasing lock... [2025-03-09 08:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:43:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:43:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:43:04] Production.INFO: count ==13 [2025-03-09 08:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:43:04] Production.INFO: count ==21 [2025-03-09 08:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641036') start [2025-03-09 08:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641036') end [2025-03-09 08:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:43:04] Production.INFO: 1 [2025-03-09 08:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:43:04] Production.INFO: ==31728== Releasing lock... [2025-03-09 08:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:43:04] Production.ERROR: done [2025-03-09 08:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:43:04] Production.ERROR: done [2025-03-09 08:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:43:05 [end_date_ymd] => 2025-03-09 08:43:05 [RateCDR] => 1 ) [2025-03-09 08:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:43:05' and `end` < '2025-03-09 08:43:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:43:12] Production.ERROR: CronJobId end10 [2025-03-09 08:43:12] Production.INFO: ==31722== Releasing lock... [2025-03-09 08:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:43:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:43:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:43:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:43:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:43:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:43:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:43:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:43:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:43:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:43:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:43:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:43:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:43:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:43:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:43:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:43:14] Production.INFO: call_cost start [2025-03-09 08:43:14] Production.INFO: call_cost end [2025-03-09 08:43:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:43:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:43:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:43:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:43:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:43:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:43:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:43:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:43:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:43:15] Production.INFO: ==31718== Releasing lock... [2025-03-09 08:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:43:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:43:17] Production.INFO: count ==52 [2025-03-09 08:43:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:43:05 - End Time 2025-03-09 08:43:05 [2025-03-09 08:43:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641037', 'tblTempUsageDetail_20' ) start [2025-03-09 08:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641037', 'tblTempUsageDetail_20' ) end [2025-03-09 08:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641037', 'tblTempVendorCDR_20' ) start [2025-03-09 08:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641037', 'tblTempVendorCDR_20' ) end [2025-03-09 08:43:17] Production.INFO: ProcessCDR(1,14641037,1,1,2) [2025-03-09 08:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:43:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641037', 'tblTempUsageDetail_20' ) start [2025-03-09 08:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641037', 'tblTempUsageDetail_20' ) end [2025-03-09 08:43:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:43:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:43:20] Production.INFO: ==31726== Releasing lock... [2025-03-09 08:43:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:43:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:44:02] Production.INFO: ==31788== Lock acquired, processing the job... [2025-03-09 12:44:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:44:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:44:02] Production.INFO: neon service started [2025-03-09 12:44:02] Production.INFO: neon service started [2025-03-09 12:44:02] Production.INFO: ==31788== Releasing lock... [2025-03-09 12:44:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:44:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:44:02] Production.INFO: ==31790== Lock acquired, processing the job... [2025-03-09 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:44:03] Production.INFO: ==31790== Releasing lock... [2025-03-09 08:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:44:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:44:03] Production.INFO: ==31792== Lock acquired, processing the job... [2025-03-09 12:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:44:03] Production.INFO: ==31792== Releasing lock... [2025-03-09 12:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:44:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:44:03] Production.INFO: ==31794== Lock acquired, processing the job... [2025-03-09 08:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:44:03] Production.INFO: ==31796== Lock acquired, processing the job... [2025-03-09 08:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:44:03] Production.INFO: ==31798== Lock acquired, processing the job... [2025-03-09 08:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:44:04] Production.INFO: ==31800== Lock acquired, processing the job... [2025-03-09 08:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:44:04] Production.INFO: ==31802== Lock acquired, processing the job... [2025-03-09 08:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:44:04] Production.INFO: ==31805== Lock acquired, processing the job... [2025-03-09 08:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:44:04] Production.INFO: Account Balance Start. [2025-03-09 08:44:04] Production.INFO: CreateAllLog Start [2025-03-09 08:44:04] Production.INFO: 117 [2025-03-09 08:44:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:44:04] Production.INFO: ==31796== Releasing lock... [2025-03-09 08:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:44:04] Production.INFO: count ==13 [2025-03-09 08:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:44:04] Production.INFO: count ==21 [2025-03-09 08:44:04] Production.ERROR: done [2025-03-09 08:44:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641041') start [2025-03-09 08:44:04] Production.INFO: Total Charge 0 [2025-03-09 08:44:04] Production.INFO: CreateAllLog End [2025-03-09 08:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641041') end [2025-03-09 08:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:44:04] Production.INFO: 1 [2025-03-09 08:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:44:04] Production.ERROR: done [2025-03-09 08:44:04] Production.INFO: ==31805== Releasing lock... [2025-03-09 08:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:44:04] Production.INFO: Account Balance End. [2025-03-09 08:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:44:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:44:04] Production.INFO: ==31800== Releasing lock... [2025-03-09 08:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:44:05 [end_date_ymd] => 2025-03-09 08:44:05 [RateCDR] => 1 ) [2025-03-09 08:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:44:05' and `end` < '2025-03-09 08:44:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:44:12] Production.ERROR: CronJobId end10 [2025-03-09 08:44:12] Production.INFO: ==31798== Releasing lock... [2025-03-09 08:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:44:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:44:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:44:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:44:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:44:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:44:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:44:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:44:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:44:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:44:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:44:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:44:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:44:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:44:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:44:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:44:13] Production.INFO: call_cost start [2025-03-09 08:44:13] Production.INFO: call_cost end [2025-03-09 08:44:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:44:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:44:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:44:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:44:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:44:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:44:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:44:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:44:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:44:14] Production.INFO: ==31794== Releasing lock... [2025-03-09 08:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:44:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:44:18] Production.INFO: count ==52 [2025-03-09 08:44:18] Production.ERROR: pbx CDR StartTime 2025-03-09 05:44:05 - End Time 2025-03-09 08:44:05 [2025-03-09 08:44:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641042', 'tblTempUsageDetail_20' ) start [2025-03-09 08:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641042', 'tblTempUsageDetail_20' ) end [2025-03-09 08:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641042', 'tblTempVendorCDR_20' ) start [2025-03-09 08:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641042', 'tblTempVendorCDR_20' ) end [2025-03-09 08:44:18] Production.INFO: ProcessCDR(1,14641042,1,1,2) [2025-03-09 08:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641042', 'tblTempUsageDetail_20' ) start [2025-03-09 08:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641042', 'tblTempUsageDetail_20' ) end [2025-03-09 08:44:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:44:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:44:21] Production.INFO: ==31802== Releasing lock... [2025-03-09 08:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:44:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:45:01] Production.INFO: ==31861== Lock acquired, processing the job... [2025-03-09 12:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:45:01] Production.INFO: neon service started [2025-03-09 12:45:01] Production.INFO: neon service started [2025-03-09 12:45:01] Production.INFO: ==31861== Releasing lock... [2025-03-09 12:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:45:02] Production.INFO: ==31864== Lock acquired, processing the job... [2025-03-09 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:45:02] Production.INFO: ==31866== Lock acquired, processing the job... [2025-03-09 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:45:02] Production.INFO: ==31866== Releasing lock... [2025-03-09 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:45:02] Production.INFO: ==31864== Releasing lock... [2025-03-09 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:45:03] Production.INFO: ==31868== Lock acquired, processing the job... [2025-03-09 08:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:45:03] Production.INFO: ==31870== Lock acquired, processing the job... [2025-03-09 08:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:45:03] Production.INFO: ==31876== Lock acquired, processing the job... [2025-03-09 08:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:45:03] Production.INFO: ==31872== Lock acquired, processing the job... [2025-03-09 08:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:45:03] Production.INFO: ==31874== Lock acquired, processing the job... [2025-03-09 08:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:45:03] Production.INFO: ==31870== Releasing lock... [2025-03-09 08:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:45:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:45:03] Production.INFO: ==31878== Lock acquired, processing the job... [2025-03-09 08:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:45:03] Production.INFO: Account Balance Start. [2025-03-09 08:45:03] Production.INFO: CreateAllLog Start [2025-03-09 08:45:03] Production.INFO: 117 [2025-03-09 08:45:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:45:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:45:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:45:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:45:03] Production.INFO: Total Charge 0 [2025-03-09 08:45:03] Production.INFO: CreateAllLog End [2025-03-09 08:45:03] Production.ERROR: done [2025-03-09 08:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:45:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:45:03] Production.INFO: count ==13 [2025-03-09 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-09 08:45:04] Production.INFO: count ==21 [2025-03-09 08:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641046') start [2025-03-09 08:45:04] Production.ERROR: done [2025-03-09 08:45:04] Production.INFO: Account Balance End. [2025-03-09 08:45:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:45:04] Production.INFO: ==31874== Releasing lock... [2025-03-09 08:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641046') end [2025-03-09 08:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:45:04] Production.INFO: 1 [2025-03-09 08:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:45:04] Production.INFO: ==31878== Releasing lock... [2025-03-09 08:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:45:05 [end_date_ymd] => 2025-03-09 08:45:05 [RateCDR] => 1 ) [2025-03-09 08:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:45:05' and `end` < '2025-03-09 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-09 08:45:12] Production.ERROR: CronJobId end10 [2025-03-09 08:45:12] Production.INFO: ==31872== Releasing lock... [2025-03-09 08:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:45:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:45:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:45:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:45:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:45:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:45:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:45:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:45:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:45:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:45:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:45:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:45:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:45:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:45:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:45:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:45:14] Production.INFO: call_cost start [2025-03-09 08:45:14] Production.INFO: call_cost end [2025-03-09 08:45:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:45:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:45:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:45:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:45:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:45:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:45:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:45:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:45:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:45:15] Production.INFO: ==31868== Releasing lock... [2025-03-09 08:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:45:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:45:17] Production.INFO: count ==52 [2025-03-09 08:45:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:45:05 - End Time 2025-03-09 08:45:05 [2025-03-09 08:45:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641047', 'tblTempUsageDetail_20' ) start [2025-03-09 08:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641047', 'tblTempUsageDetail_20' ) end [2025-03-09 08:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641047', 'tblTempVendorCDR_20' ) start [2025-03-09 08:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641047', 'tblTempVendorCDR_20' ) end [2025-03-09 08:45:17] Production.INFO: ProcessCDR(1,14641047,1,1,2) [2025-03-09 08:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641047', 'tblTempUsageDetail_20' ) start [2025-03-09 08:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641047', 'tblTempUsageDetail_20' ) end [2025-03-09 08:45:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:45:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:45:20] Production.INFO: ==31876== Releasing lock... [2025-03-09 08:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:45:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:46:02] Production.INFO: ==31932== Lock acquired, processing the job... [2025-03-09 12:46:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:46:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:46:02] Production.INFO: neon service started [2025-03-09 12:46:02] Production.INFO: neon service started [2025-03-09 12:46:02] Production.INFO: ==31932== Releasing lock... [2025-03-09 12:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:46:02] Production.INFO: ==31935== Lock acquired, processing the job... [2025-03-09 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:46:02] Production.INFO: ==31935== Releasing lock... [2025-03-09 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:46:03] Production.INFO: ==31937== Lock acquired, processing the job... [2025-03-09 12:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:46:03] Production.INFO: ==31937== Releasing lock... [2025-03-09 12:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:46:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:46:03] Production.INFO: ==31945== Lock acquired, processing the job... [2025-03-09 08:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:46:03] Production.INFO: ==31949== Lock acquired, processing the job... [2025-03-09 08:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:46:03] Production.INFO: Account Balance Start. [2025-03-09 08:46:03] Production.INFO: CreateAllLog Start [2025-03-09 08:46:03] Production.INFO: 117 [2025-03-09 08:46:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:46:04] Production.INFO: ==31939== Lock acquired, processing the job... [2025-03-09 08:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:46:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:46:04] Production.INFO: ==31941== Lock acquired, processing the job... [2025-03-09 08:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:46:04] Production.INFO: count ==13 [2025-03-09 08:46:04] Production.INFO: Total Charge 0 [2025-03-09 08:46:04] Production.INFO: CreateAllLog End [2025-03-09 08:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:46:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:46:04] Production.INFO: count ==21 [2025-03-09 08:46:04] Production.INFO: ==31943== Lock acquired, processing the job... [2025-03-09 08:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641049') start [2025-03-09 08:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:46:04] Production.INFO: ==31947== Lock acquired, processing the job... [2025-03-09 08:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641049') end [2025-03-09 08:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:46:04] Production.INFO: 1 [2025-03-09 08:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:46:04] Production.INFO: Account Balance End. [2025-03-09 08:46:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:46:04] Production.INFO: ==31945== Releasing lock... [2025-03-09 08:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:46:04] Production.INFO: ==31949== Releasing lock... [2025-03-09 08:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:46:04] Production.INFO: ==31941== Releasing lock... [2025-03-09 08:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:46:04] Production.ERROR: done [2025-03-09 08:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:46:04] Production.ERROR: done [2025-03-09 08:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:46:05 [end_date_ymd] => 2025-03-09 08:46:05 [RateCDR] => 1 ) [2025-03-09 08:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:46:05' and `end` < '2025-03-09 08:46:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:46:12] Production.ERROR: CronJobId end10 [2025-03-09 08:46:12] Production.INFO: ==31943== Releasing lock... [2025-03-09 08:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:46:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:46:14] Production.INFO: call_cost start [2025-03-09 08:46:14] Production.INFO: call_cost end [2025-03-09 08:46:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:46:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:46:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:46:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:46:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:46:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:46:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:46:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:46:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:46:15] Production.INFO: ==31939== Releasing lock... [2025-03-09 08:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:46:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:46:18] Production.INFO: count ==52 [2025-03-09 08:46:18] Production.ERROR: pbx CDR StartTime 2025-03-09 05:46:05 - End Time 2025-03-09 08:46:05 [2025-03-09 08:46:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641052', 'tblTempUsageDetail_20' ) start [2025-03-09 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641052', 'tblTempUsageDetail_20' ) end [2025-03-09 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641052', 'tblTempVendorCDR_20' ) start [2025-03-09 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641052', 'tblTempVendorCDR_20' ) end [2025-03-09 08:46:18] Production.INFO: ProcessCDR(1,14641052,1,1,2) [2025-03-09 08:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641052', 'tblTempUsageDetail_20' ) start [2025-03-09 08:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641052', 'tblTempUsageDetail_20' ) end [2025-03-09 08:46:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:46:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:46:21] Production.INFO: ==31947== Releasing lock... [2025-03-09 08:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:46:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:47:01] Production.INFO: ==32008== Lock acquired, processing the job... [2025-03-09 12:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:47:01] Production.INFO: neon service started [2025-03-09 12:47:01] Production.INFO: neon service started [2025-03-09 12:47:01] Production.INFO: ==32008== Releasing lock... [2025-03-09 12:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:47:02] Production.INFO: ==32010== Lock acquired, processing the job... [2025-03-09 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:47:02] Production.INFO: ==32010== Releasing lock... [2025-03-09 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:47:02] Production.INFO: ==32012== Lock acquired, processing the job... [2025-03-09 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:47:02] Production.INFO: ==32012== Releasing lock... [2025-03-09 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:47:03] Production.INFO: ==32020== Lock acquired, processing the job... [2025-03-09 08:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:47:03] Production.INFO: Account Balance Start. [2025-03-09 08:47:03] Production.INFO: CreateAllLog Start [2025-03-09 08:47:03] Production.INFO: 117 [2025-03-09 08:47:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:47:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:47:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:47:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:47:03] Production.INFO: Total Charge 0 [2025-03-09 08:47:03] Production.INFO: CreateAllLog End [2025-03-09 08:47:03] Production.INFO: Account Balance End. [2025-03-09 08:47:03] Production.ERROR: CronJobId end 12 [2025-03-09 08:47:03] Production.INFO: ==32020== Releasing lock... [2025-03-09 08:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:47:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:47:03] Production.INFO: ==32014== Lock acquired, processing the job... [2025-03-09 08:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:47:03] Production.INFO: ==32024== Lock acquired, processing the job... [2025-03-09 08:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:47:03] Production.INFO: ==32016== Lock acquired, processing the job... [2025-03-09 08:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:47:03] Production.INFO: ==32018== Lock acquired, processing the job... [2025-03-09 08:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:47:03] Production.INFO: ==32022== Lock acquired, processing the job... [2025-03-09 08:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:47:03] Production.INFO: count ==13 [2025-03-09 08:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:47:03] Production.INFO: count ==21 [2025-03-09 08:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641055') start [2025-03-09 08:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641055') end [2025-03-09 08:47:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:47:03] Production.INFO: 1 [2025-03-09 08:47:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:47:04] Production.ERROR: done [2025-03-09 08:47:04] Production.INFO: ==32016== Releasing lock... [2025-03-09 08:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:47:04] Production.INFO: ==32024== Releasing lock... [2025-03-09 08:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:47:04] Production.ERROR: done [2025-03-09 08:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:47:05 [end_date_ymd] => 2025-03-09 08:47:05 [RateCDR] => 1 ) [2025-03-09 08:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:47:05' and `end` < '2025-03-09 08:47:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:47:10] Production.ERROR: CronJobId end10 [2025-03-09 08:47:10] Production.INFO: ==32018== Releasing lock... [2025-03-09 08:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:47:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:47:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:47:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:47:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:47:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:47:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:47:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:47:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:47:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:47:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:47:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:47:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:47:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:47:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:47:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:47:13] Production.INFO: call_cost start [2025-03-09 08:47:13] Production.INFO: call_cost end [2025-03-09 08:47:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:47:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:47:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:47:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:47:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:47:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:47:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:47:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:47:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:47:14] Production.INFO: ==32014== Releasing lock... [2025-03-09 08:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:47:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:47:17] Production.INFO: count ==52 [2025-03-09 08:47:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:47:05 - End Time 2025-03-09 08:47:05 [2025-03-09 08:47:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641057', 'tblTempUsageDetail_20' ) start [2025-03-09 08:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641057', 'tblTempUsageDetail_20' ) end [2025-03-09 08:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641057', 'tblTempVendorCDR_20' ) start [2025-03-09 08:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641057', 'tblTempVendorCDR_20' ) end [2025-03-09 08:47:17] Production.INFO: ProcessCDR(1,14641057,1,1,2) [2025-03-09 08:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:47:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641057', 'tblTempUsageDetail_20' ) start [2025-03-09 08:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641057', 'tblTempUsageDetail_20' ) end [2025-03-09 08:47:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:47:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:47:20] Production.INFO: ==32022== Releasing lock... [2025-03-09 08:47:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:47:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:48:02] Production.INFO: ==32083== Lock acquired, processing the job... [2025-03-09 12:48:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:48:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:48:02] Production.INFO: neon service started [2025-03-09 12:48:02] Production.INFO: neon service started [2025-03-09 12:48:02] Production.INFO: ==32083== Releasing lock... [2025-03-09 12:48:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:48:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:48:02] Production.INFO: ==32087== Lock acquired, processing the job... [2025-03-09 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:48:02] Production.INFO: ==32087== Releasing lock... [2025-03-09 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:48:02] Production.INFO: ==32085== Lock acquired, processing the job... [2025-03-09 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:48:02] Production.INFO: ==32085== Releasing lock... [2025-03-09 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:48:03] Production.INFO: ==32090== Lock acquired, processing the job... [2025-03-09 08:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:48:03] Production.INFO: ==32092== Lock acquired, processing the job... [2025-03-09 08:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:48:04] Production.INFO: ==32100== Lock acquired, processing the job... [2025-03-09 08:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:48:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:48:04] Production.INFO: ==32094== Lock acquired, processing the job... [2025-03-09 08:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:48:04] Production.INFO: ==32096== Lock acquired, processing the job... [2025-03-09 08:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:48:04] Production.INFO: count ==13 [2025-03-09 08:48:04] Production.INFO: ==32098== Lock acquired, processing the job... [2025-03-09 08:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:48:04] Production.INFO: count ==21 [2025-03-09 08:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641059') start [2025-03-09 08:48:04] Production.INFO: Account Balance Start. [2025-03-09 08:48:04] Production.INFO: CreateAllLog Start [2025-03-09 08:48:04] Production.INFO: 117 [2025-03-09 08:48:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:48:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:48:04] Production.INFO: ==32092== Releasing lock... [2025-03-09 08:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641059') end [2025-03-09 08:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:48:04] Production.INFO: 1 [2025-03-09 08:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:48:04] Production.INFO: Total Charge 0 [2025-03-09 08:48:04] Production.INFO: CreateAllLog End [2025-03-09 08:48:04] Production.INFO: ==32100== Releasing lock... [2025-03-09 08:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:48:04] Production.ERROR: done [2025-03-09 08:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:48:04] Production.ERROR: done [2025-03-09 08:48:04] Production.INFO: Account Balance End. [2025-03-09 08:48:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:48:04] Production.INFO: ==32096== Releasing lock... [2025-03-09 08:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:48:05 [end_date_ymd] => 2025-03-09 08:48:05 [RateCDR] => 1 ) [2025-03-09 08:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:48:05' and `end` < '2025-03-09 08:48:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:48:11] Production.ERROR: CronJobId end10 [2025-03-09 08:48:11] Production.INFO: ==32094== Releasing lock... [2025-03-09 08:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:48:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:48:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:48:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:48:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:48:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:48:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:48:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:48:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:48:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:48:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:48:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:48:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:48:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:48:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:48:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:48:14] Production.INFO: call_cost start [2025-03-09 08:48:14] Production.INFO: call_cost end [2025-03-09 08:48:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:48:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:48:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:48:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:48:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:48:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:48:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:48:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:48:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:48:14] Production.INFO: ==32090== Releasing lock... [2025-03-09 08:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:48:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:48:17] Production.INFO: count ==52 [2025-03-09 08:48:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:48:05 - End Time 2025-03-09 08:48:05 [2025-03-09 08:48:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641062', 'tblTempUsageDetail_20' ) start [2025-03-09 08:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641062', 'tblTempUsageDetail_20' ) end [2025-03-09 08:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641062', 'tblTempVendorCDR_20' ) start [2025-03-09 08:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641062', 'tblTempVendorCDR_20' ) end [2025-03-09 08:48:17] Production.INFO: ProcessCDR(1,14641062,1,1,2) [2025-03-09 08:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:48:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641062', 'tblTempUsageDetail_20' ) start [2025-03-09 08:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641062', 'tblTempUsageDetail_20' ) end [2025-03-09 08:48:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:48:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:48:20] Production.INFO: ==32098== Releasing lock... [2025-03-09 08:48:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:48:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:49:01] Production.INFO: ==32155== Lock acquired, processing the job... [2025-03-09 12:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:49:01] Production.INFO: neon service started [2025-03-09 12:49:01] Production.INFO: neon service started [2025-03-09 12:49:01] Production.INFO: ==32155== Releasing lock... [2025-03-09 12:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:49:01] Production.INFO: ==32157== Lock acquired, processing the job... [2025-03-09 08:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:49:02] Production.INFO: ==32157== Releasing lock... [2025-03-09 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:49:02] Production.INFO: ==32159== Lock acquired, processing the job... [2025-03-09 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:49:02] Production.INFO: ==32159== Releasing lock... [2025-03-09 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:49:03] Production.INFO: ==32162== Lock acquired, processing the job... [2025-03-09 08:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:49:03] Production.INFO: ==32164== Lock acquired, processing the job... [2025-03-09 08:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:49:03] Production.INFO: ==32170== Lock acquired, processing the job... [2025-03-09 08:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:49:03] Production.INFO: ==32166== Lock acquired, processing the job... [2025-03-09 08:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:49:03] Production.INFO: ==32168== Lock acquired, processing the job... [2025-03-09 08:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:49:03] Production.INFO: ==32172== Lock acquired, processing the job... [2025-03-09 08:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:49:03] Production.INFO: ==32164== Releasing lock... [2025-03-09 08:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:49:03] Production.INFO: Account Balance Start. [2025-03-09 08:49:03] Production.INFO: CreateAllLog Start [2025-03-09 08:49:03] Production.INFO: 117 [2025-03-09 08:49:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:49:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:49:03] Production.ERROR: done [2025-03-09 08:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:49:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:49:03] Production.INFO: count ==13 [2025-03-09 08:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:49:03] Production.INFO: count ==21 [2025-03-09 08:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641066') start [2025-03-09 08:49:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:49:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641066') end [2025-03-09 08:49:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:49:03] Production.INFO: 1 [2025-03-09 08:49:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:49:03] Production.INFO: Total Charge 0 [2025-03-09 08:49:03] Production.INFO: ==32172== Releasing lock... [2025-03-09 08:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:49:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:49:03] Production.ERROR: done [2025-03-09 08:49:03] Production.INFO: CreateAllLog End [2025-03-09 08:49:03] Production.INFO: Account Balance End. [2025-03-09 08:49:03] Production.ERROR: CronJobId end 12 [2025-03-09 08:49:03] Production.INFO: ==32168== Releasing lock... [2025-03-09 08:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:49:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:49:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:49:04 [end_date_ymd] => 2025-03-09 08:49:04 [RateCDR] => 1 ) [2025-03-09 08:49:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:49:04' and `end` < '2025-03-09 08:49:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:49:11] Production.ERROR: CronJobId end10 [2025-03-09 08:49:11] Production.INFO: ==32166== Releasing lock... [2025-03-09 08:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:49:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:49:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:49:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:49:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:49:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:49:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:49:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:49:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:49:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:49:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:49:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:49:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:49:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:49:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:49:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:49:13] Production.INFO: call_cost start [2025-03-09 08:49:13] Production.INFO: call_cost end [2025-03-09 08:49:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:49:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:49:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:49:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:49:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:49:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:49:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:49:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:49:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:49:14] Production.INFO: ==32162== Releasing lock... [2025-03-09 08:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:49:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:49:16] Production.INFO: count ==52 [2025-03-09 08:49:16] Production.ERROR: pbx CDR StartTime 2025-03-09 05:49:04 - End Time 2025-03-09 08:49:04 [2025-03-09 08:49:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:49:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641067', 'tblTempUsageDetail_20' ) start [2025-03-09 08:49:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641067', 'tblTempUsageDetail_20' ) end [2025-03-09 08:49:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641067', 'tblTempVendorCDR_20' ) start [2025-03-09 08:49:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641067', 'tblTempVendorCDR_20' ) end [2025-03-09 08:49:16] Production.INFO: ProcessCDR(1,14641067,1,1,2) [2025-03-09 08:49:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:49:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:49:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641067', 'tblTempUsageDetail_20' ) start [2025-03-09 08:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641067', 'tblTempUsageDetail_20' ) end [2025-03-09 08:49:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:49:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:49:20] Production.INFO: ==32170== Releasing lock... [2025-03-09 08:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:49:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:50:02] Production.INFO: ==32226== Lock acquired, processing the job... [2025-03-09 12:50:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:50:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:50:02] Production.INFO: neon service started [2025-03-09 12:50:02] Production.INFO: neon service started [2025-03-09 12:50:02] Production.INFO: ==32226== Releasing lock... [2025-03-09 12:50:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:50:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:50:02] Production.INFO: ==32228== Lock acquired, processing the job... [2025-03-09 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:50:02] Production.INFO: ==32230== Lock acquired, processing the job... [2025-03-09 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:50:02] Production.INFO: ==32230== Releasing lock... [2025-03-09 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:50:03] Production.INFO: ==32228== Releasing lock... [2025-03-09 08:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:50:04] Production.INFO: ==32233== Lock acquired, processing the job... [2025-03-09 08:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 08:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 08:50:04] Production.INFO: ==32245== Lock acquired, processing the job... [2025-03-09 08:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 08:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 08:50:04] Production.INFO: ==32233== Releasing lock... [2025-03-09 08:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 08:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 08:50:04] Production.INFO: ==32247== Lock acquired, processing the job... [2025-03-09 08:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:50:04] Production.INFO: ==32235== Lock acquired, processing the job... [2025-03-09 08:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:50:04] Production.INFO: ==32237== Lock acquired, processing the job... [2025-03-09 08:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:50:04] Production.INFO: count ==13 [2025-03-09 08:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:50:04] Production.INFO: ==32239== Lock acquired, processing the job... [2025-03-09 08:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:50:04] Production.INFO: count ==21 [2025-03-09 08:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641068') start [2025-03-09 08:50:04] Production.INFO: ==32241== Lock acquired, processing the job... [2025-03-09 08:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:50:04] Production.INFO: ==32243== Lock acquired, processing the job... [2025-03-09 08:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:50:04] Production.ERROR: done [2025-03-09 08:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641068') end [2025-03-09 08:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:50:04] Production.INFO: 1 [2025-03-09 08:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:50:04] Production.INFO: Account Balance Start. [2025-03-09 08:50:04] Production.INFO: CreateAllLog Start [2025-03-09 08:50:04] Production.INFO: 117 [2025-03-09 08:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 08:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641072', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 08:50:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:50:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:50:04] Production.INFO: ==32247== Releasing lock... [2025-03-09 08:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:50:04] Production.INFO: Total Charge 0 [2025-03-09 08:50:04] Production.INFO: CreateAllLog End [2025-03-09 08:50:05] Production.ERROR: done [2025-03-09 08:50:05] Production.INFO: ==32237== Releasing lock... [2025-03-09 08:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:50:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:50:05] Production.ERROR: done [2025-03-09 08:50:05] Production.INFO: Account Balance End. [2025-03-09 08:50:05] Production.ERROR: CronJobId end 12 [2025-03-09 08:50:05] Production.INFO: ==32241== Releasing lock... [2025-03-09 08:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:50:06 [end_date_ymd] => 2025-03-09 08:50:06 [RateCDR] => 1 ) [2025-03-09 08:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:50:06' and `end` < '2025-03-09 08:50:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641072', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 08:50:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 08:50:08] Production.INFO: ProcessCDR(1,14641072,1,1,2) [2025-03-09 08:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14641072,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14641072,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:50:09] Production.INFO: ==32245== Releasing lock... [2025-03-09 08:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 08:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 08:50:13] Production.ERROR: CronJobId end10 [2025-03-09 08:50:13] Production.INFO: ==32239== Releasing lock... [2025-03-09 08:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:50:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:50:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:50:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:50:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:50:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:50:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:50:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:50:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:50:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:50:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:50:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:50:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:50:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:50:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:50:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:50:16] Production.INFO: call_cost start [2025-03-09 08:50:16] Production.INFO: call_cost end [2025-03-09 08:50:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:50:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:50:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:50:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:50:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:50:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:50:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:50:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:50:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:50:16] Production.INFO: ==32235== Releasing lock... [2025-03-09 08:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:50:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:50:18] Production.INFO: count ==52 [2025-03-09 08:50:18] Production.ERROR: pbx CDR StartTime 2025-03-09 05:50:06 - End Time 2025-03-09 08:50:06 [2025-03-09 08:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641073', 'tblTempUsageDetail_20' ) start [2025-03-09 08:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641073', 'tblTempUsageDetail_20' ) end [2025-03-09 08:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641073', 'tblTempVendorCDR_20' ) start [2025-03-09 08:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641073', 'tblTempVendorCDR_20' ) end [2025-03-09 08:50:18] Production.INFO: ProcessCDR(1,14641073,1,1,2) [2025-03-09 08:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641073', 'tblTempUsageDetail_20' ) start [2025-03-09 08:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641073', 'tblTempUsageDetail_20' ) end [2025-03-09 08:50:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:50:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:50:21] Production.INFO: ==32243== Releasing lock... [2025-03-09 08:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:50:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:51:01] Production.INFO: ==32301== Lock acquired, processing the job... [2025-03-09 12:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:51:01] Production.INFO: neon service started [2025-03-09 12:51:01] Production.INFO: neon service started [2025-03-09 12:51:01] Production.INFO: ==32301== Releasing lock... [2025-03-09 12:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:51:01] Production.INFO: ==32303== Lock acquired, processing the job... [2025-03-09 08:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:51:02] Production.INFO: ==32305== Lock acquired, processing the job... [2025-03-09 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:51:02] Production.INFO: ==32305== Releasing lock... [2025-03-09 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:51:02] Production.INFO: ==32303== Releasing lock... [2025-03-09 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:51:03] Production.INFO: ==32312== Lock acquired, processing the job... [2025-03-09 08:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:51:03] Production.INFO: ==32314== Lock acquired, processing the job... [2025-03-09 08:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:51:03] Production.INFO: Account Balance Start. [2025-03-09 08:51:03] Production.INFO: CreateAllLog Start [2025-03-09 08:51:03] Production.INFO: 117 [2025-03-09 08:51:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:51:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:51:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:51:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:51:03] Production.INFO: Total Charge 0 [2025-03-09 08:51:03] Production.INFO: CreateAllLog End [2025-03-09 08:51:03] Production.INFO: ==32308== Lock acquired, processing the job... [2025-03-09 08:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:51:03] Production.INFO: ==32310== Lock acquired, processing the job... [2025-03-09 08:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:51:03] Production.INFO: ==32316== Lock acquired, processing the job... [2025-03-09 08:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:51:03] Production.INFO: Account Balance End. [2025-03-09 08:51:03] Production.ERROR: CronJobId end 12 [2025-03-09 08:51:03] Production.INFO: ==32314== Releasing lock... [2025-03-09 08:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:51:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:51:03] Production.INFO: ==32318== Lock acquired, processing the job... [2025-03-09 08:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:51:03] Production.INFO: ==32310== Releasing lock... [2025-03-09 08:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:51:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:51:04] Production.ERROR: done [2025-03-09 08:51:04] Production.INFO: count ==13 [2025-03-09 08:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 08:51:04] Production.INFO: count ==21 [2025-03-09 08:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641077') start [2025-03-09 08:51:04] Production.ERROR: done [2025-03-09 08:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641077') end [2025-03-09 08:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:51:04] Production.INFO: 1 [2025-03-09 08:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:51:04] Production.INFO: ==32318== Releasing lock... [2025-03-09 08:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:51:05 [end_date_ymd] => 2025-03-09 08:51:05 [RateCDR] => 1 ) [2025-03-09 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-09 05:51:05' and `end` < '2025-03-09 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-09 08:51:11] Production.ERROR: CronJobId end10 [2025-03-09 08:51:11] Production.INFO: ==32312== Releasing lock... [2025-03-09 08:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:51:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:51:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:51:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:51:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:51:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:51:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:51:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:51:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:51:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:51:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:51:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:51:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:51:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:51:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:51:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:51:14] Production.INFO: call_cost start [2025-03-09 08:51:14] Production.INFO: call_cost end [2025-03-09 08:51:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:51:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:51:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:51:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:51:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:51:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:51:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:51:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:51:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:51:15] Production.INFO: ==32308== Releasing lock... [2025-03-09 08:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:51:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:51:17] Production.INFO: count ==52 [2025-03-09 08:51:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:51:05 - End Time 2025-03-09 08:51:05 [2025-03-09 08:51:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641078', 'tblTempUsageDetail_20' ) start [2025-03-09 08:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641078', 'tblTempUsageDetail_20' ) end [2025-03-09 08:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641078', 'tblTempVendorCDR_20' ) start [2025-03-09 08:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641078', 'tblTempVendorCDR_20' ) end [2025-03-09 08:51:17] Production.INFO: ProcessCDR(1,14641078,1,1,2) [2025-03-09 08:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641078', 'tblTempUsageDetail_20' ) start [2025-03-09 08:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641078', 'tblTempUsageDetail_20' ) end [2025-03-09 08:51:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:51:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:51:20] Production.INFO: ==32316== Releasing lock... [2025-03-09 08:51:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:51:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:52:01] Production.INFO: ==32372== Lock acquired, processing the job... [2025-03-09 12:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:52:01] Production.INFO: neon service started [2025-03-09 12:52:01] Production.INFO: neon service started [2025-03-09 12:52:01] Production.INFO: ==32372== Releasing lock... [2025-03-09 12:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:52:02] Production.INFO: ==32374== Lock acquired, processing the job... [2025-03-09 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:52:02] Production.INFO: ==32376== Lock acquired, processing the job... [2025-03-09 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:52:02] Production.INFO: ==32376== Releasing lock... [2025-03-09 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:52:03] Production.INFO: ==32374== Releasing lock... [2025-03-09 08:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:52:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:52:03] Production.INFO: ==32385== Lock acquired, processing the job... [2025-03-09 08:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:52:03] Production.INFO: ==32387== Lock acquired, processing the job... [2025-03-09 08:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:52:03] Production.INFO: Account Balance Start. [2025-03-09 08:52:03] Production.INFO: CreateAllLog Start [2025-03-09 08:52:03] Production.INFO: 117 [2025-03-09 08:52:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:52:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:52:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:52:04] Production.INFO: ==32379== Lock acquired, processing the job... [2025-03-09 08:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:52:04] Production.INFO: Total Charge 0 [2025-03-09 08:52:04] Production.INFO: CreateAllLog End [2025-03-09 08:52:04] Production.INFO: ==32381== Lock acquired, processing the job... [2025-03-09 08:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:52:04] Production.INFO: ==32383== Lock acquired, processing the job... [2025-03-09 08:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:52:04] Production.INFO: ==32389== Lock acquired, processing the job... [2025-03-09 08:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:52:04] Production.ERROR: done [2025-03-09 08:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 08:52:04] Production.INFO: Account Balance End. [2025-03-09 08:52:04] Production.INFO: count ==13 [2025-03-09 08:52:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:52:04] Production.INFO: ==32385== Releasing lock... [2025-03-09 08:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 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-09 08:52:04] Production.INFO: count ==21 [2025-03-09 08:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641081') start [2025-03-09 08:52:04] Production.ERROR: done [2025-03-09 08:52:04] Production.INFO: ==32381== Releasing lock... [2025-03-09 08:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641081') end [2025-03-09 08:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:52:04] Production.INFO: 1 [2025-03-09 08:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:52:04] Production.INFO: ==32389== Releasing lock... [2025-03-09 08:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:52:05 [end_date_ymd] => 2025-03-09 08:52:05 [RateCDR] => 1 ) [2025-03-09 08:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:52:05' and `end` < '2025-03-09 08:52:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:52:11] Production.ERROR: CronJobId end10 [2025-03-09 08:52:11] Production.INFO: ==32383== Releasing lock... [2025-03-09 08:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:52:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:52:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:52:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:52:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:52:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:52:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:52:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:52:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:52:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:52:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:52:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:52:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:52:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:52:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:52:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:52:14] Production.INFO: call_cost start [2025-03-09 08:52:14] Production.INFO: call_cost end [2025-03-09 08:52:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:52:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:52:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:52:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:52:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:52:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:52:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:52:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:52:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:52:15] Production.INFO: ==32379== Releasing lock... [2025-03-09 08:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:52:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:52:17] Production.INFO: count ==52 [2025-03-09 08:52:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:52:05 - End Time 2025-03-09 08:52:05 [2025-03-09 08:52:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641083', 'tblTempUsageDetail_20' ) start [2025-03-09 08:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641083', 'tblTempUsageDetail_20' ) end [2025-03-09 08:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641083', 'tblTempVendorCDR_20' ) start [2025-03-09 08:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641083', 'tblTempVendorCDR_20' ) end [2025-03-09 08:52:17] Production.INFO: ProcessCDR(1,14641083,1,1,2) [2025-03-09 08:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:52:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641083', 'tblTempUsageDetail_20' ) start [2025-03-09 08:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641083', 'tblTempUsageDetail_20' ) end [2025-03-09 08:52:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:52:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:52:20] Production.INFO: ==32387== Releasing lock... [2025-03-09 08:52:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:52:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:53:01] Production.INFO: ==32445== Lock acquired, processing the job... [2025-03-09 12:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:53:01] Production.INFO: neon service started [2025-03-09 12:53:01] Production.INFO: neon service started [2025-03-09 12:53:01] Production.INFO: ==32445== Releasing lock... [2025-03-09 12:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:53:01] Production.INFO: ==32449== Lock acquired, processing the job... [2025-03-09 12:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:53:01] Production.INFO: ==32449== Releasing lock... [2025-03-09 12:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:53:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:53:01] Production.INFO: ==32447== Lock acquired, processing the job... [2025-03-09 08:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:53:02] Production.INFO: ==32447== Releasing lock... [2025-03-09 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:53:02] Production.INFO: ==32452== Lock acquired, processing the job... [2025-03-09 08:53:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:53:02] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:53:03] Production.INFO: ==32454== Lock acquired, processing the job... [2025-03-09 08:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:53:03] Production.INFO: ==32460== Lock acquired, processing the job... [2025-03-09 08:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:53:03] Production.INFO: ==32456== Lock acquired, processing the job... [2025-03-09 08:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:53:03] Production.INFO: ==32458== Lock acquired, processing the job... [2025-03-09 08:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:53:03] Production.INFO: ==32462== Lock acquired, processing the job... [2025-03-09 08:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:53:03] Production.ERROR: done [2025-03-09 08:53:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:53:03] Production.INFO: ==32454== Releasing lock... [2025-03-09 08:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:53:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:53:03] Production.INFO: Account Balance Start. [2025-03-09 08:53:03] Production.INFO: CreateAllLog Start [2025-03-09 08:53:03] Production.INFO: 117 [2025-03-09 08:53:03] Production.INFO: count ==13 [2025-03-09 08:53:03] Production.ERROR: done [2025-03-09 08:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:53:03] Production.INFO: count ==21 [2025-03-09 08:53:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:53:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641086') start [2025-03-09 08:53:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:53:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:53:03] Production.INFO: Total Charge 0 [2025-03-09 08:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641086') end [2025-03-09 08:53:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:53:03] Production.INFO: 1 [2025-03-09 08:53:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:53:03] Production.INFO: CreateAllLog End [2025-03-09 08:53:03] Production.INFO: ==32462== Releasing lock... [2025-03-09 08:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:53:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:53:03] Production.INFO: Account Balance End. [2025-03-09 08:53:03] Production.ERROR: CronJobId end 12 [2025-03-09 08:53:03] Production.INFO: ==32458== Releasing lock... [2025-03-09 08:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:53:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:53:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:53:04 [end_date_ymd] => 2025-03-09 08:53:04 [RateCDR] => 1 ) [2025-03-09 08:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:53:04' and `end` < '2025-03-09 08:53:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:53:10] Production.ERROR: CronJobId end10 [2025-03-09 08:53:10] Production.INFO: ==32456== Releasing lock... [2025-03-09 08:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:53:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:53:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:53:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:53:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:53:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:53:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:53:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:53:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:53:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:53:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:53:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:53:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:53:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:53:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:53:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:53:13] Production.INFO: call_cost start [2025-03-09 08:53:13] Production.INFO: call_cost end [2025-03-09 08:53:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:53:13] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:53:13] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:53:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:53:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:53:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:53:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:53:13] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:53:13] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:53:13] Production.INFO: ==32452== Releasing lock... [2025-03-09 08:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:53:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:53:16] Production.INFO: count ==52 [2025-03-09 08:53:16] Production.ERROR: pbx CDR StartTime 2025-03-09 05:53:04 - End Time 2025-03-09 08:53:04 [2025-03-09 08:53:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:53:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641088', 'tblTempUsageDetail_20' ) start [2025-03-09 08:53:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641088', 'tblTempUsageDetail_20' ) end [2025-03-09 08:53:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641088', 'tblTempVendorCDR_20' ) start [2025-03-09 08:53:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641088', 'tblTempVendorCDR_20' ) end [2025-03-09 08:53:16] Production.INFO: ProcessCDR(1,14641088,1,1,2) [2025-03-09 08:53:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:53:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:53:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:53:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:53:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641088', 'tblTempUsageDetail_20' ) start [2025-03-09 08:53:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641088', 'tblTempUsageDetail_20' ) end [2025-03-09 08:53:19] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:53:19] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:53:19] Production.INFO: ==32460== Releasing lock... [2025-03-09 08:53:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:53:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:54:01] Production.INFO: ==32516== Lock acquired, processing the job... [2025-03-09 12:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:54:01] Production.INFO: neon service started [2025-03-09 12:54:01] Production.INFO: neon service started [2025-03-09 12:54:01] Production.INFO: ==32516== Releasing lock... [2025-03-09 12:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:54:02] Production.INFO: ==32520== Lock acquired, processing the job... [2025-03-09 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:54:02] Production.INFO: ==32520== Releasing lock... [2025-03-09 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:54:02] Production.INFO: ==32518== Lock acquired, processing the job... [2025-03-09 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:54:02] Production.INFO: ==32518== Releasing lock... [2025-03-09 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:54:03] Production.INFO: ==32525== Lock acquired, processing the job... [2025-03-09 08:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:54:03] Production.INFO: ==32523== Lock acquired, processing the job... [2025-03-09 08:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:54:03] Production.INFO: ==32531== Lock acquired, processing the job... [2025-03-09 08:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:54:03] Production.INFO: ==32529== Lock acquired, processing the job... [2025-03-09 08:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:54:03] Production.INFO: ==32527== Lock acquired, processing the job... [2025-03-09 08:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:54:03] Production.INFO: ==32533== Lock acquired, processing the job... [2025-03-09 08:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:54:03] Production.INFO: ==32525== Releasing lock... [2025-03-09 08:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:54:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:54:03] Production.INFO: Account Balance Start. [2025-03-09 08:54:03] Production.INFO: CreateAllLog Start [2025-03-09 08:54:03] Production.INFO: 117 [2025-03-09 08:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:54:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:54:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:54:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:54:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:54:03] Production.INFO: count ==13 [2025-03-09 08:54:03] Production.INFO: Total Charge 0 [2025-03-09 08:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:54:04] Production.INFO: CreateAllLog End [2025-03-09 08:54:04] Production.INFO: count ==21 [2025-03-09 08:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641092') start [2025-03-09 08:54:04] Production.ERROR: done [2025-03-09 08:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:54:04] Production.ERROR: done [2025-03-09 08:54:04] Production.INFO: Account Balance End. [2025-03-09 08:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641092') end [2025-03-09 08:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:54:04] Production.INFO: 1 [2025-03-09 08:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:54:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:54:04] Production.INFO: ==32529== Releasing lock... [2025-03-09 08:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:54:04] Production.INFO: ==32533== Releasing lock... [2025-03-09 08:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:54:05 [end_date_ymd] => 2025-03-09 08:54:05 [RateCDR] => 1 ) [2025-03-09 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-09 05:54:05' and `end` < '2025-03-09 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-09 08:54:11] Production.ERROR: CronJobId end10 [2025-03-09 08:54:11] Production.INFO: ==32527== Releasing lock... [2025-03-09 08:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:54:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:54:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:54:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:54:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:54:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:54:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:54:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:54:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:54:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:54:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:54:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:54:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:54:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:54:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:54:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:54:14] Production.INFO: call_cost start [2025-03-09 08:54:14] Production.INFO: call_cost end [2025-03-09 08:54:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:54:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:54:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:54:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:54:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:54:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:54:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:54:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:54:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:54:15] Production.INFO: ==32523== Releasing lock... [2025-03-09 08:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:54:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:54:17] Production.INFO: count ==52 [2025-03-09 08:54:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:54:05 - End Time 2025-03-09 08:54:05 [2025-03-09 08:54:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641093', 'tblTempUsageDetail_20' ) start [2025-03-09 08:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641093', 'tblTempUsageDetail_20' ) end [2025-03-09 08:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641093', 'tblTempVendorCDR_20' ) start [2025-03-09 08:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641093', 'tblTempVendorCDR_20' ) end [2025-03-09 08:54:17] Production.INFO: ProcessCDR(1,14641093,1,1,2) [2025-03-09 08:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:54:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641093', 'tblTempUsageDetail_20' ) start [2025-03-09 08:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641093', 'tblTempUsageDetail_20' ) end [2025-03-09 08:54:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:54:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:54:20] Production.INFO: ==32531== Releasing lock... [2025-03-09 08:54:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:54:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:55:02] Production.INFO: ==32588== Lock acquired, processing the job... [2025-03-09 12:55:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:55:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:55:02] Production.INFO: neon service started [2025-03-09 12:55:02] Production.INFO: neon service started [2025-03-09 12:55:02] Production.INFO: ==32588== Releasing lock... [2025-03-09 12:55:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:55:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:55:02] Production.INFO: ==32592== Lock acquired, processing the job... [2025-03-09 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:55:02] Production.INFO: ==32592== Releasing lock... [2025-03-09 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:55:02] Production.INFO: ==32590== Lock acquired, processing the job... [2025-03-09 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:55:02] Production.INFO: ==32590== Releasing lock... [2025-03-09 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:55:03] Production.INFO: ==32594== Lock acquired, processing the job... [2025-03-09 08:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:55:03] Production.INFO: ==32602== Lock acquired, processing the job... [2025-03-09 08:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:55:03] Production.INFO: ==32600== Lock acquired, processing the job... [2025-03-09 08:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:55:04] Production.INFO: ==32596== Lock acquired, processing the job... [2025-03-09 08:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:55:04] Production.INFO: ==32598== Lock acquired, processing the job... [2025-03-09 08:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:55:04] Production.INFO: Account Balance Start. [2025-03-09 08:55:04] Production.INFO: CreateAllLog Start [2025-03-09 08:55:04] Production.INFO: ==32604== Lock acquired, processing the job... [2025-03-09 08:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:55:04] Production.INFO: 117 [2025-03-09 08:55:04] Production.INFO: Date 2025-03-08 [2025-03-09 08:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:55:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:55:04] Production.INFO: Total Charge 0 [2025-03-09 08:55:04] Production.INFO: CreateAllLog End [2025-03-09 08:55:04] Production.ERROR: done [2025-03-09 08:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:55:04] Production.INFO: ==32596== Releasing lock... [2025-03-09 08:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:55:04] Production.ERROR: done [2025-03-09 08:55:04] Production.INFO: count ==13 [2025-03-09 08:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:55:04] Production.INFO: count ==21 [2025-03-09 08:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641097') start [2025-03-09 08:55:04] Production.INFO: Account Balance End. [2025-03-09 08:55:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:55:04] Production.INFO: ==32600== Releasing lock... [2025-03-09 08:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641097') end [2025-03-09 08:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:55:04] Production.INFO: 1 [2025-03-09 08:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:55:04] Production.INFO: ==32604== Releasing lock... [2025-03-09 08:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:55:05 [end_date_ymd] => 2025-03-09 08:55:05 [RateCDR] => 1 ) [2025-03-09 08:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:55:05' and `end` < '2025-03-09 08:55:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:55:11] Production.ERROR: CronJobId end10 [2025-03-09 08:55:11] Production.INFO: ==32598== Releasing lock... [2025-03-09 08:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:55:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:55:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:55:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:55:14] Production.INFO: call_cost start [2025-03-09 08:55:14] Production.INFO: call_cost end [2025-03-09 08:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:55:15] Production.INFO: ==32594== Releasing lock... [2025-03-09 08:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:55:17] Production.INFO: count ==52 [2025-03-09 08:55:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:55:05 - End Time 2025-03-09 08:55:05 [2025-03-09 08:55:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641098', 'tblTempUsageDetail_20' ) start [2025-03-09 08:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641098', 'tblTempUsageDetail_20' ) end [2025-03-09 08:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641098', 'tblTempVendorCDR_20' ) start [2025-03-09 08:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641098', 'tblTempVendorCDR_20' ) end [2025-03-09 08:55:17] Production.INFO: ProcessCDR(1,14641098,1,1,2) [2025-03-09 08:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:55:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641098', 'tblTempUsageDetail_20' ) start [2025-03-09 08:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641098', 'tblTempUsageDetail_20' ) end [2025-03-09 08:55:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:55:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:55:20] Production.INFO: ==32602== Releasing lock... [2025-03-09 08:55:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:55:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:56:01] Production.INFO: ==32698== Lock acquired, processing the job... [2025-03-09 12:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:56:01] Production.INFO: neon service started [2025-03-09 12:56:01] Production.INFO: neon service started [2025-03-09 12:56:01] Production.INFO: ==32698== Releasing lock... [2025-03-09 12:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:56:02] Production.INFO: ==32700== Lock acquired, processing the job... [2025-03-09 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:56:02] Production.INFO: ==32702== Lock acquired, processing the job... [2025-03-09 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:56:02] Production.INFO: ==32702== Releasing lock... [2025-03-09 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:56:02] Production.INFO: ==32700== Releasing lock... [2025-03-09 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:56:03] Production.INFO: ==32704== Lock acquired, processing the job... [2025-03-09 08:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:56:03] Production.INFO: ==32706== Lock acquired, processing the job... [2025-03-09 08:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:56:03] Production.INFO: ==32715== Lock acquired, processing the job... [2025-03-09 08:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:56:03] Production.INFO: ==32709== Lock acquired, processing the job... [2025-03-09 08:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:56:03] Production.INFO: ==32711== Lock acquired, processing the job... [2025-03-09 08:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:56:03] Production.INFO: ==32713== Lock acquired, processing the job... [2025-03-09 08:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:56:03] Production.INFO: Account Balance Start. [2025-03-09 08:56:03] Production.INFO: CreateAllLog Start [2025-03-09 08:56:03] Production.INFO: count ==13 [2025-03-09 08:56:03] Production.INFO: 117 [2025-03-09 08:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:56:03] Production.INFO: count ==21 [2025-03-09 08:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641101') start [2025-03-09 08:56:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:56:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:56:03] Production.INFO: ==32706== Releasing lock... [2025-03-09 08:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:56:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641101') end [2025-03-09 08:56:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:56:03] Production.INFO: 1 [2025-03-09 08:56:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:56:04] Production.INFO: Date 2025-03-09 [2025-03-09 08:56:04] Production.ERROR: done [2025-03-09 08:56:04] Production.INFO: Reseller ==> 0 [2025-03-09 08:56:04] Production.INFO: ==32715== Releasing lock... [2025-03-09 08:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:56:04] Production.INFO: Total Charge 0 [2025-03-09 08:56:04] Production.INFO: CreateAllLog End [2025-03-09 08:56:04] Production.ERROR: done [2025-03-09 08:56:04] Production.INFO: Account Balance End. [2025-03-09 08:56:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:56:04] Production.INFO: ==32711== Releasing lock... [2025-03-09 08:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:56:05 [end_date_ymd] => 2025-03-09 08:56:05 [RateCDR] => 1 ) [2025-03-09 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-09 05:56:05' and `end` < '2025-03-09 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-09 08:56:12] Production.ERROR: CronJobId end10 [2025-03-09 08:56:12] Production.INFO: ==32709== Releasing lock... [2025-03-09 08:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:56:15] Production.INFO: call_cost start [2025-03-09 08:56:15] Production.INFO: call_cost end [2025-03-09 08:56:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:56:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:56:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:56:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:56:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:56:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:56:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:56:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:56:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:56:15] Production.INFO: ==32704== Releasing lock... [2025-03-09 08:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:56:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:56:17] Production.INFO: count ==52 [2025-03-09 08:56:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:56:05 - End Time 2025-03-09 08:56:05 [2025-03-09 08:56:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641103', 'tblTempUsageDetail_20' ) start [2025-03-09 08:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641103', 'tblTempUsageDetail_20' ) end [2025-03-09 08:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641103', 'tblTempVendorCDR_20' ) start [2025-03-09 08:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641103', 'tblTempVendorCDR_20' ) end [2025-03-09 08:56:17] Production.INFO: ProcessCDR(1,14641103,1,1,2) [2025-03-09 08:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:56:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641103', 'tblTempUsageDetail_20' ) start [2025-03-09 08:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641103', 'tblTempUsageDetail_20' ) end [2025-03-09 08:56:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:56:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:56:20] Production.INFO: ==32713== Releasing lock... [2025-03-09 08:56:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:56:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:57:02] Production.INFO: ==32767== Lock acquired, processing the job... [2025-03-09 12:57:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:57:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:57:02] Production.INFO: neon service started [2025-03-09 12:57:02] Production.INFO: neon service started [2025-03-09 12:57:02] Production.INFO: ==32767== Releasing lock... [2025-03-09 12:57:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:57:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:57:02] Production.INFO: ==304== Lock acquired, processing the job... [2025-03-09 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:57:02] Production.INFO: ==304== Releasing lock... [2025-03-09 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:57:02] Production.INFO: ==302== Lock acquired, processing the job... [2025-03-09 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:57:02] Production.INFO: ==302== Releasing lock... [2025-03-09 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:57:03] Production.INFO: ==320== Lock acquired, processing the job... [2025-03-09 08:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:57:03] Production.INFO: Account Balance Start. [2025-03-09 08:57:03] Production.INFO: CreateAllLog Start [2025-03-09 08:57:03] Production.INFO: 117 [2025-03-09 08:57:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:57:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:57:03] Production.INFO: Total Charge 0 [2025-03-09 08:57:03] Production.INFO: CreateAllLog End [2025-03-09 08:57:03] Production.INFO: ==324== Lock acquired, processing the job... [2025-03-09 08:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:57:03] Production.INFO: Account Balance End. [2025-03-09 08:57:03] Production.ERROR: CronJobId end 12 [2025-03-09 08:57:03] Production.INFO: ==320== Releasing lock... [2025-03-09 08:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:57:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:57:04] Production.INFO: ==307== Lock acquired, processing the job... [2025-03-09 08:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:57:04] Production.INFO: ==316== Lock acquired, processing the job... [2025-03-09 08:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:57:04] Production.INFO: ==318== Lock acquired, processing the job... [2025-03-09 08:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:57:04] Production.INFO: count ==13 [2025-03-09 08:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:57:04] Production.INFO: count ==21 [2025-03-09 08:57:04] Production.INFO: ==322== Lock acquired, processing the job... [2025-03-09 08:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:57:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641105') start [2025-03-09 08:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641105') end [2025-03-09 08:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:57:04] Production.INFO: 1 [2025-03-09 08:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:57:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:57:04] Production.INFO: ==324== Releasing lock... [2025-03-09 08:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:57:04] Production.INFO: ==316== Releasing lock... [2025-03-09 08:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:57:04] Production.ERROR: done [2025-03-09 08:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:57:04] Production.ERROR: done [2025-03-09 08:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:57:05 [end_date_ymd] => 2025-03-09 08:57:05 [RateCDR] => 1 ) [2025-03-09 08:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:57:05' and `end` < '2025-03-09 08:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:57:12] Production.ERROR: CronJobId end10 [2025-03-09 08:57:12] Production.INFO: ==318== Releasing lock... [2025-03-09 08:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:57:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:57:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:57:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:57:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:57:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:57:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:57:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:57:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:57:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:57:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:57:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:57:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:57:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:57:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:57:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:57:14] Production.INFO: call_cost start [2025-03-09 08:57:14] Production.INFO: call_cost end [2025-03-09 08:57:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:57:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:57:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:57:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:57:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:57:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:57:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:57:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:57:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:57:15] Production.INFO: ==307== Releasing lock... [2025-03-09 08:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:57:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:57:17] Production.INFO: count ==52 [2025-03-09 08:57:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:57:05 - End Time 2025-03-09 08:57:05 [2025-03-09 08:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641108', 'tblTempUsageDetail_20' ) start [2025-03-09 08:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641108', 'tblTempUsageDetail_20' ) end [2025-03-09 08:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641108', 'tblTempVendorCDR_20' ) start [2025-03-09 08:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641108', 'tblTempVendorCDR_20' ) end [2025-03-09 08:57:17] Production.INFO: ProcessCDR(1,14641108,1,1,2) [2025-03-09 08:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641108', 'tblTempUsageDetail_20' ) start [2025-03-09 08:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641108', 'tblTempUsageDetail_20' ) end [2025-03-09 08:57:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:57:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:57:20] Production.INFO: ==322== Releasing lock... [2025-03-09 08:57:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:57:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:58:01] Production.INFO: ==395== Lock acquired, processing the job... [2025-03-09 12:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:58:01] Production.INFO: neon service started [2025-03-09 12:58:01] Production.INFO: neon service started [2025-03-09 12:58:01] Production.INFO: ==395== Releasing lock... [2025-03-09 12:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 08:58:01] Production.INFO: ==397== Lock acquired, processing the job... [2025-03-09 08:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:58:02] Production.INFO: ==397== Releasing lock... [2025-03-09 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:58:02] Production.INFO: ==399== Lock acquired, processing the job... [2025-03-09 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:58:02] Production.INFO: ==399== Releasing lock... [2025-03-09 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:58:02] Production.INFO: ==404== Lock acquired, processing the job... [2025-03-09 08:58:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:58:03] Production.INFO: ==406== Lock acquired, processing the job... [2025-03-09 08:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:58:03] Production.INFO: ==410== Lock acquired, processing the job... [2025-03-09 08:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:58:03] Production.INFO: ==402== Lock acquired, processing the job... [2025-03-09 08:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:58:03] Production.INFO: ==412== Lock acquired, processing the job... [2025-03-09 08:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:58:03] Production.INFO: ==408== Lock acquired, processing the job... [2025-03-09 08:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:58:03] Production.INFO: ==404== Releasing lock... [2025-03-09 08:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:58:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:58:03] Production.INFO: Account Balance Start. [2025-03-09 08:58:03] Production.INFO: CreateAllLog Start [2025-03-09 08:58:03] Production.INFO: 117 [2025-03-09 08:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:58:03] Production.INFO: count ==13 [2025-03-09 08:58:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:58:03] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 08:58:03] Production.ERROR: done [2025-03-09 08:58:03] Production.INFO: count ==21 [2025-03-09 08:58:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641111') start [2025-03-09 08:58:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:58:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:58:03] Production.INFO: Total Charge 0 [2025-03-09 08:58:03] Production.INFO: CreateAllLog End [2025-03-09 08:58:03] Production.ERROR: done [2025-03-09 08:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641111') end [2025-03-09 08:58:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:58:03] Production.INFO: 1 [2025-03-09 08:58:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:58:03] Production.INFO: Account Balance End. [2025-03-09 08:58:03] Production.INFO: ==412== Releasing lock... [2025-03-09 08:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:58:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:58:03] Production.ERROR: CronJobId end 12 [2025-03-09 08:58:03] Production.INFO: ==408== Releasing lock... [2025-03-09 08:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:58:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:58:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:58:04 [end_date_ymd] => 2025-03-09 08:58:04 [RateCDR] => 1 ) [2025-03-09 08:58:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 05:58:04' and `end` < '2025-03-09 08:58:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 08:58:10] Production.ERROR: CronJobId end10 [2025-03-09 08:58:10] Production.INFO: ==406== Releasing lock... [2025-03-09 08:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:58:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:58:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:58:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:58:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:58:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:58:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:58:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:58:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:58:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:58:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:58:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:58:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:58:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:58:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:58:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:58:13] Production.INFO: call_cost start [2025-03-09 08:58:13] Production.INFO: call_cost end [2025-03-09 08:58:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:58:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:58:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:58:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:58:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:58:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:58:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:58:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:58:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:58:14] Production.INFO: ==402== Releasing lock... [2025-03-09 08:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:58:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:58:16] Production.INFO: count ==52 [2025-03-09 08:58:16] Production.ERROR: pbx CDR StartTime 2025-03-09 05:58:04 - End Time 2025-03-09 08:58:04 [2025-03-09 08:58:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:58:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641113', 'tblTempUsageDetail_20' ) start [2025-03-09 08:58:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641113', 'tblTempUsageDetail_20' ) end [2025-03-09 08:58:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641113', 'tblTempVendorCDR_20' ) start [2025-03-09 08:58:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641113', 'tblTempVendorCDR_20' ) end [2025-03-09 08:58:16] Production.INFO: ProcessCDR(1,14641113,1,1,2) [2025-03-09 08:58:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:58:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:58:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:58:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:58:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641113', 'tblTempUsageDetail_20' ) start [2025-03-09 08:58:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641113', 'tblTempUsageDetail_20' ) end [2025-03-09 08:58:19] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:58:19] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:58:19] Production.INFO: ==410== Releasing lock... [2025-03-09 08:58:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:58:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:59:01] Production.INFO: ==467== Lock acquired, processing the job... [2025-03-09 12:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 12:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 12:59:01] Production.INFO: neon service started [2025-03-09 12:59:01] Production.INFO: neon service started [2025-03-09 12:59:01] Production.INFO: ==467== Releasing lock... [2025-03-09 12:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 12:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:59:02] Production.INFO: ==472== Lock acquired, processing the job... [2025-03-09 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:59:02] Production.INFO: ==472== Releasing lock... [2025-03-09 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 12:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 08:59:02] Production.INFO: ==469== Lock acquired, processing the job... [2025-03-09 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 08:59:02] Production.INFO: ==469== Releasing lock... [2025-03-09 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 08:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 08:59:03] Production.INFO: ==474== Lock acquired, processing the job... [2025-03-09 08:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 08:59:03] Production.INFO: ==481== Lock acquired, processing the job... [2025-03-09 08:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 08:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 08:59:03] Production.INFO: ==476== Lock acquired, processing the job... [2025-03-09 08:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 08:59:03] Production.INFO: Account Balance Start. [2025-03-09 08:59:03] Production.INFO: CreateAllLog Start [2025-03-09 08:59:03] Production.INFO: 117 [2025-03-09 08:59:03] Production.INFO: ==479== Lock acquired, processing the job... [2025-03-09 08:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 08:59:03] Production.INFO: Date 2025-03-08 [2025-03-09 08:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:59:03] Production.INFO: ==485== Lock acquired, processing the job... [2025-03-09 08:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 08:59:03] Production.INFO: Date 2025-03-09 [2025-03-09 08:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 08:59:03] Production.INFO: ==483== Lock acquired, processing the job... [2025-03-09 08:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 08:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 08:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 08:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 08:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 08:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 08:59:03] Production.INFO: Total Charge 0 [2025-03-09 08:59:03] Production.INFO: CreateAllLog End [2025-03-09 08:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:59:03] Production.INFO: count ==13 [2025-03-09 08:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 08:59:03] Production.INFO: count ==21 [2025-03-09 08:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641117') start [2025-03-09 08:59:04] Production.INFO: ==476== Releasing lock... [2025-03-09 08:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 08:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 08:59:04] Production.INFO: Account Balance End. [2025-03-09 08:59:04] Production.ERROR: done [2025-03-09 08:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 08:59:04] Production.ERROR: CronJobId end 12 [2025-03-09 08:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641117') end [2025-03-09 08:59:04] Production.INFO: ==481== Releasing lock... [2025-03-09 08:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 08:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 08:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 08:59:04] Production.INFO: 1 [2025-03-09 08:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 08:59:04] Production.INFO: ==485== Releasing lock... [2025-03-09 08:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 08:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 08:59:04] Production.ERROR: done [2025-03-09 08:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 05:59:05 [end_date_ymd] => 2025-03-09 08:59:05 [RateCDR] => 1 ) [2025-03-09 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-09 05:59:05' and `end` < '2025-03-09 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-09 08:59:11] Production.ERROR: CronJobId end10 [2025-03-09 08:59:11] Production.INFO: ==479== Releasing lock... [2025-03-09 08:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 08:59:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 08:59:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 08:59:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 08:59:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 08:59:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 08:59:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 08:59:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 08:59:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 08:59:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 08:59:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 08:59:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 08:59:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 08:59:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 08:59:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 08:59:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 08:59:13] Production.INFO: call_cost start [2025-03-09 08:59:13] Production.INFO: call_cost end [2025-03-09 08:59:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 08:59:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 08:59:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 08:59:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 08:59:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 08:59:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 08:59:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 08:59:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 08:59:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 08:59:14] Production.INFO: ==474== Releasing lock... [2025-03-09 08:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 08:59:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 08:59:17] Production.INFO: count ==55 [2025-03-09 08:59:17] Production.ERROR: pbx CDR StartTime 2025-03-09 05:59:05 - End Time 2025-03-09 08:59:05 [2025-03-09 08:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 08:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641118', 'tblTempUsageDetail_20' ) start [2025-03-09 08:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641118', 'tblTempUsageDetail_20' ) end [2025-03-09 08:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641118', 'tblTempVendorCDR_20' ) start [2025-03-09 08:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641118', 'tblTempVendorCDR_20' ) end [2025-03-09 08:59:17] Production.INFO: ProcessCDR(1,14641118,1,1,2) [2025-03-09 08:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 08:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 08:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641118', 'tblTempUsageDetail_20' ) start [2025-03-09 08:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641118', 'tblTempUsageDetail_20' ) end [2025-03-09 08:59:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 08:59:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 08:59:20] Production.INFO: ==483== Releasing lock... [2025-03-09 08:59:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 08:59:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:00:02] Production.INFO: ==541== Lock acquired, processing the job... [2025-03-09 13:00:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:00:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:00:02] Production.INFO: neon service started [2025-03-09 13:00:02] Production.INFO: neon service started [2025-03-09 13:00:02] Production.INFO: ==541== Releasing lock... [2025-03-09 13:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:00:02] Production.INFO: ==543== Lock acquired, processing the job... [2025-03-09 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:00:02] Production.INFO: ==545== Lock acquired, processing the job... [2025-03-09 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:00:02] Production.INFO: ==545== Releasing lock... [2025-03-09 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:00:03] Production.INFO: ==543== Releasing lock... [2025-03-09 09:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:00:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:00:04] Production.INFO: ==548== Lock acquired, processing the job... [2025-03-09 09:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 09:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 09:00:04] Production.INFO: ==552== Lock acquired, processing the job... [2025-03-09 09:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:00:04] Production.INFO: ==550== Lock acquired, processing the job... [2025-03-09 09:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 09:00:04] Production.INFO: ==548== Releasing lock... [2025-03-09 09:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 09:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 09:00:04] Production.INFO: ==558== Lock acquired, processing the job... [2025-03-09 09:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:00:04] Production.INFO: ==554== Lock acquired, processing the job... [2025-03-09 09:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:00:04] Production.INFO: ==560== Lock acquired, processing the job... [2025-03-09 09:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 09:00:04] Production.INFO: ==556== Lock acquired, processing the job... [2025-03-09 09:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:00:04] Production.INFO: Account Balance Start. [2025-03-09 09:00:04] Production.INFO: CreateAllLog Start [2025-03-09 09:00:04] Production.INFO: 117 [2025-03-09 09:00:04] Production.INFO: ==562== Lock acquired, processing the job... [2025-03-09 09:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:00:05] Production.INFO: Date 2025-03-08 [2025-03-09 09:00:05] Production.INFO: Reseller ==> 0 [2025-03-09 09:00:05] Production.ERROR: done [2025-03-09 09:00:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:00:05] Production.INFO: ==552== Releasing lock... [2025-03-09 09:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:00:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 09:00:05] Production.INFO: Date 2025-03-09 [2025-03-09 09:00:05] Production.INFO: Reseller ==> 0 [2025-03-09 09:00:05] Production.INFO: count ==13 [2025-03-09 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-09 09:00:05] Production.INFO: count ==21 [2025-03-09 09:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14641122') start [2025-03-09 09:00:05] Production.INFO: Total Charge 0 [2025-03-09 09:00:05] Production.INFO: CreateAllLog End [2025-03-09 09:00:05] Production.ERROR: done [2025-03-09 09:00:05] Production.ERROR: done [2025-03-09 09:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14641122') end [2025-03-09 09:00:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:00:05] Production.INFO: 1 [2025-03-09 09:00:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 09:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641123', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 09:00:05] Production.INFO: ==562== Releasing lock... [2025-03-09 09:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:00:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:00:05] Production.INFO: Account Balance End. [2025-03-09 09:00:05] Production.ERROR: CronJobId end 12 [2025-03-09 09:00:05] Production.INFO: ==556== Releasing lock... [2025-03-09 09:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:00:06 [end_date_ymd] => 2025-03-09 09:00:06 [RateCDR] => 1 ) [2025-03-09 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-09 06:00:06' and `end` < '2025-03-09 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-09 09:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641123', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 09:00:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 09:00:10] Production.INFO: ProcessCDR(1,14641123,1,1,2) [2025-03-09 09:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14641123,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14641123,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:00:10] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:00:10] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:00:10] Production.INFO: ==560== Releasing lock... [2025-03-09 09:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 09:00:10] Production.INFO: 26 MB #Memory Used# [2025-03-09 09:00:15] Production.ERROR: CronJobId end10 [2025-03-09 09:00:15] Production.INFO: ==554== Releasing lock... [2025-03-09 09:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:00:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:00:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:00:17] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:00:17] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:00:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:00:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:00:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:00:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:00:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:00:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:00:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:00:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:00:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:00:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:00:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:00:17] Production.INFO: call_cost start [2025-03-09 09:00:17] Production.INFO: call_cost end [2025-03-09 09:00:18] Production.INFO: count ==61 [2025-03-09 09:00:18] Production.ERROR: pbx CDR StartTime 2025-03-09 06:00:06 - End Time 2025-03-09 09:00:06 [2025-03-09 09:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641124', 'tblTempUsageDetail_20' ) start [2025-03-09 09:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641124', 'tblTempUsageDetail_20' ) end [2025-03-09 09:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641124', 'tblTempVendorCDR_20' ) start [2025-03-09 09:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641124', 'tblTempVendorCDR_20' ) end [2025-03-09 09:00:18] Production.INFO: ProcessCDR(1,14641124,1,1,2) [2025-03-09 09:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:00:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:00:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:00:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:00:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:00:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:00:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:00:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:00:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:00:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:00:18] Production.INFO: ==550== Releasing lock... [2025-03-09 09:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:00:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641124', 'tblTempUsageDetail_20' ) start [2025-03-09 09:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641124', 'tblTempUsageDetail_20' ) end [2025-03-09 09:00:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:00:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:00:21] Production.INFO: ==558== Releasing lock... [2025-03-09 09:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:00:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:01:01] Production.INFO: ==645== Lock acquired, processing the job... [2025-03-09 13:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:01:01] Production.INFO: neon service started [2025-03-09 13:01:01] Production.INFO: neon service started [2025-03-09 13:01:01] Production.INFO: ==645== Releasing lock... [2025-03-09 13:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:01:02] Production.INFO: ==662== Lock acquired, processing the job... [2025-03-09 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:01:02] Production.INFO: ==664== Lock acquired, processing the job... [2025-03-09 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:01:02] Production.INFO: ==664== Releasing lock... [2025-03-09 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:01:02] Production.INFO: ==662== Releasing lock... [2025-03-09 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:01:03] Production.INFO: ==674== Lock acquired, processing the job... [2025-03-09 09:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:01:03] Production.INFO: ==680== Lock acquired, processing the job... [2025-03-09 09:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:01:03] Production.INFO: ==683== Lock acquired, processing the job... [2025-03-09 09:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:01:03] Production.INFO: Account Balance Start. [2025-03-09 09:01:03] Production.INFO: CreateAllLog Start [2025-03-09 09:01:03] Production.INFO: 117 [2025-03-09 09:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:01:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:01:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:01:03] Production.INFO: ==670== Lock acquired, processing the job... [2025-03-09 09:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:01:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:01:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:01:03] Production.INFO: Total Charge 0 [2025-03-09 09:01:03] Production.INFO: CreateAllLog End [2025-03-09 09:01:03] Production.INFO: ==677== Lock acquired, processing the job... [2025-03-09 09:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:01:03] Production.INFO: ==674== Releasing lock... [2025-03-09 09:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:01:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:01:03] Production.INFO: ==690== Lock acquired, processing the job... [2025-03-09 09:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:01:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:01:04] Production.INFO: Account Balance End. [2025-03-09 09:01:04] Production.ERROR: done [2025-03-09 09:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:01:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:01:04] Production.INFO: ==680== Releasing lock... [2025-03-09 09:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:01:04] Production.INFO: count ==13 [2025-03-09 09:01:04] Production.ERROR: done [2025-03-09 09:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:01:04] Production.INFO: count ==21 [2025-03-09 09:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641128') start [2025-03-09 09:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641128') end [2025-03-09 09:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:01:04] Production.INFO: 1 [2025-03-09 09:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:01:04] Production.INFO: ==690== Releasing lock... [2025-03-09 09:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:01:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:01:04 [end_date_ymd] => 2025-03-09 09:01:04 [RateCDR] => 1 ) [2025-03-09 09:01:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:01:04' and `end` < '2025-03-09 09:01:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:01:05] Production.INFO: helper-LastRunTime===2025-03-09 09:01:00 [2025-03-09 09:01:05] Production.INFO: =diffInterval=0 [2025-03-09 09:01:06] Production.INFO: helper-LastRunTime===2025-03-09 09:01:00 [2025-03-09 09:01:06] Production.INFO: =diffInterval=0 [2025-03-09 09:01:07] Production.INFO: helper-LastRunTime===2025-03-09 09:01:00 [2025-03-09 09:01:07] Production.INFO: =diffInterval=0 [2025-03-09 09:01:08] Production.INFO: helper-LastRunTime===2025-03-09 09:01:00 [2025-03-09 09:01:08] Production.INFO: =diffInterval=0 [2025-03-09 09:01:09] Production.INFO: helper-LastRunTime===2025-03-09 09:01:00 [2025-03-09 09:01:09] Production.INFO: =diffInterval=0 [2025-03-09 09:01:10] Production.INFO: helper-LastRunTime===2025-03-09 09:01:00 [2025-03-09 09:01:10] Production.INFO: =diffInterval=0 [2025-03-09 09:01:10] Production.INFO: helper-LastRunTime===2025-03-09 09:01:00 [2025-03-09 09:01:10] Production.INFO: =diffInterval=0 [2025-03-09 09:01:11] Production.INFO: helper-LastRunTime===2025-03-09 09:01:00 [2025-03-09 09:01:11] Production.INFO: =diffInterval=0 [2025-03-09 09:01:12] Production.ERROR: CronJobId end10 [2025-03-09 09:01:12] Production.INFO: ==677== Releasing lock... [2025-03-09 09:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:01:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:01:12] Production.INFO: helper-LastRunTime===2025-03-09 09:01:00 [2025-03-09 09:01:12] Production.INFO: =diffInterval=0 [2025-03-09 09:01:13] Production.INFO: helper-LastRunTime===2025-03-09 09:01:00 [2025-03-09 09:01:13] Production.INFO: =diffInterval=0 [2025-03-09 09:01:13] Production.INFO: helper-LastRunTime===2025-03-09 09:01:00 [2025-03-09 09:01:13] Production.INFO: =diffInterval=0 [2025-03-09 09:01:14] Production.INFO: helper-LastRunTime===2025-03-09 09:01:00 [2025-03-09 09:01:14] Production.INFO: =diffInterval=0 [2025-03-09 09:01:14] Production.INFO: helper-LastRunTime===2025-03-09 09:01:00 [2025-03-09 09:01:14] Production.INFO: =diffInterval=0 [2025-03-09 09:01:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:01:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:01:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:01:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:01:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:01:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:01:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:01:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:01:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:01:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:01:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:01:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:01:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:01:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:01:15] Production.INFO: call_cost start [2025-03-09 09:01:15] Production.INFO: call_cost end [2025-03-09 09:01:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:01:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:01:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:01:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:01:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:01:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:01:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:01:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:01:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:01:16] Production.INFO: ==670== Releasing lock... [2025-03-09 09:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:01:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:01:17] Production.INFO: count ==58 [2025-03-09 09:01:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:01:04 - End Time 2025-03-09 09:01:04 [2025-03-09 09:01:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641129', 'tblTempUsageDetail_20' ) start [2025-03-09 09:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641129', 'tblTempUsageDetail_20' ) end [2025-03-09 09:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641129', 'tblTempVendorCDR_20' ) start [2025-03-09 09:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641129', 'tblTempVendorCDR_20' ) end [2025-03-09 09:01:17] Production.INFO: ProcessCDR(1,14641129,1,1,2) [2025-03-09 09:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:01:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641129', 'tblTempUsageDetail_20' ) start [2025-03-09 09:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641129', 'tblTempUsageDetail_20' ) end [2025-03-09 09:01:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:01:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:01:20] Production.INFO: ==683== Releasing lock... [2025-03-09 09:01:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:01:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:02:02] Production.INFO: ==775== Lock acquired, processing the job... [2025-03-09 13:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:02:02] Production.INFO: neon service started [2025-03-09 13:02:02] Production.INFO: neon service started [2025-03-09 13:02:02] Production.INFO: ==775== Releasing lock... [2025-03-09 13:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:02:02] Production.INFO: ==779== Lock acquired, processing the job... [2025-03-09 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:02:02] Production.INFO: ==777== Lock acquired, processing the job... [2025-03-09 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:02:02] Production.INFO: ==779== Releasing lock... [2025-03-09 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:02:03] Production.INFO: ==777== Releasing lock... [2025-03-09 09:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:02:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:02:03] Production.INFO: ==782== Lock acquired, processing the job... [2025-03-09 09:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:02:04] Production.INFO: ==786== Lock acquired, processing the job... [2025-03-09 09:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:02:04] Production.INFO: ==792== Lock acquired, processing the job... [2025-03-09 09:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:02:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 09:02:04] Production.INFO: count ==13 [2025-03-09 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-09 09:02:04] Production.INFO: count ==21 [2025-03-09 09:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641131') start [2025-03-09 09:02:04] Production.INFO: ==784== Lock acquired, processing the job... [2025-03-09 09:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:02:04] Production.INFO: ==788== Lock acquired, processing the job... [2025-03-09 09:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641131') end [2025-03-09 09:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:02:04] Production.INFO: 1 [2025-03-09 09:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:02:04] Production.INFO: ==790== Lock acquired, processing the job... [2025-03-09 09:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:02:04] Production.INFO: ==792== Releasing lock... [2025-03-09 09:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:02:04] Production.INFO: Account Balance Start. [2025-03-09 09:02:04] Production.INFO: CreateAllLog Start [2025-03-09 09:02:04] Production.INFO: 117 [2025-03-09 09:02:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:02:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:02:04] Production.INFO: Total Charge 0 [2025-03-09 09:02:04] Production.INFO: CreateAllLog End [2025-03-09 09:02:04] Production.INFO: ==784== Releasing lock... [2025-03-09 09:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:02:04] Production.INFO: Account Balance End. [2025-03-09 09:02:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:02:04] Production.INFO: ==788== Releasing lock... [2025-03-09 09:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:02:04] Production.ERROR: done [2025-03-09 09:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:02:05] Production.ERROR: done [2025-03-09 09:02:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:02:06 [end_date_ymd] => 2025-03-09 09:02:06 [RateCDR] => 1 ) [2025-03-09 09: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-09 06:02:06' and `end` < '2025-03-09 09: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-09 09:02:12] Production.ERROR: CronJobId end10 [2025-03-09 09:02:12] Production.INFO: ==786== Releasing lock... [2025-03-09 09:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:02:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:02:14] Production.INFO: call_cost start [2025-03-09 09:02:14] Production.INFO: call_cost end [2025-03-09 09:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:02:15] Production.INFO: ==782== Releasing lock... [2025-03-09 09:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:02:18] Production.INFO: count ==58 [2025-03-09 09:02:18] Production.ERROR: pbx CDR StartTime 2025-03-09 06:02:06 - End Time 2025-03-09 09:02:06 [2025-03-09 09:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641134', 'tblTempUsageDetail_20' ) start [2025-03-09 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641134', 'tblTempUsageDetail_20' ) end [2025-03-09 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641134', 'tblTempVendorCDR_20' ) start [2025-03-09 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641134', 'tblTempVendorCDR_20' ) end [2025-03-09 09:02:18] Production.INFO: ProcessCDR(1,14641134,1,1,2) [2025-03-09 09:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641134', 'tblTempUsageDetail_20' ) start [2025-03-09 09:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641134', 'tblTempUsageDetail_20' ) end [2025-03-09 09:02:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:02:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:02:21] Production.INFO: ==790== Releasing lock... [2025-03-09 09:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:02:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:03:01] Production.INFO: ==865== Lock acquired, processing the job... [2025-03-09 13:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:03:01] Production.INFO: neon service started [2025-03-09 13:03:01] Production.INFO: neon service started [2025-03-09 13:03:01] Production.INFO: ==865== Releasing lock... [2025-03-09 13:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:03:02] Production.INFO: ==867== Lock acquired, processing the job... [2025-03-09 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:03:02] Production.INFO: ==867== Releasing lock... [2025-03-09 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:03:02] Production.INFO: ==869== Lock acquired, processing the job... [2025-03-09 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:03:02] Production.INFO: ==869== Releasing lock... [2025-03-09 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:03:02] Production.INFO: 26 MB #Memory Used# [2025-03-09 09:03:03] Production.INFO: ==874== Lock acquired, processing the job... [2025-03-09 09:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:03:03] Production.INFO: ==880== Lock acquired, processing the job... [2025-03-09 09:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:03:03] Production.INFO: ==872== Lock acquired, processing the job... [2025-03-09 09:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:03:03] Production.INFO: ==874== Releasing lock... [2025-03-09 09:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:03:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:03:03] Production.INFO: ==876== Lock acquired, processing the job... [2025-03-09 09:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:03:03] Production.INFO: ==878== Lock acquired, processing the job... [2025-03-09 09:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:03:03] Production.INFO: ==882== Lock acquired, processing the job... [2025-03-09 09:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:03:03] Production.INFO: Account Balance Start. [2025-03-09 09:03:03] Production.INFO: CreateAllLog Start [2025-03-09 09:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:03:03] Production.INFO: 117 [2025-03-09 09:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:03:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:03:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:03:03] Production.INFO: count ==13 [2025-03-09 09:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:03:03] Production.INFO: count ==21 [2025-03-09 09:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641137') start [2025-03-09 09:03:03] Production.ERROR: done [2025-03-09 09:03:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:03:03] Production.INFO: Total Charge 0 [2025-03-09 09:03:03] Production.INFO: CreateAllLog End [2025-03-09 09:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641137') end [2025-03-09 09:03:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:03:03] Production.INFO: 1 [2025-03-09 09:03:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:03:04] Production.ERROR: done [2025-03-09 09:03:04] Production.INFO: ==882== Releasing lock... [2025-03-09 09:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:03:04] Production.INFO: Account Balance End. [2025-03-09 09:03:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:03:04] Production.INFO: ==878== Releasing lock... [2025-03-09 09:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:03:05 [end_date_ymd] => 2025-03-09 09:03:05 [RateCDR] => 1 ) [2025-03-09 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-09 06:03:05' and `end` < '2025-03-09 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-09 09:03:11] Production.ERROR: CronJobId end10 [2025-03-09 09:03:11] Production.INFO: ==876== Releasing lock... [2025-03-09 09:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:03:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:03:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:03:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:03:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:03:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:03:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:03:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:03:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:03:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:03:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:03:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:03:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:03:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:03:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:03:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:03:14] Production.INFO: call_cost start [2025-03-09 09:03:14] Production.INFO: call_cost end [2025-03-09 09:03:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:03:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:03:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:03:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:03:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:03:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:03:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:03:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:03:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:03:15] Production.INFO: ==872== Releasing lock... [2025-03-09 09:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:03:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:03:17] Production.INFO: count ==58 [2025-03-09 09:03:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:03:05 - End Time 2025-03-09 09:03:05 [2025-03-09 09:03:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641139', 'tblTempUsageDetail_20' ) start [2025-03-09 09:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641139', 'tblTempUsageDetail_20' ) end [2025-03-09 09:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641139', 'tblTempVendorCDR_20' ) start [2025-03-09 09:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641139', 'tblTempVendorCDR_20' ) end [2025-03-09 09:03:17] Production.INFO: ProcessCDR(1,14641139,1,1,2) [2025-03-09 09:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:03:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641139', 'tblTempUsageDetail_20' ) start [2025-03-09 09:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641139', 'tblTempUsageDetail_20' ) end [2025-03-09 09:03:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:03:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:03:20] Production.INFO: ==880== Releasing lock... [2025-03-09 09:03:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:03:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:04:02] Production.INFO: ==954== Lock acquired, processing the job... [2025-03-09 13:04:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:04:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:04:02] Production.INFO: neon service started [2025-03-09 13:04:02] Production.INFO: neon service started [2025-03-09 13:04:02] Production.INFO: ==954== Releasing lock... [2025-03-09 13:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:04:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:04:02] Production.INFO: ==958== Lock acquired, processing the job... [2025-03-09 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:04:02] Production.INFO: ==960== Lock acquired, processing the job... [2025-03-09 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:04:02] Production.INFO: ==960== Releasing lock... [2025-03-09 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:04:03] Production.INFO: ==958== Releasing lock... [2025-03-09 09:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:04:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:04:03] Production.INFO: ==967== Lock acquired, processing the job... [2025-03-09 09:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:04:03] Production.INFO: ==973== Lock acquired, processing the job... [2025-03-09 09:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:04:04] Production.INFO: ==962== Lock acquired, processing the job... [2025-03-09 09:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:04:04] Production.INFO: ==965== Lock acquired, processing the job... [2025-03-09 09:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:04:04] Production.INFO: count ==13 [2025-03-09 09:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:04:04] Production.INFO: ==969== Lock acquired, processing the job... [2025-03-09 09:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:04:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:04:04] Production.INFO: count ==21 [2025-03-09 09:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641140') start [2025-03-09 09:04:04] Production.INFO: ==971== Lock acquired, processing the job... [2025-03-09 09:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:04:04] Production.INFO: Account Balance Start. [2025-03-09 09:04:04] Production.INFO: CreateAllLog Start [2025-03-09 09:04:04] Production.INFO: 117 [2025-03-09 09:04:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641140') end [2025-03-09 09:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:04:04] Production.INFO: 1 [2025-03-09 09:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:04:04] Production.INFO: ==973== Releasing lock... [2025-03-09 09:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:04:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:04:04] Production.INFO: Total Charge 0 [2025-03-09 09:04:04] Production.INFO: CreateAllLog End [2025-03-09 09:04:04] Production.INFO: ==965== Releasing lock... [2025-03-09 09:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:04:04] Production.ERROR: done [2025-03-09 09:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:04:04] Production.INFO: Account Balance End. [2025-03-09 09:04:04] Production.ERROR: done [2025-03-09 09:04:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:04:04] Production.INFO: ==969== Releasing lock... [2025-03-09 09:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:04:05 [end_date_ymd] => 2025-03-09 09:04:05 [RateCDR] => 1 ) [2025-03-09 09:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:04:05' and `end` < '2025-03-09 09:04:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:04:11] Production.ERROR: CronJobId end10 [2025-03-09 09:04:11] Production.INFO: ==967== Releasing lock... [2025-03-09 09:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:04:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:04:14] Production.INFO: call_cost start [2025-03-09 09:04:14] Production.INFO: call_cost end [2025-03-09 09:04:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:04:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:04:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:04:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:04:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:04:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:04:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:04:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:04:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:04:15] Production.INFO: ==962== Releasing lock... [2025-03-09 09:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:04:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:04:17] Production.INFO: count ==55 [2025-03-09 09:04:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:04:05 - End Time 2025-03-09 09:04:05 [2025-03-09 09:04:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641144', 'tblTempUsageDetail_20' ) start [2025-03-09 09:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641144', 'tblTempUsageDetail_20' ) end [2025-03-09 09:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641144', 'tblTempVendorCDR_20' ) start [2025-03-09 09:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641144', 'tblTempVendorCDR_20' ) end [2025-03-09 09:04:17] Production.INFO: ProcessCDR(1,14641144,1,1,2) [2025-03-09 09:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641144', 'tblTempUsageDetail_20' ) start [2025-03-09 09:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641144', 'tblTempUsageDetail_20' ) end [2025-03-09 09:04:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:04:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:04:21] Production.INFO: ==971== Releasing lock... [2025-03-09 09:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:04:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:05:01] Production.INFO: ==1045== Lock acquired, processing the job... [2025-03-09 13:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:05:01] Production.INFO: neon service started [2025-03-09 13:05:01] Production.INFO: neon service started [2025-03-09 13:05:01] Production.INFO: ==1045== Releasing lock... [2025-03-09 13:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:05:02] Production.INFO: ==1047== Lock acquired, processing the job... [2025-03-09 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:05:02] Production.INFO: ==1049== Lock acquired, processing the job... [2025-03-09 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:05:02] Production.INFO: ==1049== Releasing lock... [2025-03-09 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:05:02] Production.INFO: ==1047== Releasing lock... [2025-03-09 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:05:03] Production.INFO: ==1052== Lock acquired, processing the job... [2025-03-09 09:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:05:03] Production.INFO: ==1056== Lock acquired, processing the job... [2025-03-09 09:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:05:03] Production.INFO: ==1058== Lock acquired, processing the job... [2025-03-09 09:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:05:03] Production.INFO: ==1054== Lock acquired, processing the job... [2025-03-09 09:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:05:03] Production.INFO: Account Balance Start. [2025-03-09 09:05:03] Production.INFO: CreateAllLog Start [2025-03-09 09:05:03] Production.INFO: 117 [2025-03-09 09:05:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:05:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:05:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:05:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:05:03] Production.INFO: Total Charge 0 [2025-03-09 09:05:03] Production.INFO: CreateAllLog End [2025-03-09 09:05:03] Production.INFO: ==1062== Lock acquired, processing the job... [2025-03-09 09:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:05:03] Production.INFO: ==1060== Lock acquired, processing the job... [2025-03-09 09:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:05:03] Production.INFO: Account Balance End. [2025-03-09 09:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:05:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:05:04] Production.INFO: ==1058== Releasing lock... [2025-03-09 09:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:05:04] Production.INFO: ==1054== Releasing lock... [2025-03-09 09:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:05:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:05:04] Production.INFO: count ==13 [2025-03-09 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-09 09:05:04] Production.INFO: count ==21 [2025-03-09 09:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641148') start [2025-03-09 09:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641148') end [2025-03-09 09:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:05:04] Production.INFO: 1 [2025-03-09 09:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:05:04] Production.INFO: ==1062== Releasing lock... [2025-03-09 09:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:05:04] Production.ERROR: done [2025-03-09 09:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:05:04] Production.ERROR: done [2025-03-09 09:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:05:05 [end_date_ymd] => 2025-03-09 09:05:05 [RateCDR] => 1 ) [2025-03-09 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-09 06:05:05' and `end` < '2025-03-09 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-09 09:05:11] Production.ERROR: CronJobId end10 [2025-03-09 09:05:11] Production.INFO: ==1056== Releasing lock... [2025-03-09 09:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:05:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:05:14] Production.INFO: call_cost start [2025-03-09 09:05:14] Production.INFO: call_cost end [2025-03-09 09:05:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:05:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:05:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:05:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:05:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:05:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:05:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:05:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:05:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:05:15] Production.INFO: ==1052== Releasing lock... [2025-03-09 09:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:05:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:05:17] Production.INFO: count ==55 [2025-03-09 09:05:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:05:05 - End Time 2025-03-09 09:05:05 [2025-03-09 09:05:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641149', 'tblTempUsageDetail_20' ) start [2025-03-09 09:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641149', 'tblTempUsageDetail_20' ) end [2025-03-09 09:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641149', 'tblTempVendorCDR_20' ) start [2025-03-09 09:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641149', 'tblTempVendorCDR_20' ) end [2025-03-09 09:05:17] Production.INFO: ProcessCDR(1,14641149,1,1,2) [2025-03-09 09:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641149', 'tblTempUsageDetail_20' ) start [2025-03-09 09:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641149', 'tblTempUsageDetail_20' ) end [2025-03-09 09:05:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:05:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:05:20] Production.INFO: ==1060== Releasing lock... [2025-03-09 09:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:05:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:06:02] Production.INFO: ==1147== Lock acquired, processing the job... [2025-03-09 13:06:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:06:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:06:02] Production.INFO: neon service started [2025-03-09 13:06:02] Production.INFO: neon service started [2025-03-09 13:06:02] Production.INFO: ==1147== Releasing lock... [2025-03-09 13:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:06:02] Production.INFO: ==1149== Lock acquired, processing the job... [2025-03-09 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:06:02] Production.INFO: ==1151== Lock acquired, processing the job... [2025-03-09 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:06:02] Production.INFO: ==1151== Releasing lock... [2025-03-09 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:06:02] Production.INFO: ==1149== Releasing lock... [2025-03-09 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:06:03] Production.INFO: ==1156== Lock acquired, processing the job... [2025-03-09 09:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:06:03] Production.INFO: ==1160== Lock acquired, processing the job... [2025-03-09 09:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:06:03] Production.INFO: Account Balance Start. [2025-03-09 09:06:03] Production.INFO: CreateAllLog Start [2025-03-09 09:06:03] Production.INFO: 117 [2025-03-09 09:06:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:06:03] Production.INFO: ==1164== Lock acquired, processing the job... [2025-03-09 09:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:06:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:06:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:06:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:06:03] Production.INFO: ==1156== Releasing lock... [2025-03-09 09:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:06:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:06:03] Production.INFO: Total Charge 0 [2025-03-09 09:06:03] Production.INFO: CreateAllLog End [2025-03-09 09:06:03] Production.INFO: ==1154== Lock acquired, processing the job... [2025-03-09 09:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:06:04] Production.INFO: ==1158== Lock acquired, processing the job... [2025-03-09 09:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:06:04] Production.INFO: count ==13 [2025-03-09 09:06:04] Production.INFO: ==1162== Lock acquired, processing the job... [2025-03-09 09:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:06:04] Production.INFO: Account Balance End. [2025-03-09 09:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:06:04] Production.INFO: count ==21 [2025-03-09 09:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641152') start [2025-03-09 09:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:06:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:06:04] Production.INFO: ==1160== Releasing lock... [2025-03-09 09:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641152') end [2025-03-09 09:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:06:04] Production.INFO: 1 [2025-03-09 09:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:06:04] Production.INFO: ==1164== Releasing lock... [2025-03-09 09:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:06:04] Production.ERROR: done [2025-03-09 09:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:06:04] Production.ERROR: done [2025-03-09 09:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:06:05 [end_date_ymd] => 2025-03-09 09:06:05 [RateCDR] => 1 ) [2025-03-09 09:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:06:05' and `end` < '2025-03-09 09:06:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:06:11] Production.ERROR: CronJobId end10 [2025-03-09 09:06:11] Production.INFO: ==1158== Releasing lock... [2025-03-09 09:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:06:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:06:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:06:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:06:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:06:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:06:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:06:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:06:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:06:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:06:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:06:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:06:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:06:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:06:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:06:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:06:13] Production.INFO: call_cost start [2025-03-09 09:06:13] Production.INFO: call_cost end [2025-03-09 09:06:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:06:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:06:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:06:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:06:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:06:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:06:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:06:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:06:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:06:14] Production.INFO: ==1154== Releasing lock... [2025-03-09 09:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:06:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:06:17] Production.INFO: count ==55 [2025-03-09 09:06:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:06:05 - End Time 2025-03-09 09:06:05 [2025-03-09 09:06:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641154', 'tblTempUsageDetail_20' ) start [2025-03-09 09:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641154', 'tblTempUsageDetail_20' ) end [2025-03-09 09:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641154', 'tblTempVendorCDR_20' ) start [2025-03-09 09:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641154', 'tblTempVendorCDR_20' ) end [2025-03-09 09:06:17] Production.INFO: ProcessCDR(1,14641154,1,1,2) [2025-03-09 09:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:06:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:06:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:06:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:06:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641154', 'tblTempUsageDetail_20' ) start [2025-03-09 09:06:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641154', 'tblTempUsageDetail_20' ) end [2025-03-09 09:06:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:06:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:06:20] Production.INFO: ==1162== Releasing lock... [2025-03-09 09:06:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:06:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:07:01] Production.INFO: ==1245== Lock acquired, processing the job... [2025-03-09 13:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:07:01] Production.INFO: neon service started [2025-03-09 13:07:01] Production.INFO: neon service started [2025-03-09 13:07:01] Production.INFO: ==1245== Releasing lock... [2025-03-09 13:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:07:01] Production.INFO: ==1247== Lock acquired, processing the job... [2025-03-09 09:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:07:02] Production.INFO: ==1247== Releasing lock... [2025-03-09 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:07:02] Production.INFO: ==1251== Lock acquired, processing the job... [2025-03-09 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:07:02] Production.INFO: ==1251== Releasing lock... [2025-03-09 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:07:03] Production.INFO: ==1264== Lock acquired, processing the job... [2025-03-09 09:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:07:03] Production.INFO: ==1269== Lock acquired, processing the job... [2025-03-09 09:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:07:03] Production.INFO: count ==13 [2025-03-09 09:07:03] Production.INFO: ==1256== Lock acquired, processing the job... [2025-03-09 09:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:07:03] Production.INFO: Account Balance Start. [2025-03-09 09:07:03] Production.INFO: CreateAllLog Start [2025-03-09 09:07:03] Production.INFO: 117 [2025-03-09 09:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:07:03] Production.INFO: count ==21 [2025-03-09 09:07:03] Production.INFO: ==1260== Lock acquired, processing the job... [2025-03-09 09:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:07:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:07:03] Production.INFO: ==1262== Lock acquired, processing the job... [2025-03-09 09:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641155') start [2025-03-09 09:07:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:07:03] Production.INFO: Total Charge 0 [2025-03-09 09:07:03] Production.INFO: ==1267== Lock acquired, processing the job... [2025-03-09 09:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:07:03] Production.INFO: CreateAllLog End [2025-03-09 09:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641155') end [2025-03-09 09:07:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:07:03] Production.INFO: 1 [2025-03-09 09:07:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:07:03] Production.INFO: ==1269== Releasing lock... [2025-03-09 09:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:07:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:07:03] Production.INFO: Account Balance End. [2025-03-09 09:07:03] Production.ERROR: CronJobId end 12 [2025-03-09 09:07:03] Production.INFO: ==1264== Releasing lock... [2025-03-09 09:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:07:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:07:03] Production.INFO: ==1260== Releasing lock... [2025-03-09 09:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:07:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:07:03] Production.ERROR: done [2025-03-09 09:07:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:07:03] Production.ERROR: done [2025-03-09 09:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:07:04 [end_date_ymd] => 2025-03-09 09:07:04 [RateCDR] => 1 ) [2025-03-09 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-09 06:07:04' and `end` < '2025-03-09 09:07:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:07:11] Production.ERROR: CronJobId end10 [2025-03-09 09:07:11] Production.INFO: ==1262== Releasing lock... [2025-03-09 09:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:07:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:07:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:07:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:07:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:07:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:07:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:07:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:07:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:07:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:07:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:07:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:07:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:07:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:07:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:07:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:07:13] Production.INFO: call_cost start [2025-03-09 09:07:13] Production.INFO: call_cost end [2025-03-09 09:07:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:07:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:07:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:07:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:07:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:07:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:07:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:07:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:07:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:07:14] Production.INFO: ==1256== Releasing lock... [2025-03-09 09:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:07:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:07:17] Production.INFO: count ==55 [2025-03-09 09:07:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:07:04 - End Time 2025-03-09 09:07:04 [2025-03-09 09:07:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641159', 'tblTempUsageDetail_20' ) start [2025-03-09 09:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641159', 'tblTempUsageDetail_20' ) end [2025-03-09 09:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641159', 'tblTempVendorCDR_20' ) start [2025-03-09 09:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641159', 'tblTempVendorCDR_20' ) end [2025-03-09 09:07:17] Production.INFO: ProcessCDR(1,14641159,1,1,2) [2025-03-09 09:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:07:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641159', 'tblTempUsageDetail_20' ) start [2025-03-09 09:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641159', 'tblTempUsageDetail_20' ) end [2025-03-09 09:07:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:07:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:07:20] Production.INFO: ==1267== Releasing lock... [2025-03-09 09:07:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:07:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:08:01] Production.INFO: ==1346== Lock acquired, processing the job... [2025-03-09 13:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:08:01] Production.INFO: neon service started [2025-03-09 13:08:01] Production.INFO: neon service started [2025-03-09 13:08:01] Production.INFO: ==1346== Releasing lock... [2025-03-09 13:08:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:08:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:08:02] Production.INFO: ==1350== Lock acquired, processing the job... [2025-03-09 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:08:02] Production.INFO: ==1350== Releasing lock... [2025-03-09 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:08:02] Production.INFO: ==1348== Lock acquired, processing the job... [2025-03-09 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:08:02] Production.INFO: ==1348== Releasing lock... [2025-03-09 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:08:03] Production.INFO: ==1355== Lock acquired, processing the job... [2025-03-09 09:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:08:03] Production.INFO: ==1363== Lock acquired, processing the job... [2025-03-09 09:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:08:03] Production.INFO: ==1353== Lock acquired, processing the job... [2025-03-09 09:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 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-09 09:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:08:03] Production.INFO: ==1357== Lock acquired, processing the job... [2025-03-09 09:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:08:03] Production.INFO: count ==13 [2025-03-09 09:08:03] Production.INFO: ==1359== Lock acquired, processing the job... [2025-03-09 09:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 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-09 09:08:03] Production.INFO: count ==21 [2025-03-09 09:08:03] Production.INFO: ==1361== Lock acquired, processing the job... [2025-03-09 09:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641160') start [2025-03-09 09:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641160') end [2025-03-09 09:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:08:04] Production.INFO: 1 [2025-03-09 09:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:08:04] Production.INFO: Account Balance Start. [2025-03-09 09:08:04] Production.INFO: CreateAllLog Start [2025-03-09 09:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:08:04] Production.INFO: 117 [2025-03-09 09:08:04] Production.INFO: ==1363== Releasing lock... [2025-03-09 09:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:08:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:08:04] Production.INFO: ==1355== Releasing lock... [2025-03-09 09:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:08:04] Production.ERROR: done [2025-03-09 09:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:08:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:08:04] Production.INFO: Total Charge 0 [2025-03-09 09:08:04] Production.INFO: CreateAllLog End [2025-03-09 09:08:04] Production.ERROR: done [2025-03-09 09:08:04] Production.INFO: Account Balance End. [2025-03-09 09:08:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:08:04] Production.INFO: ==1359== Releasing lock... [2025-03-09 09:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:08:05 [end_date_ymd] => 2025-03-09 09:08:05 [RateCDR] => 1 ) [2025-03-09 09:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:08:05' and `end` < '2025-03-09 09:08:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:08:12] Production.ERROR: CronJobId end10 [2025-03-09 09:08:12] Production.INFO: ==1357== Releasing lock... [2025-03-09 09:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:08:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:08:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:08:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:08:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:08:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:08:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:08:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:08:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:08:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:08:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:08:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:08:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:08:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:08:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:08:14] Production.INFO: call_cost start [2025-03-09 09:08:14] Production.INFO: call_cost end [2025-03-09 09:08:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:08:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:08:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:08:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:08:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:08:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:08:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:08:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:08:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:08:15] Production.INFO: ==1353== Releasing lock... [2025-03-09 09:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:08:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:08:17] Production.INFO: count ==55 [2025-03-09 09:08:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:08:05 - End Time 2025-03-09 09:08:05 [2025-03-09 09:08:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641164', 'tblTempUsageDetail_20' ) start [2025-03-09 09:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641164', 'tblTempUsageDetail_20' ) end [2025-03-09 09:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641164', 'tblTempVendorCDR_20' ) start [2025-03-09 09:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641164', 'tblTempVendorCDR_20' ) end [2025-03-09 09:08:17] Production.INFO: ProcessCDR(1,14641164,1,1,2) [2025-03-09 09:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641164', 'tblTempUsageDetail_20' ) start [2025-03-09 09:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641164', 'tblTempUsageDetail_20' ) end [2025-03-09 09:08:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:08:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:08:21] Production.INFO: ==1361== Releasing lock... [2025-03-09 09:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:08:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:09:02] Production.INFO: ==1442== Lock acquired, processing the job... [2025-03-09 13:09:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:09:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:09:02] Production.INFO: neon service started [2025-03-09 13:09:02] Production.INFO: neon service started [2025-03-09 13:09:02] Production.INFO: ==1442== Releasing lock... [2025-03-09 13:09:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:09:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:09:02] Production.INFO: ==1445== Lock acquired, processing the job... [2025-03-09 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:09:03] Production.INFO: ==1445== Releasing lock... [2025-03-09 09:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:09:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:09:03] Production.INFO: ==1447== Lock acquired, processing the job... [2025-03-09 13:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:09:03] Production.INFO: ==1447== Releasing lock... [2025-03-09 13:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:09:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:09:04] Production.INFO: ==1452== Lock acquired, processing the job... [2025-03-09 09:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:09:04] Production.INFO: ==1450== Lock acquired, processing the job... [2025-03-09 09:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:09:04] Production.INFO: ==1456== Lock acquired, processing the job... [2025-03-09 09:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:09:04] Production.INFO: ==1454== Lock acquired, processing the job... [2025-03-09 09:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:09:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:09:04] Production.INFO: Account Balance Start. [2025-03-09 09:09:04] Production.INFO: CreateAllLog Start [2025-03-09 09:09:04] Production.INFO: 117 [2025-03-09 09:09:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:09:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:09:04] Production.INFO: ==1459== Lock acquired, processing the job... [2025-03-09 09:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:09:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:09:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:09:04] Production.INFO: Total Charge 0 [2025-03-09 09:09:04] Production.INFO: CreateAllLog End [2025-03-09 09:09:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:09:04] Production.INFO: ==1461== Lock acquired, processing the job... [2025-03-09 09:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:09:04] Production.INFO: ==1452== Releasing lock... [2025-03-09 09:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 09:09:04] Production.INFO: Account Balance End. [2025-03-09 09:09:04] Production.INFO: count ==13 [2025-03-09 09:09:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:09:04] Production.INFO: ==1456== Releasing lock... [2025-03-09 09:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 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-09 09:09:04] Production.INFO: count ==21 [2025-03-09 09:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641168') start [2025-03-09 09:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641168') end [2025-03-09 09:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:09:04] Production.INFO: 1 [2025-03-09 09:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:09:04] Production.ERROR: done [2025-03-09 09:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:09:04] Production.INFO: ==1461== Releasing lock... [2025-03-09 09:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:09:05] Production.ERROR: done [2025-03-09 09:09:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:09:06 [end_date_ymd] => 2025-03-09 09:09:06 [RateCDR] => 1 ) [2025-03-09 09:09:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:09:06' and `end` < '2025-03-09 09:09:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:09:14] Production.ERROR: CronJobId end10 [2025-03-09 09:09:14] Production.INFO: ==1454== Releasing lock... [2025-03-09 09:09:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:09:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:09:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:09:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:09:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:09:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:09:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:09:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:09:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:09:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:09:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:09:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:09:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:09:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:09:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:09:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:09:17] Production.INFO: call_cost start [2025-03-09 09:09:17] Production.INFO: call_cost end [2025-03-09 09:09:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:09:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:09:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:09:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:09:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:09:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:09:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:09:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:09:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:09:17] Production.INFO: ==1450== Releasing lock... [2025-03-09 09:09:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:09:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:09:18] Production.INFO: count ==55 [2025-03-09 09:09:18] Production.ERROR: pbx CDR StartTime 2025-03-09 06:09:06 - End Time 2025-03-09 09:09:06 [2025-03-09 09:09:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641169', 'tblTempUsageDetail_20' ) start [2025-03-09 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641169', 'tblTempUsageDetail_20' ) end [2025-03-09 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641169', 'tblTempVendorCDR_20' ) start [2025-03-09 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641169', 'tblTempVendorCDR_20' ) end [2025-03-09 09:09:18] Production.INFO: ProcessCDR(1,14641169,1,1,2) [2025-03-09 09:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641169', 'tblTempUsageDetail_20' ) start [2025-03-09 09:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641169', 'tblTempUsageDetail_20' ) end [2025-03-09 09:09:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:09:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:09:21] Production.INFO: ==1459== Releasing lock... [2025-03-09 09:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:09:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:10:01] Production.INFO: ==1566== Lock acquired, processing the job... [2025-03-09 13:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:10:01] Production.INFO: neon service started [2025-03-09 13:10:01] Production.INFO: neon service started [2025-03-09 13:10:01] Production.INFO: ==1566== Releasing lock... [2025-03-09 13:10:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:10:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:10:02] Production.INFO: ==1572== Lock acquired, processing the job... [2025-03-09 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:10:02] Production.INFO: ==1574== Lock acquired, processing the job... [2025-03-09 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:10:02] Production.INFO: ==1572== Releasing lock... [2025-03-09 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:10:02] Production.INFO: ==1574== Releasing lock... [2025-03-09 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:10:03] Production.INFO: ==1576== Lock acquired, processing the job... [2025-03-09 09:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 09:10:03] Production.INFO: ==1580== Lock acquired, processing the job... [2025-03-09 09:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:10:03] Production.INFO: ==1578== Lock acquired, processing the job... [2025-03-09 09:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 09:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 09:10:04] Production.ERROR: CronJob PID - 1580 [2025-03-09 09:10:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 09:10:04] Production.ERROR: CronJob ID - 7 [2025-03-09 09:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 09:10:00 [2025-03-09 09:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 09:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 09:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 09:10:04] Production.INFO: ==1576== Releasing lock... [2025-03-09 09:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 09:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 09:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:10:04] Production.INFO: ==1582== Lock acquired, processing the job... [2025-03-09 09:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:10:04] Production.INFO: ==1587== Lock acquired, processing the job... [2025-03-09 09:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:10:04] Production.INFO: ==1585== Lock acquired, processing the job... [2025-03-09 09:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:10:04] Production.INFO: ==1589== Lock acquired, processing the job... [2025-03-09 09:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 09:10:04] Production.INFO: ==1591== Lock acquired, processing the job... [2025-03-09 09:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:10:04] Production.INFO: Account Balance Start. [2025-03-09 09:10:04] Production.INFO: CreateAllLog Start [2025-03-09 09:10:04] Production.INFO: 117 [2025-03-09 09:10:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:10:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:10:04] Production.INFO: Total Charge 0 [2025-03-09 09:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:10:04] Production.INFO: CreateAllLog End [2025-03-09 09:10:04] Production.INFO: count ==13 [2025-03-09 09:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:10:04] Production.INFO: ==1580== Releasing lock... [2025-03-09 09:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:10:04] Production.INFO: count ==21 [2025-03-09 09:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641173') start [2025-03-09 09:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641173') end [2025-03-09 09:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:10:04] Production.INFO: 1 [2025-03-09 09:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:10:04] Production.INFO: ==1591== Releasing lock... [2025-03-09 09:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:10:04] Production.ERROR: done [2025-03-09 09:10:04] Production.ERROR: done [2025-03-09 09:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 09:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641174', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 09:10:05] Production.INFO: Account Balance End. [2025-03-09 09:10:05] Production.ERROR: CronJobId end 12 [2025-03-09 09:10:05] Production.INFO: ==1585== Releasing lock... [2025-03-09 09:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:10:05] Production.ERROR: done [2025-03-09 09:10:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:10:07 [end_date_ymd] => 2025-03-09 09:10:07 [RateCDR] => 1 ) [2025-03-09 09: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-09 06:10:07' and `end` < '2025-03-09 09: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-09 09:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641174', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 09:10:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 09:10:08] Production.INFO: ProcessCDR(1,14641174,1,1,2) [2025-03-09 09:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14641174,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14641174,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:10:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:10:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:10:08] Production.INFO: ==1589== Releasing lock... [2025-03-09 09:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 09:10:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 09:10:14] Production.ERROR: CronJobId end10 [2025-03-09 09:10:14] Production.INFO: ==1582== Releasing lock... [2025-03-09 09:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:10:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:10:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:10:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:10:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:10:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:10:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:10:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:10:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:10:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:10:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:10:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:10:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:10:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:10:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:10:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:10:16] Production.INFO: call_cost start [2025-03-09 09:10:16] Production.INFO: call_cost end [2025-03-09 09:10:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:10:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:10:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:10:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:10:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:10:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:10:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:10:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:10:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:10:17] Production.INFO: ==1578== Releasing lock... [2025-03-09 09:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:10:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:10:19] Production.INFO: count ==55 [2025-03-09 09:10:19] Production.ERROR: pbx CDR StartTime 2025-03-09 06:10:07 - End Time 2025-03-09 09:10:07 [2025-03-09 09:10:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641175', 'tblTempUsageDetail_20' ) start [2025-03-09 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641175', 'tblTempUsageDetail_20' ) end [2025-03-09 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641175', 'tblTempVendorCDR_20' ) start [2025-03-09 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641175', 'tblTempVendorCDR_20' ) end [2025-03-09 09:10:19] Production.INFO: ProcessCDR(1,14641175,1,1,2) [2025-03-09 09:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641175', 'tblTempUsageDetail_20' ) start [2025-03-09 09:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641175', 'tblTempUsageDetail_20' ) end [2025-03-09 09:10:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:10:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:10:22] Production.INFO: ==1587== Releasing lock... [2025-03-09 09:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:10:22] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:11:01] Production.INFO: ==1706== Lock acquired, processing the job... [2025-03-09 13:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:11:01] Production.INFO: neon service started [2025-03-09 13:11:01] Production.INFO: neon service started [2025-03-09 13:11:01] Production.INFO: ==1706== Releasing lock... [2025-03-09 13:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:11:01] Production.INFO: ==1708== Lock acquired, processing the job... [2025-03-09 09:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:11:02] Production.INFO: ==1708== Releasing lock... [2025-03-09 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:11:02] Production.INFO: ==1710== Lock acquired, processing the job... [2025-03-09 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:11:02] Production.INFO: ==1710== Releasing lock... [2025-03-09 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:11:02] Production.INFO: ==1712== Lock acquired, processing the job... [2025-03-09 09:11:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:11:02] Production.INFO: ==1714== Lock acquired, processing the job... [2025-03-09 09:11:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:11:02] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:11:03] Production.INFO: ==1716== Lock acquired, processing the job... [2025-03-09 09:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:11:03] Production.INFO: ==1718== Lock acquired, processing the job... [2025-03-09 09:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:11:03] Production.INFO: ==1720== Lock acquired, processing the job... [2025-03-09 09:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:11:03] Production.INFO: ==1723== Lock acquired, processing the job... [2025-03-09 09:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:11:03] Production.INFO: Account Balance Start. [2025-03-09 09:11:03] Production.INFO: CreateAllLog Start [2025-03-09 09:11:03] Production.INFO: 117 [2025-03-09 09:11:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:11:03] Production.INFO: ==1714== Releasing lock... [2025-03-09 09:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:11:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:11:03] Production.INFO: Total Charge 0 [2025-03-09 09:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:11:03] Production.INFO: CreateAllLog End [2025-03-09 09:11:03] Production.INFO: count ==13 [2025-03-09 09:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:11:03] Production.INFO: count ==21 [2025-03-09 09:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641179') start [2025-03-09 09:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641179') end [2025-03-09 09:11:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:11:03] Production.INFO: 1 [2025-03-09 09:11:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:11:03] Production.ERROR: done [2025-03-09 09:11:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:11:03] Production.INFO: Account Balance End. [2025-03-09 09:11:03] Production.INFO: ==1723== Releasing lock... [2025-03-09 09:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:11:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:11:03] Production.ERROR: CronJobId end 12 [2025-03-09 09:11:03] Production.INFO: ==1718== Releasing lock... [2025-03-09 09:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:11:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:11:03] Production.ERROR: done [2025-03-09 09:11:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:11:04 [end_date_ymd] => 2025-03-09 09:11:04 [RateCDR] => 1 ) [2025-03-09 09:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:11:04' and `end` < '2025-03-09 09:11:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:11:12] Production.ERROR: CronJobId end10 [2025-03-09 09:11:12] Production.INFO: ==1716== Releasing lock... [2025-03-09 09:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:11:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:11:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:11:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:11:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:11:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:11:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:11:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:11:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:11:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:11:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:11:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:11:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:11:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:11:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:11:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:11:15] Production.INFO: call_cost start [2025-03-09 09:11:15] Production.INFO: call_cost end [2025-03-09 09:11:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:11:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:11:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:11:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:11:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:11:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:11:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:11:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:11:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:11:15] Production.INFO: ==1712== Releasing lock... [2025-03-09 09:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:11:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:11:16] Production.INFO: count ==55 [2025-03-09 09:11:16] Production.ERROR: pbx CDR StartTime 2025-03-09 06:11:04 - End Time 2025-03-09 09:11:04 [2025-03-09 09:11:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:11:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641180', 'tblTempUsageDetail_20' ) start [2025-03-09 09:11:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641180', 'tblTempUsageDetail_20' ) end [2025-03-09 09:11:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641180', 'tblTempVendorCDR_20' ) start [2025-03-09 09:11:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641180', 'tblTempVendorCDR_20' ) end [2025-03-09 09:11:16] Production.INFO: ProcessCDR(1,14641180,1,1,2) [2025-03-09 09:11:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:11:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:11:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:11:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641180', 'tblTempUsageDetail_20' ) start [2025-03-09 09:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641180', 'tblTempUsageDetail_20' ) end [2025-03-09 09:11:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:11:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:11:20] Production.INFO: ==1720== Releasing lock... [2025-03-09 09:11:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:11:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:12:01] Production.INFO: ==1801== Lock acquired, processing the job... [2025-03-09 13:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:12:01] Production.INFO: neon service started [2025-03-09 13:12:01] Production.INFO: neon service started [2025-03-09 13:12:01] Production.INFO: ==1801== Releasing lock... [2025-03-09 13:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:12:02] Production.INFO: ==1803== Lock acquired, processing the job... [2025-03-09 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:12:02] Production.INFO: ==1803== Releasing lock... [2025-03-09 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:12:02] Production.INFO: ==1805== Lock acquired, processing the job... [2025-03-09 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:12:02] Production.INFO: ==1805== Releasing lock... [2025-03-09 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:12:03] Production.INFO: ==1814== Lock acquired, processing the job... [2025-03-09 09:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:12:03] Production.INFO: ==1810== Lock acquired, processing the job... [2025-03-09 09:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:12:03] Production.INFO: ==1808== Lock acquired, processing the job... [2025-03-09 09:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:12:03] Production.INFO: Account Balance Start. [2025-03-09 09:12:03] Production.INFO: CreateAllLog Start [2025-03-09 09:12:03] Production.INFO: 117 [2025-03-09 09:12:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:12:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:12:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:12:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:12:03] Production.INFO: Total Charge 0 [2025-03-09 09:12:03] Production.INFO: CreateAllLog End [2025-03-09 09:12:03] Production.INFO: ==1812== Lock acquired, processing the job... [2025-03-09 09:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:12:03] Production.INFO: ==1817== Lock acquired, processing the job... [2025-03-09 09:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:12:03] Production.INFO: ==1819== Lock acquired, processing the job... [2025-03-09 09:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:12:03] Production.INFO: ==1810== Releasing lock... [2025-03-09 09:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:12:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:12:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:12:03] Production.INFO: Account Balance End. [2025-03-09 09:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:12:03] Production.ERROR: CronJobId end 12 [2025-03-09 09:12:03] Production.INFO: count ==13 [2025-03-09 09:12:03] Production.INFO: ==1814== Releasing lock... [2025-03-09 09:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:12:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:12:03] Production.INFO: count ==21 [2025-03-09 09:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641184') start [2025-03-09 09:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641184') end [2025-03-09 09:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:12:04] Production.INFO: 1 [2025-03-09 09:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:12:04] Production.ERROR: done [2025-03-09 09:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:12:04] Production.INFO: ==1819== Releasing lock... [2025-03-09 09:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:12:04] Production.ERROR: done [2025-03-09 09:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:12:05 [end_date_ymd] => 2025-03-09 09:12:05 [RateCDR] => 1 ) [2025-03-09 09:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:12:05' and `end` < '2025-03-09 09:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:12:11] Production.ERROR: CronJobId end10 [2025-03-09 09:12:11] Production.INFO: ==1812== Releasing lock... [2025-03-09 09:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:12:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:12:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:12:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:12:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:12:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:12:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:12:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:12:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:12:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:12:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:12:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:12:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:12:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:12:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:12:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:12:15] Production.INFO: call_cost start [2025-03-09 09:12:15] Production.INFO: call_cost end [2025-03-09 09:12:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:12:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:12:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:12:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:12:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:12:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:12:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:12:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:12:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:12:16] Production.INFO: ==1808== Releasing lock... [2025-03-09 09:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:12:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:12:17] Production.INFO: count ==55 [2025-03-09 09:12:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:12:05 - End Time 2025-03-09 09:12:05 [2025-03-09 09:12:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641185', 'tblTempUsageDetail_20' ) start [2025-03-09 09:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641185', 'tblTempUsageDetail_20' ) end [2025-03-09 09:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641185', 'tblTempVendorCDR_20' ) start [2025-03-09 09:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641185', 'tblTempVendorCDR_20' ) end [2025-03-09 09:12:17] Production.INFO: ProcessCDR(1,14641185,1,1,2) [2025-03-09 09:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:12:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641185', 'tblTempUsageDetail_20' ) start [2025-03-09 09:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641185', 'tblTempUsageDetail_20' ) end [2025-03-09 09:12:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:12:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:12:20] Production.INFO: ==1817== Releasing lock... [2025-03-09 09:12:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:12:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:13:02] Production.INFO: ==1902== Lock acquired, processing the job... [2025-03-09 13:13:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:13:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:13:02] Production.INFO: neon service started [2025-03-09 13:13:02] Production.INFO: neon service started [2025-03-09 13:13:02] Production.INFO: ==1902== Releasing lock... [2025-03-09 13:13:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:13:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:13:02] Production.INFO: ==1904== Lock acquired, processing the job... [2025-03-09 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:13:02] Production.INFO: ==1904== Releasing lock... [2025-03-09 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:13:02] Production.INFO: ==1906== Lock acquired, processing the job... [2025-03-09 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:13:02] Production.INFO: ==1906== Releasing lock... [2025-03-09 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:13:03] Production.INFO: ==1915== Lock acquired, processing the job... [2025-03-09 09:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:13:03] Production.INFO: ==1911== Lock acquired, processing the job... [2025-03-09 09:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:13:04] Production.INFO: ==1913== Lock acquired, processing the job... [2025-03-09 09:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:13:04] Production.INFO: ==1917== Lock acquired, processing the job... [2025-03-09 09:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:13:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:13:04] Production.INFO: ==1919== Lock acquired, processing the job... [2025-03-09 09:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:13:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:13:04] Production.INFO: ==1921== Lock acquired, processing the job... [2025-03-09 09:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:13:04] Production.INFO: Account Balance Start. [2025-03-09 09:13:04] Production.INFO: CreateAllLog Start [2025-03-09 09:13:04] Production.INFO: 117 [2025-03-09 09:13:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:13:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:13:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:13:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:13:04] Production.INFO: Total Charge 0 [2025-03-09 09:13:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 09:13:04] Production.INFO: count ==13 [2025-03-09 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-09 09:13:04] Production.INFO: count ==21 [2025-03-09 09:13:04] Production.INFO: ==1913== Releasing lock... [2025-03-09 09:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641189') start [2025-03-09 09:13:04] Production.ERROR: done [2025-03-09 09:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641189') end [2025-03-09 09:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:13:04] Production.INFO: 1 [2025-03-09 09:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:13:04] Production.INFO: ==1921== Releasing lock... [2025-03-09 09:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:13:04] Production.INFO: Account Balance End. [2025-03-09 09:13:04] Production.ERROR: done [2025-03-09 09:13:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:13:04] Production.INFO: ==1917== Releasing lock... [2025-03-09 09:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:13:05 [end_date_ymd] => 2025-03-09 09:13:05 [RateCDR] => 1 ) [2025-03-09 09:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:13:05' and `end` < '2025-03-09 09:13:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:13:10] Production.ERROR: CronJobId end10 [2025-03-09 09:13:10] Production.INFO: ==1915== Releasing lock... [2025-03-09 09:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:13:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:13:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:13:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:13:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:13:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:13:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:13:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:13:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:13:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:13:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:13:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:13:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:13:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:13:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:13:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:13:14] Production.INFO: call_cost start [2025-03-09 09:13:14] Production.INFO: call_cost end [2025-03-09 09:13:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:13:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:13:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:13:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:13:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:13:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:13:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:13:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:13:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:13:15] Production.INFO: ==1911== Releasing lock... [2025-03-09 09:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:13:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:13:17] Production.INFO: count ==55 [2025-03-09 09:13:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:13:05 - End Time 2025-03-09 09:13:05 [2025-03-09 09:13:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641190', 'tblTempUsageDetail_20' ) start [2025-03-09 09:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641190', 'tblTempUsageDetail_20' ) end [2025-03-09 09:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641190', 'tblTempVendorCDR_20' ) start [2025-03-09 09:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641190', 'tblTempVendorCDR_20' ) end [2025-03-09 09:13:17] Production.INFO: ProcessCDR(1,14641190,1,1,2) [2025-03-09 09:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641190', 'tblTempUsageDetail_20' ) start [2025-03-09 09:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641190', 'tblTempUsageDetail_20' ) end [2025-03-09 09:13:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:13:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:13:20] Production.INFO: ==1919== Releasing lock... [2025-03-09 09:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:13:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:14:01] Production.INFO: ==1993== Lock acquired, processing the job... [2025-03-09 13:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:14:01] Production.INFO: neon service started [2025-03-09 13:14:01] Production.INFO: neon service started [2025-03-09 13:14:01] Production.INFO: ==1993== Releasing lock... [2025-03-09 13:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:14:02] Production.INFO: ==1996== Lock acquired, processing the job... [2025-03-09 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:14:02] Production.INFO: ==1998== Lock acquired, processing the job... [2025-03-09 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:14:02] Production.INFO: ==1998== Releasing lock... [2025-03-09 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:14:02] Production.INFO: ==1996== Releasing lock... [2025-03-09 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:14:03] Production.INFO: ==2005== Lock acquired, processing the job... [2025-03-09 09:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:14:03] Production.INFO: ==2011== Lock acquired, processing the job... [2025-03-09 09:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:14:04] Production.INFO: count ==13 [2025-03-09 09:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:14:04] Production.INFO: count ==21 [2025-03-09 09:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641191') start [2025-03-09 09:14:04] Production.INFO: ==2001== Lock acquired, processing the job... [2025-03-09 09:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:14:04] Production.INFO: ==2003== Lock acquired, processing the job... [2025-03-09 09:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641191') end [2025-03-09 09:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:14:04] Production.INFO: 1 [2025-03-09 09:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:14:04] Production.INFO: ==2007== Lock acquired, processing the job... [2025-03-09 09:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:14:04] Production.INFO: ==2009== Lock acquired, processing the job... [2025-03-09 09:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:14:04] Production.INFO: ==2011== Releasing lock... [2025-03-09 09:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:14:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:14:04] Production.INFO: Account Balance Start. [2025-03-09 09:14:04] Production.INFO: CreateAllLog Start [2025-03-09 09:14:04] Production.INFO: 117 [2025-03-09 09:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:14:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:14:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:14:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:14:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:14:04] Production.INFO: Total Charge 0 [2025-03-09 09:14:04] Production.INFO: CreateAllLog End [2025-03-09 09:14:04] Production.INFO: ==2003== Releasing lock... [2025-03-09 09:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:14:04] Production.ERROR: done [2025-03-09 09:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:14:04] Production.INFO: Account Balance End. [2025-03-09 09:14:04] Production.ERROR: done [2025-03-09 09:14:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:14:04] Production.INFO: ==2007== Releasing lock... [2025-03-09 09:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:14:05 [end_date_ymd] => 2025-03-09 09:14:05 [RateCDR] => 1 ) [2025-03-09 09:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:14:05' and `end` < '2025-03-09 09:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:14:11] Production.ERROR: CronJobId end10 [2025-03-09 09:14:11] Production.INFO: ==2005== Releasing lock... [2025-03-09 09:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:14:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:14:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:14:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:14:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:14:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:14:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:14:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:14:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:14:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:14:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:14:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:14:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:14:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:14:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:14:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:14:15] Production.INFO: call_cost start [2025-03-09 09:14:15] Production.INFO: call_cost end [2025-03-09 09:14:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:14:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:14:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:14:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:14:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:14:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:14:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:14:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:14:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:14:16] Production.INFO: ==2001== Releasing lock... [2025-03-09 09:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:14:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:14:18] Production.INFO: count ==55 [2025-03-09 09:14:18] Production.ERROR: pbx CDR StartTime 2025-03-09 06:14:05 - End Time 2025-03-09 09:14:05 [2025-03-09 09:14:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641195', 'tblTempUsageDetail_20' ) start [2025-03-09 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641195', 'tblTempUsageDetail_20' ) end [2025-03-09 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641195', 'tblTempVendorCDR_20' ) start [2025-03-09 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641195', 'tblTempVendorCDR_20' ) end [2025-03-09 09:14:18] Production.INFO: ProcessCDR(1,14641195,1,1,2) [2025-03-09 09:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641195', 'tblTempUsageDetail_20' ) start [2025-03-09 09:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641195', 'tblTempUsageDetail_20' ) end [2025-03-09 09:14:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:14:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:14:21] Production.INFO: ==2009== Releasing lock... [2025-03-09 09:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:14:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:15:02] Production.INFO: ==2086== Lock acquired, processing the job... [2025-03-09 13:15:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:15:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:15:02] Production.INFO: neon service started [2025-03-09 13:15:02] Production.INFO: neon service started [2025-03-09 13:15:02] Production.INFO: ==2086== Releasing lock... [2025-03-09 13:15:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:15:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:15:02] Production.INFO: ==2088== Lock acquired, processing the job... [2025-03-09 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:15:02] Production.INFO: ==2090== Lock acquired, processing the job... [2025-03-09 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:15:02] Production.INFO: ==2090== Releasing lock... [2025-03-09 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:15:03] Production.INFO: ==2088== Releasing lock... [2025-03-09 09:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:15:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:15:03] Production.INFO: ==2097== Lock acquired, processing the job... [2025-03-09 09:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:15:04] Production.INFO: ==2093== Lock acquired, processing the job... [2025-03-09 09:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:15:04] Production.INFO: ==2101== Lock acquired, processing the job... [2025-03-09 09:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:15:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:15:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:15:04] Production.INFO: ==2095== Lock acquired, processing the job... [2025-03-09 09:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:15:04] Production.INFO: ==2099== Lock acquired, processing the job... [2025-03-09 09:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:15:04] Production.INFO: ==2103== Lock acquired, processing the job... [2025-03-09 09:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:15:04] Production.INFO: Account Balance Start. [2025-03-09 09:15:04] Production.INFO: CreateAllLog Start [2025-03-09 09:15:04] Production.INFO: 117 [2025-03-09 09:15:04] Production.INFO: Date 2025-03-08 [2025-03-09 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-09 09:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:15:04] Production.INFO: count ==13 [2025-03-09 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-09 09:15:04] Production.INFO: count ==21 [2025-03-09 09:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641197') start [2025-03-09 09:15:04] Production.ERROR: done [2025-03-09 09:15:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:15:04] Production.INFO: Total Charge 0 [2025-03-09 09:15:04] Production.INFO: CreateAllLog End [2025-03-09 09:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641197') end [2025-03-09 09:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:15:04] Production.INFO: 1 [2025-03-09 09:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:15:04] Production.INFO: ==2103== Releasing lock... [2025-03-09 09:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:15:04] Production.INFO: ==2095== Releasing lock... [2025-03-09 09:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:15:04] Production.ERROR: done [2025-03-09 09:15:04] Production.INFO: Account Balance End. [2025-03-09 09:15:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:15:04] Production.INFO: ==2099== Releasing lock... [2025-03-09 09:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:15:05 [end_date_ymd] => 2025-03-09 09:15:05 [RateCDR] => 1 ) [2025-03-09 09:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:15:05' and `end` < '2025-03-09 09:15:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:15:12] Production.ERROR: CronJobId end10 [2025-03-09 09:15:12] Production.INFO: ==2097== Releasing lock... [2025-03-09 09:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:15:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:15:15] Production.INFO: call_cost start [2025-03-09 09:15:15] Production.INFO: call_cost end [2025-03-09 09:15:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:15:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:15:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:15:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:15:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:15:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:15:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:15:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:15:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:15:15] Production.INFO: ==2093== Releasing lock... [2025-03-09 09:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:15:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:15:17] Production.INFO: count ==55 [2025-03-09 09:15:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:15:05 - End Time 2025-03-09 09:15:05 [2025-03-09 09:15:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641200', 'tblTempUsageDetail_20' ) start [2025-03-09 09:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641200', 'tblTempUsageDetail_20' ) end [2025-03-09 09:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641200', 'tblTempVendorCDR_20' ) start [2025-03-09 09:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641200', 'tblTempVendorCDR_20' ) end [2025-03-09 09:15:17] Production.INFO: ProcessCDR(1,14641200,1,1,2) [2025-03-09 09:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:15:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641200', 'tblTempUsageDetail_20' ) start [2025-03-09 09:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641200', 'tblTempUsageDetail_20' ) end [2025-03-09 09:15:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:15:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:15:20] Production.INFO: ==2101== Releasing lock... [2025-03-09 09:15:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:15:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:16:01] Production.INFO: ==2177== Lock acquired, processing the job... [2025-03-09 13:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:16:01] Production.INFO: neon service started [2025-03-09 13:16:01] Production.INFO: neon service started [2025-03-09 13:16:01] Production.INFO: ==2177== Releasing lock... [2025-03-09 13:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:16:01] Production.INFO: ==2179== Lock acquired, processing the job... [2025-03-09 09:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:16:02] Production.INFO: ==2181== Lock acquired, processing the job... [2025-03-09 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:16:02] Production.INFO: ==2179== Releasing lock... [2025-03-09 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:16:02] Production.INFO: ==2181== Releasing lock... [2025-03-09 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:16:03] Production.INFO: ==2184== Lock acquired, processing the job... [2025-03-09 09:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:16:03] Production.INFO: ==2186== Lock acquired, processing the job... [2025-03-09 09:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:16:03] Production.INFO: ==2188== Lock acquired, processing the job... [2025-03-09 09:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:16:03] Production.INFO: ==2192== Lock acquired, processing the job... [2025-03-09 09:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:16:03] Production.INFO: ==2190== Lock acquired, processing the job... [2025-03-09 09:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:16:03] Production.INFO: ==2194== Lock acquired, processing the job... [2025-03-09 09:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:16:03] Production.INFO: Account Balance Start. [2025-03-09 09:16:03] Production.INFO: CreateAllLog Start [2025-03-09 09:16:03] Production.INFO: 117 [2025-03-09 09:16:03] Production.INFO: ==2186== Releasing lock... [2025-03-09 09:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:16:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:16:03] Production.INFO: Date 2025-03-08 [2025-03-09 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-09 09:16:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:16:03] Production.INFO: count ==13 [2025-03-09 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-09 09:16:03] Production.INFO: count ==21 [2025-03-09 09:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641204') start [2025-03-09 09:16:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:16:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641204') end [2025-03-09 09:16:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:16:03] Production.INFO: 1 [2025-03-09 09:16:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:16:03] Production.ERROR: done [2025-03-09 09:16:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:16:03] Production.INFO: ==2194== Releasing lock... [2025-03-09 09:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:16:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:16:03] Production.INFO: Total Charge 0 [2025-03-09 09:16:03] Production.INFO: CreateAllLog End [2025-03-09 09:16:04] Production.ERROR: done [2025-03-09 09:16:04] Production.INFO: Account Balance End. [2025-03-09 09:16:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:16:04] Production.INFO: ==2190== Releasing lock... [2025-03-09 09:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:16:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:16:04 [end_date_ymd] => 2025-03-09 09:16:04 [RateCDR] => 1 ) [2025-03-09 09:16:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:16:04' and `end` < '2025-03-09 09:16:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:16:10] Production.ERROR: CronJobId end10 [2025-03-09 09:16:10] Production.INFO: ==2188== Releasing lock... [2025-03-09 09:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:16:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:16:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:16:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:16:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:16:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:16:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:16:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:16:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:16:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:16:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:16:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:16:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:16:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:16:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:16:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:16:14] Production.INFO: call_cost start [2025-03-09 09:16:14] Production.INFO: call_cost end [2025-03-09 09:16:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:16:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:16:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:16:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:16:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:16:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:16:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:16:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:16:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:16:14] Production.INFO: ==2184== Releasing lock... [2025-03-09 09:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:16:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:16:17] Production.INFO: count ==55 [2025-03-09 09:16:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:16:04 - End Time 2025-03-09 09:16:04 [2025-03-09 09:16:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641205', 'tblTempUsageDetail_20' ) start [2025-03-09 09:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641205', 'tblTempUsageDetail_20' ) end [2025-03-09 09:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641205', 'tblTempVendorCDR_20' ) start [2025-03-09 09:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641205', 'tblTempVendorCDR_20' ) end [2025-03-09 09:16:17] Production.INFO: ProcessCDR(1,14641205,1,1,2) [2025-03-09 09:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:16:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:16:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:16:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641205', 'tblTempUsageDetail_20' ) start [2025-03-09 09:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641205', 'tblTempUsageDetail_20' ) end [2025-03-09 09:16:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:16:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:16:20] Production.INFO: ==2192== Releasing lock... [2025-03-09 09:16:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:16:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:17:01] Production.INFO: ==2264== Lock acquired, processing the job... [2025-03-09 13:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:17:01] Production.INFO: neon service started [2025-03-09 13:17:01] Production.INFO: neon service started [2025-03-09 13:17:02] Production.INFO: ==2264== Releasing lock... [2025-03-09 13:17:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:17:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:17:02] Production.INFO: ==2266== Lock acquired, processing the job... [2025-03-09 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:17:02] Production.INFO: ==2266== Releasing lock... [2025-03-09 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:17:02] Production.INFO: ==2268== Lock acquired, processing the job... [2025-03-09 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:17:03] Production.INFO: ==2268== Releasing lock... [2025-03-09 13:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:17:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:17:03] Production.INFO: ==2271== Lock acquired, processing the job... [2025-03-09 09:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:17:03] Production.INFO: ==2275== Lock acquired, processing the job... [2025-03-09 09:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:17:03] Production.INFO: ==2277== Lock acquired, processing the job... [2025-03-09 09:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:17:03] Production.INFO: Account Balance Start. [2025-03-09 09:17:03] Production.INFO: CreateAllLog Start [2025-03-09 09:17:03] Production.INFO: 117 [2025-03-09 09:17:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:17:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:17:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:17:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:17:03] Production.INFO: ==2273== Lock acquired, processing the job... [2025-03-09 09:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:17:03] Production.INFO: Total Charge 0 [2025-03-09 09:17:03] Production.INFO: CreateAllLog End [2025-03-09 09:17:03] Production.INFO: ==2279== Lock acquired, processing the job... [2025-03-09 09:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:17:04] Production.INFO: Account Balance End. [2025-03-09 09:17:04] Production.INFO: ==2281== Lock acquired, processing the job... [2025-03-09 09:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:17:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:17:04] Production.INFO: ==2277== Releasing lock... [2025-03-09 09:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:17:04] Production.INFO: ==2273== Releasing lock... [2025-03-09 09:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09: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-09 09:17:04] Production.INFO: count ==13 [2025-03-09 09: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-09 09:17:04] Production.INFO: count ==21 [2025-03-09 09:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641209') start [2025-03-09 09:17:04] Production.ERROR: done [2025-03-09 09:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641209') end [2025-03-09 09:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:17:04] Production.INFO: 1 [2025-03-09 09:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:17:04] Production.INFO: ==2281== Releasing lock... [2025-03-09 09:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:17:04] Production.ERROR: done [2025-03-09 09:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:17:05 [end_date_ymd] => 2025-03-09 09:17:05 [RateCDR] => 1 ) [2025-03-09 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-09 06:17:05' and `end` < '2025-03-09 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-09 09:17:11] Production.ERROR: CronJobId end10 [2025-03-09 09:17:11] Production.INFO: ==2275== Releasing lock... [2025-03-09 09:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:17:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:17:14] Production.INFO: call_cost start [2025-03-09 09:17:14] Production.INFO: call_cost end [2025-03-09 09:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:17:15] Production.INFO: ==2271== Releasing lock... [2025-03-09 09:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:17:17] Production.INFO: count ==55 [2025-03-09 09:17:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:17:05 - End Time 2025-03-09 09:17:05 [2025-03-09 09:17:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641210', 'tblTempUsageDetail_20' ) start [2025-03-09 09:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641210', 'tblTempUsageDetail_20' ) end [2025-03-09 09:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641210', 'tblTempVendorCDR_20' ) start [2025-03-09 09:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641210', 'tblTempVendorCDR_20' ) end [2025-03-09 09:17:17] Production.INFO: ProcessCDR(1,14641210,1,1,2) [2025-03-09 09:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641210', 'tblTempUsageDetail_20' ) start [2025-03-09 09:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641210', 'tblTempUsageDetail_20' ) end [2025-03-09 09:17:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:17:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:17:21] Production.INFO: ==2279== Releasing lock... [2025-03-09 09:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:17:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:18:01] Production.INFO: ==2352== Lock acquired, processing the job... [2025-03-09 13:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:18:01] Production.INFO: neon service started [2025-03-09 13:18:01] Production.INFO: neon service started [2025-03-09 13:18:01] Production.INFO: ==2352== Releasing lock... [2025-03-09 13:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:18:01] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 13:18:01] Production.INFO: ==2356== Lock acquired, processing the job... [2025-03-09 13:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:18:01] Production.INFO: ==2356== Releasing lock... [2025-03-09 13:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:18:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:18:02] Production.INFO: ==2354== Lock acquired, processing the job... [2025-03-09 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:18:02] Production.INFO: ==2354== Releasing lock... [2025-03-09 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:18:03] Production.INFO: ==2358== Lock acquired, processing the job... [2025-03-09 09:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:18:03] Production.INFO: ==2360== Lock acquired, processing the job... [2025-03-09 09:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:18:03] Production.INFO: ==2364== Lock acquired, processing the job... [2025-03-09 09:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:18:03] Production.INFO: Account Balance Start. [2025-03-09 09:18:03] Production.INFO: CreateAllLog Start [2025-03-09 09:18:03] Production.INFO: 117 [2025-03-09 09:18:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:18:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:18:03] Production.INFO: ==2362== Lock acquired, processing the job... [2025-03-09 09:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:18:03] Production.INFO: ==2369== Lock acquired, processing the job... [2025-03-09 09:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:18:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:18:03] Production.INFO: ==2366== Lock acquired, processing the job... [2025-03-09 09:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:18:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:18:03] Production.INFO: Total Charge 0 [2025-03-09 09:18:03] Production.INFO: CreateAllLog End [2025-03-09 09:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:18:03] Production.INFO: ==2360== Releasing lock... [2025-03-09 09:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:18:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:18:03] Production.INFO: count ==13 [2025-03-09 09:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:18:03] Production.INFO: count ==21 [2025-03-09 09:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641214') start [2025-03-09 09:18:03] Production.INFO: Account Balance End. [2025-03-09 09:18:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:18:04] Production.INFO: ==2364== Releasing lock... [2025-03-09 09:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641214') end [2025-03-09 09:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:18:04] Production.INFO: 1 [2025-03-09 09:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:18:04] Production.ERROR: done [2025-03-09 09:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:18:04] Production.INFO: ==2369== Releasing lock... [2025-03-09 09:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:18:04] Production.ERROR: done [2025-03-09 09:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:18:05 [end_date_ymd] => 2025-03-09 09:18:05 [RateCDR] => 1 ) [2025-03-09 09:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:18:05' and `end` < '2025-03-09 09:18:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:18:10] Production.ERROR: CronJobId end10 [2025-03-09 09:18:10] Production.INFO: ==2362== Releasing lock... [2025-03-09 09:18:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:18:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:18:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:18:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:18:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:18:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:18:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:18:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:18:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:18:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:18:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:18:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:18:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:18:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:18:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:18:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:18:13] Production.INFO: call_cost start [2025-03-09 09:18:13] Production.INFO: call_cost end [2025-03-09 09:18:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:18:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:18:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:18:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:18:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:18:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:18:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:18:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:18:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:18:14] Production.INFO: ==2358== Releasing lock... [2025-03-09 09:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:18:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:18:17] Production.INFO: count ==55 [2025-03-09 09:18:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:18:05 - End Time 2025-03-09 09:18:05 [2025-03-09 09:18:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641215', 'tblTempUsageDetail_20' ) start [2025-03-09 09:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641215', 'tblTempUsageDetail_20' ) end [2025-03-09 09:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641215', 'tblTempVendorCDR_20' ) start [2025-03-09 09:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641215', 'tblTempVendorCDR_20' ) end [2025-03-09 09:18:17] Production.INFO: ProcessCDR(1,14641215,1,1,2) [2025-03-09 09:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641215', 'tblTempUsageDetail_20' ) start [2025-03-09 09:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641215', 'tblTempUsageDetail_20' ) end [2025-03-09 09:18:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:18:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:18:20] Production.INFO: ==2366== Releasing lock... [2025-03-09 09:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:18:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:19:01] Production.INFO: ==2425== Lock acquired, processing the job... [2025-03-09 13:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:19:01] Production.INFO: neon service started [2025-03-09 13:19:01] Production.INFO: neon service started [2025-03-09 13:19:01] Production.INFO: ==2425== Releasing lock... [2025-03-09 13:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:19:02] Production.INFO: ==2429== Lock acquired, processing the job... [2025-03-09 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:19:02] Production.INFO: ==2427== Lock acquired, processing the job... [2025-03-09 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:19:02] Production.INFO: ==2429== Releasing lock... [2025-03-09 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:19:02] Production.INFO: ==2427== Releasing lock... [2025-03-09 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:19:03] Production.INFO: ==2432== Lock acquired, processing the job... [2025-03-09 09:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:19:03] Production.INFO: ==2440== Lock acquired, processing the job... [2025-03-09 09:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:19:03] Production.INFO: ==2434== Lock acquired, processing the job... [2025-03-09 09:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:19:03] Production.INFO: ==2442== Lock acquired, processing the job... [2025-03-09 09:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:19:03] Production.INFO: ==2436== Lock acquired, processing the job... [2025-03-09 09:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:19:03] Production.INFO: ==2438== Lock acquired, processing the job... [2025-03-09 09:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:19:04] Production.INFO: count ==13 [2025-03-09 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-09 09:19:04] Production.INFO: count ==21 [2025-03-09 09:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641217') start [2025-03-09 09:19:04] Production.INFO: Account Balance Start. [2025-03-09 09:19:04] Production.INFO: CreateAllLog Start [2025-03-09 09:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:19:04] Production.INFO: 117 [2025-03-09 09:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:19:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:19:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641217') end [2025-03-09 09:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:19:04] Production.INFO: 1 [2025-03-09 09:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:19:04] Production.INFO: Total Charge 0 [2025-03-09 09:19:04] Production.INFO: CreateAllLog End [2025-03-09 09:19:04] Production.INFO: ==2442== Releasing lock... [2025-03-09 09:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:19:04] Production.INFO: ==2434== Releasing lock... [2025-03-09 09:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:19:04] Production.ERROR: done [2025-03-09 09:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:19:04] Production.INFO: Account Balance End. [2025-03-09 09:19:04] Production.ERROR: done [2025-03-09 09:19:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:19:04] Production.INFO: ==2438== Releasing lock... [2025-03-09 09:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:19:05 [end_date_ymd] => 2025-03-09 09:19:05 [RateCDR] => 1 ) [2025-03-09 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-09 06:19:05' and `end` < '2025-03-09 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-09 09:19:12] Production.ERROR: CronJobId end10 [2025-03-09 09:19:12] Production.INFO: ==2436== Releasing lock... [2025-03-09 09:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:19:14] Production.INFO: call_cost start [2025-03-09 09:19:14] Production.INFO: call_cost end [2025-03-09 09:19:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:19:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:19:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:19:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:19:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:19:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:19:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:19:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:19:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:19:15] Production.INFO: ==2432== Releasing lock... [2025-03-09 09:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:19:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:19:17] Production.INFO: count ==55 [2025-03-09 09:19:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:19:05 - End Time 2025-03-09 09:19:05 [2025-03-09 09:19:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641220', 'tblTempUsageDetail_20' ) start [2025-03-09 09:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641220', 'tblTempUsageDetail_20' ) end [2025-03-09 09:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641220', 'tblTempVendorCDR_20' ) start [2025-03-09 09:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641220', 'tblTempVendorCDR_20' ) end [2025-03-09 09:19:17] Production.INFO: ProcessCDR(1,14641220,1,1,2) [2025-03-09 09:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:19:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641220', 'tblTempUsageDetail_20' ) start [2025-03-09 09:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641220', 'tblTempUsageDetail_20' ) end [2025-03-09 09:19:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:19:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:19:20] Production.INFO: ==2440== Releasing lock... [2025-03-09 09:19:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:19:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:20:02] Production.INFO: ==2495== Lock acquired, processing the job... [2025-03-09 13:20:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:20:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:20:02] Production.INFO: neon service started [2025-03-09 13:20:02] Production.INFO: neon service started [2025-03-09 13:20:02] Production.INFO: ==2495== Releasing lock... [2025-03-09 13:20:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:20:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:20:02] Production.INFO: ==2499== Lock acquired, processing the job... [2025-03-09 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:20:02] Production.INFO: ==2499== Releasing lock... [2025-03-09 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:20:02] Production.INFO: ==2497== Lock acquired, processing the job... [2025-03-09 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:20:03] Production.INFO: ==2497== Releasing lock... [2025-03-09 09:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:20:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:20:04] Production.INFO: ==2502== Lock acquired, processing the job... [2025-03-09 09:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 09:20:04] Production.INFO: ==2504== Lock acquired, processing the job... [2025-03-09 09:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 09:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 09:20:04] Production.ERROR: CronJob PID - 2504 [2025-03-09 09:20:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 09:20:04] Production.ERROR: CronJob ID - 5 [2025-03-09 09:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 09:20:00 [2025-03-09 09:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 09:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 09:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 09:20:04] Production.INFO: ==2502== Releasing lock... [2025-03-09 09:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 09:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 09:20:04] Production.INFO: ==2512== Lock acquired, processing the job... [2025-03-09 09:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:20:04] Production.INFO: ==2514== Lock acquired, processing the job... [2025-03-09 09:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 09:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:20:04] Production.INFO: ==2510== Lock acquired, processing the job... [2025-03-09 09:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:20:04] Production.INFO: ==2506== Lock acquired, processing the job... [2025-03-09 09:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:20:04] Production.INFO: ==2508== Lock acquired, processing the job... [2025-03-09 09:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:20:04] Production.INFO: Account Balance Start. [2025-03-09 09:20:04] Production.INFO: CreateAllLog Start [2025-03-09 09:20:04] Production.INFO: 117 [2025-03-09 09:20:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:20:04] Production.INFO: ==2516== Lock acquired, processing the job... [2025-03-09 09:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:20:04] Production.ERROR: done [2025-03-09 09:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:20:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:20:04] Production.ERROR: done [2025-03-09 09:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 09:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641224', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 09:20:04] Production.INFO: Total Charge 0 [2025-03-09 09:20:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 09:20:05] Production.ERROR: done [2025-03-09 09:20:05] Production.INFO: count ==13 [2025-03-09 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-09 09:20:05] Production.INFO: count ==21 [2025-03-09 09:20:05] Production.INFO: ==2506== Releasing lock... [2025-03-09 09:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:20:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14641225') start [2025-03-09 09:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14641225') end [2025-03-09 09:20:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:20:05] Production.INFO: 1 [2025-03-09 09:20:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:20:05] Production.INFO: Account Balance End. [2025-03-09 09:20:05] Production.INFO: ==2516== Releasing lock... [2025-03-09 09:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:20:05] Production.ERROR: CronJobId end 12 [2025-03-09 09:20:05] Production.INFO: ==2510== Releasing lock... [2025-03-09 09:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:20:06 [end_date_ymd] => 2025-03-09 09:20:06 [RateCDR] => 1 ) [2025-03-09 09:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:20:06' and `end` < '2025-03-09 09:20:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641224', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 09:20:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 09:20:08] Production.INFO: ProcessCDR(1,14641224,1,1,2) [2025-03-09 09:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14641224,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14641224,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:20:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:20:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:20:08] Production.INFO: ==2514== Releasing lock... [2025-03-09 09:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 09:20:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 09:20:13] Production.ERROR: CronJobId end10 [2025-03-09 09:20:13] Production.INFO: ==2508== Releasing lock... [2025-03-09 09:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:20:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:20:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:20:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:20:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:20:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:20:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:20:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:20:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:20:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:20:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:20:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:20:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:20:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:20:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:20:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:20:15] Production.INFO: call_cost start [2025-03-09 09:20:15] Production.INFO: call_cost end [2025-03-09 09:20:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:20:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:20:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:20:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:20:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:20:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:20:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:20:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:20:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:20:16] Production.INFO: ==2504== Releasing lock... [2025-03-09 09:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:20:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:20:18] Production.INFO: count ==49 [2025-03-09 09:20:18] Production.ERROR: pbx CDR StartTime 2025-03-09 06:20:06 - End Time 2025-03-09 09:20:06 [2025-03-09 09:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641226', 'tblTempUsageDetail_20' ) start [2025-03-09 09:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641226', 'tblTempUsageDetail_20' ) end [2025-03-09 09:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641226', 'tblTempVendorCDR_20' ) start [2025-03-09 09:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641226', 'tblTempVendorCDR_20' ) end [2025-03-09 09:20:18] Production.INFO: ProcessCDR(1,14641226,1,1,2) [2025-03-09 09:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641226', 'tblTempUsageDetail_20' ) start [2025-03-09 09:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641226', 'tblTempUsageDetail_20' ) end [2025-03-09 09:20:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:20:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:20:21] Production.INFO: ==2512== Releasing lock... [2025-03-09 09:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:20:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:21:01] Production.INFO: ==2569== Lock acquired, processing the job... [2025-03-09 13:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:21:01] Production.INFO: neon service started [2025-03-09 13:21:01] Production.INFO: neon service started [2025-03-09 13:21:01] Production.INFO: ==2569== Releasing lock... [2025-03-09 13:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:21:02] Production.INFO: ==2571== Lock acquired, processing the job... [2025-03-09 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:21:02] Production.INFO: ==2571== Releasing lock... [2025-03-09 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:21:02] Production.INFO: ==2573== Lock acquired, processing the job... [2025-03-09 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:21:02] Production.INFO: ==2573== Releasing lock... [2025-03-09 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:21:03] Production.INFO: ==2576== Lock acquired, processing the job... [2025-03-09 09:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:21:03] Production.INFO: ==2578== Lock acquired, processing the job... [2025-03-09 09:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:21:03] Production.INFO: ==2580== Lock acquired, processing the job... [2025-03-09 09:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:21:03] Production.INFO: ==2584== Lock acquired, processing the job... [2025-03-09 09:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:21:03] Production.INFO: ==2582== Lock acquired, processing the job... [2025-03-09 09:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:21:03] Production.INFO: ==2578== Releasing lock... [2025-03-09 09:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:21:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:21:03] Production.INFO: ==2586== Lock acquired, processing the job... [2025-03-09 09:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:21:04] Production.INFO: Account Balance Start. [2025-03-09 09:21:04] Production.INFO: CreateAllLog Start [2025-03-09 09:21:04] Production.INFO: 117 [2025-03-09 09:21:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:21:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:21:04] Production.INFO: Total Charge 0 [2025-03-09 09:21:04] Production.INFO: count ==13 [2025-03-09 09:21:04] Production.ERROR: done [2025-03-09 09:21:04] Production.INFO: CreateAllLog End [2025-03-09 09:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:21:04] Production.INFO: count ==21 [2025-03-09 09:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641230') start [2025-03-09 09:21:04] Production.INFO: Account Balance End. [2025-03-09 09:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641230') end [2025-03-09 09:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:21:04] Production.INFO: 1 [2025-03-09 09:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:21:04] Production.ERROR: done [2025-03-09 09:21:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:21:04] Production.INFO: ==2582== Releasing lock... [2025-03-09 09:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:21:04] Production.INFO: ==2586== Releasing lock... [2025-03-09 09:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:21:05 [end_date_ymd] => 2025-03-09 09:21:05 [RateCDR] => 1 ) [2025-03-09 09:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:21:05' and `end` < '2025-03-09 09:21:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:21:11] Production.ERROR: CronJobId end10 [2025-03-09 09:21:11] Production.INFO: ==2580== Releasing lock... [2025-03-09 09:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:21:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:21:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:21:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:21:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:21:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:21:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:21:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:21:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:21:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:21:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:21:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:21:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:21:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:21:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:21:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:21:13] Production.INFO: call_cost start [2025-03-09 09:21:14] Production.INFO: call_cost end [2025-03-09 09:21:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:21:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:21:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:21:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:21:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:21:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:21:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:21:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:21:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:21:14] Production.INFO: ==2576== Releasing lock... [2025-03-09 09:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:21:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:21:17] Production.INFO: count ==43 [2025-03-09 09:21:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:21:05 - End Time 2025-03-09 09:21:05 [2025-03-09 09:21:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641231', 'tblTempUsageDetail_20' ) start [2025-03-09 09:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641231', 'tblTempUsageDetail_20' ) end [2025-03-09 09:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641231', 'tblTempVendorCDR_20' ) start [2025-03-09 09:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641231', 'tblTempVendorCDR_20' ) end [2025-03-09 09:21:17] Production.INFO: ProcessCDR(1,14641231,1,1,2) [2025-03-09 09:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641231', 'tblTempUsageDetail_20' ) start [2025-03-09 09:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641231', 'tblTempUsageDetail_20' ) end [2025-03-09 09:21:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:21:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:21:20] Production.INFO: ==2584== Releasing lock... [2025-03-09 09:21:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:21:20] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:22:02] Production.INFO: ==2639== Lock acquired, processing the job... [2025-03-09 13:22:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:22:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:22:02] Production.INFO: neon service started [2025-03-09 13:22:02] Production.INFO: neon service started [2025-03-09 13:22:02] Production.INFO: ==2639== Releasing lock... [2025-03-09 13:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:22:02] Production.INFO: ==2641== Lock acquired, processing the job... [2025-03-09 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:22:02] Production.INFO: ==2641== Releasing lock... [2025-03-09 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:22:03] Production.INFO: ==2643== Lock acquired, processing the job... [2025-03-09 13:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:22:03] Production.INFO: ==2643== Releasing lock... [2025-03-09 13:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:22:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:22:03] Production.INFO: ==2651== Lock acquired, processing the job... [2025-03-09 09:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:22:03] Production.INFO: ==2645== Lock acquired, processing the job... [2025-03-09 09:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:22:03] Production.INFO: Account Balance Start. [2025-03-09 09:22:03] Production.INFO: CreateAllLog Start [2025-03-09 09:22:03] Production.INFO: 117 [2025-03-09 09:22:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:22:03] Production.INFO: ==2647== Lock acquired, processing the job... [2025-03-09 09:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:22:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:22:03] Production.INFO: ==2649== Lock acquired, processing the job... [2025-03-09 09:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:22:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:22:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:22:04] Production.INFO: ==2653== Lock acquired, processing the job... [2025-03-09 09:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:22:04] Production.INFO: Total Charge 0 [2025-03-09 09:22:04] Production.INFO: CreateAllLog End [2025-03-09 09:22:04] Production.INFO: ==2655== Lock acquired, processing the job... [2025-03-09 09:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:22:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:22:04] Production.INFO: Account Balance End. [2025-03-09 09:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:22:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:22:04] Production.INFO: ==2651== Releasing lock... [2025-03-09 09:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:22:04] Production.INFO: ==2647== Releasing lock... [2025-03-09 09:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:22:04] Production.INFO: count ==13 [2025-03-09 09:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:22:04] Production.INFO: count ==21 [2025-03-09 09:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641235') start [2025-03-09 09:22:04] Production.ERROR: done [2025-03-09 09:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641235') end [2025-03-09 09:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:22:04] Production.INFO: 1 [2025-03-09 09:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:22:04] Production.INFO: ==2655== Releasing lock... [2025-03-09 09:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:22:04] Production.ERROR: done [2025-03-09 09:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:22:05 [end_date_ymd] => 2025-03-09 09:22:05 [RateCDR] => 1 ) [2025-03-09 09:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:22:05' and `end` < '2025-03-09 09:22:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:22:12] Production.ERROR: CronJobId end10 [2025-03-09 09:22:12] Production.INFO: ==2649== Releasing lock... [2025-03-09 09:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:22:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:22:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:22:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:22:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:22:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:22:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:22:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:22:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:22:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:22:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:22:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:22:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:22:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:22:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:22:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:22:14] Production.INFO: call_cost start [2025-03-09 09:22:14] Production.INFO: call_cost end [2025-03-09 09:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:22:15] Production.INFO: ==2645== Releasing lock... [2025-03-09 09:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:22:17] Production.INFO: count ==43 [2025-03-09 09:22:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:22:05 - End Time 2025-03-09 09:22:05 [2025-03-09 09:22:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641236', 'tblTempUsageDetail_20' ) start [2025-03-09 09:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641236', 'tblTempUsageDetail_20' ) end [2025-03-09 09:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641236', 'tblTempVendorCDR_20' ) start [2025-03-09 09:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641236', 'tblTempVendorCDR_20' ) end [2025-03-09 09:22:17] Production.INFO: ProcessCDR(1,14641236,1,1,2) [2025-03-09 09:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641236', 'tblTempUsageDetail_20' ) start [2025-03-09 09:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641236', 'tblTempUsageDetail_20' ) end [2025-03-09 09:22:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:22:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:22:21] Production.INFO: ==2653== Releasing lock... [2025-03-09 09:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:22:21] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:23:01] Production.INFO: ==2711== Lock acquired, processing the job... [2025-03-09 13:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:23:01] Production.INFO: neon service started [2025-03-09 13:23:01] Production.INFO: neon service started [2025-03-09 13:23:01] Production.INFO: ==2711== Releasing lock... [2025-03-09 13:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:23:02] Production.INFO: ==2713== Lock acquired, processing the job... [2025-03-09 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:23:02] Production.INFO: ==2713== Releasing lock... [2025-03-09 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:23:02] Production.INFO: ==2715== Lock acquired, processing the job... [2025-03-09 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:23:02] Production.INFO: ==2715== Releasing lock... [2025-03-09 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:23:03] Production.INFO: ==2725== Lock acquired, processing the job... [2025-03-09 09:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:23:03] Production.INFO: ==2719== Lock acquired, processing the job... [2025-03-09 09:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:23:03] Production.INFO: ==2717== Lock acquired, processing the job... [2025-03-09 09:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:23:03] Production.INFO: ==2721== Lock acquired, processing the job... [2025-03-09 09:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:23:03] Production.INFO: ==2727== Lock acquired, processing the job... [2025-03-09 09:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:23:03] Production.INFO: ==2723== Lock acquired, processing the job... [2025-03-09 09:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:23:03] Production.INFO: Account Balance Start. [2025-03-09 09:23:03] Production.INFO: CreateAllLog Start [2025-03-09 09:23:03] Production.INFO: 117 [2025-03-09 09:23:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:23:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:23:03] Production.INFO: count ==13 [2025-03-09 09:23:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:23:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:23:03] Production.INFO: count ==21 [2025-03-09 09:23:03] Production.INFO: Total Charge 0 [2025-03-09 09:23:03] Production.INFO: CreateAllLog End [2025-03-09 09:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641237') start [2025-03-09 09:23:03] Production.ERROR: done [2025-03-09 09:23:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:23:03] Production.INFO: ==2719== Releasing lock... [2025-03-09 09:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:23:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:23:03] Production.ERROR: done [2025-03-09 09:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641237') end [2025-03-09 09:23:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:23:03] Production.INFO: 1 [2025-03-09 09:23:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:23:03] Production.INFO: Account Balance End. [2025-03-09 09:23:03] Production.ERROR: CronJobId end 12 [2025-03-09 09:23:03] Production.INFO: ==2723== Releasing lock... [2025-03-09 09:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:23:04] Production.INFO: ==2727== Releasing lock... [2025-03-09 09:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:23:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:23:04 [end_date_ymd] => 2025-03-09 09:23:04 [RateCDR] => 1 ) [2025-03-09 09:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:23:04' and `end` < '2025-03-09 09:23:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:23:11] Production.ERROR: CronJobId end10 [2025-03-09 09:23:11] Production.INFO: ==2721== Releasing lock... [2025-03-09 09:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:23:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:23:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:23:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:23:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:23:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:23:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:23:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:23:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:23:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:23:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:23:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:23:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:23:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:23:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:23:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:23:14] Production.INFO: call_cost start [2025-03-09 09:23:14] Production.INFO: call_cost end [2025-03-09 09:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:23:15] Production.INFO: ==2717== Releasing lock... [2025-03-09 09:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:23:16] Production.INFO: count ==43 [2025-03-09 09:23:16] Production.ERROR: pbx CDR StartTime 2025-03-09 06:23:04 - End Time 2025-03-09 09:23:04 [2025-03-09 09:23:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:23:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641241', 'tblTempUsageDetail_20' ) start [2025-03-09 09:23:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641241', 'tblTempUsageDetail_20' ) end [2025-03-09 09:23:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641241', 'tblTempVendorCDR_20' ) start [2025-03-09 09:23:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641241', 'tblTempVendorCDR_20' ) end [2025-03-09 09:23:16] Production.INFO: ProcessCDR(1,14641241,1,1,2) [2025-03-09 09:23:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:23:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:23:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641241', 'tblTempUsageDetail_20' ) start [2025-03-09 09:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641241', 'tblTempUsageDetail_20' ) end [2025-03-09 09:23:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:23:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:23:20] Production.INFO: ==2725== Releasing lock... [2025-03-09 09:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:23:20] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:24:02] Production.INFO: ==2781== Lock acquired, processing the job... [2025-03-09 13:24:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:24:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:24:02] Production.INFO: neon service started [2025-03-09 13:24:02] Production.INFO: neon service started [2025-03-09 13:24:02] Production.INFO: ==2781== Releasing lock... [2025-03-09 13:24:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:24:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:24:02] Production.INFO: ==2784== Lock acquired, processing the job... [2025-03-09 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:24:02] Production.INFO: ==2784== Releasing lock... [2025-03-09 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:24:02] Production.INFO: ==2786== Lock acquired, processing the job... [2025-03-09 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:24:02] Production.INFO: ==2786== Releasing lock... [2025-03-09 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:24:03] Production.INFO: ==2794== Lock acquired, processing the job... [2025-03-09 09:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:24:03] Production.INFO: ==2798== Lock acquired, processing the job... [2025-03-09 09:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:24:03] Production.INFO: Account Balance Start. [2025-03-09 09:24:03] Production.INFO: CreateAllLog Start [2025-03-09 09:24:03] Production.INFO: 117 [2025-03-09 09:24:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:24:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:24:03] Production.INFO: ==2788== Lock acquired, processing the job... [2025-03-09 09:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:24:03] Production.INFO: ==2790== Lock acquired, processing the job... [2025-03-09 09:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:24:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:24:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:24:03] Production.INFO: count ==13 [2025-03-09 09:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:24:03] Production.INFO: count ==21 [2025-03-09 09:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641243') start [2025-03-09 09:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:24:04] Production.INFO: ==2792== Lock acquired, processing the job... [2025-03-09 09:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:24:04] Production.INFO: Total Charge 0 [2025-03-09 09:24:04] Production.INFO: CreateAllLog End [2025-03-09 09:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641243') end [2025-03-09 09:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:24:04] Production.INFO: 1 [2025-03-09 09:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:24:04] Production.INFO: ==2798== Releasing lock... [2025-03-09 09:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:24:04] Production.INFO: ==2796== Lock acquired, processing the job... [2025-03-09 09:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:24:04] Production.INFO: Account Balance End. [2025-03-09 09:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:24:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:24:04] Production.INFO: ==2794== Releasing lock... [2025-03-09 09:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:24:04] Production.INFO: ==2790== Releasing lock... [2025-03-09 09:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:24:04] Production.ERROR: done [2025-03-09 09:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:24:04] Production.ERROR: done [2025-03-09 09:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:24:05 [end_date_ymd] => 2025-03-09 09:24:05 [RateCDR] => 1 ) [2025-03-09 09:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:24:05' and `end` < '2025-03-09 09:24:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:24:12] Production.ERROR: CronJobId end10 [2025-03-09 09:24:12] Production.INFO: ==2792== Releasing lock... [2025-03-09 09:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:24:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:24:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:24:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:24:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:24:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:24:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:24:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:24:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:24:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:24:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:24:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:24:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:24:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:24:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:24:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:24:14] Production.INFO: call_cost start [2025-03-09 09:24:14] Production.INFO: call_cost end [2025-03-09 09:24:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:24:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:24:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:24:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:24:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:24:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:24:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:24:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:24:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:24:14] Production.INFO: ==2788== Releasing lock... [2025-03-09 09:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:24:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:24:17] Production.INFO: count ==43 [2025-03-09 09:24:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:24:05 - End Time 2025-03-09 09:24:05 [2025-03-09 09:24:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641246', 'tblTempUsageDetail_20' ) start [2025-03-09 09:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641246', 'tblTempUsageDetail_20' ) end [2025-03-09 09:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641246', 'tblTempVendorCDR_20' ) start [2025-03-09 09:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641246', 'tblTempVendorCDR_20' ) end [2025-03-09 09:24:17] Production.INFO: ProcessCDR(1,14641246,1,1,2) [2025-03-09 09:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:24:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641246', 'tblTempUsageDetail_20' ) start [2025-03-09 09:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641246', 'tblTempUsageDetail_20' ) end [2025-03-09 09:24:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:24:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:24:20] Production.INFO: ==2796== Releasing lock... [2025-03-09 09:24:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:24:20] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:25:01] Production.INFO: ==2853== Lock acquired, processing the job... [2025-03-09 13:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:25:01] Production.INFO: neon service started [2025-03-09 13:25:01] Production.INFO: neon service started [2025-03-09 13:25:01] Production.INFO: ==2853== Releasing lock... [2025-03-09 13:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:25:02] Production.INFO: ==2855== Lock acquired, processing the job... [2025-03-09 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:25:02] Production.INFO: ==2857== Lock acquired, processing the job... [2025-03-09 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:25:02] Production.INFO: ==2857== Releasing lock... [2025-03-09 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:25:02] Production.INFO: ==2855== Releasing lock... [2025-03-09 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:25:03] Production.INFO: ==2868== Lock acquired, processing the job... [2025-03-09 09:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:25:03] Production.INFO: ==2870== Lock acquired, processing the job... [2025-03-09 09:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:25:03] Production.INFO: ==2860== Lock acquired, processing the job... [2025-03-09 09:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:25:03] Production.INFO: count ==13 [2025-03-09 09:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:25:03] Production.INFO: count ==21 [2025-03-09 09:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641247') start [2025-03-09 09:25:03] Production.INFO: ==2864== Lock acquired, processing the job... [2025-03-09 09:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:25:03] Production.INFO: ==2862== Lock acquired, processing the job... [2025-03-09 09:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:25:03] Production.INFO: ==2866== Lock acquired, processing the job... [2025-03-09 09:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641247') end [2025-03-09 09:25:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:25:03] Production.INFO: 1 [2025-03-09 09:25:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:25:03] Production.INFO: ==2870== Releasing lock... [2025-03-09 09:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:25:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:25:03] Production.ERROR: done [2025-03-09 09:25:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:25:03] Production.INFO: Account Balance Start. [2025-03-09 09:25:03] Production.INFO: CreateAllLog Start [2025-03-09 09:25:03] Production.INFO: 117 [2025-03-09 09:25:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:25:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:25:03] Production.INFO: ==2862== Releasing lock... [2025-03-09 09:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:25:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:25:04] Production.INFO: Total Charge 0 [2025-03-09 09:25:04] Production.ERROR: done [2025-03-09 09:25:04] Production.INFO: CreateAllLog End [2025-03-09 09:25:04] Production.INFO: Account Balance End. [2025-03-09 09:25:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:25:04] Production.INFO: ==2866== Releasing lock... [2025-03-09 09:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:25:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:25:04 [end_date_ymd] => 2025-03-09 09:25:04 [RateCDR] => 1 ) [2025-03-09 09:25:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:25:04' and `end` < '2025-03-09 09:25:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:25:10] Production.ERROR: CronJobId end10 [2025-03-09 09:25:10] Production.INFO: ==2864== Releasing lock... [2025-03-09 09:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:25:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:25:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:25:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:25:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:25:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:25:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:25:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:25:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:25:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:25:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:25:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:25:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:25:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:25:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:25:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:25:13] Production.INFO: call_cost start [2025-03-09 09:25:13] Production.INFO: call_cost end [2025-03-09 09:25:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:25:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:25:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:25:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:25:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:25:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:25:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:25:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:25:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:25:14] Production.INFO: ==2860== Releasing lock... [2025-03-09 09:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:25:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:25:17] Production.INFO: count ==43 [2025-03-09 09:25:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:25:04 - End Time 2025-03-09 09:25:04 [2025-03-09 09:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641251', 'tblTempUsageDetail_20' ) start [2025-03-09 09:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641251', 'tblTempUsageDetail_20' ) end [2025-03-09 09:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641251', 'tblTempVendorCDR_20' ) start [2025-03-09 09:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641251', 'tblTempVendorCDR_20' ) end [2025-03-09 09:25:17] Production.INFO: ProcessCDR(1,14641251,1,1,2) [2025-03-09 09:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641251', 'tblTempUsageDetail_20' ) start [2025-03-09 09:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641251', 'tblTempUsageDetail_20' ) end [2025-03-09 09:25:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:25:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:25:20] Production.INFO: ==2868== Releasing lock... [2025-03-09 09:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:25:20] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:26:02] Production.INFO: ==2932== Lock acquired, processing the job... [2025-03-09 13:26:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:26:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:26:02] Production.INFO: neon service started [2025-03-09 13:26:02] Production.INFO: neon service started [2025-03-09 13:26:02] Production.INFO: ==2932== Releasing lock... [2025-03-09 13:26:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:26:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:26:02] Production.INFO: ==2937== Lock acquired, processing the job... [2025-03-09 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:26:02] Production.INFO: ==2937== Releasing lock... [2025-03-09 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:26:02] Production.INFO: ==2935== Lock acquired, processing the job... [2025-03-09 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:26:02] Production.INFO: ==2935== Releasing lock... [2025-03-09 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:26:03] Production.INFO: ==2939== Lock acquired, processing the job... [2025-03-09 09:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:26:04] Production.INFO: ==2943== Lock acquired, processing the job... [2025-03-09 09:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:26:04] Production.INFO: ==2941== Lock acquired, processing the job... [2025-03-09 09:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:26:04] Production.INFO: ==2945== Lock acquired, processing the job... [2025-03-09 09:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:26:04] Production.INFO: ==2950== Lock acquired, processing the job... [2025-03-09 09:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:26:04] Production.INFO: ==2947== Lock acquired, processing the job... [2025-03-09 09:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 09:26:04] Production.INFO: Account Balance Start. [2025-03-09 09:26:04] Production.INFO: CreateAllLog Start [2025-03-09 09:26:04] Production.INFO: 117 [2025-03-09 09:26:04] Production.INFO: count ==13 [2025-03-09 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-09 09:26:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:26:04] Production.INFO: count ==21 [2025-03-09 09:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641254') start [2025-03-09 09:26:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:26:04] Production.INFO: ==2941== Releasing lock... [2025-03-09 09:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:26:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:26:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641254') end [2025-03-09 09:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:26:04] Production.INFO: 1 [2025-03-09 09:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:26:04] Production.INFO: Total Charge 0 [2025-03-09 09:26:04] Production.INFO: CreateAllLog End [2025-03-09 09:26:04] Production.INFO: ==2950== Releasing lock... [2025-03-09 09:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:26:04] Production.ERROR: done [2025-03-09 09:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:26:05] Production.ERROR: done [2025-03-09 09:26:05] Production.INFO: Account Balance End. [2025-03-09 09:26:05] Production.ERROR: CronJobId end 12 [2025-03-09 09:26:05] Production.INFO: ==2945== Releasing lock... [2025-03-09 09:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:26:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:26:05 [end_date_ymd] => 2025-03-09 09:26:05 [RateCDR] => 1 ) [2025-03-09 09:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:26:05' and `end` < '2025-03-09 09:26:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:26:11] Production.ERROR: CronJobId end10 [2025-03-09 09:26:11] Production.INFO: ==2943== Releasing lock... [2025-03-09 09:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:26:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:26:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:26:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:26:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:26:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:26:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:26:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:26:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:26:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:26:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:26:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:26:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:26:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:26:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:26:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:26:15] Production.INFO: call_cost start [2025-03-09 09:26:15] Production.INFO: call_cost end [2025-03-09 09:26:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:26:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:26:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:26:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:26:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:26:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:26:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:26:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:26:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:26:15] Production.INFO: ==2939== Releasing lock... [2025-03-09 09:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:26:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:26:17] Production.INFO: count ==40 [2025-03-09 09:26:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:26:05 - End Time 2025-03-09 09:26:05 [2025-03-09 09:26:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641256', 'tblTempUsageDetail_20' ) start [2025-03-09 09:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641256', 'tblTempUsageDetail_20' ) end [2025-03-09 09:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641256', 'tblTempVendorCDR_20' ) start [2025-03-09 09:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641256', 'tblTempVendorCDR_20' ) end [2025-03-09 09:26:17] Production.INFO: ProcessCDR(1,14641256,1,1,2) [2025-03-09 09:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641256', 'tblTempUsageDetail_20' ) start [2025-03-09 09:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641256', 'tblTempUsageDetail_20' ) end [2025-03-09 09:26:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:26:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:26:21] Production.INFO: ==2947== Releasing lock... [2025-03-09 09:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:26:21] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:27:01] Production.INFO: ==3044== Lock acquired, processing the job... [2025-03-09 13:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:27:01] Production.INFO: neon service started [2025-03-09 13:27:01] Production.INFO: neon service started [2025-03-09 13:27:01] Production.INFO: ==3044== Releasing lock... [2025-03-09 13:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:27:01] Production.INFO: ==3046== Lock acquired, processing the job... [2025-03-09 09:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:27:02] Production.INFO: ==3046== Releasing lock... [2025-03-09 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:27:02] Production.INFO: ==3048== Lock acquired, processing the job... [2025-03-09 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:27:02] Production.INFO: ==3048== Releasing lock... [2025-03-09 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:27:02] Production.INFO: ==3055== Lock acquired, processing the job... [2025-03-09 09:27:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:27:03] Production.INFO: ==3061== Lock acquired, processing the job... [2025-03-09 09:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:27:03] Production.INFO: ==3051== Lock acquired, processing the job... [2025-03-09 09:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:27:03] Production.INFO: ==3053== Lock acquired, processing the job... [2025-03-09 09:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:27:03] Production.INFO: count ==13 [2025-03-09 09:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:27:03] Production.INFO: count ==21 [2025-03-09 09:27:03] Production.INFO: ==3057== Lock acquired, processing the job... [2025-03-09 09:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641257') start [2025-03-09 09:27:03] Production.INFO: ==3059== Lock acquired, processing the job... [2025-03-09 09:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641257') end [2025-03-09 09:27:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:27:03] Production.INFO: 1 [2025-03-09 09:27:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:27:03] Production.INFO: Account Balance Start. [2025-03-09 09:27:03] Production.INFO: CreateAllLog Start [2025-03-09 09:27:03] Production.INFO: 117 [2025-03-09 09:27:03] Production.INFO: ==3061== Releasing lock... [2025-03-09 09:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:27:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:27:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:27:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:27:03] Production.INFO: ==3053== Releasing lock... [2025-03-09 09:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:27:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:27:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:27:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:27:03] Production.INFO: Total Charge 0 [2025-03-09 09:27:03] Production.INFO: CreateAllLog End [2025-03-09 09:27:03] Production.ERROR: done [2025-03-09 09:27:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:27:04] Production.ERROR: done [2025-03-09 09:27:04] Production.INFO: Account Balance End. [2025-03-09 09:27:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:27:04] Production.INFO: ==3057== Releasing lock... [2025-03-09 09:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:27:05 [end_date_ymd] => 2025-03-09 09:27:05 [RateCDR] => 1 ) [2025-03-09 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-09 06:27:05' and `end` < '2025-03-09 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-09 09:27:11] Production.ERROR: CronJobId end10 [2025-03-09 09:27:11] Production.INFO: ==3055== Releasing lock... [2025-03-09 09:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:27:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:27:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:27:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:27:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:27:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:27:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:27:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:27:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:27:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:27:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:27:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:27:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:27:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:27:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:27:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:27:13] Production.INFO: call_cost start [2025-03-09 09:27:13] Production.INFO: call_cost end [2025-03-09 09:27:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:27:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:27:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:27:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:27:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:27:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:27:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:27:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:27:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:27:14] Production.INFO: ==3051== Releasing lock... [2025-03-09 09:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:27:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:27:17] Production.INFO: count ==40 [2025-03-09 09:27:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:27:05 - End Time 2025-03-09 09:27:05 [2025-03-09 09:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641261', 'tblTempUsageDetail_20' ) start [2025-03-09 09:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641261', 'tblTempUsageDetail_20' ) end [2025-03-09 09:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641261', 'tblTempVendorCDR_20' ) start [2025-03-09 09:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641261', 'tblTempVendorCDR_20' ) end [2025-03-09 09:27:17] Production.INFO: ProcessCDR(1,14641261,1,1,2) [2025-03-09 09:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:27:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641261', 'tblTempUsageDetail_20' ) start [2025-03-09 09:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641261', 'tblTempUsageDetail_20' ) end [2025-03-09 09:27:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:27:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:27:20] Production.INFO: ==3059== Releasing lock... [2025-03-09 09:27:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:27:20] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:28:01] Production.INFO: ==3118== Lock acquired, processing the job... [2025-03-09 13:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:28:01] Production.INFO: neon service started [2025-03-09 13:28:01] Production.INFO: neon service started [2025-03-09 13:28:01] Production.INFO: ==3118== Releasing lock... [2025-03-09 13:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:28:02] Production.INFO: ==3120== Lock acquired, processing the job... [2025-03-09 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:28:02] Production.INFO: ==3120== Releasing lock... [2025-03-09 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:28:02] Production.INFO: ==3122== Lock acquired, processing the job... [2025-03-09 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:28:02] Production.INFO: ==3122== Releasing lock... [2025-03-09 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:28:03] Production.INFO: ==3129== Lock acquired, processing the job... [2025-03-09 09:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:28:03] Production.INFO: ==3133== Lock acquired, processing the job... [2025-03-09 09:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:28:03] Production.INFO: ==3125== Lock acquired, processing the job... [2025-03-09 09:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:28:03] Production.INFO: ==3131== Lock acquired, processing the job... [2025-03-09 09:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:28:03] Production.INFO: ==3127== Lock acquired, processing the job... [2025-03-09 09:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:28:03] Production.INFO: ==3135== Lock acquired, processing the job... [2025-03-09 09:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:28:03] Production.INFO: Account Balance Start. [2025-03-09 09:28:03] Production.INFO: CreateAllLog Start [2025-03-09 09:28:03] Production.INFO: 117 [2025-03-09 09:28:03] Production.ERROR: done [2025-03-09 09:28:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:28:03] Production.INFO: Date 2025-03-08 [2025-03-09 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-09 09:28:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:28:04] Production.INFO: count ==13 [2025-03-09 09:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:28:04] Production.INFO: count ==21 [2025-03-09 09:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641263') start [2025-03-09 09:28:04] Production.ERROR: done [2025-03-09 09:28:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:28:04] Production.INFO: Total Charge 0 [2025-03-09 09:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641263') end [2025-03-09 09:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:28:04] Production.INFO: 1 [2025-03-09 09:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:28:04] Production.INFO: CreateAllLog End [2025-03-09 09:28:04] Production.INFO: ==3127== Releasing lock... [2025-03-09 09:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:28:04] Production.INFO: ==3135== Releasing lock... [2025-03-09 09:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:28:04] Production.INFO: Account Balance End. [2025-03-09 09:28:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:28:04] Production.INFO: ==3131== Releasing lock... [2025-03-09 09:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:28:05 [end_date_ymd] => 2025-03-09 09:28:05 [RateCDR] => 1 ) [2025-03-09 09:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:28:05' and `end` < '2025-03-09 09:28:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:28:11] Production.ERROR: CronJobId end10 [2025-03-09 09:28:11] Production.INFO: ==3129== Releasing lock... [2025-03-09 09:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:28:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:28:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:28:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:28:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:28:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:28:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:28:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:28:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:28:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:28:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:28:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:28:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:28:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:28:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:28:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:28:14] Production.INFO: call_cost start [2025-03-09 09:28:14] Production.INFO: call_cost end [2025-03-09 09:28:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:28:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:28:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:28:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:28:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:28:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:28:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:28:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:28:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:28:14] Production.INFO: ==3125== Releasing lock... [2025-03-09 09:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:28:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:28:17] Production.INFO: count ==41 [2025-03-09 09:28:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:28:05 - End Time 2025-03-09 09:28:05 [2025-03-09 09:28:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641266', 'tblTempUsageDetail_20' ) start [2025-03-09 09:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641266', 'tblTempUsageDetail_20' ) end [2025-03-09 09:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641266', 'tblTempVendorCDR_20' ) start [2025-03-09 09:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641266', 'tblTempVendorCDR_20' ) end [2025-03-09 09:28:17] Production.INFO: ProcessCDR(1,14641266,1,1,2) [2025-03-09 09:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641266', 'tblTempUsageDetail_20' ) start [2025-03-09 09:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641266', 'tblTempUsageDetail_20' ) end [2025-03-09 09:28:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:28:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:28:21] Production.INFO: ==3133== Releasing lock... [2025-03-09 09:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:28:21] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:29:01] Production.INFO: ==3190== Lock acquired, processing the job... [2025-03-09 13:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:29:01] Production.INFO: neon service started [2025-03-09 13:29:01] Production.INFO: neon service started [2025-03-09 13:29:01] Production.INFO: ==3190== Releasing lock... [2025-03-09 13:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:29:01] Production.INFO: ==3194== Lock acquired, processing the job... [2025-03-09 13:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:29:01] Production.INFO: ==3194== Releasing lock... [2025-03-09 13:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:29:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:29:01] Production.INFO: ==3192== Lock acquired, processing the job... [2025-03-09 09:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:29:02] Production.INFO: ==3192== Releasing lock... [2025-03-09 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:29:02] Production.INFO: ==3197== Lock acquired, processing the job... [2025-03-09 09:29:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:29:03] Production.INFO: ==3201== Lock acquired, processing the job... [2025-03-09 09:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:29:03] Production.INFO: ==3203== Lock acquired, processing the job... [2025-03-09 09:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:29:03] Production.INFO: ==3199== Lock acquired, processing the job... [2025-03-09 09:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:29:03] Production.INFO: Account Balance Start. [2025-03-09 09:29:03] Production.INFO: CreateAllLog Start [2025-03-09 09:29:03] Production.INFO: 117 [2025-03-09 09:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:29:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:29:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:29:03] Production.INFO: Total Charge 0 [2025-03-09 09:29:03] Production.INFO: CreateAllLog End [2025-03-09 09:29:03] Production.INFO: ==3207== Lock acquired, processing the job... [2025-03-09 09:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:29:03] Production.INFO: ==3205== Lock acquired, processing the job... [2025-03-09 09:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:29:03] Production.INFO: Account Balance End. [2025-03-09 09:29:03] Production.ERROR: CronJobId end 12 [2025-03-09 09:29:03] Production.INFO: ==3203== Releasing lock... [2025-03-09 09:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:29:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:29:03] Production.INFO: count ==13 [2025-03-09 09:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:29:03] Production.INFO: count ==21 [2025-03-09 09:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641270') start [2025-03-09 09:29:03] Production.INFO: ==3199== Releasing lock... [2025-03-09 09:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:29:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641270') end [2025-03-09 09:29:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:29:03] Production.INFO: 1 [2025-03-09 09:29:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:29:03] Production.INFO: ==3207== Releasing lock... [2025-03-09 09:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:29:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:29:03] Production.ERROR: done [2025-03-09 09:29:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:29:04] Production.ERROR: done [2025-03-09 09:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:29:05 [end_date_ymd] => 2025-03-09 09:29:05 [RateCDR] => 1 ) [2025-03-09 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-09 06:29:05' and `end` < '2025-03-09 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-09 09:29:10] Production.ERROR: CronJobId end10 [2025-03-09 09:29:10] Production.INFO: ==3201== Releasing lock... [2025-03-09 09:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:29:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:29:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:29:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:29:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:29:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:29:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:29:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:29:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:29:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:29:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:29:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:29:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:29:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:29:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:29:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:29:13] Production.INFO: call_cost start [2025-03-09 09:29:13] Production.INFO: call_cost end [2025-03-09 09:29:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:29:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:29:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:29:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:29:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:29:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:29:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:29:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:29:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:29:14] Production.INFO: ==3197== Releasing lock... [2025-03-09 09:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:29:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:29:17] Production.INFO: count ==41 [2025-03-09 09:29:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:29:05 - End Time 2025-03-09 09:29:05 [2025-03-09 09:29:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641271', 'tblTempUsageDetail_20' ) start [2025-03-09 09:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641271', 'tblTempUsageDetail_20' ) end [2025-03-09 09:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641271', 'tblTempVendorCDR_20' ) start [2025-03-09 09:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641271', 'tblTempVendorCDR_20' ) end [2025-03-09 09:29:17] Production.INFO: ProcessCDR(1,14641271,1,1,2) [2025-03-09 09:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641271', 'tblTempUsageDetail_20' ) start [2025-03-09 09:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641271', 'tblTempUsageDetail_20' ) end [2025-03-09 09:29:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:29:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:29:21] Production.INFO: ==3205== Releasing lock... [2025-03-09 09:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:29:21] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:30:01] Production.INFO: ==3260== Lock acquired, processing the job... [2025-03-09 13:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:30:01] Production.INFO: neon service started [2025-03-09 13:30:01] Production.INFO: neon service started [2025-03-09 13:30:01] Production.INFO: ==3260== Releasing lock... [2025-03-09 13:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:30:02] Production.INFO: ==3263== Lock acquired, processing the job... [2025-03-09 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:30:02] Production.INFO: ==3265== Lock acquired, processing the job... [2025-03-09 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:30:02] Production.INFO: ==3265== Releasing lock... [2025-03-09 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:30:02] Production.INFO: ==3263== Releasing lock... [2025-03-09 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:30:03] Production.INFO: ==3269== Lock acquired, processing the job... [2025-03-09 09:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:30:03] Production.INFO: ==3271== Lock acquired, processing the job... [2025-03-09 09:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:30:03] Production.INFO: ==3277== Lock acquired, processing the job... [2025-03-09 09:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:30:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:30:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:30:03] Production.INFO: ==3267== Lock acquired, processing the job... [2025-03-09 09:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 09:30:03] Production.INFO: ==3281== Lock acquired, processing the job... [2025-03-09 09:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:30:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 09:30:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 09:30:03] Production.ERROR: CronJob PID - 3269 [2025-03-09 09:30:03] Production.ERROR: CronJob Title - System Alerts [2025-03-09 09:30:03] Production.ERROR: CronJob ID - 5 [2025-03-09 09:30:03] Production.ERROR: CronJob Last Run Time 2025-03-09 09:30:00 [2025-03-09 09:30:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 09:30:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 09:30:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 09:30:03] Production.ERROR: CronJob PID - 3271 [2025-03-09 09:30:03] Production.ERROR: CronJob Title - Account Block [2025-03-09 09:30:03] Production.ERROR: CronJob ID - 7 [2025-03-09 09:30:03] Production.ERROR: CronJob Last Run Time 2025-03-09 09:30:00 [2025-03-09 09:30:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 09:30:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 09:30:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 09:30:03] Production.ERROR: CronJob PID - 3277 [2025-03-09 09:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 09:30:03] Production.ERROR: CronJob ID - 16 [2025-03-09 09:30:03] Production.ERROR: CronJob Last Run Time 2025-03-09 09:30:00 [2025-03-09 09:30:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 09:30:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 09:30:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 09:30:03] Production.ERROR: CronJob PID - 3281 [2025-03-09 09:30:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 09:30:03] Production.ERROR: CronJob ID - 19 [2025-03-09 09:30:03] Production.ERROR: CronJob Last Run Time 2025-03-09 09:30:00 [2025-03-09 09:30:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 09:30:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 09:30:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:30:04] Production.INFO: ==3273== Lock acquired, processing the job... [2025-03-09 09:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:30:04] Production.INFO: count ==13 [2025-03-09 09:30:04] Production.INFO: ==3275== Lock acquired, processing the job... [2025-03-09 09:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 09:30:04] Production.INFO: ==3267== Releasing lock... [2025-03-09 09:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 09:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 09:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:30:04] Production.INFO: ==3279== Lock acquired, processing the job... [2025-03-09 09:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 09:30:04] Production.INFO: count ==21 [2025-03-09 09:30:04] Production.ERROR: done [2025-03-09 09:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641274') start [2025-03-09 09:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:30:04] Production.INFO: Account Balance Start. [2025-03-09 09:30:04] Production.INFO: CreateAllLog Start [2025-03-09 09:30:04] Production.INFO: 117 [2025-03-09 09:30:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:30:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641274') end [2025-03-09 09:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:30:04] Production.INFO: 1 [2025-03-09 09:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:30:04] Production.ERROR: done [2025-03-09 09:30:04] Production.INFO: ==3271== Releasing lock... [2025-03-09 09:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:30:04] Production.INFO: ==3281== Releasing lock... [2025-03-09 09:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:30:04] Production.INFO: Total Charge 0 [2025-03-09 09:30:04] Production.INFO: CreateAllLog End [2025-03-09 09:30:04] Production.ERROR: done [2025-03-09 09:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 09:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641277', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 09:30:04] Production.INFO: Account Balance End. [2025-03-09 09:30:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:30:04] Production.INFO: ==3275== Releasing lock... [2025-03-09 09:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:30:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:30:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:30:05 [end_date_ymd] => 2025-03-09 09:30:05 [RateCDR] => 1 ) [2025-03-09 09:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:30:05' and `end` < '2025-03-09 09:30:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641277', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 09:30:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 09:30:08] Production.INFO: ProcessCDR(1,14641277,1,1,2) [2025-03-09 09:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14641277,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14641277,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:30:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:30:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:30:08] Production.INFO: ==3279== Releasing lock... [2025-03-09 09:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 09:30:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 09:30:14] Production.ERROR: CronJobId end10 [2025-03-09 09:30:14] Production.INFO: ==3273== Releasing lock... [2025-03-09 09:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:30:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:30:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:30:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:30:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:30:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:30:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:30:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:30:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:30:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:30:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:30:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:30:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:30:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:30:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:30:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:30:15] Production.INFO: call_cost start [2025-03-09 09:30:15] Production.INFO: call_cost end [2025-03-09 09:30:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:30:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:30:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:30:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:30:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:30:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:30:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:30:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:30:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:30:16] Production.INFO: ==3269== Releasing lock... [2025-03-09 09:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:30:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:30:17] Production.INFO: count ==45 [2025-03-09 09:30:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:30:05 - End Time 2025-03-09 09:30:05 [2025-03-09 09:30:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641276', 'tblTempUsageDetail_20' ) start [2025-03-09 09:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641276', 'tblTempUsageDetail_20' ) end [2025-03-09 09:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641276', 'tblTempVendorCDR_20' ) start [2025-03-09 09:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641276', 'tblTempVendorCDR_20' ) end [2025-03-09 09:30:17] Production.INFO: ProcessCDR(1,14641276,1,1,2) [2025-03-09 09:30:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:30:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:30:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:30:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:30:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641276', 'tblTempUsageDetail_20' ) start [2025-03-09 09:30:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641276', 'tblTempUsageDetail_20' ) end [2025-03-09 09:30:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:30:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:30:20] Production.INFO: ==3277== Releasing lock... [2025-03-09 09:30:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:30:20] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:31:02] Production.INFO: ==3334== Lock acquired, processing the job... [2025-03-09 13:31:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:31:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:31:02] Production.INFO: neon service started [2025-03-09 13:31:02] Production.INFO: neon service started [2025-03-09 13:31:02] Production.INFO: ==3334== Releasing lock... [2025-03-09 13:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:31:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:31:02] Production.INFO: ==3336== Lock acquired, processing the job... [2025-03-09 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:31:02] Production.INFO: ==3338== Lock acquired, processing the job... [2025-03-09 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:31:02] Production.INFO: ==3338== Releasing lock... [2025-03-09 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:31:03] Production.INFO: ==3336== Releasing lock... [2025-03-09 09:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:31:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:31:03] Production.INFO: ==3341== Lock acquired, processing the job... [2025-03-09 09:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:31:04] Production.INFO: ==3345== Lock acquired, processing the job... [2025-03-09 09:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:31:04] Production.INFO: ==3349== Lock acquired, processing the job... [2025-03-09 09:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:31:04] Production.INFO: ==3347== Lock acquired, processing the job... [2025-03-09 09:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:31:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:31:04] Production.INFO: ==3343== Lock acquired, processing the job... [2025-03-09 09:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:31:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:31:04] Production.INFO: ==3351== Lock acquired, processing the job... [2025-03-09 09:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:31:04] Production.INFO: Account Balance Start. [2025-03-09 09:31:04] Production.INFO: CreateAllLog Start [2025-03-09 09:31:04] Production.INFO: 117 [2025-03-09 09:31:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:31:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:31:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:31:04] Production.INFO: Reseller ==> 0 [2025-03-09 09: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-09 09:31:04] Production.INFO: Total Charge 0 [2025-03-09 09:31:04] Production.INFO: CreateAllLog End [2025-03-09 09:31:04] Production.ERROR: done [2025-03-09 09:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:31:04] Production.INFO: count ==13 [2025-03-09 09:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:31:04] Production.INFO: ==3343== Releasing lock... [2025-03-09 09:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:31:04] Production.INFO: count ==21 [2025-03-09 09:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641281') start [2025-03-09 09:31:04] Production.ERROR: done [2025-03-09 09:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641281') end [2025-03-09 09:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:31:04] Production.INFO: 1 [2025-03-09 09:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:31:04] Production.INFO: Account Balance End. [2025-03-09 09:31:04] Production.INFO: ==3351== Releasing lock... [2025-03-09 09:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:31:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:31:04] Production.INFO: ==3347== Releasing lock... [2025-03-09 09:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:31:05 [end_date_ymd] => 2025-03-09 09:31:05 [RateCDR] => 1 ) [2025-03-09 09:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:31:05' and `end` < '2025-03-09 09:31:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:31:12] Production.ERROR: CronJobId end10 [2025-03-09 09:31:12] Production.INFO: ==3345== Releasing lock... [2025-03-09 09:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:31:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:31:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:31:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:31:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:31:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:31:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:31:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:31:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:31:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:31:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:31:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:31:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:31:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:31:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:31:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:31:15] Production.INFO: call_cost start [2025-03-09 09:31:15] Production.INFO: call_cost end [2025-03-09 09:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:31:16] Production.INFO: ==3341== Releasing lock... [2025-03-09 09:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:31:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:31:17] Production.INFO: count ==48 [2025-03-09 09:31:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:31:05 - End Time 2025-03-09 09:31:05 [2025-03-09 09:31:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641282', 'tblTempUsageDetail_20' ) start [2025-03-09 09:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641282', 'tblTempUsageDetail_20' ) end [2025-03-09 09:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641282', 'tblTempVendorCDR_20' ) start [2025-03-09 09:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641282', 'tblTempVendorCDR_20' ) end [2025-03-09 09:31:17] Production.INFO: ProcessCDR(1,14641282,1,1,2) [2025-03-09 09:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641282', 'tblTempUsageDetail_20' ) start [2025-03-09 09:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641282', 'tblTempUsageDetail_20' ) end [2025-03-09 09:31:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:31:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:31:22] Production.INFO: ==3349== Releasing lock... [2025-03-09 09:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:31:22] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:32:01] Production.INFO: ==3405== Lock acquired, processing the job... [2025-03-09 13:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:32:01] Production.INFO: neon service started [2025-03-09 13:32:01] Production.INFO: neon service started [2025-03-09 13:32:01] Production.INFO: ==3405== Releasing lock... [2025-03-09 13:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:32:02] Production.INFO: ==3407== Lock acquired, processing the job... [2025-03-09 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:32:02] Production.INFO: ==3407== Releasing lock... [2025-03-09 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:32:02] Production.INFO: ==3409== Lock acquired, processing the job... [2025-03-09 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:32:02] Production.INFO: ==3409== Releasing lock... [2025-03-09 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:32:03] Production.INFO: ==3412== Lock acquired, processing the job... [2025-03-09 09:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:32:03] Production.INFO: ==3414== Lock acquired, processing the job... [2025-03-09 09:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:32:03] Production.INFO: ==3418== Lock acquired, processing the job... [2025-03-09 09:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:32:03] Production.INFO: Account Balance Start. [2025-03-09 09:32:03] Production.INFO: CreateAllLog Start [2025-03-09 09:32:03] Production.INFO: 117 [2025-03-09 09:32:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:32:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:32:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:32:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:32:03] Production.INFO: ==3414== Releasing lock... [2025-03-09 09:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:32:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:32:03] Production.INFO: Total Charge 0 [2025-03-09 09:32:03] Production.INFO: CreateAllLog End [2025-03-09 09:32:03] Production.INFO: Account Balance End. [2025-03-09 09:32:03] Production.ERROR: CronJobId end 12 [2025-03-09 09:32:03] Production.INFO: ==3418== Releasing lock... [2025-03-09 09:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:32:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:32:03] Production.INFO: ==3416== Lock acquired, processing the job... [2025-03-09 09:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:32:03] Production.INFO: ==3420== Lock acquired, processing the job... [2025-03-09 09:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:32:03] Production.INFO: ==3422== Lock acquired, processing the job... [2025-03-09 09:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:32:04] Production.INFO: count ==13 [2025-03-09 09:32:04] Production.ERROR: done [2025-03-09 09:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 09:32:04] Production.INFO: count ==21 [2025-03-09 09:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641286') start [2025-03-09 09:32:04] Production.ERROR: done [2025-03-09 09:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641286') end [2025-03-09 09:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:32:04] Production.INFO: 1 [2025-03-09 09:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:32:04] Production.INFO: ==3422== Releasing lock... [2025-03-09 09:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:32:05 [end_date_ymd] => 2025-03-09 09:32:05 [RateCDR] => 1 ) [2025-03-09 09:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:32:05' and `end` < '2025-03-09 09:32:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:32:11] Production.ERROR: CronJobId end10 [2025-03-09 09:32:11] Production.INFO: ==3416== Releasing lock... [2025-03-09 09:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:32:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:32:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:32:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:32:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:32:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:32:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:32:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:32:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:32:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:32:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:32:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:32:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:32:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:32:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:32:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:32:14] Production.INFO: call_cost start [2025-03-09 09:32:14] Production.INFO: call_cost end [2025-03-09 09:32:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:32:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:32:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:32:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:32:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:32:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:32:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:32:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:32:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:32:15] Production.INFO: ==3412== Releasing lock... [2025-03-09 09:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:32:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:32:17] Production.INFO: count ==48 [2025-03-09 09:32:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:32:05 - End Time 2025-03-09 09:32:05 [2025-03-09 09:32:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641287', 'tblTempUsageDetail_20' ) start [2025-03-09 09:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641287', 'tblTempUsageDetail_20' ) end [2025-03-09 09:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641287', 'tblTempVendorCDR_20' ) start [2025-03-09 09:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641287', 'tblTempVendorCDR_20' ) end [2025-03-09 09:32:17] Production.INFO: ProcessCDR(1,14641287,1,1,2) [2025-03-09 09:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:32:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641287', 'tblTempUsageDetail_20' ) start [2025-03-09 09:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641287', 'tblTempUsageDetail_20' ) end [2025-03-09 09:32:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:32:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:32:20] Production.INFO: ==3420== Releasing lock... [2025-03-09 09:32:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:32:20] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:33:02] Production.INFO: ==3476== Lock acquired, processing the job... [2025-03-09 13:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:33:02] Production.INFO: neon service started [2025-03-09 13:33:02] Production.INFO: neon service started [2025-03-09 13:33:02] Production.INFO: ==3476== Releasing lock... [2025-03-09 13:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:33:02] Production.INFO: ==3478== Lock acquired, processing the job... [2025-03-09 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:33:02] Production.INFO: ==3478== Releasing lock... [2025-03-09 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:33:02] Production.INFO: ==3480== Lock acquired, processing the job... [2025-03-09 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:33:02] Production.INFO: ==3480== Releasing lock... [2025-03-09 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:33:03] Production.INFO: ==3482== Lock acquired, processing the job... [2025-03-09 09:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:33:03] Production.INFO: ==3486== Lock acquired, processing the job... [2025-03-09 09:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:33:03] Production.INFO: ==3484== Lock acquired, processing the job... [2025-03-09 09:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:33:03] Production.INFO: ==3488== Lock acquired, processing the job... [2025-03-09 09:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:33:03] Production.INFO: ==3490== Lock acquired, processing the job... [2025-03-09 09:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:33:03] Production.INFO: ==3492== Lock acquired, processing the job... [2025-03-09 09:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:33:03] Production.INFO: Account Balance Start. [2025-03-09 09:33:03] Production.INFO: CreateAllLog Start [2025-03-09 09:33:03] Production.INFO: 117 [2025-03-09 09:33:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:33:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:33:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:33:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:33:03] Production.INFO: Total Charge 0 [2025-03-09 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-09 09:33:03] Production.INFO: CreateAllLog End [2025-03-09 09:33:04] Production.INFO: count ==13 [2025-03-09 09:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:33:04] Production.INFO: count ==21 [2025-03-09 09:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641291') start [2025-03-09 09:33:04] Production.INFO: Account Balance End. [2025-03-09 09:33:04] Production.ERROR: done [2025-03-09 09:33:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:33:04] Production.INFO: ==3488== Releasing lock... [2025-03-09 09:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641291') end [2025-03-09 09:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:33:04] Production.INFO: 1 [2025-03-09 09:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:33:04] Production.INFO: ==3484== Releasing lock... [2025-03-09 09:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:33:04] Production.INFO: ==3492== Releasing lock... [2025-03-09 09:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:33:04] Production.ERROR: done [2025-03-09 09:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:33:05 [end_date_ymd] => 2025-03-09 09:33:05 [RateCDR] => 1 ) [2025-03-09 09:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:33:05' and `end` < '2025-03-09 09:33:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:33:11] Production.ERROR: CronJobId end10 [2025-03-09 09:33:11] Production.INFO: ==3486== Releasing lock... [2025-03-09 09:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:33:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:33:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:33:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:33:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:33:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:33:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:33:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:33:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:33:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:33:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:33:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:33:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:33:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:33:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:33:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:33:15] Production.INFO: call_cost start [2025-03-09 09:33:15] Production.INFO: call_cost end [2025-03-09 09:33:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:33:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:33:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:33:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:33:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:33:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:33:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:33:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:33:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:33:16] Production.INFO: ==3482== Releasing lock... [2025-03-09 09:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:33:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:33:17] Production.INFO: count ==48 [2025-03-09 09:33:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:33:05 - End Time 2025-03-09 09:33:05 [2025-03-09 09:33:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641292', 'tblTempUsageDetail_20' ) start [2025-03-09 09:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641292', 'tblTempUsageDetail_20' ) end [2025-03-09 09:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641292', 'tblTempVendorCDR_20' ) start [2025-03-09 09:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641292', 'tblTempVendorCDR_20' ) end [2025-03-09 09:33:17] Production.INFO: ProcessCDR(1,14641292,1,1,2) [2025-03-09 09:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641292', 'tblTempUsageDetail_20' ) start [2025-03-09 09:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641292', 'tblTempUsageDetail_20' ) end [2025-03-09 09:33:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:33:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:33:20] Production.INFO: ==3490== Releasing lock... [2025-03-09 09:33:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:33:20] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:34:01] Production.INFO: ==3549== Lock acquired, processing the job... [2025-03-09 13:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:34:01] Production.INFO: neon service started [2025-03-09 13:34:01] Production.INFO: neon service started [2025-03-09 13:34:01] Production.INFO: ==3549== Releasing lock... [2025-03-09 13:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:34:01] Production.INFO: ==3551== Lock acquired, processing the job... [2025-03-09 09:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:34:02] Production.INFO: ==3551== Releasing lock... [2025-03-09 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:34:02] Production.INFO: ==3553== Lock acquired, processing the job... [2025-03-09 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:34:02] Production.INFO: ==3553== Releasing lock... [2025-03-09 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:34:02] Production.INFO: ==3562== Lock acquired, processing the job... [2025-03-09 09:34:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:34:03] Production.INFO: Account Balance Start. [2025-03-09 09:34:03] Production.INFO: CreateAllLog Start [2025-03-09 09:34:03] Production.INFO: 117 [2025-03-09 09:34:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:34:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:34:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:34:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:34:03] Production.INFO: Total Charge 0 [2025-03-09 09:34:03] Production.INFO: ==3556== Lock acquired, processing the job... [2025-03-09 09:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:34:03] Production.INFO: CreateAllLog End [2025-03-09 09:34:03] Production.INFO: ==3564== Lock acquired, processing the job... [2025-03-09 09:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:34:03] Production.INFO: ==3558== Lock acquired, processing the job... [2025-03-09 09:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:34:03] Production.INFO: Account Balance End. [2025-03-09 09:34:03] Production.INFO: ==3560== Lock acquired, processing the job... [2025-03-09 09:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:34:03] Production.INFO: ==3566== Lock acquired, processing the job... [2025-03-09 09:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:34:03] Production.ERROR: CronJobId end 12 [2025-03-09 09:34:03] Production.INFO: ==3562== Releasing lock... [2025-03-09 09:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:34:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:34:03] Production.INFO: count ==13 [2025-03-09 09:34:03] Production.ERROR: done [2025-03-09 09:34:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:34:03] Production.INFO: count ==21 [2025-03-09 09:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641296') start [2025-03-09 09:34:03] Production.INFO: ==3558== Releasing lock... [2025-03-09 09:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:34:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:34:03] Production.ERROR: done [2025-03-09 09:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641296') end [2025-03-09 09:34:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:34:03] Production.INFO: 1 [2025-03-09 09:34:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:34:03] Production.INFO: ==3566== Releasing lock... [2025-03-09 09:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:34:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:34:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:34:04 [end_date_ymd] => 2025-03-09 09:34:04 [RateCDR] => 1 ) [2025-03-09 09:34:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:34:04' and `end` < '2025-03-09 09:34:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:34:11] Production.ERROR: CronJobId end10 [2025-03-09 09:34:11] Production.INFO: ==3560== Releasing lock... [2025-03-09 09:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:34:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:34:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:34:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:34:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:34:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:34:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:34:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:34:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:34:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:34:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:34:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:34:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:34:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:34:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:34:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:34:13] Production.INFO: call_cost start [2025-03-09 09:34:13] Production.INFO: call_cost end [2025-03-09 09:34:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:34:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:34:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:34:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:34:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:34:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:34:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:34:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:34:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:34:14] Production.INFO: ==3556== Releasing lock... [2025-03-09 09:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:34:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:34:16] Production.INFO: count ==48 [2025-03-09 09:34:16] Production.ERROR: pbx CDR StartTime 2025-03-09 06:34:04 - End Time 2025-03-09 09:34:04 [2025-03-09 09:34:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:34:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641297', 'tblTempUsageDetail_20' ) start [2025-03-09 09:34:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641297', 'tblTempUsageDetail_20' ) end [2025-03-09 09:34:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641297', 'tblTempVendorCDR_20' ) start [2025-03-09 09:34:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641297', 'tblTempVendorCDR_20' ) end [2025-03-09 09:34:16] Production.INFO: ProcessCDR(1,14641297,1,1,2) [2025-03-09 09:34:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:34:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:34:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:34:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641297', 'tblTempUsageDetail_20' ) start [2025-03-09 09:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641297', 'tblTempUsageDetail_20' ) end [2025-03-09 09:34:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:34:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:34:20] Production.INFO: ==3564== Releasing lock... [2025-03-09 09:34:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:34:20] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:35:02] Production.INFO: ==3620== Lock acquired, processing the job... [2025-03-09 13:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:35:02] Production.INFO: neon service started [2025-03-09 13:35:02] Production.INFO: neon service started [2025-03-09 13:35:02] Production.INFO: ==3620== Releasing lock... [2025-03-09 13:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:35:02] Production.INFO: ==3622== Lock acquired, processing the job... [2025-03-09 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:35:02] Production.INFO: ==3622== Releasing lock... [2025-03-09 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:35:02] Production.INFO: ==3624== Lock acquired, processing the job... [2025-03-09 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:35:02] Production.INFO: ==3624== Releasing lock... [2025-03-09 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:35:03] Production.INFO: ==3629== Lock acquired, processing the job... [2025-03-09 09:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:35:03] Production.INFO: ==3637== Lock acquired, processing the job... [2025-03-09 09:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 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-09 09:35:03] Production.INFO: ==3629== Releasing lock... [2025-03-09 09:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:35:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:35:03] Production.INFO: count ==13 [2025-03-09 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-09 09:35:03] Production.INFO: ==3627== Lock acquired, processing the job... [2025-03-09 09:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:35:03] Production.INFO: count ==21 [2025-03-09 09:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641299') start [2025-03-09 09:35:03] Production.INFO: ==3631== Lock acquired, processing the job... [2025-03-09 09:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641299') end [2025-03-09 09:35:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:35:03] Production.INFO: 1 [2025-03-09 09:35:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:35:03] Production.INFO: ==3633== Lock acquired, processing the job... [2025-03-09 09:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:35:03] Production.INFO: ==3635== Lock acquired, processing the job... [2025-03-09 09:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:35:03] Production.INFO: ==3637== Releasing lock... [2025-03-09 09:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:35:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:35:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:35:04] Production.INFO: Account Balance Start. [2025-03-09 09:35:04] Production.INFO: CreateAllLog Start [2025-03-09 09:35:04] Production.INFO: 117 [2025-03-09 09:35:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:35:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:35:04] Production.INFO: Total Charge 0 [2025-03-09 09:35:04] Production.INFO: CreateAllLog End [2025-03-09 09:35:04] Production.ERROR: done [2025-03-09 09:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:35:04] Production.INFO: Account Balance End. [2025-03-09 09:35:04] Production.ERROR: done [2025-03-09 09:35:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:35:04] Production.INFO: ==3633== Releasing lock... [2025-03-09 09:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:35:05 [end_date_ymd] => 2025-03-09 09:35:05 [RateCDR] => 1 ) [2025-03-09 09:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:35:05' and `end` < '2025-03-09 09:35:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:35:11] Production.ERROR: CronJobId end10 [2025-03-09 09:35:11] Production.INFO: ==3631== Releasing lock... [2025-03-09 09:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:35:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:35:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:35:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:35:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:35:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:35:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:35:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:35:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:35:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:35:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:35:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:35:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:35:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:35:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:35:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:35:14] Production.INFO: call_cost start [2025-03-09 09:35:14] Production.INFO: call_cost end [2025-03-09 09:35:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:35:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:35:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:35:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:35:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:35:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:35:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:35:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:35:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:35:15] Production.INFO: ==3627== Releasing lock... [2025-03-09 09:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:35:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:35:17] Production.INFO: count ==48 [2025-03-09 09:35:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:35:05 - End Time 2025-03-09 09:35:05 [2025-03-09 09:35:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641302', 'tblTempUsageDetail_20' ) start [2025-03-09 09:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641302', 'tblTempUsageDetail_20' ) end [2025-03-09 09:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641302', 'tblTempVendorCDR_20' ) start [2025-03-09 09:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641302', 'tblTempVendorCDR_20' ) end [2025-03-09 09:35:17] Production.INFO: ProcessCDR(1,14641302,1,1,2) [2025-03-09 09:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641302', 'tblTempUsageDetail_20' ) start [2025-03-09 09:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641302', 'tblTempUsageDetail_20' ) end [2025-03-09 09:35:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:35:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:35:20] Production.INFO: ==3635== Releasing lock... [2025-03-09 09:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:35:20] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:36:01] Production.INFO: ==3690== Lock acquired, processing the job... [2025-03-09 13:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:36:01] Production.INFO: neon service started [2025-03-09 13:36:01] Production.INFO: neon service started [2025-03-09 13:36:01] Production.INFO: ==3690== Releasing lock... [2025-03-09 13:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:36:02] Production.INFO: ==3692== Lock acquired, processing the job... [2025-03-09 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:36:02] Production.INFO: ==3694== Lock acquired, processing the job... [2025-03-09 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:36:02] Production.INFO: ==3694== Releasing lock... [2025-03-09 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:36:02] Production.INFO: ==3692== Releasing lock... [2025-03-09 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:36:03] Production.INFO: ==3699== Lock acquired, processing the job... [2025-03-09 09:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:36:03] Production.INFO: ==3705== Lock acquired, processing the job... [2025-03-09 09:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:36:03] Production.INFO: ==3701== Lock acquired, processing the job... [2025-03-09 09:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:36:03] Production.INFO: ==3697== Lock acquired, processing the job... [2025-03-09 09:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:36:03] Production.INFO: ==3707== Lock acquired, processing the job... [2025-03-09 09:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:36:03] Production.INFO: ==3699== Releasing lock... [2025-03-09 09:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:36:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:36:03] Production.INFO: ==3703== Lock acquired, processing the job... [2025-03-09 09:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:36:03] Production.ERROR: done [2025-03-09 09:36:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:36:03] Production.INFO: Account Balance Start. [2025-03-09 09:36:03] Production.INFO: CreateAllLog Start [2025-03-09 09:36:03] Production.INFO: 117 [2025-03-09 09:36:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:36:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:36:03] Production.INFO: count ==13 [2025-03-09 09:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:36:03] Production.INFO: count ==21 [2025-03-09 09:36:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:36:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641306') start [2025-03-09 09:36:03] Production.ERROR: done [2025-03-09 09:36:03] Production.INFO: Total Charge 0 [2025-03-09 09:36:03] Production.INFO: CreateAllLog End [2025-03-09 09:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641306') end [2025-03-09 09:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:36:04] Production.INFO: 1 [2025-03-09 09:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:36:04] Production.INFO: ==3707== Releasing lock... [2025-03-09 09:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:36:04] Production.INFO: Account Balance End. [2025-03-09 09:36:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:36:04] Production.INFO: ==3703== Releasing lock... [2025-03-09 09:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:36:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:36:04 [end_date_ymd] => 2025-03-09 09:36:04 [RateCDR] => 1 ) [2025-03-09 09:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:36:04' and `end` < '2025-03-09 09:36:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:36:10] Production.ERROR: CronJobId end10 [2025-03-09 09:36:10] Production.INFO: ==3701== Releasing lock... [2025-03-09 09:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:36:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:36:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:36:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:36:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:36:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:36:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:36:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:36:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:36:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:36:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:36:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:36:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:36:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:36:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:36:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:36:13] Production.INFO: call_cost start [2025-03-09 09:36:13] Production.INFO: call_cost end [2025-03-09 09:36:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:36:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:36:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:36:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:36:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:36:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:36:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:36:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:36:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:36:14] Production.INFO: ==3697== Releasing lock... [2025-03-09 09:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:36:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:36:17] Production.INFO: count ==50 [2025-03-09 09:36:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:36:04 - End Time 2025-03-09 09:36:04 [2025-03-09 09:36:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641307', 'tblTempUsageDetail_20' ) start [2025-03-09 09:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641307', 'tblTempUsageDetail_20' ) end [2025-03-09 09:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641307', 'tblTempVendorCDR_20' ) start [2025-03-09 09:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641307', 'tblTempVendorCDR_20' ) end [2025-03-09 09:36:17] Production.INFO: ProcessCDR(1,14641307,1,1,2) [2025-03-09 09:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641307', 'tblTempUsageDetail_20' ) start [2025-03-09 09:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641307', 'tblTempUsageDetail_20' ) end [2025-03-09 09:36:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:36:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:36:21] Production.INFO: ==3705== Releasing lock... [2025-03-09 09:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:36:21] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:37:01] Production.INFO: ==3760== Lock acquired, processing the job... [2025-03-09 13:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:37:01] Production.INFO: neon service started [2025-03-09 13:37:01] Production.INFO: neon service started [2025-03-09 13:37:01] Production.INFO: ==3760== Releasing lock... [2025-03-09 13:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:37:02] Production.INFO: ==3762== Lock acquired, processing the job... [2025-03-09 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:37:02] Production.INFO: ==3764== Lock acquired, processing the job... [2025-03-09 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:37:02] Production.INFO: ==3764== Releasing lock... [2025-03-09 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:37:02] Production.INFO: ==3762== Releasing lock... [2025-03-09 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:37:03] Production.INFO: ==3767== Lock acquired, processing the job... [2025-03-09 09:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:37:03] Production.INFO: ==3769== Lock acquired, processing the job... [2025-03-09 09:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:37:03] Production.INFO: ==3775== Lock acquired, processing the job... [2025-03-09 09:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:37:03] Production.INFO: ==3777== Lock acquired, processing the job... [2025-03-09 09:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:37:04] Production.INFO: ==3771== Lock acquired, processing the job... [2025-03-09 09:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:37:04] Production.INFO: ==3773== Lock acquired, processing the job... [2025-03-09 09:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:37:04] Production.INFO: ==3769== Releasing lock... [2025-03-09 09:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:37:04] Production.INFO: Account Balance Start. [2025-03-09 09:37:04] Production.INFO: CreateAllLog Start [2025-03-09 09:37:04] Production.INFO: 117 [2025-03-09 09:37:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:37:04] Production.INFO: count ==13 [2025-03-09 09:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:37:04] Production.INFO: count ==21 [2025-03-09 09:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641310') start [2025-03-09 09:37:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641310') end [2025-03-09 09:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:37:04] Production.INFO: 1 [2025-03-09 09:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:37:04] Production.ERROR: done [2025-03-09 09:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:37:04] Production.INFO: Total Charge 0 [2025-03-09 09:37:04] Production.INFO: CreateAllLog End [2025-03-09 09:37:04] Production.INFO: ==3777== Releasing lock... [2025-03-09 09:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:37:04] Production.ERROR: done [2025-03-09 09:37:04] Production.INFO: Account Balance End. [2025-03-09 09:37:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:37:04] Production.INFO: ==3773== Releasing lock... [2025-03-09 09:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:37:05 [end_date_ymd] => 2025-03-09 09:37:05 [RateCDR] => 1 ) [2025-03-09 09:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:37:05' and `end` < '2025-03-09 09:37:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:37:11] Production.ERROR: CronJobId end10 [2025-03-09 09:37:11] Production.INFO: ==3771== Releasing lock... [2025-03-09 09:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:37:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:37:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:37:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:37:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:37:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:37:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:37:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:37:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:37:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:37:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:37:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:37:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:37:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:37:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:37:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:37:14] Production.INFO: call_cost start [2025-03-09 09:37:14] Production.INFO: call_cost end [2025-03-09 09:37:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:37:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:37:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:37:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:37:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:37:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:37:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:37:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:37:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:37:15] Production.INFO: ==3767== Releasing lock... [2025-03-09 09:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:37:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:37:17] Production.INFO: count ==50 [2025-03-09 09:37:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:37:05 - End Time 2025-03-09 09:37:05 [2025-03-09 09:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641312', 'tblTempUsageDetail_20' ) start [2025-03-09 09:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641312', 'tblTempUsageDetail_20' ) end [2025-03-09 09:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641312', 'tblTempVendorCDR_20' ) start [2025-03-09 09:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641312', 'tblTempVendorCDR_20' ) end [2025-03-09 09:37:17] Production.INFO: ProcessCDR(1,14641312,1,1,2) [2025-03-09 09:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641312', 'tblTempUsageDetail_20' ) start [2025-03-09 09:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641312', 'tblTempUsageDetail_20' ) end [2025-03-09 09:37:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:37:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:37:20] Production.INFO: ==3775== Releasing lock... [2025-03-09 09:37:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:37:20] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:38:01] Production.INFO: ==3833== Lock acquired, processing the job... [2025-03-09 13:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:38:01] Production.INFO: neon service started [2025-03-09 13:38:01] Production.INFO: neon service started [2025-03-09 13:38:01] Production.INFO: ==3833== Releasing lock... [2025-03-09 13:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:38:01] Production.INFO: ==3835== Lock acquired, processing the job... [2025-03-09 09:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:38:01] Production.INFO: ==3835== Releasing lock... [2025-03-09 09:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:38:01] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:38:02] Production.INFO: ==3837== Lock acquired, processing the job... [2025-03-09 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:38:02] Production.INFO: ==3837== Releasing lock... [2025-03-09 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:38:03] Production.INFO: ==3840== Lock acquired, processing the job... [2025-03-09 09:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:38:03] Production.INFO: ==3850== Lock acquired, processing the job... [2025-03-09 09:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:38:03] Production.INFO: ==3848== Lock acquired, processing the job... [2025-03-09 09:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:38:03] Production.INFO: ==3842== Lock acquired, processing the job... [2025-03-09 09:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:38:03] Production.INFO: count ==13 [2025-03-09 09:38:03] Production.INFO: ==3844== Lock acquired, processing the job... [2025-03-09 09:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:38:03] Production.INFO: ==3846== Lock acquired, processing the job... [2025-03-09 09:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:38:03] Production.INFO: count ==21 [2025-03-09 09:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641314') start [2025-03-09 09:38:03] Production.INFO: Account Balance Start. [2025-03-09 09:38:03] Production.INFO: CreateAllLog Start [2025-03-09 09:38:03] Production.INFO: 117 [2025-03-09 09:38:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:38:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641314') end [2025-03-09 09:38:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:38:03] Production.INFO: 1 [2025-03-09 09:38:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:38:03] Production.INFO: Total Charge 0 [2025-03-09 09:38:03] Production.INFO: CreateAllLog End [2025-03-09 09:38:03] Production.INFO: ==3850== Releasing lock... [2025-03-09 09:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:38:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:38:03] Production.ERROR: done [2025-03-09 09:38:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:38:03] Production.INFO: ==3842== Releasing lock... [2025-03-09 09:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:38:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:38:04] Production.ERROR: done [2025-03-09 09:38:04] Production.INFO: Account Balance End. [2025-03-09 09:38:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:38:04] Production.INFO: ==3846== Releasing lock... [2025-03-09 09:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:38:05 [end_date_ymd] => 2025-03-09 09:38:05 [RateCDR] => 1 ) [2025-03-09 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-09 06:38:05' and `end` < '2025-03-09 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-09 09:38:11] Production.ERROR: CronJobId end10 [2025-03-09 09:38:11] Production.INFO: ==3844== Releasing lock... [2025-03-09 09:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:38:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:38:14] Production.INFO: call_cost start [2025-03-09 09:38:14] Production.INFO: call_cost end [2025-03-09 09:38:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:38:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:38:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:38:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:38:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:38:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:38:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:38:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:38:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:38:15] Production.INFO: ==3840== Releasing lock... [2025-03-09 09:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:38:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:38:17] Production.INFO: count ==50 [2025-03-09 09:38:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:38:05 - End Time 2025-03-09 09:38:05 [2025-03-09 09:38:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641317', 'tblTempUsageDetail_20' ) start [2025-03-09 09:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641317', 'tblTempUsageDetail_20' ) end [2025-03-09 09:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641317', 'tblTempVendorCDR_20' ) start [2025-03-09 09:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641317', 'tblTempVendorCDR_20' ) end [2025-03-09 09:38:17] Production.INFO: ProcessCDR(1,14641317,1,1,2) [2025-03-09 09:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:38:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641317', 'tblTempUsageDetail_20' ) start [2025-03-09 09:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641317', 'tblTempUsageDetail_20' ) end [2025-03-09 09:38:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:38:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:38:20] Production.INFO: ==3848== Releasing lock... [2025-03-09 09:38:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:38:20] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:39:01] Production.INFO: ==3908== Lock acquired, processing the job... [2025-03-09 13:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:39:01] Production.INFO: neon service started [2025-03-09 13:39:01] Production.INFO: neon service started [2025-03-09 13:39:01] Production.INFO: ==3908== Releasing lock... [2025-03-09 13:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:39:02] Production.INFO: ==3910== Lock acquired, processing the job... [2025-03-09 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:39:02] Production.INFO: ==3910== Releasing lock... [2025-03-09 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:39:02] Production.INFO: ==3912== Lock acquired, processing the job... [2025-03-09 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:39:02] Production.INFO: ==3912== Releasing lock... [2025-03-09 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:39:03] Production.INFO: ==3923== Lock acquired, processing the job... [2025-03-09 09:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:39:03] Production.INFO: ==3919== Lock acquired, processing the job... [2025-03-09 09:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:39:03] Production.INFO: ==3915== Lock acquired, processing the job... [2025-03-09 09:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:39:03] Production.INFO: ==3917== Lock acquired, processing the job... [2025-03-09 09:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:39:03] Production.INFO: ==3921== Lock acquired, processing the job... [2025-03-09 09:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:39:03] Production.INFO: ==3925== Lock acquired, processing the job... [2025-03-09 09:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 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-09 09:39:03] Production.ERROR: done [2025-03-09 09:39:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:39:03] Production.INFO: count ==13 [2025-03-09 09:39:03] Production.INFO: Account Balance Start. [2025-03-09 09:39:03] Production.INFO: CreateAllLog Start [2025-03-09 09:39:03] Production.INFO: 117 [2025-03-09 09:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:39:04] Production.INFO: count ==21 [2025-03-09 09:39:04] Production.ERROR: done [2025-03-09 09:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641320') start [2025-03-09 09:39:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:39:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641320') end [2025-03-09 09:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:39:04] Production.INFO: 1 [2025-03-09 09:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:39:04] Production.INFO: ==3917== Releasing lock... [2025-03-09 09:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:39:04] Production.INFO: ==3925== Releasing lock... [2025-03-09 09:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:39:04] Production.INFO: Total Charge 0 [2025-03-09 09:39:04] Production.INFO: CreateAllLog End [2025-03-09 09:39:04] Production.INFO: Account Balance End. [2025-03-09 09:39:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:39:04] Production.INFO: ==3921== Releasing lock... [2025-03-09 09:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:39:05 [end_date_ymd] => 2025-03-09 09:39:05 [RateCDR] => 1 ) [2025-03-09 09:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:39:05' and `end` < '2025-03-09 09:39:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:39:11] Production.ERROR: CronJobId end10 [2025-03-09 09:39:11] Production.INFO: ==3919== Releasing lock... [2025-03-09 09:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:39:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:39:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:39:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:39:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:39:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:39:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:39:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:39:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:39:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:39:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:39:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:39:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:39:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:39:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:39:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:39:14] Production.INFO: call_cost start [2025-03-09 09:39:14] Production.INFO: call_cost end [2025-03-09 09:39:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:39:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:39:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:39:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:39:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:39:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:39:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:39:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:39:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:39:15] Production.INFO: ==3915== Releasing lock... [2025-03-09 09:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:39:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:39:17] Production.INFO: count ==50 [2025-03-09 09:39:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:39:05 - End Time 2025-03-09 09:39:05 [2025-03-09 09:39:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641322', 'tblTempUsageDetail_20' ) start [2025-03-09 09:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641322', 'tblTempUsageDetail_20' ) end [2025-03-09 09:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641322', 'tblTempVendorCDR_20' ) start [2025-03-09 09:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641322', 'tblTempVendorCDR_20' ) end [2025-03-09 09:39:17] Production.INFO: ProcessCDR(1,14641322,1,1,2) [2025-03-09 09:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641322', 'tblTempUsageDetail_20' ) start [2025-03-09 09:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641322', 'tblTempUsageDetail_20' ) end [2025-03-09 09:39:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:39:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:39:20] Production.INFO: ==3923== Releasing lock... [2025-03-09 09:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:39:20] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:40:02] Production.INFO: ==3981== Lock acquired, processing the job... [2025-03-09 13:40:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:40:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:40:02] Production.INFO: neon service started [2025-03-09 13:40:02] Production.INFO: neon service started [2025-03-09 13:40:02] Production.INFO: ==3981== Releasing lock... [2025-03-09 13:40:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:40:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:40:02] Production.INFO: ==3985== Lock acquired, processing the job... [2025-03-09 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:40:02] Production.INFO: ==3985== Releasing lock... [2025-03-09 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:40:02] Production.INFO: ==3983== Lock acquired, processing the job... [2025-03-09 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:40:03] Production.INFO: ==3983== Releasing lock... [2025-03-09 09:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:40:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:40:04] Production.INFO: ==3996== Lock acquired, processing the job... [2025-03-09 09:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:40:04] Production.INFO: ==3994== Lock acquired, processing the job... [2025-03-09 09:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:40:04] Production.INFO: Account Balance Start. [2025-03-09 09:40:04] Production.INFO: CreateAllLog Start [2025-03-09 09:40:04] Production.INFO: 117 [2025-03-09 09:40:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:40:04] Production.INFO: ==3988== Lock acquired, processing the job... [2025-03-09 09:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 09:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:40:04] Production.INFO: ==4002== Lock acquired, processing the job... [2025-03-09 09:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:40:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:40:04] Production.INFO: Total Charge 0 [2025-03-09 09:40:04] Production.INFO: CreateAllLog End [2025-03-09 09:40:04] Production.INFO: ==3990== Lock acquired, processing the job... [2025-03-09 09:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 09:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 09:40:04] Production.ERROR: CronJob PID - 3994 [2025-03-09 09:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 09:40:04] Production.ERROR: CronJob ID - 10 [2025-03-09 09:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 09:40:00 [2025-03-09 09:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 09:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 09:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 09:40:04] Production.ERROR: CronJob PID - 3996 [2025-03-09 09:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 09:40:04] Production.ERROR: CronJob ID - 12 [2025-03-09 09:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 09:40:00 [2025-03-09 09:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 09:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 09:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 09:40:04] Production.ERROR: CronJob PID - 4002 [2025-03-09 09:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 09:40:04] Production.ERROR: CronJob ID - 19 [2025-03-09 09:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 09:40:00 [2025-03-09 09:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 09:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 09:40:04] Production.INFO: ==3992== Lock acquired, processing the job... [2025-03-09 09:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 09:40:04] Production.INFO: ==3988== Releasing lock... [2025-03-09 09:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 09:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 09:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:40:04] Production.INFO: count ==13 [2025-03-09 09:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:40:04] Production.INFO: count ==21 [2025-03-09 09:40:04] Production.INFO: ==4000== Lock acquired, processing the job... [2025-03-09 09:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 09:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641324') start [2025-03-09 09:40:04] Production.INFO: Account Balance End. [2025-03-09 09:40:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:40:04] Production.INFO: ==3996== Releasing lock... [2025-03-09 09:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:40:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:40:04] Production.INFO: ==3998== Lock acquired, processing the job... [2025-03-09 09:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641324') end [2025-03-09 09:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:40:04] Production.INFO: 1 [2025-03-09 09:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:40:04] Production.INFO: ==4002== Releasing lock... [2025-03-09 09:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:40:05] Production.INFO: ==3992== Releasing lock... [2025-03-09 09:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:40:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:40:05] Production.ERROR: done [2025-03-09 09:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 09:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641327', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 09:40:05] Production.ERROR: done [2025-03-09 09:40:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:40:05] Production.ERROR: done [2025-03-09 09:40:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:40:07 [end_date_ymd] => 2025-03-09 09:40:07 [RateCDR] => 1 ) [2025-03-09 09: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-09 06:40:07' and `end` < '2025-03-09 09: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-09 09:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641327', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 09:40:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 09:40:08] Production.INFO: ProcessCDR(1,14641327,1,1,2) [2025-03-09 09:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14641327,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14641327,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:40:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:40:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:40:08] Production.INFO: ==4000== Releasing lock... [2025-03-09 09:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 09:40:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 09:40:13] Production.ERROR: CronJobId end10 [2025-03-09 09:40:13] Production.INFO: ==3994== Releasing lock... [2025-03-09 09:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:40:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:40:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:40:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:40:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:40:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:40:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:40:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:40:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:40:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:40:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:40:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:40:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:40:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:40:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:40:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:40:16] Production.INFO: call_cost start [2025-03-09 09:40:16] Production.INFO: call_cost end [2025-03-09 09:40:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:40:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:40:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:40:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:40:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:40:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:40:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:40:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:40:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:40:17] Production.INFO: ==3990== Releasing lock... [2025-03-09 09:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:40:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:40:19] Production.INFO: count ==50 [2025-03-09 09:40:19] Production.ERROR: pbx CDR StartTime 2025-03-09 06:40:07 - End Time 2025-03-09 09:40:07 [2025-03-09 09:40:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641328', 'tblTempUsageDetail_20' ) start [2025-03-09 09:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641328', 'tblTempUsageDetail_20' ) end [2025-03-09 09:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641328', 'tblTempVendorCDR_20' ) start [2025-03-09 09:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641328', 'tblTempVendorCDR_20' ) end [2025-03-09 09:40:19] Production.INFO: ProcessCDR(1,14641328,1,1,2) [2025-03-09 09:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641328', 'tblTempUsageDetail_20' ) start [2025-03-09 09:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641328', 'tblTempUsageDetail_20' ) end [2025-03-09 09:40:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:40:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:40:22] Production.INFO: ==3998== Releasing lock... [2025-03-09 09:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:40:22] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:41:01] Production.INFO: ==4059== Lock acquired, processing the job... [2025-03-09 13:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:41:01] Production.INFO: neon service started [2025-03-09 13:41:01] Production.INFO: neon service started [2025-03-09 13:41:01] Production.INFO: ==4059== Releasing lock... [2025-03-09 13:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:41:01] Production.INFO: ==4061== Lock acquired, processing the job... [2025-03-09 09:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:41:02] Production.INFO: ==4061== Releasing lock... [2025-03-09 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:41:02] Production.INFO: ==4063== Lock acquired, processing the job... [2025-03-09 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:41:02] Production.INFO: ==4063== Releasing lock... [2025-03-09 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:41:03] Production.INFO: ==4066== Lock acquired, processing the job... [2025-03-09 09:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:41:03] Production.INFO: ==4076== Lock acquired, processing the job... [2025-03-09 09:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:41:03] Production.INFO: ==4068== Lock acquired, processing the job... [2025-03-09 09:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:41:03] Production.INFO: ==4070== Lock acquired, processing the job... [2025-03-09 09:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:41:03] Production.INFO: ==4072== Lock acquired, processing the job... [2025-03-09 09:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:41:03] Production.INFO: ==4074== Lock acquired, processing the job... [2025-03-09 09:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:41:03] Production.INFO: count ==13 [2025-03-09 09:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:41:03] Production.INFO: count ==21 [2025-03-09 09:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641330') start [2025-03-09 09:41:03] Production.INFO: Account Balance Start. [2025-03-09 09:41:03] Production.INFO: CreateAllLog Start [2025-03-09 09:41:03] Production.INFO: 117 [2025-03-09 09:41:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641330') end [2025-03-09 09:41:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:41:03] Production.INFO: 1 [2025-03-09 09:41:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:41:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:41:03] Production.INFO: Total Charge 0 [2025-03-09 09:41:03] Production.INFO: CreateAllLog End [2025-03-09 09:41:03] Production.INFO: ==4076== Releasing lock... [2025-03-09 09:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:41:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:41:03] Production.INFO: ==4068== Releasing lock... [2025-03-09 09:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:41:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:41:04] Production.ERROR: done [2025-03-09 09:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:41:04] Production.ERROR: done [2025-03-09 09:41:04] Production.INFO: Account Balance End. [2025-03-09 09:41:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:41:04] Production.INFO: ==4072== Releasing lock... [2025-03-09 09:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:41:05 [end_date_ymd] => 2025-03-09 09:41:05 [RateCDR] => 1 ) [2025-03-09 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-09 06:41:05' and `end` < '2025-03-09 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-09 09:41:12] Production.ERROR: CronJobId end10 [2025-03-09 09:41:12] Production.INFO: ==4070== Releasing lock... [2025-03-09 09:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:41:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:41:14] Production.INFO: call_cost start [2025-03-09 09:41:14] Production.INFO: call_cost end [2025-03-09 09:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:41:15] Production.INFO: ==4066== Releasing lock... [2025-03-09 09:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:41:17] Production.INFO: count ==50 [2025-03-09 09:41:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:41:05 - End Time 2025-03-09 09:41:05 [2025-03-09 09:41:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641333', 'tblTempUsageDetail_20' ) start [2025-03-09 09:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641333', 'tblTempUsageDetail_20' ) end [2025-03-09 09:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641333', 'tblTempVendorCDR_20' ) start [2025-03-09 09:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641333', 'tblTempVendorCDR_20' ) end [2025-03-09 09:41:17] Production.INFO: ProcessCDR(1,14641333,1,1,2) [2025-03-09 09:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641333', 'tblTempUsageDetail_20' ) start [2025-03-09 09:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641333', 'tblTempUsageDetail_20' ) end [2025-03-09 09:41:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:41:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:41:21] Production.INFO: ==4074== Releasing lock... [2025-03-09 09:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:41:21] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:42:02] Production.INFO: ==4172== Lock acquired, processing the job... [2025-03-09 13:42:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:42:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:42:02] Production.INFO: neon service started [2025-03-09 13:42:02] Production.INFO: neon service started [2025-03-09 13:42:02] Production.INFO: ==4172== Releasing lock... [2025-03-09 13:42:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:42:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:42:02] Production.INFO: ==4176== Lock acquired, processing the job... [2025-03-09 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:42:02] Production.INFO: ==4176== Releasing lock... [2025-03-09 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:42:02] Production.INFO: ==4174== Lock acquired, processing the job... [2025-03-09 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:42:02] Production.INFO: ==4174== Releasing lock... [2025-03-09 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:42:03] Production.INFO: ==4179== Lock acquired, processing the job... [2025-03-09 09:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:42:03] Production.INFO: ==4183== Lock acquired, processing the job... [2025-03-09 09:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:42:03] Production.INFO: ==4185== Lock acquired, processing the job... [2025-03-09 09:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:42:04] Production.INFO: Account Balance Start. [2025-03-09 09:42:04] Production.INFO: CreateAllLog Start [2025-03-09 09:42:04] Production.INFO: 117 [2025-03-09 09:42:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:42:04] Production.INFO: ==4181== Lock acquired, processing the job... [2025-03-09 09:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:42:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:42:04] Production.INFO: ==4187== Lock acquired, processing the job... [2025-03-09 09:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:42:04] Production.INFO: Total Charge 0 [2025-03-09 09:42:04] Production.INFO: ==4189== Lock acquired, processing the job... [2025-03-09 09:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:42:04] Production.INFO: CreateAllLog End [2025-03-09 09:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:42:04] Production.INFO: count ==13 [2025-03-09 09:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:42:04] Production.INFO: count ==21 [2025-03-09 09:42:04] Production.INFO: ==4181== Releasing lock... [2025-03-09 09:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641337') start [2025-03-09 09:42:04] Production.INFO: Account Balance End. [2025-03-09 09:42:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:42:04] Production.INFO: ==4185== Releasing lock... [2025-03-09 09:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:42:04] Production.ERROR: done [2025-03-09 09:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641337') end [2025-03-09 09:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:42:04] Production.INFO: 1 [2025-03-09 09:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:42:04] Production.INFO: ==4189== Releasing lock... [2025-03-09 09:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:42:04] Production.ERROR: done [2025-03-09 09:42:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:42:06 [end_date_ymd] => 2025-03-09 09:42:06 [RateCDR] => 1 ) [2025-03-09 09:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:42:06' and `end` < '2025-03-09 09:42:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:42:12] Production.ERROR: CronJobId end10 [2025-03-09 09:42:12] Production.INFO: ==4183== Releasing lock... [2025-03-09 09:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:42:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:42:15] Production.INFO: call_cost start [2025-03-09 09:42:15] Production.INFO: call_cost end [2025-03-09 09:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:42:16] Production.INFO: ==4179== Releasing lock... [2025-03-09 09:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:42:18] Production.INFO: count ==50 [2025-03-09 09:42:18] Production.ERROR: pbx CDR StartTime 2025-03-09 06:42:06 - End Time 2025-03-09 09:42:06 [2025-03-09 09:42:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641338', 'tblTempUsageDetail_20' ) start [2025-03-09 09:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641338', 'tblTempUsageDetail_20' ) end [2025-03-09 09:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641338', 'tblTempVendorCDR_20' ) start [2025-03-09 09:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641338', 'tblTempVendorCDR_20' ) end [2025-03-09 09:42:18] Production.INFO: ProcessCDR(1,14641338,1,1,2) [2025-03-09 09:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641338', 'tblTempUsageDetail_20' ) start [2025-03-09 09:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641338', 'tblTempUsageDetail_20' ) end [2025-03-09 09:42:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:42:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:42:21] Production.INFO: ==4187== Releasing lock... [2025-03-09 09:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:42:21] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:43:01] Production.INFO: ==4243== Lock acquired, processing the job... [2025-03-09 13:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:43:01] Production.INFO: neon service started [2025-03-09 13:43:01] Production.INFO: neon service started [2025-03-09 13:43:01] Production.INFO: ==4243== Releasing lock... [2025-03-09 13:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:43:02] Production.INFO: ==4245== Lock acquired, processing the job... [2025-03-09 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:43:02] Production.INFO: ==4247== Lock acquired, processing the job... [2025-03-09 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:43:02] Production.INFO: ==4247== Releasing lock... [2025-03-09 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:43:02] Production.INFO: ==4245== Releasing lock... [2025-03-09 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:43:03] Production.INFO: ==4252== Lock acquired, processing the job... [2025-03-09 09:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:43:03] Production.INFO: ==4256== Lock acquired, processing the job... [2025-03-09 09:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:43:03] Production.INFO: ==4258== Lock acquired, processing the job... [2025-03-09 09:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:43:03] Production.INFO: Account Balance Start. [2025-03-09 09:43:03] Production.INFO: CreateAllLog Start [2025-03-09 09:43:03] Production.INFO: 117 [2025-03-09 09:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:43:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:43:03] Production.INFO: ==4250== Lock acquired, processing the job... [2025-03-09 09:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:43:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:43:03] Production.INFO: Total Charge 0 [2025-03-09 09:43:03] Production.INFO: CreateAllLog End [2025-03-09 09:43:03] Production.INFO: ==4252== Releasing lock... [2025-03-09 09:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:43:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:43:03] Production.INFO: ==4260== Lock acquired, processing the job... [2025-03-09 09:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:43:03] Production.INFO: ==4254== Lock acquired, processing the job... [2025-03-09 09:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:43:03] Production.INFO: Account Balance End. [2025-03-09 09:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:43:03] Production.ERROR: CronJobId end 12 [2025-03-09 09:43:03] Production.INFO: ==4256== Releasing lock... [2025-03-09 09:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:43:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:43:03] Production.INFO: count ==13 [2025-03-09 09:43:03] Production.ERROR: done [2025-03-09 09:43:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:43:04] Production.INFO: count ==21 [2025-03-09 09:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641342') start [2025-03-09 09:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641342') end [2025-03-09 09:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:43:04] Production.INFO: 1 [2025-03-09 09:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:43:04] Production.INFO: ==4260== Releasing lock... [2025-03-09 09:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:43:04] Production.ERROR: done [2025-03-09 09:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:43:05 [end_date_ymd] => 2025-03-09 09:43:05 [RateCDR] => 1 ) [2025-03-09 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-09 06:43:05' and `end` < '2025-03-09 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-09 09:43:11] Production.ERROR: CronJobId end10 [2025-03-09 09:43:11] Production.INFO: ==4254== Releasing lock... [2025-03-09 09:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:43:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:43:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:43:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:43:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:43:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:43:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:43:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:43:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:43:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:43:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:43:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:43:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:43:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:43:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:43:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:43:13] Production.INFO: call_cost start [2025-03-09 09:43:13] Production.INFO: call_cost end [2025-03-09 09:43:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:43:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:43:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:43:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:43:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:43:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:43:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:43:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:43:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:43:14] Production.INFO: ==4250== Releasing lock... [2025-03-09 09:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:43:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:43:17] Production.INFO: count ==50 [2025-03-09 09:43:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:43:05 - End Time 2025-03-09 09:43:05 [2025-03-09 09:43:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641343', 'tblTempUsageDetail_20' ) start [2025-03-09 09:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641343', 'tblTempUsageDetail_20' ) end [2025-03-09 09:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641343', 'tblTempVendorCDR_20' ) start [2025-03-09 09:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641343', 'tblTempVendorCDR_20' ) end [2025-03-09 09:43:17] Production.INFO: ProcessCDR(1,14641343,1,1,2) [2025-03-09 09:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:43:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641343', 'tblTempUsageDetail_20' ) start [2025-03-09 09:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641343', 'tblTempUsageDetail_20' ) end [2025-03-09 09:43:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:43:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:43:20] Production.INFO: ==4258== Releasing lock... [2025-03-09 09:43:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:43:20] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:44:01] Production.INFO: ==4316== Lock acquired, processing the job... [2025-03-09 13:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:44:01] Production.INFO: neon service started [2025-03-09 13:44:01] Production.INFO: neon service started [2025-03-09 13:44:01] Production.INFO: ==4316== Releasing lock... [2025-03-09 13:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:44:02] Production.INFO: ==4320== Lock acquired, processing the job... [2025-03-09 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:44:02] Production.INFO: ==4320== Releasing lock... [2025-03-09 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:44:02] Production.INFO: ==4318== Lock acquired, processing the job... [2025-03-09 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:44:02] Production.INFO: ==4318== Releasing lock... [2025-03-09 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:44:03] Production.INFO: ==4323== Lock acquired, processing the job... [2025-03-09 09:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:44:03] Production.INFO: ==4325== Lock acquired, processing the job... [2025-03-09 09:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:44:03] Production.INFO: ==4327== Lock acquired, processing the job... [2025-03-09 09:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:44:03] Production.INFO: ==4329== Lock acquired, processing the job... [2025-03-09 09:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:44:03] Production.INFO: ==4331== Lock acquired, processing the job... [2025-03-09 09:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:44:03] Production.INFO: ==4325== Releasing lock... [2025-03-09 09:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:44:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:44:04] Production.INFO: ==4333== Lock acquired, processing the job... [2025-03-09 09:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:44:04] Production.INFO: Account Balance Start. [2025-03-09 09:44:04] Production.INFO: CreateAllLog Start [2025-03-09 09:44:04] Production.INFO: 117 [2025-03-09 09:44:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:44:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:44:04] Production.INFO: count ==13 [2025-03-09 09:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:44:04] Production.INFO: count ==21 [2025-03-09 09:44:04] Production.INFO: Total Charge 0 [2025-03-09 09:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641347') start [2025-03-09 09:44:04] Production.INFO: CreateAllLog End [2025-03-09 09:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641347') end [2025-03-09 09:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:44:04] Production.INFO: 1 [2025-03-09 09:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:44:04] Production.INFO: ==4333== Releasing lock... [2025-03-09 09:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:44:04] Production.ERROR: done [2025-03-09 09:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:44:04] Production.INFO: Account Balance End. [2025-03-09 09:44:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:44:04] Production.INFO: ==4329== Releasing lock... [2025-03-09 09:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:44:04] Production.ERROR: done [2025-03-09 09:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:44:05 [end_date_ymd] => 2025-03-09 09:44:05 [RateCDR] => 1 ) [2025-03-09 09:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:44:05' and `end` < '2025-03-09 09:44:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:44:11] Production.ERROR: CronJobId end10 [2025-03-09 09:44:11] Production.INFO: ==4327== Releasing lock... [2025-03-09 09:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:44:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:44:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:44:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:44:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:44:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:44:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:44:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:44:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:44:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:44:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:44:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:44:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:44:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:44:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:44:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:44:14] Production.INFO: call_cost start [2025-03-09 09:44:14] Production.INFO: call_cost end [2025-03-09 09:44:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:44:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:44:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:44:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:44:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:44:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:44:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:44:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:44:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:44:15] Production.INFO: ==4323== Releasing lock... [2025-03-09 09:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:44:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:44:17] Production.INFO: count ==50 [2025-03-09 09:44:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:44:05 - End Time 2025-03-09 09:44:05 [2025-03-09 09:44:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641348', 'tblTempUsageDetail_20' ) start [2025-03-09 09:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641348', 'tblTempUsageDetail_20' ) end [2025-03-09 09:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641348', 'tblTempVendorCDR_20' ) start [2025-03-09 09:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641348', 'tblTempVendorCDR_20' ) end [2025-03-09 09:44:17] Production.INFO: ProcessCDR(1,14641348,1,1,2) [2025-03-09 09:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641348', 'tblTempUsageDetail_20' ) start [2025-03-09 09:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641348', 'tblTempUsageDetail_20' ) end [2025-03-09 09:44:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:44:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:44:21] Production.INFO: ==4331== Releasing lock... [2025-03-09 09:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:44:21] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:45:02] Production.INFO: ==4392== Lock acquired, processing the job... [2025-03-09 13:45:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:45:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:45:02] Production.INFO: neon service started [2025-03-09 13:45:02] Production.INFO: neon service started [2025-03-09 13:45:02] Production.INFO: ==4392== Releasing lock... [2025-03-09 13:45:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:45:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:45:02] Production.INFO: ==4395== Lock acquired, processing the job... [2025-03-09 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:45:03] Production.INFO: ==4395== Releasing lock... [2025-03-09 09:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:45:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:45:03] Production.INFO: ==4397== Lock acquired, processing the job... [2025-03-09 13:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:45:03] Production.INFO: ==4397== Releasing lock... [2025-03-09 13:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:45:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:45:04] Production.INFO: ==4406== Lock acquired, processing the job... [2025-03-09 09:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:45:04] Production.INFO: ==4411== Lock acquired, processing the job... [2025-03-09 09:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:45:04] Production.INFO: Account Balance Start. [2025-03-09 09:45:04] Production.INFO: CreateAllLog Start [2025-03-09 09:45:04] Production.INFO: 117 [2025-03-09 09:45:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:45:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:45:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:45:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:45:04] Production.INFO: Total Charge 0 [2025-03-09 09:45:04] Production.INFO: ==4399== Lock acquired, processing the job... [2025-03-09 09:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:45:04] Production.INFO: ==4401== Lock acquired, processing the job... [2025-03-09 09:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 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-09 09:45:04] Production.INFO: CreateAllLog End [2025-03-09 09:45:04] Production.INFO: ==4403== Lock acquired, processing the job... [2025-03-09 09:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:45:04] Production.INFO: count ==13 [2025-03-09 09:45:04] Production.INFO: ==4409== Lock acquired, processing the job... [2025-03-09 09:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:45:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 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-09 09:45:04] Production.INFO: count ==21 [2025-03-09 09:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:45:04] Production.INFO: Account Balance End. [2025-03-09 09:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641350') start [2025-03-09 09:45:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:45:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:45:04] Production.INFO: ==4406== Releasing lock... [2025-03-09 09:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641350') end [2025-03-09 09:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:45:04] Production.INFO: 1 [2025-03-09 09:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:45:04] Production.INFO: ==4411== Releasing lock... [2025-03-09 09:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:45:04] Production.INFO: ==4401== Releasing lock... [2025-03-09 09:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:45:04] Production.ERROR: done [2025-03-09 09:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:45:04] Production.ERROR: done [2025-03-09 09:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:45:05 [end_date_ymd] => 2025-03-09 09:45:05 [RateCDR] => 1 ) [2025-03-09 09:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:45:05' and `end` < '2025-03-09 09:45:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:45:11] Production.ERROR: CronJobId end10 [2025-03-09 09:45:11] Production.INFO: ==4403== Releasing lock... [2025-03-09 09:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:45:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:45:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:45:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:45:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:45:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:45:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:45:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:45:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:45:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:45:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:45:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:45:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:45:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:45:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:45:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:45:14] Production.INFO: call_cost start [2025-03-09 09:45:14] Production.INFO: call_cost end [2025-03-09 09:45:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:45:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:45:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:45:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:45:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:45:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:45:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:45:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:45:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:45:15] Production.INFO: ==4399== Releasing lock... [2025-03-09 09:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:45:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:45:17] Production.INFO: count ==50 [2025-03-09 09:45:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:45:05 - End Time 2025-03-09 09:45:05 [2025-03-09 09:45:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641353', 'tblTempUsageDetail_20' ) start [2025-03-09 09:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641353', 'tblTempUsageDetail_20' ) end [2025-03-09 09:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641353', 'tblTempVendorCDR_20' ) start [2025-03-09 09:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641353', 'tblTempVendorCDR_20' ) end [2025-03-09 09:45:17] Production.INFO: ProcessCDR(1,14641353,1,1,2) [2025-03-09 09:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641353', 'tblTempUsageDetail_20' ) start [2025-03-09 09:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641353', 'tblTempUsageDetail_20' ) end [2025-03-09 09:45:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:45:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:45:20] Production.INFO: ==4409== Releasing lock... [2025-03-09 09:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:45:20] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:46:01] Production.INFO: ==4464== Lock acquired, processing the job... [2025-03-09 13:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:46:01] Production.INFO: neon service started [2025-03-09 13:46:01] Production.INFO: neon service started [2025-03-09 13:46:01] Production.INFO: ==4464== Releasing lock... [2025-03-09 13:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:46:02] Production.INFO: ==4469== Lock acquired, processing the job... [2025-03-09 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:46:02] Production.INFO: ==4469== Releasing lock... [2025-03-09 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:46:02] Production.INFO: ==4467== Lock acquired, processing the job... [2025-03-09 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:46:02] Production.INFO: ==4467== Releasing lock... [2025-03-09 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:46:03] Production.INFO: ==4471== Lock acquired, processing the job... [2025-03-09 09:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:46:03] Production.INFO: ==4475== Lock acquired, processing the job... [2025-03-09 09:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:46:03] Production.INFO: ==4479== Lock acquired, processing the job... [2025-03-09 09:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:46:03] Production.INFO: ==4473== Lock acquired, processing the job... [2025-03-09 09:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:46:03] Production.INFO: ==4477== Lock acquired, processing the job... [2025-03-09 09:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:46:03] Production.INFO: ==4481== Lock acquired, processing the job... [2025-03-09 09:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:46:03] Production.ERROR: done [2025-03-09 09:46:03] Production.INFO: Account Balance Start. [2025-03-09 09:46:03] Production.INFO: CreateAllLog Start [2025-03-09 09:46:03] Production.INFO: 117 [2025-03-09 09:46:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:46:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:46:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:46:04] Production.INFO: count ==13 [2025-03-09 09:46:04] Production.ERROR: done [2025-03-09 09:46:04] Production.INFO: Total Charge 0 [2025-03-09 09:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:46:04] Production.INFO: count ==21 [2025-03-09 09:46:04] Production.INFO: CreateAllLog End [2025-03-09 09:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641357') start [2025-03-09 09:46:04] Production.INFO: ==4473== Releasing lock... [2025-03-09 09:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641357') end [2025-03-09 09:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:46:04] Production.INFO: 1 [2025-03-09 09:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:46:04] Production.INFO: ==4481== Releasing lock... [2025-03-09 09:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:46:04] Production.INFO: Account Balance End. [2025-03-09 09:46:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:46:04] Production.INFO: ==4477== Releasing lock... [2025-03-09 09:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:46:05 [end_date_ymd] => 2025-03-09 09:46:05 [RateCDR] => 1 ) [2025-03-09 09:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:46:05' and `end` < '2025-03-09 09:46:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:46:11] Production.ERROR: CronJobId end10 [2025-03-09 09:46:11] Production.INFO: ==4475== Releasing lock... [2025-03-09 09:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:46:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:46:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:46:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:46:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:46:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:46:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:46:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:46:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:46:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:46:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:46:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:46:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:46:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:46:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:46:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:46:13] Production.INFO: call_cost start [2025-03-09 09:46:13] Production.INFO: call_cost end [2025-03-09 09:46:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:46:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:46:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:46:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:46:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:46:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:46:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:46:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:46:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:46:14] Production.INFO: ==4471== Releasing lock... [2025-03-09 09:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:46:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:46:17] Production.INFO: count ==51 [2025-03-09 09:46:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:46:05 - End Time 2025-03-09 09:46:05 [2025-03-09 09:46:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641358', 'tblTempUsageDetail_20' ) start [2025-03-09 09:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641358', 'tblTempUsageDetail_20' ) end [2025-03-09 09:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641358', 'tblTempVendorCDR_20' ) start [2025-03-09 09:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641358', 'tblTempVendorCDR_20' ) end [2025-03-09 09:46:17] Production.INFO: ProcessCDR(1,14641358,1,1,2) [2025-03-09 09:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:46:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641358', 'tblTempUsageDetail_20' ) start [2025-03-09 09:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641358', 'tblTempUsageDetail_20' ) end [2025-03-09 09:46:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:46:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:46:20] Production.INFO: ==4479== Releasing lock... [2025-03-09 09:46:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:46:20] Production.INFO: 28 MB #Memory Used# [2025-03-09 13:47:02] Production.INFO: ==4536== Lock acquired, processing the job... [2025-03-09 13:47:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:47:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:47:02] Production.INFO: neon service started [2025-03-09 13:47:02] Production.INFO: neon service started [2025-03-09 13:47:02] Production.INFO: ==4536== Releasing lock... [2025-03-09 13:47:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:47:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:47:02] Production.INFO: ==4538== Lock acquired, processing the job... [2025-03-09 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:47:02] Production.INFO: ==4540== Lock acquired, processing the job... [2025-03-09 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:47:02] Production.INFO: ==4540== Releasing lock... [2025-03-09 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:47:02] Production.INFO: ==4538== Releasing lock... [2025-03-09 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:47:03] Production.INFO: ==4544== Lock acquired, processing the job... [2025-03-09 09:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:47:03] Production.INFO: ==4546== Lock acquired, processing the job... [2025-03-09 09:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:47:03] Production.INFO: ==4542== Lock acquired, processing the job... [2025-03-09 09:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:47:04] Production.INFO: ==4544== Releasing lock... [2025-03-09 09:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:47:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:47:04] Production.INFO: ==4550== Lock acquired, processing the job... [2025-03-09 09:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:47:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:47:04] Production.INFO: ==4548== Lock acquired, processing the job... [2025-03-09 09:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:47:04] Production.INFO: ==4553== Lock acquired, processing the job... [2025-03-09 09:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 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-09 09:47:04] Production.INFO: count ==13 [2025-03-09 09:47:04] Production.INFO: Account Balance Start. [2025-03-09 09:47:04] Production.INFO: CreateAllLog Start [2025-03-09 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-09 09:47:04] Production.INFO: 117 [2025-03-09 09:47:04] Production.INFO: count ==21 [2025-03-09 09:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641362') start [2025-03-09 09:47:04] Production.ERROR: done [2025-03-09 09:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:47:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:47:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641362') end [2025-03-09 09:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:47:04] Production.INFO: 1 [2025-03-09 09:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:47:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:47:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:47:04] Production.INFO: Total Charge 0 [2025-03-09 09:47:04] Production.INFO: CreateAllLog End [2025-03-09 09:47:04] Production.INFO: ==4553== Releasing lock... [2025-03-09 09:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:47:04] Production.ERROR: done [2025-03-09 09:47:05] Production.INFO: Account Balance End. [2025-03-09 09:47:05] Production.ERROR: CronJobId end 12 [2025-03-09 09:47:05] Production.INFO: ==4548== Releasing lock... [2025-03-09 09:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:47:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:47:05 [end_date_ymd] => 2025-03-09 09:47:05 [RateCDR] => 1 ) [2025-03-09 09:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:47:05' and `end` < '2025-03-09 09:47:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:47:12] Production.ERROR: CronJobId end10 [2025-03-09 09:47:12] Production.INFO: ==4546== Releasing lock... [2025-03-09 09:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:47:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:47:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:47:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:47:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:47:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:47:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:47:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:47:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:47:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:47:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:47:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:47:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:47:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:47:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:47:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:47:14] Production.INFO: call_cost start [2025-03-09 09:47:14] Production.INFO: call_cost end [2025-03-09 09:47:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:47:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:47:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:47:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:47:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:47:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:47:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:47:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:47:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:47:15] Production.INFO: ==4542== Releasing lock... [2025-03-09 09:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:47:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:47:17] Production.INFO: count ==54 [2025-03-09 09:47:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:47:05 - End Time 2025-03-09 09:47:05 [2025-03-09 09:47:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641363', 'tblTempUsageDetail_20' ) start [2025-03-09 09:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641363', 'tblTempUsageDetail_20' ) end [2025-03-09 09:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641363', 'tblTempVendorCDR_20' ) start [2025-03-09 09:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641363', 'tblTempVendorCDR_20' ) end [2025-03-09 09:47:17] Production.INFO: ProcessCDR(1,14641363,1,1,2) [2025-03-09 09:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641363', 'tblTempUsageDetail_20' ) start [2025-03-09 09:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641363', 'tblTempUsageDetail_20' ) end [2025-03-09 09:47:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:47:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:47:21] Production.INFO: ==4550== Releasing lock... [2025-03-09 09:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:47:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:48:01] Production.INFO: ==4616== Lock acquired, processing the job... [2025-03-09 13:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:48:01] Production.INFO: neon service started [2025-03-09 13:48:01] Production.INFO: neon service started [2025-03-09 13:48:01] Production.INFO: ==4616== Releasing lock... [2025-03-09 13:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:48:02] Production.INFO: ==4618== Lock acquired, processing the job... [2025-03-09 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:48:02] Production.INFO: ==4618== Releasing lock... [2025-03-09 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:48:02] Production.INFO: ==4620== Lock acquired, processing the job... [2025-03-09 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:48:02] Production.INFO: ==4620== Releasing lock... [2025-03-09 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:48:03] Production.INFO: ==4631== Lock acquired, processing the job... [2025-03-09 09:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:48:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:48:03] Production.INFO: ==4634== Lock acquired, processing the job... [2025-03-09 09:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:48:03] Production.INFO: ==4623== Lock acquired, processing the job... [2025-03-09 09:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:48:03] Production.INFO: ==4625== Lock acquired, processing the job... [2025-03-09 09:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:48:03] Production.INFO: ==4627== Lock acquired, processing the job... [2025-03-09 09:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:48:03] Production.INFO: ==4629== Lock acquired, processing the job... [2025-03-09 09:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:48:03] Production.INFO: count ==13 [2025-03-09 09:48:03] Production.ERROR: done [2025-03-09 09:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:48:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:48:03] Production.INFO: count ==21 [2025-03-09 09:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641364') start [2025-03-09 09:48:03] Production.INFO: Account Balance Start. [2025-03-09 09:48:03] Production.INFO: CreateAllLog Start [2025-03-09 09:48:03] Production.INFO: 117 [2025-03-09 09:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641364') end [2025-03-09 09:48:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:48:03] Production.INFO: 1 [2025-03-09 09:48:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:48:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:48:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:48:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:48:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:48:03] Production.ERROR: done [2025-03-09 09:48:03] Production.INFO: ==4634== Releasing lock... [2025-03-09 09:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:48:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:48:03] Production.INFO: Total Charge 0 [2025-03-09 09:48:03] Production.INFO: CreateAllLog End [2025-03-09 09:48:04] Production.INFO: ==4625== Releasing lock... [2025-03-09 09:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:48:04] Production.INFO: Account Balance End. [2025-03-09 09:48:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:48:04] Production.INFO: ==4629== Releasing lock... [2025-03-09 09:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:48:04 [end_date_ymd] => 2025-03-09 09:48:04 [RateCDR] => 1 ) [2025-03-09 09:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:48:04' and `end` < '2025-03-09 09: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-09 09:48:11] Production.ERROR: CronJobId end10 [2025-03-09 09:48:11] Production.INFO: ==4627== Releasing lock... [2025-03-09 09:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:48:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:48:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:48:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:48:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:48:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:48:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:48:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:48:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:48:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:48:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:48:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:48:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:48:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:48:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:48:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:48:13] Production.INFO: call_cost start [2025-03-09 09:48:13] Production.INFO: call_cost end [2025-03-09 09:48:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:48:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:48:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:48:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:48:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:48:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:48:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:48:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:48:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:48:14] Production.INFO: ==4623== Releasing lock... [2025-03-09 09:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:48:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:48:17] Production.INFO: count ==54 [2025-03-09 09:48:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:48:04 - End Time 2025-03-09 09:48:04 [2025-03-09 09:48:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641368', 'tblTempUsageDetail_20' ) start [2025-03-09 09:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641368', 'tblTempUsageDetail_20' ) end [2025-03-09 09:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641368', 'tblTempVendorCDR_20' ) start [2025-03-09 09:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641368', 'tblTempVendorCDR_20' ) end [2025-03-09 09:48:17] Production.INFO: ProcessCDR(1,14641368,1,1,2) [2025-03-09 09:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:48:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641368', 'tblTempUsageDetail_20' ) start [2025-03-09 09:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641368', 'tblTempUsageDetail_20' ) end [2025-03-09 09:48:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:48:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:48:20] Production.INFO: ==4631== Releasing lock... [2025-03-09 09:48:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:48:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:49:02] Production.INFO: ==4690== Lock acquired, processing the job... [2025-03-09 13:49:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:49:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:49:02] Production.INFO: neon service started [2025-03-09 13:49:02] Production.INFO: neon service started [2025-03-09 13:49:02] Production.INFO: ==4690== Releasing lock... [2025-03-09 13:49:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:49:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:49:02] Production.INFO: ==4693== Lock acquired, processing the job... [2025-03-09 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:49:02] Production.INFO: ==4693== Releasing lock... [2025-03-09 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:49:03] Production.INFO: ==4695== Lock acquired, processing the job... [2025-03-09 13:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:49:03] Production.INFO: ==4695== Releasing lock... [2025-03-09 13:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:49:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:49:03] Production.INFO: ==4697== Lock acquired, processing the job... [2025-03-09 09:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:49:03] Production.INFO: ==4707== Lock acquired, processing the job... [2025-03-09 09:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:49:03] Production.INFO: ==4699== Lock acquired, processing the job... [2025-03-09 09:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:49:03] Production.INFO: ==4701== Lock acquired, processing the job... [2025-03-09 09:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:49:03] Production.INFO: ==4703== Lock acquired, processing the job... [2025-03-09 09:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:49:03] Production.INFO: count ==13 [2025-03-09 09:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:49:03] Production.INFO: count ==21 [2025-03-09 09:49:04] Production.INFO: ==4705== Lock acquired, processing the job... [2025-03-09 09:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641370') start [2025-03-09 09:49:04] Production.INFO: Account Balance Start. [2025-03-09 09:49:04] Production.INFO: CreateAllLog Start [2025-03-09 09:49:04] Production.INFO: 117 [2025-03-09 09:49:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:49:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:49:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641370') end [2025-03-09 09:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:49:04] Production.INFO: 1 [2025-03-09 09:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:49:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:49:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:49:04] Production.INFO: Total Charge 0 [2025-03-09 09:49:04] Production.INFO: CreateAllLog End [2025-03-09 09:49:04] Production.INFO: ==4707== Releasing lock... [2025-03-09 09:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:49:04] Production.ERROR: done [2025-03-09 09:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:49:04] Production.INFO: Account Balance End. [2025-03-09 09:49:04] Production.INFO: ==4699== Releasing lock... [2025-03-09 09:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:49:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:49:04] Production.INFO: ==4703== Releasing lock... [2025-03-09 09:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:49:04] Production.ERROR: done [2025-03-09 09:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:49:05 [end_date_ymd] => 2025-03-09 09:49:05 [RateCDR] => 1 ) [2025-03-09 09:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:49:05' and `end` < '2025-03-09 09:49:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:49:11] Production.ERROR: CronJobId end10 [2025-03-09 09:49:11] Production.INFO: ==4701== Releasing lock... [2025-03-09 09:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:49:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:49:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:49:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:49:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:49:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:49:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:49:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:49:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:49:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:49:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:49:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:49:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:49:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:49:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:49:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:49:13] Production.INFO: call_cost start [2025-03-09 09:49:13] Production.INFO: call_cost end [2025-03-09 09:49:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:49:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:49:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:49:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:49:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:49:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:49:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:49:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:49:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:49:14] Production.INFO: ==4697== Releasing lock... [2025-03-09 09:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:49:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:49:17] Production.INFO: count ==57 [2025-03-09 09:49:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:49:05 - End Time 2025-03-09 09:49:05 [2025-03-09 09:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641373', 'tblTempUsageDetail_20' ) start [2025-03-09 09:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641373', 'tblTempUsageDetail_20' ) end [2025-03-09 09:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641373', 'tblTempVendorCDR_20' ) start [2025-03-09 09:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641373', 'tblTempVendorCDR_20' ) end [2025-03-09 09:49:17] Production.INFO: ProcessCDR(1,14641373,1,1,2) [2025-03-09 09:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641373', 'tblTempUsageDetail_20' ) start [2025-03-09 09:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641373', 'tblTempUsageDetail_20' ) end [2025-03-09 09:49:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:49:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:49:22] Production.INFO: ==4705== Releasing lock... [2025-03-09 09:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:49:22] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:50:01] Production.INFO: ==4761== Lock acquired, processing the job... [2025-03-09 13:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:50:01] Production.INFO: neon service started [2025-03-09 13:50:01] Production.INFO: neon service started [2025-03-09 13:50:01] Production.INFO: ==4761== Releasing lock... [2025-03-09 13:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:50:01] Production.INFO: ==4763== Lock acquired, processing the job... [2025-03-09 09:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:50:02] Production.INFO: ==4763== Releasing lock... [2025-03-09 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:50:02] Production.INFO: ==4765== Lock acquired, processing the job... [2025-03-09 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:50:02] Production.INFO: ==4765== Releasing lock... [2025-03-09 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:50:03] Production.INFO: ==4768== Lock acquired, processing the job... [2025-03-09 09:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 09:50:03] Production.INFO: ==4772== Lock acquired, processing the job... [2025-03-09 09:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:50:03] Production.INFO: ==4770== Lock acquired, processing the job... [2025-03-09 09:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:50:03] Production.INFO: ==4774== Lock acquired, processing the job... [2025-03-09 09:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:50:03] Production.INFO: ==4776== Lock acquired, processing the job... [2025-03-09 09:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:50:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 09:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 09:50:03] Production.ERROR: CronJob PID - 4772 [2025-03-09 09:50:03] Production.ERROR: CronJob Title - Account Block [2025-03-09 09:50:03] Production.ERROR: CronJob ID - 7 [2025-03-09 09:50:03] Production.ERROR: CronJob Last Run Time 2025-03-09 09:50:00 [2025-03-09 09:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 09:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 09:50:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 09:50:03] Production.INFO: ==4768== Releasing lock... [2025-03-09 09:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 09:50:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 09:50:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:50:03] Production.INFO: ==4782== Lock acquired, processing the job... [2025-03-09 09:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:50:03] Production.INFO: ==4778== Lock acquired, processing the job... [2025-03-09 09:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:50:03] Production.INFO: Account Balance Start. [2025-03-09 09:50:03] Production.INFO: CreateAllLog Start [2025-03-09 09:50:03] Production.INFO: 117 [2025-03-09 09:50:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:50:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:50:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09: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-09 09:50:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:50:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:50:03] Production.INFO: ==4780== Lock acquired, processing the job... [2025-03-09 09:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 09:50:03] Production.INFO: count ==13 [2025-03-09 09:50:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:50:03] Production.INFO: count ==21 [2025-03-09 09:50:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:50:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641377') start [2025-03-09 09:50:04] Production.INFO: Total Charge 0 [2025-03-09 09:50:04] Production.INFO: CreateAllLog End [2025-03-09 09:50:04] Production.INFO: ==4772== Releasing lock... [2025-03-09 09:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641377') end [2025-03-09 09:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:50:04] Production.INFO: 1 [2025-03-09 09:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:50:04] Production.INFO: ==4782== Releasing lock... [2025-03-09 09:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:50:04] Production.ERROR: done [2025-03-09 09:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:50:04] Production.ERROR: done [2025-03-09 09:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 09:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641378', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 09:50:04] Production.ERROR: done [2025-03-09 09:50:04] Production.INFO: Account Balance End. [2025-03-09 09:50:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:50:04] Production.INFO: ==4776== Releasing lock... [2025-03-09 09:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:50:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:50:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:50:05 [end_date_ymd] => 2025-03-09 09:50:05 [RateCDR] => 1 ) [2025-03-09 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-09 06:50:05' and `end` < '2025-03-09 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-09 09:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641378', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 09:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 09:50:09] Production.INFO: ProcessCDR(1,14641378,1,1,2) [2025-03-09 09:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14641378,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14641378,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:50:09] Production.INFO: ==4780== Releasing lock... [2025-03-09 09:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 09:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 09:50:14] Production.ERROR: CronJobId end10 [2025-03-09 09:50:14] Production.INFO: ==4774== Releasing lock... [2025-03-09 09:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:50:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:50:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:50:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:50:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:50:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:50:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:50:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:50:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:50:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:50:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:50:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:50:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:50:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:50:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:50:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:50:16] Production.INFO: call_cost start [2025-03-09 09:50:16] Production.INFO: call_cost end [2025-03-09 09:50:17] Production.INFO: count ==63 [2025-03-09 09:50:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:50:05 - End Time 2025-03-09 09:50:05 [2025-03-09 09:50:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:50:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641379', 'tblTempUsageDetail_20' ) start [2025-03-09 09:50:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:50:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:50:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:50:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:50:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:50:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:50:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:50:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641379', 'tblTempUsageDetail_20' ) end [2025-03-09 09:50:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:50:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641379', 'tblTempVendorCDR_20' ) start [2025-03-09 09:50:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641379', 'tblTempVendorCDR_20' ) end [2025-03-09 09:50:17] Production.INFO: ProcessCDR(1,14641379,1,1,2) [2025-03-09 09:50:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:50:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:50:17] Production.INFO: ==4770== Releasing lock... [2025-03-09 09:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:50:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:50:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:50:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:50:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:50:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641379', 'tblTempUsageDetail_20' ) start [2025-03-09 09:50:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641379', 'tblTempUsageDetail_20' ) end [2025-03-09 09:50:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:50:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:50:20] Production.INFO: ==4778== Releasing lock... [2025-03-09 09:50:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:50:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:51:01] Production.INFO: ==4837== Lock acquired, processing the job... [2025-03-09 13:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:51:02] Production.INFO: neon service started [2025-03-09 13:51:02] Production.INFO: neon service started [2025-03-09 13:51:02] Production.INFO: ==4837== Releasing lock... [2025-03-09 13:51:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:51:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:51:02] Production.INFO: ==4839== Lock acquired, processing the job... [2025-03-09 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:51:02] Production.INFO: ==4839== Releasing lock... [2025-03-09 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:51:02] Production.INFO: ==4841== Lock acquired, processing the job... [2025-03-09 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:51:02] Production.INFO: ==4841== Releasing lock... [2025-03-09 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:51:03] Production.INFO: ==4850== Lock acquired, processing the job... [2025-03-09 09:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:51:03] Production.INFO: ==4855== Lock acquired, processing the job... [2025-03-09 09:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:51:03] Production.INFO: Account Balance Start. [2025-03-09 09:51:03] Production.INFO: CreateAllLog Start [2025-03-09 09:51:03] Production.INFO: 117 [2025-03-09 09:51:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:51:03] Production.INFO: ==4843== Lock acquired, processing the job... [2025-03-09 09:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:51:03] Production.INFO: count ==13 [2025-03-09 09:51:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:51:03] Production.INFO: count ==21 [2025-03-09 09:51:03] Production.INFO: ==4845== Lock acquired, processing the job... [2025-03-09 09:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641380') start [2025-03-09 09:51:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:51:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:51:03] Production.INFO: ==4847== Lock acquired, processing the job... [2025-03-09 09:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:51:03] Production.INFO: Total Charge 0 [2025-03-09 09:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641380') end [2025-03-09 09:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:51:04] Production.INFO: 1 [2025-03-09 09:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:51:04] Production.INFO: ==4853== Lock acquired, processing the job... [2025-03-09 09:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:51:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:51:04] Production.INFO: ==4855== Releasing lock... [2025-03-09 09:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:51:04] Production.INFO: CreateAllLog End [2025-03-09 09:51:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:51:04] Production.INFO: Account Balance End. [2025-03-09 09:51:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:51:04] Production.INFO: ==4850== Releasing lock... [2025-03-09 09:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:51:04] Production.ERROR: done [2025-03-09 09:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:51:04] Production.INFO: ==4845== Releasing lock... [2025-03-09 09:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:51:04] Production.ERROR: done [2025-03-09 09:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:51:05 [end_date_ymd] => 2025-03-09 09:51:05 [RateCDR] => 1 ) [2025-03-09 09:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:51:05' and `end` < '2025-03-09 09:51:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:51:11] Production.ERROR: CronJobId end10 [2025-03-09 09:51:11] Production.INFO: ==4847== Releasing lock... [2025-03-09 09:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:51:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:51:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:51:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:51:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:51:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:51:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:51:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:51:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:51:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:51:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:51:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:51:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:51:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:51:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:51:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:51:14] Production.INFO: call_cost start [2025-03-09 09:51:14] Production.INFO: call_cost end [2025-03-09 09:51:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:51:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:51:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:51:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:51:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:51:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:51:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:51:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:51:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:51:15] Production.INFO: ==4843== Releasing lock... [2025-03-09 09:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:51:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:51:17] Production.INFO: count ==76 [2025-03-09 09:51:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:51:05 - End Time 2025-03-09 09:51:05 [2025-03-09 09:51:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641384', 'tblTempUsageDetail_20' ) start [2025-03-09 09:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641384', 'tblTempUsageDetail_20' ) end [2025-03-09 09:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641384', 'tblTempVendorCDR_20' ) start [2025-03-09 09:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641384', 'tblTempVendorCDR_20' ) end [2025-03-09 09:51:18] Production.INFO: ProcessCDR(1,14641384,1,1,2) [2025-03-09 09:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641384', 'tblTempUsageDetail_20' ) start [2025-03-09 09:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641384', 'tblTempUsageDetail_20' ) end [2025-03-09 09:51:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:51:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:51:22] Production.INFO: ==4853== Releasing lock... [2025-03-09 09:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:51:22] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:52:01] Production.INFO: ==4909== Lock acquired, processing the job... [2025-03-09 13:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:52:01] Production.INFO: neon service started [2025-03-09 13:52:01] Production.INFO: neon service started [2025-03-09 13:52:01] Production.INFO: ==4909== Releasing lock... [2025-03-09 13:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:52:01] Production.INFO: ==4911== Lock acquired, processing the job... [2025-03-09 09:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:52:02] Production.INFO: ==4911== Releasing lock... [2025-03-09 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:52:02] Production.INFO: ==4913== Lock acquired, processing the job... [2025-03-09 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:52:02] Production.INFO: ==4913== Releasing lock... [2025-03-09 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:52:03] Production.INFO: ==4923== Lock acquired, processing the job... [2025-03-09 09:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:52:03] Production.INFO: ==4925== Lock acquired, processing the job... [2025-03-09 09:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:52:03] Production.INFO: ==4915== Lock acquired, processing the job... [2025-03-09 09:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:52:03] Production.INFO: ==4917== Lock acquired, processing the job... [2025-03-09 09:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:52:03] Production.INFO: ==4921== Lock acquired, processing the job... [2025-03-09 09:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:52:03] Production.INFO: ==4919== Lock acquired, processing the job... [2025-03-09 09:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:52:03] Production.INFO: Account Balance Start. [2025-03-09 09:52:03] Production.INFO: CreateAllLog Start [2025-03-09 09:52:03] Production.INFO: 117 [2025-03-09 09:52:03] Production.INFO: count ==13 [2025-03-09 09:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:52:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:52:03] Production.INFO: count ==21 [2025-03-09 09:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641385') start [2025-03-09 09:52:03] Production.ERROR: done [2025-03-09 09:52:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:52:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:52:03] Production.INFO: Total Charge 0 [2025-03-09 09:52:03] Production.INFO: CreateAllLog End [2025-03-09 09:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641385') end [2025-03-09 09:52:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:52:03] Production.INFO: 1 [2025-03-09 09:52:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:52:03] Production.INFO: ==4925== Releasing lock... [2025-03-09 09:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:52:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:52:03] Production.INFO: ==4917== Releasing lock... [2025-03-09 09:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:52:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:52:03] Production.ERROR: done [2025-03-09 09:52:03] Production.INFO: Account Balance End. [2025-03-09 09:52:03] Production.ERROR: CronJobId end 12 [2025-03-09 09:52:03] Production.INFO: ==4921== Releasing lock... [2025-03-09 09:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:52:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:52:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:52:04 [end_date_ymd] => 2025-03-09 09:52:04 [RateCDR] => 1 ) [2025-03-09 09:52:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:52:04' and `end` < '2025-03-09 09:52:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:52:11] Production.ERROR: CronJobId end10 [2025-03-09 09:52:11] Production.INFO: ==4919== Releasing lock... [2025-03-09 09:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:52:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:52:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:52:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:52:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:52:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:52:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:52:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:52:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:52:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:52:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:52:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:52:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:52:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:52:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:52:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:52:13] Production.INFO: call_cost start [2025-03-09 09:52:13] Production.INFO: call_cost end [2025-03-09 09:52:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:52:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:52:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:52:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:52:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:52:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:52:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:52:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:52:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:52:14] Production.INFO: ==4915== Releasing lock... [2025-03-09 09:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:52:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:52:16] Production.INFO: count ==76 [2025-03-09 09:52:16] Production.ERROR: pbx CDR StartTime 2025-03-09 06:52:04 - End Time 2025-03-09 09:52:04 [2025-03-09 09:52:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:52:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641389', 'tblTempUsageDetail_20' ) start [2025-03-09 09:52:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641389', 'tblTempUsageDetail_20' ) end [2025-03-09 09:52:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641389', 'tblTempVendorCDR_20' ) start [2025-03-09 09:52:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641389', 'tblTempVendorCDR_20' ) end [2025-03-09 09:52:16] Production.INFO: ProcessCDR(1,14641389,1,1,2) [2025-03-09 09:52:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:52:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:52:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:52:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:52:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641389', 'tblTempUsageDetail_20' ) start [2025-03-09 09:52:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641389', 'tblTempUsageDetail_20' ) end [2025-03-09 09:52:19] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:52:19] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:52:19] Production.INFO: ==4923== Releasing lock... [2025-03-09 09:52:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:52:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:53:01] Production.INFO: ==4982== Lock acquired, processing the job... [2025-03-09 13:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:53:01] Production.INFO: neon service started [2025-03-09 13:53:01] Production.INFO: neon service started [2025-03-09 13:53:01] Production.INFO: ==4982== Releasing lock... [2025-03-09 13:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:53:02] Production.INFO: ==4984== Lock acquired, processing the job... [2025-03-09 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:53:02] Production.INFO: ==4984== Releasing lock... [2025-03-09 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:53:02] Production.INFO: ==4986== Lock acquired, processing the job... [2025-03-09 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:53:02] Production.INFO: ==4986== Releasing lock... [2025-03-09 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:53:03] Production.INFO: ==4991== Lock acquired, processing the job... [2025-03-09 09:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:53:03] Production.INFO: ==4997== Lock acquired, processing the job... [2025-03-09 09:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:53:03] Production.INFO: ==4989== Lock acquired, processing the job... [2025-03-09 09:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:53:03] Production.INFO: ==4993== Lock acquired, processing the job... [2025-03-09 09:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:53:03] Production.INFO: ==4999== Lock acquired, processing the job... [2025-03-09 09:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:53:03] Production.INFO: ==4995== Lock acquired, processing the job... [2025-03-09 09:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:53:03] Production.INFO: count ==13 [2025-03-09 09:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:53:03] Production.INFO: count ==21 [2025-03-09 09:53:03] Production.ERROR: done [2025-03-09 09:53:03] Production.INFO: ==4991== Releasing lock... [2025-03-09 09:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:53:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:53:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641391') start [2025-03-09 09:53:03] Production.INFO: Account Balance Start. [2025-03-09 09:53:03] Production.INFO: CreateAllLog Start [2025-03-09 09:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641391') end [2025-03-09 09:53:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:53:03] Production.INFO: 1 [2025-03-09 09:53:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:53:03] Production.INFO: 117 [2025-03-09 09:53:03] Production.INFO: ==4999== Releasing lock... [2025-03-09 09:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:53:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:53:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:53:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:53:04] Production.ERROR: done [2025-03-09 09:53:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:53:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:53:04] Production.INFO: Total Charge 0 [2025-03-09 09:53:04] Production.INFO: CreateAllLog End [2025-03-09 09:53:04] Production.INFO: Account Balance End. [2025-03-09 09:53:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:53:04] Production.INFO: ==4995== Releasing lock... [2025-03-09 09:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:53:05 [end_date_ymd] => 2025-03-09 09:53:05 [RateCDR] => 1 ) [2025-03-09 09:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:53:05' and `end` < '2025-03-09 09:53:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:53:10] Production.ERROR: CronJobId end10 [2025-03-09 09:53:10] Production.INFO: ==4993== Releasing lock... [2025-03-09 09:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:53:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:53:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:53:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:53:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:53:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:53:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:53:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:53:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:53:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:53:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:53:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:53:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:53:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:53:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:53:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:53:13] Production.INFO: call_cost start [2025-03-09 09:53:13] Production.INFO: call_cost end [2025-03-09 09:53:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:53:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:53:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:53:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:53:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:53:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:53:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:53:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:53:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:53:14] Production.INFO: ==4989== Releasing lock... [2025-03-09 09:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:53:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:53:17] Production.INFO: count ==73 [2025-03-09 09:53:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:53:05 - End Time 2025-03-09 09:53:05 [2025-03-09 09:53:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641394', 'tblTempUsageDetail_20' ) start [2025-03-09 09:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641394', 'tblTempUsageDetail_20' ) end [2025-03-09 09:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641394', 'tblTempVendorCDR_20' ) start [2025-03-09 09:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641394', 'tblTempVendorCDR_20' ) end [2025-03-09 09:53:17] Production.INFO: ProcessCDR(1,14641394,1,1,2) [2025-03-09 09:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:53:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641394', 'tblTempUsageDetail_20' ) start [2025-03-09 09:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641394', 'tblTempUsageDetail_20' ) end [2025-03-09 09:53:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:53:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:53:20] Production.INFO: ==4997== Releasing lock... [2025-03-09 09:53:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:53:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:54:02] Production.INFO: ==5056== Lock acquired, processing the job... [2025-03-09 13:54:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:54:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:54:02] Production.INFO: neon service started [2025-03-09 13:54:02] Production.INFO: neon service started [2025-03-09 13:54:02] Production.INFO: ==5056== Releasing lock... [2025-03-09 13:54:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:54:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:54:02] Production.INFO: ==5058== Lock acquired, processing the job... [2025-03-09 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:54:02] Production.INFO: ==5060== Lock acquired, processing the job... [2025-03-09 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:54:03] Production.INFO: ==5058== Releasing lock... [2025-03-09 09:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:54:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:54:03] Production.INFO: ==5060== Releasing lock... [2025-03-09 13:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:54:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:54:03] Production.INFO: ==5069== Lock acquired, processing the job... [2025-03-09 09:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:54:03] Production.INFO: ==5063== Lock acquired, processing the job... [2025-03-09 09:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:54:03] Production.INFO: ==5073== Lock acquired, processing the job... [2025-03-09 09:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:54:03] Production.INFO: Account Balance Start. [2025-03-09 09:54:03] Production.INFO: CreateAllLog Start [2025-03-09 09:54:03] Production.INFO: 117 [2025-03-09 09:54:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:54:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:54:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:54:04] Production.INFO: ==5065== Lock acquired, processing the job... [2025-03-09 09:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:54:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:54:04] Production.INFO: Total Charge 0 [2025-03-09 09:54:04] Production.INFO: count ==13 [2025-03-09 09:54:04] Production.INFO: CreateAllLog End [2025-03-09 09:54:04] Production.INFO: ==5067== Lock acquired, processing the job... [2025-03-09 09:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:54:04] Production.INFO: count ==21 [2025-03-09 09:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641396') start [2025-03-09 09:54:04] Production.INFO: ==5071== Lock acquired, processing the job... [2025-03-09 09:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641396') end [2025-03-09 09:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:54:04] Production.INFO: 1 [2025-03-09 09:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:54:04] Production.INFO: ==5073== Releasing lock... [2025-03-09 09:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:54:04] Production.INFO: Account Balance End. [2025-03-09 09:54:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:54:04] Production.INFO: ==5069== Releasing lock... [2025-03-09 09:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:54:04] Production.ERROR: done [2025-03-09 09:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:54:04] Production.INFO: ==5065== Releasing lock... [2025-03-09 09:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:54:04] Production.ERROR: done [2025-03-09 09:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:54:05 [end_date_ymd] => 2025-03-09 09:54:05 [RateCDR] => 1 ) [2025-03-09 09:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:54:05' and `end` < '2025-03-09 09:54:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:54:13] Production.ERROR: CronJobId end10 [2025-03-09 09:54:13] Production.INFO: ==5067== Releasing lock... [2025-03-09 09:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:54:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:54:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:54:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:54:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:54:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:54:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:54:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:54:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:54:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:54:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:54:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:54:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:54:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:54:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:54:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:54:14] Production.INFO: call_cost start [2025-03-09 09:54:14] Production.INFO: call_cost end [2025-03-09 09:54:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:54:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:54:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:54:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:54:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:54:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:54:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:54:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:54:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:54:15] Production.INFO: ==5063== Releasing lock... [2025-03-09 09:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:54:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:54:17] Production.INFO: count ==70 [2025-03-09 09:54:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:54:05 - End Time 2025-03-09 09:54:05 [2025-03-09 09:54:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641399', 'tblTempUsageDetail_20' ) start [2025-03-09 09:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641399', 'tblTempUsageDetail_20' ) end [2025-03-09 09:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641399', 'tblTempVendorCDR_20' ) start [2025-03-09 09:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641399', 'tblTempVendorCDR_20' ) end [2025-03-09 09:54:17] Production.INFO: ProcessCDR(1,14641399,1,1,2) [2025-03-09 09:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:54:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641399', 'tblTempUsageDetail_20' ) start [2025-03-09 09:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641399', 'tblTempUsageDetail_20' ) end [2025-03-09 09:54:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:54:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:54:20] Production.INFO: ==5071== Releasing lock... [2025-03-09 09:54:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:54:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:55:01] Production.INFO: ==5128== Lock acquired, processing the job... [2025-03-09 13:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:55:01] Production.INFO: neon service started [2025-03-09 13:55:01] Production.INFO: neon service started [2025-03-09 13:55:01] Production.INFO: ==5128== Releasing lock... [2025-03-09 13:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:55:02] Production.INFO: ==5131== Lock acquired, processing the job... [2025-03-09 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:55:02] Production.INFO: ==5131== Releasing lock... [2025-03-09 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:55:02] Production.INFO: ==5133== Lock acquired, processing the job... [2025-03-09 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:55:02] Production.INFO: ==5133== Releasing lock... [2025-03-09 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:55:03] Production.INFO: ==5143== Lock acquired, processing the job... [2025-03-09 09:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:55:03] Production.INFO: ==5135== Lock acquired, processing the job... [2025-03-09 09:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:55:03] Production.INFO: ==5137== Lock acquired, processing the job... [2025-03-09 09:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:55:03] Production.INFO: ==5145== Lock acquired, processing the job... [2025-03-09 09:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:55:03] Production.ERROR: done [2025-03-09 09:55:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:55:03] Production.INFO: ==5141== Lock acquired, processing the job... [2025-03-09 09:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:55:03] Production.INFO: ==5139== Lock acquired, processing the job... [2025-03-09 09:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:55:03] Production.ERROR: done [2025-03-09 09:55:04] Production.INFO: count ==13 [2025-03-09 09:55:04] Production.INFO: Account Balance Start. [2025-03-09 09:55:04] Production.INFO: CreateAllLog Start [2025-03-09 09:55:04] Production.INFO: 117 [2025-03-09 09:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:55:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:55:04] Production.INFO: count ==21 [2025-03-09 09:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641401') start [2025-03-09 09:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:55:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:55:04] Production.INFO: Total Charge 0 [2025-03-09 09:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641401') end [2025-03-09 09:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:55:04] Production.INFO: 1 [2025-03-09 09:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:55:04] Production.INFO: CreateAllLog End [2025-03-09 09:55:04] Production.INFO: ==5145== Releasing lock... [2025-03-09 09:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:55:04] Production.INFO: ==5137== Releasing lock... [2025-03-09 09:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:55:04] Production.INFO: Account Balance End. [2025-03-09 09:55:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:55:04] Production.INFO: ==5141== Releasing lock... [2025-03-09 09:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:55:05 [end_date_ymd] => 2025-03-09 09:55:05 [RateCDR] => 1 ) [2025-03-09 09:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:55:05' and `end` < '2025-03-09 09:55:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:55:12] Production.ERROR: CronJobId end10 [2025-03-09 09:55:12] Production.INFO: ==5139== Releasing lock... [2025-03-09 09:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:55:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:55:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:55:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:55:14] Production.INFO: call_cost start [2025-03-09 09:55:14] Production.INFO: call_cost end [2025-03-09 09:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:55:15] Production.INFO: ==5135== Releasing lock... [2025-03-09 09:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:55:17] Production.INFO: count ==70 [2025-03-09 09:55:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:55:05 - End Time 2025-03-09 09:55:05 [2025-03-09 09:55:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641404', 'tblTempUsageDetail_20' ) start [2025-03-09 09:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641404', 'tblTempUsageDetail_20' ) end [2025-03-09 09:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641404', 'tblTempVendorCDR_20' ) start [2025-03-09 09:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641404', 'tblTempVendorCDR_20' ) end [2025-03-09 09:55:17] Production.INFO: ProcessCDR(1,14641404,1,1,2) [2025-03-09 09:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:55:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641404', 'tblTempUsageDetail_20' ) start [2025-03-09 09:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641404', 'tblTempUsageDetail_20' ) end [2025-03-09 09:55:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:55:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:55:20] Production.INFO: ==5143== Releasing lock... [2025-03-09 09:55:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:55:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:56:02] Production.INFO: ==5200== Lock acquired, processing the job... [2025-03-09 13:56:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:56:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:56:02] Production.INFO: neon service started [2025-03-09 13:56:02] Production.INFO: neon service started [2025-03-09 13:56:02] Production.INFO: ==5200== Releasing lock... [2025-03-09 13:56:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:56:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:56:02] Production.INFO: ==5204== Lock acquired, processing the job... [2025-03-09 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:56:02] Production.INFO: ==5204== Releasing lock... [2025-03-09 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:56:02] Production.INFO: ==5202== Lock acquired, processing the job... [2025-03-09 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:56:03] Production.INFO: ==5202== Releasing lock... [2025-03-09 09:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:56:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:56:03] Production.INFO: ==5209== Lock acquired, processing the job... [2025-03-09 09:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:56:03] Production.INFO: ==5215== Lock acquired, processing the job... [2025-03-09 09:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:56:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:56:04] Production.INFO: ==5207== Lock acquired, processing the job... [2025-03-09 09:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:56:04] Production.INFO: ==5211== Lock acquired, processing the job... [2025-03-09 09:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:56:04] Production.INFO: ==5213== Lock acquired, processing the job... [2025-03-09 09:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:56:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:56:04] Production.INFO: ==5217== Lock acquired, processing the job... [2025-03-09 09:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:56:04] Production.ERROR: done [2025-03-09 09:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:56:04] Production.INFO: Account Balance Start. [2025-03-09 09:56:04] Production.INFO: CreateAllLog Start [2025-03-09 09:56:04] Production.INFO: 117 [2025-03-09 09:56:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:56:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:56:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:56:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:56:04] Production.ERROR: done [2025-03-09 09:56:04] Production.INFO: Total Charge 0 [2025-03-09 09:56:04] Production.INFO: CreateAllLog End [2025-03-09 09:56:04] Production.INFO: ==5209== Releasing lock... [2025-03-09 09:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:56:04] Production.INFO: count ==13 [2025-03-09 09:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:56:04] Production.INFO: count ==21 [2025-03-09 09:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641408') start [2025-03-09 09:56:04] Production.INFO: Account Balance End. [2025-03-09 09:56:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:56:04] Production.INFO: ==5213== Releasing lock... [2025-03-09 09:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641408') end [2025-03-09 09:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:56:04] Production.INFO: 1 [2025-03-09 09:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:56:04] Production.INFO: ==5217== Releasing lock... [2025-03-09 09:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:56:05 [end_date_ymd] => 2025-03-09 09:56:05 [RateCDR] => 1 ) [2025-03-09 09:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:56:05' and `end` < '2025-03-09 09:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:56:12] Production.ERROR: CronJobId end10 [2025-03-09 09:56:12] Production.INFO: ==5211== Releasing lock... [2025-03-09 09:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:56:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:56:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:56:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:56:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:56:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:56:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:56:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:56:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:56:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:56:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:56:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:56:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:56:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:56:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:56:15] Production.INFO: call_cost start [2025-03-09 09:56:15] Production.INFO: call_cost end [2025-03-09 09:56:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:56:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:56:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:56:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:56:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:56:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:56:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:56:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:56:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:56:16] Production.INFO: ==5207== Releasing lock... [2025-03-09 09:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:56:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:56:17] Production.INFO: count ==70 [2025-03-09 09:56:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:56:05 - End Time 2025-03-09 09:56:05 [2025-03-09 09:56:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641409', 'tblTempUsageDetail_20' ) start [2025-03-09 09:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641409', 'tblTempUsageDetail_20' ) end [2025-03-09 09:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641409', 'tblTempVendorCDR_20' ) start [2025-03-09 09:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641409', 'tblTempVendorCDR_20' ) end [2025-03-09 09:56:17] Production.INFO: ProcessCDR(1,14641409,1,1,2) [2025-03-09 09:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:56:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641409', 'tblTempUsageDetail_20' ) start [2025-03-09 09:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641409', 'tblTempUsageDetail_20' ) end [2025-03-09 09:56:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:56:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:56:20] Production.INFO: ==5215== Releasing lock... [2025-03-09 09:56:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:56:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:57:01] Production.INFO: ==5270== Lock acquired, processing the job... [2025-03-09 13:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:57:01] Production.INFO: neon service started [2025-03-09 13:57:01] Production.INFO: neon service started [2025-03-09 13:57:01] Production.INFO: ==5270== Releasing lock... [2025-03-09 13:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:57:02] Production.INFO: ==5272== Lock acquired, processing the job... [2025-03-09 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 09:57:02] Production.INFO: ==5272== Releasing lock... [2025-03-09 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:57:02] Production.INFO: ==5274== Lock acquired, processing the job... [2025-03-09 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:57:02] Production.INFO: ==5274== Releasing lock... [2025-03-09 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:57:03] Production.INFO: ==5285== Lock acquired, processing the job... [2025-03-09 09:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:57:03] Production.INFO: ==5287== Lock acquired, processing the job... [2025-03-09 09:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:57:03] Production.INFO: ==5277== Lock acquired, processing the job... [2025-03-09 09:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:57:03] Production.INFO: ==5279== Lock acquired, processing the job... [2025-03-09 09:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:57:03] Production.INFO: count ==13 [2025-03-09 09:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:57:03] Production.INFO: count ==21 [2025-03-09 09:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641410') start [2025-03-09 09:57:03] Production.INFO: ==5281== Lock acquired, processing the job... [2025-03-09 09:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:57:03] Production.INFO: ==5283== Lock acquired, processing the job... [2025-03-09 09:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:57:03] Production.ERROR: done [2025-03-09 09:57:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641410') end [2025-03-09 09:57:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:57:03] Production.INFO: 1 [2025-03-09 09:57:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:57:03] Production.INFO: ==5287== Releasing lock... [2025-03-09 09:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:57:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:57:03] Production.INFO: Account Balance Start. [2025-03-09 09:57:03] Production.INFO: CreateAllLog Start [2025-03-09 09:57:03] Production.INFO: 117 [2025-03-09 09:57:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:57:03] Production.ERROR: done [2025-03-09 09:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:57:04] Production.INFO: ==5279== Releasing lock... [2025-03-09 09:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:57:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:57:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:57:04] Production.INFO: Total Charge 0 [2025-03-09 09:57:04] Production.INFO: CreateAllLog End [2025-03-09 09:57:04] Production.INFO: Account Balance End. [2025-03-09 09:57:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:57:04] Production.INFO: ==5283== Releasing lock... [2025-03-09 09:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:57:05 [end_date_ymd] => 2025-03-09 09:57:05 [RateCDR] => 1 ) [2025-03-09 09:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:57:05' and `end` < '2025-03-09 09:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:57:10] Production.ERROR: CronJobId end10 [2025-03-09 09:57:10] Production.INFO: ==5281== Releasing lock... [2025-03-09 09:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:57:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:57:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:57:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:57:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:57:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:57:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:57:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:57:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:57:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:57:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:57:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:57:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:57:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:57:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:57:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:57:13] Production.INFO: call_cost start [2025-03-09 09:57:13] Production.INFO: call_cost end [2025-03-09 09:57:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:57:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:57:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:57:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:57:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:57:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:57:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:57:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:57:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:57:14] Production.INFO: ==5277== Releasing lock... [2025-03-09 09:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:57:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:57:17] Production.INFO: count ==70 [2025-03-09 09:57:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:57:05 - End Time 2025-03-09 09:57:05 [2025-03-09 09:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641414', 'tblTempUsageDetail_20' ) start [2025-03-09 09:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641414', 'tblTempUsageDetail_20' ) end [2025-03-09 09:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641414', 'tblTempVendorCDR_20' ) start [2025-03-09 09:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641414', 'tblTempVendorCDR_20' ) end [2025-03-09 09:57:17] Production.INFO: ProcessCDR(1,14641414,1,1,2) [2025-03-09 09:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641414', 'tblTempUsageDetail_20' ) start [2025-03-09 09:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641414', 'tblTempUsageDetail_20' ) end [2025-03-09 09:57:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:57:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:57:20] Production.INFO: ==5285== Releasing lock... [2025-03-09 09:57:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:57:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:58:02] Production.INFO: ==5382== Lock acquired, processing the job... [2025-03-09 13:58:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:58:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:58:02] Production.INFO: neon service started [2025-03-09 13:58:02] Production.INFO: neon service started [2025-03-09 13:58:02] Production.INFO: ==5382== Releasing lock... [2025-03-09 13:58:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:58:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:58:02] Production.INFO: ==5386== Lock acquired, processing the job... [2025-03-09 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 09:58:02] Production.INFO: ==5384== Lock acquired, processing the job... [2025-03-09 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:58:02] Production.INFO: ==5386== Releasing lock... [2025-03-09 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:58:03] Production.INFO: ==5384== Releasing lock... [2025-03-09 09:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:58:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:58:03] Production.INFO: ==5389== Lock acquired, processing the job... [2025-03-09 09:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:58:03] Production.INFO: ==5391== Lock acquired, processing the job... [2025-03-09 09:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:58:03] Production.INFO: ==5395== Lock acquired, processing the job... [2025-03-09 09:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:58:04] Production.INFO: Account Balance Start. [2025-03-09 09:58:04] Production.INFO: CreateAllLog Start [2025-03-09 09:58:04] Production.INFO: 117 [2025-03-09 09:58:04] Production.INFO: Date 2025-03-08 [2025-03-09 09:58:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:58:04] Production.INFO: Date 2025-03-09 [2025-03-09 09:58:04] Production.INFO: Reseller ==> 0 [2025-03-09 09:58:04] Production.INFO: Total Charge 0 [2025-03-09 09:58:04] Production.INFO: CreateAllLog End [2025-03-09 09:58:04] Production.INFO: ==5391== Releasing lock... [2025-03-09 09:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:58:04] Production.INFO: ==5393== Lock acquired, processing the job... [2025-03-09 09:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:58:04] Production.INFO: Account Balance End. [2025-03-09 09:58:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:58:04] Production.INFO: ==5395== Releasing lock... [2025-03-09 09:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:58:04] Production.INFO: ==5399== Lock acquired, processing the job... [2025-03-09 09:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:58:04] Production.INFO: ==5397== Lock acquired, processing the job... [2025-03-09 09:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:58:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:58:04] Production.INFO: count ==13 [2025-03-09 09:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:58:04] Production.INFO: count ==21 [2025-03-09 09:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641418') start [2025-03-09 09:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641418') end [2025-03-09 09:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:58:04] Production.INFO: 1 [2025-03-09 09:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:58:04] Production.INFO: ==5399== Releasing lock... [2025-03-09 09:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:58:04] Production.ERROR: done [2025-03-09 09:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:58:05] Production.ERROR: done [2025-03-09 09:58:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:58:05 [end_date_ymd] => 2025-03-09 09:58:05 [RateCDR] => 1 ) [2025-03-09 09: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-09 06:58:05' and `end` < '2025-03-09 09:58:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:58:12] Production.ERROR: CronJobId end10 [2025-03-09 09:58:12] Production.INFO: ==5393== Releasing lock... [2025-03-09 09:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:58:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:58:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:58:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:58:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:58:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:58:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:58:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:58:14] Production.INFO: call_cost start [2025-03-09 09:58:14] Production.INFO: call_cost end [2025-03-09 09:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:58:15] Production.INFO: ==5389== Releasing lock... [2025-03-09 09:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:58:18] Production.INFO: count ==70 [2025-03-09 09:58:18] Production.ERROR: pbx CDR StartTime 2025-03-09 06:58:05 - End Time 2025-03-09 09:58:05 [2025-03-09 09:58:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641419', 'tblTempUsageDetail_20' ) start [2025-03-09 09:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641419', 'tblTempUsageDetail_20' ) end [2025-03-09 09:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641419', 'tblTempVendorCDR_20' ) start [2025-03-09 09:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641419', 'tblTempVendorCDR_20' ) end [2025-03-09 09:58:18] Production.INFO: ProcessCDR(1,14641419,1,1,2) [2025-03-09 09:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641419', 'tblTempUsageDetail_20' ) start [2025-03-09 09:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641419', 'tblTempUsageDetail_20' ) end [2025-03-09 09:58:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:58:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:58:21] Production.INFO: ==5397== Releasing lock... [2025-03-09 09:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:58:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:59:01] Production.INFO: ==5456== Lock acquired, processing the job... [2025-03-09 13:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 13:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 13:59:01] Production.INFO: neon service started [2025-03-09 13:59:01] Production.INFO: neon service started [2025-03-09 13:59:01] Production.INFO: ==5456== Releasing lock... [2025-03-09 13:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 13:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 09:59:02] Production.INFO: ==5458== Lock acquired, processing the job... [2025-03-09 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:59:02] Production.INFO: ==5460== Lock acquired, processing the job... [2025-03-09 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:59:02] Production.INFO: ==5460== Releasing lock... [2025-03-09 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 13:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 09:59:02] Production.INFO: ==5458== Releasing lock... [2025-03-09 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 09:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 09:59:03] Production.INFO: ==5467== Lock acquired, processing the job... [2025-03-09 09:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 09:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 09:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 09:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 09:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 09:59:03] Production.INFO: ==5473== Lock acquired, processing the job... [2025-03-09 09:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 09:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:59:03] Production.INFO: count ==13 [2025-03-09 09:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 09:59:03] Production.INFO: count ==21 [2025-03-09 09:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641420') start [2025-03-09 09:59:03] Production.INFO: ==5463== Lock acquired, processing the job... [2025-03-09 09:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 09:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641420') end [2025-03-09 09:59:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 09:59:03] Production.INFO: 1 [2025-03-09 09:59:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 09:59:03] Production.INFO: ==5465== Lock acquired, processing the job... [2025-03-09 09:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 09:59:03] Production.INFO: ==5469== Lock acquired, processing the job... [2025-03-09 09:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 09:59:03] Production.INFO: ==5471== Lock acquired, processing the job... [2025-03-09 09:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 09:59:03] Production.INFO: ==5473== Releasing lock... [2025-03-09 09:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 09:59:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 09:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 09:59:03] Production.INFO: Account Balance Start. [2025-03-09 09:59:03] Production.INFO: CreateAllLog Start [2025-03-09 09:59:03] Production.INFO: 117 [2025-03-09 09:59:03] Production.INFO: Date 2025-03-08 [2025-03-09 09:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 09:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:59:03] Production.INFO: Date 2025-03-09 [2025-03-09 09:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 09:59:04] Production.INFO: Total Charge 0 [2025-03-09 09:59:04] Production.INFO: CreateAllLog End [2025-03-09 09:59:04] Production.ERROR: done [2025-03-09 09:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 09:59:04] Production.INFO: ==5465== Releasing lock... [2025-03-09 09:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 09:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 09:59:04] Production.INFO: Account Balance End. [2025-03-09 09:59:04] Production.ERROR: CronJobId end 12 [2025-03-09 09:59:04] Production.INFO: ==5469== Releasing lock... [2025-03-09 09:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 09:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 09:59:04] Production.ERROR: done [2025-03-09 09:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 06:59:05 [end_date_ymd] => 2025-03-09 09:59:05 [RateCDR] => 1 ) [2025-03-09 09:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 06:59:05' and `end` < '2025-03-09 09:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 09:59:11] Production.ERROR: CronJobId end10 [2025-03-09 09:59:11] Production.INFO: ==5467== Releasing lock... [2025-03-09 09:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 09:59:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 09:59:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 09:59:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 09:59:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 09:59:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 09:59:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 09:59:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 09:59:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 09:59:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 09:59:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 09:59:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 09:59:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 09:59:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 09:59:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 09:59:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 09:59:14] Production.INFO: call_cost start [2025-03-09 09:59:14] Production.INFO: call_cost end [2025-03-09 09:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 09:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 09:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 09:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 09:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 09:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 09:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 09:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 09:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 09:59:15] Production.INFO: ==5463== Releasing lock... [2025-03-09 09:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 09:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 09:59:17] Production.INFO: count ==70 [2025-03-09 09:59:17] Production.ERROR: pbx CDR StartTime 2025-03-09 06:59:05 - End Time 2025-03-09 09:59:05 [2025-03-09 09:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 09:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641424', 'tblTempUsageDetail_20' ) start [2025-03-09 09:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641424', 'tblTempUsageDetail_20' ) end [2025-03-09 09:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641424', 'tblTempVendorCDR_20' ) start [2025-03-09 09:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641424', 'tblTempVendorCDR_20' ) end [2025-03-09 09:59:17] Production.INFO: ProcessCDR(1,14641424,1,1,2) [2025-03-09 09:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 09:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 09:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641424', 'tblTempUsageDetail_20' ) start [2025-03-09 09:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641424', 'tblTempUsageDetail_20' ) end [2025-03-09 09:59:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 09:59:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 09:59:20] Production.INFO: ==5471== Releasing lock... [2025-03-09 09:59:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 09:59:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:00:02] Production.INFO: ==5528== Lock acquired, processing the job... [2025-03-09 14:00:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:00:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:00:02] Production.INFO: neon service started [2025-03-09 14:00:02] Production.INFO: neon service started [2025-03-09 14:00:02] Production.INFO: ==5528== Releasing lock... [2025-03-09 14:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:00:02] Production.INFO: ==5530== Lock acquired, processing the job... [2025-03-09 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:00:02] Production.INFO: ==5530== Releasing lock... [2025-03-09 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:00:03] Production.INFO: ==5532== Lock acquired, processing the job... [2025-03-09 14:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:00:03] Production.INFO: ==5532== Releasing lock... [2025-03-09 14:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:00:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:00:04] Production.INFO: ==5534== Lock acquired, processing the job... [2025-03-09 10:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 10:00:04] Production.INFO: ==5536== Lock acquired, processing the job... [2025-03-09 10:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:00:04] Production.INFO: ==5538== Lock acquired, processing the job... [2025-03-09 10:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 10:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 10:00:04] Production.ERROR: CronJob PID - 5536 [2025-03-09 10:00:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 10:00:04] Production.ERROR: CronJob ID - 5 [2025-03-09 10:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 10:00:00 [2025-03-09 10:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 10:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 10:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 10:00:04] Production.ERROR: CronJob PID - 5538 [2025-03-09 10:00:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 10:00:04] Production.ERROR: CronJob ID - 7 [2025-03-09 10:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 10:00:00 [2025-03-09 10:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 10:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 10:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:00:04] Production.INFO: ==5540== Lock acquired, processing the job... [2025-03-09 10:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 10:00:04] Production.INFO: ==5534== Releasing lock... [2025-03-09 10:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 10:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 10:00:04] Production.INFO: ==5542== Lock acquired, processing the job... [2025-03-09 10:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:00:04] Production.INFO: ==5549== Lock acquired, processing the job... [2025-03-09 10:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:00:04] Production.INFO: ==5538== Releasing lock... [2025-03-09 10:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:00:04] Production.INFO: ==5544== Lock acquired, processing the job... [2025-03-09 10:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:00:04] Production.INFO: Account Balance Start. [2025-03-09 10:00:04] Production.INFO: CreateAllLog Start [2025-03-09 10:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:00:04] Production.INFO: 117 [2025-03-09 10:00:04] Production.INFO: ==5547== Lock acquired, processing the job... [2025-03-09 10:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 10:00:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:00:04] Production.INFO: count ==13 [2025-03-09 10:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 10:00:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:00:04] Production.INFO: count ==21 [2025-03-09 10:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641427') start [2025-03-09 10:00:04] Production.INFO: Total Charge 0 [2025-03-09 10:00:04] Production.INFO: CreateAllLog End [2025-03-09 10:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641427') end [2025-03-09 10:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:00:04] Production.INFO: 1 [2025-03-09 10:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:00:04] Production.INFO: ==5549== Releasing lock... [2025-03-09 10:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:00:04] Production.ERROR: done [2025-03-09 10:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:00:04] Production.ERROR: done [2025-03-09 10:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 10:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641429', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 10:00:05] Production.ERROR: done [2025-03-09 10:00:05] Production.INFO: Account Balance End. [2025-03-09 10:00:05] Production.ERROR: CronJobId end 12 [2025-03-09 10:00:05] Production.INFO: ==5542== Releasing lock... [2025-03-09 10:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:00:06 [end_date_ymd] => 2025-03-09 10:00:06 [RateCDR] => 1 ) [2025-03-09 10:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:00:06' and `end` < '2025-03-09 10:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641429', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 10:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 10:00:09] Production.INFO: ProcessCDR(1,14641429,1,1,2) [2025-03-09 10:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14641429,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14641429,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:00:09] Production.INFO: ==5547== Releasing lock... [2025-03-09 10:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 10:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 10:00:15] Production.ERROR: CronJobId end10 [2025-03-09 10:00:15] Production.INFO: ==5540== Releasing lock... [2025-03-09 10:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:00:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:00:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:00:17] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:00:17] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:00:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:00:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:00:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:00:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:00:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:00:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:00:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:00:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:00:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:00:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:00:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:00:17] Production.INFO: call_cost start [2025-03-09 10:00:17] Production.INFO: call_cost end [2025-03-09 10:00:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:00:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:00:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:00:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:00:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:00:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:00:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:00:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:00:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:00:18] Production.INFO: ==5536== Releasing lock... [2025-03-09 10:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:00:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:00:18] Production.INFO: count ==78 [2025-03-09 10:00:18] Production.ERROR: pbx CDR StartTime 2025-03-09 07:00:06 - End Time 2025-03-09 10:00:06 [2025-03-09 10:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641430', 'tblTempUsageDetail_20' ) start [2025-03-09 10:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641430', 'tblTempUsageDetail_20' ) end [2025-03-09 10:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641430', 'tblTempVendorCDR_20' ) start [2025-03-09 10:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641430', 'tblTempVendorCDR_20' ) end [2025-03-09 10:00:18] Production.INFO: ProcessCDR(1,14641430,1,1,2) [2025-03-09 10:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641430', 'tblTempUsageDetail_20' ) start [2025-03-09 10:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641430', 'tblTempUsageDetail_20' ) end [2025-03-09 10:00:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:00:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:00:22] Production.INFO: ==5544== Releasing lock... [2025-03-09 10:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:00:22] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:01:01] Production.INFO: ==5612== Lock acquired, processing the job... [2025-03-09 14:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:01:01] Production.INFO: neon service started [2025-03-09 14:01:01] Production.INFO: neon service started [2025-03-09 14:01:01] Production.INFO: ==5612== Releasing lock... [2025-03-09 14:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:01:01] Production.INFO: ==5618== Lock acquired, processing the job... [2025-03-09 10:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:01:02] Production.INFO: ==5618== Releasing lock... [2025-03-09 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:01:02] Production.INFO: ==5620== Lock acquired, processing the job... [2025-03-09 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:01:02] Production.INFO: ==5620== Releasing lock... [2025-03-09 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:01:03] Production.INFO: ==5626== Lock acquired, processing the job... [2025-03-09 10:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:01:03] Production.INFO: ==5622== Lock acquired, processing the job... [2025-03-09 10:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:01:03] Production.INFO: ==5630== Lock acquired, processing the job... [2025-03-09 10:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:01:03] Production.INFO: ==5624== Lock acquired, processing the job... [2025-03-09 10:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:01:03] Production.INFO: ==5628== Lock acquired, processing the job... [2025-03-09 10:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:01:03] Production.INFO: ==5632== Lock acquired, processing the job... [2025-03-09 10:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:01:03] Production.INFO: Account Balance Start. [2025-03-09 10:01:03] Production.INFO: CreateAllLog Start [2025-03-09 10:01:03] Production.INFO: 117 [2025-03-09 10:01:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:01:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:01:03] Production.INFO: count ==13 [2025-03-09 10:01:03] Production.ERROR: done [2025-03-09 10:01:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:01:03] Production.INFO: count ==21 [2025-03-09 10:01:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641434') start [2025-03-09 10:01:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:01:03] Production.INFO: ==5624== Releasing lock... [2025-03-09 10:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:01:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:01:03] Production.INFO: Total Charge 0 [2025-03-09 10:01:03] Production.INFO: CreateAllLog End [2025-03-09 10:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641434') end [2025-03-09 10:01:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:01:03] Production.INFO: 1 [2025-03-09 10:01:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:01:04] Production.ERROR: done [2025-03-09 10:01:04] Production.INFO: ==5632== Releasing lock... [2025-03-09 10:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:01:04] Production.INFO: Account Balance End. [2025-03-09 10:01:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:01:04] Production.INFO: ==5628== Releasing lock... [2025-03-09 10:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:01:05 [end_date_ymd] => 2025-03-09 10:01:05 [RateCDR] => 1 ) [2025-03-09 10:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:01:05' and `end` < '2025-03-09 10:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:01:13] Production.ERROR: CronJobId end10 [2025-03-09 10:01:13] Production.INFO: ==5626== Releasing lock... [2025-03-09 10:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:01:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:01:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:01:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:01:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:01:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:01:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:01:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:01:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:01:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:01:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:01:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:01:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:01:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:01:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:01:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:01:15] Production.INFO: call_cost start [2025-03-09 10:01:15] Production.INFO: call_cost end [2025-03-09 10:01:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:01:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:01:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:01:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:01:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:01:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:01:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:01:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:01:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:01:16] Production.INFO: ==5622== Releasing lock... [2025-03-09 10:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:01:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:01:17] Production.INFO: count ==80 [2025-03-09 10:01:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:01:05 - End Time 2025-03-09 10:01:05 [2025-03-09 10:01:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641435', 'tblTempUsageDetail_20' ) start [2025-03-09 10:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641435', 'tblTempUsageDetail_20' ) end [2025-03-09 10:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641435', 'tblTempVendorCDR_20' ) start [2025-03-09 10:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641435', 'tblTempVendorCDR_20' ) end [2025-03-09 10:01:17] Production.INFO: ProcessCDR(1,14641435,1,1,2) [2025-03-09 10:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641435', 'tblTempUsageDetail_20' ) start [2025-03-09 10:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641435', 'tblTempUsageDetail_20' ) end [2025-03-09 10:01:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:01:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:01:22] Production.INFO: ==5630== Releasing lock... [2025-03-09 10:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:01:22] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:02:02] Production.INFO: ==5686== Lock acquired, processing the job... [2025-03-09 14:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:02:02] Production.INFO: neon service started [2025-03-09 14:02:02] Production.INFO: neon service started [2025-03-09 14:02:02] Production.INFO: ==5686== Releasing lock... [2025-03-09 14:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:02:02] Production.INFO: ==5688== Lock acquired, processing the job... [2025-03-09 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:02:02] Production.INFO: ==5688== Releasing lock... [2025-03-09 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:02:03] Production.INFO: ==5690== Lock acquired, processing the job... [2025-03-09 14:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:02:03] Production.INFO: ==5690== Releasing lock... [2025-03-09 14:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:02:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:02:03] Production.INFO: ==5693== Lock acquired, processing the job... [2025-03-09 10:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:02:03] Production.INFO: ==5695== Lock acquired, processing the job... [2025-03-09 10:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:02:03] Production.INFO: ==5697== Lock acquired, processing the job... [2025-03-09 10:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:02:03] Production.INFO: ==5703== Lock acquired, processing the job... [2025-03-09 10:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:02:03] Production.INFO: ==5699== Lock acquired, processing the job... [2025-03-09 10:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:02:04] Production.INFO: ==5701== Lock acquired, processing the job... [2025-03-09 10:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:02:04] Production.INFO: Account Balance Start. [2025-03-09 10:02:04] Production.INFO: CreateAllLog Start [2025-03-09 10:02:04] Production.INFO: 117 [2025-03-09 10:02:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:02:04] Production.INFO: count ==13 [2025-03-09 10:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:02:04] Production.INFO: count ==21 [2025-03-09 10:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641438') start [2025-03-09 10:02:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:02:04] Production.INFO: ==5695== Releasing lock... [2025-03-09 10:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641438') end [2025-03-09 10:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:02:04] Production.INFO: 1 [2025-03-09 10:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:02:04] Production.INFO: Total Charge 0 [2025-03-09 10:02:04] Production.INFO: CreateAllLog End [2025-03-09 10:02:04] Production.INFO: ==5703== Releasing lock... [2025-03-09 10:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:02:04] Production.ERROR: done [2025-03-09 10:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:02:04] Production.INFO: Account Balance End. [2025-03-09 10:02:04] Production.ERROR: done [2025-03-09 10:02:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:02:04] Production.INFO: ==5699== Releasing lock... [2025-03-09 10:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:02:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:02:06 [end_date_ymd] => 2025-03-09 10:02:06 [RateCDR] => 1 ) [2025-03-09 10: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-09 07:02:06' and `end` < '2025-03-09 10: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-09 10:02:12] Production.ERROR: CronJobId end10 [2025-03-09 10:02:12] Production.INFO: ==5697== Releasing lock... [2025-03-09 10:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:02:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:02:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:02:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:02:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:02:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:02:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:02:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:02:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:02:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:02:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:02:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:02:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:02:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:02:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:02:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:02:16] Production.INFO: call_cost start [2025-03-09 10:02:16] Production.INFO: call_cost end [2025-03-09 10:02:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:02:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:02:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:02:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:02:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:02:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:02:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:02:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:02:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:02:17] Production.INFO: ==5693== Releasing lock... [2025-03-09 10:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:02:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:02:18] Production.INFO: count ==78 [2025-03-09 10:02:18] Production.ERROR: pbx CDR StartTime 2025-03-09 07:02:06 - End Time 2025-03-09 10:02:06 [2025-03-09 10:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641440', 'tblTempUsageDetail_20' ) start [2025-03-09 10:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641440', 'tblTempUsageDetail_20' ) end [2025-03-09 10:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641440', 'tblTempVendorCDR_20' ) start [2025-03-09 10:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641440', 'tblTempVendorCDR_20' ) end [2025-03-09 10:02:18] Production.INFO: ProcessCDR(1,14641440,1,1,2) [2025-03-09 10:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641440', 'tblTempUsageDetail_20' ) start [2025-03-09 10:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641440', 'tblTempUsageDetail_20' ) end [2025-03-09 10:02:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:02:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:02:23] Production.INFO: ==5701== Releasing lock... [2025-03-09 10:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:02:23] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:03:01] Production.INFO: ==5756== Lock acquired, processing the job... [2025-03-09 14:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:03:01] Production.INFO: neon service started [2025-03-09 14:03:01] Production.INFO: neon service started [2025-03-09 14:03:01] Production.INFO: ==5756== Releasing lock... [2025-03-09 14:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:03:01] Production.INFO: ==5760== Lock acquired, processing the job... [2025-03-09 14:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:03:01] Production.INFO: ==5760== Releasing lock... [2025-03-09 14:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:03:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:03:02] Production.INFO: ==5758== Lock acquired, processing the job... [2025-03-09 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:03:02] Production.INFO: ==5758== Releasing lock... [2025-03-09 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:03:03] Production.INFO: ==5762== Lock acquired, processing the job... [2025-03-09 10:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:03:03] Production.INFO: ==5765== Lock acquired, processing the job... [2025-03-09 10:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:03:03] Production.INFO: ==5773== Lock acquired, processing the job... [2025-03-09 10:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:03:03] Production.INFO: ==5767== Lock acquired, processing the job... [2025-03-09 10:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:03:03] Production.INFO: count ==13 [2025-03-09 10:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:03:03] Production.INFO: ==5769== Lock acquired, processing the job... [2025-03-09 10:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:03:03] Production.INFO: count ==21 [2025-03-09 10:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641443') start [2025-03-09 10:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:03:03] Production.INFO: ==5771== Lock acquired, processing the job... [2025-03-09 10:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:03:03] Production.INFO: ==5765== Releasing lock... [2025-03-09 10:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:03:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:03:03] Production.INFO: Account Balance Start. [2025-03-09 10:03:03] Production.INFO: CreateAllLog Start [2025-03-09 10:03:03] Production.INFO: 117 [2025-03-09 10:03:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641443') end [2025-03-09 10:03:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:03:03] Production.INFO: 1 [2025-03-09 10:03:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:03:03] Production.INFO: ==5773== Releasing lock... [2025-03-09 10:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:03:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:03:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:03:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:03:04] Production.INFO: Total Charge 0 [2025-03-09 10:03:04] Production.INFO: CreateAllLog End [2025-03-09 10:03:04] Production.ERROR: done [2025-03-09 10:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:03:04] Production.ERROR: done [2025-03-09 10:03:04] Production.INFO: Account Balance End. [2025-03-09 10:03:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:03:04] Production.INFO: ==5769== Releasing lock... [2025-03-09 10:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:03:05 [end_date_ymd] => 2025-03-09 10:03:05 [RateCDR] => 1 ) [2025-03-09 10:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:03:05' and `end` < '2025-03-09 10:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:03:12] Production.ERROR: CronJobId end10 [2025-03-09 10:03:12] Production.INFO: ==5767== Releasing lock... [2025-03-09 10:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:03:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:03:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:03:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:03:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:03:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:03:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:03:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:03:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:03:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:03:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:03:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:03:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:03:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:03:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:03:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:03:15] Production.INFO: call_cost start [2025-03-09 10:03:15] Production.INFO: call_cost end [2025-03-09 10:03:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:03:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:03:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:03:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:03:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:03:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:03:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:03:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:03:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:03:16] Production.INFO: ==5762== Releasing lock... [2025-03-09 10:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:03:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:03:17] Production.INFO: count ==79 [2025-03-09 10:03:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:03:05 - End Time 2025-03-09 10:03:05 [2025-03-09 10:03:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641445', 'tblTempUsageDetail_20' ) start [2025-03-09 10:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641445', 'tblTempUsageDetail_20' ) end [2025-03-09 10:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641445', 'tblTempVendorCDR_20' ) start [2025-03-09 10:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641445', 'tblTempVendorCDR_20' ) end [2025-03-09 10:03:17] Production.INFO: ProcessCDR(1,14641445,1,1,2) [2025-03-09 10:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641445', 'tblTempUsageDetail_20' ) start [2025-03-09 10:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641445', 'tblTempUsageDetail_20' ) end [2025-03-09 10:03:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:03:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:03:23] Production.INFO: ==5771== Releasing lock... [2025-03-09 10:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:03:23] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:04:01] Production.INFO: ==5833== Lock acquired, processing the job... [2025-03-09 14:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:04:02] Production.INFO: neon service started [2025-03-09 14:04:02] Production.INFO: neon service started [2025-03-09 14:04:02] Production.INFO: ==5833== Releasing lock... [2025-03-09 14:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:04:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 10:04:02] Production.INFO: ==5835== Lock acquired, processing the job... [2025-03-09 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:04:02] Production.INFO: ==5835== Releasing lock... [2025-03-09 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:04:03] Production.INFO: ==5837== Lock acquired, processing the job... [2025-03-09 14:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:04:03] Production.INFO: ==5837== Releasing lock... [2025-03-09 14:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:04:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:04:04] Production.INFO: ==5843== Lock acquired, processing the job... [2025-03-09 10:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:04:04] Production.INFO: ==5839== Lock acquired, processing the job... [2025-03-09 10:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:04:04] Production.INFO: ==5848== Lock acquired, processing the job... [2025-03-09 10:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:04:04] Production.INFO: ==5841== Lock acquired, processing the job... [2025-03-09 10:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:04:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:04:04] Production.INFO: ==5845== Lock acquired, processing the job... [2025-03-09 10:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:04:04] Production.INFO: ==5850== Lock acquired, processing the job... [2025-03-09 10:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:04:04] Production.INFO: Account Balance Start. [2025-03-09 10:04:04] Production.INFO: CreateAllLog Start [2025-03-09 10:04:04] Production.INFO: 117 [2025-03-09 10:04:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:04:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:04:04] Production.INFO: Total Charge 0 [2025-03-09 10:04:04] Production.INFO: count ==13 [2025-03-09 10:04:04] Production.INFO: CreateAllLog End [2025-03-09 10:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:04:04] Production.ERROR: done [2025-03-09 10:04:04] Production.INFO: count ==21 [2025-03-09 10:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641449') start [2025-03-09 10:04:04] Production.INFO: ==5841== Releasing lock... [2025-03-09 10:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641449') end [2025-03-09 10:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:04:04] Production.INFO: 1 [2025-03-09 10:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:04:04] Production.INFO: ==5850== Releasing lock... [2025-03-09 10:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:04:04] Production.INFO: Account Balance End. [2025-03-09 10:04:05] Production.ERROR: done [2025-03-09 10:04:05] Production.ERROR: CronJobId end 12 [2025-03-09 10:04:05] Production.INFO: ==5845== Releasing lock... [2025-03-09 10:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:04:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:04:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:04:06 [end_date_ymd] => 2025-03-09 10:04:06 [RateCDR] => 1 ) [2025-03-09 10: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-09 07:04:06' and `end` < '2025-03-09 10: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-09 10:04:13] Production.ERROR: CronJobId end10 [2025-03-09 10:04:13] Production.INFO: ==5843== Releasing lock... [2025-03-09 10:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:04:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:04:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:04:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:04:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:04:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:04:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:04:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:04:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:04:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:04:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:04:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:04:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:04:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:04:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:04:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:04:16] Production.INFO: call_cost start [2025-03-09 10:04:16] Production.INFO: call_cost end [2025-03-09 10:04:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:04:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:04:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:04:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:04:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:04:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:04:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:04:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:04:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:04:17] Production.INFO: ==5839== Releasing lock... [2025-03-09 10:04:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:04:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:04:18] Production.INFO: count ==81 [2025-03-09 10:04:18] Production.ERROR: pbx CDR StartTime 2025-03-09 07:04:06 - End Time 2025-03-09 10:04:06 [2025-03-09 10:04:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641450', 'tblTempUsageDetail_20' ) start [2025-03-09 10:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641450', 'tblTempUsageDetail_20' ) end [2025-03-09 10:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641450', 'tblTempVendorCDR_20' ) start [2025-03-09 10:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641450', 'tblTempVendorCDR_20' ) end [2025-03-09 10:04:18] Production.INFO: ProcessCDR(1,14641450,1,1,2) [2025-03-09 10:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641450', 'tblTempUsageDetail_20' ) start [2025-03-09 10:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641450', 'tblTempUsageDetail_20' ) end [2025-03-09 10:04:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:04:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:04:23] Production.INFO: ==5848== Releasing lock... [2025-03-09 10:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:04:23] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:05:01] Production.INFO: ==5906== Lock acquired, processing the job... [2025-03-09 14:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:05:01] Production.INFO: neon service started [2025-03-09 14:05:01] Production.INFO: neon service started [2025-03-09 14:05:01] Production.INFO: ==5906== Releasing lock... [2025-03-09 14:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:05:01] Production.INFO: ==5910== Lock acquired, processing the job... [2025-03-09 14:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:05:01] Production.INFO: ==5910== Releasing lock... [2025-03-09 14:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:05:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:05:02] Production.INFO: ==5908== Lock acquired, processing the job... [2025-03-09 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:05:02] Production.INFO: ==5908== Releasing lock... [2025-03-09 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:05:03] Production.INFO: ==5917== Lock acquired, processing the job... [2025-03-09 10:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:05:03] Production.INFO: ==5921== Lock acquired, processing the job... [2025-03-09 10:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:05:03] Production.INFO: ==5913== Lock acquired, processing the job... [2025-03-09 10:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:05:03] Production.INFO: ==5915== Lock acquired, processing the job... [2025-03-09 10:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:05:03] Production.INFO: ==5919== Lock acquired, processing the job... [2025-03-09 10:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:05:03] Production.INFO: ==5923== Lock acquired, processing the job... [2025-03-09 10:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:05:04] Production.ERROR: done [2025-03-09 10:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:05:04] Production.INFO: Account Balance Start. [2025-03-09 10:05:04] Production.INFO: CreateAllLog Start [2025-03-09 10:05:04] Production.INFO: 117 [2025-03-09 10:05:04] Production.INFO: ==5915== Releasing lock... [2025-03-09 10:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:05:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:05:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:05:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:05:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:05:04] Production.INFO: Total Charge 0 [2025-03-09 10:05:04] Production.INFO: CreateAllLog End [2025-03-09 10:05:04] Production.ERROR: done [2025-03-09 10:05:04] Production.INFO: count ==13 [2025-03-09 10:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:05:04] Production.INFO: count ==21 [2025-03-09 10:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641454') start [2025-03-09 10:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641454') end [2025-03-09 10:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:05:04] Production.INFO: 1 [2025-03-09 10:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:05:04] Production.INFO: Account Balance End. [2025-03-09 10:05:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:05:04] Production.INFO: ==5919== Releasing lock... [2025-03-09 10:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:05:04] Production.INFO: ==5923== Releasing lock... [2025-03-09 10:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:05:05 [end_date_ymd] => 2025-03-09 10:05:05 [RateCDR] => 1 ) [2025-03-09 10:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:05:05' and `end` < '2025-03-09 10:05:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:05:13] Production.ERROR: CronJobId end10 [2025-03-09 10:05:13] Production.INFO: ==5917== Releasing lock... [2025-03-09 10:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:05:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:05:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:05:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:05:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:05:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:05:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:05:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:05:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:05:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:05:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:05:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:05:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:05:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:05:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:05:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:05:15] Production.INFO: call_cost start [2025-03-09 10:05:15] Production.INFO: call_cost end [2025-03-09 10:05:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:05:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:05:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:05:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:05:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:05:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:05:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:05:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:05:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:05:16] Production.INFO: ==5913== Releasing lock... [2025-03-09 10:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:05:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:05:17] Production.INFO: count ==78 [2025-03-09 10:05:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:05:05 - End Time 2025-03-09 10:05:05 [2025-03-09 10:05:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641455', 'tblTempUsageDetail_20' ) start [2025-03-09 10:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641455', 'tblTempUsageDetail_20' ) end [2025-03-09 10:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641455', 'tblTempVendorCDR_20' ) start [2025-03-09 10:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641455', 'tblTempVendorCDR_20' ) end [2025-03-09 10:05:17] Production.INFO: ProcessCDR(1,14641455,1,1,2) [2025-03-09 10:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641455', 'tblTempUsageDetail_20' ) start [2025-03-09 10:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641455', 'tblTempUsageDetail_20' ) end [2025-03-09 10:05:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:05:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:05:20] Production.INFO: ==5921== Releasing lock... [2025-03-09 10:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:05:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:06:01] Production.INFO: ==5980== Lock acquired, processing the job... [2025-03-09 14:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:06:01] Production.INFO: neon service started [2025-03-09 14:06:02] Production.INFO: neon service started [2025-03-09 14:06:02] Production.INFO: ==5980== Releasing lock... [2025-03-09 14:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:06:02] Production.INFO: ==5984== Lock acquired, processing the job... [2025-03-09 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:06:02] Production.INFO: ==5984== Releasing lock... [2025-03-09 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:06:02] Production.INFO: ==5982== Lock acquired, processing the job... [2025-03-09 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:06:02] Production.INFO: ==5982== Releasing lock... [2025-03-09 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:06:04] Production.INFO: ==5987== Lock acquired, processing the job... [2025-03-09 10:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:06:04] Production.INFO: ==5989== Lock acquired, processing the job... [2025-03-09 10:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:06:04] Production.INFO: ==5993== Lock acquired, processing the job... [2025-03-09 10:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:06:04] Production.INFO: ==5991== Lock acquired, processing the job... [2025-03-09 10:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:06:04] Production.INFO: Account Balance Start. [2025-03-09 10:06:04] Production.INFO: CreateAllLog Start [2025-03-09 10:06:04] Production.INFO: 117 [2025-03-09 10:06:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:06:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:06:04] Production.INFO: ==5995== Lock acquired, processing the job... [2025-03-09 10:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:06:04] Production.INFO: Total Charge 0 [2025-03-09 10:06:04] Production.INFO: CreateAllLog End [2025-03-09 10:06:04] Production.INFO: ==5997== Lock acquired, processing the job... [2025-03-09 10:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:06:04] Production.INFO: ==5989== Releasing lock... [2025-03-09 10:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:06:04] Production.INFO: Account Balance End. [2025-03-09 10:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:06:04] Production.INFO: count ==13 [2025-03-09 10:06:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:06:04] Production.INFO: ==5993== Releasing lock... [2025-03-09 10:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:06:04] Production.INFO: count ==21 [2025-03-09 10:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641459') start [2025-03-09 10:06:04] Production.ERROR: done [2025-03-09 10:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641459') end [2025-03-09 10:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:06:04] Production.INFO: 1 [2025-03-09 10:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:06:05] Production.INFO: ==5997== Releasing lock... [2025-03-09 10:06:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:06:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:06:05] Production.ERROR: done [2025-03-09 10:06:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:06:06 [end_date_ymd] => 2025-03-09 10:06:06 [RateCDR] => 1 ) [2025-03-09 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-09 07:06:06' and `end` < '2025-03-09 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-09 10:06:13] Production.ERROR: CronJobId end10 [2025-03-09 10:06:13] Production.INFO: ==5991== Releasing lock... [2025-03-09 10:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:06:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:06:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:06:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:06:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:06:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:06:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:06:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:06:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:06:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:06:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:06:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:06:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:06:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:06:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:06:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:06:15] Production.INFO: call_cost start [2025-03-09 10:06:15] Production.INFO: call_cost end [2025-03-09 10:06:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:06:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:06:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:06:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:06:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:06:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:06:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:06:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:06:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:06:16] Production.INFO: ==5987== Releasing lock... [2025-03-09 10:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:06:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:06:18] Production.INFO: count ==78 [2025-03-09 10:06:18] Production.ERROR: pbx CDR StartTime 2025-03-09 07:06:06 - End Time 2025-03-09 10:06:06 [2025-03-09 10:06:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641460', 'tblTempUsageDetail_20' ) start [2025-03-09 10:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641460', 'tblTempUsageDetail_20' ) end [2025-03-09 10:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641460', 'tblTempVendorCDR_20' ) start [2025-03-09 10:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641460', 'tblTempVendorCDR_20' ) end [2025-03-09 10:06:18] Production.INFO: ProcessCDR(1,14641460,1,1,2) [2025-03-09 10:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641460', 'tblTempUsageDetail_20' ) start [2025-03-09 10:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641460', 'tblTempUsageDetail_20' ) end [2025-03-09 10:06:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:06:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:06:22] Production.INFO: ==5995== Releasing lock... [2025-03-09 10:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:06:22] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:07:01] Production.INFO: ==6053== Lock acquired, processing the job... [2025-03-09 14:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:07:01] Production.INFO: neon service started [2025-03-09 14:07:01] Production.INFO: neon service started [2025-03-09 14:07:01] Production.INFO: ==6053== Releasing lock... [2025-03-09 14:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:07:01] Production.INFO: ==6055== Lock acquired, processing the job... [2025-03-09 10:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:07:02] Production.INFO: ==6055== Releasing lock... [2025-03-09 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:07:02] Production.INFO: ==6057== Lock acquired, processing the job... [2025-03-09 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:07:02] Production.INFO: ==6057== Releasing lock... [2025-03-09 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:07:03] Production.INFO: ==6069== Lock acquired, processing the job... [2025-03-09 10:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:07:03] Production.INFO: ==6059== Lock acquired, processing the job... [2025-03-09 10:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:07:03] Production.INFO: ==6065== Lock acquired, processing the job... [2025-03-09 10:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:07:03] Production.INFO: ==6061== Lock acquired, processing the job... [2025-03-09 10:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:07:03] Production.INFO: Account Balance Start. [2025-03-09 10:07:03] Production.INFO: CreateAllLog Start [2025-03-09 10:07:03] Production.INFO: 117 [2025-03-09 10:07:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:07:03] Production.INFO: ==6063== Lock acquired, processing the job... [2025-03-09 10:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:07:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:07:03] Production.INFO: count ==13 [2025-03-09 10:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:07:03] Production.INFO: count ==21 [2025-03-09 10:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641463') start [2025-03-09 10:07:03] Production.INFO: ==6067== Lock acquired, processing the job... [2025-03-09 10:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:07:03] Production.INFO: Total Charge 0 [2025-03-09 10:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:07:03] Production.INFO: CreateAllLog End [2025-03-09 10:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641463') end [2025-03-09 10:07:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:07:03] Production.INFO: 1 [2025-03-09 10:07:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:07:03] Production.INFO: ==6069== Releasing lock... [2025-03-09 10:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:07:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:07:04] Production.INFO: Account Balance End. [2025-03-09 10:07:04] Production.ERROR: done [2025-03-09 10:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:07:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:07:04] Production.INFO: ==6065== Releasing lock... [2025-03-09 10:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:07:04] Production.INFO: ==6061== Releasing lock... [2025-03-09 10:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:07:04] Production.ERROR: done [2025-03-09 10:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:07:05 [end_date_ymd] => 2025-03-09 10:07:05 [RateCDR] => 1 ) [2025-03-09 10:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:07:05' and `end` < '2025-03-09 10:07:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:07:12] Production.ERROR: CronJobId end10 [2025-03-09 10:07:12] Production.INFO: ==6063== Releasing lock... [2025-03-09 10:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:07:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:07:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:07:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:07:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:07:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:07:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:07:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:07:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:07:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:07:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:07:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:07:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:07:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:07:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:07:15] Production.INFO: call_cost start [2025-03-09 10:07:15] Production.INFO: call_cost end [2025-03-09 10:07:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:07:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:07:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:07:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:07:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:07:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:07:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:07:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:07:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:07:16] Production.INFO: ==6059== Releasing lock... [2025-03-09 10:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:07:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:07:17] Production.INFO: count ==75 [2025-03-09 10:07:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:07:05 - End Time 2025-03-09 10:07:05 [2025-03-09 10:07:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641465', 'tblTempUsageDetail_20' ) start [2025-03-09 10:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641465', 'tblTempUsageDetail_20' ) end [2025-03-09 10:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641465', 'tblTempVendorCDR_20' ) start [2025-03-09 10:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641465', 'tblTempVendorCDR_20' ) end [2025-03-09 10:07:17] Production.INFO: ProcessCDR(1,14641465,1,1,2) [2025-03-09 10:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641465', 'tblTempUsageDetail_20' ) start [2025-03-09 10:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641465', 'tblTempUsageDetail_20' ) end [2025-03-09 10:07:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:07:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:07:21] Production.INFO: ==6067== Releasing lock... [2025-03-09 10:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:07:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:08:01] Production.INFO: ==6131== Lock acquired, processing the job... [2025-03-09 14:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:08:02] Production.INFO: neon service started [2025-03-09 14:08:02] Production.INFO: neon service started [2025-03-09 14:08:02] Production.INFO: ==6131== Releasing lock... [2025-03-09 14:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:08:02] Production.INFO: ==6133== Lock acquired, processing the job... [2025-03-09 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:08:02] Production.INFO: ==6133== Releasing lock... [2025-03-09 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:08:02] Production.INFO: ==6135== Lock acquired, processing the job... [2025-03-09 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:08:03] Production.INFO: ==6135== Releasing lock... [2025-03-09 14:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:08:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:08:03] Production.INFO: ==6143== Lock acquired, processing the job... [2025-03-09 10:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:08:03] Production.INFO: ==6141== Lock acquired, processing the job... [2025-03-09 10:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:08:03] Production.INFO: Account Balance Start. [2025-03-09 10:08:03] Production.INFO: CreateAllLog Start [2025-03-09 10:08:03] Production.INFO: 117 [2025-03-09 10:08:03] Production.INFO: ==6137== Lock acquired, processing the job... [2025-03-09 10:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:08:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:08:04] Production.INFO: ==6139== Lock acquired, processing the job... [2025-03-09 10:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:08:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:08:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:08:04] Production.INFO: Total Charge 0 [2025-03-09 10:08:04] Production.INFO: CreateAllLog End [2025-03-09 10:08:04] Production.INFO: ==6145== Lock acquired, processing the job... [2025-03-09 10:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:08:04] Production.INFO: ==6147== Lock acquired, processing the job... [2025-03-09 10:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 10:08:04] Production.INFO: count ==13 [2025-03-09 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-09 10:08:04] Production.INFO: count ==21 [2025-03-09 10:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641469') start [2025-03-09 10:08:04] Production.INFO: ==6139== Releasing lock... [2025-03-09 10:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:08:04] Production.INFO: Account Balance End. [2025-03-09 10:08:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:08:04] Production.INFO: ==6143== Releasing lock... [2025-03-09 10:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:08:04] Production.ERROR: done [2025-03-09 10:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641469') end [2025-03-09 10:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:08:04] Production.INFO: 1 [2025-03-09 10:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:08:04] Production.INFO: ==6147== Releasing lock... [2025-03-09 10:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:08:04] Production.ERROR: done [2025-03-09 10:08:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:08:06 [end_date_ymd] => 2025-03-09 10:08:06 [RateCDR] => 1 ) [2025-03-09 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-09 07:08:06' and `end` < '2025-03-09 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-09 10:08:13] Production.ERROR: CronJobId end10 [2025-03-09 10:08:13] Production.INFO: ==6141== Releasing lock... [2025-03-09 10:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:08:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:08:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:08:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:08:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:08:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:08:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:08:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:08:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:08:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:08:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:08:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:08:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:08:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:08:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:08:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:08:16] Production.INFO: call_cost start [2025-03-09 10:08:16] Production.INFO: call_cost end [2025-03-09 10:08:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:08:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:08:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:08:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:08:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:08:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:08:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:08:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:08:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:08:17] Production.INFO: ==6137== Releasing lock... [2025-03-09 10:08:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:08:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:08:18] Production.INFO: count ==76 [2025-03-09 10:08:18] Production.ERROR: pbx CDR StartTime 2025-03-09 07:08:06 - End Time 2025-03-09 10:08:06 [2025-03-09 10:08:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641470', 'tblTempUsageDetail_20' ) start [2025-03-09 10:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641470', 'tblTempUsageDetail_20' ) end [2025-03-09 10:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641470', 'tblTempVendorCDR_20' ) start [2025-03-09 10:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641470', 'tblTempVendorCDR_20' ) end [2025-03-09 10:08:18] Production.INFO: ProcessCDR(1,14641470,1,1,2) [2025-03-09 10:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641470', 'tblTempUsageDetail_20' ) start [2025-03-09 10:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641470', 'tblTempUsageDetail_20' ) end [2025-03-09 10:08:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:08:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:08:23] Production.INFO: ==6145== Releasing lock... [2025-03-09 10:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:08:23] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:09:01] Production.INFO: ==6208== Lock acquired, processing the job... [2025-03-09 14:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:09:01] Production.INFO: neon service started [2025-03-09 14:09:01] Production.INFO: neon service started [2025-03-09 14:09:01] Production.INFO: ==6208== Releasing lock... [2025-03-09 14:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:09:02] Production.INFO: ==6210== Lock acquired, processing the job... [2025-03-09 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:09:02] Production.INFO: ==6212== Lock acquired, processing the job... [2025-03-09 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:09:02] Production.INFO: ==6212== Releasing lock... [2025-03-09 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:09:03] Production.INFO: ==6210== Releasing lock... [2025-03-09 10:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:09:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:09:03] Production.INFO: ==6223== Lock acquired, processing the job... [2025-03-09 10:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:09:04] Production.INFO: ==6225== Lock acquired, processing the job... [2025-03-09 10:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:09:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:09:04] Production.INFO: ==6219== Lock acquired, processing the job... [2025-03-09 10:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:09:04] Production.INFO: ==6217== Lock acquired, processing the job... [2025-03-09 10:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 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-09 10:09:04] Production.INFO: count ==13 [2025-03-09 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-09 10:09:04] Production.INFO: count ==21 [2025-03-09 10:09:04] Production.INFO: ==6215== Lock acquired, processing the job... [2025-03-09 10:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641471') start [2025-03-09 10:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:09:04] Production.INFO: ==6221== Lock acquired, processing the job... [2025-03-09 10:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:09:04] Production.ERROR: done [2025-03-09 10:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:09:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:09:04] Production.INFO: Account Balance Start. [2025-03-09 10:09:04] Production.INFO: CreateAllLog Start [2025-03-09 10:09:04] Production.INFO: 117 [2025-03-09 10:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641471') end [2025-03-09 10:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:09:04] Production.INFO: 1 [2025-03-09 10:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:09:04] Production.ERROR: done [2025-03-09 10:09:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:09:04] Production.INFO: ==6225== Releasing lock... [2025-03-09 10:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:09:04] Production.INFO: ==6217== Releasing lock... [2025-03-09 10:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:09:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:09:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:09:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:09:04] Production.INFO: Total Charge 0 [2025-03-09 10:09:04] Production.INFO: CreateAllLog End [2025-03-09 10:09:04] Production.INFO: Account Balance End. [2025-03-09 10:09:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:09:04] Production.INFO: ==6221== Releasing lock... [2025-03-09 10:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:09:05 [end_date_ymd] => 2025-03-09 10:09:05 [RateCDR] => 1 ) [2025-03-09 10:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:09:05' and `end` < '2025-03-09 10:09:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:09:13] Production.ERROR: CronJobId end10 [2025-03-09 10:09:13] Production.INFO: ==6219== Releasing lock... [2025-03-09 10:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:09:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:09:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:09:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:09:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:09:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:09:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:09:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:09:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:09:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:09:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:09:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:09:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:09:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:09:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:09:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:09:16] Production.INFO: call_cost start [2025-03-09 10:09:16] Production.INFO: call_cost end [2025-03-09 10:09:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:09:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:09:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:09:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:09:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:09:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:09:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:09:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:09:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:09:17] Production.INFO: ==6215== Releasing lock... [2025-03-09 10:09:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:09:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:09:17] Production.INFO: count ==83 [2025-03-09 10:09:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:09:05 - End Time 2025-03-09 10:09:05 [2025-03-09 10:09:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641475', 'tblTempUsageDetail_20' ) start [2025-03-09 10:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641475', 'tblTempUsageDetail_20' ) end [2025-03-09 10:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641475', 'tblTempVendorCDR_20' ) start [2025-03-09 10:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641475', 'tblTempVendorCDR_20' ) end [2025-03-09 10:09:17] Production.INFO: ProcessCDR(1,14641475,1,1,2) [2025-03-09 10:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641475', 'tblTempUsageDetail_20' ) start [2025-03-09 10:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641475', 'tblTempUsageDetail_20' ) end [2025-03-09 10:09:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:09:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:09:21] Production.INFO: ==6223== Releasing lock... [2025-03-09 10:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:09:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:10:02] Production.INFO: ==6279== Lock acquired, processing the job... [2025-03-09 14:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:10:02] Production.INFO: neon service started [2025-03-09 14:10:02] Production.INFO: neon service started [2025-03-09 14:10:02] Production.INFO: ==6279== Releasing lock... [2025-03-09 14:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:10:02] Production.INFO: ==6283== Lock acquired, processing the job... [2025-03-09 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:10:02] Production.INFO: ==6283== Releasing lock... [2025-03-09 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:10:02] Production.INFO: ==6281== Lock acquired, processing the job... [2025-03-09 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:10:03] Production.INFO: ==6281== Releasing lock... [2025-03-09 10:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:10:04] Production.INFO: ==6286== Lock acquired, processing the job... [2025-03-09 10:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 10:10:04] Production.INFO: ==6288== Lock acquired, processing the job... [2025-03-09 10:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 10:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 10:10:04] Production.INFO: ==6286== Releasing lock... [2025-03-09 10:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 10:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 10:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:10:04] Production.INFO: ==6292== Lock acquired, processing the job... [2025-03-09 10:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:10:04] Production.INFO: ==6294== Lock acquired, processing the job... [2025-03-09 10:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:10:04] Production.INFO: ==6290== Lock acquired, processing the job... [2025-03-09 10:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:10:04] Production.INFO: Account Balance Start. [2025-03-09 10:10:04] Production.INFO: CreateAllLog Start [2025-03-09 10:10:04] Production.INFO: 117 [2025-03-09 10:10:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:10:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:10:04] Production.INFO: Total Charge 0 [2025-03-09 10:10:04] Production.INFO: CreateAllLog End [2025-03-09 10:10:04] Production.INFO: ==6298== Lock acquired, processing the job... [2025-03-09 10:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 10:10:04] Production.INFO: ==6300== Lock acquired, processing the job... [2025-03-09 10:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:10:04] Production.INFO: ==6296== Lock acquired, processing the job... [2025-03-09 10:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:10:05] Production.INFO: Account Balance End. [2025-03-09 10:10:05] Production.ERROR: CronJobId end 12 [2025-03-09 10:10:05] Production.INFO: ==6294== Releasing lock... [2025-03-09 10:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:10:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:10:05] Production.INFO: ==6290== Releasing lock... [2025-03-09 10:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:10:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10: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-09 10:10:05] Production.INFO: count ==13 [2025-03-09 10: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-09 10:10:05] Production.INFO: count ==21 [2025-03-09 10:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14641479') start [2025-03-09 10:10:05] Production.ERROR: done [2025-03-09 10:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14641479') end [2025-03-09 10:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:10:05] Production.INFO: 1 [2025-03-09 10:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 10:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641480', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 10:10:05] Production.INFO: ==6300== Releasing lock... [2025-03-09 10:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:10:05] Production.ERROR: done [2025-03-09 10:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:10:05] Production.ERROR: done [2025-03-09 10:10:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:10:07 [end_date_ymd] => 2025-03-09 10:10:07 [RateCDR] => 1 ) [2025-03-09 10: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-09 07:10:07' and `end` < '2025-03-09 10: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-09 10:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641480', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 10:10:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 10:10:10] Production.INFO: ProcessCDR(1,14641480,1,1,2) [2025-03-09 10:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14641480,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14641480,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:10:10] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:10:10] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:10:10] Production.INFO: ==6298== Releasing lock... [2025-03-09 10:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 10:10:10] Production.INFO: 26 MB #Memory Used# [2025-03-09 10:10:14] Production.ERROR: CronJobId end10 [2025-03-09 10:10:14] Production.INFO: ==6292== Releasing lock... [2025-03-09 10:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:10:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:10:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:10:17] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:10:17] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:10:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:10:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:10:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:10:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:10:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:10:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:10:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:10:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:10:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:10:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:10:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:10:17] Production.INFO: call_cost start [2025-03-09 10:10:17] Production.INFO: call_cost end [2025-03-09 10:10:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:10:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:10:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:10:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:10:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:10:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:10:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:10:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:10:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:10:18] Production.INFO: ==6288== Releasing lock... [2025-03-09 10:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:10:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:10:19] Production.INFO: count ==92 [2025-03-09 10:10:19] Production.ERROR: pbx CDR StartTime 2025-03-09 07:10:07 - End Time 2025-03-09 10:10:07 [2025-03-09 10:10:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641481', 'tblTempUsageDetail_20' ) start [2025-03-09 10:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641481', 'tblTempUsageDetail_20' ) end [2025-03-09 10:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641481', 'tblTempVendorCDR_20' ) start [2025-03-09 10:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641481', 'tblTempVendorCDR_20' ) end [2025-03-09 10:10:19] Production.INFO: ProcessCDR(1,14641481,1,1,2) [2025-03-09 10:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641481', 'tblTempUsageDetail_20' ) start [2025-03-09 10:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641481', 'tblTempUsageDetail_20' ) end [2025-03-09 10:10:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:10:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:10:23] Production.INFO: ==6296== Releasing lock... [2025-03-09 10:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:10:23] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 14:11:01] Production.INFO: ==6355== Lock acquired, processing the job... [2025-03-09 14:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:11:01] Production.INFO: neon service started [2025-03-09 14:11:01] Production.INFO: neon service started [2025-03-09 14:11:01] Production.INFO: ==6355== Releasing lock... [2025-03-09 14:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:11:02] Production.INFO: ==6357== Lock acquired, processing the job... [2025-03-09 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:11:02] Production.INFO: ==6359== Lock acquired, processing the job... [2025-03-09 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:11:02] Production.INFO: ==6359== Releasing lock... [2025-03-09 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:11:02] Production.INFO: ==6357== Releasing lock... [2025-03-09 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:11:03] Production.INFO: ==6368== Lock acquired, processing the job... [2025-03-09 10:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:11:04] Production.INFO: ==6372== Lock acquired, processing the job... [2025-03-09 10:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:11:04] Production.INFO: Account Balance Start. [2025-03-09 10:11:04] Production.INFO: CreateAllLog Start [2025-03-09 10:11:04] Production.INFO: 117 [2025-03-09 10:11:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:11:04] Production.INFO: ==6362== Lock acquired, processing the job... [2025-03-09 10:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:11:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:11:04] Production.INFO: count ==13 [2025-03-09 10:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:11:04] Production.INFO: count ==21 [2025-03-09 10:11:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:11:04] Production.INFO: ==6364== Lock acquired, processing the job... [2025-03-09 10:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:11:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:11:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641483') start [2025-03-09 10:11:04] Production.INFO: Total Charge 0 [2025-03-09 10:11:04] Production.INFO: ==6366== Lock acquired, processing the job... [2025-03-09 10:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:11:04] Production.INFO: CreateAllLog End [2025-03-09 10:11:04] Production.INFO: ==6370== Lock acquired, processing the job... [2025-03-09 10:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641483') end [2025-03-09 10:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:11:04] Production.INFO: 1 [2025-03-09 10:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:11:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:11:04] Production.INFO: ==6372== Releasing lock... [2025-03-09 10:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:11:04] Production.INFO: Account Balance End. [2025-03-09 10:11:04] Production.INFO: ==6364== Releasing lock... [2025-03-09 10:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:11:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:11:04] Production.INFO: ==6368== Releasing lock... [2025-03-09 10:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:11:04] Production.ERROR: done [2025-03-09 10:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:11:04] Production.ERROR: done [2025-03-09 10:11:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:11:06 [end_date_ymd] => 2025-03-09 10:11:06 [RateCDR] => 1 ) [2025-03-09 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-09 07:11:06' and `end` < '2025-03-09 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-09 10:11:13] Production.ERROR: CronJobId end10 [2025-03-09 10:11:13] Production.INFO: ==6366== Releasing lock... [2025-03-09 10:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:11:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:11:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:11:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:11:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:11:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:11:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:11:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:11:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:11:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:11:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:11:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:11:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:11:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:11:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:11:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:11:15] Production.INFO: call_cost start [2025-03-09 10:11:15] Production.INFO: call_cost end [2025-03-09 10:11:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:11:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:11:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:11:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:11:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:11:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:11:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:11:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:11:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:11:16] Production.INFO: ==6362== Releasing lock... [2025-03-09 10:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:11:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:11:18] Production.INFO: count ==96 [2025-03-09 10:11:18] Production.ERROR: pbx CDR StartTime 2025-03-09 07:11:06 - End Time 2025-03-09 10:11:06 [2025-03-09 10:11:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641486', 'tblTempUsageDetail_20' ) start [2025-03-09 10:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641486', 'tblTempUsageDetail_20' ) end [2025-03-09 10:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641486', 'tblTempVendorCDR_20' ) start [2025-03-09 10:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641486', 'tblTempVendorCDR_20' ) end [2025-03-09 10:11:18] Production.INFO: ProcessCDR(1,14641486,1,1,2) [2025-03-09 10:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641486', 'tblTempUsageDetail_20' ) start [2025-03-09 10:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641486', 'tblTempUsageDetail_20' ) end [2025-03-09 10:11:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:11:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:11:21] Production.INFO: ==6370== Releasing lock... [2025-03-09 10:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:11:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 14:12:02] Production.INFO: ==6427== Lock acquired, processing the job... [2025-03-09 14:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:12:02] Production.INFO: neon service started [2025-03-09 14:12:02] Production.INFO: neon service started [2025-03-09 14:12:02] Production.INFO: ==6427== Releasing lock... [2025-03-09 14:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:12:02] Production.INFO: ==6429== Lock acquired, processing the job... [2025-03-09 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:12:02] Production.INFO: ==6429== Releasing lock... [2025-03-09 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:12:03] Production.INFO: ==6431== Lock acquired, processing the job... [2025-03-09 14:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:12:03] Production.INFO: ==6431== Releasing lock... [2025-03-09 14:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:12:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:12:04] Production.INFO: ==6440== Lock acquired, processing the job... [2025-03-09 10:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:12:04] Production.INFO: ==6434== Lock acquired, processing the job... [2025-03-09 10:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:12:04] Production.INFO: ==6442== Lock acquired, processing the job... [2025-03-09 10:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:12:04] Production.INFO: ==6436== Lock acquired, processing the job... [2025-03-09 10:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:12:04] Production.INFO: ==6438== Lock acquired, processing the job... [2025-03-09 10:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:12:04] Production.INFO: Account Balance Start. [2025-03-09 10:12:04] Production.INFO: CreateAllLog Start [2025-03-09 10:12:04] Production.INFO: 117 [2025-03-09 10:12:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:12:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:12:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:12:04] Production.INFO: ==6444== Lock acquired, processing the job... [2025-03-09 10:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:12:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:12:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:12:04] Production.INFO: Total Charge 0 [2025-03-09 10:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:12:04] Production.INFO: CreateAllLog End [2025-03-09 10:12:04] Production.INFO: count ==13 [2025-03-09 10:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:12:04] Production.INFO: count ==21 [2025-03-09 10:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641489') start [2025-03-09 10:12:04] Production.ERROR: done [2025-03-09 10:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641489') end [2025-03-09 10:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:12:04] Production.INFO: 1 [2025-03-09 10:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:12:04] Production.INFO: Account Balance End. [2025-03-09 10:12:04] Production.INFO: ==6436== Releasing lock... [2025-03-09 10:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:12:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:12:04] Production.INFO: ==6440== Releasing lock... [2025-03-09 10:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:12:04] Production.ERROR: done [2025-03-09 10:12:04] Production.INFO: ==6444== Releasing lock... [2025-03-09 10:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:12:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:12:06 [end_date_ymd] => 2025-03-09 10:12:06 [RateCDR] => 1 ) [2025-03-09 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-09 07:12:06' and `end` < '2025-03-09 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-09 10:12:14] Production.ERROR: CronJobId end10 [2025-03-09 10:12:14] Production.INFO: ==6438== Releasing lock... [2025-03-09 10:12:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:12:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:12:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:12:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:12:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:12:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:12:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:12:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:12:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:12:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:12:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:12:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:12:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:12:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:12:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:12:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:12:16] Production.INFO: call_cost start [2025-03-09 10:12:16] Production.INFO: call_cost end [2025-03-09 10:12:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:12:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:12:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:12:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:12:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:12:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:12:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:12:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:12:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:12:17] Production.INFO: ==6434== Releasing lock... [2025-03-09 10:12:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:12:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:12:18] Production.INFO: count ==96 [2025-03-09 10:12:18] Production.ERROR: pbx CDR StartTime 2025-03-09 07:12:06 - End Time 2025-03-09 10:12:06 [2025-03-09 10:12:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641491', 'tblTempUsageDetail_20' ) start [2025-03-09 10:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641491', 'tblTempUsageDetail_20' ) end [2025-03-09 10:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641491', 'tblTempVendorCDR_20' ) start [2025-03-09 10:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641491', 'tblTempVendorCDR_20' ) end [2025-03-09 10:12:18] Production.INFO: ProcessCDR(1,14641491,1,1,2) [2025-03-09 10:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641491', 'tblTempUsageDetail_20' ) start [2025-03-09 10:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641491', 'tblTempUsageDetail_20' ) end [2025-03-09 10:12:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:12:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:12:21] Production.INFO: ==6442== Releasing lock... [2025-03-09 10:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:12:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 14:13:01] Production.INFO: ==6544== Lock acquired, processing the job... [2025-03-09 14:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:13:01] Production.INFO: neon service started [2025-03-09 14:13:01] Production.INFO: neon service started [2025-03-09 14:13:01] Production.INFO: ==6544== Releasing lock... [2025-03-09 14:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:13:02] Production.INFO: ==6546== Lock acquired, processing the job... [2025-03-09 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:13:02] Production.INFO: ==6546== Releasing lock... [2025-03-09 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:13:02] Production.INFO: ==6548== Lock acquired, processing the job... [2025-03-09 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:13:02] Production.INFO: ==6548== Releasing lock... [2025-03-09 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:13:03] Production.INFO: ==6558== Lock acquired, processing the job... [2025-03-09 10:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:13:03] Production.INFO: ==6554== Lock acquired, processing the job... [2025-03-09 10:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:13:03] Production.INFO: ==6550== Lock acquired, processing the job... [2025-03-09 10:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:13:03] Production.INFO: ==6552== Lock acquired, processing the job... [2025-03-09 10:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:13:03] Production.INFO: ==6556== Lock acquired, processing the job... [2025-03-09 10:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:13:03] Production.INFO: ==6560== Lock acquired, processing the job... [2025-03-09 10:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:13:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:13:04] Production.INFO: Account Balance Start. [2025-03-09 10:13:04] Production.INFO: CreateAllLog Start [2025-03-09 10:13:04] Production.INFO: 117 [2025-03-09 10:13:04] Production.ERROR: done [2025-03-09 10:13:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:13:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:13:04] Production.INFO: ==6552== Releasing lock... [2025-03-09 10:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:13:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:13:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:13:04] Production.INFO: count ==13 [2025-03-09 10:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:13:04] Production.INFO: count ==21 [2025-03-09 10:13:04] Production.ERROR: done [2025-03-09 10:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641495') start [2025-03-09 10:13:04] Production.INFO: Total Charge 0 [2025-03-09 10:13:04] Production.INFO: CreateAllLog End [2025-03-09 10:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641495') end [2025-03-09 10:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:13:04] Production.INFO: 1 [2025-03-09 10:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:13:04] Production.INFO: ==6560== Releasing lock... [2025-03-09 10:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:13:04] Production.INFO: Account Balance End. [2025-03-09 10:13:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:13:04] Production.INFO: ==6556== Releasing lock... [2025-03-09 10:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:13:05 [end_date_ymd] => 2025-03-09 10:13:05 [RateCDR] => 1 ) [2025-03-09 10:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:13:05' and `end` < '2025-03-09 10:13:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:13:12] Production.ERROR: CronJobId end10 [2025-03-09 10:13:12] Production.INFO: ==6554== Releasing lock... [2025-03-09 10:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:13:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:13:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:13:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:13:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:13:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:13:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:13:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:13:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:13:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:13:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:13:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:13:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:13:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:13:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:13:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:13:16] Production.INFO: call_cost start [2025-03-09 10:13:16] Production.INFO: call_cost end [2025-03-09 10:13:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:13:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:13:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:13:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:13:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:13:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:13:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:13:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:13:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:13:17] Production.INFO: ==6550== Releasing lock... [2025-03-09 10:13:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:13:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:13:17] Production.INFO: count ==96 [2025-03-09 10:13:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:13:05 - End Time 2025-03-09 10:13:05 [2025-03-09 10:13:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641496', 'tblTempUsageDetail_20' ) start [2025-03-09 10:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641496', 'tblTempUsageDetail_20' ) end [2025-03-09 10:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641496', 'tblTempVendorCDR_20' ) start [2025-03-09 10:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641496', 'tblTempVendorCDR_20' ) end [2025-03-09 10:13:17] Production.INFO: ProcessCDR(1,14641496,1,1,2) [2025-03-09 10:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641496', 'tblTempUsageDetail_20' ) start [2025-03-09 10:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641496', 'tblTempUsageDetail_20' ) end [2025-03-09 10:13:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:13:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:13:21] Production.INFO: ==6558== Releasing lock... [2025-03-09 10:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:13:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 14:14:02] Production.INFO: ==6617== Lock acquired, processing the job... [2025-03-09 14:14:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:14:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:14:02] Production.INFO: neon service started [2025-03-09 14:14:02] Production.INFO: neon service started [2025-03-09 14:14:02] Production.INFO: ==6617== Releasing lock... [2025-03-09 14:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:14:02] Production.INFO: ==6619== Lock acquired, processing the job... [2025-03-09 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:14:03] Production.INFO: ==6621== Lock acquired, processing the job... [2025-03-09 14:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:14:03] Production.INFO: ==6621== Releasing lock... [2025-03-09 14:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:14:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:14:03] Production.INFO: ==6619== Releasing lock... [2025-03-09 10:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:14:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:14:04] Production.INFO: ==6630== Lock acquired, processing the job... [2025-03-09 10:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:14:04] Production.INFO: ==6624== Lock acquired, processing the job... [2025-03-09 10:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:14:04] Production.INFO: ==6632== Lock acquired, processing the job... [2025-03-09 10:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:14:04] Production.INFO: ==6626== Lock acquired, processing the job... [2025-03-09 10:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:14:04] Production.INFO: Account Balance Start. [2025-03-09 10:14:04] Production.INFO: CreateAllLog Start [2025-03-09 10:14:04] Production.INFO: 117 [2025-03-09 10:14:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:14:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:14:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:14:04] Production.INFO: ==6628== Lock acquired, processing the job... [2025-03-09 10:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:14:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:14:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:14:04] Production.INFO: Total Charge 0 [2025-03-09 10:14:04] Production.INFO: CreateAllLog End [2025-03-09 10:14:04] Production.INFO: ==6634== Lock acquired, processing the job... [2025-03-09 10:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:14:04] Production.INFO: ==6626== Releasing lock... [2025-03-09 10:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:14:05] Production.ERROR: done [2025-03-09 10:14:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10: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-09 10:14:05] Production.INFO: Account Balance End. [2025-03-09 10:14:05] Production.INFO: count ==13 [2025-03-09 10:14:05] Production.ERROR: CronJobId end 12 [2025-03-09 10:14:05] Production.INFO: ==6630== Releasing lock... [2025-03-09 10:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:14:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:14:05] Production.ERROR: done [2025-03-09 10: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-09 10:14:05] Production.INFO: count ==21 [2025-03-09 10:14:05] Production.ERROR: PBX CALL prc_importPBXExtension('14641500') start [2025-03-09 10:14:05] Production.ERROR: PBX CALL prc_importPBXExtension('14641500') end [2025-03-09 10:14:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:14:05] Production.INFO: 1 [2025-03-09 10:14:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:14:05] Production.INFO: ==6634== Releasing lock... [2025-03-09 10:14:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:14:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:14:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:14:06 [end_date_ymd] => 2025-03-09 10:14:06 [RateCDR] => 1 ) [2025-03-09 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-09 07:14:06' and `end` < '2025-03-09 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-09 10:14:13] Production.ERROR: CronJobId end10 [2025-03-09 10:14:13] Production.INFO: ==6628== Releasing lock... [2025-03-09 10:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:14:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:14:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:14:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:14:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:14:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:14:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:14:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:14:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:14:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:14:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:14:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:14:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:14:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:14:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:14:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:14:15] Production.INFO: call_cost start [2025-03-09 10:14:15] Production.INFO: call_cost end [2025-03-09 10:14:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:14:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:14:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:14:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:14:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:14:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:14:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:14:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:14:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:14:16] Production.INFO: ==6624== Releasing lock... [2025-03-09 10:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:14:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:14:18] Production.INFO: count ==96 [2025-03-09 10:14:18] Production.ERROR: pbx CDR StartTime 2025-03-09 07:14:06 - End Time 2025-03-09 10:14:06 [2025-03-09 10:14:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641501', 'tblTempUsageDetail_20' ) start [2025-03-09 10:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641501', 'tblTempUsageDetail_20' ) end [2025-03-09 10:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641501', 'tblTempVendorCDR_20' ) start [2025-03-09 10:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641501', 'tblTempVendorCDR_20' ) end [2025-03-09 10:14:18] Production.INFO: ProcessCDR(1,14641501,1,1,2) [2025-03-09 10:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641501', 'tblTempUsageDetail_20' ) start [2025-03-09 10:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641501', 'tblTempUsageDetail_20' ) end [2025-03-09 10:14:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:14:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:14:22] Production.INFO: ==6632== Releasing lock... [2025-03-09 10:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:14:22] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 14:15:01] Production.INFO: ==6690== Lock acquired, processing the job... [2025-03-09 14:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:15:01] Production.INFO: neon service started [2025-03-09 14:15:01] Production.INFO: neon service started [2025-03-09 14:15:01] Production.INFO: ==6690== Releasing lock... [2025-03-09 14:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:15:02] Production.INFO: ==6692== Lock acquired, processing the job... [2025-03-09 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:15:02] Production.INFO: ==6694== Lock acquired, processing the job... [2025-03-09 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:15:02] Production.INFO: ==6692== Releasing lock... [2025-03-09 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:15:02] Production.INFO: ==6694== Releasing lock... [2025-03-09 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:15:03] Production.INFO: ==6703== Lock acquired, processing the job... [2025-03-09 10:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:15:03] Production.INFO: ==6707== Lock acquired, processing the job... [2025-03-09 10:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:15:03] Production.INFO: ==6697== Lock acquired, processing the job... [2025-03-09 10:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:15:03] Production.INFO: Account Balance Start. [2025-03-09 10:15:03] Production.INFO: CreateAllLog Start [2025-03-09 10:15:03] Production.INFO: 117 [2025-03-09 10:15:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:15:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:15:03] Production.INFO: ==6699== Lock acquired, processing the job... [2025-03-09 10:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:15:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:15:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:15:03] Production.INFO: count ==13 [2025-03-09 10:15:03] Production.INFO: Total Charge 0 [2025-03-09 10:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:15:03] Production.INFO: count ==21 [2025-03-09 10:15:03] Production.INFO: ==6701== Lock acquired, processing the job... [2025-03-09 10:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:15:03] Production.INFO: ==6705== Lock acquired, processing the job... [2025-03-09 10:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641503') start [2025-03-09 10:15:03] Production.INFO: CreateAllLog End [2025-03-09 10:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641503') end [2025-03-09 10:15:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:15:03] Production.INFO: 1 [2025-03-09 10:15:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:15:04] Production.INFO: ==6707== Releasing lock... [2025-03-09 10:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:15:04] Production.INFO: Account Balance End. [2025-03-09 10:15:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:15:04] Production.INFO: ==6703== Releasing lock... [2025-03-09 10:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:15:04] Production.INFO: ==6699== Releasing lock... [2025-03-09 10:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:15:04] Production.ERROR: done [2025-03-09 10:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:15:04] Production.ERROR: done [2025-03-09 10:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:15:05 [end_date_ymd] => 2025-03-09 10:15:05 [RateCDR] => 1 ) [2025-03-09 10:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:15:05' and `end` < '2025-03-09 10:15:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:15:12] Production.ERROR: CronJobId end10 [2025-03-09 10:15:12] Production.INFO: ==6701== Releasing lock... [2025-03-09 10:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:15:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:15:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:15:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:15:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:15:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:15:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:15:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:15:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:15:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:15:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:15:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:15:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:15:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:15:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:15:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:15:15] Production.INFO: call_cost start [2025-03-09 10:15:15] Production.INFO: call_cost end [2025-03-09 10:15:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:15:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:15:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:15:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:15:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:15:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:15:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:15:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:15:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:15:16] Production.INFO: ==6697== Releasing lock... [2025-03-09 10:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:15:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:15:17] Production.INFO: count ==100 [2025-03-09 10:15:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:15:05 - End Time 2025-03-09 10:15:05 [2025-03-09 10:15:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641506', 'tblTempUsageDetail_20' ) start [2025-03-09 10:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641506', 'tblTempUsageDetail_20' ) end [2025-03-09 10:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641506', 'tblTempVendorCDR_20' ) start [2025-03-09 10:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641506', 'tblTempVendorCDR_20' ) end [2025-03-09 10:15:17] Production.INFO: ProcessCDR(1,14641506,1,1,2) [2025-03-09 10:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641506', 'tblTempUsageDetail_20' ) start [2025-03-09 10:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641506', 'tblTempUsageDetail_20' ) end [2025-03-09 10:15:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:15:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:15:21] Production.INFO: ==6705== Releasing lock... [2025-03-09 10:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:15:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-09 14:16:02] Production.INFO: ==6767== Lock acquired, processing the job... [2025-03-09 14:16:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:16:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:16:02] Production.INFO: neon service started [2025-03-09 14:16:02] Production.INFO: neon service started [2025-03-09 14:16:02] Production.INFO: ==6767== Releasing lock... [2025-03-09 14:16:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:16:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:16:02] Production.INFO: ==6771== Lock acquired, processing the job... [2025-03-09 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:16:02] Production.INFO: ==6771== Releasing lock... [2025-03-09 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:16:02] Production.INFO: ==6769== Lock acquired, processing the job... [2025-03-09 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:16:03] Production.INFO: ==6769== Releasing lock... [2025-03-09 10:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:16:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:16:04] Production.INFO: ==6774== Lock acquired, processing the job... [2025-03-09 10:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:16:04] Production.INFO: ==6776== Lock acquired, processing the job... [2025-03-09 10:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:16:04] Production.INFO: ==6778== Lock acquired, processing the job... [2025-03-09 10:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:16:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:16:04] Production.INFO: ==6776== Releasing lock... [2025-03-09 10:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:16:04] Production.INFO: ==6780== Lock acquired, processing the job... [2025-03-09 10:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:16:04] Production.INFO: ==6782== Lock acquired, processing the job... [2025-03-09 10:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:16:04] Production.INFO: ==6784== Lock acquired, processing the job... [2025-03-09 10:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:16:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:16:04] Production.INFO: Account Balance Start. [2025-03-09 10:16:04] Production.INFO: CreateAllLog Start [2025-03-09 10:16:04] Production.INFO: 117 [2025-03-09 10:16:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:16:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:16:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:16:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:16:04] Production.INFO: count ==13 [2025-03-09 10:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:16:04] Production.INFO: count ==21 [2025-03-09 10:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641510') start [2025-03-09 10:16:04] Production.INFO: Total Charge 0 [2025-03-09 10:16:04] Production.INFO: CreateAllLog End [2025-03-09 10:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641510') end [2025-03-09 10:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:16:04] Production.INFO: 1 [2025-03-09 10:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:16:05] Production.INFO: ==6784== Releasing lock... [2025-03-09 10:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:16:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:16:05] Production.ERROR: done [2025-03-09 10:16:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:16:05] Production.ERROR: done [2025-03-09 10:16:05] Production.INFO: Account Balance End. [2025-03-09 10:16:05] Production.ERROR: CronJobId end 12 [2025-03-09 10:16:05] Production.INFO: ==6780== Releasing lock... [2025-03-09 10:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:16:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:16:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:16:06 [end_date_ymd] => 2025-03-09 10:16:06 [RateCDR] => 1 ) [2025-03-09 10:16:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:16:06' and `end` < '2025-03-09 10:16:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:16:12] Production.ERROR: CronJobId end10 [2025-03-09 10:16:12] Production.INFO: ==6778== Releasing lock... [2025-03-09 10:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:16:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:16:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:16:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:16:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:16:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:16:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:16:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:16:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:16:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:16:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:16:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:16:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:16:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:16:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:16:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:16:16] Production.INFO: call_cost start [2025-03-09 10:16:16] Production.INFO: call_cost end [2025-03-09 10:16:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:16:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:16:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:16:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:16:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:16:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:16:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:16:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:16:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:16:17] Production.INFO: ==6774== Releasing lock... [2025-03-09 10:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:16:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:16:18] Production.INFO: count ==113 [2025-03-09 10:16:18] Production.ERROR: pbx CDR StartTime 2025-03-09 07:16:06 - End Time 2025-03-09 10:16:06 [2025-03-09 10:16:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641511', 'tblTempUsageDetail_20' ) start [2025-03-09 10:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641511', 'tblTempUsageDetail_20' ) end [2025-03-09 10:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641511', 'tblTempVendorCDR_20' ) start [2025-03-09 10:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641511', 'tblTempVendorCDR_20' ) end [2025-03-09 10:16:18] Production.INFO: ProcessCDR(1,14641511,1,1,2) [2025-03-09 10:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641511', 'tblTempUsageDetail_20' ) start [2025-03-09 10:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641511', 'tblTempUsageDetail_20' ) end [2025-03-09 10:16:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:16:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:16:23] Production.INFO: ==6782== Releasing lock... [2025-03-09 10:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:16:23] Production.INFO: 28.75 MB #Memory Used# [2025-03-09 14:17:01] Production.INFO: ==6839== Lock acquired, processing the job... [2025-03-09 14:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:17:01] Production.INFO: neon service started [2025-03-09 14:17:01] Production.INFO: neon service started [2025-03-09 14:17:01] Production.INFO: ==6839== Releasing lock... [2025-03-09 14:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:17:02] Production.INFO: ==6841== Lock acquired, processing the job... [2025-03-09 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:17:02] Production.INFO: ==6841== Releasing lock... [2025-03-09 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:17:02] Production.INFO: ==6843== Lock acquired, processing the job... [2025-03-09 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:17:02] Production.INFO: ==6843== Releasing lock... [2025-03-09 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:17:03] Production.INFO: ==6851== Lock acquired, processing the job... [2025-03-09 10:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:17:03] Production.INFO: ==6845== Lock acquired, processing the job... [2025-03-09 10:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:17:03] Production.INFO: ==6856== Lock acquired, processing the job... [2025-03-09 10:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:17:03] Production.INFO: ==6847== Lock acquired, processing the job... [2025-03-09 10:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:17:03] Production.INFO: Account Balance Start. [2025-03-09 10:17:03] Production.INFO: CreateAllLog Start [2025-03-09 10:17:03] Production.INFO: 117 [2025-03-09 10:17:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:17:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:17:03] Production.INFO: ==6849== Lock acquired, processing the job... [2025-03-09 10:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:17:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:17:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:17:03] Production.INFO: Total Charge 0 [2025-03-09 10:17:03] Production.INFO: ==6853== Lock acquired, processing the job... [2025-03-09 10:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:17:03] Production.INFO: CreateAllLog End [2025-03-09 10:17:03] Production.INFO: count ==13 [2025-03-09 10:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:17:03] Production.INFO: count ==21 [2025-03-09 10:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641514') start [2025-03-09 10:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641514') end [2025-03-09 10:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:17:04] Production.INFO: 1 [2025-03-09 10:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:17:04] Production.INFO: ==6856== Releasing lock... [2025-03-09 10:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:17:04] Production.INFO: ==6847== Releasing lock... [2025-03-09 10:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:17:04] Production.INFO: Account Balance End. [2025-03-09 10:17:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:17:04] Production.INFO: ==6851== Releasing lock... [2025-03-09 10:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:17:04] Production.ERROR: done [2025-03-09 10:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:17:04] Production.ERROR: done [2025-03-09 10:17:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:17:05 [end_date_ymd] => 2025-03-09 10:17:05 [RateCDR] => 1 ) [2025-03-09 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-09 07:17:05' and `end` < '2025-03-09 10:17:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:17:13] Production.ERROR: CronJobId end10 [2025-03-09 10:17:13] Production.INFO: ==6849== Releasing lock... [2025-03-09 10:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:17:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:17:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:17:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:17:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:17:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:17:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:17:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:17:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:17:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:17:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:17:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:17:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:17:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:17:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:17:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:17:15] Production.INFO: call_cost start [2025-03-09 10:17:15] Production.INFO: call_cost end [2025-03-09 10:17:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:17:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:17:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:17:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:17:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:17:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:17:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:17:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:17:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:17:16] Production.INFO: ==6845== Releasing lock... [2025-03-09 10:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:17:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:17:18] Production.INFO: count ==118 [2025-03-09 10:17:18] Production.ERROR: pbx CDR StartTime 2025-03-09 07:17:05 - End Time 2025-03-09 10:17:05 [2025-03-09 10:17:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641516', 'tblTempUsageDetail_20' ) start [2025-03-09 10:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641516', 'tblTempUsageDetail_20' ) end [2025-03-09 10:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641516', 'tblTempVendorCDR_20' ) start [2025-03-09 10:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641516', 'tblTempVendorCDR_20' ) end [2025-03-09 10:17:18] Production.INFO: ProcessCDR(1,14641516,1,1,2) [2025-03-09 10:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641516', 'tblTempUsageDetail_20' ) start [2025-03-09 10:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641516', 'tblTempUsageDetail_20' ) end [2025-03-09 10:17:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:17:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:17:21] Production.INFO: ==6853== Releasing lock... [2025-03-09 10:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:17:21] Production.INFO: 28.75 MB #Memory Used# [2025-03-09 14:18:02] Production.INFO: ==6914== Lock acquired, processing the job... [2025-03-09 14:18:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:18:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:18:02] Production.INFO: neon service started [2025-03-09 14:18:02] Production.INFO: neon service started [2025-03-09 14:18:02] Production.INFO: ==6914== Releasing lock... [2025-03-09 14:18:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:18:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 10:18:02] Production.INFO: ==6916== Lock acquired, processing the job... [2025-03-09 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:18:03] Production.INFO: ==6916== Releasing lock... [2025-03-09 10:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:18:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:18:03] Production.INFO: ==6918== Lock acquired, processing the job... [2025-03-09 14:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:18:03] Production.INFO: ==6918== Releasing lock... [2025-03-09 14:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:18:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:18:04] Production.INFO: ==6920== Lock acquired, processing the job... [2025-03-09 10:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:18:04] Production.INFO: ==6922== Lock acquired, processing the job... [2025-03-09 10:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:18:04] Production.INFO: ==6926== Lock acquired, processing the job... [2025-03-09 10:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:18:04] Production.INFO: ==6924== Lock acquired, processing the job... [2025-03-09 10:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:18:04] Production.INFO: ==6931== Lock acquired, processing the job... [2025-03-09 10:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:18:04] Production.INFO: Account Balance Start. [2025-03-09 10:18:04] Production.INFO: CreateAllLog Start [2025-03-09 10:18:04] Production.INFO: 117 [2025-03-09 10:18:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:18:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:18:04] Production.INFO: ==6928== Lock acquired, processing the job... [2025-03-09 10:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:18:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:18:04] Production.INFO: count ==13 [2025-03-09 10:18:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 10:18:04] Production.INFO: count ==21 [2025-03-09 10:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641520') start [2025-03-09 10:18:04] Production.INFO: Total Charge 0 [2025-03-09 10:18:04] Production.INFO: CreateAllLog End [2025-03-09 10:18:04] Production.INFO: ==6922== Releasing lock... [2025-03-09 10:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641520') end [2025-03-09 10:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:18:04] Production.INFO: 1 [2025-03-09 10:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:18:04] Production.INFO: ==6931== Releasing lock... [2025-03-09 10:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:18:04] Production.ERROR: done [2025-03-09 10:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:18:04] Production.INFO: Account Balance End. [2025-03-09 10:18:05] Production.ERROR: CronJobId end 12 [2025-03-09 10:18:05] Production.INFO: ==6926== Releasing lock... [2025-03-09 10:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:18:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:18:05] Production.ERROR: done [2025-03-09 10:18:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:18:06 [end_date_ymd] => 2025-03-09 10:18:06 [RateCDR] => 1 ) [2025-03-09 10:18:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:18:06' and `end` < '2025-03-09 10:18:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:18:12] Production.ERROR: CronJobId end10 [2025-03-09 10:18:12] Production.INFO: ==6924== Releasing lock... [2025-03-09 10:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:18:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:18:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:18:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:18:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:18:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:18:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:18:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:18:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:18:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:18:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:18:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:18:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:18:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:18:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:18:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:18:15] Production.INFO: call_cost start [2025-03-09 10:18:15] Production.INFO: call_cost end [2025-03-09 10:18:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:18:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:18:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:18:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:18:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:18:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:18:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:18:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:18:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:18:15] Production.INFO: ==6920== Releasing lock... [2025-03-09 10:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:18:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:18:18] Production.INFO: count ==118 [2025-03-09 10:18:18] Production.ERROR: pbx CDR StartTime 2025-03-09 07:18:06 - End Time 2025-03-09 10:18:06 [2025-03-09 10:18:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641521', 'tblTempUsageDetail_20' ) start [2025-03-09 10:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641521', 'tblTempUsageDetail_20' ) end [2025-03-09 10:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641521', 'tblTempVendorCDR_20' ) start [2025-03-09 10:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641521', 'tblTempVendorCDR_20' ) end [2025-03-09 10:18:18] Production.INFO: ProcessCDR(1,14641521,1,1,2) [2025-03-09 10:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641521', 'tblTempUsageDetail_20' ) start [2025-03-09 10:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641521', 'tblTempUsageDetail_20' ) end [2025-03-09 10:18:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:18:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:18:21] Production.INFO: ==6928== Releasing lock... [2025-03-09 10:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:18:21] Production.INFO: 28.75 MB #Memory Used# [2025-03-09 14:19:01] Production.INFO: ==6989== Lock acquired, processing the job... [2025-03-09 14:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:19:01] Production.INFO: neon service started [2025-03-09 14:19:01] Production.INFO: neon service started [2025-03-09 14:19:01] Production.INFO: ==6989== Releasing lock... [2025-03-09 14:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:19:02] Production.INFO: ==6993== Lock acquired, processing the job... [2025-03-09 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:19:02] Production.INFO: ==6993== Releasing lock... [2025-03-09 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:19:02] Production.INFO: ==6991== Lock acquired, processing the job... [2025-03-09 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:19:02] Production.INFO: ==6991== Releasing lock... [2025-03-09 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:19:03] Production.INFO: ==7006== Lock acquired, processing the job... [2025-03-09 10:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:19:03] Production.INFO: ==7004== Lock acquired, processing the job... [2025-03-09 10:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:19:03] Production.INFO: count ==13 [2025-03-09 10:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:19:03] Production.INFO: count ==21 [2025-03-09 10:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641522') start [2025-03-09 10:19:03] Production.INFO: ==6995== Lock acquired, processing the job... [2025-03-09 10:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:19:03] Production.INFO: ==6997== Lock acquired, processing the job... [2025-03-09 10:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:19:03] Production.INFO: ==7002== Lock acquired, processing the job... [2025-03-09 10:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641522') end [2025-03-09 10:19:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:19:03] Production.INFO: 1 [2025-03-09 10:19:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:19:03] Production.INFO: ==6999== Lock acquired, processing the job... [2025-03-09 10:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:19:03] Production.INFO: Account Balance Start. [2025-03-09 10:19:03] Production.INFO: CreateAllLog Start [2025-03-09 10:19:04] Production.INFO: 117 [2025-03-09 10:19:04] Production.INFO: ==7006== Releasing lock... [2025-03-09 10:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:19:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:19:04] Production.ERROR: done [2025-03-09 10:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:19:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:19:04] Production.INFO: Total Charge 0 [2025-03-09 10:19:04] Production.INFO: CreateAllLog End [2025-03-09 10:19:04] Production.INFO: ==6997== Releasing lock... [2025-03-09 10:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:19:04] Production.ERROR: done [2025-03-09 10:19:04] Production.INFO: Account Balance End. [2025-03-09 10:19:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:19:04] Production.INFO: ==7002== Releasing lock... [2025-03-09 10:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:19:05 [end_date_ymd] => 2025-03-09 10:19:05 [RateCDR] => 1 ) [2025-03-09 10:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:19:05' and `end` < '2025-03-09 10:19:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:19:11] Production.ERROR: CronJobId end10 [2025-03-09 10:19:11] Production.INFO: ==6999== Releasing lock... [2025-03-09 10:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:19:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:19:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:19:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:19:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:19:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:19:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:19:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:19:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:19:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:19:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:19:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:19:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:19:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:19:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:19:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:19:13] Production.INFO: call_cost start [2025-03-09 10:19:13] Production.INFO: call_cost end [2025-03-09 10:19:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:19:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:19:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:19:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:19:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:19:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:19:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:19:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:19:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:19:14] Production.INFO: ==6995== Releasing lock... [2025-03-09 10:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:19:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:19:17] Production.INFO: count ==118 [2025-03-09 10:19:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:19:05 - End Time 2025-03-09 10:19:05 [2025-03-09 10:19:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641526', 'tblTempUsageDetail_20' ) start [2025-03-09 10:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641526', 'tblTempUsageDetail_20' ) end [2025-03-09 10:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641526', 'tblTempVendorCDR_20' ) start [2025-03-09 10:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641526', 'tblTempVendorCDR_20' ) end [2025-03-09 10:19:17] Production.INFO: ProcessCDR(1,14641526,1,1,2) [2025-03-09 10:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:19:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641526', 'tblTempUsageDetail_20' ) start [2025-03-09 10:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641526', 'tblTempUsageDetail_20' ) end [2025-03-09 10:19:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:19:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:19:20] Production.INFO: ==7004== Releasing lock... [2025-03-09 10:19:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:19:20] Production.INFO: 28.75 MB #Memory Used# [2025-03-09 14:20:02] Production.INFO: ==7062== Lock acquired, processing the job... [2025-03-09 14:20:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:20:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:20:02] Production.INFO: neon service started [2025-03-09 14:20:02] Production.INFO: neon service started [2025-03-09 14:20:02] Production.INFO: ==7062== Releasing lock... [2025-03-09 14:20:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:20:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:20:02] Production.INFO: ==7064== Lock acquired, processing the job... [2025-03-09 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:20:02] Production.INFO: ==7064== Releasing lock... [2025-03-09 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:20:03] Production.INFO: ==7066== Lock acquired, processing the job... [2025-03-09 14:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:20:03] Production.INFO: ==7066== Releasing lock... [2025-03-09 14:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:20:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:20:04] Production.INFO: ==7079== Lock acquired, processing the job... [2025-03-09 10:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:20:04] Production.INFO: ==7077== Lock acquired, processing the job... [2025-03-09 10:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:20:04] Production.INFO: ==7083== Lock acquired, processing the job... [2025-03-09 10:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:20:04] Production.INFO: ==7069== Lock acquired, processing the job... [2025-03-09 10:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 10:20:04] Production.INFO: Account Balance Start. [2025-03-09 10:20:04] Production.INFO: CreateAllLog Start [2025-03-09 10:20:04] Production.INFO: 117 [2025-03-09 10:20:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:20:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:20:04] Production.INFO: ==7071== Lock acquired, processing the job... [2025-03-09 10:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:20:04] Production.INFO: Total Charge 0 [2025-03-09 10:20:04] Production.INFO: CreateAllLog End [2025-03-09 10:20:04] Production.INFO: ==7073== Lock acquired, processing the job... [2025-03-09 10:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:20:04] Production.INFO: ==7075== Lock acquired, processing the job... [2025-03-09 10:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 10:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 10:20:04] Production.ERROR: CronJob PID - 7071 [2025-03-09 10:20:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 10:20:04] Production.ERROR: CronJob ID - 5 [2025-03-09 10:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 10:20:00 [2025-03-09 10:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 10:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 10:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 10:20:04] Production.ERROR: CronJob PID - 7073 [2025-03-09 10:20:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 10:20:04] Production.ERROR: CronJob ID - 7 [2025-03-09 10:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 10:20:00 [2025-03-09 10:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 10:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 10:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 10:20:04] Production.ERROR: CronJob PID - 7075 [2025-03-09 10:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 10:20:04] Production.ERROR: CronJob ID - 10 [2025-03-09 10:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 10:20:00 [2025-03-09 10:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 10:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 10:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 10:20:04] Production.ERROR: CronJob PID - 7077 [2025-03-09 10:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 10:20:04] Production.ERROR: CronJob ID - 12 [2025-03-09 10:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 10:20:00 [2025-03-09 10:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 10:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 10:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 10:20:04] Production.ERROR: CronJob PID - 7079 [2025-03-09 10:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 10:20:04] Production.ERROR: CronJob ID - 16 [2025-03-09 10:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 10:20:00 [2025-03-09 10:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 10:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 10:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 10:20:04] Production.ERROR: CronJob PID - 7083 [2025-03-09 10:20:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 10:20:04] Production.ERROR: CronJob ID - 19 [2025-03-09 10:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 10:20:00 [2025-03-09 10:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 10:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 10:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:20:04] Production.INFO: ==7081== Lock acquired, processing the job... [2025-03-09 10:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 10:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:20:04] Production.INFO: count ==13 [2025-03-09 10:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 10:20:04] Production.INFO: ==7069== Releasing lock... [2025-03-09 10:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 10:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 10:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:20:04] Production.INFO: count ==21 [2025-03-09 10:20:04] Production.ERROR: done [2025-03-09 10:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641530') start [2025-03-09 10:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:20:04] Production.INFO: ==7073== Releasing lock... [2025-03-09 10:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14641530') end [2025-03-09 10:20:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:20:05] Production.INFO: 1 [2025-03-09 10:20:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:20:05] Production.INFO: ==7083== Releasing lock... [2025-03-09 10:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:20:05] Production.ERROR: done [2025-03-09 10:20:05] Production.INFO: Account Balance End. [2025-03-09 10:20:05] Production.ERROR: CronJobId end 12 [2025-03-09 10:20:05] Production.INFO: ==7077== Releasing lock... [2025-03-09 10:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:20:05] Production.ERROR: done [2025-03-09 10:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 10:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641532', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 10:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:20:06 [end_date_ymd] => 2025-03-09 10:20:06 [RateCDR] => 1 ) [2025-03-09 10:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:20:06' and `end` < '2025-03-09 10:20:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641532', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 10:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 10:20:09] Production.INFO: ProcessCDR(1,14641532,1,1,2) [2025-03-09 10:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14641532,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14641532,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:20:09] Production.INFO: ==7081== Releasing lock... [2025-03-09 10:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 10:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 10:20:13] Production.ERROR: CronJobId end10 [2025-03-09 10:20:13] Production.INFO: ==7075== Releasing lock... [2025-03-09 10:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:20:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:20:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:20:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:20:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:20:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:20:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:20:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:20:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:20:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:20:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:20:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:20:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:20:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:20:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:20:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:20:15] Production.INFO: call_cost start [2025-03-09 10:20:15] Production.INFO: call_cost end [2025-03-09 10:20:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:20:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:20:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:20:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:20:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:20:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:20:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:20:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:20:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:20:16] Production.INFO: ==7071== Releasing lock... [2025-03-09 10:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:20:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:20:18] Production.INFO: count ==127 [2025-03-09 10:20:18] Production.ERROR: pbx CDR StartTime 2025-03-09 07:20:06 - End Time 2025-03-09 10:20:06 [2025-03-09 10:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641531', 'tblTempUsageDetail_20' ) start [2025-03-09 10:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641531', 'tblTempUsageDetail_20' ) end [2025-03-09 10:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641531', 'tblTempVendorCDR_20' ) start [2025-03-09 10:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641531', 'tblTempVendorCDR_20' ) end [2025-03-09 10:20:18] Production.INFO: ProcessCDR(1,14641531,1,1,2) [2025-03-09 10:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641531', 'tblTempUsageDetail_20' ) start [2025-03-09 10:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641531', 'tblTempUsageDetail_20' ) end [2025-03-09 10:20:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:20:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:20:23] Production.INFO: ==7079== Releasing lock... [2025-03-09 10:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:20:23] Production.INFO: 29 MB #Memory Used# [2025-03-09 14:21:01] Production.INFO: ==7139== Lock acquired, processing the job... [2025-03-09 14:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:21:01] Production.INFO: neon service started [2025-03-09 14:21:01] Production.INFO: neon service started [2025-03-09 14:21:01] Production.INFO: ==7139== Releasing lock... [2025-03-09 14:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:21:02] Production.INFO: ==7141== Lock acquired, processing the job... [2025-03-09 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:21:02] Production.INFO: ==7141== Releasing lock... [2025-03-09 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:21:02] Production.INFO: ==7143== Lock acquired, processing the job... [2025-03-09 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:21:02] Production.INFO: ==7143== Releasing lock... [2025-03-09 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:21:03] Production.INFO: ==7149== Lock acquired, processing the job... [2025-03-09 10:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:21:03] Production.INFO: ==7147== Lock acquired, processing the job... [2025-03-09 10:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:21:03] Production.INFO: ==7145== Lock acquired, processing the job... [2025-03-09 10:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:21:03] Production.INFO: ==7155== Lock acquired, processing the job... [2025-03-09 10:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:21:03] Production.INFO: ==7151== Lock acquired, processing the job... [2025-03-09 10:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:21:03] Production.INFO: ==7153== Lock acquired, processing the job... [2025-03-09 10:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:21:03] Production.INFO: count ==13 [2025-03-09 10:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:21:03] Production.INFO: count ==21 [2025-03-09 10:21:03] Production.INFO: Account Balance Start. [2025-03-09 10:21:03] Production.INFO: CreateAllLog Start [2025-03-09 10:21:03] Production.INFO: 117 [2025-03-09 10:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641535') start [2025-03-09 10:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:21:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:21:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:21:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:21:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:21:03] Production.INFO: ==7147== Releasing lock... [2025-03-09 10:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:21:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641535') end [2025-03-09 10:21:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:21:03] Production.INFO: 1 [2025-03-09 10:21:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:21:03] Production.INFO: Total Charge 0 [2025-03-09 10:21:03] Production.INFO: CreateAllLog End [2025-03-09 10:21:03] Production.INFO: ==7155== Releasing lock... [2025-03-09 10:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:21:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:21:04] Production.INFO: Account Balance End. [2025-03-09 10:21:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:21:04] Production.INFO: ==7151== Releasing lock... [2025-03-09 10:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:21:04] Production.ERROR: done [2025-03-09 10:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:21:04] Production.ERROR: done [2025-03-09 10:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:21:05 [end_date_ymd] => 2025-03-09 10:21:05 [RateCDR] => 1 ) [2025-03-09 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-09 07:21:05' and `end` < '2025-03-09 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-09 10:21:11] Production.ERROR: CronJobId end10 [2025-03-09 10:21:11] Production.INFO: ==7149== Releasing lock... [2025-03-09 10:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:21:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:21:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:21:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:21:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:21:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:21:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:21:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:21:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:21:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:21:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:21:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:21:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:21:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:21:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:21:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:21:13] Production.INFO: call_cost start [2025-03-09 10:21:13] Production.INFO: call_cost end [2025-03-09 10:21:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:21:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:21:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:21:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:21:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:21:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:21:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:21:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:21:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:21:14] Production.INFO: ==7145== Releasing lock... [2025-03-09 10:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:21:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:21:17] Production.INFO: count ==127 [2025-03-09 10:21:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:21:05 - End Time 2025-03-09 10:21:05 [2025-03-09 10:21:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641537', 'tblTempUsageDetail_20' ) start [2025-03-09 10:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641537', 'tblTempUsageDetail_20' ) end [2025-03-09 10:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641537', 'tblTempVendorCDR_20' ) start [2025-03-09 10:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641537', 'tblTempVendorCDR_20' ) end [2025-03-09 10:21:17] Production.INFO: ProcessCDR(1,14641537,1,1,2) [2025-03-09 10:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641537', 'tblTempUsageDetail_20' ) start [2025-03-09 10:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641537', 'tblTempUsageDetail_20' ) end [2025-03-09 10:21:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:21:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:21:20] Production.INFO: ==7153== Releasing lock... [2025-03-09 10:21:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:21:20] Production.INFO: 29 MB #Memory Used# [2025-03-09 14:22:02] Production.INFO: ==7208== Lock acquired, processing the job... [2025-03-09 14:22:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:22:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:22:02] Production.INFO: neon service started [2025-03-09 14:22:02] Production.INFO: neon service started [2025-03-09 14:22:02] Production.INFO: ==7208== Releasing lock... [2025-03-09 14:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:22:02] Production.INFO: ==7210== Lock acquired, processing the job... [2025-03-09 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:22:02] Production.INFO: ==7212== Lock acquired, processing the job... [2025-03-09 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:22:02] Production.INFO: ==7210== Releasing lock... [2025-03-09 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:22:02] Production.INFO: ==7212== Releasing lock... [2025-03-09 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:22:03] Production.INFO: ==7219== Lock acquired, processing the job... [2025-03-09 10:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:22:03] Production.INFO: ==7225== Lock acquired, processing the job... [2025-03-09 10:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:22:03] Production.INFO: ==7215== Lock acquired, processing the job... [2025-03-09 10:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:22:03] Production.INFO: ==7217== Lock acquired, processing the job... [2025-03-09 10:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:22:03] Production.INFO: count ==13 [2025-03-09 10:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:22:04] Production.INFO: count ==21 [2025-03-09 10:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641538') start [2025-03-09 10:22:04] Production.INFO: ==7221== Lock acquired, processing the job... [2025-03-09 10:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:22:04] Production.INFO: ==7223== Lock acquired, processing the job... [2025-03-09 10:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:22:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641538') end [2025-03-09 10:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:22:04] Production.INFO: 1 [2025-03-09 10:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:22:04] Production.INFO: Account Balance Start. [2025-03-09 10:22:04] Production.INFO: CreateAllLog Start [2025-03-09 10:22:04] Production.INFO: 117 [2025-03-09 10:22:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:22:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:22:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:22:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:22:04] Production.INFO: Total Charge 0 [2025-03-09 10:22:04] Production.INFO: CreateAllLog End [2025-03-09 10:22:04] Production.INFO: ==7225== Releasing lock... [2025-03-09 10:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:22:04] Production.INFO: ==7217== Releasing lock... [2025-03-09 10:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:22:04] Production.ERROR: done [2025-03-09 10:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:22:04] Production.INFO: Account Balance End. [2025-03-09 10:22:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:22:04] Production.INFO: ==7221== Releasing lock... [2025-03-09 10:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:22:04] Production.ERROR: done [2025-03-09 10:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:22:05 [end_date_ymd] => 2025-03-09 10:22:05 [RateCDR] => 1 ) [2025-03-09 10:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:22:05' and `end` < '2025-03-09 10:22:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:22:12] Production.ERROR: CronJobId end10 [2025-03-09 10:22:12] Production.INFO: ==7219== Releasing lock... [2025-03-09 10:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:22:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:22:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:22:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:22:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:22:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:22:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:22:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:22:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:22:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:22:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:22:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:22:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:22:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:22:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:22:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:22:13] Production.INFO: call_cost start [2025-03-09 10:22:13] Production.INFO: call_cost end [2025-03-09 10:22:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:22:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:22:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:22:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:22:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:22:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:22:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:22:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:22:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:22:14] Production.INFO: ==7215== Releasing lock... [2025-03-09 10:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:22:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:22:18] Production.INFO: count ==128 [2025-03-09 10:22:18] Production.ERROR: pbx CDR StartTime 2025-03-09 07:22:05 - End Time 2025-03-09 10:22:05 [2025-03-09 10:22:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641542', 'tblTempUsageDetail_20' ) start [2025-03-09 10:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641542', 'tblTempUsageDetail_20' ) end [2025-03-09 10:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641542', 'tblTempVendorCDR_20' ) start [2025-03-09 10:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641542', 'tblTempVendorCDR_20' ) end [2025-03-09 10:22:18] Production.INFO: ProcessCDR(1,14641542,1,1,2) [2025-03-09 10:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641542', 'tblTempUsageDetail_20' ) start [2025-03-09 10:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641542', 'tblTempUsageDetail_20' ) end [2025-03-09 10:22:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:22:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:22:22] Production.INFO: ==7223== Releasing lock... [2025-03-09 10:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:22:22] Production.INFO: 29 MB #Memory Used# [2025-03-09 14:23:01] Production.INFO: ==7285== Lock acquired, processing the job... [2025-03-09 14:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:23:01] Production.INFO: neon service started [2025-03-09 14:23:01] Production.INFO: neon service started [2025-03-09 14:23:01] Production.INFO: ==7285== Releasing lock... [2025-03-09 14:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:23:02] Production.INFO: ==7289== Lock acquired, processing the job... [2025-03-09 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:23:02] Production.INFO: ==7289== Releasing lock... [2025-03-09 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:23:02] Production.INFO: ==7287== Lock acquired, processing the job... [2025-03-09 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:23:02] Production.INFO: ==7287== Releasing lock... [2025-03-09 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:23:03] Production.INFO: ==7294== Lock acquired, processing the job... [2025-03-09 10:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:23:03] Production.INFO: ==7302== Lock acquired, processing the job... [2025-03-09 10:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:23:03] Production.INFO: ==7292== Lock acquired, processing the job... [2025-03-09 10:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:23:03] Production.INFO: count ==13 [2025-03-09 10:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:23:03] Production.INFO: count ==21 [2025-03-09 10:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641544') start [2025-03-09 10:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:23:03] Production.INFO: ==7296== Lock acquired, processing the job... [2025-03-09 10:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:23:03] Production.INFO: ==7300== Lock acquired, processing the job... [2025-03-09 10:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:23:03] Production.INFO: ==7298== Lock acquired, processing the job... [2025-03-09 10:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641544') end [2025-03-09 10:23:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:23:03] Production.INFO: 1 [2025-03-09 10:23:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:23:03] Production.INFO: ==7302== Releasing lock... [2025-03-09 10:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:23:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:23:03] Production.INFO: Account Balance Start. [2025-03-09 10:23:03] Production.INFO: CreateAllLog Start [2025-03-09 10:23:03] Production.INFO: 117 [2025-03-09 10:23:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:23:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:23:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:23:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:23:04] Production.INFO: ==7294== Releasing lock... [2025-03-09 10:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:23:04] Production.INFO: Total Charge 0 [2025-03-09 10:23:04] Production.INFO: CreateAllLog End [2025-03-09 10:23:04] Production.ERROR: done [2025-03-09 10:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:23:04] Production.INFO: Account Balance End. [2025-03-09 10:23:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:23:04] Production.INFO: ==7298== Releasing lock... [2025-03-09 10:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:23:04] Production.ERROR: done [2025-03-09 10:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:23:05 [end_date_ymd] => 2025-03-09 10:23:05 [RateCDR] => 1 ) [2025-03-09 10:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:23:05' and `end` < '2025-03-09 10:23:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:23:11] Production.ERROR: CronJobId end10 [2025-03-09 10:23:11] Production.INFO: ==7296== Releasing lock... [2025-03-09 10:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:23:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:23:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:23:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:23:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:23:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:23:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:23:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:23:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:23:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:23:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:23:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:23:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:23:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:23:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:23:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:23:14] Production.INFO: call_cost start [2025-03-09 10:23:14] Production.INFO: call_cost end [2025-03-09 10:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:23:15] Production.INFO: ==7292== Releasing lock... [2025-03-09 10:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:23:17] Production.INFO: count ==130 [2025-03-09 10:23:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:23:05 - End Time 2025-03-09 10:23:05 [2025-03-09 10:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641547', 'tblTempUsageDetail_20' ) start [2025-03-09 10:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641547', 'tblTempUsageDetail_20' ) end [2025-03-09 10:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641547', 'tblTempVendorCDR_20' ) start [2025-03-09 10:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641547', 'tblTempVendorCDR_20' ) end [2025-03-09 10:23:17] Production.INFO: ProcessCDR(1,14641547,1,1,2) [2025-03-09 10:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641547', 'tblTempUsageDetail_20' ) start [2025-03-09 10:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641547', 'tblTempUsageDetail_20' ) end [2025-03-09 10:23:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:23:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:23:22] Production.INFO: ==7300== Releasing lock... [2025-03-09 10:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:23:22] Production.INFO: 29 MB #Memory Used# [2025-03-09 14:24:02] Production.INFO: ==7364== Lock acquired, processing the job... [2025-03-09 14:24:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:24:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:24:02] Production.INFO: neon service started [2025-03-09 14:24:02] Production.INFO: neon service started [2025-03-09 14:24:02] Production.INFO: ==7364== Releasing lock... [2025-03-09 14:24:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:24:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:24:02] Production.INFO: ==7367== Lock acquired, processing the job... [2025-03-09 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:24:02] Production.INFO: ==7369== Lock acquired, processing the job... [2025-03-09 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:24:02] Production.INFO: ==7369== Releasing lock... [2025-03-09 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:24:03] Production.INFO: ==7367== Releasing lock... [2025-03-09 10:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:24:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:24:04] Production.INFO: ==7377== Lock acquired, processing the job... [2025-03-09 10:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:24:04] Production.INFO: Account Balance Start. [2025-03-09 10:24:04] Production.INFO: CreateAllLog Start [2025-03-09 10:24:04] Production.INFO: 117 [2025-03-09 10:24:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:24:04] Production.INFO: ==7381== Lock acquired, processing the job... [2025-03-09 10:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:24:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:24:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:24:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:24:04] Production.INFO: Total Charge 0 [2025-03-09 10:24:04] Production.INFO: CreateAllLog End [2025-03-09 10:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:24:04] Production.INFO: Account Balance End. [2025-03-09 10:24:04] Production.INFO: count ==13 [2025-03-09 10:24:04] Production.INFO: ==7371== Lock acquired, processing the job... [2025-03-09 10:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:24:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:24:04] Production.INFO: ==7377== Releasing lock... [2025-03-09 10:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:24:04] Production.INFO: count ==21 [2025-03-09 10:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641549') start [2025-03-09 10:24:04] Production.INFO: ==7373== Lock acquired, processing the job... [2025-03-09 10:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:24:04] Production.INFO: ==7375== Lock acquired, processing the job... [2025-03-09 10:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:24:04] Production.INFO: ==7379== Lock acquired, processing the job... [2025-03-09 10:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641549') end [2025-03-09 10:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:24:04] Production.INFO: 1 [2025-03-09 10:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:24:04] Production.INFO: ==7381== Releasing lock... [2025-03-09 10:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:24:04] Production.INFO: ==7373== Releasing lock... [2025-03-09 10:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:24:05] Production.ERROR: done [2025-03-09 10:24:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:24:05] Production.ERROR: done [2025-03-09 10:24:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:24:06 [end_date_ymd] => 2025-03-09 10:24:06 [RateCDR] => 1 ) [2025-03-09 10: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-09 07:24:06' and `end` < '2025-03-09 10: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-09 10:24:12] Production.ERROR: CronJobId end10 [2025-03-09 10:24:12] Production.INFO: ==7375== Releasing lock... [2025-03-09 10:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:24:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:24:14] Production.INFO: call_cost start [2025-03-09 10:24:14] Production.INFO: call_cost end [2025-03-09 10:24:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:24:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:24:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:24:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:24:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:24:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:24:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:24:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:24:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:24:15] Production.INFO: ==7371== Releasing lock... [2025-03-09 10:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:24:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:24:18] Production.INFO: count ==131 [2025-03-09 10:24:18] Production.ERROR: pbx CDR StartTime 2025-03-09 07:24:06 - End Time 2025-03-09 10:24:06 [2025-03-09 10:24:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641552', 'tblTempUsageDetail_20' ) start [2025-03-09 10:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641552', 'tblTempUsageDetail_20' ) end [2025-03-09 10:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641552', 'tblTempVendorCDR_20' ) start [2025-03-09 10:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641552', 'tblTempVendorCDR_20' ) end [2025-03-09 10:24:18] Production.INFO: ProcessCDR(1,14641552,1,1,2) [2025-03-09 10:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641552', 'tblTempUsageDetail_20' ) start [2025-03-09 10:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641552', 'tblTempUsageDetail_20' ) end [2025-03-09 10:24:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:24:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:24:22] Production.INFO: ==7379== Releasing lock... [2025-03-09 10:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:24:22] Production.INFO: 29 MB #Memory Used# [2025-03-09 14:25:01] Production.INFO: ==7437== Lock acquired, processing the job... [2025-03-09 14:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:25:01] Production.INFO: neon service started [2025-03-09 14:25:01] Production.INFO: neon service started [2025-03-09 14:25:01] Production.INFO: ==7437== Releasing lock... [2025-03-09 14:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:25:01] Production.INFO: ==7440== Lock acquired, processing the job... [2025-03-09 10:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:25:02] Production.INFO: ==7440== Releasing lock... [2025-03-09 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:25:02] Production.INFO: ==7442== Lock acquired, processing the job... [2025-03-09 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:25:02] Production.INFO: ==7442== Releasing lock... [2025-03-09 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:25:03] Production.INFO: ==7444== Lock acquired, processing the job... [2025-03-09 10:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:25:03] Production.INFO: ==7450== Lock acquired, processing the job... [2025-03-09 10:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:25:03] Production.INFO: ==7454== Lock acquired, processing the job... [2025-03-09 10:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:25:03] Production.INFO: ==7446== Lock acquired, processing the job... [2025-03-09 10:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:25:03] Production.INFO: Account Balance Start. [2025-03-09 10:25:03] Production.INFO: CreateAllLog Start [2025-03-09 10:25:03] Production.INFO: 117 [2025-03-09 10:25:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:25:03] Production.INFO: ==7448== Lock acquired, processing the job... [2025-03-09 10:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:25:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:25:03] Production.INFO: Total Charge 0 [2025-03-09 10:25:03] Production.INFO: count ==13 [2025-03-09 10:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:25:03] Production.INFO: CreateAllLog End [2025-03-09 10:25:03] Production.INFO: count ==21 [2025-03-09 10:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641555') start [2025-03-09 10:25:03] Production.INFO: ==7452== Lock acquired, processing the job... [2025-03-09 10:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:25:03] Production.INFO: Account Balance End. [2025-03-09 10:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641555') end [2025-03-09 10:25:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:25:03] Production.INFO: 1 [2025-03-09 10:25:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:25:03] Production.ERROR: CronJobId end 12 [2025-03-09 10:25:03] Production.INFO: ==7450== Releasing lock... [2025-03-09 10:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:25:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:25:03] Production.INFO: ==7454== Releasing lock... [2025-03-09 10:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:25:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:25:03] Production.INFO: ==7446== Releasing lock... [2025-03-09 10:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:25:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:25:04] Production.ERROR: done [2025-03-09 10:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:25:04] Production.ERROR: done [2025-03-09 10:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:25:05 [end_date_ymd] => 2025-03-09 10:25:05 [RateCDR] => 1 ) [2025-03-09 10:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:25:05' and `end` < '2025-03-09 10:25:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:25:11] Production.ERROR: CronJobId end10 [2025-03-09 10:25:11] Production.INFO: ==7448== Releasing lock... [2025-03-09 10:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:25:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:25:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:25:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:25:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:25:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:25:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:25:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:25:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:25:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:25:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:25:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:25:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:25:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:25:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:25:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:25:14] Production.INFO: call_cost start [2025-03-09 10:25:14] Production.INFO: call_cost end [2025-03-09 10:25:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:25:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:25:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:25:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:25:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:25:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:25:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:25:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:25:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:25:14] Production.INFO: ==7444== Releasing lock... [2025-03-09 10:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:25:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:25:17] Production.INFO: count ==131 [2025-03-09 10:25:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:25:05 - End Time 2025-03-09 10:25:05 [2025-03-09 10:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641557', 'tblTempUsageDetail_20' ) start [2025-03-09 10:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641557', 'tblTempUsageDetail_20' ) end [2025-03-09 10:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641557', 'tblTempVendorCDR_20' ) start [2025-03-09 10:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641557', 'tblTempVendorCDR_20' ) end [2025-03-09 10:25:17] Production.INFO: ProcessCDR(1,14641557,1,1,2) [2025-03-09 10:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641557', 'tblTempUsageDetail_20' ) start [2025-03-09 10:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641557', 'tblTempUsageDetail_20' ) end [2025-03-09 10:25:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:25:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:25:20] Production.INFO: ==7452== Releasing lock... [2025-03-09 10:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:25:20] Production.INFO: 29 MB #Memory Used# [2025-03-09 14:26:01] Production.INFO: ==7511== Lock acquired, processing the job... [2025-03-09 14:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:26:01] Production.INFO: neon service started [2025-03-09 14:26:02] Production.INFO: neon service started [2025-03-09 14:26:02] Production.INFO: ==7511== Releasing lock... [2025-03-09 14:26:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:26:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:26:02] Production.INFO: ==7513== Lock acquired, processing the job... [2025-03-09 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:26:02] Production.INFO: ==7513== Releasing lock... [2025-03-09 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:26:02] Production.INFO: ==7515== Lock acquired, processing the job... [2025-03-09 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:26:02] Production.INFO: ==7515== Releasing lock... [2025-03-09 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:26:03] Production.INFO: ==7522== Lock acquired, processing the job... [2025-03-09 10:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:26:03] Production.INFO: ==7528== Lock acquired, processing the job... [2025-03-09 10:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 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-09 10:26:03] Production.INFO: count ==13 [2025-03-09 10:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:26:03] Production.INFO: ==7517== Lock acquired, processing the job... [2025-03-09 10:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 10:26:03] Production.INFO: count ==21 [2025-03-09 10:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641558') start [2025-03-09 10:26:03] Production.INFO: ==7519== Lock acquired, processing the job... [2025-03-09 10:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641558') end [2025-03-09 10:26:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:26:03] Production.INFO: 1 [2025-03-09 10:26:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:26:03] Production.INFO: ==7524== Lock acquired, processing the job... [2025-03-09 10:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:26:03] Production.INFO: ==7526== Lock acquired, processing the job... [2025-03-09 10:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:26:03] Production.INFO: ==7528== Releasing lock... [2025-03-09 10:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:26:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:26:04] Production.INFO: Account Balance Start. [2025-03-09 10:26:04] Production.INFO: CreateAllLog Start [2025-03-09 10:26:04] Production.INFO: 117 [2025-03-09 10:26:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:26:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:26:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:26:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:26:04] Production.INFO: Total Charge 0 [2025-03-09 10:26:04] Production.INFO: CreateAllLog End [2025-03-09 10:26:04] Production.ERROR: done [2025-03-09 10:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:26:04] Production.INFO: ==7519== Releasing lock... [2025-03-09 10:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:26:04] Production.INFO: Account Balance End. [2025-03-09 10:26:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:26:04] Production.INFO: ==7524== Releasing lock... [2025-03-09 10:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:26:04] Production.ERROR: done [2025-03-09 10:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:26:05 [end_date_ymd] => 2025-03-09 10:26:05 [RateCDR] => 1 ) [2025-03-09 10:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:26:05' and `end` < '2025-03-09 10:26:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:26:12] Production.ERROR: CronJobId end10 [2025-03-09 10:26:12] Production.INFO: ==7522== Releasing lock... [2025-03-09 10:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:26:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:26:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:26:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:26:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:26:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:26:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:26:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:26:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:26:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:26:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:26:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:26:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:26:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:26:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:26:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:26:15] Production.INFO: call_cost start [2025-03-09 10:26:15] Production.INFO: call_cost end [2025-03-09 10:26:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:26:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:26:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:26:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:26:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:26:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:26:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:26:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:26:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:26:15] Production.INFO: ==7517== Releasing lock... [2025-03-09 10:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:26:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:26:17] Production.INFO: count ==132 [2025-03-09 10:26:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:26:05 - End Time 2025-03-09 10:26:05 [2025-03-09 10:26:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641562', 'tblTempUsageDetail_20' ) start [2025-03-09 10:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641562', 'tblTempUsageDetail_20' ) end [2025-03-09 10:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641562', 'tblTempVendorCDR_20' ) start [2025-03-09 10:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641562', 'tblTempVendorCDR_20' ) end [2025-03-09 10:26:17] Production.INFO: ProcessCDR(1,14641562,1,1,2) [2025-03-09 10:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641562', 'tblTempUsageDetail_20' ) start [2025-03-09 10:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641562', 'tblTempUsageDetail_20' ) end [2025-03-09 10:26:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:26:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:26:22] Production.INFO: ==7526== Releasing lock... [2025-03-09 10:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:26:22] Production.INFO: 29 MB #Memory Used# [2025-03-09 14:27:01] Production.INFO: ==7582== Lock acquired, processing the job... [2025-03-09 14:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:27:01] Production.INFO: neon service started [2025-03-09 14:27:01] Production.INFO: neon service started [2025-03-09 14:27:01] Production.INFO: ==7582== Releasing lock... [2025-03-09 14:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:27:01] Production.INFO: ==7586== Lock acquired, processing the job... [2025-03-09 14:27:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:27:01] Production.INFO: ==7586== Releasing lock... [2025-03-09 14:27:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:27:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:27:02] Production.INFO: ==7584== Lock acquired, processing the job... [2025-03-09 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:27:02] Production.INFO: ==7584== Releasing lock... [2025-03-09 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:27:03] Production.INFO: ==7589== Lock acquired, processing the job... [2025-03-09 10:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:27:03] Production.INFO: ==7591== Lock acquired, processing the job... [2025-03-09 10:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:27:03] Production.INFO: ==7593== Lock acquired, processing the job... [2025-03-09 10:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:27:03] Production.INFO: ==7595== Lock acquired, processing the job... [2025-03-09 10:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:27:03] Production.INFO: ==7597== Lock acquired, processing the job... [2025-03-09 10:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:27:03] Production.INFO: ==7599== Lock acquired, processing the job... [2025-03-09 10:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:27:03] Production.INFO: ==7591== Releasing lock... [2025-03-09 10:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:27:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:27:03] Production.INFO: Account Balance Start. [2025-03-09 10:27:03] Production.INFO: CreateAllLog Start [2025-03-09 10:27:03] Production.INFO: 117 [2025-03-09 10:27:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:27:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:27:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:27:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:27:03] Production.INFO: Total Charge 0 [2025-03-09 10:27:03] Production.INFO: CreateAllLog End [2025-03-09 10:27:03] Production.INFO: count ==13 [2025-03-09 10:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:27:03] Production.INFO: count ==21 [2025-03-09 10:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641566') start [2025-03-09 10:27:04] Production.INFO: Account Balance End. [2025-03-09 10:27:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641566') end [2025-03-09 10:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:27:04] Production.INFO: 1 [2025-03-09 10:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:27:04] Production.INFO: ==7595== Releasing lock... [2025-03-09 10:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:27:04] Production.ERROR: done [2025-03-09 10:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:27:04] Production.INFO: ==7599== Releasing lock... [2025-03-09 10:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:27:04] Production.ERROR: done [2025-03-09 10:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:27:05 [end_date_ymd] => 2025-03-09 10:27:05 [RateCDR] => 1 ) [2025-03-09 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-09 07:27:05' and `end` < '2025-03-09 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-09 10:27:12] Production.ERROR: CronJobId end10 [2025-03-09 10:27:12] Production.INFO: ==7593== Releasing lock... [2025-03-09 10:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:27:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:27:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:27:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:27:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:27:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:27:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:27:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:27:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:27:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:27:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:27:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:27:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:27:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:27:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:27:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:27:14] Production.INFO: call_cost start [2025-03-09 10:27:14] Production.INFO: call_cost end [2025-03-09 10:27:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:27:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:27:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:27:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:27:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:27:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:27:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:27:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:27:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:27:15] Production.INFO: ==7589== Releasing lock... [2025-03-09 10:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:27:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:27:17] Production.INFO: count ==133 [2025-03-09 10:27:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:27:05 - End Time 2025-03-09 10:27:05 [2025-03-09 10:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641567', 'tblTempUsageDetail_20' ) start [2025-03-09 10:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641567', 'tblTempUsageDetail_20' ) end [2025-03-09 10:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641567', 'tblTempVendorCDR_20' ) start [2025-03-09 10:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641567', 'tblTempVendorCDR_20' ) end [2025-03-09 10:27:17] Production.INFO: ProcessCDR(1,14641567,1,1,2) [2025-03-09 10:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641567', 'tblTempUsageDetail_20' ) start [2025-03-09 10:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641567', 'tblTempUsageDetail_20' ) end [2025-03-09 10:27:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:27:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:27:22] Production.INFO: ==7597== Releasing lock... [2025-03-09 10:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:27:22] Production.INFO: 29 MB #Memory Used# [2025-03-09 14:28:01] Production.INFO: ==7656== Lock acquired, processing the job... [2025-03-09 14:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:28:01] Production.INFO: neon service started [2025-03-09 14:28:02] Production.INFO: neon service started [2025-03-09 14:28:02] Production.INFO: ==7656== Releasing lock... [2025-03-09 14:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:28:02] Production.INFO: ==7658== Lock acquired, processing the job... [2025-03-09 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:28:02] Production.INFO: ==7658== Releasing lock... [2025-03-09 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:28:02] Production.INFO: ==7660== Lock acquired, processing the job... [2025-03-09 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:28:02] Production.INFO: ==7660== Releasing lock... [2025-03-09 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:28:03] Production.INFO: ==7662== Lock acquired, processing the job... [2025-03-09 10:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:28:03] Production.INFO: ==7664== Lock acquired, processing the job... [2025-03-09 10:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:28:03] Production.INFO: ==7668== Lock acquired, processing the job... [2025-03-09 10:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:28:03] Production.INFO: Account Balance Start. [2025-03-09 10:28:03] Production.INFO: CreateAllLog Start [2025-03-09 10:28:03] Production.INFO: 117 [2025-03-09 10:28:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:28:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:28:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:28:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:28:03] Production.INFO: ==7666== Lock acquired, processing the job... [2025-03-09 10:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:28:03] Production.INFO: Total Charge 0 [2025-03-09 10:28:03] Production.INFO: ==7672== Lock acquired, processing the job... [2025-03-09 10:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:28:03] Production.INFO: CreateAllLog End [2025-03-09 10:28:04] Production.INFO: ==7670== Lock acquired, processing the job... [2025-03-09 10:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:28:04] Production.INFO: ==7664== Releasing lock... [2025-03-09 10:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:28:04] Production.INFO: Account Balance End. [2025-03-09 10:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:28:04] Production.INFO: count ==13 [2025-03-09 10:28:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:28:04] Production.INFO: ==7668== Releasing lock... [2025-03-09 10:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:28:04] Production.INFO: count ==21 [2025-03-09 10:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641571') start [2025-03-09 10:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641571') end [2025-03-09 10:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:28:04] Production.INFO: 1 [2025-03-09 10:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:28:04] Production.INFO: ==7672== Releasing lock... [2025-03-09 10:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:28:04] Production.ERROR: done [2025-03-09 10:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:28:04] Production.ERROR: done [2025-03-09 10:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:28:05 [end_date_ymd] => 2025-03-09 10:28:05 [RateCDR] => 1 ) [2025-03-09 10:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:28:05' and `end` < '2025-03-09 10:28:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:28:12] Production.ERROR: CronJobId end10 [2025-03-09 10:28:12] Production.INFO: ==7666== Releasing lock... [2025-03-09 10:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:28:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:28:14] Production.INFO: call_cost start [2025-03-09 10:28:14] Production.INFO: call_cost end [2025-03-09 10:28:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:28:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:28:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:28:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:28:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:28:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:28:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:28:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:28:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:28:15] Production.INFO: ==7662== Releasing lock... [2025-03-09 10:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:28:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:28:17] Production.INFO: count ==135 [2025-03-09 10:28:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:28:05 - End Time 2025-03-09 10:28:05 [2025-03-09 10:28:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641572', 'tblTempUsageDetail_20' ) start [2025-03-09 10:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641572', 'tblTempUsageDetail_20' ) end [2025-03-09 10:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641572', 'tblTempVendorCDR_20' ) start [2025-03-09 10:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641572', 'tblTempVendorCDR_20' ) end [2025-03-09 10:28:17] Production.INFO: ProcessCDR(1,14641572,1,1,2) [2025-03-09 10:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641572', 'tblTempUsageDetail_20' ) start [2025-03-09 10:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641572', 'tblTempUsageDetail_20' ) end [2025-03-09 10:28:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:28:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:28:22] Production.INFO: ==7670== Releasing lock... [2025-03-09 10:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:28:22] Production.INFO: 28.75 MB #Memory Used# [2025-03-09 14:29:01] Production.INFO: ==7769== Lock acquired, processing the job... [2025-03-09 14:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:29:01] Production.INFO: neon service started [2025-03-09 14:29:01] Production.INFO: neon service started [2025-03-09 14:29:01] Production.INFO: ==7769== Releasing lock... [2025-03-09 14:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:29:01] Production.INFO: ==7773== Lock acquired, processing the job... [2025-03-09 14:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:29:01] Production.INFO: ==7773== Releasing lock... [2025-03-09 14:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:29:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:29:01] Production.INFO: ==7771== Lock acquired, processing the job... [2025-03-09 10:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:29:02] Production.INFO: ==7771== Releasing lock... [2025-03-09 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:29:02] Production.INFO: ==7780== Lock acquired, processing the job... [2025-03-09 10:29:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:29:03] Production.INFO: ==7778== Lock acquired, processing the job... [2025-03-09 10:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:29:03] Production.INFO: ==7784== Lock acquired, processing the job... [2025-03-09 10:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:29:03] Production.INFO: ==7776== Lock acquired, processing the job... [2025-03-09 10:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:29:03] Production.INFO: ==7782== Lock acquired, processing the job... [2025-03-09 10:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:29:03] Production.INFO: ==7778== Releasing lock... [2025-03-09 10:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:29:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:29:03] Production.INFO: Account Balance Start. [2025-03-09 10:29:03] Production.INFO: CreateAllLog Start [2025-03-09 10:29:03] Production.INFO: 117 [2025-03-09 10:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:29:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:29:03] Production.INFO: ==7786== Lock acquired, processing the job... [2025-03-09 10:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:29:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:29:03] Production.ERROR: done [2025-03-09 10:29:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:29:03] Production.INFO: Total Charge 0 [2025-03-09 10:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:29:03] Production.INFO: CreateAllLog End [2025-03-09 10:29:03] Production.INFO: count ==13 [2025-03-09 10:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:29:03] Production.INFO: count ==21 [2025-03-09 10:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641576') start [2025-03-09 10:29:03] Production.ERROR: done [2025-03-09 10:29:03] Production.INFO: Account Balance End. [2025-03-09 10:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641576') end [2025-03-09 10:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:29:04] Production.INFO: 1 [2025-03-09 10:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:29:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:29:04] Production.INFO: ==7782== Releasing lock... [2025-03-09 10:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:29:04] Production.INFO: ==7786== Releasing lock... [2025-03-09 10:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:29:05 [end_date_ymd] => 2025-03-09 10:29:05 [RateCDR] => 1 ) [2025-03-09 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-09 07:29:05' and `end` < '2025-03-09 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-09 10:29:10] Production.ERROR: CronJobId end10 [2025-03-09 10:29:10] Production.INFO: ==7780== Releasing lock... [2025-03-09 10:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:29:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:29:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:29:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:29:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:29:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:29:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:29:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:29:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:29:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:29:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:29:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:29:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:29:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:29:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:29:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:29:13] Production.INFO: call_cost start [2025-03-09 10:29:13] Production.INFO: call_cost end [2025-03-09 10:29:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:29:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:29:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:29:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:29:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:29:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:29:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:29:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:29:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:29:14] Production.INFO: ==7776== Releasing lock... [2025-03-09 10:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:29:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:29:17] Production.INFO: count ==135 [2025-03-09 10:29:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:29:05 - End Time 2025-03-09 10:29:05 [2025-03-09 10:29:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641577', 'tblTempUsageDetail_20' ) start [2025-03-09 10:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641577', 'tblTempUsageDetail_20' ) end [2025-03-09 10:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641577', 'tblTempVendorCDR_20' ) start [2025-03-09 10:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641577', 'tblTempVendorCDR_20' ) end [2025-03-09 10:29:17] Production.INFO: ProcessCDR(1,14641577,1,1,2) [2025-03-09 10:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641577', 'tblTempUsageDetail_20' ) start [2025-03-09 10:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641577', 'tblTempUsageDetail_20' ) end [2025-03-09 10:29:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:29:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:29:20] Production.INFO: ==7784== Releasing lock... [2025-03-09 10:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:29:20] Production.INFO: 28.75 MB #Memory Used# [2025-03-09 14:30:01] Production.INFO: ==7843== Lock acquired, processing the job... [2025-03-09 14:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:30:01] Production.INFO: neon service started [2025-03-09 14:30:01] Production.INFO: neon service started [2025-03-09 14:30:01] Production.INFO: ==7843== Releasing lock... [2025-03-09 14:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:30:02] Production.INFO: ==7845== Lock acquired, processing the job... [2025-03-09 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:30:02] Production.INFO: ==7845== Releasing lock... [2025-03-09 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:30:02] Production.INFO: ==7847== Lock acquired, processing the job... [2025-03-09 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:30:02] Production.INFO: ==7847== Releasing lock... [2025-03-09 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:30:03] Production.INFO: ==7849== Lock acquired, processing the job... [2025-03-09 10:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 10:30:03] Production.INFO: ==7853== Lock acquired, processing the job... [2025-03-09 10:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:30:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 10:30:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 10:30:03] Production.ERROR: CronJob PID - 7853 [2025-03-09 10:30:03] Production.ERROR: CronJob Title - Account Block [2025-03-09 10:30:03] Production.ERROR: CronJob ID - 7 [2025-03-09 10:30:03] Production.ERROR: CronJob Last Run Time 2025-03-09 10:30:00 [2025-03-09 10:30:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 10:30:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 10:30:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 10:30:03] Production.INFO: ==7849== Releasing lock... [2025-03-09 10:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 10:30:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 10:30:03] Production.INFO: ==7860== Lock acquired, processing the job... [2025-03-09 10:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:30:03] Production.INFO: ==7862== Lock acquired, processing the job... [2025-03-09 10:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 10:30:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:30:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:30:04] Production.INFO: ==7851== Lock acquired, processing the job... [2025-03-09 10:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:30:04] Production.INFO: ==7853== Releasing lock... [2025-03-09 10:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:30:04] Production.INFO: ==7855== Lock acquired, processing the job... [2025-03-09 10:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:30:04] Production.INFO: ==7858== Lock acquired, processing the job... [2025-03-09 10:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:30:04] Production.INFO: ==7864== Lock acquired, processing the job... [2025-03-09 10:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:30:04] Production.INFO: Account Balance Start. [2025-03-09 10:30:04] Production.INFO: CreateAllLog Start [2025-03-09 10:30:04] Production.INFO: 117 [2025-03-09 10:30:04] Production.ERROR: done [2025-03-09 10:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:30:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:30:04] Production.ERROR: done [2025-03-09 10:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 10:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641582', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 10:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:30:04] Production.INFO: count ==13 [2025-03-09 10:30:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:30:04] Production.INFO: count ==21 [2025-03-09 10:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641581') start [2025-03-09 10:30:04] Production.INFO: Total Charge 0 [2025-03-09 10:30:04] Production.INFO: CreateAllLog End [2025-03-09 10:30:04] Production.ERROR: done [2025-03-09 10:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641581') end [2025-03-09 10:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:30:04] Production.INFO: 1 [2025-03-09 10:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:30:04] Production.INFO: ==7864== Releasing lock... [2025-03-09 10:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:30:04] Production.INFO: Account Balance End. [2025-03-09 10:30:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:30:04] Production.INFO: ==7858== Releasing lock... [2025-03-09 10:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:30:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:30:06 [end_date_ymd] => 2025-03-09 10:30:06 [RateCDR] => 1 ) [2025-03-09 10:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:30:06' and `end` < '2025-03-09 10:30:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641582', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 10:30:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 10:30:08] Production.INFO: ProcessCDR(1,14641582,1,1,2) [2025-03-09 10:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14641582,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14641582,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:30:09] Production.INFO: ==7862== Releasing lock... [2025-03-09 10:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 10:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 10:30:14] Production.ERROR: CronJobId end10 [2025-03-09 10:30:14] Production.INFO: ==7855== Releasing lock... [2025-03-09 10:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:30:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:30:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:30:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:30:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:30:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:30:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:30:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:30:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:30:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:30:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:30:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:30:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:30:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:30:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:30:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:30:16] Production.INFO: call_cost start [2025-03-09 10:30:16] Production.INFO: call_cost end [2025-03-09 10:30:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:30:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:30:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:30:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:30:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:30:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:30:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:30:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:30:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:30:17] Production.INFO: ==7851== Releasing lock... [2025-03-09 10:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:30:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:30:18] Production.INFO: count ==151 [2025-03-09 10:30:18] Production.ERROR: pbx CDR StartTime 2025-03-09 07:30:06 - End Time 2025-03-09 10:30:06 [2025-03-09 10:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641583', 'tblTempUsageDetail_20' ) start [2025-03-09 10:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641583', 'tblTempUsageDetail_20' ) end [2025-03-09 10:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641583', 'tblTempVendorCDR_20' ) start [2025-03-09 10:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641583', 'tblTempVendorCDR_20' ) end [2025-03-09 10:30:18] Production.INFO: ProcessCDR(1,14641583,1,1,2) [2025-03-09 10:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641583', 'tblTempUsageDetail_20' ) start [2025-03-09 10:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641583', 'tblTempUsageDetail_20' ) end [2025-03-09 10:30:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:30:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:30:23] Production.INFO: ==7860== Releasing lock... [2025-03-09 10:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:30:23] Production.INFO: 29.25 MB #Memory Used# [2025-03-09 14:31:02] Production.INFO: ==7920== Lock acquired, processing the job... [2025-03-09 14:31:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:31:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:31:02] Production.INFO: neon service started [2025-03-09 14:31:02] Production.INFO: neon service started [2025-03-09 14:31:02] Production.INFO: ==7920== Releasing lock... [2025-03-09 14:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:31:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:31:02] Production.INFO: ==7922== Lock acquired, processing the job... [2025-03-09 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:31:03] Production.INFO: ==7922== Releasing lock... [2025-03-09 10:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:31:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:31:03] Production.INFO: ==7924== Lock acquired, processing the job... [2025-03-09 14:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:31:03] Production.INFO: ==7924== Releasing lock... [2025-03-09 14:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:31:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:31:04] Production.INFO: ==7932== Lock acquired, processing the job... [2025-03-09 10:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:31:04] Production.INFO: ==7934== Lock acquired, processing the job... [2025-03-09 10:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:31:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:31:04] Production.INFO: Account Balance Start. [2025-03-09 10:31:04] Production.INFO: CreateAllLog Start [2025-03-09 10:31:04] Production.INFO: 117 [2025-03-09 10:31:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:31:04] Production.INFO: ==7926== Lock acquired, processing the job... [2025-03-09 10:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:31:04] Production.INFO: ==7930== Lock acquired, processing the job... [2025-03-09 10:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:31:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:31:04] Production.INFO: ==7928== Lock acquired, processing the job... [2025-03-09 10:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:31:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:31:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:31:04] Production.INFO: ==7936== Lock acquired, processing the job... [2025-03-09 10:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:31:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:31:04] Production.INFO: Total Charge 0 [2025-03-09 10:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:31:04] Production.INFO: CreateAllLog End [2025-03-09 10:31:04] Production.ERROR: done [2025-03-09 10:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:31:04] Production.INFO: count ==13 [2025-03-09 10:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:31:04] Production.INFO: count ==21 [2025-03-09 10:31:04] Production.ERROR: done [2025-03-09 10:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641586') start [2025-03-09 10:31:05] Production.INFO: Account Balance End. [2025-03-09 10:31:05] Production.ERROR: PBX CALL prc_importPBXExtension('14641586') end [2025-03-09 10:31:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:31:05] Production.INFO: 1 [2025-03-09 10:31:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:31:05] Production.ERROR: CronJobId end 12 [2025-03-09 10:31:05] Production.INFO: ==7932== Releasing lock... [2025-03-09 10:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:31:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:31:05] Production.INFO: ==7928== Releasing lock... [2025-03-09 10:31:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:31:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:31:05] Production.INFO: ==7936== Releasing lock... [2025-03-09 10:31:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:31:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:31:05 [end_date_ymd] => 2025-03-09 10:31:05 [RateCDR] => 1 ) [2025-03-09 10:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:31:05' and `end` < '2025-03-09 10:31:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:31:12] Production.ERROR: CronJobId end10 [2025-03-09 10:31:12] Production.INFO: ==7930== Releasing lock... [2025-03-09 10:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:31:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:31:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:31:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:31:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:31:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:31:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:31:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:31:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:31:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:31:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:31:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:31:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:31:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:31:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:31:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:31:15] Production.INFO: call_cost start [2025-03-09 10:31:15] Production.INFO: call_cost end [2025-03-09 10:31:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:31:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:31:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:31:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:31:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:31:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:31:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:31:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:31:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:31:16] Production.INFO: ==7926== Releasing lock... [2025-03-09 10:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:31:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:31:17] Production.INFO: count ==164 [2025-03-09 10:31:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:31:05 - End Time 2025-03-09 10:31:05 [2025-03-09 10:31:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641588', 'tblTempUsageDetail_20' ) start [2025-03-09 10:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641588', 'tblTempUsageDetail_20' ) end [2025-03-09 10:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641588', 'tblTempVendorCDR_20' ) start [2025-03-09 10:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641588', 'tblTempVendorCDR_20' ) end [2025-03-09 10:31:17] Production.INFO: ProcessCDR(1,14641588,1,1,2) [2025-03-09 10:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641588', 'tblTempUsageDetail_20' ) start [2025-03-09 10:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641588', 'tblTempUsageDetail_20' ) end [2025-03-09 10:31:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:31:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:31:22] Production.INFO: ==7934== Releasing lock... [2025-03-09 10:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:31:22] Production.INFO: 29.5 MB #Memory Used# [2025-03-09 14:32:01] Production.INFO: ==7992== Lock acquired, processing the job... [2025-03-09 14:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:32:01] Production.INFO: neon service started [2025-03-09 14:32:01] Production.INFO: neon service started [2025-03-09 14:32:01] Production.INFO: ==7992== Releasing lock... [2025-03-09 14:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:32:02] Production.INFO: ==7996== Lock acquired, processing the job... [2025-03-09 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:32:02] Production.INFO: ==7996== Releasing lock... [2025-03-09 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:32:02] Production.INFO: ==7994== Lock acquired, processing the job... [2025-03-09 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:32:02] Production.INFO: ==7994== Releasing lock... [2025-03-09 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:32:03] Production.INFO: ==8003== Lock acquired, processing the job... [2025-03-09 10:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:32:03] Production.INFO: ==8009== Lock acquired, processing the job... [2025-03-09 10:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:32:03] Production.INFO: ==7999== Lock acquired, processing the job... [2025-03-09 10:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:32:03] Production.INFO: count ==13 [2025-03-09 10:32:03] Production.INFO: ==8001== Lock acquired, processing the job... [2025-03-09 10:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:32:03] Production.INFO: count ==21 [2025-03-09 10:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641589') start [2025-03-09 10:32:03] Production.INFO: ==8005== Lock acquired, processing the job... [2025-03-09 10:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:32:03] Production.INFO: ==8007== Lock acquired, processing the job... [2025-03-09 10:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641589') end [2025-03-09 10:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:32:04] Production.INFO: 1 [2025-03-09 10:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:32:04] Production.INFO: ==8009== Releasing lock... [2025-03-09 10:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:32:04] Production.INFO: Account Balance Start. [2025-03-09 10:32:04] Production.INFO: CreateAllLog Start [2025-03-09 10:32:04] Production.INFO: 117 [2025-03-09 10:32:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:32:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:32:04] Production.INFO: Total Charge 0 [2025-03-09 10:32:04] Production.INFO: CreateAllLog End [2025-03-09 10:32:04] Production.INFO: ==8001== Releasing lock... [2025-03-09 10:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:32:04] Production.ERROR: done [2025-03-09 10:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:32:04] Production.INFO: Account Balance End. [2025-03-09 10:32:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:32:04] Production.INFO: ==8005== Releasing lock... [2025-03-09 10:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:32:04] Production.ERROR: done [2025-03-09 10:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:32:05 [end_date_ymd] => 2025-03-09 10:32:05 [RateCDR] => 1 ) [2025-03-09 10:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:32:05' and `end` < '2025-03-09 10:32:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:32:11] Production.ERROR: CronJobId end10 [2025-03-09 10:32:11] Production.INFO: ==8003== Releasing lock... [2025-03-09 10:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:32:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:32:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:32:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:32:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:32:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:32:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:32:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:32:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:32:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:32:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:32:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:32:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:32:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:32:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:32:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:32:14] Production.INFO: call_cost start [2025-03-09 10:32:14] Production.INFO: call_cost end [2025-03-09 10:32:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:32:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:32:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:32:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:32:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:32:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:32:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:32:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:32:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:32:14] Production.INFO: ==7999== Releasing lock... [2025-03-09 10:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:32:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:32:17] Production.INFO: count ==164 [2025-03-09 10:32:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:32:05 - End Time 2025-03-09 10:32:05 [2025-03-09 10:32:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641593', 'tblTempUsageDetail_20' ) start [2025-03-09 10:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641593', 'tblTempUsageDetail_20' ) end [2025-03-09 10:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641593', 'tblTempVendorCDR_20' ) start [2025-03-09 10:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641593', 'tblTempVendorCDR_20' ) end [2025-03-09 10:32:17] Production.INFO: ProcessCDR(1,14641593,1,1,2) [2025-03-09 10:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:32:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641593', 'tblTempUsageDetail_20' ) start [2025-03-09 10:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641593', 'tblTempUsageDetail_20' ) end [2025-03-09 10:32:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:32:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:32:20] Production.INFO: ==8007== Releasing lock... [2025-03-09 10:32:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:32:20] Production.INFO: 29.5 MB #Memory Used# [2025-03-09 14:33:02] Production.INFO: ==8067== Lock acquired, processing the job... [2025-03-09 14:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:33:02] Production.INFO: neon service started [2025-03-09 14:33:02] Production.INFO: neon service started [2025-03-09 14:33:02] Production.INFO: ==8067== Releasing lock... [2025-03-09 14:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:33:03] Production.INFO: ==8069== Lock acquired, processing the job... [2025-03-09 10:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:33:03] Production.INFO: ==8071== Lock acquired, processing the job... [2025-03-09 14:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:33:03] Production.INFO: ==8071== Releasing lock... [2025-03-09 14:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:33:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:33:03] Production.INFO: ==8069== Releasing lock... [2025-03-09 10:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:33:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:33:04] Production.INFO: ==8074== Lock acquired, processing the job... [2025-03-09 10:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:33:04] Production.INFO: ==8076== Lock acquired, processing the job... [2025-03-09 10:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:33:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:33:04] Production.INFO: ==8078== Lock acquired, processing the job... [2025-03-09 10:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:33:04] Production.INFO: ==8080== Lock acquired, processing the job... [2025-03-09 10:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:33:04] Production.INFO: ==8082== Lock acquired, processing the job... [2025-03-09 10:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:33:04] Production.INFO: Account Balance Start. [2025-03-09 10:33:04] Production.INFO: CreateAllLog Start [2025-03-09 10:33:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:33:04] Production.INFO: 117 [2025-03-09 10:33:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:33:04] Production.INFO: ==8084== Lock acquired, processing the job... [2025-03-09 10:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:33:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:33:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:33:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:33:04] Production.INFO: Total Charge 0 [2025-03-09 10:33:04] Production.INFO: CreateAllLog End [2025-03-09 10:33:04] Production.INFO: ==8076== Releasing lock... [2025-03-09 10:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:33:04] Production.INFO: Account Balance End. [2025-03-09 10:33:04] Production.INFO: count ==13 [2025-03-09 10:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:33:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:33:04] Production.INFO: ==8080== Releasing lock... [2025-03-09 10:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:33:04] Production.INFO: count ==21 [2025-03-09 10:33:04] Production.ERROR: done [2025-03-09 10:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641597') start [2025-03-09 10:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:33:05] Production.ERROR: PBX CALL prc_importPBXExtension('14641597') end [2025-03-09 10:33:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:33:05] Production.INFO: 1 [2025-03-09 10:33:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:33:05] Production.ERROR: done [2025-03-09 10:33:05] Production.INFO: ==8084== Releasing lock... [2025-03-09 10:33:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:33:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:33:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:33:06 [end_date_ymd] => 2025-03-09 10:33:06 [RateCDR] => 1 ) [2025-03-09 10: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-09 07:33:06' and `end` < '2025-03-09 10: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-09 10:33:12] Production.ERROR: CronJobId end10 [2025-03-09 10:33:12] Production.INFO: ==8078== Releasing lock... [2025-03-09 10:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:33:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:33:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:33:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:33:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:33:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:33:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:33:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:33:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:33:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:33:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:33:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:33:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:33:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:33:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:33:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:33:14] Production.INFO: call_cost start [2025-03-09 10:33:14] Production.INFO: call_cost end [2025-03-09 10:33:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:33:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:33:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:33:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:33:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:33:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:33:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:33:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:33:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:33:15] Production.INFO: ==8074== Releasing lock... [2025-03-09 10:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:33:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:33:18] Production.INFO: count ==165 [2025-03-09 10:33:18] Production.ERROR: pbx CDR StartTime 2025-03-09 07:33:06 - End Time 2025-03-09 10:33:06 [2025-03-09 10:33:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641598', 'tblTempUsageDetail_20' ) start [2025-03-09 10:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641598', 'tblTempUsageDetail_20' ) end [2025-03-09 10:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641598', 'tblTempVendorCDR_20' ) start [2025-03-09 10:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641598', 'tblTempVendorCDR_20' ) end [2025-03-09 10:33:18] Production.INFO: ProcessCDR(1,14641598,1,1,2) [2025-03-09 10:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641598', 'tblTempUsageDetail_20' ) start [2025-03-09 10:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641598', 'tblTempUsageDetail_20' ) end [2025-03-09 10:33:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:33:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:33:22] Production.INFO: ==8082== Releasing lock... [2025-03-09 10:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:33:22] Production.INFO: 29.5 MB #Memory Used# [2025-03-09 14:34:01] Production.INFO: ==8140== Lock acquired, processing the job... [2025-03-09 14:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:34:01] Production.INFO: neon service started [2025-03-09 14:34:01] Production.INFO: neon service started [2025-03-09 14:34:01] Production.INFO: ==8140== Releasing lock... [2025-03-09 14:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:34:02] Production.INFO: ==8142== Lock acquired, processing the job... [2025-03-09 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:34:02] Production.INFO: ==8144== Lock acquired, processing the job... [2025-03-09 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:34:02] Production.INFO: ==8142== Releasing lock... [2025-03-09 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:34:02] Production.INFO: ==8144== Releasing lock... [2025-03-09 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:34:03] Production.INFO: ==8146== Lock acquired, processing the job... [2025-03-09 10:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:34:03] Production.INFO: ==8155== Lock acquired, processing the job... [2025-03-09 10:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:34:03] Production.INFO: ==8158== Lock acquired, processing the job... [2025-03-09 10:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:34:03] Production.INFO: count ==13 [2025-03-09 10:34:03] Production.INFO: ==8148== Lock acquired, processing the job... [2025-03-09 10:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:34:03] Production.INFO: count ==21 [2025-03-09 10:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641600') start [2025-03-09 10:34:03] Production.INFO: ==8151== Lock acquired, processing the job... [2025-03-09 10:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:34:03] Production.INFO: ==8153== Lock acquired, processing the job... [2025-03-09 10:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:34:03] Production.INFO: Account Balance Start. [2025-03-09 10:34:03] Production.INFO: CreateAllLog Start [2025-03-09 10:34:03] Production.INFO: 117 [2025-03-09 10:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:34:03] Production.ERROR: done [2025-03-09 10:34:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:34:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641600') end [2025-03-09 10:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:34:04] Production.INFO: 1 [2025-03-09 10:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:34:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:34:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:34:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:34:04] Production.INFO: Total Charge 0 [2025-03-09 10:34:04] Production.INFO: CreateAllLog End [2025-03-09 10:34:04] Production.INFO: ==8158== Releasing lock... [2025-03-09 10:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:34:04] Production.ERROR: done [2025-03-09 10:34:04] Production.INFO: ==8148== Releasing lock... [2025-03-09 10:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:34:04] Production.INFO: Account Balance End. [2025-03-09 10:34:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:34:04] Production.INFO: ==8153== Releasing lock... [2025-03-09 10:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:34:05 [end_date_ymd] => 2025-03-09 10:34:05 [RateCDR] => 1 ) [2025-03-09 10:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:34:05' and `end` < '2025-03-09 10:34:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:34:11] Production.ERROR: CronJobId end10 [2025-03-09 10:34:11] Production.INFO: ==8151== Releasing lock... [2025-03-09 10:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:34:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:34:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:34:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:34:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:34:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:34:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:34:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:34:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:34:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:34:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:34:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:34:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:34:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:34:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:34:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:34:14] Production.INFO: call_cost start [2025-03-09 10:34:14] Production.INFO: call_cost end [2025-03-09 10:34:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:34:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:34:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:34:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:34:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:34:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:34:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:34:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:34:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:34:15] Production.INFO: ==8146== Releasing lock... [2025-03-09 10:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:34:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:34:17] Production.INFO: count ==166 [2025-03-09 10:34:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:34:05 - End Time 2025-03-09 10:34:05 [2025-03-09 10:34:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641603', 'tblTempUsageDetail_20' ) start [2025-03-09 10:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641603', 'tblTempUsageDetail_20' ) end [2025-03-09 10:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641603', 'tblTempVendorCDR_20' ) start [2025-03-09 10:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641603', 'tblTempVendorCDR_20' ) end [2025-03-09 10:34:17] Production.INFO: ProcessCDR(1,14641603,1,1,2) [2025-03-09 10:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641603', 'tblTempUsageDetail_20' ) start [2025-03-09 10:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641603', 'tblTempUsageDetail_20' ) end [2025-03-09 10:34:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:34:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:34:21] Production.INFO: ==8155== Releasing lock... [2025-03-09 10:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:34:21] Production.INFO: 29.5 MB #Memory Used# [2025-03-09 14:35:02] Production.INFO: ==8214== Lock acquired, processing the job... [2025-03-09 14:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:35:02] Production.INFO: neon service started [2025-03-09 14:35:02] Production.INFO: neon service started [2025-03-09 14:35:02] Production.INFO: ==8214== Releasing lock... [2025-03-09 14:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:35:02] Production.INFO: ==8216== Lock acquired, processing the job... [2025-03-09 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:35:02] Production.INFO: ==8216== Releasing lock... [2025-03-09 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:35:03] Production.INFO: ==8218== Lock acquired, processing the job... [2025-03-09 14:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:35:03] Production.INFO: ==8218== Releasing lock... [2025-03-09 14:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:35:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:35:03] Production.INFO: ==8225== Lock acquired, processing the job... [2025-03-09 10:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:35:03] Production.INFO: ==8229== Lock acquired, processing the job... [2025-03-09 10:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:35:03] Production.INFO: ==8221== Lock acquired, processing the job... [2025-03-09 10:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:35:03] Production.INFO: ==8223== Lock acquired, processing the job... [2025-03-09 10:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:35:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:35:04] Production.INFO: ==8227== Lock acquired, processing the job... [2025-03-09 10:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:35:04] Production.INFO: ==8231== Lock acquired, processing the job... [2025-03-09 10:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:35:04] Production.INFO: Account Balance Start. [2025-03-09 10:35:04] Production.INFO: CreateAllLog Start [2025-03-09 10:35:04] Production.INFO: 117 [2025-03-09 10:35:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 10:35:04] Production.INFO: count ==13 [2025-03-09 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-09 10:35:04] Production.INFO: count ==21 [2025-03-09 10:35:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641607') start [2025-03-09 10:35:04] Production.ERROR: done [2025-03-09 10:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:35:04] Production.INFO: Total Charge 0 [2025-03-09 10:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641607') end [2025-03-09 10:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:35:04] Production.INFO: 1 [2025-03-09 10:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:35:04] Production.INFO: CreateAllLog End [2025-03-09 10:35:04] Production.INFO: ==8231== Releasing lock... [2025-03-09 10:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:35:04] Production.INFO: ==8223== Releasing lock... [2025-03-09 10:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:35:04] Production.ERROR: done [2025-03-09 10:35:04] Production.INFO: Account Balance End. [2025-03-09 10:35:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:35:04] Production.INFO: ==8227== Releasing lock... [2025-03-09 10:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:35:05 [end_date_ymd] => 2025-03-09 10:35:05 [RateCDR] => 1 ) [2025-03-09 10:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:35:05' and `end` < '2025-03-09 10:35:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:35:12] Production.ERROR: CronJobId end10 [2025-03-09 10:35:12] Production.INFO: ==8225== Releasing lock... [2025-03-09 10:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:35:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:35:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:35:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:35:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:35:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:35:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:35:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:35:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:35:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:35:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:35:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:35:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:35:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:35:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:35:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:35:14] Production.INFO: call_cost start [2025-03-09 10:35:14] Production.INFO: call_cost end [2025-03-09 10:35:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:35:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:35:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:35:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:35:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:35:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:35:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:35:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:35:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:35:15] Production.INFO: ==8221== Releasing lock... [2025-03-09 10:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:35:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:35:17] Production.INFO: count ==166 [2025-03-09 10:35:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:35:05 - End Time 2025-03-09 10:35:05 [2025-03-09 10:35:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641608', 'tblTempUsageDetail_20' ) start [2025-03-09 10:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641608', 'tblTempUsageDetail_20' ) end [2025-03-09 10:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641608', 'tblTempVendorCDR_20' ) start [2025-03-09 10:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641608', 'tblTempVendorCDR_20' ) end [2025-03-09 10:35:17] Production.INFO: ProcessCDR(1,14641608,1,1,2) [2025-03-09 10:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641608', 'tblTempUsageDetail_20' ) start [2025-03-09 10:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641608', 'tblTempUsageDetail_20' ) end [2025-03-09 10:35:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:35:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:35:20] Production.INFO: ==8229== Releasing lock... [2025-03-09 10:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:35:20] Production.INFO: 29.5 MB #Memory Used# [2025-03-09 14:36:01] Production.INFO: ==8286== Lock acquired, processing the job... [2025-03-09 14:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:36:01] Production.INFO: neon service started [2025-03-09 14:36:01] Production.INFO: neon service started [2025-03-09 14:36:01] Production.INFO: ==8286== Releasing lock... [2025-03-09 14:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:36:02] Production.INFO: ==8290== Lock acquired, processing the job... [2025-03-09 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:36:02] Production.INFO: ==8290== Releasing lock... [2025-03-09 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:36:02] Production.INFO: ==8288== Lock acquired, processing the job... [2025-03-09 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:36:02] Production.INFO: ==8288== Releasing lock... [2025-03-09 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:36:03] Production.INFO: ==8297== Lock acquired, processing the job... [2025-03-09 10:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:36:03] Production.INFO: ==8303== Lock acquired, processing the job... [2025-03-09 10:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:36:03] Production.INFO: ==8293== Lock acquired, processing the job... [2025-03-09 10:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:36:03] Production.INFO: count ==13 [2025-03-09 10:36:03] Production.INFO: ==8295== Lock acquired, processing the job... [2025-03-09 10:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:36:03] Production.INFO: count ==21 [2025-03-09 10:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641609') start [2025-03-09 10:36:03] Production.INFO: ==8299== Lock acquired, processing the job... [2025-03-09 10:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:36:03] Production.INFO: ==8301== Lock acquired, processing the job... [2025-03-09 10:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641609') end [2025-03-09 10:36:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:36:03] Production.INFO: 1 [2025-03-09 10:36:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:36:03] Production.INFO: Account Balance Start. [2025-03-09 10:36:03] Production.INFO: CreateAllLog Start [2025-03-09 10:36:03] Production.INFO: 117 [2025-03-09 10:36:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:36:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:36:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:36:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:36:04] Production.INFO: Total Charge 0 [2025-03-09 10:36:04] Production.INFO: CreateAllLog End [2025-03-09 10:36:04] Production.INFO: ==8303== Releasing lock... [2025-03-09 10:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:36:04] Production.INFO: ==8295== Releasing lock... [2025-03-09 10:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:36:04] Production.ERROR: done [2025-03-09 10:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:36:04] Production.ERROR: done [2025-03-09 10:36:04] Production.INFO: Account Balance End. [2025-03-09 10:36:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:36:04] Production.INFO: ==8299== Releasing lock... [2025-03-09 10:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:36:05 [end_date_ymd] => 2025-03-09 10:36:05 [RateCDR] => 1 ) [2025-03-09 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-09 07:36:05' and `end` < '2025-03-09 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-09 10:36:11] Production.ERROR: CronJobId end10 [2025-03-09 10:36:11] Production.INFO: ==8297== Releasing lock... [2025-03-09 10:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:36:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:36:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:36:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:36:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:36:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:36:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:36:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:36:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:36:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:36:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:36:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:36:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:36:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:36:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:36:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:36:14] Production.INFO: call_cost start [2025-03-09 10:36:14] Production.INFO: call_cost end [2025-03-09 10:36:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:36:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:36:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:36:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:36:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:36:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:36:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:36:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:36:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:36:15] Production.INFO: ==8293== Releasing lock... [2025-03-09 10:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:36:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:36:17] Production.INFO: count ==167 [2025-03-09 10:36:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:36:05 - End Time 2025-03-09 10:36:05 [2025-03-09 10:36:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641613', 'tblTempUsageDetail_20' ) start [2025-03-09 10:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641613', 'tblTempUsageDetail_20' ) end [2025-03-09 10:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641613', 'tblTempVendorCDR_20' ) start [2025-03-09 10:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641613', 'tblTempVendorCDR_20' ) end [2025-03-09 10:36:17] Production.INFO: ProcessCDR(1,14641613,1,1,2) [2025-03-09 10:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641613', 'tblTempUsageDetail_20' ) start [2025-03-09 10:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641613', 'tblTempUsageDetail_20' ) end [2025-03-09 10:36:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:36:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:36:21] Production.INFO: ==8301== Releasing lock... [2025-03-09 10:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:36:21] Production.INFO: 29.5 MB #Memory Used# [2025-03-09 14:37:02] Production.INFO: ==8363== Lock acquired, processing the job... [2025-03-09 14:37:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:37:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:37:02] Production.INFO: neon service started [2025-03-09 14:37:02] Production.INFO: neon service started [2025-03-09 14:37:02] Production.INFO: ==8363== Releasing lock... [2025-03-09 14:37:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:37:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:37:02] Production.INFO: ==8367== Lock acquired, processing the job... [2025-03-09 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:37:02] Production.INFO: ==8367== Releasing lock... [2025-03-09 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:37:02] Production.INFO: ==8365== Lock acquired, processing the job... [2025-03-09 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:37:02] Production.INFO: ==8365== Releasing lock... [2025-03-09 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:37:03] Production.INFO: ==8370== Lock acquired, processing the job... [2025-03-09 10:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:37:03] Production.INFO: ==8372== Lock acquired, processing the job... [2025-03-09 10:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:37:03] Production.INFO: ==8374== Lock acquired, processing the job... [2025-03-09 10:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:37:03] Production.INFO: ==8376== Lock acquired, processing the job... [2025-03-09 10:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:37:04] Production.INFO: ==8372== Releasing lock... [2025-03-09 10:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:37:04] Production.INFO: Account Balance Start. [2025-03-09 10:37:04] Production.INFO: CreateAllLog Start [2025-03-09 10:37:04] Production.INFO: 117 [2025-03-09 10:37:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:37:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:37:04] Production.INFO: ==8380== Lock acquired, processing the job... [2025-03-09 10:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:37:04] Production.INFO: Total Charge 0 [2025-03-09 10:37:04] Production.INFO: CreateAllLog End [2025-03-09 10:37:04] Production.INFO: ==8378== Lock acquired, processing the job... [2025-03-09 10:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:37:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:37:04] Production.INFO: Account Balance End. [2025-03-09 10:37:04] Production.INFO: count ==13 [2025-03-09 10:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:37:04] Production.INFO: count ==21 [2025-03-09 10:37:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:37:04] Production.INFO: ==8376== Releasing lock... [2025-03-09 10:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641617') start [2025-03-09 10:37:04] Production.ERROR: done [2025-03-09 10:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641617') end [2025-03-09 10:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:37:04] Production.INFO: 1 [2025-03-09 10:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:37:04] Production.INFO: ==8380== Releasing lock... [2025-03-09 10:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:37:04] Production.ERROR: done [2025-03-09 10:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:37:05 [end_date_ymd] => 2025-03-09 10:37:05 [RateCDR] => 1 ) [2025-03-09 10:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:37:05' and `end` < '2025-03-09 10:37:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:37:12] Production.ERROR: CronJobId end10 [2025-03-09 10:37:12] Production.INFO: ==8374== Releasing lock... [2025-03-09 10:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:37:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:37:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:37:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:37:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:37:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:37:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:37:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:37:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:37:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:37:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:37:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:37:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:37:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:37:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:37:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:37:14] Production.INFO: call_cost start [2025-03-09 10:37:14] Production.INFO: call_cost end [2025-03-09 10:37:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:37:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:37:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:37:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:37:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:37:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:37:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:37:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:37:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:37:14] Production.INFO: ==8370== Releasing lock... [2025-03-09 10:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:37:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:37:17] Production.INFO: count ==169 [2025-03-09 10:37:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:37:05 - End Time 2025-03-09 10:37:05 [2025-03-09 10:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641618', 'tblTempUsageDetail_20' ) start [2025-03-09 10:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641618', 'tblTempUsageDetail_20' ) end [2025-03-09 10:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641618', 'tblTempVendorCDR_20' ) start [2025-03-09 10:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641618', 'tblTempVendorCDR_20' ) end [2025-03-09 10:37:17] Production.INFO: ProcessCDR(1,14641618,1,1,2) [2025-03-09 10:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641618', 'tblTempUsageDetail_20' ) start [2025-03-09 10:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641618', 'tblTempUsageDetail_20' ) end [2025-03-09 10:37:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:37:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:37:21] Production.INFO: ==8378== Releasing lock... [2025-03-09 10:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:37:21] Production.INFO: 29.5 MB #Memory Used# [2025-03-09 14:38:01] Production.INFO: ==8440== Lock acquired, processing the job... [2025-03-09 14:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:38:01] Production.INFO: neon service started [2025-03-09 14:38:01] Production.INFO: neon service started [2025-03-09 14:38:01] Production.INFO: ==8440== Releasing lock... [2025-03-09 14:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:38:01] Production.INFO: ==8444== Lock acquired, processing the job... [2025-03-09 14:38:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:38:01] Production.INFO: ==8444== Releasing lock... [2025-03-09 14:38:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:38:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:38:02] Production.INFO: ==8442== Lock acquired, processing the job... [2025-03-09 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:38:02] Production.INFO: ==8442== Releasing lock... [2025-03-09 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:38:03] Production.INFO: ==8447== Lock acquired, processing the job... [2025-03-09 10:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:38:03] Production.INFO: ==8449== Lock acquired, processing the job... [2025-03-09 10:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:38:03] Production.INFO: ==8455== Lock acquired, processing the job... [2025-03-09 10:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:38:03] Production.INFO: ==8451== Lock acquired, processing the job... [2025-03-09 10:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:38:03] Production.INFO: ==8449== Releasing lock... [2025-03-09 10:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:38:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:38:03] Production.INFO: ==8453== Lock acquired, processing the job... [2025-03-09 10:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:38:03] Production.INFO: ==8457== Lock acquired, processing the job... [2025-03-09 10:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:38:03] Production.ERROR: done [2025-03-09 10:38:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:38:03] Production.INFO: Account Balance Start. [2025-03-09 10:38:03] Production.INFO: CreateAllLog Start [2025-03-09 10:38:03] Production.INFO: 117 [2025-03-09 10:38:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:38:03] Production.INFO: count ==13 [2025-03-09 10:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:38:03] Production.INFO: count ==21 [2025-03-09 10:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641622') start [2025-03-09 10:38:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:38:04] Production.ERROR: done [2025-03-09 10:38:04] Production.INFO: Total Charge 0 [2025-03-09 10:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641622') end [2025-03-09 10:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:38:04] Production.INFO: 1 [2025-03-09 10:38:04] Production.INFO: CreateAllLog End [2025-03-09 10:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:38:04] Production.INFO: ==8457== Releasing lock... [2025-03-09 10:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:38:04] Production.INFO: Account Balance End. [2025-03-09 10:38:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:38:04] Production.INFO: ==8453== Releasing lock... [2025-03-09 10:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:38:05 [end_date_ymd] => 2025-03-09 10:38:05 [RateCDR] => 1 ) [2025-03-09 10:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:38:05' and `end` < '2025-03-09 10:38:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:38:12] Production.ERROR: CronJobId end10 [2025-03-09 10:38:12] Production.INFO: ==8451== Releasing lock... [2025-03-09 10:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:38:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:38:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:38:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:38:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:38:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:38:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:38:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:38:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:38:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:38:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:38:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:38:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:38:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:38:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:38:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:38:14] Production.INFO: call_cost start [2025-03-09 10:38:14] Production.INFO: call_cost end [2025-03-09 10:38:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:38:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:38:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:38:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:38:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:38:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:38:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:38:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:38:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:38:15] Production.INFO: ==8447== Releasing lock... [2025-03-09 10:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:38:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:38:17] Production.INFO: count ==171 [2025-03-09 10:38:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:38:05 - End Time 2025-03-09 10:38:05 [2025-03-09 10:38:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641623', 'tblTempUsageDetail_20' ) start [2025-03-09 10:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641623', 'tblTempUsageDetail_20' ) end [2025-03-09 10:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641623', 'tblTempVendorCDR_20' ) start [2025-03-09 10:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641623', 'tblTempVendorCDR_20' ) end [2025-03-09 10:38:17] Production.INFO: ProcessCDR(1,14641623,1,1,2) [2025-03-09 10:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:38:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641623', 'tblTempUsageDetail_20' ) start [2025-03-09 10:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641623', 'tblTempUsageDetail_20' ) end [2025-03-09 10:38:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:38:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:38:20] Production.INFO: ==8455== Releasing lock... [2025-03-09 10:38:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:38:20] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 14:39:01] Production.INFO: ==8515== Lock acquired, processing the job... [2025-03-09 14:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:39:01] Production.INFO: neon service started [2025-03-09 14:39:01] Production.INFO: neon service started [2025-03-09 14:39:01] Production.INFO: ==8515== Releasing lock... [2025-03-09 14:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:39:02] Production.INFO: ==8517== Lock acquired, processing the job... [2025-03-09 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:39:02] Production.INFO: ==8519== Lock acquired, processing the job... [2025-03-09 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:39:02] Production.INFO: ==8519== Releasing lock... [2025-03-09 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:39:02] Production.INFO: ==8517== Releasing lock... [2025-03-09 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:39:03] Production.INFO: ==8522== Lock acquired, processing the job... [2025-03-09 10:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:39:03] Production.INFO: ==8526== Lock acquired, processing the job... [2025-03-09 10:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:39:03] Production.INFO: ==8530== Lock acquired, processing the job... [2025-03-09 10:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:39:03] Production.INFO: ==8524== Lock acquired, processing the job... [2025-03-09 10:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:39:03] Production.INFO: ==8528== Lock acquired, processing the job... [2025-03-09 10:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:39:04] Production.INFO: ==8532== Lock acquired, processing the job... [2025-03-09 10:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:39:04] Production.INFO: Account Balance Start. [2025-03-09 10:39:04] Production.INFO: CreateAllLog Start [2025-03-09 10:39:04] Production.INFO: 117 [2025-03-09 10:39:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 10: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-09 10:39:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:39:04] Production.INFO: count ==13 [2025-03-09 10:39:04] Production.ERROR: done [2025-03-09 10:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10: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-09 10:39:04] Production.INFO: count ==21 [2025-03-09 10:39:04] Production.INFO: Total Charge 0 [2025-03-09 10:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641627') start [2025-03-09 10:39:04] Production.INFO: CreateAllLog End [2025-03-09 10:39:04] Production.INFO: ==8524== Releasing lock... [2025-03-09 10:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:39:04] Production.ERROR: done [2025-03-09 10:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641627') end [2025-03-09 10:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:39:04] Production.INFO: 1 [2025-03-09 10:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:39:04] Production.INFO: ==8532== Releasing lock... [2025-03-09 10:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:39:04] Production.INFO: Account Balance End. [2025-03-09 10:39:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:39:04] Production.INFO: ==8528== Releasing lock... [2025-03-09 10:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:39:05 [end_date_ymd] => 2025-03-09 10:39:05 [RateCDR] => 1 ) [2025-03-09 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-09 07:39:05' and `end` < '2025-03-09 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-09 10:39:11] Production.ERROR: CronJobId end10 [2025-03-09 10:39:11] Production.INFO: ==8526== Releasing lock... [2025-03-09 10:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:39:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:39:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:39:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:39:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:39:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:39:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:39:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:39:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:39:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:39:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:39:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:39:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:39:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:39:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:39:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:39:13] Production.INFO: call_cost start [2025-03-09 10:39:13] Production.INFO: call_cost end [2025-03-09 10:39:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:39:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:39:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:39:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:39:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:39:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:39:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:39:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:39:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:39:14] Production.INFO: ==8522== Releasing lock... [2025-03-09 10:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:39:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:39:17] Production.INFO: count ==171 [2025-03-09 10:39:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:39:05 - End Time 2025-03-09 10:39:05 [2025-03-09 10:39:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641628', 'tblTempUsageDetail_20' ) start [2025-03-09 10:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641628', 'tblTempUsageDetail_20' ) end [2025-03-09 10:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641628', 'tblTempVendorCDR_20' ) start [2025-03-09 10:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641628', 'tblTempVendorCDR_20' ) end [2025-03-09 10:39:17] Production.INFO: ProcessCDR(1,14641628,1,1,2) [2025-03-09 10:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641628', 'tblTempUsageDetail_20' ) start [2025-03-09 10:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641628', 'tblTempUsageDetail_20' ) end [2025-03-09 10:39:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:39:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:39:21] Production.INFO: ==8530== Releasing lock... [2025-03-09 10:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:39:21] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 14:40:01] Production.INFO: ==8590== Lock acquired, processing the job... [2025-03-09 14:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:40:01] Production.INFO: neon service started [2025-03-09 14:40:01] Production.INFO: neon service started [2025-03-09 14:40:01] Production.INFO: ==8590== Releasing lock... [2025-03-09 14:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:40:01] Production.INFO: ==8592== Lock acquired, processing the job... [2025-03-09 10:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:40:02] Production.INFO: ==8594== Lock acquired, processing the job... [2025-03-09 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:40:02] Production.INFO: ==8594== Releasing lock... [2025-03-09 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:40:02] Production.INFO: ==8592== Releasing lock... [2025-03-09 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:40:03] Production.INFO: ==8597== Lock acquired, processing the job... [2025-03-09 10:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 10:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 10:40:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 10:40:03] Production.INFO: ==8597== Releasing lock... [2025-03-09 10:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 10:40:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 10:40:03] Production.INFO: ==8601== Lock acquired, processing the job... [2025-03-09 10:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:40:03] Production.INFO: ==8599== Lock acquired, processing the job... [2025-03-09 10:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:40:03] Production.INFO: ==8605== Lock acquired, processing the job... [2025-03-09 10:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:40:03] Production.INFO: ==8611== Lock acquired, processing the job... [2025-03-09 10:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:40:03] Production.INFO: Account Balance Start. [2025-03-09 10:40:03] Production.INFO: CreateAllLog Start [2025-03-09 10:40:03] Production.INFO: 117 [2025-03-09 10:40:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:40:03] Production.INFO: ==8601== Releasing lock... [2025-03-09 10:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:40:03] Production.INFO: ==8603== Lock acquired, processing the job... [2025-03-09 10:40:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:40:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:40:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:40:03] Production.INFO: count ==13 [2025-03-09 10:40:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:40:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:40:03] Production.INFO: count ==21 [2025-03-09 10:40:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:40:03] Production.INFO: ==8607== Lock acquired, processing the job... [2025-03-09 10:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641632') start [2025-03-09 10:40:03] Production.INFO: ==8609== Lock acquired, processing the job... [2025-03-09 10:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 10:40:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:40:03] Production.INFO: Total Charge 0 [2025-03-09 10:40:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:40:03] Production.INFO: CreateAllLog End [2025-03-09 10:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641632') end [2025-03-09 10:40:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:40:03] Production.INFO: 1 [2025-03-09 10:40:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:40:04] Production.INFO: ==8611== Releasing lock... [2025-03-09 10:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:40:04] Production.ERROR: done [2025-03-09 10:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:40:04] Production.ERROR: done [2025-03-09 10:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 10:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641633', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 10:40:04] Production.INFO: Account Balance End. [2025-03-09 10:40:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:40:04] Production.INFO: ==8605== Releasing lock... [2025-03-09 10:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:40:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:40:04] Production.ERROR: done [2025-03-09 10:40:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:40:05 [end_date_ymd] => 2025-03-09 10:40:05 [RateCDR] => 1 ) [2025-03-09 10:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:40:05' and `end` < '2025-03-09 10: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-09 10:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641633', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 10:40:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 10:40:08] Production.INFO: ProcessCDR(1,14641633,1,1,2) [2025-03-09 10:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14641633,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14641633,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:40:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:40:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:40:08] Production.INFO: ==8609== Releasing lock... [2025-03-09 10:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 10:40:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 10:40:12] Production.ERROR: CronJobId end10 [2025-03-09 10:40:12] Production.INFO: ==8603== Releasing lock... [2025-03-09 10:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:40:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:40:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:40:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:40:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:40:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:40:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:40:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:40:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:40:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:40:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:40:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:40:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:40:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:40:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:40:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:40:15] Production.INFO: call_cost start [2025-03-09 10:40:15] Production.INFO: call_cost end [2025-03-09 10:40:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:40:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:40:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:40:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:40:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:40:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:40:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:40:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:40:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:40:16] Production.INFO: ==8599== Releasing lock... [2025-03-09 10:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:40:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:40:17] Production.INFO: count ==177 [2025-03-09 10:40:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:40:05 - End Time 2025-03-09 10:40:05 [2025-03-09 10:40:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:40:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641634', 'tblTempUsageDetail_20' ) start [2025-03-09 10:40:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641634', 'tblTempUsageDetail_20' ) end [2025-03-09 10:40:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641634', 'tblTempVendorCDR_20' ) start [2025-03-09 10:40:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641634', 'tblTempVendorCDR_20' ) end [2025-03-09 10:40:17] Production.INFO: ProcessCDR(1,14641634,1,1,2) [2025-03-09 10:40:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:40:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:40:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:40:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:40:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641634', 'tblTempUsageDetail_20' ) start [2025-03-09 10:40:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641634', 'tblTempUsageDetail_20' ) end [2025-03-09 10:40:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:40:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:40:20] Production.INFO: ==8607== Releasing lock... [2025-03-09 10:40:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:40:20] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 14:41:01] Production.INFO: ==8667== Lock acquired, processing the job... [2025-03-09 14:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:41:01] Production.INFO: neon service started [2025-03-09 14:41:01] Production.INFO: neon service started [2025-03-09 14:41:01] Production.INFO: ==8667== Releasing lock... [2025-03-09 14:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:41:02] Production.INFO: ==8671== Lock acquired, processing the job... [2025-03-09 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:41:02] Production.INFO: ==8671== Releasing lock... [2025-03-09 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:41:02] Production.INFO: ==8669== Lock acquired, processing the job... [2025-03-09 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:41:02] Production.INFO: ==8669== Releasing lock... [2025-03-09 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:41:03] Production.INFO: ==8674== Lock acquired, processing the job... [2025-03-09 10:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:41:03] Production.INFO: ==8684== Lock acquired, processing the job... [2025-03-09 10:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:41:03] Production.INFO: ==8676== Lock acquired, processing the job... [2025-03-09 10:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:41:03] Production.INFO: ==8678== Lock acquired, processing the job... [2025-03-09 10:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:41:03] Production.INFO: ==8680== Lock acquired, processing the job... [2025-03-09 10:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 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-09 10:41:03] Production.INFO: ==8682== Lock acquired, processing the job... [2025-03-09 10:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:41:03] Production.INFO: count ==13 [2025-03-09 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-09 10:41:03] Production.INFO: count ==21 [2025-03-09 10:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641636') start [2025-03-09 10:41:03] Production.INFO: Account Balance Start. [2025-03-09 10:41:03] Production.INFO: CreateAllLog Start [2025-03-09 10:41:03] Production.INFO: 117 [2025-03-09 10:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:41:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:41:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:41:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:41:04] Production.INFO: Total Charge 0 [2025-03-09 10:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641636') end [2025-03-09 10:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:41:04] Production.INFO: 1 [2025-03-09 10:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:41:04] Production.INFO: CreateAllLog End [2025-03-09 10:41:04] Production.INFO: ==8684== Releasing lock... [2025-03-09 10:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:41:04] Production.INFO: ==8676== Releasing lock... [2025-03-09 10:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:41:04] Production.INFO: Account Balance End. [2025-03-09 10:41:04] Production.ERROR: done [2025-03-09 10:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:41:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:41:04] Production.INFO: ==8680== Releasing lock... [2025-03-09 10:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:41:04] Production.ERROR: done [2025-03-09 10:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:41:05 [end_date_ymd] => 2025-03-09 10:41:05 [RateCDR] => 1 ) [2025-03-09 10:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:41:05' and `end` < '2025-03-09 10:41:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:41:12] Production.ERROR: CronJobId end10 [2025-03-09 10:41:12] Production.INFO: ==8678== Releasing lock... [2025-03-09 10:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:41:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:41:15] Production.INFO: call_cost start [2025-03-09 10:41:15] Production.INFO: call_cost end [2025-03-09 10:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:41:15] Production.INFO: ==8674== Releasing lock... [2025-03-09 10:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:41:17] Production.INFO: count ==184 [2025-03-09 10:41:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:41:05 - End Time 2025-03-09 10:41:05 [2025-03-09 10:41:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641639', 'tblTempUsageDetail_20' ) start [2025-03-09 10:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641639', 'tblTempUsageDetail_20' ) end [2025-03-09 10:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641639', 'tblTempVendorCDR_20' ) start [2025-03-09 10:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641639', 'tblTempVendorCDR_20' ) end [2025-03-09 10:41:17] Production.INFO: ProcessCDR(1,14641639,1,1,2) [2025-03-09 10:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641639', 'tblTempUsageDetail_20' ) start [2025-03-09 10:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641639', 'tblTempUsageDetail_20' ) end [2025-03-09 10:41:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:41:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:41:21] Production.INFO: ==8682== Releasing lock... [2025-03-09 10:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:41:21] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 14:42:02] Production.INFO: ==8739== Lock acquired, processing the job... [2025-03-09 14:42:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:42:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:42:02] Production.INFO: neon service started [2025-03-09 14:42:02] Production.INFO: neon service started [2025-03-09 14:42:02] Production.INFO: ==8739== Releasing lock... [2025-03-09 14:42:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:42:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:42:02] Production.INFO: ==8741== Lock acquired, processing the job... [2025-03-09 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:42:02] Production.INFO: ==8743== Lock acquired, processing the job... [2025-03-09 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:42:02] Production.INFO: ==8743== Releasing lock... [2025-03-09 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:42:03] Production.INFO: ==8741== Releasing lock... [2025-03-09 10:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:42:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:42:03] Production.INFO: ==8752== Lock acquired, processing the job... [2025-03-09 10:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:42:03] Production.INFO: Account Balance Start. [2025-03-09 10:42:03] Production.INFO: CreateAllLog Start [2025-03-09 10:42:03] Production.INFO: 117 [2025-03-09 10:42:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:42:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:42:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:42:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:42:03] Production.INFO: Total Charge 0 [2025-03-09 10:42:03] Production.INFO: CreateAllLog End [2025-03-09 10:42:04] Production.INFO: Account Balance End. [2025-03-09 10:42:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:42:04] Production.INFO: ==8752== Releasing lock... [2025-03-09 10:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:42:04] Production.INFO: ==8745== Lock acquired, processing the job... [2025-03-09 10:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:42:04] Production.INFO: ==8748== Lock acquired, processing the job... [2025-03-09 10:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:42:04] Production.INFO: ==8756== Lock acquired, processing the job... [2025-03-09 10:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:42:04] Production.INFO: ==8754== Lock acquired, processing the job... [2025-03-09 10:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:42:04] Production.INFO: ==8750== Lock acquired, processing the job... [2025-03-09 10:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:42:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:42:04] Production.INFO: count ==13 [2025-03-09 10:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:42:04] Production.INFO: count ==21 [2025-03-09 10:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641641') start [2025-03-09 10:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641641') end [2025-03-09 10:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:42:04] Production.INFO: 1 [2025-03-09 10:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:42:04] Production.INFO: ==8756== Releasing lock... [2025-03-09 10:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:42:04] Production.ERROR: done [2025-03-09 10:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:42:04] Production.INFO: ==8748== Releasing lock... [2025-03-09 10:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:42:04] Production.ERROR: done [2025-03-09 10:42:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:42:06 [end_date_ymd] => 2025-03-09 10:42:06 [RateCDR] => 1 ) [2025-03-09 10: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-09 07:42:06' and `end` < '2025-03-09 10: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-09 10:42:13] Production.ERROR: CronJobId end10 [2025-03-09 10:42:13] Production.INFO: ==8750== Releasing lock... [2025-03-09 10:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:42:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:42:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:42:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:42:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:42:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:42:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:42:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:42:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:42:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:42:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:42:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:42:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:42:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:42:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:42:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:42:15] Production.INFO: call_cost start [2025-03-09 10:42:15] Production.INFO: call_cost end [2025-03-09 10:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:42:16] Production.INFO: ==8745== Releasing lock... [2025-03-09 10:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:42:18] Production.INFO: count ==184 [2025-03-09 10:42:18] Production.ERROR: pbx CDR StartTime 2025-03-09 07:42:06 - End Time 2025-03-09 10:42:06 [2025-03-09 10:42:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641644', 'tblTempUsageDetail_20' ) start [2025-03-09 10:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641644', 'tblTempUsageDetail_20' ) end [2025-03-09 10:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641644', 'tblTempVendorCDR_20' ) start [2025-03-09 10:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641644', 'tblTempVendorCDR_20' ) end [2025-03-09 10:42:18] Production.INFO: ProcessCDR(1,14641644,1,1,2) [2025-03-09 10:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641644', 'tblTempUsageDetail_20' ) start [2025-03-09 10:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641644', 'tblTempUsageDetail_20' ) end [2025-03-09 10:42:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:42:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:42:21] Production.INFO: ==8754== Releasing lock... [2025-03-09 10:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:42:21] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 14:43:01] Production.INFO: ==8819== Lock acquired, processing the job... [2025-03-09 14:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:43:01] Production.INFO: neon service started [2025-03-09 14:43:01] Production.INFO: neon service started [2025-03-09 14:43:01] Production.INFO: ==8819== Releasing lock... [2025-03-09 14:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:43:02] Production.INFO: ==8821== Lock acquired, processing the job... [2025-03-09 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:43:02] Production.INFO: ==8821== Releasing lock... [2025-03-09 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:43:02] Production.INFO: ==8823== Lock acquired, processing the job... [2025-03-09 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:43:02] Production.INFO: ==8823== Releasing lock... [2025-03-09 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:43:03] Production.INFO: ==8829== Lock acquired, processing the job... [2025-03-09 10:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:43:03] Production.INFO: ==8825== Lock acquired, processing the job... [2025-03-09 10:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:43:03] Production.INFO: ==8834== Lock acquired, processing the job... [2025-03-09 10:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:43:03] Production.INFO: ==8827== Lock acquired, processing the job... [2025-03-09 10:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:43:03] Production.INFO: ==8832== Lock acquired, processing the job... [2025-03-09 10:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:43:03] Production.INFO: ==8836== Lock acquired, processing the job... [2025-03-09 10:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:43:03] Production.INFO: Account Balance Start. [2025-03-09 10:43:03] Production.INFO: CreateAllLog Start [2025-03-09 10:43:03] Production.INFO: 117 [2025-03-09 10:43:03] Production.INFO: count ==13 [2025-03-09 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-09 10:43:03] Production.INFO: count ==21 [2025-03-09 10:43:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:43:03] Production.INFO: ==8827== Releasing lock... [2025-03-09 10:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:43:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641648') start [2025-03-09 10:43:04] Production.ERROR: done [2025-03-09 10:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:43:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:43:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:43:04] Production.INFO: Total Charge 0 [2025-03-09 10:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641648') end [2025-03-09 10:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:43:04] Production.INFO: 1 [2025-03-09 10:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:43:04] Production.INFO: CreateAllLog End [2025-03-09 10:43:04] Production.INFO: ==8836== Releasing lock... [2025-03-09 10:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:43:04] Production.ERROR: done [2025-03-09 10:43:04] Production.INFO: Account Balance End. [2025-03-09 10:43:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:43:04] Production.INFO: ==8832== Releasing lock... [2025-03-09 10:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:43:05 [end_date_ymd] => 2025-03-09 10:43:05 [RateCDR] => 1 ) [2025-03-09 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-09 07:43:05' and `end` < '2025-03-09 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-09 10:43:11] Production.ERROR: CronJobId end10 [2025-03-09 10:43:11] Production.INFO: ==8829== Releasing lock... [2025-03-09 10:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:43:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:43:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:43:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:43:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:43:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:43:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:43:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:43:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:43:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:43:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:43:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:43:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:43:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:43:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:43:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:43:15] Production.INFO: call_cost start [2025-03-09 10:43:15] Production.INFO: call_cost end [2025-03-09 10:43:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:43:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:43:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:43:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:43:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:43:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:43:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:43:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:43:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:43:16] Production.INFO: ==8825== Releasing lock... [2025-03-09 10:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:43:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:43:17] Production.INFO: count ==184 [2025-03-09 10:43:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:43:05 - End Time 2025-03-09 10:43:05 [2025-03-09 10:43:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641649', 'tblTempUsageDetail_20' ) start [2025-03-09 10:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641649', 'tblTempUsageDetail_20' ) end [2025-03-09 10:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641649', 'tblTempVendorCDR_20' ) start [2025-03-09 10:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641649', 'tblTempVendorCDR_20' ) end [2025-03-09 10:43:17] Production.INFO: ProcessCDR(1,14641649,1,1,2) [2025-03-09 10:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:43:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641649', 'tblTempUsageDetail_20' ) start [2025-03-09 10:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641649', 'tblTempUsageDetail_20' ) end [2025-03-09 10:43:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:43:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:43:20] Production.INFO: ==8834== Releasing lock... [2025-03-09 10:43:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:43:20] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 14:44:02] Production.INFO: ==8936== Lock acquired, processing the job... [2025-03-09 14:44:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:44:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:44:02] Production.INFO: neon service started [2025-03-09 14:44:02] Production.INFO: neon service started [2025-03-09 14:44:02] Production.INFO: ==8936== Releasing lock... [2025-03-09 14:44:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:44:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:44:02] Production.INFO: ==8940== Lock acquired, processing the job... [2025-03-09 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:44:02] Production.INFO: ==8940== Releasing lock... [2025-03-09 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:44:02] Production.INFO: ==8938== Lock acquired, processing the job... [2025-03-09 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:44:03] Production.INFO: ==8938== Releasing lock... [2025-03-09 10:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:44:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:44:03] Production.INFO: ==8942== Lock acquired, processing the job... [2025-03-09 10:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:44:03] Production.INFO: ==8944== Lock acquired, processing the job... [2025-03-09 10:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:44:04] Production.INFO: ==8946== Lock acquired, processing the job... [2025-03-09 10:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:44:04] Production.INFO: ==8948== Lock acquired, processing the job... [2025-03-09 10:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:44:04] Production.INFO: Account Balance Start. [2025-03-09 10:44:04] Production.INFO: CreateAllLog Start [2025-03-09 10:44:04] Production.INFO: 117 [2025-03-09 10:44:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:44:04] Production.INFO: ==8944== Releasing lock... [2025-03-09 10:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:44:04] Production.INFO: ==8953== Lock acquired, processing the job... [2025-03-09 10:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:44:04] Production.INFO: ==8950== Lock acquired, processing the job... [2025-03-09 10:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:44:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:44:04] Production.INFO: Total Charge 0 [2025-03-09 10:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:44:04] Production.INFO: CreateAllLog End [2025-03-09 10:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:44:04] Production.INFO: Account Balance End. [2025-03-09 10:44:04] Production.INFO: count ==13 [2025-03-09 10:44:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:44:04] Production.INFO: ==8948== Releasing lock... [2025-03-09 10:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:44:04] Production.INFO: count ==21 [2025-03-09 10:44:04] Production.ERROR: done [2025-03-09 10:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641653') start [2025-03-09 10:44:05] Production.ERROR: done [2025-03-09 10:44:05] Production.ERROR: PBX CALL prc_importPBXExtension('14641653') end [2025-03-09 10:44:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:44:05] Production.INFO: 1 [2025-03-09 10:44:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:44:05] Production.INFO: ==8953== Releasing lock... [2025-03-09 10:44:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:44:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:44:05 [end_date_ymd] => 2025-03-09 10:44:05 [RateCDR] => 1 ) [2025-03-09 10:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:44:05' and `end` < '2025-03-09 10:44:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:44:12] Production.ERROR: CronJobId end10 [2025-03-09 10:44:12] Production.INFO: ==8946== Releasing lock... [2025-03-09 10:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:44:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:44:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:44:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:44:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:44:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:44:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:44:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:44:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:44:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:44:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:44:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:44:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:44:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:44:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:44:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:44:14] Production.INFO: call_cost start [2025-03-09 10:44:14] Production.INFO: call_cost end [2025-03-09 10:44:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:44:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:44:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:44:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:44:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:44:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:44:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:44:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:44:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:44:15] Production.INFO: ==8942== Releasing lock... [2025-03-09 10:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:44:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:44:17] Production.INFO: count ==184 [2025-03-09 10:44:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:44:05 - End Time 2025-03-09 10:44:05 [2025-03-09 10:44:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641654', 'tblTempUsageDetail_20' ) start [2025-03-09 10:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641654', 'tblTempUsageDetail_20' ) end [2025-03-09 10:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641654', 'tblTempVendorCDR_20' ) start [2025-03-09 10:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641654', 'tblTempVendorCDR_20' ) end [2025-03-09 10:44:17] Production.INFO: ProcessCDR(1,14641654,1,1,2) [2025-03-09 10:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641654', 'tblTempUsageDetail_20' ) start [2025-03-09 10:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641654', 'tblTempUsageDetail_20' ) end [2025-03-09 10:44:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:44:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:44:21] Production.INFO: ==8950== Releasing lock... [2025-03-09 10:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:44:21] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 14:45:01] Production.INFO: ==9010== Lock acquired, processing the job... [2025-03-09 14:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:45:01] Production.INFO: neon service started [2025-03-09 14:45:01] Production.INFO: neon service started [2025-03-09 14:45:01] Production.INFO: ==9010== Releasing lock... [2025-03-09 14:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:45:01] Production.INFO: ==9012== Lock acquired, processing the job... [2025-03-09 10:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:45:02] Production.INFO: ==9012== Releasing lock... [2025-03-09 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:45:02] Production.INFO: ==9014== Lock acquired, processing the job... [2025-03-09 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:45:02] Production.INFO: ==9014== Releasing lock... [2025-03-09 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:45:03] Production.INFO: ==9016== Lock acquired, processing the job... [2025-03-09 10:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:45:03] Production.INFO: ==9018== Lock acquired, processing the job... [2025-03-09 10:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:45:03] Production.INFO: ==9027== Lock acquired, processing the job... [2025-03-09 10:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:45:03] Production.INFO: ==9020== Lock acquired, processing the job... [2025-03-09 10:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:45:03] Production.INFO: ==9022== Lock acquired, processing the job... [2025-03-09 10:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:45:03] Production.INFO: ==9024== Lock acquired, processing the job... [2025-03-09 10:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:45:03] Production.INFO: count ==13 [2025-03-09 10:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:45:03] Production.INFO: count ==21 [2025-03-09 10:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641657') start [2025-03-09 10:45:03] Production.INFO: Account Balance Start. [2025-03-09 10:45:03] Production.INFO: CreateAllLog Start [2025-03-09 10:45:03] Production.INFO: 117 [2025-03-09 10:45:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641657') end [2025-03-09 10:45:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:45:03] Production.INFO: 1 [2025-03-09 10:45:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:45:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:45:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:45:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:45:03] Production.INFO: Total Charge 0 [2025-03-09 10:45:03] Production.INFO: CreateAllLog End [2025-03-09 10:45:03] Production.INFO: ==9027== Releasing lock... [2025-03-09 10:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:45:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:45:03] Production.INFO: ==9018== Releasing lock... [2025-03-09 10:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:45:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:45:03] Production.INFO: Account Balance End. [2025-03-09 10:45:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:45:04] Production.INFO: ==9022== Releasing lock... [2025-03-09 10:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:45:04] Production.ERROR: done [2025-03-09 10:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:45:04] Production.ERROR: done [2025-03-09 10:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:45:05 [end_date_ymd] => 2025-03-09 10:45:05 [RateCDR] => 1 ) [2025-03-09 10:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:45:05' and `end` < '2025-03-09 10:45:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:45:11] Production.ERROR: CronJobId end10 [2025-03-09 10:45:11] Production.INFO: ==9020== Releasing lock... [2025-03-09 10:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:45:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:45:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:45:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:45:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:45:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:45:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:45:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:45:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:45:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:45:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:45:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:45:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:45:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:45:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:45:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:45:14] Production.INFO: call_cost start [2025-03-09 10:45:14] Production.INFO: call_cost end [2025-03-09 10:45:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:45:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:45:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:45:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:45:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:45:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:45:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:45:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:45:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:45:15] Production.INFO: ==9016== Releasing lock... [2025-03-09 10:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:45:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:45:17] Production.INFO: count ==184 [2025-03-09 10:45:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:45:05 - End Time 2025-03-09 10:45:05 [2025-03-09 10:45:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641659', 'tblTempUsageDetail_20' ) start [2025-03-09 10:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641659', 'tblTempUsageDetail_20' ) end [2025-03-09 10:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641659', 'tblTempVendorCDR_20' ) start [2025-03-09 10:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641659', 'tblTempVendorCDR_20' ) end [2025-03-09 10:45:17] Production.INFO: ProcessCDR(1,14641659,1,1,2) [2025-03-09 10:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641659', 'tblTempUsageDetail_20' ) start [2025-03-09 10:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641659', 'tblTempUsageDetail_20' ) end [2025-03-09 10:45:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:45:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:45:20] Production.INFO: ==9024== Releasing lock... [2025-03-09 10:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:45:20] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 14:46:02] Production.INFO: ==9082== Lock acquired, processing the job... [2025-03-09 14:46:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:46:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:46:02] Production.INFO: neon service started [2025-03-09 14:46:02] Production.INFO: neon service started [2025-03-09 14:46:02] Production.INFO: ==9082== Releasing lock... [2025-03-09 14:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:46:02] Production.INFO: ==9084== Lock acquired, processing the job... [2025-03-09 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:46:02] Production.INFO: ==9086== Lock acquired, processing the job... [2025-03-09 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:46:02] Production.INFO: ==9086== Releasing lock... [2025-03-09 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:46:03] Production.INFO: ==9084== Releasing lock... [2025-03-09 10:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:46:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:46:03] Production.INFO: ==9089== Lock acquired, processing the job... [2025-03-09 10:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:46:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:46:04] Production.INFO: ==9093== Lock acquired, processing the job... [2025-03-09 10:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:46:04] Production.INFO: ==9097== Lock acquired, processing the job... [2025-03-09 10:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:46:04] Production.INFO: ==9091== Lock acquired, processing the job... [2025-03-09 10:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:46:04] Production.INFO: ==9095== Lock acquired, processing the job... [2025-03-09 10:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:46:04] Production.INFO: Account Balance Start. [2025-03-09 10:46:04] Production.INFO: CreateAllLog Start [2025-03-09 10:46:04] Production.INFO: 117 [2025-03-09 10:46:04] Production.INFO: ==9099== Lock acquired, processing the job... [2025-03-09 10:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:46:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:46:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:46:04] Production.ERROR: done [2025-03-09 10:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:46:04] Production.INFO: ==9091== Releasing lock... [2025-03-09 10:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:46:04] Production.INFO: Total Charge 0 [2025-03-09 10:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:46:04] Production.INFO: CreateAllLog End [2025-03-09 10:46:05] Production.INFO: count ==13 [2025-03-09 10:46: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-09 10:46:05] Production.INFO: count ==21 [2025-03-09 10:46:05] Production.ERROR: PBX CALL prc_importPBXExtension('14641663') start [2025-03-09 10:46:05] Production.ERROR: done [2025-03-09 10:46:05] Production.INFO: Account Balance End. [2025-03-09 10:46:05] Production.ERROR: CronJobId end 12 [2025-03-09 10:46:05] Production.INFO: ==9095== Releasing lock... [2025-03-09 10:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:46:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:46:05] Production.ERROR: PBX CALL prc_importPBXExtension('14641663') end [2025-03-09 10:46:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:46:05] Production.INFO: 1 [2025-03-09 10:46:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:46:05] Production.INFO: ==9099== Releasing lock... [2025-03-09 10:46:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:46:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:46:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:46:06 [end_date_ymd] => 2025-03-09 10:46:06 [RateCDR] => 1 ) [2025-03-09 10: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-09 07:46:06' and `end` < '2025-03-09 10: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-09 10:46:12] Production.ERROR: CronJobId end10 [2025-03-09 10:46:12] Production.INFO: ==9093== Releasing lock... [2025-03-09 10:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:46:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:46:15] Production.INFO: call_cost start [2025-03-09 10:46:15] Production.INFO: call_cost end [2025-03-09 10:46:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:46:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:46:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:46:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:46:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:46:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:46:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:46:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:46:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:46:16] Production.INFO: ==9089== Releasing lock... [2025-03-09 10:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:46:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:46:18] Production.INFO: count ==184 [2025-03-09 10:46:18] Production.ERROR: pbx CDR StartTime 2025-03-09 07:46:06 - End Time 2025-03-09 10:46:06 [2025-03-09 10:46:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641664', 'tblTempUsageDetail_20' ) start [2025-03-09 10:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641664', 'tblTempUsageDetail_20' ) end [2025-03-09 10:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641664', 'tblTempVendorCDR_20' ) start [2025-03-09 10:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641664', 'tblTempVendorCDR_20' ) end [2025-03-09 10:46:18] Production.INFO: ProcessCDR(1,14641664,1,1,2) [2025-03-09 10:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641664', 'tblTempUsageDetail_20' ) start [2025-03-09 10:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641664', 'tblTempUsageDetail_20' ) end [2025-03-09 10:46:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:46:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:46:21] Production.INFO: ==9097== Releasing lock... [2025-03-09 10:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:46:21] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 14:47:01] Production.INFO: ==9152== Lock acquired, processing the job... [2025-03-09 14:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:47:01] Production.INFO: neon service started [2025-03-09 14:47:01] Production.INFO: neon service started [2025-03-09 14:47:01] Production.INFO: ==9152== Releasing lock... [2025-03-09 14:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:47:02] Production.INFO: ==9154== Lock acquired, processing the job... [2025-03-09 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:47:02] Production.INFO: ==9156== Lock acquired, processing the job... [2025-03-09 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:47:02] Production.INFO: ==9154== Releasing lock... [2025-03-09 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:47:02] Production.INFO: ==9156== Releasing lock... [2025-03-09 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:47:03] Production.INFO: ==9159== Lock acquired, processing the job... [2025-03-09 10:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:47:03] Production.INFO: ==9161== Lock acquired, processing the job... [2025-03-09 10:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:47:03] Production.INFO: ==9163== Lock acquired, processing the job... [2025-03-09 10:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:47:03] Production.INFO: ==9165== Lock acquired, processing the job... [2025-03-09 10:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:47:03] Production.INFO: Account Balance Start. [2025-03-09 10:47:03] Production.INFO: CreateAllLog Start [2025-03-09 10:47:03] Production.INFO: 117 [2025-03-09 10:47:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:47:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:47:03] Production.INFO: ==9167== Lock acquired, processing the job... [2025-03-09 10:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:47:03] Production.INFO: ==9169== Lock acquired, processing the job... [2025-03-09 10:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:47:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:47:03] Production.INFO: ==9161== Releasing lock... [2025-03-09 10:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:47:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:47:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:47:03] Production.INFO: Total Charge 0 [2025-03-09 10:47:03] Production.INFO: CreateAllLog End [2025-03-09 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-09 10:47:03] Production.INFO: count ==13 [2025-03-09 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-09 10:47:03] Production.INFO: count ==21 [2025-03-09 10:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641668') start [2025-03-09 10:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641668') end [2025-03-09 10:47:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:47:03] Production.INFO: 1 [2025-03-09 10:47:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:47:04] Production.INFO: ==9169== Releasing lock... [2025-03-09 10:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:47:04] Production.ERROR: done [2025-03-09 10:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:47:04] Production.ERROR: done [2025-03-09 10:47:04] Production.INFO: Account Balance End. [2025-03-09 10:47:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:47:04] Production.INFO: ==9165== Releasing lock... [2025-03-09 10:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:47:05 [end_date_ymd] => 2025-03-09 10:47:05 [RateCDR] => 1 ) [2025-03-09 10:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:47:05' and `end` < '2025-03-09 10:47:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:47:11] Production.ERROR: CronJobId end10 [2025-03-09 10:47:11] Production.INFO: ==9163== Releasing lock... [2025-03-09 10:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:47:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:47:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:47:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:47:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:47:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:47:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:47:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:47:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:47:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:47:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:47:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:47:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:47:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:47:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:47:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:47:13] Production.INFO: call_cost start [2025-03-09 10:47:13] Production.INFO: call_cost end [2025-03-09 10:47:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:47:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:47:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:47:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:47:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:47:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:47:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:47:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:47:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:47:14] Production.INFO: ==9159== Releasing lock... [2025-03-09 10:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:47:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:47:17] Production.INFO: count ==184 [2025-03-09 10:47:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:47:05 - End Time 2025-03-09 10:47:05 [2025-03-09 10:47:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641669', 'tblTempUsageDetail_20' ) start [2025-03-09 10:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641669', 'tblTempUsageDetail_20' ) end [2025-03-09 10:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641669', 'tblTempVendorCDR_20' ) start [2025-03-09 10:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641669', 'tblTempVendorCDR_20' ) end [2025-03-09 10:47:17] Production.INFO: ProcessCDR(1,14641669,1,1,2) [2025-03-09 10:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:47:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641669', 'tblTempUsageDetail_20' ) start [2025-03-09 10:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641669', 'tblTempUsageDetail_20' ) end [2025-03-09 10:47:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:47:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:47:20] Production.INFO: ==9167== Releasing lock... [2025-03-09 10:47:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:47:20] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 14:48:02] Production.INFO: ==9229== Lock acquired, processing the job... [2025-03-09 14:48:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:48:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:48:02] Production.INFO: neon service started [2025-03-09 14:48:02] Production.INFO: neon service started [2025-03-09 14:48:02] Production.INFO: ==9229== Releasing lock... [2025-03-09 14:48:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:48:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:48:02] Production.INFO: ==9231== Lock acquired, processing the job... [2025-03-09 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:48:02] Production.INFO: ==9231== Releasing lock... [2025-03-09 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:48:02] Production.INFO: ==9233== Lock acquired, processing the job... [2025-03-09 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:48:03] Production.INFO: ==9233== Releasing lock... [2025-03-09 14:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:48:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:48:03] Production.INFO: ==9235== Lock acquired, processing the job... [2025-03-09 10:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:48:03] Production.INFO: ==9239== Lock acquired, processing the job... [2025-03-09 10:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:48:03] Production.INFO: ==9244== Lock acquired, processing the job... [2025-03-09 10:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:48:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:48:04] Production.INFO: ==9237== Lock acquired, processing the job... [2025-03-09 10:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:48:04] Production.INFO: ==9241== Lock acquired, processing the job... [2025-03-09 10:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:48:04] Production.INFO: ==9246== Lock acquired, processing the job... [2025-03-09 10:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:48:04] Production.INFO: Account Balance Start. [2025-03-09 10:48:04] Production.INFO: CreateAllLog Start [2025-03-09 10:48:04] Production.INFO: 117 [2025-03-09 10:48:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:48:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:48:04] Production.INFO: Total Charge 0 [2025-03-09 10:48:04] Production.INFO: CreateAllLog End [2025-03-09 10:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:48:04] Production.INFO: count ==13 [2025-03-09 10:48:04] Production.ERROR: done [2025-03-09 10:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:48:04] Production.INFO: count ==21 [2025-03-09 10:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641672') start [2025-03-09 10:48:04] Production.INFO: ==9237== Releasing lock... [2025-03-09 10:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:48:04] Production.ERROR: done [2025-03-09 10:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641672') end [2025-03-09 10:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:48:04] Production.INFO: 1 [2025-03-09 10:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:48:04] Production.INFO: Account Balance End. [2025-03-09 10:48:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:48:04] Production.INFO: ==9241== Releasing lock... [2025-03-09 10:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:48:04] Production.INFO: ==9246== Releasing lock... [2025-03-09 10:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:48:05 [end_date_ymd] => 2025-03-09 10:48:05 [RateCDR] => 1 ) [2025-03-09 10:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:48:05' and `end` < '2025-03-09 10:48:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:48:13] Production.ERROR: CronJobId end10 [2025-03-09 10:48:13] Production.INFO: ==9239== Releasing lock... [2025-03-09 10:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:48:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:48:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:48:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:48:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:48:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:48:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:48:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:48:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:48:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:48:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:48:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:48:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:48:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:48:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:48:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:48:14] Production.INFO: call_cost start [2025-03-09 10:48:14] Production.INFO: call_cost end [2025-03-09 10:48:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:48:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:48:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:48:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:48:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:48:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:48:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:48:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:48:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:48:15] Production.INFO: ==9235== Releasing lock... [2025-03-09 10:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:48:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:48:18] Production.INFO: count ==184 [2025-03-09 10:48:18] Production.ERROR: pbx CDR StartTime 2025-03-09 07:48:05 - End Time 2025-03-09 10:48:05 [2025-03-09 10:48:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641674', 'tblTempUsageDetail_20' ) start [2025-03-09 10:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641674', 'tblTempUsageDetail_20' ) end [2025-03-09 10:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641674', 'tblTempVendorCDR_20' ) start [2025-03-09 10:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641674', 'tblTempVendorCDR_20' ) end [2025-03-09 10:48:18] Production.INFO: ProcessCDR(1,14641674,1,1,2) [2025-03-09 10:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641674', 'tblTempUsageDetail_20' ) start [2025-03-09 10:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641674', 'tblTempUsageDetail_20' ) end [2025-03-09 10:48:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:48:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:48:21] Production.INFO: ==9244== Releasing lock... [2025-03-09 10:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:48:21] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 14:49:01] Production.INFO: ==9301== Lock acquired, processing the job... [2025-03-09 14:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:49:01] Production.INFO: neon service started [2025-03-09 14:49:01] Production.INFO: neon service started [2025-03-09 14:49:01] Production.INFO: ==9301== Releasing lock... [2025-03-09 14:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:49:01] Production.INFO: ==9303== Lock acquired, processing the job... [2025-03-09 10:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:49:02] Production.INFO: ==9303== Releasing lock... [2025-03-09 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:49:02] Production.INFO: ==9305== Lock acquired, processing the job... [2025-03-09 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:49:02] Production.INFO: ==9305== Releasing lock... [2025-03-09 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:49:02] Production.INFO: ==9314== Lock acquired, processing the job... [2025-03-09 10:49:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:49:03] Production.INFO: Account Balance Start. [2025-03-09 10:49:03] Production.INFO: CreateAllLog Start [2025-03-09 10:49:03] Production.INFO: 117 [2025-03-09 10:49:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:49:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:49:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:49:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:49:03] Production.INFO: Total Charge 0 [2025-03-09 10:49:03] Production.INFO: CreateAllLog End [2025-03-09 10:49:03] Production.INFO: ==9308== Lock acquired, processing the job... [2025-03-09 10:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:49:03] Production.INFO: ==9310== Lock acquired, processing the job... [2025-03-09 10:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:49:03] Production.INFO: Account Balance End. [2025-03-09 10:49:03] Production.INFO: ==9312== Lock acquired, processing the job... [2025-03-09 10:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:49:03] Production.ERROR: CronJobId end 12 [2025-03-09 10:49:03] Production.INFO: ==9314== Releasing lock... [2025-03-09 10:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:49:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:49:03] Production.INFO: ==9316== Lock acquired, processing the job... [2025-03-09 10:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:49:03] Production.INFO: ==9318== Lock acquired, processing the job... [2025-03-09 10:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:49:03] Production.INFO: ==9310== Releasing lock... [2025-03-09 10:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:49:03] Production.INFO: count ==13 [2025-03-09 10:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:49:04] Production.INFO: count ==21 [2025-03-09 10:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641678') start [2025-03-09 10:49:04] Production.ERROR: done [2025-03-09 10:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641678') end [2025-03-09 10:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:49:04] Production.INFO: 1 [2025-03-09 10:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:49:04] Production.INFO: ==9318== Releasing lock... [2025-03-09 10:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:49:04] Production.ERROR: done [2025-03-09 10:49:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:49:04 [end_date_ymd] => 2025-03-09 10:49:04 [RateCDR] => 1 ) [2025-03-09 10: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-09 07:49:04' and `end` < '2025-03-09 10: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-09 10:49:11] Production.ERROR: CronJobId end10 [2025-03-09 10:49:11] Production.INFO: ==9312== Releasing lock... [2025-03-09 10:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:49:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:49:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:49:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:49:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:49:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:49:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:49:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:49:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:49:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:49:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:49:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:49:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:49:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:49:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:49:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:49:13] Production.INFO: call_cost start [2025-03-09 10:49:13] Production.INFO: call_cost end [2025-03-09 10:49:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:49:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:49:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:49:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:49:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:49:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:49:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:49:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:49:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:49:14] Production.INFO: ==9308== Releasing lock... [2025-03-09 10:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:49:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:49:16] Production.INFO: count ==187 [2025-03-09 10:49:16] Production.ERROR: pbx CDR StartTime 2025-03-09 07:49:04 - End Time 2025-03-09 10:49:04 [2025-03-09 10:49:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:49:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641679', 'tblTempUsageDetail_20' ) start [2025-03-09 10:49:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641679', 'tblTempUsageDetail_20' ) end [2025-03-09 10:49:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641679', 'tblTempVendorCDR_20' ) start [2025-03-09 10:49:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641679', 'tblTempVendorCDR_20' ) end [2025-03-09 10:49:16] Production.INFO: ProcessCDR(1,14641679,1,1,2) [2025-03-09 10:49:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641679', 'tblTempUsageDetail_20' ) start [2025-03-09 10:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641679', 'tblTempUsageDetail_20' ) end [2025-03-09 10:49:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:49:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:49:21] Production.INFO: ==9316== Releasing lock... [2025-03-09 10:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:49:21] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 14:50:02] Production.INFO: ==9373== Lock acquired, processing the job... [2025-03-09 14:50:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:50:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:50:02] Production.INFO: neon service started [2025-03-09 14:50:02] Production.INFO: neon service started [2025-03-09 14:50:02] Production.INFO: ==9373== Releasing lock... [2025-03-09 14:50:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:50:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:50:02] Production.INFO: ==9377== Lock acquired, processing the job... [2025-03-09 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:50:02] Production.INFO: ==9377== Releasing lock... [2025-03-09 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:50:02] Production.INFO: ==9375== Lock acquired, processing the job... [2025-03-09 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:50:03] Production.INFO: ==9375== Releasing lock... [2025-03-09 10:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:50:04] Production.INFO: ==9384== Lock acquired, processing the job... [2025-03-09 10:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:50:04] Production.INFO: ==9386== Lock acquired, processing the job... [2025-03-09 10:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:50:04] Production.INFO: ==9394== Lock acquired, processing the job... [2025-03-09 10:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:50:04] Production.INFO: ==9379== Lock acquired, processing the job... [2025-03-09 10:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 10:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:50:04] Production.INFO: ==9381== Lock acquired, processing the job... [2025-03-09 10:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 10:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 10:50:04] Production.ERROR: CronJob PID - 9381 [2025-03-09 10:50:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 10:50:04] Production.ERROR: CronJob ID - 5 [2025-03-09 10:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 10:50:00 [2025-03-09 10:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 10:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 10:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 10:50:04] Production.ERROR: CronJob PID - 9384 [2025-03-09 10:50:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 10:50:04] Production.ERROR: CronJob ID - 7 [2025-03-09 10:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 10:50:00 [2025-03-09 10:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 10:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 10:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 10:50:04] Production.ERROR: CronJob PID - 9386 [2025-03-09 10:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 10:50:04] Production.ERROR: CronJob ID - 10 [2025-03-09 10:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 10:50:00 [2025-03-09 10:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 10:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 10:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 10:50:04] Production.ERROR: CronJob PID - 9394 [2025-03-09 10:50:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 10:50:04] Production.ERROR: CronJob ID - 19 [2025-03-09 10:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 10:50:00 [2025-03-09 10:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 10:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 10:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 10:50:04] Production.INFO: ==9379== Releasing lock... [2025-03-09 10:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 10:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 10:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:50:04] Production.INFO: count ==13 [2025-03-09 10:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:50:04] Production.INFO: count ==21 [2025-03-09 10:50:04] Production.INFO: ==9388== Lock acquired, processing the job... [2025-03-09 10:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641681') start [2025-03-09 10:50:04] Production.INFO: ==9390== Lock acquired, processing the job... [2025-03-09 10:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:50:04] Production.INFO: ==9392== Lock acquired, processing the job... [2025-03-09 10:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 10:50:04] Production.INFO: ==9384== Releasing lock... [2025-03-09 10:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641681') end [2025-03-09 10:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:50:04] Production.INFO: 1 [2025-03-09 10:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:50:04] Production.INFO: Account Balance Start. [2025-03-09 10:50:04] Production.INFO: CreateAllLog Start [2025-03-09 10:50:04] Production.INFO: 117 [2025-03-09 10:50:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:50:04] Production.INFO: ==9394== Releasing lock... [2025-03-09 10:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:50:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:50:04] Production.INFO: Total Charge 0 [2025-03-09 10:50:04] Production.INFO: CreateAllLog End [2025-03-09 10:50:05] Production.ERROR: done [2025-03-09 10:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:50:05] Production.INFO: Account Balance End. [2025-03-09 10:50:05] Production.ERROR: done [2025-03-09 10:50:05] Production.ERROR: done [2025-03-09 10:50:05] Production.ERROR: CronJobId end 12 [2025-03-09 10:50:05] Production.INFO: ==9388== Releasing lock... [2025-03-09 10:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 10:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641684', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 10:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:50:06 [end_date_ymd] => 2025-03-09 10:50:06 [RateCDR] => 1 ) [2025-03-09 10:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:50:06' and `end` < '2025-03-09 10:50:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641684', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 10:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 10:50:09] Production.INFO: ProcessCDR(1,14641684,1,1,2) [2025-03-09 10:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14641684,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14641684,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:50:09] Production.INFO: ==9392== Releasing lock... [2025-03-09 10:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 10:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 10:50:13] Production.ERROR: CronJobId end10 [2025-03-09 10:50:13] Production.INFO: ==9386== Releasing lock... [2025-03-09 10:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:50:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:50:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:50:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:50:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:50:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:50:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:50:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:50:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:50:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:50:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:50:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:50:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:50:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:50:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:50:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:50:16] Production.INFO: call_cost start [2025-03-09 10:50:16] Production.INFO: call_cost end [2025-03-09 10:50:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:50:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:50:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:50:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:50:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:50:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:50:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:50:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:50:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:50:17] Production.INFO: ==9381== Releasing lock... [2025-03-09 10:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:50:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:50:18] Production.INFO: count ==197 [2025-03-09 10:50:18] Production.ERROR: pbx CDR StartTime 2025-03-09 07:50:06 - End Time 2025-03-09 10:50:06 [2025-03-09 10:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641685', 'tblTempUsageDetail_20' ) start [2025-03-09 10:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641685', 'tblTempUsageDetail_20' ) end [2025-03-09 10:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641685', 'tblTempVendorCDR_20' ) start [2025-03-09 10:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641685', 'tblTempVendorCDR_20' ) end [2025-03-09 10:50:18] Production.INFO: ProcessCDR(1,14641685,1,1,2) [2025-03-09 10:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641685', 'tblTempUsageDetail_20' ) start [2025-03-09 10:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641685', 'tblTempUsageDetail_20' ) end [2025-03-09 10:50:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:50:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:50:21] Production.INFO: ==9390== Releasing lock... [2025-03-09 10:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:50:21] Production.INFO: 29.25 MB #Memory Used# [2025-03-09 14:51:01] Production.INFO: ==9449== Lock acquired, processing the job... [2025-03-09 14:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:51:01] Production.INFO: neon service started [2025-03-09 14:51:01] Production.INFO: neon service started [2025-03-09 14:51:01] Production.INFO: ==9449== Releasing lock... [2025-03-09 14:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:51:01] Production.INFO: ==9451== Lock acquired, processing the job... [2025-03-09 10:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:51:02] Production.INFO: ==9451== Releasing lock... [2025-03-09 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:51:02] Production.INFO: ==9453== Lock acquired, processing the job... [2025-03-09 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:51:02] Production.INFO: ==9453== Releasing lock... [2025-03-09 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:51:03] Production.INFO: ==9464== Lock acquired, processing the job... [2025-03-09 10:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:51:03] Production.INFO: ==9466== Lock acquired, processing the job... [2025-03-09 10:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:51:03] Production.INFO: ==9455== Lock acquired, processing the job... [2025-03-09 10:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:51:03] Production.INFO: ==9457== Lock acquired, processing the job... [2025-03-09 10:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:51:03] Production.INFO: count ==13 [2025-03-09 10:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:51:03] Production.INFO: count ==21 [2025-03-09 10:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641686') start [2025-03-09 10:51:03] Production.INFO: ==9460== Lock acquired, processing the job... [2025-03-09 10:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:51:03] Production.INFO: ==9462== Lock acquired, processing the job... [2025-03-09 10:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641686') end [2025-03-09 10:51:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:51:03] Production.INFO: 1 [2025-03-09 10:51:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:51:03] Production.INFO: ==9466== Releasing lock... [2025-03-09 10:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:51:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:51:03] Production.ERROR: done [2025-03-09 10:51:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:51:03] Production.INFO: Account Balance Start. [2025-03-09 10:51:03] Production.INFO: CreateAllLog Start [2025-03-09 10:51:03] Production.INFO: 117 [2025-03-09 10:51:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:51:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:51:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:51:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:51:03] Production.INFO: Total Charge 0 [2025-03-09 10:51:03] Production.INFO: CreateAllLog End [2025-03-09 10:51:03] Production.INFO: ==9457== Releasing lock... [2025-03-09 10:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:51:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:51:03] Production.ERROR: done [2025-03-09 10:51:04] Production.INFO: Account Balance End. [2025-03-09 10:51:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:51:04] Production.INFO: ==9462== Releasing lock... [2025-03-09 10:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:51:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:51:04 [end_date_ymd] => 2025-03-09 10:51:04 [RateCDR] => 1 ) [2025-03-09 10:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:51:04' and `end` < '2025-03-09 10:51:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:51:13] Production.ERROR: CronJobId end10 [2025-03-09 10:51:13] Production.INFO: ==9460== Releasing lock... [2025-03-09 10:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:51:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:51:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:51:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:51:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:51:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:51:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:51:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:51:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:51:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:51:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:51:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:51:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:51:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:51:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:51:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:51:15] Production.INFO: call_cost start [2025-03-09 10:51:15] Production.INFO: call_cost end [2025-03-09 10:51:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:51:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:51:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:51:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:51:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:51:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:51:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:51:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:51:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:51:16] Production.INFO: ==9455== Releasing lock... [2025-03-09 10:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:51:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:51:16] Production.INFO: count ==218 [2025-03-09 10:51:16] Production.ERROR: pbx CDR StartTime 2025-03-09 07:51:04 - End Time 2025-03-09 10:51:04 [2025-03-09 10:51:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:51:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641690', 'tblTempUsageDetail_20' ) start [2025-03-09 10:51:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641690', 'tblTempUsageDetail_20' ) end [2025-03-09 10:51:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641690', 'tblTempVendorCDR_20' ) start [2025-03-09 10:51:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641690', 'tblTempVendorCDR_20' ) end [2025-03-09 10:51:16] Production.INFO: ProcessCDR(1,14641690,1,1,2) [2025-03-09 10:51:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641690', 'tblTempUsageDetail_20' ) start [2025-03-09 10:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641690', 'tblTempUsageDetail_20' ) end [2025-03-09 10:51:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:51:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:51:20] Production.INFO: ==9464== Releasing lock... [2025-03-09 10:51:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:51:20] Production.INFO: 29.5 MB #Memory Used# [2025-03-09 14:52:02] Production.INFO: ==9523== Lock acquired, processing the job... [2025-03-09 14:52:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:52:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:52:02] Production.INFO: neon service started [2025-03-09 14:52:02] Production.INFO: neon service started [2025-03-09 14:52:02] Production.INFO: ==9523== Releasing lock... [2025-03-09 14:52:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:52:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:52:02] Production.INFO: ==9525== Lock acquired, processing the job... [2025-03-09 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:52:02] Production.INFO: ==9527== Lock acquired, processing the job... [2025-03-09 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 10:52:02] Production.INFO: ==9525== Releasing lock... [2025-03-09 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:52:02] Production.INFO: ==9527== Releasing lock... [2025-03-09 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:52:03] Production.INFO: ==9529== Lock acquired, processing the job... [2025-03-09 10:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:52:03] Production.INFO: ==9531== Lock acquired, processing the job... [2025-03-09 10:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:52:03] Production.INFO: ==9533== Lock acquired, processing the job... [2025-03-09 10:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:52:04] Production.INFO: ==9535== Lock acquired, processing the job... [2025-03-09 10:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:52:04] Production.INFO: ==9538== Lock acquired, processing the job... [2025-03-09 10:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:52:04] Production.INFO: ==9540== Lock acquired, processing the job... [2025-03-09 10:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:52:04] Production.INFO: ==9531== Releasing lock... [2025-03-09 10:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 10:52:04] Production.INFO: Account Balance Start. [2025-03-09 10:52:04] Production.INFO: CreateAllLog Start [2025-03-09 10:52:04] Production.INFO: count ==13 [2025-03-09 10:52:04] Production.INFO: 117 [2025-03-09 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-09 10:52:04] Production.INFO: count ==21 [2025-03-09 10:52:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641693') start [2025-03-09 10:52:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:52:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:52:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:52:04] Production.INFO: Total Charge 0 [2025-03-09 10:52:04] Production.INFO: CreateAllLog End [2025-03-09 10:52:04] Production.ERROR: done [2025-03-09 10:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641693') end [2025-03-09 10:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:52:04] Production.INFO: 1 [2025-03-09 10:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:52:04] Production.INFO: ==9540== Releasing lock... [2025-03-09 10:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:52:04] Production.INFO: Account Balance End. [2025-03-09 10:52:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:52:04] Production.INFO: ==9535== Releasing lock... [2025-03-09 10:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:52:04] Production.ERROR: done [2025-03-09 10:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:52:05 [end_date_ymd] => 2025-03-09 10:52:05 [RateCDR] => 1 ) [2025-03-09 10:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:52:05' and `end` < '2025-03-09 10:52:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:52:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array) #2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure)) #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure)) #4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select() #5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount() #6 [internal function]: App\Console\Commands\CreateSummaryLive->handle() #7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 {main} Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateUnbilledAmount(1,2025-03-09 23:59:59))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure)) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure)) #2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select() #3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount() #4 [internal function]: App\Console\Commands\CreateSummaryLive->handle() #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #14 {main} [2025-03-09 10:52:11] Production.ERROR: CronJobId end10 [2025-03-09 10:52:11] Production.INFO: ==9533== Releasing lock... [2025-03-09 10:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:52:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:52:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:52:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:52:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:52:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:52:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:52:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:52:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:52:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:52:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:52:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:52:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:52:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:52:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:52:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:52:14] Production.INFO: call_cost start [2025-03-09 10:52:14] Production.INFO: call_cost end [2025-03-09 10:52:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:52:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:52:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:52:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:52:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:52:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:52:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:52:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:52:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:52:15] Production.INFO: ==9529== Releasing lock... [2025-03-09 10:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:52:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:52:17] Production.INFO: count ==219 [2025-03-09 10:52:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:52:05 - End Time 2025-03-09 10:52:05 [2025-03-09 10:52:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641695', 'tblTempUsageDetail_20' ) start [2025-03-09 10:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641695', 'tblTempUsageDetail_20' ) end [2025-03-09 10:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641695', 'tblTempVendorCDR_20' ) start [2025-03-09 10:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641695', 'tblTempVendorCDR_20' ) end [2025-03-09 10:52:17] Production.INFO: ProcessCDR(1,14641695,1,1,2) [2025-03-09 10:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641695', 'tblTempUsageDetail_20' ) start [2025-03-09 10:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641695', 'tblTempUsageDetail_20' ) end [2025-03-09 10:52:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:52:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:52:22] Production.INFO: ==9538== Releasing lock... [2025-03-09 10:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:52:22] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 14:53:01] Production.INFO: ==9593== Lock acquired, processing the job... [2025-03-09 14:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:53:01] Production.INFO: neon service started [2025-03-09 14:53:01] Production.INFO: neon service started [2025-03-09 14:53:01] Production.INFO: ==9593== Releasing lock... [2025-03-09 14:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:53:02] Production.INFO: ==9595== Lock acquired, processing the job... [2025-03-09 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:53:02] Production.INFO: ==9597== Lock acquired, processing the job... [2025-03-09 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:53:02] Production.INFO: ==9597== Releasing lock... [2025-03-09 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:53:02] Production.INFO: ==9595== Releasing lock... [2025-03-09 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:53:03] Production.INFO: ==9600== Lock acquired, processing the job... [2025-03-09 10:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:53:03] Production.INFO: ==9602== Lock acquired, processing the job... [2025-03-09 10:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:53:03] Production.INFO: ==9604== Lock acquired, processing the job... [2025-03-09 10:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:53:03] Production.INFO: ==9608== Lock acquired, processing the job... [2025-03-09 10:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:53:03] Production.INFO: ==9606== Lock acquired, processing the job... [2025-03-09 10:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:53:03] Production.INFO: ==9610== Lock acquired, processing the job... [2025-03-09 10:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:53:03] Production.INFO: Account Balance Start. [2025-03-09 10:53:03] Production.INFO: CreateAllLog Start [2025-03-09 10:53:03] Production.INFO: 117 [2025-03-09 10:53:03] Production.INFO: ==9602== Releasing lock... [2025-03-09 10:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:53:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:53:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:53:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:53:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:53:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:53:04] Production.ERROR: done [2025-03-09 10:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:53:04] Production.INFO: Total Charge 0 [2025-03-09 10:53:04] Production.INFO: CreateAllLog End [2025-03-09 10:53:04] Production.INFO: count ==13 [2025-03-09 10:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:53:04] Production.INFO: count ==21 [2025-03-09 10:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641699') start [2025-03-09 10:53:04] Production.ERROR: done [2025-03-09 10:53:04] Production.INFO: Account Balance End. [2025-03-09 10:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641699') end [2025-03-09 10:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:53:04] Production.INFO: 1 [2025-03-09 10:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:53:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:53:04] Production.INFO: ==9606== Releasing lock... [2025-03-09 10:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:53:04] Production.INFO: ==9610== Releasing lock... [2025-03-09 10:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:53:05 [end_date_ymd] => 2025-03-09 10:53:05 [RateCDR] => 1 ) [2025-03-09 10:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:53:05' and `end` < '2025-03-09 10:53:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:53:11] Production.ERROR: CronJobId end10 [2025-03-09 10:53:11] Production.INFO: ==9604== Releasing lock... [2025-03-09 10:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:53:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:53:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:53:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:53:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:53:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:53:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:53:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:53:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:53:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:53:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:53:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:53:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:53:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:53:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:53:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:53:14] Production.INFO: call_cost start [2025-03-09 10:53:14] Production.INFO: call_cost end [2025-03-09 10:53:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:53:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:53:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:53:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:53:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:53:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:53:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:53:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:53:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:53:15] Production.INFO: ==9600== Releasing lock... [2025-03-09 10:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:53:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:53:17] Production.INFO: count ==219 [2025-03-09 10:53:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:53:05 - End Time 2025-03-09 10:53:05 [2025-03-09 10:53:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641700', 'tblTempUsageDetail_20' ) start [2025-03-09 10:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641700', 'tblTempUsageDetail_20' ) end [2025-03-09 10:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641700', 'tblTempVendorCDR_20' ) start [2025-03-09 10:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641700', 'tblTempVendorCDR_20' ) end [2025-03-09 10:53:17] Production.INFO: ProcessCDR(1,14641700,1,1,2) [2025-03-09 10:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:53:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641700', 'tblTempUsageDetail_20' ) start [2025-03-09 10:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641700', 'tblTempUsageDetail_20' ) end [2025-03-09 10:53:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:53:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:53:20] Production.INFO: ==9608== Releasing lock... [2025-03-09 10:53:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:53:20] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 14:54:02] Production.INFO: ==9664== Lock acquired, processing the job... [2025-03-09 14:54:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:54:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:54:02] Production.INFO: neon service started [2025-03-09 14:54:02] Production.INFO: neon service started [2025-03-09 14:54:02] Production.INFO: ==9664== Releasing lock... [2025-03-09 14:54:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:54:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:54:02] Production.INFO: ==9668== Lock acquired, processing the job... [2025-03-09 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:54:02] Production.INFO: ==9668== Releasing lock... [2025-03-09 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:54:02] Production.INFO: ==9666== Lock acquired, processing the job... [2025-03-09 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:54:03] Production.INFO: ==9666== Releasing lock... [2025-03-09 10:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:54:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:54:03] Production.INFO: ==9677== Lock acquired, processing the job... [2025-03-09 10:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:54:04] Production.INFO: ==9671== Lock acquired, processing the job... [2025-03-09 10:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:54:04] Production.INFO: ==9679== Lock acquired, processing the job... [2025-03-09 10:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:54:04] Production.INFO: Account Balance Start. [2025-03-09 10:54:04] Production.INFO: CreateAllLog Start [2025-03-09 10:54:04] Production.INFO: 117 [2025-03-09 10:54:04] Production.INFO: ==9675== Lock acquired, processing the job... [2025-03-09 10:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:54:04] Production.INFO: ==9673== Lock acquired, processing the job... [2025-03-09 10:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:54:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:54:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:54:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:54:04] Production.INFO: Total Charge 0 [2025-03-09 10:54:04] Production.INFO: CreateAllLog End [2025-03-09 10:54:04] Production.INFO: ==9681== Lock acquired, processing the job... [2025-03-09 10:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:54:04] Production.ERROR: done [2025-03-09 10:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:54:04] Production.INFO: ==9673== Releasing lock... [2025-03-09 10:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:54:04] Production.INFO: Account Balance End. [2025-03-09 10:54:04] Production.INFO: count ==13 [2025-03-09 10:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:54:04] Production.INFO: count ==21 [2025-03-09 10:54:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:54:04] Production.INFO: ==9677== Releasing lock... [2025-03-09 10:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641704') start [2025-03-09 10:54:04] Production.ERROR: done [2025-03-09 10:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641704') end [2025-03-09 10:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:54:04] Production.INFO: 1 [2025-03-09 10:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:54:04] Production.INFO: ==9681== Releasing lock... [2025-03-09 10:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:54:05 [end_date_ymd] => 2025-03-09 10:54:05 [RateCDR] => 1 ) [2025-03-09 10:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:54:05' and `end` < '2025-03-09 10:54:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:54:12] Production.ERROR: CronJobId end10 [2025-03-09 10:54:12] Production.INFO: ==9675== Releasing lock... [2025-03-09 10:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:54:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:54:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:54:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:54:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:54:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:54:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:54:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:54:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:54:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:54:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:54:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:54:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:54:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:54:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:54:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:54:14] Production.INFO: call_cost start [2025-03-09 10:54:14] Production.INFO: call_cost end [2025-03-09 10:54:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:54:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:54:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:54:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:54:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:54:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:54:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:54:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:54:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:54:15] Production.INFO: ==9671== Releasing lock... [2025-03-09 10:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:54:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:54:18] Production.INFO: count ==219 [2025-03-09 10:54:18] Production.ERROR: pbx CDR StartTime 2025-03-09 07:54:05 - End Time 2025-03-09 10:54:05 [2025-03-09 10:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641705', 'tblTempUsageDetail_20' ) start [2025-03-09 10:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641705', 'tblTempUsageDetail_20' ) end [2025-03-09 10:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641705', 'tblTempVendorCDR_20' ) start [2025-03-09 10:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641705', 'tblTempVendorCDR_20' ) end [2025-03-09 10:54:18] Production.INFO: ProcessCDR(1,14641705,1,1,2) [2025-03-09 10:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641705', 'tblTempUsageDetail_20' ) start [2025-03-09 10:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641705', 'tblTempUsageDetail_20' ) end [2025-03-09 10:54:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:54:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:54:21] Production.INFO: ==9679== Releasing lock... [2025-03-09 10:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:54:21] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 14:55:01] Production.INFO: ==9733== Lock acquired, processing the job... [2025-03-09 14:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:55:01] Production.INFO: neon service started [2025-03-09 14:55:01] Production.INFO: neon service started [2025-03-09 14:55:01] Production.INFO: ==9733== Releasing lock... [2025-03-09 14:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:55:01] Production.INFO: ==9735== Lock acquired, processing the job... [2025-03-09 10:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:55:02] Production.INFO: ==9735== Releasing lock... [2025-03-09 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:55:02] Production.INFO: ==9737== Lock acquired, processing the job... [2025-03-09 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:55:02] Production.INFO: ==9737== Releasing lock... [2025-03-09 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:55:03] Production.INFO: ==9743== Lock acquired, processing the job... [2025-03-09 10:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:55:03] Production.INFO: ==9747== Lock acquired, processing the job... [2025-03-09 10:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:55:03] Production.INFO: ==9739== Lock acquired, processing the job... [2025-03-09 10:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:55:03] Production.INFO: ==9741== Lock acquired, processing the job... [2025-03-09 10:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:55:03] Production.INFO: ==9745== Lock acquired, processing the job... [2025-03-09 10:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:55:03] Production.INFO: ==9749== Lock acquired, processing the job... [2025-03-09 10:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:55:03] Production.INFO: Account Balance Start. [2025-03-09 10:55:03] Production.INFO: CreateAllLog Start [2025-03-09 10:55:03] Production.INFO: 117 [2025-03-09 10:55:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:55:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:55:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:55:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:55:03] Production.INFO: Total Charge 0 [2025-03-09 10:55:03] Production.INFO: CreateAllLog End [2025-03-09 10:55:03] Production.INFO: count ==13 [2025-03-09 10:55:03] Production.INFO: ==9741== Releasing lock... [2025-03-09 10:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:55:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:55:03] Production.INFO: count ==21 [2025-03-09 10:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641709') start [2025-03-09 10:55:03] Production.ERROR: done [2025-03-09 10:55:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641709') end [2025-03-09 10:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:55:04] Production.INFO: 1 [2025-03-09 10:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:55:04] Production.INFO: Account Balance End. [2025-03-09 10:55:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:55:04] Production.INFO: ==9745== Releasing lock... [2025-03-09 10:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:55:04] Production.INFO: ==9749== Releasing lock... [2025-03-09 10:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:55:04] Production.ERROR: done [2025-03-09 10:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:55:05 [end_date_ymd] => 2025-03-09 10:55:05 [RateCDR] => 1 ) [2025-03-09 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-09 07:55:05' and `end` < '2025-03-09 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-09 10:55:11] Production.ERROR: CronJobId end10 [2025-03-09 10:55:11] Production.INFO: ==9743== Releasing lock... [2025-03-09 10:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:55:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:55:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:55:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:55:14] Production.INFO: call_cost start [2025-03-09 10:55:14] Production.INFO: call_cost end [2025-03-09 10:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:55:15] Production.INFO: ==9739== Releasing lock... [2025-03-09 10:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:55:17] Production.INFO: count ==223 [2025-03-09 10:55:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:55:05 - End Time 2025-03-09 10:55:05 [2025-03-09 10:55:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641710', 'tblTempUsageDetail_20' ) start [2025-03-09 10:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641710', 'tblTempUsageDetail_20' ) end [2025-03-09 10:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641710', 'tblTempVendorCDR_20' ) start [2025-03-09 10:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641710', 'tblTempVendorCDR_20' ) end [2025-03-09 10:55:17] Production.INFO: ProcessCDR(1,14641710,1,1,2) [2025-03-09 10:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641710', 'tblTempUsageDetail_20' ) start [2025-03-09 10:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641710', 'tblTempUsageDetail_20' ) end [2025-03-09 10:55:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:55:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:55:22] Production.INFO: ==9747== Releasing lock... [2025-03-09 10:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:55:22] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 14:56:01] Production.INFO: ==9803== Lock acquired, processing the job... [2025-03-09 14:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:56:01] Production.INFO: neon service started [2025-03-09 14:56:01] Production.INFO: neon service started [2025-03-09 14:56:01] Production.INFO: ==9803== Releasing lock... [2025-03-09 14:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:56:02] Production.INFO: ==9805== Lock acquired, processing the job... [2025-03-09 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:56:02] Production.INFO: ==9805== Releasing lock... [2025-03-09 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:56:02] Production.INFO: ==9807== Lock acquired, processing the job... [2025-03-09 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:56:02] Production.INFO: ==9807== Releasing lock... [2025-03-09 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:56:03] Production.INFO: ==9814== Lock acquired, processing the job... [2025-03-09 10:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:56:03] Production.INFO: ==9816== Lock acquired, processing the job... [2025-03-09 10:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:56:03] Production.INFO: ==9810== Lock acquired, processing the job... [2025-03-09 10:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:56:03] Production.INFO: Account Balance Start. [2025-03-09 10:56:03] Production.INFO: CreateAllLog Start [2025-03-09 10:56:03] Production.INFO: 117 [2025-03-09 10:56:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:56:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:56:03] Production.INFO: ==9812== Lock acquired, processing the job... [2025-03-09 10:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:56:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:56:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:56:03] Production.INFO: Total Charge 0 [2025-03-09 10:56:03] Production.INFO: CreateAllLog End [2025-03-09 10:56:04] Production.INFO: ==9818== Lock acquired, processing the job... [2025-03-09 10:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:56:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:56:04] Production.INFO: ==9820== Lock acquired, processing the job... [2025-03-09 10:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:56:04] Production.INFO: Account Balance End. [2025-03-09 10:56:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:56:04] Production.INFO: ==9816== Releasing lock... [2025-03-09 10:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:56:04] Production.INFO: ==9812== Releasing lock... [2025-03-09 10:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:56:04] Production.INFO: count ==13 [2025-03-09 10:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:56:04] Production.INFO: count ==21 [2025-03-09 10:56:04] Production.ERROR: done [2025-03-09 10:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641714') start [2025-03-09 10:56:04] Production.ERROR: done [2025-03-09 10:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641714') end [2025-03-09 10:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:56:04] Production.INFO: 1 [2025-03-09 10:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:56:04] Production.INFO: ==9820== Releasing lock... [2025-03-09 10:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:56:05 [end_date_ymd] => 2025-03-09 10:56:05 [RateCDR] => 1 ) [2025-03-09 10:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:56:05' and `end` < '2025-03-09 10:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:56:12] Production.ERROR: CronJobId end10 [2025-03-09 10:56:12] Production.INFO: ==9814== Releasing lock... [2025-03-09 10:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:56:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:56:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:56:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:56:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:56:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:56:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:56:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:56:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:56:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:56:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:56:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:56:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:56:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:56:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:56:15] Production.INFO: call_cost start [2025-03-09 10:56:15] Production.INFO: call_cost end [2025-03-09 10:56:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:56:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:56:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:56:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:56:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:56:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:56:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:56:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:56:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:56:16] Production.INFO: ==9810== Releasing lock... [2025-03-09 10:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:56:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:56:17] Production.INFO: count ==223 [2025-03-09 10:56:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:56:05 - End Time 2025-03-09 10:56:05 [2025-03-09 10:56:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641715', 'tblTempUsageDetail_20' ) start [2025-03-09 10:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641715', 'tblTempUsageDetail_20' ) end [2025-03-09 10:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641715', 'tblTempVendorCDR_20' ) start [2025-03-09 10:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641715', 'tblTempVendorCDR_20' ) end [2025-03-09 10:56:17] Production.INFO: ProcessCDR(1,14641715,1,1,2) [2025-03-09 10:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:56:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641715', 'tblTempUsageDetail_20' ) start [2025-03-09 10:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641715', 'tblTempUsageDetail_20' ) end [2025-03-09 10:56:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:56:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:56:20] Production.INFO: ==9818== Releasing lock... [2025-03-09 10:56:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:56:20] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 14:57:01] Production.INFO: ==9874== Lock acquired, processing the job... [2025-03-09 14:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:57:01] Production.INFO: neon service started [2025-03-09 14:57:01] Production.INFO: neon service started [2025-03-09 14:57:01] Production.INFO: ==9874== Releasing lock... [2025-03-09 14:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:57:01] Production.INFO: ==9876== Lock acquired, processing the job... [2025-03-09 10:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:57:02] Production.INFO: ==9876== Releasing lock... [2025-03-09 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:57:02] Production.INFO: ==9878== Lock acquired, processing the job... [2025-03-09 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:57:02] Production.INFO: ==9878== Releasing lock... [2025-03-09 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:57:03] Production.INFO: ==9880== Lock acquired, processing the job... [2025-03-09 10:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:57:03] Production.INFO: ==9889== Lock acquired, processing the job... [2025-03-09 10:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:57:03] Production.INFO: ==9891== Lock acquired, processing the job... [2025-03-09 10:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:57:03] Production.INFO: count ==13 [2025-03-09 10:57:03] Production.INFO: ==9883== Lock acquired, processing the job... [2025-03-09 10:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:57:03] Production.INFO: ==9885== Lock acquired, processing the job... [2025-03-09 10:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:57:03] Production.INFO: count ==21 [2025-03-09 10:57:03] Production.INFO: ==9887== Lock acquired, processing the job... [2025-03-09 10:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641717') start [2025-03-09 10:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641717') end [2025-03-09 10:57:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:57:03] Production.INFO: 1 [2025-03-09 10:57:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:57:03] Production.INFO: Account Balance Start. [2025-03-09 10:57:03] Production.INFO: CreateAllLog Start [2025-03-09 10:57:03] Production.INFO: 117 [2025-03-09 10:57:03] Production.INFO: ==9891== Releasing lock... [2025-03-09 10:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:57:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:57:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:57:03] Production.ERROR: done [2025-03-09 10:57:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:57:03] Production.INFO: ==9883== Releasing lock... [2025-03-09 10:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:57:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:57:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:57:03] Production.INFO: Total Charge 0 [2025-03-09 10:57:03] Production.ERROR: done [2025-03-09 10:57:04] Production.INFO: CreateAllLog End [2025-03-09 10:57:04] Production.INFO: Account Balance End. [2025-03-09 10:57:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:57:04] Production.INFO: ==9887== Releasing lock... [2025-03-09 10:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:57:05 [end_date_ymd] => 2025-03-09 10:57:05 [RateCDR] => 1 ) [2025-03-09 10:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:57:05' and `end` < '2025-03-09 10:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:57:11] Production.ERROR: CronJobId end10 [2025-03-09 10:57:11] Production.INFO: ==9885== Releasing lock... [2025-03-09 10:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:57:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:57:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:57:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:57:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:57:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:57:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:57:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:57:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:57:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:57:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:57:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:57:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:57:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:57:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:57:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:57:13] Production.INFO: call_cost start [2025-03-09 10:57:13] Production.INFO: call_cost end [2025-03-09 10:57:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:57:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:57:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:57:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:57:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:57:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:57:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:57:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:57:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:57:14] Production.INFO: ==9880== Releasing lock... [2025-03-09 10:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:57:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:57:17] Production.INFO: count ==226 [2025-03-09 10:57:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:57:05 - End Time 2025-03-09 10:57:05 [2025-03-09 10:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641720', 'tblTempUsageDetail_20' ) start [2025-03-09 10:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641720', 'tblTempUsageDetail_20' ) end [2025-03-09 10:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641720', 'tblTempVendorCDR_20' ) start [2025-03-09 10:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641720', 'tblTempVendorCDR_20' ) end [2025-03-09 10:57:17] Production.INFO: ProcessCDR(1,14641720,1,1,2) [2025-03-09 10:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641720', 'tblTempUsageDetail_20' ) start [2025-03-09 10:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641720', 'tblTempUsageDetail_20' ) end [2025-03-09 10:57:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:57:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:57:20] Production.INFO: ==9889== Releasing lock... [2025-03-09 10:57:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:57:20] Production.INFO: 29.5 MB #Memory Used# [2025-03-09 14:58:01] Production.INFO: ==9947== Lock acquired, processing the job... [2025-03-09 14:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:58:01] Production.INFO: neon service started [2025-03-09 14:58:01] Production.INFO: neon service started [2025-03-09 14:58:02] Production.INFO: ==9947== Releasing lock... [2025-03-09 14:58:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:58:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 10:58:02] Production.INFO: ==9949== Lock acquired, processing the job... [2025-03-09 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:58:02] Production.INFO: ==9951== Lock acquired, processing the job... [2025-03-09 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:58:02] Production.INFO: ==9951== Releasing lock... [2025-03-09 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:58:02] Production.INFO: ==9949== Releasing lock... [2025-03-09 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:58:03] Production.INFO: ==9954== Lock acquired, processing the job... [2025-03-09 10:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:58:03] Production.INFO: ==9956== Lock acquired, processing the job... [2025-03-09 10:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:58:03] Production.INFO: ==9960== Lock acquired, processing the job... [2025-03-09 10:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:58:03] Production.INFO: Account Balance Start. [2025-03-09 10:58:03] Production.INFO: CreateAllLog Start [2025-03-09 10:58:03] Production.INFO: 117 [2025-03-09 10:58:04] Production.INFO: Date 2025-03-08 [2025-03-09 10:58:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:58:04] Production.INFO: Date 2025-03-09 [2025-03-09 10:58:04] Production.INFO: Reseller ==> 0 [2025-03-09 10:58:04] Production.INFO: Total Charge 0 [2025-03-09 10:58:04] Production.INFO: CreateAllLog End [2025-03-09 10:58:04] Production.INFO: ==9958== Lock acquired, processing the job... [2025-03-09 10:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:58:04] Production.INFO: ==9964== Lock acquired, processing the job... [2025-03-09 10:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:58:04] Production.INFO: ==9962== Lock acquired, processing the job... [2025-03-09 10:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:58:04] Production.INFO: Account Balance End. [2025-03-09 10:58:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:58:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:58:04] Production.INFO: ==9960== Releasing lock... [2025-03-09 10:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:58:04] Production.INFO: ==9956== Releasing lock... [2025-03-09 10:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:58:04] Production.INFO: count ==13 [2025-03-09 10:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:58:04] Production.INFO: count ==21 [2025-03-09 10:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641724') start [2025-03-09 10:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641724') end [2025-03-09 10:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:58:04] Production.INFO: 1 [2025-03-09 10:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:58:04] Production.INFO: ==9964== Releasing lock... [2025-03-09 10:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:58:04] Production.ERROR: done [2025-03-09 10:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:58:04] Production.ERROR: done [2025-03-09 10:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:58:05 [end_date_ymd] => 2025-03-09 10:58:05 [RateCDR] => 1 ) [2025-03-09 10:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:58:05' and `end` < '2025-03-09 10:58:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:58:11] Production.ERROR: CronJobId end10 [2025-03-09 10:58:11] Production.INFO: ==9958== Releasing lock... [2025-03-09 10:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:58:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:58:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:58:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:58:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:58:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:58:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:58:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:58:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:58:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:58:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:58:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:58:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:58:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:58:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:58:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:58:13] Production.INFO: call_cost start [2025-03-09 10:58:13] Production.INFO: call_cost end [2025-03-09 10:58:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:58:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:58:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:58:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:58:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:58:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:58:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:58:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:58:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:58:14] Production.INFO: ==9954== Releasing lock... [2025-03-09 10:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:58:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:58:17] Production.INFO: count ==224 [2025-03-09 10:58:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:58:05 - End Time 2025-03-09 10:58:05 [2025-03-09 10:58:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641725', 'tblTempUsageDetail_20' ) start [2025-03-09 10:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641725', 'tblTempUsageDetail_20' ) end [2025-03-09 10:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641725', 'tblTempVendorCDR_20' ) start [2025-03-09 10:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641725', 'tblTempVendorCDR_20' ) end [2025-03-09 10:58:17] Production.INFO: ProcessCDR(1,14641725,1,1,2) [2025-03-09 10:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641725', 'tblTempUsageDetail_20' ) start [2025-03-09 10:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641725', 'tblTempUsageDetail_20' ) end [2025-03-09 10:58:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:58:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:58:21] Production.INFO: ==9962== Releasing lock... [2025-03-09 10:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:58:21] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 14:59:01] Production.INFO: ==10018== Lock acquired, processing the job... [2025-03-09 14:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 14:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 14:59:01] Production.INFO: neon service started [2025-03-09 14:59:01] Production.INFO: neon service started [2025-03-09 14:59:01] Production.INFO: ==10018== Releasing lock... [2025-03-09 14:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 14:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:59:01] Production.INFO: ==10022== Lock acquired, processing the job... [2025-03-09 14:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:59:01] Production.INFO: ==10022== Releasing lock... [2025-03-09 14:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 14:59:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 10:59:01] Production.INFO: ==10020== Lock acquired, processing the job... [2025-03-09 10:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 10:59:02] Production.INFO: ==10020== Releasing lock... [2025-03-09 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 10:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 10:59:02] Production.INFO: ==10024== Lock acquired, processing the job... [2025-03-09 10:59:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 10:59:02] Production.INFO: ==10026== Lock acquired, processing the job... [2025-03-09 10:59:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 10:59:02] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 10:59:03] Production.INFO: ==10030== Lock acquired, processing the job... [2025-03-09 10:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 10:59:03] Production.INFO: ==10028== Lock acquired, processing the job... [2025-03-09 10:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 10:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 10:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 10:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 10:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 10:59:03] Production.INFO: Account Balance Start. [2025-03-09 10:59:03] Production.INFO: CreateAllLog Start [2025-03-09 10:59:03] Production.INFO: 117 [2025-03-09 10:59:03] Production.INFO: Date 2025-03-08 [2025-03-09 10:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:59:03] Production.INFO: ==10032== Lock acquired, processing the job... [2025-03-09 10:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 10:59:03] Production.INFO: ==10026== Releasing lock... [2025-03-09 10:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 10:59:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 10:59:03] Production.INFO: Date 2025-03-09 [2025-03-09 10:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 10:59:03] Production.INFO: Total Charge 0 [2025-03-09 10:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 10:59:03] Production.INFO: CreateAllLog End [2025-03-09 10:59:03] Production.INFO: ==10035== Lock acquired, processing the job... [2025-03-09 10:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 10:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:59:03] Production.INFO: count ==13 [2025-03-09 10:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 10:59:03] Production.INFO: count ==21 [2025-03-09 10:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641729') start [2025-03-09 10:59:03] Production.ERROR: done [2025-03-09 10:59:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 10:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641729') end [2025-03-09 10:59:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 10:59:03] Production.INFO: 1 [2025-03-09 10:59:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 10:59:04] Production.INFO: Account Balance End. [2025-03-09 10:59:04] Production.INFO: ==10035== Releasing lock... [2025-03-09 10:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 10:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 10:59:04] Production.ERROR: CronJobId end 12 [2025-03-09 10:59:04] Production.INFO: ==10030== Releasing lock... [2025-03-09 10:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 10:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 10:59:04] Production.ERROR: done [2025-03-09 10:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 07:59:05 [end_date_ymd] => 2025-03-09 10:59:05 [RateCDR] => 1 ) [2025-03-09 10:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 07:59:05' and `end` < '2025-03-09 10:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 10:59:11] Production.ERROR: CronJobId end10 [2025-03-09 10:59:11] Production.INFO: ==10028== Releasing lock... [2025-03-09 10:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 10:59:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 10:59:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 10:59:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 10:59:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 10:59:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 10:59:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 10:59:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 10:59:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 10:59:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 10:59:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 10:59:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 10:59:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 10:59:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 10:59:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 10:59:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 10:59:13] Production.INFO: call_cost start [2025-03-09 10:59:13] Production.INFO: call_cost end [2025-03-09 10:59:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 10:59:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 10:59:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 10:59:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 10:59:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 10:59:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 10:59:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 10:59:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 10:59:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 10:59:14] Production.INFO: ==10024== Releasing lock... [2025-03-09 10:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 10:59:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 10:59:17] Production.INFO: count ==227 [2025-03-09 10:59:17] Production.ERROR: pbx CDR StartTime 2025-03-09 07:59:05 - End Time 2025-03-09 10:59:05 [2025-03-09 10:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 10:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641730', 'tblTempUsageDetail_20' ) start [2025-03-09 10:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641730', 'tblTempUsageDetail_20' ) end [2025-03-09 10:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641730', 'tblTempVendorCDR_20' ) start [2025-03-09 10:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641730', 'tblTempVendorCDR_20' ) end [2025-03-09 10:59:17] Production.INFO: ProcessCDR(1,14641730,1,1,2) [2025-03-09 10:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 10:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 10:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641730', 'tblTempUsageDetail_20' ) start [2025-03-09 10:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641730', 'tblTempUsageDetail_20' ) end [2025-03-09 10:59:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 10:59:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 10:59:20] Production.INFO: ==10032== Releasing lock... [2025-03-09 10:59:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 10:59:20] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 15:00:01] Production.INFO: ==10132== Lock acquired, processing the job... [2025-03-09 15:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:00:01] Production.INFO: neon service started [2025-03-09 15:00:01] Production.INFO: neon service started [2025-03-09 15:00:01] Production.INFO: ==10132== Releasing lock... [2025-03-09 15:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:00:02] Production.INFO: ==10136== Lock acquired, processing the job... [2025-03-09 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:00:02] Production.INFO: ==10134== Lock acquired, processing the job... [2025-03-09 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:00:02] Production.INFO: ==10136== Releasing lock... [2025-03-09 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:00:02] Production.INFO: ==10134== Releasing lock... [2025-03-09 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:00:04] Production.INFO: ==10143== Lock acquired, processing the job... [2025-03-09 11:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:00:04] Production.INFO: ==10149== Lock acquired, processing the job... [2025-03-09 11:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:00:04] Production.INFO: ==10139== Lock acquired, processing the job... [2025-03-09 11:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 11:00:04] Production.INFO: ==10141== Lock acquired, processing the job... [2025-03-09 11:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:00:04] Production.INFO: Account Balance Start. [2025-03-09 11:00:04] Production.INFO: CreateAllLog Start [2025-03-09 11:00:04] Production.INFO: 117 [2025-03-09 11:00:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:00:04] Production.INFO: ==10145== Lock acquired, processing the job... [2025-03-09 11:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:00:04] Production.INFO: ==10153== Lock acquired, processing the job... [2025-03-09 11:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 11:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 11:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 11:00:04] Production.ERROR: CronJob PID - 10141 [2025-03-09 11:00:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 11:00:04] Production.ERROR: CronJob ID - 5 [2025-03-09 11:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 11:00:00 [2025-03-09 11:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 11:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 11:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 11:00:04] Production.ERROR: CronJob PID - 10149 [2025-03-09 11:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 11:00:04] Production.ERROR: CronJob ID - 12 [2025-03-09 11:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 11:00:00 [2025-03-09 11:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 11:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 11:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 11:00:04] Production.INFO: ==10139== Releasing lock... [2025-03-09 11:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 11:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 11:00:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:00:04] Production.INFO: ==10147== Lock acquired, processing the job... [2025-03-09 11:00:04] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts# [2025-03-09 11:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:00:04] Production.INFO: Total Charge 0 [2025-03-09 11:00:04] Production.INFO: ==10155== Lock acquired, processing the job... [2025-03-09 11:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:00:04] Production.INFO: ==10143== Releasing lock... [2025-03-09 11:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:00:04] Production.INFO: CreateAllLog End [2025-03-09 11:00:04] Production.INFO: ==10151== Lock acquired, processing the job... [2025-03-09 11:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:00:04] Production.INFO: count ==13 [2025-03-09 11:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:00:04] Production.INFO: count ==21 [2025-03-09 11:00:05] Production.ERROR: done [2025-03-09 11:00:05] Production.INFO: Account Balance End. [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' ) [2025-03-09 11:00:05] Production.ERROR: CronJobId end 12 [2025-03-09 11:00:05] Production.INFO: ==10149== Releasing lock... [2025-03-09 11:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14641734') start [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' ) [2025-03-09 11:00:05] Production.INFO: PaymentPendingInvoice Count - 1 [2025-03-09 11:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 11:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641735', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 11:00:05] Production.INFO: Outstanding Amount 26.69 [2025-03-09 11:00:05] Production.INFO: Invoice Full Number INV11670 [2025-03-09 11:00:05] Production.INFO: Transaction start [2025-03-09 11:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14641734') end [2025-03-09 11:00:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:00:05] Production.INFO: 1 [2025-03-09 11:00:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:00:05] Production.ERROR: done [2025-03-09 11:00:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:00:05] Production.INFO: ==10155== Releasing lock... [2025-03-09 11:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:00:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:00:05] Production.ERROR: done [2025-03-09 11:00:06] Production.INFO: Transaction end [2025-03-09 11:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:00:06 [end_date_ymd] => 2025-03-09 11:00:06 [RateCDR] => 1 ) [2025-03-09 11:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:00:06' and `end` < '2025-03-09 11:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641735', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 11:00:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 11:00:08] Production.INFO: ProcessCDR(1,14641735,1,1,2) [2025-03-09 11:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14641735,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14641735,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:00:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:00:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:00:08] Production.INFO: ==10153== Releasing lock... [2025-03-09 11:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 11:00:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 5 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 6 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 0 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 1 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 1 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 4 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 19 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '218', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 0 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' ) [2025-03-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-09 11:00:11] Production.ERROR: CronJobId end11 [2025-03-09 11:00:11] Production.INFO: ==10147== Releasing lock... [2025-03-09 11:00:11] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops# [2025-03-09 11:00:11] Production.INFO: 34 MB #Memory Used# [2025-03-09 11:00:14] Production.ERROR: CronJobId end10 [2025-03-09 11:00:14] Production.INFO: ==10145== Releasing lock... [2025-03-09 11:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:00:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:00:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:00:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:00:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:00:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:00:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:00:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:00:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:00:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:00:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:00:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:00:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:00:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:00:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:00:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:00:17] Production.INFO: call_cost start [2025-03-09 11:00:17] Production.INFO: call_cost end [2025-03-09 11:00:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:00:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:00:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:00:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:00:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:00:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:00:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:00:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:00:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:00:18] Production.INFO: ==10141== Releasing lock... [2025-03-09 11:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:00:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:00:18] Production.INFO: count ==236 [2025-03-09 11:00:18] Production.ERROR: pbx CDR StartTime 2025-03-09 08:00:06 - End Time 2025-03-09 11:00:06 [2025-03-09 11:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641736', 'tblTempUsageDetail_20' ) start [2025-03-09 11:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641736', 'tblTempUsageDetail_20' ) end [2025-03-09 11:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641736', 'tblTempVendorCDR_20' ) start [2025-03-09 11:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641736', 'tblTempVendorCDR_20' ) end [2025-03-09 11:00:18] Production.INFO: ProcessCDR(1,14641736,1,1,2) [2025-03-09 11:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641736', 'tblTempUsageDetail_20' ) start [2025-03-09 11:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641736', 'tblTempUsageDetail_20' ) end [2025-03-09 11:00:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:00:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:00:23] Production.INFO: ==10151== Releasing lock... [2025-03-09 11:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:00:23] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 15:01:02] Production.INFO: ==10289== Lock acquired, processing the job... [2025-03-09 15:01:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:01:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:01:02] Production.INFO: neon service started [2025-03-09 15:01:02] Production.INFO: neon service started [2025-03-09 15:01:02] Production.INFO: ==10289== Releasing lock... [2025-03-09 15:01:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:01:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:01:02] Production.INFO: ==10302== Lock acquired, processing the job... [2025-03-09 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:01:02] Production.INFO: ==10302== Releasing lock... [2025-03-09 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:01:03] Production.INFO: ==10304== Lock acquired, processing the job... [2025-03-09 15:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:01:03] Production.INFO: ==10304== Releasing lock... [2025-03-09 15:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:01:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:01:03] Production.INFO: ==10309== Lock acquired, processing the job... [2025-03-09 11:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:01:04] Production.INFO: ==10313== Lock acquired, processing the job... [2025-03-09 11:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:01:04] Production.INFO: ==10307== Lock acquired, processing the job... [2025-03-09 11:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:01:04] Production.INFO: ==10311== Lock acquired, processing the job... [2025-03-09 11:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:01:04] Production.INFO: Account Balance Start. [2025-03-09 11:01:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:01:04] Production.INFO: CreateAllLog Start [2025-03-09 11:01:04] Production.INFO: 117 [2025-03-09 11:01:04] Production.INFO: ==10315== Lock acquired, processing the job... [2025-03-09 11:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:01:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:01:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:01:04] Production.INFO: ==10317== Lock acquired, processing the job... [2025-03-09 11:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:01:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:01:04] Production.INFO: ==10309== Releasing lock... [2025-03-09 11:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:01:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:01:04] Production.INFO: Total Charge 0 [2025-03-09 11:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:01:04] Production.INFO: CreateAllLog End [2025-03-09 11:01:04] Production.INFO: count ==13 [2025-03-09 11:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:01:04] Production.INFO: count ==21 [2025-03-09 11:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641740') start [2025-03-09 11:01:04] Production.ERROR: done [2025-03-09 11:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641740') end [2025-03-09 11:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:01:04] Production.INFO: 1 [2025-03-09 11:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:01:04] Production.ERROR: done [2025-03-09 11:01:04] Production.INFO: ==10317== Releasing lock... [2025-03-09 11:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:01:05] Production.INFO: Account Balance End. [2025-03-09 11:01:05] Production.ERROR: CronJobId end 12 [2025-03-09 11:01:05] Production.INFO: ==10313== Releasing lock... [2025-03-09 11:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:01:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:01:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:01:06 [end_date_ymd] => 2025-03-09 11:01:06 [RateCDR] => 1 ) [2025-03-09 11: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-09 08:01:06' and `end` < '2025-03-09 11: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-09 11:01:13] Production.ERROR: CronJobId end10 [2025-03-09 11:01:13] Production.INFO: ==10311== Releasing lock... [2025-03-09 11:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:01:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:01:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:01:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:01:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:01:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:01:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:01:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:01:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:01:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:01:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:01:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:01:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:01:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:01:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:01:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:01:15] Production.INFO: call_cost start [2025-03-09 11:01:15] Production.INFO: call_cost end [2025-03-09 11:01:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:01:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:01:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:01:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:01:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:01:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:01:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:01:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:01:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:01:16] Production.INFO: ==10307== Releasing lock... [2025-03-09 11:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:01:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:01:18] Production.INFO: count ==240 [2025-03-09 11:01:18] Production.ERROR: pbx CDR StartTime 2025-03-09 08:01:06 - End Time 2025-03-09 11:01:06 [2025-03-09 11:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641741', 'tblTempUsageDetail_20' ) start [2025-03-09 11:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641741', 'tblTempUsageDetail_20' ) end [2025-03-09 11:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641741', 'tblTempVendorCDR_20' ) start [2025-03-09 11:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641741', 'tblTempVendorCDR_20' ) end [2025-03-09 11:01:18] Production.INFO: ProcessCDR(1,14641741,1,1,2) [2025-03-09 11:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641741', 'tblTempUsageDetail_20' ) start [2025-03-09 11:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641741', 'tblTempUsageDetail_20' ) end [2025-03-09 11:01:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:01:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:01:23] Production.INFO: ==10315== Releasing lock... [2025-03-09 11:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:01:23] Production.INFO: 29.75 MB #Memory Used# [2025-03-09 15:02:01] Production.INFO: ==10370== Lock acquired, processing the job... [2025-03-09 15:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:02:01] Production.INFO: neon service started [2025-03-09 15:02:01] Production.INFO: neon service started [2025-03-09 15:02:01] Production.INFO: ==10370== Releasing lock... [2025-03-09 15:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:02:02] Production.INFO: ==10375== Lock acquired, processing the job... [2025-03-09 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:02:02] Production.INFO: ==10375== Releasing lock... [2025-03-09 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:02:02] Production.INFO: ==10373== Lock acquired, processing the job... [2025-03-09 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:02:02] Production.INFO: ==10373== Releasing lock... [2025-03-09 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:02:03] Production.INFO: ==10379== Lock acquired, processing the job... [2025-03-09 11:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:02:03] Production.INFO: ==10385== Lock acquired, processing the job... [2025-03-09 11:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:02:03] Production.INFO: ==10377== Lock acquired, processing the job... [2025-03-09 11:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:02:03] Production.INFO: ==10383== Lock acquired, processing the job... [2025-03-09 11:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:02:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:02:04] Production.INFO: ==10381== Lock acquired, processing the job... [2025-03-09 11:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:02:04] Production.INFO: ==10387== Lock acquired, processing the job... [2025-03-09 11:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:02:04] Production.INFO: ==10379== Releasing lock... [2025-03-09 11:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:02:04] Production.INFO: Account Balance Start. [2025-03-09 11:02:04] Production.INFO: CreateAllLog Start [2025-03-09 11:02:04] Production.INFO: 117 [2025-03-09 11:02:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:02:04] Production.INFO: count ==13 [2025-03-09 11:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:02:04] Production.INFO: count ==21 [2025-03-09 11:02:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641745') start [2025-03-09 11:02:04] Production.ERROR: done [2025-03-09 11:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:02:04] Production.INFO: Total Charge 0 [2025-03-09 11:02:04] Production.INFO: CreateAllLog End [2025-03-09 11:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641745') end [2025-03-09 11:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:02:04] Production.INFO: 1 [2025-03-09 11:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:02:04] Production.ERROR: done [2025-03-09 11:02:04] Production.INFO: ==10387== Releasing lock... [2025-03-09 11:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:02:04] Production.INFO: Account Balance End. [2025-03-09 11:02:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:02:04] Production.INFO: ==10383== Releasing lock... [2025-03-09 11:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:02:05 [end_date_ymd] => 2025-03-09 11:02:05 [RateCDR] => 1 ) [2025-03-09 11:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:02:05' and `end` < '2025-03-09 11:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:02:12] Production.ERROR: CronJobId end10 [2025-03-09 11:02:12] Production.INFO: ==10381== Releasing lock... [2025-03-09 11:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:02:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:02:14] Production.INFO: call_cost start [2025-03-09 11:02:14] Production.INFO: call_cost end [2025-03-09 11:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:02:15] Production.INFO: ==10377== Releasing lock... [2025-03-09 11:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:02:17] Production.INFO: count ==246 [2025-03-09 11:02:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:02:05 - End Time 2025-03-09 11:02:05 [2025-03-09 11:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641746', 'tblTempUsageDetail_20' ) start [2025-03-09 11:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641746', 'tblTempUsageDetail_20' ) end [2025-03-09 11:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641746', 'tblTempVendorCDR_20' ) start [2025-03-09 11:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641746', 'tblTempVendorCDR_20' ) end [2025-03-09 11:02:17] Production.INFO: ProcessCDR(1,14641746,1,1,2) [2025-03-09 11:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641746', 'tblTempUsageDetail_20' ) start [2025-03-09 11:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641746', 'tblTempUsageDetail_20' ) end [2025-03-09 11:02:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:02:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:02:22] Production.INFO: ==10385== Releasing lock... [2025-03-09 11:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:02:22] Production.INFO: 30 MB #Memory Used# [2025-03-09 15:03:02] Production.INFO: ==10446== Lock acquired, processing the job... [2025-03-09 15:03:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:03:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:03:02] Production.INFO: neon service started [2025-03-09 15:03:02] Production.INFO: neon service started [2025-03-09 15:03:02] Production.INFO: ==10446== Releasing lock... [2025-03-09 15:03:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:03:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:03:02] Production.INFO: ==10449== Lock acquired, processing the job... [2025-03-09 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:03:02] Production.INFO: ==10449== Releasing lock... [2025-03-09 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:03:03] Production.INFO: ==10451== Lock acquired, processing the job... [2025-03-09 15:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:03:03] Production.INFO: ==10451== Releasing lock... [2025-03-09 15:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:03:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:03:03] Production.INFO: ==10455== Lock acquired, processing the job... [2025-03-09 11:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:03:03] Production.INFO: ==10461== Lock acquired, processing the job... [2025-03-09 11:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:03:04] Production.INFO: ==10457== Lock acquired, processing the job... [2025-03-09 11:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:03:04] Production.INFO: ==10453== Lock acquired, processing the job... [2025-03-09 11:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:03:04] Production.INFO: ==10459== Lock acquired, processing the job... [2025-03-09 11:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:03:04] Production.INFO: ==10463== Lock acquired, processing the job... [2025-03-09 11:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:03:04] Production.INFO: Account Balance Start. [2025-03-09 11:03:04] Production.INFO: CreateAllLog Start [2025-03-09 11:03:04] Production.INFO: 117 [2025-03-09 11:03:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:03:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:03:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:03:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:03:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:03:04] Production.INFO: count ==13 [2025-03-09 11:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:03:04] Production.INFO: count ==21 [2025-03-09 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641750') start [2025-03-09 11:03:04] Production.ERROR: done [2025-03-09 11:03:04] Production.INFO: Total Charge 0 [2025-03-09 11:03:04] Production.INFO: ==10455== Releasing lock... [2025-03-09 11:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:03:04] Production.INFO: CreateAllLog End [2025-03-09 11:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641750') end [2025-03-09 11:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:03:04] Production.INFO: 1 [2025-03-09 11:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:03:04] Production.INFO: ==10463== Releasing lock... [2025-03-09 11:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:03:04] Production.ERROR: done [2025-03-09 11:03:04] Production.INFO: Account Balance End. [2025-03-09 11:03:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:03:04] Production.INFO: ==10459== Releasing lock... [2025-03-09 11:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:03:05 [end_date_ymd] => 2025-03-09 11:03:05 [RateCDR] => 1 ) [2025-03-09 11:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:03:05' and `end` < '2025-03-09 11:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:03:12] Production.ERROR: CronJobId end10 [2025-03-09 11:03:12] Production.INFO: ==10457== Releasing lock... [2025-03-09 11:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:03:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:03:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:03:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:03:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:03:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:03:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:03:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:03:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:03:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:03:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:03:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:03:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:03:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:03:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:03:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:03:14] Production.INFO: call_cost start [2025-03-09 11:03:14] Production.INFO: call_cost end [2025-03-09 11:03:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:03:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:03:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:03:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:03:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:03:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:03:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:03:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:03:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:03:15] Production.INFO: ==10453== Releasing lock... [2025-03-09 11:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:03:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:03:17] Production.INFO: count ==246 [2025-03-09 11:03:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:03:05 - End Time 2025-03-09 11:03:05 [2025-03-09 11:03:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641751', 'tblTempUsageDetail_20' ) start [2025-03-09 11:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641751', 'tblTempUsageDetail_20' ) end [2025-03-09 11:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641751', 'tblTempVendorCDR_20' ) start [2025-03-09 11:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641751', 'tblTempVendorCDR_20' ) end [2025-03-09 11:03:17] Production.INFO: ProcessCDR(1,14641751,1,1,2) [2025-03-09 11:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641751', 'tblTempUsageDetail_20' ) start [2025-03-09 11:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641751', 'tblTempUsageDetail_20' ) end [2025-03-09 11:03:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:03:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:03:21] Production.INFO: ==10461== Releasing lock... [2025-03-09 11:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:03:21] Production.INFO: 30 MB #Memory Used# [2025-03-09 15:04:01] Production.INFO: ==10516== Lock acquired, processing the job... [2025-03-09 15:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:04:01] Production.INFO: neon service started [2025-03-09 15:04:01] Production.INFO: neon service started [2025-03-09 15:04:01] Production.INFO: ==10516== Releasing lock... [2025-03-09 15:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:04:02] Production.INFO: ==10519== Lock acquired, processing the job... [2025-03-09 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:04:02] Production.INFO: ==10521== Lock acquired, processing the job... [2025-03-09 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:04:02] Production.INFO: ==10519== Releasing lock... [2025-03-09 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:04:02] Production.INFO: ==10521== Releasing lock... [2025-03-09 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:04:02] Production.INFO: 26 MB #Memory Used# [2025-03-09 11:04:03] Production.INFO: ==10525== Lock acquired, processing the job... [2025-03-09 11:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:04:03] Production.INFO: ==10529== Lock acquired, processing the job... [2025-03-09 11:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:04:03] Production.INFO: ==10531== Lock acquired, processing the job... [2025-03-09 11:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:04:03] Production.INFO: Account Balance Start. [2025-03-09 11:04:03] Production.INFO: CreateAllLog Start [2025-03-09 11:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:04:03] Production.INFO: 117 [2025-03-09 11:04:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:04:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:04:03] Production.INFO: ==10523== Lock acquired, processing the job... [2025-03-09 11:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:04:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:04:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:04:03] Production.INFO: Total Charge 0 [2025-03-09 11:04:03] Production.INFO: CreateAllLog End [2025-03-09 11:04:03] Production.INFO: ==10527== Lock acquired, processing the job... [2025-03-09 11:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:04:03] Production.INFO: ==10525== Releasing lock... [2025-03-09 11:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:04:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:04:03] Production.INFO: ==10533== Lock acquired, processing the job... [2025-03-09 11:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:04:03] Production.INFO: Account Balance End. [2025-03-09 11:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:04:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:04:04] Production.INFO: ==10529== Releasing lock... [2025-03-09 11:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:04:04] Production.ERROR: done [2025-03-09 11:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 11:04:04] Production.INFO: count ==13 [2025-03-09 11:04:04] Production.ERROR: done [2025-03-09 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-09 11:04:04] Production.INFO: count ==21 [2025-03-09 11:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641755') start [2025-03-09 11:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641755') end [2025-03-09 11:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:04:04] Production.INFO: 1 [2025-03-09 11:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:04:04] Production.INFO: ==10533== Releasing lock... [2025-03-09 11:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:04:05 [end_date_ymd] => 2025-03-09 11:04:05 [RateCDR] => 1 ) [2025-03-09 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-09 08:04:05' and `end` < '2025-03-09 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-09 11:04:11] Production.ERROR: CronJobId end10 [2025-03-09 11:04:11] Production.INFO: ==10527== Releasing lock... [2025-03-09 11:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:04:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:04:15] Production.INFO: call_cost start [2025-03-09 11:04:15] Production.INFO: call_cost end [2025-03-09 11:04:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:04:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:04:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:04:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:04:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:04:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:04:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:04:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:04:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:04:16] Production.INFO: ==10523== Releasing lock... [2025-03-09 11:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:04:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:04:17] Production.INFO: count ==246 [2025-03-09 11:04:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:04:05 - End Time 2025-03-09 11:04:05 [2025-03-09 11:04:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641756', 'tblTempUsageDetail_20' ) start [2025-03-09 11:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641756', 'tblTempUsageDetail_20' ) end [2025-03-09 11:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641756', 'tblTempVendorCDR_20' ) start [2025-03-09 11:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641756', 'tblTempVendorCDR_20' ) end [2025-03-09 11:04:17] Production.INFO: ProcessCDR(1,14641756,1,1,2) [2025-03-09 11:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:04:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641756', 'tblTempUsageDetail_20' ) start [2025-03-09 11:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641756', 'tblTempUsageDetail_20' ) end [2025-03-09 11:04:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:04:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:04:20] Production.INFO: ==10531== Releasing lock... [2025-03-09 11:04:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:04:20] Production.INFO: 30 MB #Memory Used# [2025-03-09 15:05:02] Production.INFO: ==10666== Lock acquired, processing the job... [2025-03-09 15:05:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:05:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:05:02] Production.INFO: neon service started [2025-03-09 15:05:02] Production.INFO: neon service started [2025-03-09 15:05:02] Production.INFO: ==10666== Releasing lock... [2025-03-09 15:05:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:05:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:05:03] Production.INFO: ==10668== Lock acquired, processing the job... [2025-03-09 11:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:05:03] Production.INFO: ==10670== Lock acquired, processing the job... [2025-03-09 15:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:05:03] Production.INFO: ==10670== Releasing lock... [2025-03-09 15:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:05:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:05:03] Production.INFO: ==10668== Releasing lock... [2025-03-09 11:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:05:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:05:04] Production.INFO: ==10683== Lock acquired, processing the job... [2025-03-09 11:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:05:04] Production.INFO: ==10679== Lock acquired, processing the job... [2025-03-09 11:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:05:04] Production.INFO: count ==13 [2025-03-09 11:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:05:04] Production.INFO: Account Balance Start. [2025-03-09 11:05:04] Production.INFO: CreateAllLog Start [2025-03-09 11:05:04] Production.INFO: count ==21 [2025-03-09 11:05:04] Production.INFO: 117 [2025-03-09 11:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641757') start [2025-03-09 11:05:04] Production.INFO: ==10673== Lock acquired, processing the job... [2025-03-09 11:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:05:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:05:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:05:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:05:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:05:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:05:04] Production.INFO: ==10675== Lock acquired, processing the job... [2025-03-09 11:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641757') end [2025-03-09 11:05:04] Production.INFO: ==10677== Lock acquired, processing the job... [2025-03-09 11:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:05:04] Production.INFO: 1 [2025-03-09 11:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:05:04] Production.INFO: Total Charge 0 [2025-03-09 11:05:04] Production.INFO: ==10683== Releasing lock... [2025-03-09 11:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:05:04] Production.INFO: CreateAllLog End [2025-03-09 11:05:04] Production.INFO: ==10681== Lock acquired, processing the job... [2025-03-09 11:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:05:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:05:04] Production.INFO: Account Balance End. [2025-03-09 11:05:04] Production.INFO: ==10675== Releasing lock... [2025-03-09 11:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:05:04] Production.ERROR: done [2025-03-09 11:05:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:05:04] Production.INFO: ==10679== Releasing lock... [2025-03-09 11:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:05:05] Production.ERROR: done [2025-03-09 11:05:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:05:06 [end_date_ymd] => 2025-03-09 11:05:06 [RateCDR] => 1 ) [2025-03-09 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-09 08:05:06' and `end` < '2025-03-09 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-09 11:05:12] Production.ERROR: CronJobId end10 [2025-03-09 11:05:12] Production.INFO: ==10677== Releasing lock... [2025-03-09 11:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:05:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:05:14] Production.INFO: call_cost start [2025-03-09 11:05:14] Production.INFO: call_cost end [2025-03-09 11:05:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:05:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:05:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:05:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:05:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:05:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:05:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:05:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:05:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:05:15] Production.INFO: ==10673== Releasing lock... [2025-03-09 11:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:05:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:05:18] Production.INFO: count ==246 [2025-03-09 11:05:18] Production.ERROR: pbx CDR StartTime 2025-03-09 08:05:06 - End Time 2025-03-09 11:05:06 [2025-03-09 11:05:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641761', 'tblTempUsageDetail_20' ) start [2025-03-09 11:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641761', 'tblTempUsageDetail_20' ) end [2025-03-09 11:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641761', 'tblTempVendorCDR_20' ) start [2025-03-09 11:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641761', 'tblTempVendorCDR_20' ) end [2025-03-09 11:05:18] Production.INFO: ProcessCDR(1,14641761,1,1,2) [2025-03-09 11:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641761', 'tblTempUsageDetail_20' ) start [2025-03-09 11:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641761', 'tblTempUsageDetail_20' ) end [2025-03-09 11:05:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:05:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:05:21] Production.INFO: ==10681== Releasing lock... [2025-03-09 11:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:05:21] Production.INFO: 30 MB #Memory Used# [2025-03-09 15:06:01] Production.INFO: ==10741== Lock acquired, processing the job... [2025-03-09 15:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:06:01] Production.INFO: neon service started [2025-03-09 15:06:01] Production.INFO: neon service started [2025-03-09 15:06:01] Production.INFO: ==10741== Releasing lock... [2025-03-09 15:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:06:02] Production.INFO: ==10745== Lock acquired, processing the job... [2025-03-09 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:06:02] Production.INFO: ==10745== Releasing lock... [2025-03-09 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:06:02] Production.INFO: ==10743== Lock acquired, processing the job... [2025-03-09 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:06:02] Production.INFO: ==10743== Releasing lock... [2025-03-09 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:06:03] Production.INFO: ==10750== Lock acquired, processing the job... [2025-03-09 11:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:06:03] Production.INFO: ==10756== Lock acquired, processing the job... [2025-03-09 11:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:06:03] Production.INFO: ==10748== Lock acquired, processing the job... [2025-03-09 11:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:06:03] Production.INFO: ==10752== Lock acquired, processing the job... [2025-03-09 11:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:06:03] Production.INFO: ==10754== Lock acquired, processing the job... [2025-03-09 11:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:06:03] Production.INFO: ==10758== Lock acquired, processing the job... [2025-03-09 11:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:06:04] Production.INFO: ==10750== Releasing lock... [2025-03-09 11:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:06:04] Production.INFO: Account Balance Start. [2025-03-09 11:06:04] Production.INFO: CreateAllLog Start [2025-03-09 11:06:04] Production.INFO: 117 [2025-03-09 11:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:06:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:06:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:06:04] Production.INFO: count ==13 [2025-03-09 11:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:06:04] Production.INFO: count ==21 [2025-03-09 11:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641765') start [2025-03-09 11:06:04] Production.INFO: Total Charge 0 [2025-03-09 11:06:04] Production.ERROR: done [2025-03-09 11:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:06:04] Production.INFO: CreateAllLog End [2025-03-09 11:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641765') end [2025-03-09 11:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:06:04] Production.INFO: 1 [2025-03-09 11:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:06:04] Production.ERROR: done [2025-03-09 11:06:04] Production.INFO: Account Balance End. [2025-03-09 11:06:04] Production.INFO: ==10758== Releasing lock... [2025-03-09 11:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:06:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:06:04] Production.INFO: ==10754== Releasing lock... [2025-03-09 11:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:06:05 [end_date_ymd] => 2025-03-09 11:06:05 [RateCDR] => 1 ) [2025-03-09 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-09 08:06:05' and `end` < '2025-03-09 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-09 11:06:12] Production.ERROR: CronJobId end10 [2025-03-09 11:06:12] Production.INFO: ==10752== Releasing lock... [2025-03-09 11:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:06:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:06:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:06:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:06:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:06:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:06:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:06:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:06:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:06:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:06:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:06:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:06:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:06:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:06:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:06:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:06:14] Production.INFO: call_cost start [2025-03-09 11:06:14] Production.INFO: call_cost end [2025-03-09 11:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:06:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:06:15] Production.INFO: ==10748== Releasing lock... [2025-03-09 11:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:06:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:06:17] Production.INFO: count ==246 [2025-03-09 11:06:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:06:05 - End Time 2025-03-09 11:06:05 [2025-03-09 11:06:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641766', 'tblTempUsageDetail_20' ) start [2025-03-09 11:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641766', 'tblTempUsageDetail_20' ) end [2025-03-09 11:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641766', 'tblTempVendorCDR_20' ) start [2025-03-09 11:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641766', 'tblTempVendorCDR_20' ) end [2025-03-09 11:06:17] Production.INFO: ProcessCDR(1,14641766,1,1,2) [2025-03-09 11:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:06:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:06:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:06:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:06:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641766', 'tblTempUsageDetail_20' ) start [2025-03-09 11:06:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641766', 'tblTempUsageDetail_20' ) end [2025-03-09 11:06:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:06:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:06:20] Production.INFO: ==10756== Releasing lock... [2025-03-09 11:06:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:06:20] Production.INFO: 30 MB #Memory Used# [2025-03-09 15:07:02] Production.INFO: ==10815== Lock acquired, processing the job... [2025-03-09 15:07:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:07:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:07:02] Production.INFO: neon service started [2025-03-09 15:07:02] Production.INFO: neon service started [2025-03-09 15:07:02] Production.INFO: ==10815== Releasing lock... [2025-03-09 15:07:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:07:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:07:02] Production.INFO: ==10817== Lock acquired, processing the job... [2025-03-09 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:07:02] Production.INFO: ==10817== Releasing lock... [2025-03-09 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:07:03] Production.INFO: ==10820== Lock acquired, processing the job... [2025-03-09 15:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:07:03] Production.INFO: ==10820== Releasing lock... [2025-03-09 15:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:07:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:07:03] Production.INFO: ==10822== Lock acquired, processing the job... [2025-03-09 11:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:07:03] Production.INFO: ==10832== Lock acquired, processing the job... [2025-03-09 11:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:07:03] Production.INFO: ==10824== Lock acquired, processing the job... [2025-03-09 11:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:07:04] Production.INFO: ==10826== Lock acquired, processing the job... [2025-03-09 11:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:07:04] Production.INFO: count ==13 [2025-03-09 11:07:04] Production.INFO: ==10828== Lock acquired, processing the job... [2025-03-09 11:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11: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-09 11:07:04] Production.INFO: count ==21 [2025-03-09 11:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641768') start [2025-03-09 11:07:04] Production.INFO: ==10830== Lock acquired, processing the job... [2025-03-09 11:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:07:04] Production.INFO: Account Balance Start. [2025-03-09 11:07:04] Production.INFO: CreateAllLog Start [2025-03-09 11:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:07:04] Production.INFO: 117 [2025-03-09 11:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:07:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641768') end [2025-03-09 11:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:07:04] Production.INFO: 1 [2025-03-09 11:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:07:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:07:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:07:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:07:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:07:04] Production.INFO: Total Charge 0 [2025-03-09 11:07:04] Production.INFO: CreateAllLog End [2025-03-09 11:07:04] Production.INFO: ==10832== Releasing lock... [2025-03-09 11:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:07:04] Production.INFO: ==10824== Releasing lock... [2025-03-09 11:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:07:04] Production.INFO: Account Balance End. [2025-03-09 11:07:04] Production.ERROR: done [2025-03-09 11:07:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:07:04] Production.INFO: ==10828== Releasing lock... [2025-03-09 11:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:07:04] Production.ERROR: done [2025-03-09 11:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:07:05 [end_date_ymd] => 2025-03-09 11:07:05 [RateCDR] => 1 ) [2025-03-09 11:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:07:05' and `end` < '2025-03-09 11:07:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:07:12] Production.ERROR: CronJobId end10 [2025-03-09 11:07:12] Production.INFO: ==10826== Releasing lock... [2025-03-09 11:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:07:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:07:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:07:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:07:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:07:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:07:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:07:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:07:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:07:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:07:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:07:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:07:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:07:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:07:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:07:15] Production.INFO: call_cost start [2025-03-09 11:07:15] Production.INFO: call_cost end [2025-03-09 11:07:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:07:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:07:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:07:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:07:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:07:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:07:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:07:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:07:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:07:16] Production.INFO: ==10822== Releasing lock... [2025-03-09 11:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:07:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:07:17] Production.INFO: count ==247 [2025-03-09 11:07:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:07:05 - End Time 2025-03-09 11:07:05 [2025-03-09 11:07:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641771', 'tblTempUsageDetail_20' ) start [2025-03-09 11:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641771', 'tblTempUsageDetail_20' ) end [2025-03-09 11:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641771', 'tblTempVendorCDR_20' ) start [2025-03-09 11:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641771', 'tblTempVendorCDR_20' ) end [2025-03-09 11:07:17] Production.INFO: ProcessCDR(1,14641771,1,1,2) [2025-03-09 11:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641771', 'tblTempUsageDetail_20' ) start [2025-03-09 11:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641771', 'tblTempUsageDetail_20' ) end [2025-03-09 11:07:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:07:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:07:22] Production.INFO: ==10830== Releasing lock... [2025-03-09 11:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:07:22] Production.INFO: 30 MB #Memory Used# [2025-03-09 15:08:01] Production.INFO: ==10966== Lock acquired, processing the job... [2025-03-09 15:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:08:01] Production.INFO: neon service started [2025-03-09 15:08:01] Production.INFO: neon service started [2025-03-09 15:08:01] Production.INFO: ==10966== Releasing lock... [2025-03-09 15:08:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:08:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:08:02] Production.INFO: ==10968== Lock acquired, processing the job... [2025-03-09 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:08:02] Production.INFO: ==10968== Releasing lock... [2025-03-09 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:08:02] Production.INFO: ==10970== Lock acquired, processing the job... [2025-03-09 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:08:02] Production.INFO: ==10970== Releasing lock... [2025-03-09 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:08:03] Production.INFO: ==10973== Lock acquired, processing the job... [2025-03-09 11:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:08:03] Production.INFO: ==10977== Lock acquired, processing the job... [2025-03-09 11:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:08:03] Production.INFO: ==10975== Lock acquired, processing the job... [2025-03-09 11:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:08:03] Production.INFO: ==10981== Lock acquired, processing the job... [2025-03-09 11:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:08:03] Production.INFO: ==10979== Lock acquired, processing the job... [2025-03-09 11:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:08:03] Production.INFO: ==10983== Lock acquired, processing the job... [2025-03-09 11:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:08:03] Production.INFO: Account Balance Start. [2025-03-09 11:08:03] Production.INFO: CreateAllLog Start [2025-03-09 11:08:03] Production.INFO: 117 [2025-03-09 11:08:03] Production.ERROR: done [2025-03-09 11:08:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:08:03] Production.INFO: ==10975== Releasing lock... [2025-03-09 11:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:08:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:08:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:08:04] Production.INFO: count ==13 [2025-03-09 11:08:04] Production.ERROR: done [2025-03-09 11:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:08:04] Production.INFO: count ==21 [2025-03-09 11:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641775') start [2025-03-09 11:08:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:08:04] Production.INFO: Total Charge 0 [2025-03-09 11:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641775') end [2025-03-09 11:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:08:04] Production.INFO: 1 [2025-03-09 11:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:08:04] Production.INFO: CreateAllLog End [2025-03-09 11:08:04] Production.INFO: ==10983== Releasing lock... [2025-03-09 11:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:08:04] Production.INFO: Account Balance End. [2025-03-09 11:08:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:08:04] Production.INFO: ==10979== Releasing lock... [2025-03-09 11:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:08:05 [end_date_ymd] => 2025-03-09 11:08:05 [RateCDR] => 1 ) [2025-03-09 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-09 08:08:05' and `end` < '2025-03-09 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-09 11:08:12] Production.ERROR: CronJobId end10 [2025-03-09 11:08:12] Production.INFO: ==10977== Releasing lock... [2025-03-09 11:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:08:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:08:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:08:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:08:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:08:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:08:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:08:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:08:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:08:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:08:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:08:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:08:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:08:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:08:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:08:14] Production.INFO: call_cost start [2025-03-09 11:08:14] Production.INFO: call_cost end [2025-03-09 11:08:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:08:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:08:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:08:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:08:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:08:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:08:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:08:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:08:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:08:15] Production.INFO: ==10973== Releasing lock... [2025-03-09 11:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:08:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:08:17] Production.INFO: count ==247 [2025-03-09 11:08:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:08:05 - End Time 2025-03-09 11:08:05 [2025-03-09 11:08:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641776', 'tblTempUsageDetail_20' ) start [2025-03-09 11:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641776', 'tblTempUsageDetail_20' ) end [2025-03-09 11:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641776', 'tblTempVendorCDR_20' ) start [2025-03-09 11:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641776', 'tblTempVendorCDR_20' ) end [2025-03-09 11:08:17] Production.INFO: ProcessCDR(1,14641776,1,1,2) [2025-03-09 11:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:08:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641776', 'tblTempUsageDetail_20' ) start [2025-03-09 11:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641776', 'tblTempUsageDetail_20' ) end [2025-03-09 11:08:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:08:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:08:20] Production.INFO: ==10981== Releasing lock... [2025-03-09 11:08:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:08:20] Production.INFO: 30 MB #Memory Used# [2025-03-09 15:09:02] Production.INFO: ==11036== Lock acquired, processing the job... [2025-03-09 15:09:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:09:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:09:02] Production.INFO: neon service started [2025-03-09 15:09:02] Production.INFO: neon service started [2025-03-09 15:09:02] Production.INFO: ==11036== Releasing lock... [2025-03-09 15:09:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:09:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:09:02] Production.INFO: ==11038== Lock acquired, processing the job... [2025-03-09 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:09:02] Production.INFO: ==11038== Releasing lock... [2025-03-09 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:09:02] Production.INFO: ==11040== Lock acquired, processing the job... [2025-03-09 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:09:03] Production.INFO: ==11040== Releasing lock... [2025-03-09 15:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:09:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:09:03] Production.INFO: ==11046== Lock acquired, processing the job... [2025-03-09 11:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:09:03] Production.INFO: ==11042== Lock acquired, processing the job... [2025-03-09 11:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:09:03] Production.INFO: ==11044== Lock acquired, processing the job... [2025-03-09 11:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:09:03] Production.INFO: ==11052== Lock acquired, processing the job... [2025-03-09 11:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:09:04] Production.INFO: ==11048== Lock acquired, processing the job... [2025-03-09 11:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 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-09 11:09:04] Production.INFO: ==11050== Lock acquired, processing the job... [2025-03-09 11:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:09:04] Production.INFO: count ==13 [2025-03-09 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-09 11:09:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:09:04] Production.INFO: count ==21 [2025-03-09 11:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641778') start [2025-03-09 11:09:04] Production.INFO: Account Balance Start. [2025-03-09 11:09:04] Production.INFO: CreateAllLog Start [2025-03-09 11:09:04] Production.INFO: 117 [2025-03-09 11:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641778') end [2025-03-09 11:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:09:04] Production.INFO: 1 [2025-03-09 11:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:09:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:09:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:09:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:09:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:09:04] Production.INFO: ==11052== Releasing lock... [2025-03-09 11:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:09:04] Production.ERROR: done [2025-03-09 11:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:09:04] Production.INFO: Total Charge 0 [2025-03-09 11:09:04] Production.INFO: ==11044== Releasing lock... [2025-03-09 11:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:09:04] Production.INFO: CreateAllLog End [2025-03-09 11:09:04] Production.ERROR: done [2025-03-09 11:09:04] Production.INFO: Account Balance End. [2025-03-09 11:09:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:09:04] Production.INFO: ==11048== Releasing lock... [2025-03-09 11:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:09:05 [end_date_ymd] => 2025-03-09 11:09:05 [RateCDR] => 1 ) [2025-03-09 11:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:09:05' and `end` < '2025-03-09 11:09:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:09:12] Production.ERROR: CronJobId end10 [2025-03-09 11:09:12] Production.INFO: ==11046== Releasing lock... [2025-03-09 11:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:09:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:09:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:09:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:09:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:09:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:09:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:09:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:09:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:09:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:09:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:09:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:09:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:09:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:09:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:09:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:09:15] Production.INFO: call_cost start [2025-03-09 11:09:15] Production.INFO: call_cost end [2025-03-09 11:09:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:09:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:09:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:09:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:09:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:09:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:09:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:09:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:09:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:09:16] Production.INFO: ==11042== Releasing lock... [2025-03-09 11:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:09:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:09:17] Production.INFO: count ==248 [2025-03-09 11:09:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:09:05 - End Time 2025-03-09 11:09:05 [2025-03-09 11:09:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641781', 'tblTempUsageDetail_20' ) start [2025-03-09 11:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641781', 'tblTempUsageDetail_20' ) end [2025-03-09 11:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641781', 'tblTempVendorCDR_20' ) start [2025-03-09 11:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641781', 'tblTempVendorCDR_20' ) end [2025-03-09 11:09:17] Production.INFO: ProcessCDR(1,14641781,1,1,2) [2025-03-09 11:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641781', 'tblTempUsageDetail_20' ) start [2025-03-09 11:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641781', 'tblTempUsageDetail_20' ) end [2025-03-09 11:09:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:09:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:09:22] Production.INFO: ==11050== Releasing lock... [2025-03-09 11:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:09:22] Production.INFO: 30 MB #Memory Used# [2025-03-09 15:10:02] Production.INFO: ==11107== Lock acquired, processing the job... [2025-03-09 15:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:10:02] Production.INFO: neon service started [2025-03-09 15:10:02] Production.INFO: neon service started [2025-03-09 15:10:02] Production.INFO: ==11107== Releasing lock... [2025-03-09 15:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:10:02] Production.INFO: ==11109== Lock acquired, processing the job... [2025-03-09 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:10:02] Production.INFO: ==11111== Lock acquired, processing the job... [2025-03-09 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:10:02] Production.INFO: ==11111== Releasing lock... [2025-03-09 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:10:03] Production.INFO: ==11109== Releasing lock... [2025-03-09 11:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:10:04] Production.INFO: ==11119== Lock acquired, processing the job... [2025-03-09 11:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:10:04] Production.INFO: ==11114== Lock acquired, processing the job... [2025-03-09 11:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 11:10:04] Production.INFO: ==11117== Lock acquired, processing the job... [2025-03-09 11:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:10:04] Production.INFO: ==11125== Lock acquired, processing the job... [2025-03-09 11:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 11:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 11:10:04] Production.ERROR: CronJob PID - 11119 [2025-03-09 11:10:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 11:10:04] Production.ERROR: CronJob ID - 7 [2025-03-09 11:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 11:10:00 [2025-03-09 11:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 11:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 11:10:04] Production.INFO: ==11121== Lock acquired, processing the job... [2025-03-09 11:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 11:10:04] Production.INFO: ==11114== Releasing lock... [2025-03-09 11:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 11:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 11:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:10:05] Production.INFO: ==11129== Lock acquired, processing the job... [2025-03-09 11:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:10:05] Production.INFO: ==11127== Lock acquired, processing the job... [2025-03-09 11:10:05] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 11:10:05] Production.INFO: ==11123== Lock acquired, processing the job... [2025-03-09 11:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:10:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:10:05] Production.INFO: ==11119== Releasing lock... [2025-03-09 11:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:10:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:10:05] Production.INFO: Account Balance Start. [2025-03-09 11:10:05] Production.INFO: CreateAllLog Start [2025-03-09 11:10:05] Production.INFO: 117 [2025-03-09 11:10:05] Production.INFO: Date 2025-03-08 [2025-03-09 11:10:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:10:05] Production.INFO: Reseller ==> 0 [2025-03-09 11:10:05] Production.INFO: count ==13 [2025-03-09 11:10:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:10:05] Production.INFO: count ==21 [2025-03-09 11:10:05] Production.ERROR: done [2025-03-09 11:10:05] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14641785') start [2025-03-09 11:10:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:10:05] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:10:05] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:10:05] Production.INFO: Date 2025-03-09 [2025-03-09 11:10:05] Production.INFO: Reseller ==> 0 [2025-03-09 11:10:05] Production.INFO: Total Charge 0 [2025-03-09 11:10:05] Production.INFO: CreateAllLog End [2025-03-09 11:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14641785') end [2025-03-09 11:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:10:05] Production.INFO: 1 [2025-03-09 11:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:10:05] Production.INFO: ==11129== Releasing lock... [2025-03-09 11:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:10:05] Production.ERROR: done [2025-03-09 11:10:05] Production.ERROR: done [2025-03-09 11:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 11:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641786', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 11:10:05] Production.INFO: Account Balance End. [2025-03-09 11:10:05] Production.ERROR: CronJobId end 12 [2025-03-09 11:10:05] Production.INFO: ==11123== Releasing lock... [2025-03-09 11:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:10:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:10:07 [end_date_ymd] => 2025-03-09 11:10:07 [RateCDR] => 1 ) [2025-03-09 11: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-09 08:10:07' and `end` < '2025-03-09 11: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-09 11:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641786', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 11:10:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 11:10:10] Production.INFO: ProcessCDR(1,14641786,1,1,2) [2025-03-09 11:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14641786,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14641786,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:10:10] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:10:10] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:10:10] Production.INFO: ==11127== Releasing lock... [2025-03-09 11:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 11:10:10] Production.INFO: 26 MB #Memory Used# [2025-03-09 11:10:16] Production.ERROR: CronJobId end10 [2025-03-09 11:10:16] Production.INFO: ==11121== Releasing lock... [2025-03-09 11:10:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:10:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:10:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:10:18] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:10:18] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:10:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:10:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:10:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:10:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:10:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:10:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:10:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:10:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:10:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:10:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:10:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:10:18] Production.INFO: call_cost start [2025-03-09 11:10:18] Production.INFO: call_cost end [2025-03-09 11:10:19] Production.INFO: count ==256 [2025-03-09 11:10:19] Production.ERROR: pbx CDR StartTime 2025-03-09 08:10:07 - End Time 2025-03-09 11:10:07 [2025-03-09 11:10:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641787', 'tblTempUsageDetail_20' ) start [2025-03-09 11:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641787', 'tblTempUsageDetail_20' ) end [2025-03-09 11:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641787', 'tblTempVendorCDR_20' ) start [2025-03-09 11:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641787', 'tblTempVendorCDR_20' ) end [2025-03-09 11:10:19] Production.INFO: ProcessCDR(1,14641787,1,1,2) [2025-03-09 11:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:10:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:10:19] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:10:19] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:10:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:10:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:10:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:10:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:10:19] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:10:19] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:10:19] Production.INFO: ==11117== Releasing lock... [2025-03-09 11:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:10:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641787', 'tblTempUsageDetail_20' ) start [2025-03-09 11:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641787', 'tblTempUsageDetail_20' ) end [2025-03-09 11:10:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:10:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:10:22] Production.INFO: ==11125== Releasing lock... [2025-03-09 11:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:10:22] Production.INFO: 30 MB #Memory Used# [2025-03-09 15:11:01] Production.INFO: ==11186== Lock acquired, processing the job... [2025-03-09 15:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:11:01] Production.INFO: neon service started [2025-03-09 15:11:01] Production.INFO: neon service started [2025-03-09 15:11:01] Production.INFO: ==11186== Releasing lock... [2025-03-09 15:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:11:01] Production.INFO: ==11188== Lock acquired, processing the job... [2025-03-09 11:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:11:02] Production.INFO: ==11188== Releasing lock... [2025-03-09 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:11:02] Production.INFO: ==11190== Lock acquired, processing the job... [2025-03-09 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:11:02] Production.INFO: ==11190== Releasing lock... [2025-03-09 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:11:03] Production.INFO: ==11192== Lock acquired, processing the job... [2025-03-09 11:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:11:03] Production.INFO: ==11196== Lock acquired, processing the job... [2025-03-09 11:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:11:03] Production.INFO: ==11198== Lock acquired, processing the job... [2025-03-09 11:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:11:03] Production.INFO: Account Balance Start. [2025-03-09 11:11:03] Production.INFO: CreateAllLog Start [2025-03-09 11:11:03] Production.INFO: 117 [2025-03-09 11:11:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:11:03] Production.INFO: ==11194== Lock acquired, processing the job... [2025-03-09 11:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:11:03] Production.INFO: ==11202== Lock acquired, processing the job... [2025-03-09 11:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:11:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:11:03] Production.INFO: ==11200== Lock acquired, processing the job... [2025-03-09 11:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:11:03] Production.INFO: Total Charge 0 [2025-03-09 11:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:11:03] Production.INFO: CreateAllLog End [2025-03-09 11:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:11:03] Production.INFO: count ==13 [2025-03-09 11:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:11:03] Production.INFO: count ==21 [2025-03-09 11:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641790') start [2025-03-09 11:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641790') end [2025-03-09 11:11:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:11:03] Production.INFO: 1 [2025-03-09 11:11:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:11:04] Production.INFO: ==11202== Releasing lock... [2025-03-09 11:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:11:04] Production.ERROR: done [2025-03-09 11:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:11:04] Production.INFO: ==11194== Releasing lock... [2025-03-09 11:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:11:04] Production.INFO: Account Balance End. [2025-03-09 11:11:04] Production.ERROR: done [2025-03-09 11:11:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:11:04] Production.INFO: ==11198== Releasing lock... [2025-03-09 11:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:11:05 [end_date_ymd] => 2025-03-09 11:11:05 [RateCDR] => 1 ) [2025-03-09 11:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:11:05' and `end` < '2025-03-09 11:11:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:11:12] Production.ERROR: CronJobId end10 [2025-03-09 11:11:12] Production.INFO: ==11196== Releasing lock... [2025-03-09 11:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:11:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:11:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:11:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:11:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:11:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:11:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:11:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:11:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:11:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:11:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:11:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:11:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:11:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:11:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:11:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:11:14] Production.INFO: call_cost start [2025-03-09 11:11:14] Production.INFO: call_cost end [2025-03-09 11:11:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:11:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:11:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:11:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:11:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:11:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:11:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:11:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:11:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:11:15] Production.INFO: ==11192== Releasing lock... [2025-03-09 11:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:11:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:11:17] Production.INFO: count ==256 [2025-03-09 11:11:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:11:05 - End Time 2025-03-09 11:11:05 [2025-03-09 11:11:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641792', 'tblTempUsageDetail_20' ) start [2025-03-09 11:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641792', 'tblTempUsageDetail_20' ) end [2025-03-09 11:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641792', 'tblTempVendorCDR_20' ) start [2025-03-09 11:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641792', 'tblTempVendorCDR_20' ) end [2025-03-09 11:11:17] Production.INFO: ProcessCDR(1,14641792,1,1,2) [2025-03-09 11:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:11:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641792', 'tblTempUsageDetail_20' ) start [2025-03-09 11:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641792', 'tblTempUsageDetail_20' ) end [2025-03-09 11:11:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:11:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:11:20] Production.INFO: ==11200== Releasing lock... [2025-03-09 11:11:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:11:20] Production.INFO: 30 MB #Memory Used# [2025-03-09 15:12:01] Production.INFO: ==11336== Lock acquired, processing the job... [2025-03-09 15:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:12:02] Production.INFO: neon service started [2025-03-09 15:12:02] Production.INFO: neon service started [2025-03-09 15:12:02] Production.INFO: ==11336== Releasing lock... [2025-03-09 15:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:12:02] Production.INFO: ==11340== Lock acquired, processing the job... [2025-03-09 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:12:02] Production.INFO: ==11338== Lock acquired, processing the job... [2025-03-09 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:12:02] Production.INFO: ==11340== Releasing lock... [2025-03-09 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:12:03] Production.INFO: ==11338== Releasing lock... [2025-03-09 11:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:12:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:12:03] Production.INFO: ==11343== Lock acquired, processing the job... [2025-03-09 11:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:12:04] Production.INFO: ==11349== Lock acquired, processing the job... [2025-03-09 11:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:12:04] Production.INFO: ==11347== Lock acquired, processing the job... [2025-03-09 11:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:12:04] Production.INFO: Account Balance Start. [2025-03-09 11:12:04] Production.INFO: CreateAllLog Start [2025-03-09 11:12:04] Production.INFO: 117 [2025-03-09 11:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:12:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:12:04] Production.INFO: ==11345== Lock acquired, processing the job... [2025-03-09 11:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:12:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:12:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:12:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:12:04] Production.INFO: Total Charge 0 [2025-03-09 11:12:04] Production.INFO: CreateAllLog End [2025-03-09 11:12:04] Production.INFO: ==11351== Lock acquired, processing the job... [2025-03-09 11:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:12:04] Production.INFO: Account Balance End. [2025-03-09 11:12:04] Production.INFO: ==11353== Lock acquired, processing the job... [2025-03-09 11:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:12:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:12:04] Production.INFO: ==11349== Releasing lock... [2025-03-09 11:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:12:04] Production.INFO: count ==13 [2025-03-09 11:12:04] Production.INFO: ==11345== Releasing lock... [2025-03-09 11:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:12:04] Production.INFO: count ==21 [2025-03-09 11:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641796') start [2025-03-09 11:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641796') end [2025-03-09 11:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:12:04] Production.INFO: 1 [2025-03-09 11:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:12:05] Production.ERROR: done [2025-03-09 11:12:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:12:05] Production.INFO: ==11353== Releasing lock... [2025-03-09 11:12:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:12:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:12:05] Production.ERROR: done [2025-03-09 11:12:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:12:06 [end_date_ymd] => 2025-03-09 11:12:06 [RateCDR] => 1 ) [2025-03-09 11: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-09 08:12:06' and `end` < '2025-03-09 11: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-09 11:12:12] Production.ERROR: CronJobId end10 [2025-03-09 11:12:12] Production.INFO: ==11347== Releasing lock... [2025-03-09 11:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:12:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:12:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:12:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:12:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:12:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:12:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:12:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:12:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:12:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:12:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:12:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:12:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:12:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:12:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:12:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:12:14] Production.INFO: call_cost start [2025-03-09 11:12:14] Production.INFO: call_cost end [2025-03-09 11:12:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:12:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:12:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:12:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:12:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:12:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:12:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:12:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:12:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:12:15] Production.INFO: ==11343== Releasing lock... [2025-03-09 11:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:12:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:12:18] Production.INFO: count ==263 [2025-03-09 11:12:18] Production.ERROR: pbx CDR StartTime 2025-03-09 08:12:06 - End Time 2025-03-09 11:12:06 [2025-03-09 11:12:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641797', 'tblTempUsageDetail_20' ) start [2025-03-09 11:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641797', 'tblTempUsageDetail_20' ) end [2025-03-09 11:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641797', 'tblTempVendorCDR_20' ) start [2025-03-09 11:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641797', 'tblTempVendorCDR_20' ) end [2025-03-09 11:12:18] Production.INFO: ProcessCDR(1,14641797,1,1,2) [2025-03-09 11:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641797', 'tblTempUsageDetail_20' ) start [2025-03-09 11:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641797', 'tblTempUsageDetail_20' ) end [2025-03-09 11:12:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:12:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:12:21] Production.INFO: ==11351== Releasing lock... [2025-03-09 11:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:12:21] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 15:13:01] Production.INFO: ==11409== Lock acquired, processing the job... [2025-03-09 15:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:13:01] Production.INFO: neon service started [2025-03-09 15:13:01] Production.INFO: neon service started [2025-03-09 15:13:01] Production.INFO: ==11409== Releasing lock... [2025-03-09 15:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:13:02] Production.INFO: ==11413== Lock acquired, processing the job... [2025-03-09 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:13:02] Production.INFO: ==11411== Lock acquired, processing the job... [2025-03-09 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:13:02] Production.INFO: ==11413== Releasing lock... [2025-03-09 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:13:02] Production.INFO: ==11411== Releasing lock... [2025-03-09 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:13:03] Production.INFO: ==11416== Lock acquired, processing the job... [2025-03-09 11:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:13:03] Production.INFO: ==11418== Lock acquired, processing the job... [2025-03-09 11:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:13:03] Production.INFO: ==11424== Lock acquired, processing the job... [2025-03-09 11:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:13:03] Production.INFO: ==11420== Lock acquired, processing the job... [2025-03-09 11:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:13:03] Production.INFO: ==11422== Lock acquired, processing the job... [2025-03-09 11:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:13:03] Production.INFO: ==11418== Releasing lock... [2025-03-09 11:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:13:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:13:03] Production.INFO: ==11426== Lock acquired, processing the job... [2025-03-09 11:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:13:04] Production.INFO: Account Balance Start. [2025-03-09 11:13:04] Production.INFO: CreateAllLog Start [2025-03-09 11:13:04] Production.INFO: 117 [2025-03-09 11:13:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:13:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:13:04] Production.ERROR: done [2025-03-09 11:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:13:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:13:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:13:04] Production.INFO: Total Charge 0 [2025-03-09 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-09 11:13:04] Production.INFO: CreateAllLog End [2025-03-09 11:13:04] Production.INFO: count ==13 [2025-03-09 11:13:04] Production.ERROR: done [2025-03-09 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-09 11:13:04] Production.INFO: count ==21 [2025-03-09 11:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641801') start [2025-03-09 11:13:04] Production.INFO: Account Balance End. [2025-03-09 11:13:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:13:04] Production.INFO: ==11422== Releasing lock... [2025-03-09 11:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641801') end [2025-03-09 11:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:13:04] Production.INFO: 1 [2025-03-09 11:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:13:04] Production.INFO: ==11426== Releasing lock... [2025-03-09 11:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:13:05 [end_date_ymd] => 2025-03-09 11:13:05 [RateCDR] => 1 ) [2025-03-09 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-09 08:13:05' and `end` < '2025-03-09 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-09 11:13:12] Production.ERROR: CronJobId end10 [2025-03-09 11:13:12] Production.INFO: ==11420== Releasing lock... [2025-03-09 11:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:13:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:13:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:13:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:13:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:13:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:13:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:13:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:13:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:13:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:13:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:13:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:13:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:13:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:13:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:13:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:13:15] Production.INFO: call_cost start [2025-03-09 11:13:15] Production.INFO: call_cost end [2025-03-09 11:13:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:13:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:13:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:13:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:13:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:13:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:13:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:13:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:13:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:13:16] Production.INFO: ==11416== Releasing lock... [2025-03-09 11:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:13:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:13:17] Production.INFO: count ==264 [2025-03-09 11:13:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:13:05 - End Time 2025-03-09 11:13:05 [2025-03-09 11:13:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641802', 'tblTempUsageDetail_20' ) start [2025-03-09 11:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641802', 'tblTempUsageDetail_20' ) end [2025-03-09 11:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641802', 'tblTempVendorCDR_20' ) start [2025-03-09 11:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641802', 'tblTempVendorCDR_20' ) end [2025-03-09 11:13:17] Production.INFO: ProcessCDR(1,14641802,1,1,2) [2025-03-09 11:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641802', 'tblTempUsageDetail_20' ) start [2025-03-09 11:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641802', 'tblTempUsageDetail_20' ) end [2025-03-09 11:13:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:13:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:13:20] Production.INFO: ==11424== Releasing lock... [2025-03-09 11:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:13:20] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 15:14:01] Production.INFO: ==11483== Lock acquired, processing the job... [2025-03-09 15:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:14:02] Production.INFO: neon service started [2025-03-09 15:14:02] Production.INFO: neon service started [2025-03-09 15:14:02] Production.INFO: ==11483== Releasing lock... [2025-03-09 15:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:14:02] Production.INFO: ==11485== Lock acquired, processing the job... [2025-03-09 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:14:02] Production.INFO: ==11485== Releasing lock... [2025-03-09 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:14:02] Production.INFO: ==11487== Lock acquired, processing the job... [2025-03-09 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:14:02] Production.INFO: ==11487== Releasing lock... [2025-03-09 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:14:03] Production.INFO: ==11498== Lock acquired, processing the job... [2025-03-09 11:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:14:03] Production.INFO: ==11496== Lock acquired, processing the job... [2025-03-09 11:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:14:03] Production.INFO: Account Balance Start. [2025-03-09 11:14:03] Production.INFO: CreateAllLog Start [2025-03-09 11:14:03] Production.INFO: 117 [2025-03-09 11:14:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:14:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:14:03] Production.INFO: ==11490== Lock acquired, processing the job... [2025-03-09 11:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:14:03] Production.INFO: Total Charge 0 [2025-03-09 11:14:03] Production.INFO: CreateAllLog End [2025-03-09 11:14:03] Production.INFO: ==11494== Lock acquired, processing the job... [2025-03-09 11:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:14:03] Production.INFO: ==11492== Lock acquired, processing the job... [2025-03-09 11:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:14:04] Production.INFO: ==11500== Lock acquired, processing the job... [2025-03-09 11:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:14:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:14:04] Production.INFO: Account Balance End. [2025-03-09 11:14:04] Production.ERROR: done [2025-03-09 11:14:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:14:04] Production.INFO: ==11496== Releasing lock... [2025-03-09 11:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:14:04] Production.INFO: count ==13 [2025-03-09 11:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:14:04] Production.INFO: count ==21 [2025-03-09 11:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641806') start [2025-03-09 11:14:04] Production.ERROR: done [2025-03-09 11:14:04] Production.INFO: ==11492== Releasing lock... [2025-03-09 11:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641806') end [2025-03-09 11:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:14:04] Production.INFO: 1 [2025-03-09 11:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:14:04] Production.INFO: ==11500== Releasing lock... [2025-03-09 11:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:14:05 [end_date_ymd] => 2025-03-09 11:14:05 [RateCDR] => 1 ) [2025-03-09 11:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:14:05' and `end` < '2025-03-09 11:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:14:12] Production.ERROR: CronJobId end10 [2025-03-09 11:14:12] Production.INFO: ==11494== Releasing lock... [2025-03-09 11:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:14:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:14:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:14:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:14:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:14:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:14:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:14:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:14:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:14:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:14:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:14:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:14:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:14:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:14:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:14:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:14:14] Production.INFO: call_cost start [2025-03-09 11:14:14] Production.INFO: call_cost end [2025-03-09 11:14:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:14:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:14:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:14:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:14:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:14:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:14:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:14:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:14:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:14:15] Production.INFO: ==11490== Releasing lock... [2025-03-09 11:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:14:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:14:17] Production.INFO: count ==264 [2025-03-09 11:14:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:14:05 - End Time 2025-03-09 11:14:05 [2025-03-09 11:14:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641807', 'tblTempUsageDetail_20' ) start [2025-03-09 11:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641807', 'tblTempUsageDetail_20' ) end [2025-03-09 11:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641807', 'tblTempVendorCDR_20' ) start [2025-03-09 11:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641807', 'tblTempVendorCDR_20' ) end [2025-03-09 11:14:17] Production.INFO: ProcessCDR(1,14641807,1,1,2) [2025-03-09 11:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:14:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641807', 'tblTempUsageDetail_20' ) start [2025-03-09 11:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641807', 'tblTempUsageDetail_20' ) end [2025-03-09 11:14:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:14:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:14:20] Production.INFO: ==11498== Releasing lock... [2025-03-09 11:14:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:14:20] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 15:15:01] Production.INFO: ==11677== Lock acquired, processing the job... [2025-03-09 15:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:15:01] Production.INFO: neon service started [2025-03-09 15:15:01] Production.INFO: neon service started [2025-03-09 15:15:01] Production.INFO: ==11677== Releasing lock... [2025-03-09 15:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:15:01] Production.INFO: ==11679== Lock acquired, processing the job... [2025-03-09 11:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:15:02] Production.INFO: ==11681== Lock acquired, processing the job... [2025-03-09 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:15:02] Production.INFO: ==11681== Releasing lock... [2025-03-09 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:15:02] Production.INFO: ==11679== Releasing lock... [2025-03-09 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:15:02] Production.INFO: ==11684== Lock acquired, processing the job... [2025-03-09 11:15:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:15:03] Production.INFO: ==11686== Lock acquired, processing the job... [2025-03-09 11:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:15:03] Production.INFO: ==11692== Lock acquired, processing the job... [2025-03-09 11:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:15:03] Production.INFO: ==11688== Lock acquired, processing the job... [2025-03-09 11:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:15:03] Production.INFO: ==11686== Releasing lock... [2025-03-09 11:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:15:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:15:03] Production.INFO: ==11690== Lock acquired, processing the job... [2025-03-09 11:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:15:03] Production.ERROR: done [2025-03-09 11:15:03] Production.INFO: ==11694== Lock acquired, processing the job... [2025-03-09 11:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:15:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:15:03] Production.INFO: Account Balance Start. [2025-03-09 11:15:03] Production.INFO: CreateAllLog Start [2025-03-09 11:15:03] Production.INFO: 117 [2025-03-09 11:15:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:15:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:15:03] Production.INFO: count ==13 [2025-03-09 11:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:15:03] Production.INFO: count ==21 [2025-03-09 11:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641811') start [2025-03-09 11:15:03] Production.ERROR: done [2025-03-09 11:15:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:15:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:15:04] Production.INFO: Total Charge 0 [2025-03-09 11:15:04] Production.INFO: CreateAllLog End [2025-03-09 11:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641811') end [2025-03-09 11:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:15:04] Production.INFO: 1 [2025-03-09 11:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:15:04] Production.INFO: ==11694== Releasing lock... [2025-03-09 11:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:15:04] Production.INFO: Account Balance End. [2025-03-09 11:15:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:15:04] Production.INFO: ==11690== Releasing lock... [2025-03-09 11:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:15:05 [end_date_ymd] => 2025-03-09 11:15:05 [RateCDR] => 1 ) [2025-03-09 11:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:15:05' and `end` < '2025-03-09 11:15:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:15:11] Production.ERROR: CronJobId end10 [2025-03-09 11:15:11] Production.INFO: ==11688== Releasing lock... [2025-03-09 11:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:15:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:15:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:15:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:15:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:15:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:15:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:15:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:15:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:15:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:15:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:15:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:15:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:15:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:15:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:15:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:15:13] Production.INFO: call_cost start [2025-03-09 11:15:13] Production.INFO: call_cost end [2025-03-09 11:15:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:15:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:15:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:15:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:15:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:15:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:15:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:15:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:15:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:15:14] Production.INFO: ==11684== Releasing lock... [2025-03-09 11:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:15:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:15:17] Production.INFO: count ==268 [2025-03-09 11:15:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:15:05 - End Time 2025-03-09 11:15:05 [2025-03-09 11:15:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641812', 'tblTempUsageDetail_20' ) start [2025-03-09 11:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641812', 'tblTempUsageDetail_20' ) end [2025-03-09 11:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641812', 'tblTempVendorCDR_20' ) start [2025-03-09 11:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641812', 'tblTempVendorCDR_20' ) end [2025-03-09 11:15:17] Production.INFO: ProcessCDR(1,14641812,1,1,2) [2025-03-09 11:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:15:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641812', 'tblTempUsageDetail_20' ) start [2025-03-09 11:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641812', 'tblTempUsageDetail_20' ) end [2025-03-09 11:15:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:15:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:15:20] Production.INFO: ==11692== Releasing lock... [2025-03-09 11:15:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:15:20] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 15:16:01] Production.INFO: ==11747== Lock acquired, processing the job... [2025-03-09 15:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:16:02] Production.INFO: neon service started [2025-03-09 15:16:02] Production.INFO: neon service started [2025-03-09 15:16:02] Production.INFO: ==11747== Releasing lock... [2025-03-09 15:16:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:16:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:16:02] Production.INFO: ==11749== Lock acquired, processing the job... [2025-03-09 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:16:02] Production.INFO: ==11751== Lock acquired, processing the job... [2025-03-09 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:16:02] Production.INFO: ==11751== Releasing lock... [2025-03-09 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:16:03] Production.INFO: ==11749== Releasing lock... [2025-03-09 11:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:16:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:16:03] Production.INFO: ==11754== Lock acquired, processing the job... [2025-03-09 11:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:16:03] Production.INFO: ==11760== Lock acquired, processing the job... [2025-03-09 11:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:16:04] Production.INFO: Account Balance Start. [2025-03-09 11:16:04] Production.INFO: CreateAllLog Start [2025-03-09 11:16:04] Production.INFO: 117 [2025-03-09 11:16:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:16:04] Production.INFO: ==11764== Lock acquired, processing the job... [2025-03-09 11:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:16:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:16:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:16:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:16:04] Production.INFO: Total Charge 0 [2025-03-09 11:16:04] Production.INFO: CreateAllLog End [2025-03-09 11:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:16:04] Production.INFO: ==11756== Lock acquired, processing the job... [2025-03-09 11:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:16:04] Production.INFO: ==11762== Lock acquired, processing the job... [2025-03-09 11:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:16:04] Production.INFO: ==11758== Lock acquired, processing the job... [2025-03-09 11:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:16:04] Production.INFO: count ==13 [2025-03-09 11:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:16:04] Production.INFO: count ==21 [2025-03-09 11:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641815') start [2025-03-09 11:16:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:16:04] Production.INFO: Account Balance End. [2025-03-09 11:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641815') end [2025-03-09 11:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:16:04] Production.INFO: 1 [2025-03-09 11:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:16:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:16:04] Production.INFO: ==11760== Releasing lock... [2025-03-09 11:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:16:04] Production.INFO: ==11764== Releasing lock... [2025-03-09 11:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:16:04] Production.INFO: ==11756== Releasing lock... [2025-03-09 11:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:16:04] Production.ERROR: done [2025-03-09 11:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:16:04] Production.ERROR: done [2025-03-09 11:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:16:05 [end_date_ymd] => 2025-03-09 11:16:05 [RateCDR] => 1 ) [2025-03-09 11:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:16:05' and `end` < '2025-03-09 11:16:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:16:12] Production.ERROR: CronJobId end10 [2025-03-09 11:16:12] Production.INFO: ==11758== Releasing lock... [2025-03-09 11:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:16:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:16:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:16:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:16:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:16:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:16:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:16:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:16:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:16:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:16:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:16:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:16:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:16:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:16:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:16:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:16:14] Production.INFO: call_cost start [2025-03-09 11:16:14] Production.INFO: call_cost end [2025-03-09 11:16:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:16:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:16:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:16:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:16:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:16:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:16:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:16:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:16:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:16:14] Production.INFO: ==11754== Releasing lock... [2025-03-09 11:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:16:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:16:17] Production.INFO: count ==268 [2025-03-09 11:16:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:16:05 - End Time 2025-03-09 11:16:05 [2025-03-09 11:16:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641817', 'tblTempUsageDetail_20' ) start [2025-03-09 11:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641817', 'tblTempUsageDetail_20' ) end [2025-03-09 11:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641817', 'tblTempVendorCDR_20' ) start [2025-03-09 11:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641817', 'tblTempVendorCDR_20' ) end [2025-03-09 11:16:17] Production.INFO: ProcessCDR(1,14641817,1,1,2) [2025-03-09 11:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:16:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641817', 'tblTempUsageDetail_20' ) start [2025-03-09 11:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641817', 'tblTempUsageDetail_20' ) end [2025-03-09 11:16:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:16:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:16:20] Production.INFO: ==11762== Releasing lock... [2025-03-09 11:16:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:16:20] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 15:17:01] Production.INFO: ==11820== Lock acquired, processing the job... [2025-03-09 15:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:17:01] Production.INFO: neon service started [2025-03-09 15:17:01] Production.INFO: neon service started [2025-03-09 15:17:01] Production.INFO: ==11820== Releasing lock... [2025-03-09 15:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:17:01] Production.INFO: ==11824== Lock acquired, processing the job... [2025-03-09 15:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:17:01] Production.INFO: ==11824== Releasing lock... [2025-03-09 15:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:17:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:17:01] Production.INFO: ==11822== Lock acquired, processing the job... [2025-03-09 11:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:17:02] Production.INFO: ==11822== Releasing lock... [2025-03-09 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:17:02] Production.INFO: ==11827== Lock acquired, processing the job... [2025-03-09 11:17:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:17:03] Production.INFO: ==11829== Lock acquired, processing the job... [2025-03-09 11:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:17:03] Production.INFO: ==11833== Lock acquired, processing the job... [2025-03-09 11:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:17:03] Production.INFO: Account Balance Start. [2025-03-09 11:17:03] Production.INFO: CreateAllLog Start [2025-03-09 11:17:03] Production.INFO: 117 [2025-03-09 11:17:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:17:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:17:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:17:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:17:03] Production.INFO: Total Charge 0 [2025-03-09 11:17:03] Production.INFO: CreateAllLog End [2025-03-09 11:17:03] Production.INFO: ==11831== Lock acquired, processing the job... [2025-03-09 11:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:17:03] Production.INFO: ==11829== Releasing lock... [2025-03-09 11:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:17:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:17:03] Production.INFO: Account Balance End. [2025-03-09 11:17:03] Production.INFO: ==11835== Lock acquired, processing the job... [2025-03-09 11:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:17:03] Production.ERROR: CronJobId end 12 [2025-03-09 11:17:03] Production.INFO: ==11833== Releasing lock... [2025-03-09 11:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:17:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:17:03] Production.INFO: ==11837== Lock acquired, processing the job... [2025-03-09 11:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:17:03] Production.ERROR: done [2025-03-09 11:17:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:17:03] Production.INFO: count ==13 [2025-03-09 11:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:17:03] Production.INFO: count ==21 [2025-03-09 11:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641821') start [2025-03-09 11:17:04] Production.ERROR: done [2025-03-09 11:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641821') end [2025-03-09 11:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:17:04] Production.INFO: 1 [2025-03-09 11:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:17:04] Production.INFO: ==11837== Releasing lock... [2025-03-09 11:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:17:05 [end_date_ymd] => 2025-03-09 11:17:05 [RateCDR] => 1 ) [2025-03-09 11:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:17:05' and `end` < '2025-03-09 11:17:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:17:11] Production.ERROR: CronJobId end10 [2025-03-09 11:17:11] Production.INFO: ==11831== Releasing lock... [2025-03-09 11:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:17:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:17:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:17:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:17:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:17:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:17:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:17:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:17:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:17:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:17:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:17:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:17:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:17:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:17:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:17:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:17:13] Production.INFO: call_cost start [2025-03-09 11:17:13] Production.INFO: call_cost end [2025-03-09 11:17:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:17:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:17:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:17:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:17:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:17:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:17:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:17:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:17:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:17:14] Production.INFO: ==11827== Releasing lock... [2025-03-09 11:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:17:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:17:17] Production.INFO: count ==270 [2025-03-09 11:17:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:17:05 - End Time 2025-03-09 11:17:05 [2025-03-09 11:17:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641822', 'tblTempUsageDetail_20' ) start [2025-03-09 11:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641822', 'tblTempUsageDetail_20' ) end [2025-03-09 11:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641822', 'tblTempVendorCDR_20' ) start [2025-03-09 11:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641822', 'tblTempVendorCDR_20' ) end [2025-03-09 11:17:17] Production.INFO: ProcessCDR(1,14641822,1,1,2) [2025-03-09 11:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:17:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641822', 'tblTempUsageDetail_20' ) start [2025-03-09 11:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641822', 'tblTempUsageDetail_20' ) end [2025-03-09 11:17:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:17:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:17:20] Production.INFO: ==11835== Releasing lock... [2025-03-09 11:17:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:17:20] Production.INFO: 30 MB #Memory Used# [2025-03-09 15:18:01] Production.INFO: ==11893== Lock acquired, processing the job... [2025-03-09 15:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:18:01] Production.INFO: neon service started [2025-03-09 15:18:01] Production.INFO: neon service started [2025-03-09 15:18:01] Production.INFO: ==11893== Releasing lock... [2025-03-09 15:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:18:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:18:02] Production.INFO: ==11897== Lock acquired, processing the job... [2025-03-09 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:18:02] Production.INFO: ==11897== Releasing lock... [2025-03-09 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:18:02] Production.INFO: ==11895== Lock acquired, processing the job... [2025-03-09 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:18:02] Production.INFO: ==11895== Releasing lock... [2025-03-09 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:18:02] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:18:03] Production.INFO: ==11904== Lock acquired, processing the job... [2025-03-09 11:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:18:03] Production.INFO: ==11900== Lock acquired, processing the job... [2025-03-09 11:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:18:03] Production.INFO: ==11902== Lock acquired, processing the job... [2025-03-09 11:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:18:03] Production.INFO: ==11910== Lock acquired, processing the job... [2025-03-09 11:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:18:03] Production.INFO: ==11906== Lock acquired, processing the job... [2025-03-09 11:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:18:03] Production.INFO: ==11908== Lock acquired, processing the job... [2025-03-09 11:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:18:03] Production.INFO: Account Balance Start. [2025-03-09 11:18:03] Production.INFO: CreateAllLog Start [2025-03-09 11:18:03] Production.INFO: 117 [2025-03-09 11: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-09 11:18:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:18:03] Production.INFO: count ==13 [2025-03-09 11:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:18:03] Production.INFO: Reseller ==> 0 [2025-03-09 11: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-09 11:18:03] Production.INFO: count ==21 [2025-03-09 11:18:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:18:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641825') start [2025-03-09 11:18:03] Production.INFO: Total Charge 0 [2025-03-09 11:18:03] Production.INFO: CreateAllLog End [2025-03-09 11:18:04] Production.INFO: ==11902== Releasing lock... [2025-03-09 11:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641825') end [2025-03-09 11:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:18:04] Production.INFO: 1 [2025-03-09 11:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:18:04] Production.INFO: Account Balance End. [2025-03-09 11:18:04] Production.ERROR: done [2025-03-09 11:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:18:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:18:04] Production.INFO: ==11906== Releasing lock... [2025-03-09 11:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:18:04] Production.INFO: ==11910== Releasing lock... [2025-03-09 11:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:18:04] Production.ERROR: done [2025-03-09 11:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:18:05 [end_date_ymd] => 2025-03-09 11:18:05 [RateCDR] => 1 ) [2025-03-09 11:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:18:05' and `end` < '2025-03-09 11:18:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:18:12] Production.ERROR: CronJobId end10 [2025-03-09 11:18:12] Production.INFO: ==11904== Releasing lock... [2025-03-09 11:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:18:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:18:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:18:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:18:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:18:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:18:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:18:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:18:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:18:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:18:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:18:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:18:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:18:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:18:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:18:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:18:14] Production.INFO: call_cost start [2025-03-09 11:18:14] Production.INFO: call_cost end [2025-03-09 11:18:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:18:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:18:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:18:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:18:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:18:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:18:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:18:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:18:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:18:15] Production.INFO: ==11900== Releasing lock... [2025-03-09 11:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:18:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:18:17] Production.INFO: count ==270 [2025-03-09 11:18:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:18:05 - End Time 2025-03-09 11:18:05 [2025-03-09 11:18:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641827', 'tblTempUsageDetail_20' ) start [2025-03-09 11:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641827', 'tblTempUsageDetail_20' ) end [2025-03-09 11:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641827', 'tblTempVendorCDR_20' ) start [2025-03-09 11:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641827', 'tblTempVendorCDR_20' ) end [2025-03-09 11:18:17] Production.INFO: ProcessCDR(1,14641827,1,1,2) [2025-03-09 11:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641827', 'tblTempUsageDetail_20' ) start [2025-03-09 11:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641827', 'tblTempUsageDetail_20' ) end [2025-03-09 11:18:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:18:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:18:20] Production.INFO: ==11908== Releasing lock... [2025-03-09 11:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:18:20] Production.INFO: 30 MB #Memory Used# [2025-03-09 15:19:02] Production.INFO: ==11968== Lock acquired, processing the job... [2025-03-09 15:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:19:02] Production.INFO: neon service started [2025-03-09 15:19:02] Production.INFO: neon service started [2025-03-09 15:19:02] Production.INFO: ==11968== Releasing lock... [2025-03-09 15:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:19:02] Production.INFO: ==11971== Lock acquired, processing the job... [2025-03-09 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:19:03] Production.INFO: ==11971== Releasing lock... [2025-03-09 11:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:19:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:19:03] Production.INFO: ==11973== Lock acquired, processing the job... [2025-03-09 15:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:19:03] Production.INFO: ==11973== Releasing lock... [2025-03-09 15:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:19:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:19:04] Production.INFO: ==11981== Lock acquired, processing the job... [2025-03-09 11:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:19:04] Production.INFO: ==11975== Lock acquired, processing the job... [2025-03-09 11:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:19:04] Production.INFO: ==11977== Lock acquired, processing the job... [2025-03-09 11:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:19:04] Production.INFO: ==11985== Lock acquired, processing the job... [2025-03-09 11:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:19:04] Production.INFO: ==11979== Lock acquired, processing the job... [2025-03-09 11:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:19:04] Production.INFO: Account Balance Start. [2025-03-09 11:19:04] Production.INFO: CreateAllLog Start [2025-03-09 11:19:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:19:04] Production.INFO: 117 [2025-03-09 11:19:04] Production.INFO: Date 2025-03-08 [2025-03-09 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-09 11:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:19:04] Production.INFO: ==11983== Lock acquired, processing the job... [2025-03-09 11:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:19:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:19:04] Production.INFO: count ==13 [2025-03-09 11:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 11:19:04] Production.INFO: count ==21 [2025-03-09 11:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641829') start [2025-03-09 11:19:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:19:04] Production.INFO: Total Charge 0 [2025-03-09 11:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:19:04] Production.INFO: CreateAllLog End [2025-03-09 11:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641829') end [2025-03-09 11:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:19:04] Production.INFO: 1 [2025-03-09 11:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:19:04] Production.INFO: ==11985== Releasing lock... [2025-03-09 11:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:19:04] Production.INFO: ==11977== Releasing lock... [2025-03-09 11:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:19:04] Production.INFO: Account Balance End. [2025-03-09 11:19:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:19:04] Production.INFO: ==11981== Releasing lock... [2025-03-09 11:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:19:04] Production.ERROR: done [2025-03-09 11:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:19:04] Production.ERROR: done [2025-03-09 11:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:19:05 [end_date_ymd] => 2025-03-09 11:19:05 [RateCDR] => 1 ) [2025-03-09 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-09 08:19:05' and `end` < '2025-03-09 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-09 11:19:12] Production.ERROR: CronJobId end10 [2025-03-09 11:19:12] Production.INFO: ==11979== Releasing lock... [2025-03-09 11:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:19:14] Production.INFO: call_cost start [2025-03-09 11:19:14] Production.INFO: call_cost end [2025-03-09 11:19:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:19:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:19:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:19:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:19:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:19:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:19:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:19:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:19:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:19:15] Production.INFO: ==11975== Releasing lock... [2025-03-09 11:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:19:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:19:17] Production.INFO: count ==270 [2025-03-09 11:19:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:19:05 - End Time 2025-03-09 11:19:05 [2025-03-09 11:19:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641832', 'tblTempUsageDetail_20' ) start [2025-03-09 11:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641832', 'tblTempUsageDetail_20' ) end [2025-03-09 11:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641832', 'tblTempVendorCDR_20' ) start [2025-03-09 11:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641832', 'tblTempVendorCDR_20' ) end [2025-03-09 11:19:17] Production.INFO: ProcessCDR(1,14641832,1,1,2) [2025-03-09 11:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641832', 'tblTempUsageDetail_20' ) start [2025-03-09 11:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641832', 'tblTempUsageDetail_20' ) end [2025-03-09 11:19:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:19:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:19:21] Production.INFO: ==11983== Releasing lock... [2025-03-09 11:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:19:21] Production.INFO: 30 MB #Memory Used# [2025-03-09 15:20:01] Production.INFO: ==12043== Lock acquired, processing the job... [2025-03-09 15:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:20:01] Production.INFO: neon service started [2025-03-09 15:20:01] Production.INFO: neon service started [2025-03-09 15:20:01] Production.INFO: ==12043== Releasing lock... [2025-03-09 15:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:20:02] Production.INFO: ==12046== Lock acquired, processing the job... [2025-03-09 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:20:02] Production.INFO: ==12048== Lock acquired, processing the job... [2025-03-09 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:20:02] Production.INFO: ==12048== Releasing lock... [2025-03-09 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:20:02] Production.INFO: ==12046== Releasing lock... [2025-03-09 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:20:04] Production.INFO: ==12056== Lock acquired, processing the job... [2025-03-09 11:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:20:04] Production.INFO: ==12058== Lock acquired, processing the job... [2025-03-09 11:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:20:04] Production.INFO: ==12064== Lock acquired, processing the job... [2025-03-09 11:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:20:04] Production.INFO: ==12050== Lock acquired, processing the job... [2025-03-09 11:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 11:20:04] Production.INFO: ==12052== Lock acquired, processing the job... [2025-03-09 11:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:20:04] Production.INFO: Account Balance Start. [2025-03-09 11:20:04] Production.INFO: CreateAllLog Start [2025-03-09 11:20:04] Production.INFO: 117 [2025-03-09 11:20:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 11:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 11:20:04] Production.ERROR: CronJob PID - 12052 [2025-03-09 11:20:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 11:20:04] Production.ERROR: CronJob ID - 5 [2025-03-09 11:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 11:20:00 [2025-03-09 11:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 11:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 11:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 11:20:04] Production.ERROR: CronJob PID - 12056 [2025-03-09 11:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 11:20:04] Production.ERROR: CronJob ID - 10 [2025-03-09 11:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 11:20:00 [2025-03-09 11:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 11:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 11:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 11:20:04] Production.ERROR: CronJob PID - 12058 [2025-03-09 11:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 11:20:04] Production.ERROR: CronJob ID - 12 [2025-03-09 11:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 11:20:00 [2025-03-09 11:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 11:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 11:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 11:20:04] Production.ERROR: CronJob PID - 12064 [2025-03-09 11:20:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 11:20:04] Production.ERROR: CronJob ID - 19 [2025-03-09 11:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 11:20:00 [2025-03-09 11:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 11:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 11:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:20:04] Production.INFO: ==12054== Lock acquired, processing the job... [2025-03-09 11:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 11:20:04] Production.INFO: ==12050== Releasing lock... [2025-03-09 11:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 11:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 11:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:20:04] Production.INFO: count ==13 [2025-03-09 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-09 11:20:04] Production.INFO: count ==21 [2025-03-09 11:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641834') start [2025-03-09 11:20:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:20:04] Production.INFO: ==12062== Lock acquired, processing the job... [2025-03-09 11:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 11:20:04] Production.INFO: ==12060== Lock acquired, processing the job... [2025-03-09 11:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:20:04] Production.INFO: Total Charge 0 [2025-03-09 11:20:04] Production.INFO: CreateAllLog End [2025-03-09 11:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641834') end [2025-03-09 11:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:20:04] Production.INFO: 1 [2025-03-09 11:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:20:04] Production.INFO: ==12064== Releasing lock... [2025-03-09 11:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:20:04] Production.INFO: Account Balance End. [2025-03-09 11:20:04] Production.INFO: ==12054== Releasing lock... [2025-03-09 11:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:20:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:20:04] Production.INFO: ==12058== Releasing lock... [2025-03-09 11:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:20:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:20:05] Production.ERROR: done [2025-03-09 11:20:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:20:05] Production.ERROR: done [2025-03-09 11:20:05] Production.ERROR: done [2025-03-09 11:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 11:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641837', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 11:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:20:06 [end_date_ymd] => 2025-03-09 11:20:06 [RateCDR] => 1 ) [2025-03-09 11:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:20:06' and `end` < '2025-03-09 11:20:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641837', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 11:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 11:20:09] Production.INFO: ProcessCDR(1,14641837,1,1,2) [2025-03-09 11:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14641837,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14641837,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:20:09] Production.INFO: ==12062== Releasing lock... [2025-03-09 11:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 11:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 11:20:13] Production.ERROR: CronJobId end10 [2025-03-09 11:20:13] Production.INFO: ==12056== Releasing lock... [2025-03-09 11:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:20:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:20:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:20:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:20:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:20:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:20:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:20:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:20:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:20:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:20:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:20:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:20:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:20:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:20:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:20:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:20:16] Production.INFO: call_cost start [2025-03-09 11:20:16] Production.INFO: call_cost end [2025-03-09 11:20:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:20:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:20:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:20:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:20:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:20:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:20:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:20:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:20:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:20:17] Production.INFO: ==12052== Releasing lock... [2025-03-09 11:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:20:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:20:18] Production.INFO: count ==280 [2025-03-09 11:20:18] Production.ERROR: pbx CDR StartTime 2025-03-09 08:20:06 - End Time 2025-03-09 11:20:06 [2025-03-09 11:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641838', 'tblTempUsageDetail_20' ) start [2025-03-09 11:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641838', 'tblTempUsageDetail_20' ) end [2025-03-09 11:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641838', 'tblTempVendorCDR_20' ) start [2025-03-09 11:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641838', 'tblTempVendorCDR_20' ) end [2025-03-09 11:20:18] Production.INFO: ProcessCDR(1,14641838,1,1,2) [2025-03-09 11:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641838', 'tblTempUsageDetail_20' ) start [2025-03-09 11:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641838', 'tblTempUsageDetail_20' ) end [2025-03-09 11:20:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:20:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:20:22] Production.INFO: ==12060== Releasing lock... [2025-03-09 11:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:20:22] Production.INFO: 30 MB #Memory Used# [2025-03-09 15:21:02] Production.INFO: ==12121== Lock acquired, processing the job... [2025-03-09 15:21:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:21:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:21:02] Production.INFO: neon service started [2025-03-09 15:21:02] Production.INFO: neon service started [2025-03-09 15:21:02] Production.INFO: ==12121== Releasing lock... [2025-03-09 15:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:21:02] Production.INFO: ==12123== Lock acquired, processing the job... [2025-03-09 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:21:03] Production.INFO: ==12123== Releasing lock... [2025-03-09 11:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:21:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:21:03] Production.INFO: ==12125== Lock acquired, processing the job... [2025-03-09 15:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:21:03] Production.INFO: ==12125== Releasing lock... [2025-03-09 15:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:21:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:21:03] Production.INFO: ==12128== Lock acquired, processing the job... [2025-03-09 11:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:21:03] Production.INFO: ==12132== Lock acquired, processing the job... [2025-03-09 11:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:21:03] Production.INFO: ==12134== Lock acquired, processing the job... [2025-03-09 11:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:21:04] Production.INFO: Account Balance Start. [2025-03-09 11:21:04] Production.INFO: CreateAllLog Start [2025-03-09 11:21:04] Production.INFO: 117 [2025-03-09 11:21:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:21:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:21:04] Production.INFO: Total Charge 0 [2025-03-09 11:21:04] Production.INFO: ==12130== Lock acquired, processing the job... [2025-03-09 11:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:21:04] Production.INFO: CreateAllLog End [2025-03-09 11:21:04] Production.INFO: Account Balance End. [2025-03-09 11:21:04] Production.INFO: ==12136== Lock acquired, processing the job... [2025-03-09 11:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:21:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:21:04] Production.INFO: ==12134== Releasing lock... [2025-03-09 11:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:21:04] Production.INFO: ==12138== Lock acquired, processing the job... [2025-03-09 11:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 11:21:04] Production.INFO: count ==13 [2025-03-09 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-09 11:21:04] Production.INFO: ==12130== Releasing lock... [2025-03-09 11:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:21:04] Production.INFO: count ==21 [2025-03-09 11:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641842') start [2025-03-09 11:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641842') end [2025-03-09 11:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:21:04] Production.INFO: 1 [2025-03-09 11:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:21:04] Production.ERROR: done [2025-03-09 11:21:04] Production.INFO: ==12138== Releasing lock... [2025-03-09 11:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:21:05] Production.ERROR: done [2025-03-09 11:21:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:21:06 [end_date_ymd] => 2025-03-09 11:21:06 [RateCDR] => 1 ) [2025-03-09 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-09 08:21:06' and `end` < '2025-03-09 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-09 11:21:12] Production.ERROR: CronJobId end10 [2025-03-09 11:21:12] Production.INFO: ==12132== Releasing lock... [2025-03-09 11:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:21:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:21:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:21:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:21:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:21:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:21:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:21:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:21:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:21:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:21:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:21:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:21:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:21:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:21:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:21:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:21:13] Production.INFO: call_cost start [2025-03-09 11:21:13] Production.INFO: call_cost end [2025-03-09 11:21:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:21:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:21:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:21:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:21:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:21:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:21:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:21:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:21:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:21:14] Production.INFO: ==12128== Releasing lock... [2025-03-09 11:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:21:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:21:18] Production.INFO: count ==285 [2025-03-09 11:21:18] Production.ERROR: pbx CDR StartTime 2025-03-09 08:21:06 - End Time 2025-03-09 11:21:06 [2025-03-09 11:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641843', 'tblTempUsageDetail_20' ) start [2025-03-09 11:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641843', 'tblTempUsageDetail_20' ) end [2025-03-09 11:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641843', 'tblTempVendorCDR_20' ) start [2025-03-09 11:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641843', 'tblTempVendorCDR_20' ) end [2025-03-09 11:21:18] Production.INFO: ProcessCDR(1,14641843,1,1,2) [2025-03-09 11:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641843', 'tblTempUsageDetail_20' ) start [2025-03-09 11:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641843', 'tblTempUsageDetail_20' ) end [2025-03-09 11:21:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:21:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:21:22] Production.INFO: ==12136== Releasing lock... [2025-03-09 11:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:21:22] Production.INFO: 30 MB #Memory Used# [2025-03-09 15:22:01] Production.INFO: ==12200== Lock acquired, processing the job... [2025-03-09 15:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:22:01] Production.INFO: neon service started [2025-03-09 15:22:01] Production.INFO: neon service started [2025-03-09 15:22:01] Production.INFO: ==12200== Releasing lock... [2025-03-09 15:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:22:02] Production.INFO: ==12204== Lock acquired, processing the job... [2025-03-09 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:22:02] Production.INFO: ==12204== Releasing lock... [2025-03-09 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:22:02] Production.INFO: ==12202== Lock acquired, processing the job... [2025-03-09 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:22:02] Production.INFO: ==12202== Releasing lock... [2025-03-09 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:22:03] Production.INFO: ==12207== Lock acquired, processing the job... [2025-03-09 11:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:22:03] Production.INFO: ==12215== Lock acquired, processing the job... [2025-03-09 11:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:22:03] Production.INFO: ==12213== Lock acquired, processing the job... [2025-03-09 11:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:22:03] Production.INFO: Account Balance Start. [2025-03-09 11:22:03] Production.INFO: CreateAllLog Start [2025-03-09 11:22:03] Production.INFO: 117 [2025-03-09 11:22:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:22:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:22:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:22:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:22:03] Production.INFO: Total Charge 0 [2025-03-09 11:22:03] Production.INFO: CreateAllLog End [2025-03-09 11:22:03] Production.ERROR: done [2025-03-09 11:22:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:22:03] Production.INFO: ==12217== Lock acquired, processing the job... [2025-03-09 11:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:22:03] Production.INFO: ==12209== Lock acquired, processing the job... [2025-03-09 11:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:22:03] Production.INFO: ==12211== Lock acquired, processing the job... [2025-03-09 11:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:22:04] Production.INFO: Account Balance End. [2025-03-09 11:22:04] Production.ERROR: done [2025-03-09 11:22:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:22:04] Production.INFO: ==12213== Releasing lock... [2025-03-09 11:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:22:04] Production.INFO: count ==13 [2025-03-09 11:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:22:04] Production.INFO: count ==21 [2025-03-09 11:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641847') start [2025-03-09 11:22:04] Production.INFO: ==12209== Releasing lock... [2025-03-09 11:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641847') end [2025-03-09 11:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:22:04] Production.INFO: 1 [2025-03-09 11:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:22:04] Production.INFO: ==12217== Releasing lock... [2025-03-09 11:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:22:05 [end_date_ymd] => 2025-03-09 11:22:05 [RateCDR] => 1 ) [2025-03-09 11:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:22:05' and `end` < '2025-03-09 11:22:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:22:12] Production.ERROR: CronJobId end10 [2025-03-09 11:22:12] Production.INFO: ==12211== Releasing lock... [2025-03-09 11:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:22:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:22:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:22:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:22:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:22:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:22:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:22:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:22:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:22:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:22:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:22:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:22:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:22:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:22:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:22:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:22:14] Production.INFO: call_cost start [2025-03-09 11:22:14] Production.INFO: call_cost end [2025-03-09 11:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:22:15] Production.INFO: ==12207== Releasing lock... [2025-03-09 11:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:22:17] Production.INFO: count ==286 [2025-03-09 11:22:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:22:05 - End Time 2025-03-09 11:22:05 [2025-03-09 11:22:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641848', 'tblTempUsageDetail_20' ) start [2025-03-09 11:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641848', 'tblTempUsageDetail_20' ) end [2025-03-09 11:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641848', 'tblTempVendorCDR_20' ) start [2025-03-09 11:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641848', 'tblTempVendorCDR_20' ) end [2025-03-09 11:22:17] Production.INFO: ProcessCDR(1,14641848,1,1,2) [2025-03-09 11:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641848', 'tblTempUsageDetail_20' ) start [2025-03-09 11:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641848', 'tblTempUsageDetail_20' ) end [2025-03-09 11:22:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:22:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:22:22] Production.INFO: ==12215== Releasing lock... [2025-03-09 11:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:22:22] Production.INFO: 30 MB #Memory Used# [2025-03-09 15:23:02] Production.INFO: ==12272== Lock acquired, processing the job... [2025-03-09 15:23:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:23:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:23:02] Production.INFO: neon service started [2025-03-09 15:23:02] Production.INFO: neon service started [2025-03-09 15:23:02] Production.INFO: ==12272== Releasing lock... [2025-03-09 15:23:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:23:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:23:02] Production.INFO: ==12274== Lock acquired, processing the job... [2025-03-09 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:23:02] Production.INFO: ==12274== Releasing lock... [2025-03-09 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:23:03] Production.INFO: ==12276== Lock acquired, processing the job... [2025-03-09 15:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:23:03] Production.INFO: ==12276== Releasing lock... [2025-03-09 15:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:23:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:23:03] Production.INFO: ==12278== Lock acquired, processing the job... [2025-03-09 11:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:23:03] Production.INFO: ==12280== Lock acquired, processing the job... [2025-03-09 11:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:23:03] Production.INFO: ==12286== Lock acquired, processing the job... [2025-03-09 11:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:23:03] Production.INFO: ==12280== Releasing lock... [2025-03-09 11:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:23:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:23:03] Production.INFO: ==12282== Lock acquired, processing the job... [2025-03-09 11:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:23:03] Production.INFO: ==12288== Lock acquired, processing the job... [2025-03-09 11:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:23:03] Production.INFO: ==12284== Lock acquired, processing the job... [2025-03-09 11:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:23:04] Production.INFO: count ==13 [2025-03-09 11:23:04] Production.INFO: Account Balance Start. [2025-03-09 11:23:04] Production.INFO: CreateAllLog Start [2025-03-09 11:23:04] Production.INFO: 117 [2025-03-09 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-09 11:23:04] Production.INFO: count ==21 [2025-03-09 11:23:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641851') start [2025-03-09 11:23:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:23:04] Production.ERROR: done [2025-03-09 11:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:23:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:23:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641851') end [2025-03-09 11:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:23:04] Production.INFO: 1 [2025-03-09 11:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:23:04] Production.INFO: Total Charge 0 [2025-03-09 11:23:04] Production.INFO: CreateAllLog End [2025-03-09 11:23:04] Production.INFO: ==12288== Releasing lock... [2025-03-09 11:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:23:04] Production.ERROR: done [2025-03-09 11:23:04] Production.INFO: Account Balance End. [2025-03-09 11:23:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:23:04] Production.INFO: ==12284== Releasing lock... [2025-03-09 11:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:23:05 [end_date_ymd] => 2025-03-09 11:23:05 [RateCDR] => 1 ) [2025-03-09 11:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:23:05' and `end` < '2025-03-09 11:23:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:23:12] Production.ERROR: CronJobId end10 [2025-03-09 11:23:12] Production.INFO: ==12282== Releasing lock... [2025-03-09 11:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:23:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:23:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:23:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:23:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:23:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:23:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:23:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:23:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:23:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:23:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:23:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:23:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:23:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:23:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:23:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:23:14] Production.INFO: call_cost start [2025-03-09 11:23:14] Production.INFO: call_cost end [2025-03-09 11:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:23:15] Production.INFO: ==12278== Releasing lock... [2025-03-09 11:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:23:17] Production.INFO: count ==287 [2025-03-09 11:23:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:23:05 - End Time 2025-03-09 11:23:05 [2025-03-09 11:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641853', 'tblTempUsageDetail_20' ) start [2025-03-09 11:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641853', 'tblTempUsageDetail_20' ) end [2025-03-09 11:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641853', 'tblTempVendorCDR_20' ) start [2025-03-09 11:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641853', 'tblTempVendorCDR_20' ) end [2025-03-09 11:23:17] Production.INFO: ProcessCDR(1,14641853,1,1,2) [2025-03-09 11:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641853', 'tblTempUsageDetail_20' ) start [2025-03-09 11:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641853', 'tblTempUsageDetail_20' ) end [2025-03-09 11:23:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:23:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:23:21] Production.INFO: ==12286== Releasing lock... [2025-03-09 11:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:23:21] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 15:24:01] Production.INFO: ==12344== Lock acquired, processing the job... [2025-03-09 15:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:24:01] Production.INFO: neon service started [2025-03-09 15:24:01] Production.INFO: neon service started [2025-03-09 15:24:01] Production.INFO: ==12344== Releasing lock... [2025-03-09 15:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:24:02] Production.INFO: ==12348== Lock acquired, processing the job... [2025-03-09 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:24:02] Production.INFO: ==12348== Releasing lock... [2025-03-09 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:24:02] Production.INFO: ==12346== Lock acquired, processing the job... [2025-03-09 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:24:02] Production.INFO: ==12346== Releasing lock... [2025-03-09 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:24:03] Production.INFO: ==12359== Lock acquired, processing the job... [2025-03-09 11:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:24:03] Production.INFO: ==12361== Lock acquired, processing the job... [2025-03-09 11:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:24:03] Production.INFO: ==12351== Lock acquired, processing the job... [2025-03-09 11:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:24:03] Production.INFO: ==12353== Lock acquired, processing the job... [2025-03-09 11:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:24:03] Production.INFO: ==12355== Lock acquired, processing the job... [2025-03-09 11:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:24:03] Production.INFO: ==12357== Lock acquired, processing the job... [2025-03-09 11:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:24:03] Production.INFO: count ==13 [2025-03-09 11: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-09 11:24:03] Production.INFO: count ==21 [2025-03-09 11:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641854') start [2025-03-09 11:24:03] Production.ERROR: done [2025-03-09 11:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:24:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:24:03] Production.INFO: Account Balance Start. [2025-03-09 11:24:03] Production.INFO: CreateAllLog Start [2025-03-09 11:24:03] Production.INFO: 117 [2025-03-09 11:24:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:24:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:24:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:24:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641854') end [2025-03-09 11:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:24:04] Production.INFO: 1 [2025-03-09 11:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:24:04] Production.INFO: Total Charge 0 [2025-03-09 11:24:04] Production.INFO: CreateAllLog End [2025-03-09 11:24:04] Production.ERROR: done [2025-03-09 11:24:04] Production.INFO: ==12353== Releasing lock... [2025-03-09 11:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:24:04] Production.INFO: ==12361== Releasing lock... [2025-03-09 11:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:24:04] Production.INFO: Account Balance End. [2025-03-09 11:24:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:24:04] Production.INFO: ==12357== Releasing lock... [2025-03-09 11:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:24:05 [end_date_ymd] => 2025-03-09 11:24:05 [RateCDR] => 1 ) [2025-03-09 11:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:24:05' and `end` < '2025-03-09 11:24:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:24:11] Production.ERROR: CronJobId end10 [2025-03-09 11:24:11] Production.INFO: ==12355== Releasing lock... [2025-03-09 11:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:24:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:24:15] Production.INFO: call_cost start [2025-03-09 11:24:15] Production.INFO: call_cost end [2025-03-09 11:24:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:24:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:24:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:24:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:24:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:24:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:24:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:24:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:24:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:24:16] Production.INFO: ==12351== Releasing lock... [2025-03-09 11:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:24:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:24:17] Production.INFO: count ==289 [2025-03-09 11:24:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:24:05 - End Time 2025-03-09 11:24:05 [2025-03-09 11:24:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641858', 'tblTempUsageDetail_20' ) start [2025-03-09 11:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641858', 'tblTempUsageDetail_20' ) end [2025-03-09 11:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641858', 'tblTempVendorCDR_20' ) start [2025-03-09 11:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641858', 'tblTempVendorCDR_20' ) end [2025-03-09 11:24:17] Production.INFO: ProcessCDR(1,14641858,1,1,2) [2025-03-09 11:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641858', 'tblTempUsageDetail_20' ) start [2025-03-09 11:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641858', 'tblTempUsageDetail_20' ) end [2025-03-09 11:24:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:24:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:24:22] Production.INFO: ==12359== Releasing lock... [2025-03-09 11:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:24:22] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 15:25:01] Production.INFO: ==12418== Lock acquired, processing the job... [2025-03-09 15:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:25:02] Production.INFO: neon service started [2025-03-09 15:25:02] Production.INFO: neon service started [2025-03-09 15:25:02] Production.INFO: ==12418== Releasing lock... [2025-03-09 15:25:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:25:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:25:02] Production.INFO: ==12422== Lock acquired, processing the job... [2025-03-09 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:25:02] Production.INFO: ==12422== Releasing lock... [2025-03-09 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:25:02] Production.INFO: ==12420== Lock acquired, processing the job... [2025-03-09 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:25:02] Production.INFO: ==12420== Releasing lock... [2025-03-09 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:25:03] Production.INFO: ==12429== Lock acquired, processing the job... [2025-03-09 11:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:25:03] Production.INFO: ==12425== Lock acquired, processing the job... [2025-03-09 11:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:25:03] Production.INFO: ==12433== Lock acquired, processing the job... [2025-03-09 11:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:25:03] Production.INFO: ==12427== Lock acquired, processing the job... [2025-03-09 11:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:25:04] Production.INFO: ==12431== Lock acquired, processing the job... [2025-03-09 11:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:25:04] Production.INFO: ==12435== Lock acquired, processing the job... [2025-03-09 11:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:25:04] Production.INFO: Account Balance Start. [2025-03-09 11:25:04] Production.INFO: CreateAllLog Start [2025-03-09 11:25:04] Production.INFO: 117 [2025-03-09 11:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:25:04] Production.ERROR: done [2025-03-09 11:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:25:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:25:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:25:04] Production.INFO: count ==13 [2025-03-09 11:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:25:04] Production.INFO: count ==21 [2025-03-09 11:25:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:25:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641861') start [2025-03-09 11:25:04] Production.INFO: ==12427== Releasing lock... [2025-03-09 11:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:25:04] Production.ERROR: done [2025-03-09 11:25:04] Production.INFO: Total Charge 0 [2025-03-09 11:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641861') end [2025-03-09 11:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:25:04] Production.INFO: 1 [2025-03-09 11:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:25:04] Production.INFO: CreateAllLog End [2025-03-09 11:25:04] Production.INFO: ==12435== Releasing lock... [2025-03-09 11:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:25:04] Production.INFO: Account Balance End. [2025-03-09 11:25:05] Production.ERROR: CronJobId end 12 [2025-03-09 11:25:05] Production.INFO: ==12431== Releasing lock... [2025-03-09 11:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:25:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:25:05 [end_date_ymd] => 2025-03-09 11:25:05 [RateCDR] => 1 ) [2025-03-09 11:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:25:05' and `end` < '2025-03-09 11:25:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:25:12] Production.ERROR: CronJobId end10 [2025-03-09 11:25:12] Production.INFO: ==12429== Releasing lock... [2025-03-09 11:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:25:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:25:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:25:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:25:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:25:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:25:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:25:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:25:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:25:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:25:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:25:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:25:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:25:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:25:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:25:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:25:14] Production.INFO: call_cost start [2025-03-09 11:25:14] Production.INFO: call_cost end [2025-03-09 11:25:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:25:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:25:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:25:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:25:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:25:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:25:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:25:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:25:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:25:15] Production.INFO: ==12425== Releasing lock... [2025-03-09 11:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:25:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:25:17] Production.INFO: count ==290 [2025-03-09 11:25:18] Production.ERROR: pbx CDR StartTime 2025-03-09 08:25:05 - End Time 2025-03-09 11:25:05 [2025-03-09 11:25:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641863', 'tblTempUsageDetail_20' ) start [2025-03-09 11:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641863', 'tblTempUsageDetail_20' ) end [2025-03-09 11:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641863', 'tblTempVendorCDR_20' ) start [2025-03-09 11:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641863', 'tblTempVendorCDR_20' ) end [2025-03-09 11:25:18] Production.INFO: ProcessCDR(1,14641863,1,1,2) [2025-03-09 11:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641863', 'tblTempUsageDetail_20' ) start [2025-03-09 11:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641863', 'tblTempUsageDetail_20' ) end [2025-03-09 11:25:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:25:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:25:22] Production.INFO: ==12433== Releasing lock... [2025-03-09 11:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:25:22] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 15:26:01] Production.INFO: ==12489== Lock acquired, processing the job... [2025-03-09 15:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:26:01] Production.INFO: neon service started [2025-03-09 15:26:01] Production.INFO: neon service started [2025-03-09 15:26:01] Production.INFO: ==12489== Releasing lock... [2025-03-09 15:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:26:01] Production.INFO: ==12491== Lock acquired, processing the job... [2025-03-09 11:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:26:02] Production.INFO: ==12491== Releasing lock... [2025-03-09 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:26:02] Production.INFO: ==12493== Lock acquired, processing the job... [2025-03-09 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:26:02] Production.INFO: ==12493== Releasing lock... [2025-03-09 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:26:03] Production.INFO: ==12497== Lock acquired, processing the job... [2025-03-09 11:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:26:03] Production.INFO: ==12499== Lock acquired, processing the job... [2025-03-09 11:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:26:03] Production.INFO: ==12495== Lock acquired, processing the job... [2025-03-09 11:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:26:03] Production.INFO: ==12501== Lock acquired, processing the job... [2025-03-09 11:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:26:03] Production.INFO: ==12506== Lock acquired, processing the job... [2025-03-09 11:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:26:03] Production.INFO: ==12503== Lock acquired, processing the job... [2025-03-09 11:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:26:03] Production.INFO: Account Balance Start. [2025-03-09 11:26:03] Production.INFO: CreateAllLog Start [2025-03-09 11:26:03] Production.INFO: 117 [2025-03-09 11:26:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:26:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:26:03] Production.INFO: count ==13 [2025-03-09 11:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:26:03] Production.INFO: count ==21 [2025-03-09 11:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641867') start [2025-03-09 11:26:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:26:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:26:03] Production.INFO: Total Charge 0 [2025-03-09 11:26:03] Production.INFO: CreateAllLog End [2025-03-09 11:26:03] Production.INFO: ==12497== Releasing lock... [2025-03-09 11:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:26:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641867') end [2025-03-09 11:26:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:26:03] Production.INFO: 1 [2025-03-09 11:26:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:26:03] Production.INFO: ==12506== Releasing lock... [2025-03-09 11:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:26:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:26:03] Production.ERROR: done [2025-03-09 11:26:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:26:03] Production.INFO: Account Balance End. [2025-03-09 11:26:03] Production.ERROR: CronJobId end 12 [2025-03-09 11:26:03] Production.INFO: ==12501== Releasing lock... [2025-03-09 11:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:26:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:26:03] Production.ERROR: done [2025-03-09 11:26:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:26:04 [end_date_ymd] => 2025-03-09 11:26:04 [RateCDR] => 1 ) [2025-03-09 11: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-09 08:26:04' and `end` < '2025-03-09 11: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-09 11:26:11] Production.ERROR: CronJobId end10 [2025-03-09 11:26:11] Production.INFO: ==12499== Releasing lock... [2025-03-09 11:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:26:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:26:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:26:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:26:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:26:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:26:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:26:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:26:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:26:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:26:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:26:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:26:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:26:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:26:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:26:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:26:14] Production.INFO: call_cost start [2025-03-09 11:26:14] Production.INFO: call_cost end [2025-03-09 11:26:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:26:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:26:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:26:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:26:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:26:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:26:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:26:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:26:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:26:14] Production.INFO: ==12495== Releasing lock... [2025-03-09 11:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:26:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:26:16] Production.INFO: count ==293 [2025-03-09 11:26:16] Production.ERROR: pbx CDR StartTime 2025-03-09 08:26:04 - End Time 2025-03-09 11:26:04 [2025-03-09 11:26:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:26:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641868', 'tblTempUsageDetail_20' ) start [2025-03-09 11:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641868', 'tblTempUsageDetail_20' ) end [2025-03-09 11:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641868', 'tblTempVendorCDR_20' ) start [2025-03-09 11:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641868', 'tblTempVendorCDR_20' ) end [2025-03-09 11:26:17] Production.INFO: ProcessCDR(1,14641868,1,1,2) [2025-03-09 11:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641868', 'tblTempUsageDetail_20' ) start [2025-03-09 11:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641868', 'tblTempUsageDetail_20' ) end [2025-03-09 11:26:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:26:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:26:21] Production.INFO: ==12503== Releasing lock... [2025-03-09 11:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:26:21] Production.INFO: 30 MB #Memory Used# [2025-03-09 15:27:01] Production.INFO: ==12585== Lock acquired, processing the job... [2025-03-09 15:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:27:01] Production.INFO: neon service started [2025-03-09 15:27:01] Production.INFO: neon service started [2025-03-09 15:27:01] Production.INFO: ==12585== Releasing lock... [2025-03-09 15:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:27:02] Production.INFO: ==12590== Lock acquired, processing the job... [2025-03-09 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:27:02] Production.INFO: ==12590== Releasing lock... [2025-03-09 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:27:02] Production.INFO: ==12588== Lock acquired, processing the job... [2025-03-09 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:27:02] Production.INFO: ==12588== Releasing lock... [2025-03-09 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:27:03] Production.INFO: ==12594== Lock acquired, processing the job... [2025-03-09 11:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:27:03] Production.INFO: ==12592== Lock acquired, processing the job... [2025-03-09 11:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:27:03] Production.INFO: ==12600== Lock acquired, processing the job... [2025-03-09 11:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:27:03] Production.INFO: ==12596== Lock acquired, processing the job... [2025-03-09 11:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:27:03] Production.INFO: ==12598== Lock acquired, processing the job... [2025-03-09 11:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:27:03] Production.INFO: ==12594== Releasing lock... [2025-03-09 11:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:27:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:27:03] Production.INFO: ==12602== Lock acquired, processing the job... [2025-03-09 11:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:27:04] Production.INFO: Account Balance Start. [2025-03-09 11:27:04] Production.INFO: CreateAllLog Start [2025-03-09 11:27:04] Production.INFO: 117 [2025-03-09 11:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:27:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:27:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:27:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:27:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:27:04] Production.INFO: Total Charge 0 [2025-03-09 11:27:04] Production.INFO: CreateAllLog End [2025-03-09 11:27:04] Production.ERROR: done [2025-03-09 11:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:27:04] Production.INFO: Account Balance End. [2025-03-09 11:27:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:27:04] Production.INFO: ==12598== Releasing lock... [2025-03-09 11:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:27:04] Production.ERROR: done [2025-03-09 11:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:27:04] Production.INFO: count ==13 [2025-03-09 11:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:27:04] Production.INFO: count ==21 [2025-03-09 11:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641872') start [2025-03-09 11:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641872') end [2025-03-09 11:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:27:04] Production.INFO: 1 [2025-03-09 11:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:27:04] Production.INFO: ==12602== Releasing lock... [2025-03-09 11:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:27:05 [end_date_ymd] => 2025-03-09 11:27:05 [RateCDR] => 1 ) [2025-03-09 11:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:27:05' and `end` < '2025-03-09 11:27:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:27:11] Production.ERROR: CronJobId end10 [2025-03-09 11:27:11] Production.INFO: ==12596== Releasing lock... [2025-03-09 11:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:27:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:27:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:27:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:27:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:27:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:27:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:27:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:27:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:27:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:27:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:27:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:27:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:27:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:27:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:27:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:27:13] Production.INFO: call_cost start [2025-03-09 11:27:13] Production.INFO: call_cost end [2025-03-09 11:27:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:27:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:27:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:27:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:27:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:27:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:27:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:27:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:27:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:27:14] Production.INFO: ==12592== Releasing lock... [2025-03-09 11:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:27:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:27:17] Production.INFO: count ==294 [2025-03-09 11:27:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:27:05 - End Time 2025-03-09 11:27:05 [2025-03-09 11:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641873', 'tblTempUsageDetail_20' ) start [2025-03-09 11:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641873', 'tblTempUsageDetail_20' ) end [2025-03-09 11:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641873', 'tblTempVendorCDR_20' ) start [2025-03-09 11:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641873', 'tblTempVendorCDR_20' ) end [2025-03-09 11:27:17] Production.INFO: ProcessCDR(1,14641873,1,1,2) [2025-03-09 11:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641873', 'tblTempUsageDetail_20' ) start [2025-03-09 11:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641873', 'tblTempUsageDetail_20' ) end [2025-03-09 11:27:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:27:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:27:21] Production.INFO: ==12600== Releasing lock... [2025-03-09 11:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:27:21] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 15:28:02] Production.INFO: ==12659== Lock acquired, processing the job... [2025-03-09 15:28:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:28:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:28:02] Production.INFO: neon service started [2025-03-09 15:28:02] Production.INFO: neon service started [2025-03-09 15:28:02] Production.INFO: ==12659== Releasing lock... [2025-03-09 15:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:28:02] Production.INFO: ==12661== Lock acquired, processing the job... [2025-03-09 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:28:02] Production.INFO: ==12663== Lock acquired, processing the job... [2025-03-09 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:28:02] Production.INFO: ==12663== Releasing lock... [2025-03-09 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:28:03] Production.INFO: ==12661== Releasing lock... [2025-03-09 11:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:28:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:28:03] Production.INFO: ==12668== Lock acquired, processing the job... [2025-03-09 11:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:28:03] Production.INFO: ==12666== Lock acquired, processing the job... [2025-03-09 11:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:28:04] Production.INFO: ==12670== Lock acquired, processing the job... [2025-03-09 11:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:28:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:28:04] Production.INFO: ==12672== Lock acquired, processing the job... [2025-03-09 11:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:28:04] Production.INFO: ==12674== Lock acquired, processing the job... [2025-03-09 11:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:28:04] Production.INFO: ==12676== Lock acquired, processing the job... [2025-03-09 11:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:28:04] Production.INFO: Account Balance Start. [2025-03-09 11:28:04] Production.INFO: CreateAllLog Start [2025-03-09 11:28:04] Production.INFO: 117 [2025-03-09 11:28:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 11:28:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:28:04] Production.INFO: Total Charge 0 [2025-03-09 11:28:04] Production.INFO: CreateAllLog End [2025-03-09 11:28:04] Production.INFO: count ==13 [2025-03-09 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-09 11:28:04] Production.INFO: ==12668== Releasing lock... [2025-03-09 11:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:28:04] Production.INFO: count ==21 [2025-03-09 11:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641877') start [2025-03-09 11:28:04] Production.ERROR: done [2025-03-09 11:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641877') end [2025-03-09 11:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:28:04] Production.INFO: 1 [2025-03-09 11:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:28:04] Production.INFO: ==12676== Releasing lock... [2025-03-09 11:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:28:04] Production.ERROR: done [2025-03-09 11:28:04] Production.INFO: Account Balance End. [2025-03-09 11:28:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:28:04] Production.INFO: ==12672== Releasing lock... [2025-03-09 11:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:28:05 [end_date_ymd] => 2025-03-09 11:28:05 [RateCDR] => 1 ) [2025-03-09 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-09 08:28:05' and `end` < '2025-03-09 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-09 11:28:11] Production.ERROR: CronJobId end10 [2025-03-09 11:28:11] Production.INFO: ==12670== Releasing lock... [2025-03-09 11:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:28:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:28:14] Production.INFO: call_cost start [2025-03-09 11:28:14] Production.INFO: call_cost end [2025-03-09 11:28:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:28:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:28:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:28:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:28:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:28:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:28:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:28:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:28:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:28:15] Production.INFO: ==12666== Releasing lock... [2025-03-09 11:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:28:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:28:17] Production.INFO: count ==294 [2025-03-09 11:28:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:28:05 - End Time 2025-03-09 11:28:05 [2025-03-09 11:28:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641878', 'tblTempUsageDetail_20' ) start [2025-03-09 11:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641878', 'tblTempUsageDetail_20' ) end [2025-03-09 11:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641878', 'tblTempVendorCDR_20' ) start [2025-03-09 11:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641878', 'tblTempVendorCDR_20' ) end [2025-03-09 11:28:17] Production.INFO: ProcessCDR(1,14641878,1,1,2) [2025-03-09 11:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641878', 'tblTempUsageDetail_20' ) start [2025-03-09 11:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641878', 'tblTempUsageDetail_20' ) end [2025-03-09 11:28:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:28:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:28:21] Production.INFO: ==12674== Releasing lock... [2025-03-09 11:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:28:21] Production.INFO: 30.25 MB #Memory Used# [2025-03-09 15:29:01] Production.INFO: ==12731== Lock acquired, processing the job... [2025-03-09 15:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:29:01] Production.INFO: neon service started [2025-03-09 15:29:01] Production.INFO: neon service started [2025-03-09 15:29:01] Production.INFO: ==12731== Releasing lock... [2025-03-09 15:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:29:02] Production.INFO: ==12733== Lock acquired, processing the job... [2025-03-09 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:29:02] Production.INFO: ==12735== Lock acquired, processing the job... [2025-03-09 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:29:02] Production.INFO: ==12735== Releasing lock... [2025-03-09 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:29:02] Production.INFO: ==12733== Releasing lock... [2025-03-09 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:29:03] Production.INFO: ==12742== Lock acquired, processing the job... [2025-03-09 11:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:29:03] Production.INFO: ==12744== Lock acquired, processing the job... [2025-03-09 11:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:29:03] Production.INFO: ==12746== Lock acquired, processing the job... [2025-03-09 11:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:29:03] Production.INFO: Account Balance Start. [2025-03-09 11:29:03] Production.INFO: CreateAllLog Start [2025-03-09 11:29:03] Production.INFO: 117 [2025-03-09 11:29:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:29:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:29:03] Production.INFO: ==12738== Lock acquired, processing the job... [2025-03-09 11:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:29:03] Production.INFO: ==12740== Lock acquired, processing the job... [2025-03-09 11:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:29:03] Production.INFO: Total Charge 0 [2025-03-09 11:29:03] Production.INFO: CreateAllLog End [2025-03-09 11:29:03] Production.INFO: ==12748== Lock acquired, processing the job... [2025-03-09 11:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:29:03] Production.ERROR: done [2025-03-09 11:29:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:29:04] Production.INFO: count ==13 [2025-03-09 11:29:04] Production.ERROR: done [2025-03-09 11:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:29:04] Production.INFO: count ==21 [2025-03-09 11:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641882') start [2025-03-09 11:29:04] Production.INFO: Account Balance End. [2025-03-09 11:29:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:29:04] Production.INFO: ==12744== Releasing lock... [2025-03-09 11:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:29:04] Production.INFO: ==12740== Releasing lock... [2025-03-09 11:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641882') end [2025-03-09 11:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:29:04] Production.INFO: 1 [2025-03-09 11:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:29:04] Production.INFO: ==12748== Releasing lock... [2025-03-09 11:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:29:05 [end_date_ymd] => 2025-03-09 11:29:05 [RateCDR] => 1 ) [2025-03-09 11:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:29:05' and `end` < '2025-03-09 11:29:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:29:11] Production.ERROR: CronJobId end10 [2025-03-09 11:29:11] Production.INFO: ==12742== Releasing lock... [2025-03-09 11:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:29:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:29:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:29:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:29:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:29:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:29:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:29:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:29:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:29:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:29:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:29:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:29:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:29:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:29:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:29:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:29:13] Production.INFO: call_cost start [2025-03-09 11:29:13] Production.INFO: call_cost end [2025-03-09 11:29:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:29:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:29:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:29:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:29:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:29:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:29:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:29:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:29:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:29:14] Production.INFO: ==12738== Releasing lock... [2025-03-09 11:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:29:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:29:17] Production.INFO: count ==301 [2025-03-09 11:29:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:29:05 - End Time 2025-03-09 11:29:05 [2025-03-09 11:29:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641883', 'tblTempUsageDetail_20' ) start [2025-03-09 11:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641883', 'tblTempUsageDetail_20' ) end [2025-03-09 11:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641883', 'tblTempVendorCDR_20' ) start [2025-03-09 11:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641883', 'tblTempVendorCDR_20' ) end [2025-03-09 11:29:17] Production.INFO: ProcessCDR(1,14641883,1,1,2) [2025-03-09 11:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641883', 'tblTempUsageDetail_20' ) start [2025-03-09 11:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641883', 'tblTempUsageDetail_20' ) end [2025-03-09 11:29:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:29:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:29:20] Production.INFO: ==12746== Releasing lock... [2025-03-09 11:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:29:20] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 15:30:02] Production.INFO: ==12848== Lock acquired, processing the job... [2025-03-09 15:30:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:30:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:30:02] Production.INFO: neon service started [2025-03-09 15:30:02] Production.INFO: neon service started [2025-03-09 15:30:02] Production.INFO: ==12848== Releasing lock... [2025-03-09 15:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:30:02] Production.INFO: ==12850== Lock acquired, processing the job... [2025-03-09 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:30:02] Production.INFO: ==12850== Releasing lock... [2025-03-09 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:30:02] Production.INFO: ==12852== Lock acquired, processing the job... [2025-03-09 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:30:03] Production.INFO: ==12852== Releasing lock... [2025-03-09 15:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:30:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:30:03] Production.INFO: ==12858== Lock acquired, processing the job... [2025-03-09 11:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:30:04] Production.INFO: ==12864== Lock acquired, processing the job... [2025-03-09 11:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:30:04] Production.INFO: ==12867== Lock acquired, processing the job... [2025-03-09 11:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 11:30:04] Production.INFO: ==12854== Lock acquired, processing the job... [2025-03-09 11:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 11:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:30:04] Production.INFO: ==12856== Lock acquired, processing the job... [2025-03-09 11:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 11:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 11:30:04] Production.ERROR: CronJob PID - 12858 [2025-03-09 11:30:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 11:30:04] Production.ERROR: CronJob ID - 7 [2025-03-09 11:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 11:30:00 [2025-03-09 11:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 11:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 11:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 11:30:04] Production.ERROR: CronJob PID - 12864 [2025-03-09 11:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 11:30:04] Production.ERROR: CronJob ID - 16 [2025-03-09 11:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 11:30:00 [2025-03-09 11:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 11:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 11:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 11:30:04] Production.ERROR: CronJob PID - 12867 [2025-03-09 11:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-09 11:30:04] Production.ERROR: CronJob ID - 17 [2025-03-09 11:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 11:30:00 [2025-03-09 11:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 11:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 11:30:04] Production.INFO: ==12860== Lock acquired, processing the job... [2025-03-09 11:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:30:04] Production.INFO: ==12862== Lock acquired, processing the job... [2025-03-09 11:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 11:30:04] Production.INFO: ==12854== Releasing lock... [2025-03-09 11:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 11:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 11:30:04] Production.INFO: ==12869== Lock acquired, processing the job... [2025-03-09 11:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:30:04] Production.INFO: ==12858== Releasing lock... [2025-03-09 11:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:30:04] Production.INFO: Account Balance Start. [2025-03-09 11:30:04] Production.INFO: CreateAllLog Start [2025-03-09 11:30:04] Production.INFO: 117 [2025-03-09 11:30:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:30:04] Production.INFO: count ==13 [2025-03-09 11:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:30:04] Production.INFO: count ==21 [2025-03-09 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641886') start [2025-03-09 11:30:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:30:04] Production.INFO: Total Charge 0 [2025-03-09 11:30:04] Production.INFO: CreateAllLog End [2025-03-09 11:30:04] Production.ERROR: done [2025-03-09 11:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641886') end [2025-03-09 11:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:30:04] Production.INFO: 1 [2025-03-09 11:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:30:04] Production.ERROR: done [2025-03-09 11:30:04] Production.INFO: ==12869== Releasing lock... [2025-03-09 11:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 11:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641888', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 11:30:04] Production.ERROR: done [2025-03-09 11:30:04] Production.INFO: Account Balance End. [2025-03-09 11:30:05] Production.ERROR: CronJobId end 12 [2025-03-09 11:30:05] Production.INFO: ==12862== Releasing lock... [2025-03-09 11:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:30:06 [end_date_ymd] => 2025-03-09 11:30:06 [RateCDR] => 1 ) [2025-03-09 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-09 08:30:06' and `end` < '2025-03-09 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-09 11:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641888', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 11:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 11:30:09] Production.INFO: ProcessCDR(1,14641888,1,1,2) [2025-03-09 11:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14641888,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14641888,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:30:09] Production.INFO: ==12867== Releasing lock... [2025-03-09 11:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 11:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 11:30:14] Production.ERROR: CronJobId end10 [2025-03-09 11:30:14] Production.INFO: ==12860== Releasing lock... [2025-03-09 11:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:30:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:30:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:30:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:30:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:30:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:30:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:30:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:30:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:30:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:30:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:30:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:30:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:30:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:30:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:30:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:30:16] Production.INFO: call_cost start [2025-03-09 11:30:16] Production.INFO: call_cost end [2025-03-09 11:30:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:30:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:30:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:30:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:30:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:30:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:30:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:30:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:30:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:30:17] Production.INFO: ==12856== Releasing lock... [2025-03-09 11:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:30:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:30:18] Production.INFO: count ==307 [2025-03-09 11:30:18] Production.ERROR: pbx CDR StartTime 2025-03-09 08:30:06 - End Time 2025-03-09 11:30:06 [2025-03-09 11:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641889', 'tblTempUsageDetail_20' ) start [2025-03-09 11:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641889', 'tblTempUsageDetail_20' ) end [2025-03-09 11:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641889', 'tblTempVendorCDR_20' ) start [2025-03-09 11:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641889', 'tblTempVendorCDR_20' ) end [2025-03-09 11:30:18] Production.INFO: ProcessCDR(1,14641889,1,1,2) [2025-03-09 11:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641889', 'tblTempUsageDetail_20' ) start [2025-03-09 11:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641889', 'tblTempUsageDetail_20' ) end [2025-03-09 11:30:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:30:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:30:21] Production.INFO: ==12864== Releasing lock... [2025-03-09 11:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:30:21] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 15:31:01] Production.INFO: ==12921== Lock acquired, processing the job... [2025-03-09 15:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:31:01] Production.INFO: neon service started [2025-03-09 15:31:01] Production.INFO: neon service started [2025-03-09 15:31:01] Production.INFO: ==12921== Releasing lock... [2025-03-09 15:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:31:01] Production.INFO: ==12925== Lock acquired, processing the job... [2025-03-09 15:31:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:31:01] Production.INFO: ==12925== Releasing lock... [2025-03-09 15:31:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:31:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:31:02] Production.INFO: ==12923== Lock acquired, processing the job... [2025-03-09 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:31:02] Production.INFO: ==12923== Releasing lock... [2025-03-09 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:31:03] Production.INFO: ==12934== Lock acquired, processing the job... [2025-03-09 11:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:31:03] Production.INFO: ==12927== Lock acquired, processing the job... [2025-03-09 11:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:31:03] Production.INFO: Account Balance Start. [2025-03-09 11:31:03] Production.INFO: CreateAllLog Start [2025-03-09 11:31:03] Production.INFO: ==12936== Lock acquired, processing the job... [2025-03-09 11:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:31:03] Production.INFO: 117 [2025-03-09 11:31:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:31:03] Production.INFO: ==12929== Lock acquired, processing the job... [2025-03-09 11:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:31:03] Production.INFO: ==12931== Lock acquired, processing the job... [2025-03-09 11:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:31:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:31:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:31:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:31:03] Production.INFO: Total Charge 0 [2025-03-09 11:31:03] Production.INFO: CreateAllLog End [2025-03-09 11:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:31:03] Production.INFO: ==12938== Lock acquired, processing the job... [2025-03-09 11:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:31:03] Production.INFO: ==12929== Releasing lock... [2025-03-09 11:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:31:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:31:03] Production.INFO: Account Balance End. [2025-03-09 11:31:03] Production.INFO: count ==13 [2025-03-09 11:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:31:03] Production.INFO: count ==21 [2025-03-09 11:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641893') start [2025-03-09 11:31:03] Production.ERROR: CronJobId end 12 [2025-03-09 11:31:03] Production.INFO: ==12934== Releasing lock... [2025-03-09 11:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:31:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:31:03] Production.ERROR: done [2025-03-09 11:31:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641893') end [2025-03-09 11:31:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:31:03] Production.INFO: 1 [2025-03-09 11:31:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:31:04] Production.INFO: ==12938== Releasing lock... [2025-03-09 11:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:31:04] Production.ERROR: done [2025-03-09 11:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:31:05 [end_date_ymd] => 2025-03-09 11:31:05 [RateCDR] => 1 ) [2025-03-09 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-09 08:31:05' and `end` < '2025-03-09 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-09 11:31:11] Production.ERROR: CronJobId end10 [2025-03-09 11:31:11] Production.INFO: ==12931== Releasing lock... [2025-03-09 11:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:31:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:31:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:31:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:31:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:31:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:31:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:31:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:31:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:31:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:31:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:31:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:31:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:31:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:31:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:31:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:31:14] Production.INFO: call_cost start [2025-03-09 11:31:14] Production.INFO: call_cost end [2025-03-09 11:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:31:15] Production.INFO: ==12927== Releasing lock... [2025-03-09 11:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:31:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:31:17] Production.INFO: count ==313 [2025-03-09 11:31:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:31:05 - End Time 2025-03-09 11:31:05 [2025-03-09 11:31:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641894', 'tblTempUsageDetail_20' ) start [2025-03-09 11:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641894', 'tblTempUsageDetail_20' ) end [2025-03-09 11:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641894', 'tblTempVendorCDR_20' ) start [2025-03-09 11:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641894', 'tblTempVendorCDR_20' ) end [2025-03-09 11:31:17] Production.INFO: ProcessCDR(1,14641894,1,1,2) [2025-03-09 11:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:31:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641894', 'tblTempUsageDetail_20' ) start [2025-03-09 11:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641894', 'tblTempUsageDetail_20' ) end [2025-03-09 11:31:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:31:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:31:20] Production.INFO: ==12936== Releasing lock... [2025-03-09 11:31:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:31:20] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 15:32:01] Production.INFO: ==12994== Lock acquired, processing the job... [2025-03-09 15:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:32:01] Production.INFO: neon service started [2025-03-09 15:32:02] Production.INFO: neon service started [2025-03-09 15:32:02] Production.INFO: ==12994== Releasing lock... [2025-03-09 15:32:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:32:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:32:02] Production.INFO: ==12996== Lock acquired, processing the job... [2025-03-09 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:32:02] Production.INFO: ==12998== Lock acquired, processing the job... [2025-03-09 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:32:02] Production.INFO: ==12998== Releasing lock... [2025-03-09 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:32:03] Production.INFO: ==12996== Releasing lock... [2025-03-09 11:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:32:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:32:03] Production.INFO: ==13003== Lock acquired, processing the job... [2025-03-09 11:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:32:04] Production.INFO: ==13009== Lock acquired, processing the job... [2025-03-09 11:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:32:04] Production.INFO: ==13007== Lock acquired, processing the job... [2025-03-09 11:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:32:04] Production.INFO: ==13003== Releasing lock... [2025-03-09 11:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:32:04] Production.INFO: Account Balance Start. [2025-03-09 11:32:04] Production.INFO: CreateAllLog Start [2025-03-09 11:32:04] Production.INFO: 117 [2025-03-09 11:32:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:32:04] Production.INFO: ==13001== Lock acquired, processing the job... [2025-03-09 11:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:32:04] Production.INFO: ==13011== Lock acquired, processing the job... [2025-03-09 11:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:32:04] Production.INFO: ==13005== Lock acquired, processing the job... [2025-03-09 11:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:32:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:32:04] Production.INFO: Total Charge 0 [2025-03-09 11:32:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 11:32:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:32:04] Production.INFO: count ==13 [2025-03-09 11:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:32:04] Production.INFO: count ==21 [2025-03-09 11:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641897') start [2025-03-09 11:32:04] Production.ERROR: done [2025-03-09 11:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:32:04] Production.INFO: Account Balance End. [2025-03-09 11:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641897') end [2025-03-09 11:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:32:04] Production.INFO: 1 [2025-03-09 11:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:32:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:32:04] Production.INFO: ==13007== Releasing lock... [2025-03-09 11:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:32:04] Production.INFO: ==13011== Releasing lock... [2025-03-09 11:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:32:04] Production.ERROR: done [2025-03-09 11:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:32:05 [end_date_ymd] => 2025-03-09 11:32:05 [RateCDR] => 1 ) [2025-03-09 11:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:32:05' and `end` < '2025-03-09 11:32:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:32:12] Production.ERROR: CronJobId end10 [2025-03-09 11:32:12] Production.INFO: ==13005== Releasing lock... [2025-03-09 11:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:32:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:32:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:32:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:32:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:32:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:32:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:32:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:32:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:32:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:32:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:32:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:32:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:32:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:32:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:32:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:32:15] Production.INFO: call_cost start [2025-03-09 11:32:15] Production.INFO: call_cost end [2025-03-09 11:32:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:32:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:32:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:32:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:32:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:32:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:32:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:32:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:32:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:32:16] Production.INFO: ==13001== Releasing lock... [2025-03-09 11:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:32:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:32:17] Production.INFO: count ==315 [2025-03-09 11:32:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:32:05 - End Time 2025-03-09 11:32:05 [2025-03-09 11:32:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641899', 'tblTempUsageDetail_20' ) start [2025-03-09 11:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641899', 'tblTempUsageDetail_20' ) end [2025-03-09 11:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641899', 'tblTempVendorCDR_20' ) start [2025-03-09 11:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641899', 'tblTempVendorCDR_20' ) end [2025-03-09 11:32:17] Production.INFO: ProcessCDR(1,14641899,1,1,2) [2025-03-09 11:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641899', 'tblTempUsageDetail_20' ) start [2025-03-09 11:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641899', 'tblTempUsageDetail_20' ) end [2025-03-09 11:32:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:32:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:32:22] Production.INFO: ==13009== Releasing lock... [2025-03-09 11:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:32:22] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 15:33:01] Production.INFO: ==13063== Lock acquired, processing the job... [2025-03-09 15:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:33:01] Production.INFO: neon service started [2025-03-09 15:33:01] Production.INFO: neon service started [2025-03-09 15:33:01] Production.INFO: ==13063== Releasing lock... [2025-03-09 15:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:33:01] Production.INFO: ==13065== Lock acquired, processing the job... [2025-03-09 11:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:33:02] Production.INFO: ==13065== Releasing lock... [2025-03-09 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:33:02] Production.INFO: ==13067== Lock acquired, processing the job... [2025-03-09 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:33:02] Production.INFO: ==13067== Releasing lock... [2025-03-09 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:33:03] Production.INFO: ==13070== Lock acquired, processing the job... [2025-03-09 11:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:33:03] Production.INFO: ==13072== Lock acquired, processing the job... [2025-03-09 11:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:33:03] Production.INFO: ==13080== Lock acquired, processing the job... [2025-03-09 11:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:33:03] Production.INFO: ==13074== Lock acquired, processing the job... [2025-03-09 11:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:33:03] Production.INFO: ==13076== Lock acquired, processing the job... [2025-03-09 11:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:33:03] Production.INFO: count ==13 [2025-03-09 11:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:33:03] Production.INFO: ==13078== Lock acquired, processing the job... [2025-03-09 11:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:33:03] Production.INFO: count ==21 [2025-03-09 11:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641902') start [2025-03-09 11:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:33:03] Production.INFO: Account Balance Start. [2025-03-09 11:33:03] Production.INFO: CreateAllLog Start [2025-03-09 11:33:03] Production.INFO: 117 [2025-03-09 11:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641902') end [2025-03-09 11:33:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:33:03] Production.INFO: 1 [2025-03-09 11:33:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:33:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:33:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:33:03] Production.INFO: ==13072== Releasing lock... [2025-03-09 11:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:33:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:33:03] Production.INFO: ==13080== Releasing lock... [2025-03-09 11:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:33:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:33:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:33:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:33:03] Production.ERROR: done [2025-03-09 11:33:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:33:03] Production.INFO: Total Charge 0 [2025-03-09 11:33:03] Production.INFO: CreateAllLog End [2025-03-09 11:33:04] Production.ERROR: done [2025-03-09 11:33:04] Production.INFO: Account Balance End. [2025-03-09 11:33:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:33:04] Production.INFO: ==13076== Releasing lock... [2025-03-09 11:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:33:05 [end_date_ymd] => 2025-03-09 11:33:05 [RateCDR] => 1 ) [2025-03-09 11:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:33:05' and `end` < '2025-03-09 11:33:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:33: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,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-09 11:33:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:33:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:33:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:33:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:33:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:33:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:33:12] Production.ERROR: CronJobId end10 [2025-03-09 11:33:12] Production.INFO: ==13074== Releasing lock... [2025-03-09 11:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:33:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:33:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:33:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:33:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:33:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:33:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:33:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:33:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:33:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:33:12] Production.INFO: call_cost start [2025-03-09 11:33:12] Production.INFO: call_cost end [2025-03-09 11:33:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:33:13] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:33:13] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:33:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:33:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:33:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:33:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:33:13] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:33:13] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:33:13] Production.INFO: ==13070== Releasing lock... [2025-03-09 11:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:33:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:33:17] Production.INFO: count ==319 [2025-03-09 11:33:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:33:05 - End Time 2025-03-09 11:33:05 [2025-03-09 11:33:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641904', 'tblTempUsageDetail_20' ) start [2025-03-09 11:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641904', 'tblTempUsageDetail_20' ) end [2025-03-09 11:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641904', 'tblTempVendorCDR_20' ) start [2025-03-09 11:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641904', 'tblTempVendorCDR_20' ) end [2025-03-09 11:33:17] Production.INFO: ProcessCDR(1,14641904,1,1,2) [2025-03-09 11:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641904', 'tblTempUsageDetail_20' ) start [2025-03-09 11:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641904', 'tblTempUsageDetail_20' ) end [2025-03-09 11:33:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:33:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:33:22] Production.INFO: ==13078== Releasing lock... [2025-03-09 11:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:33:22] Production.INFO: 30.75 MB #Memory Used# [2025-03-09 15:34:01] Production.INFO: ==13137== Lock acquired, processing the job... [2025-03-09 15:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:34:01] Production.INFO: neon service started [2025-03-09 15:34:01] Production.INFO: neon service started [2025-03-09 15:34:01] Production.INFO: ==13137== Releasing lock... [2025-03-09 15:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:34:02] Production.INFO: ==13139== Lock acquired, processing the job... [2025-03-09 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:34:02] Production.INFO: ==13139== Releasing lock... [2025-03-09 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:34:02] Production.INFO: ==13141== Lock acquired, processing the job... [2025-03-09 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:34:02] Production.INFO: ==13141== Releasing lock... [2025-03-09 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:34:03] Production.INFO: ==13154== Lock acquired, processing the job... [2025-03-09 11:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:34:03] Production.INFO: ==13152== Lock acquired, processing the job... [2025-03-09 11:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:34:03] Production.INFO: count ==13 [2025-03-09 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-09 11:34:03] Production.INFO: count ==21 [2025-03-09 11:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641905') start [2025-03-09 11:34:03] Production.INFO: ==13144== Lock acquired, processing the job... [2025-03-09 11:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:34:03] Production.INFO: ==13146== Lock acquired, processing the job... [2025-03-09 11:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:34:03] Production.INFO: ==13148== Lock acquired, processing the job... [2025-03-09 11:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:34:03] Production.INFO: ==13150== Lock acquired, processing the job... [2025-03-09 11:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:34:04] Production.INFO: Account Balance Start. [2025-03-09 11:34:04] Production.INFO: CreateAllLog Start [2025-03-09 11:34:04] Production.INFO: 117 [2025-03-09 11:34:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:34:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:34:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641905') end [2025-03-09 11:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:34:04] Production.INFO: 1 [2025-03-09 11:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:34:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:34:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:34:04] Production.INFO: Total Charge 0 [2025-03-09 11:34:04] Production.INFO: CreateAllLog End [2025-03-09 11:34:04] Production.INFO: ==13154== Releasing lock... [2025-03-09 11:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:34:04] Production.ERROR: done [2025-03-09 11:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:34:04] Production.ERROR: done [2025-03-09 11:34:04] Production.INFO: ==13146== Releasing lock... [2025-03-09 11:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:34:04] Production.INFO: Account Balance End. [2025-03-09 11:34:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:34:04] Production.INFO: ==13150== Releasing lock... [2025-03-09 11:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:34:05 [end_date_ymd] => 2025-03-09 11:34:05 [RateCDR] => 1 ) [2025-03-09 11:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:34:05' and `end` < '2025-03-09 11:34:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:34:11] Production.ERROR: CronJobId end10 [2025-03-09 11:34:11] Production.INFO: ==13148== Releasing lock... [2025-03-09 11:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:34:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:34:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:34:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:34:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:34:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:34:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:34:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:34:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:34:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:34:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:34:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:34:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:34:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:34:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:34:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:34:14] Production.INFO: call_cost start [2025-03-09 11:34:14] Production.INFO: call_cost end [2025-03-09 11:34:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:34:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:34:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:34:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:34:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:34:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:34:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:34:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:34:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:34:15] Production.INFO: ==13144== Releasing lock... [2025-03-09 11:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:34:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:34:17] Production.INFO: count ==320 [2025-03-09 11:34:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:34:05 - End Time 2025-03-09 11:34:05 [2025-03-09 11:34:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641909', 'tblTempUsageDetail_20' ) start [2025-03-09 11:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641909', 'tblTempUsageDetail_20' ) end [2025-03-09 11:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641909', 'tblTempVendorCDR_20' ) start [2025-03-09 11:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641909', 'tblTempVendorCDR_20' ) end [2025-03-09 11:34:17] Production.INFO: ProcessCDR(1,14641909,1,1,2) [2025-03-09 11:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641909', 'tblTempUsageDetail_20' ) start [2025-03-09 11:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641909', 'tblTempUsageDetail_20' ) end [2025-03-09 11:34:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:34:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:34:22] Production.INFO: ==13152== Releasing lock... [2025-03-09 11:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:34:22] Production.INFO: 30.75 MB #Memory Used# [2025-03-09 15:35:02] Production.INFO: ==13215== Lock acquired, processing the job... [2025-03-09 15:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:35:02] Production.INFO: neon service started [2025-03-09 15:35:02] Production.INFO: neon service started [2025-03-09 15:35:02] Production.INFO: ==13215== Releasing lock... [2025-03-09 15:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:35:02] Production.INFO: ==13221== Lock acquired, processing the job... [2025-03-09 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:35:02] Production.INFO: ==13221== Releasing lock... [2025-03-09 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:35:02] Production.INFO: ==13219== Lock acquired, processing the job... [2025-03-09 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:35:03] Production.INFO: ==13219== Releasing lock... [2025-03-09 11:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:35:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:35:04] Production.INFO: ==13223== Lock acquired, processing the job... [2025-03-09 11:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:35:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:35:04] Production.INFO: ==13227== Lock acquired, processing the job... [2025-03-09 11:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:35:04] Production.INFO: ==13231== Lock acquired, processing the job... [2025-03-09 11:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:35:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:35:04] Production.INFO: ==13225== Lock acquired, processing the job... [2025-03-09 11:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:35:04] Production.INFO: ==13229== Lock acquired, processing the job... [2025-03-09 11:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:35:04] Production.INFO: ==13233== Lock acquired, processing the job... [2025-03-09 11:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:35:04] Production.ERROR: done [2025-03-09 11:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:35:04] Production.INFO: Account Balance Start. [2025-03-09 11:35:04] Production.INFO: CreateAllLog Start [2025-03-09 11:35:04] Production.INFO: 117 [2025-03-09 11:35:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:35:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 11:35:04] Production.INFO: count ==13 [2025-03-09 11:35:04] Production.ERROR: done [2025-03-09 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-09 11:35:04] Production.INFO: count ==21 [2025-03-09 11:35:04] Production.INFO: Total Charge 0 [2025-03-09 11:35:04] Production.INFO: ==13225== Releasing lock... [2025-03-09 11:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:35:04] Production.INFO: CreateAllLog End [2025-03-09 11:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641913') start [2025-03-09 11:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641913') end [2025-03-09 11:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:35:04] Production.INFO: 1 [2025-03-09 11:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:35:05] Production.INFO: Account Balance End. [2025-03-09 11:35:05] Production.INFO: ==13233== Releasing lock... [2025-03-09 11:35:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:35:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:35:05] Production.ERROR: CronJobId end 12 [2025-03-09 11:35:05] Production.INFO: ==13229== Releasing lock... [2025-03-09 11:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:35:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:35:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:35:06 [end_date_ymd] => 2025-03-09 11:35:06 [RateCDR] => 1 ) [2025-03-09 11: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-09 08:35:06' and `end` < '2025-03-09 11: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-09 11:35:13] Production.ERROR: CronJobId end10 [2025-03-09 11:35:13] Production.INFO: ==13227== Releasing lock... [2025-03-09 11:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:35:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:35:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:35:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:35:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:35:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:35:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:35:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:35:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:35:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:35:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:35:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:35:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:35:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:35:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:35:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:35:15] Production.INFO: call_cost start [2025-03-09 11:35:15] Production.INFO: call_cost end [2025-03-09 11:35:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:35:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:35:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:35:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:35:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:35:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:35:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:35:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:35:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:35:16] Production.INFO: ==13223== Releasing lock... [2025-03-09 11:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:35:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:35:18] Production.INFO: count ==322 [2025-03-09 11:35:18] Production.ERROR: pbx CDR StartTime 2025-03-09 08:35:06 - End Time 2025-03-09 11:35:06 [2025-03-09 11:35:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641914', 'tblTempUsageDetail_20' ) start [2025-03-09 11:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641914', 'tblTempUsageDetail_20' ) end [2025-03-09 11:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641914', 'tblTempVendorCDR_20' ) start [2025-03-09 11:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641914', 'tblTempVendorCDR_20' ) end [2025-03-09 11:35:18] Production.INFO: ProcessCDR(1,14641914,1,1,2) [2025-03-09 11:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641914', 'tblTempUsageDetail_20' ) start [2025-03-09 11:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641914', 'tblTempUsageDetail_20' ) end [2025-03-09 11:35:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:35:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:35:23] Production.INFO: ==13231== Releasing lock... [2025-03-09 11:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:35:23] Production.INFO: 30.75 MB #Memory Used# [2025-03-09 15:36:01] Production.INFO: ==13294== Lock acquired, processing the job... [2025-03-09 15:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:36:01] Production.INFO: neon service started [2025-03-09 15:36:01] Production.INFO: neon service started [2025-03-09 15:36:01] Production.INFO: ==13294== Releasing lock... [2025-03-09 15:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:36:02] Production.INFO: ==13297== Lock acquired, processing the job... [2025-03-09 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:36:02] Production.INFO: ==13299== Lock acquired, processing the job... [2025-03-09 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:36:02] Production.INFO: ==13297== Releasing lock... [2025-03-09 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:36:02] Production.INFO: ==13299== Releasing lock... [2025-03-09 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:36:03] Production.INFO: ==13301== Lock acquired, processing the job... [2025-03-09 11:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:36:03] Production.INFO: ==13303== Lock acquired, processing the job... [2025-03-09 11:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:36:03] Production.INFO: ==13305== Lock acquired, processing the job... [2025-03-09 11:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:36:03] Production.INFO: ==13309== Lock acquired, processing the job... [2025-03-09 11:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:36:03] Production.INFO: ==13307== Lock acquired, processing the job... [2025-03-09 11:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:36:03] Production.INFO: ==13311== Lock acquired, processing the job... [2025-03-09 11:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:36:03] Production.INFO: Account Balance Start. [2025-03-09 11:36:03] Production.INFO: CreateAllLog Start [2025-03-09 11:36:03] Production.INFO: 117 [2025-03-09 11:36:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:36:03] Production.INFO: ==13303== Releasing lock... [2025-03-09 11:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:36:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:36:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:36:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:36:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:36:03] Production.INFO: Total Charge 0 [2025-03-09 11:36:03] Production.INFO: CreateAllLog End [2025-03-09 11:36:03] Production.INFO: count ==13 [2025-03-09 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-09 11:36:04] Production.INFO: count ==21 [2025-03-09 11:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641918') start [2025-03-09 11:36:04] Production.ERROR: done [2025-03-09 11:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641918') end [2025-03-09 11:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:36:04] Production.INFO: 1 [2025-03-09 11:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:36:04] Production.INFO: ==13311== Releasing lock... [2025-03-09 11:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:36:04] Production.ERROR: done [2025-03-09 11:36:04] Production.INFO: Account Balance End. [2025-03-09 11:36:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:36:04] Production.INFO: ==13307== Releasing lock... [2025-03-09 11:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:36:05 [end_date_ymd] => 2025-03-09 11:36:05 [RateCDR] => 1 ) [2025-03-09 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-09 08:36:05' and `end` < '2025-03-09 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-09 11:36:13] Production.ERROR: CronJobId end10 [2025-03-09 11:36:13] Production.INFO: ==13305== Releasing lock... [2025-03-09 11:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:36:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:36:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:36:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:36:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:36:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:36:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:36:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:36:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:36:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:36:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:36:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:36:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:36:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:36:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:36:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:36:15] Production.INFO: call_cost start [2025-03-09 11:36:15] Production.INFO: call_cost end [2025-03-09 11:36:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:36:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:36:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:36:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:36:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:36:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:36:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:36:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:36:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:36:16] Production.INFO: ==13301== Releasing lock... [2025-03-09 11:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:36:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:36:17] Production.INFO: count ==329 [2025-03-09 11:36:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:36:05 - End Time 2025-03-09 11:36:05 [2025-03-09 11:36:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641919', 'tblTempUsageDetail_20' ) start [2025-03-09 11:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641919', 'tblTempUsageDetail_20' ) end [2025-03-09 11:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641919', 'tblTempVendorCDR_20' ) start [2025-03-09 11:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641919', 'tblTempVendorCDR_20' ) end [2025-03-09 11:36:17] Production.INFO: ProcessCDR(1,14641919,1,1,2) [2025-03-09 11:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641919', 'tblTempUsageDetail_20' ) start [2025-03-09 11:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641919', 'tblTempUsageDetail_20' ) end [2025-03-09 11:36:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:36:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:36:22] Production.INFO: ==13309== Releasing lock... [2025-03-09 11:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:36:22] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 15:37:02] Production.INFO: ==13369== Lock acquired, processing the job... [2025-03-09 15:37:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:37:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:37:02] Production.INFO: neon service started [2025-03-09 15:37:02] Production.INFO: neon service started [2025-03-09 15:37:02] Production.INFO: ==13369== Releasing lock... [2025-03-09 15:37:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:37:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:37:02] Production.INFO: ==13371== Lock acquired, processing the job... [2025-03-09 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:37:02] Production.INFO: ==13371== Releasing lock... [2025-03-09 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:37:03] Production.INFO: ==13373== Lock acquired, processing the job... [2025-03-09 15:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:37:03] Production.INFO: ==13373== Releasing lock... [2025-03-09 15:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:37:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:37:03] Production.INFO: ==13375== Lock acquired, processing the job... [2025-03-09 11:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:37:03] Production.INFO: ==13379== Lock acquired, processing the job... [2025-03-09 11:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:37:03] Production.INFO: ==13377== Lock acquired, processing the job... [2025-03-09 11:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:37:04] Production.INFO: ==13383== Lock acquired, processing the job... [2025-03-09 11:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:37:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:37:04] Production.INFO: ==13381== Lock acquired, processing the job... [2025-03-09 11:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:37:04] Production.INFO: ==13385== Lock acquired, processing the job... [2025-03-09 11:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:37:04] Production.INFO: Account Balance Start. [2025-03-09 11:37:04] Production.INFO: CreateAllLog Start [2025-03-09 11:37:04] Production.INFO: 117 [2025-03-09 11:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:37:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:37:04] Production.INFO: count ==13 [2025-03-09 11:37:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:37:04] Production.INFO: count ==21 [2025-03-09 11:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641922') start [2025-03-09 11:37:04] Production.INFO: ==13377== Releasing lock... [2025-03-09 11:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:37:04] Production.ERROR: done [2025-03-09 11:37:04] Production.INFO: Total Charge 0 [2025-03-09 11:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:37:04] Production.INFO: CreateAllLog End [2025-03-09 11:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641922') end [2025-03-09 11:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:37:04] Production.INFO: 1 [2025-03-09 11:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:37:04] Production.INFO: ==13385== Releasing lock... [2025-03-09 11:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:37:04] Production.ERROR: done [2025-03-09 11:37:04] Production.INFO: Account Balance End. [2025-03-09 11:37:05] Production.ERROR: CronJobId end 12 [2025-03-09 11:37:05] Production.INFO: ==13381== Releasing lock... [2025-03-09 11:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:37:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:37:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:37:06 [end_date_ymd] => 2025-03-09 11:37:06 [RateCDR] => 1 ) [2025-03-09 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-09 08:37:06' and `end` < '2025-03-09 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-09 11:37:12] Production.ERROR: CronJobId end10 [2025-03-09 11:37:12] Production.INFO: ==13379== Releasing lock... [2025-03-09 11:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:37:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:37:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:37:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:37:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:37:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:37:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:37:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:37:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:37:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:37:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:37:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:37:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:37:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:37:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:37:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:37:14] Production.INFO: call_cost start [2025-03-09 11:37:14] Production.INFO: call_cost end [2025-03-09 11:37:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:37:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:37:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:37:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:37:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:37:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:37:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:37:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:37:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:37:15] Production.INFO: ==13375== Releasing lock... [2025-03-09 11:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:37:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:37:18] Production.INFO: count ==330 [2025-03-09 11:37:18] Production.ERROR: pbx CDR StartTime 2025-03-09 08:37:06 - End Time 2025-03-09 11:37:06 [2025-03-09 11:37:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641924', 'tblTempUsageDetail_20' ) start [2025-03-09 11:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641924', 'tblTempUsageDetail_20' ) end [2025-03-09 11:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641924', 'tblTempVendorCDR_20' ) start [2025-03-09 11:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641924', 'tblTempVendorCDR_20' ) end [2025-03-09 11:37:18] Production.INFO: ProcessCDR(1,14641924,1,1,2) [2025-03-09 11:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641924', 'tblTempUsageDetail_20' ) start [2025-03-09 11:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641924', 'tblTempUsageDetail_20' ) end [2025-03-09 11:37:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:37:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:37:23] Production.INFO: ==13383== Releasing lock... [2025-03-09 11:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:37:23] Production.INFO: 30.75 MB #Memory Used# [2025-03-09 15:38:01] Production.INFO: ==13441== Lock acquired, processing the job... [2025-03-09 15:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:38:01] Production.INFO: neon service started [2025-03-09 15:38:01] Production.INFO: neon service started [2025-03-09 15:38:01] Production.INFO: ==13441== Releasing lock... [2025-03-09 15:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:38:02] Production.INFO: ==13443== Lock acquired, processing the job... [2025-03-09 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:38:02] Production.INFO: ==13443== Releasing lock... [2025-03-09 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:38:02] Production.INFO: ==13445== Lock acquired, processing the job... [2025-03-09 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:38:02] Production.INFO: ==13445== Releasing lock... [2025-03-09 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:38:03] Production.INFO: ==13458== Lock acquired, processing the job... [2025-03-09 11:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:38:03] Production.INFO: count ==13 [2025-03-09 11:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:38:03] Production.INFO: count ==21 [2025-03-09 11:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641925') start [2025-03-09 11:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641925') end [2025-03-09 11:38:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:38:03] Production.INFO: 1 [2025-03-09 11:38:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:38:03] Production.INFO: ==13458== Releasing lock... [2025-03-09 11:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:38:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:38:03] Production.INFO: ==13456== Lock acquired, processing the job... [2025-03-09 11:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:38:03] Production.INFO: ==13447== Lock acquired, processing the job... [2025-03-09 11:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:38:03] Production.INFO: ==13449== Lock acquired, processing the job... [2025-03-09 11:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:38:03] Production.INFO: ==13452== Lock acquired, processing the job... [2025-03-09 11:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:38:03] Production.INFO: ==13454== Lock acquired, processing the job... [2025-03-09 11:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:38:03] Production.INFO: Account Balance Start. [2025-03-09 11:38:03] Production.INFO: CreateAllLog Start [2025-03-09 11:38:03] Production.INFO: 117 [2025-03-09 11:38:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:38:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:38:04] Production.INFO: Total Charge 0 [2025-03-09 11:38:04] Production.INFO: CreateAllLog End [2025-03-09 11:38:04] Production.ERROR: done [2025-03-09 11:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:38:04] Production.INFO: ==13449== Releasing lock... [2025-03-09 11:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:38:04] Production.INFO: Account Balance End. [2025-03-09 11:38:04] Production.ERROR: done [2025-03-09 11:38:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:38:04] Production.INFO: ==13454== Releasing lock... [2025-03-09 11:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:38:05 [end_date_ymd] => 2025-03-09 11:38:05 [RateCDR] => 1 ) [2025-03-09 11:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:38:05' and `end` < '2025-03-09 11:38:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:38:11] Production.ERROR: CronJobId end10 [2025-03-09 11:38:11] Production.INFO: ==13452== Releasing lock... [2025-03-09 11:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:38:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:38:14] Production.INFO: call_cost start [2025-03-09 11:38:14] Production.INFO: call_cost end [2025-03-09 11:38:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:38:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:38:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:38:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:38:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:38:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:38:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:38:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:38:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:38:15] Production.INFO: ==13447== Releasing lock... [2025-03-09 11:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:38:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:38:17] Production.INFO: count ==332 [2025-03-09 11:38:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:38:05 - End Time 2025-03-09 11:38:05 [2025-03-09 11:38:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641929', 'tblTempUsageDetail_20' ) start [2025-03-09 11:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641929', 'tblTempUsageDetail_20' ) end [2025-03-09 11:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641929', 'tblTempVendorCDR_20' ) start [2025-03-09 11:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641929', 'tblTempVendorCDR_20' ) end [2025-03-09 11:38:17] Production.INFO: ProcessCDR(1,14641929,1,1,2) [2025-03-09 11:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641929', 'tblTempUsageDetail_20' ) start [2025-03-09 11:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641929', 'tblTempUsageDetail_20' ) end [2025-03-09 11:38:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:38:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:38:22] Production.INFO: ==13456== Releasing lock... [2025-03-09 11:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:38:22] Production.INFO: 30.75 MB #Memory Used# [2025-03-09 15:39:02] Production.INFO: ==13515== Lock acquired, processing the job... [2025-03-09 15:39:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:39:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:39:02] Production.INFO: neon service started [2025-03-09 15:39:02] Production.INFO: neon service started [2025-03-09 15:39:02] Production.INFO: ==13515== Releasing lock... [2025-03-09 15:39:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:39:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:39:02] Production.INFO: ==13517== Lock acquired, processing the job... [2025-03-09 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:39:02] Production.INFO: ==13517== Releasing lock... [2025-03-09 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:39:02] Production.INFO: ==13519== Lock acquired, processing the job... [2025-03-09 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:39:03] Production.INFO: ==13519== Releasing lock... [2025-03-09 15:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:39:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:39:03] Production.INFO: ==13525== Lock acquired, processing the job... [2025-03-09 11:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:39:03] Production.INFO: ==13529== Lock acquired, processing the job... [2025-03-09 11:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:39:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:39:04] Production.INFO: ==13521== Lock acquired, processing the job... [2025-03-09 11:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:39:04] Production.INFO: ==13527== Lock acquired, processing the job... [2025-03-09 11:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:39:04] Production.INFO: ==13523== Lock acquired, processing the job... [2025-03-09 11:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:39:04] Production.INFO: ==13531== Lock acquired, processing the job... [2025-03-09 11:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:39:04] Production.INFO: Account Balance Start. [2025-03-09 11:39:04] Production.INFO: CreateAllLog Start [2025-03-09 11:39:04] Production.INFO: 117 [2025-03-09 11:39:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:39:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:39:04] Production.INFO: count ==13 [2025-03-09 11:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:39:04] Production.INFO: count ==21 [2025-03-09 11:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641931') start [2025-03-09 11:39:04] Production.ERROR: done [2025-03-09 11:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:39:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:39:04] Production.INFO: Total Charge 0 [2025-03-09 11:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641931') end [2025-03-09 11:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:39:04] Production.INFO: 1 [2025-03-09 11:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:39:04] Production.INFO: ==13531== Releasing lock... [2025-03-09 11:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:39:04] Production.INFO: CreateAllLog End [2025-03-09 11:39:04] Production.INFO: ==13523== Releasing lock... [2025-03-09 11:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:39:04] Production.ERROR: done [2025-03-09 11:39:04] Production.INFO: Account Balance End. [2025-03-09 11:39:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:39:04] Production.INFO: ==13527== Releasing lock... [2025-03-09 11:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:39:05 [end_date_ymd] => 2025-03-09 11:39:05 [RateCDR] => 1 ) [2025-03-09 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-09 08:39:05' and `end` < '2025-03-09 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-09 11:39:12] Production.ERROR: CronJobId end10 [2025-03-09 11:39:12] Production.INFO: ==13525== Releasing lock... [2025-03-09 11:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:39:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:39:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:39:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:39:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:39:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:39:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:39:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:39:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:39:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:39:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:39:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:39:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:39:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:39:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:39:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:39:14] Production.INFO: call_cost start [2025-03-09 11:39:14] Production.INFO: call_cost end [2025-03-09 11:39:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:39:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:39:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:39:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:39:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:39:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:39:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:39:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:39:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:39:15] Production.INFO: ==13521== Releasing lock... [2025-03-09 11:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:39:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:39:17] Production.INFO: count ==336 [2025-03-09 11:39:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:39:05 - End Time 2025-03-09 11:39:05 [2025-03-09 11:39:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641934', 'tblTempUsageDetail_20' ) start [2025-03-09 11:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641934', 'tblTempUsageDetail_20' ) end [2025-03-09 11:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641934', 'tblTempVendorCDR_20' ) start [2025-03-09 11:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641934', 'tblTempVendorCDR_20' ) end [2025-03-09 11:39:17] Production.INFO: ProcessCDR(1,14641934,1,1,2) [2025-03-09 11:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641934', 'tblTempUsageDetail_20' ) start [2025-03-09 11:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641934', 'tblTempUsageDetail_20' ) end [2025-03-09 11:39:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:39:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:39:22] Production.INFO: ==13529== Releasing lock... [2025-03-09 11:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:39:22] Production.INFO: 30.5 MB #Memory Used# [2025-03-09 15:40:01] Production.INFO: ==13590== Lock acquired, processing the job... [2025-03-09 15:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:40:01] Production.INFO: neon service started [2025-03-09 15:40:01] Production.INFO: neon service started [2025-03-09 15:40:01] Production.INFO: ==13590== Releasing lock... [2025-03-09 15:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:40:02] Production.INFO: ==13594== Lock acquired, processing the job... [2025-03-09 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:40:02] Production.INFO: ==13594== Releasing lock... [2025-03-09 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:40:02] Production.INFO: ==13592== Lock acquired, processing the job... [2025-03-09 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:40:02] Production.INFO: ==13592== Releasing lock... [2025-03-09 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:40:03] Production.INFO: ==13599== Lock acquired, processing the job... [2025-03-09 11:40:03] Production.INFO: ==13597== Lock acquired, processing the job... [2025-03-09 11:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 11:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 11:40:03] Production.INFO: ==13601== Lock acquired, processing the job... [2025-03-09 11:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 11:40:03] Production.ERROR: CronJob PID - 13599 [2025-03-09 11:40:03] Production.ERROR: CronJob Title - System Alerts [2025-03-09 11:40:03] Production.ERROR: CronJob ID - 5 [2025-03-09 11:40:03] Production.ERROR: CronJob Last Run Time 2025-03-09 11:40:00 [2025-03-09 11:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 11:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 11:40:03] Production.INFO: ==13603== Lock acquired, processing the job... [2025-03-09 11:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:40:03] Production.INFO: ==13607== Lock acquired, processing the job... [2025-03-09 11:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:40:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 11:40:03] Production.INFO: ==13597== Releasing lock... [2025-03-09 11:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 11:40:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 11:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:40:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:40:04] Production.INFO: ==13605== Lock acquired, processing the job... [2025-03-09 11:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:40:04] Production.INFO: ==13609== Lock acquired, processing the job... [2025-03-09 11:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 11:40:04] Production.INFO: ==13601== Releasing lock... [2025-03-09 11:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:40:04] Production.INFO: ==13611== Lock acquired, processing the job... [2025-03-09 11:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:40:04] Production.INFO: Account Balance Start. [2025-03-09 11:40:04] Production.INFO: CreateAllLog Start [2025-03-09 11:40:04] Production.INFO: 117 [2025-03-09 11:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:40:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:40:04] Production.ERROR: done [2025-03-09 11:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:40:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:40:04] Production.INFO: Total Charge 0 [2025-03-09 11:40:04] Production.INFO: CreateAllLog End [2025-03-09 11:40:04] Production.INFO: count ==13 [2025-03-09 11:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:40:04] Production.ERROR: done [2025-03-09 11:40:04] Production.INFO: count ==21 [2025-03-09 11:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641938') start [2025-03-09 11:40:04] Production.ERROR: done [2025-03-09 11:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 11:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641940', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 11:40:04] Production.INFO: Account Balance End. [2025-03-09 11:40:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:40:04] Production.INFO: ==13605== Releasing lock... [2025-03-09 11:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:40:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641938') end [2025-03-09 11:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:40:04] Production.INFO: 1 [2025-03-09 11:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:40:04] Production.INFO: ==13611== Releasing lock... [2025-03-09 11:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:40:06 [end_date_ymd] => 2025-03-09 11:40:06 [RateCDR] => 1 ) [2025-03-09 11:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:40:06' and `end` < '2025-03-09 11:40:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641940', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 11:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 11:40:09] Production.INFO: ProcessCDR(1,14641940,1,1,2) [2025-03-09 11:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14641940,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14641940,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:40:09] Production.INFO: ==13609== Releasing lock... [2025-03-09 11:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 11:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 11:40:13] Production.ERROR: CronJobId end10 [2025-03-09 11:40:13] Production.INFO: ==13603== Releasing lock... [2025-03-09 11:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:40:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:40:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:40:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:40:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:40:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:40:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:40:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:40:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:40:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:40:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:40:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:40:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:40:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:40:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:40:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:40:16] Production.INFO: call_cost start [2025-03-09 11:40:16] Production.INFO: call_cost end [2025-03-09 11:40:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:40:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:40:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:40:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:40:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:40:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:40:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:40:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:40:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:40:17] Production.INFO: ==13599== Releasing lock... [2025-03-09 11:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:40:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:40:18] Production.INFO: count ==347 [2025-03-09 11:40:18] Production.ERROR: pbx CDR StartTime 2025-03-09 08:40:06 - End Time 2025-03-09 11:40:06 [2025-03-09 11:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641939', 'tblTempUsageDetail_20' ) start [2025-03-09 11:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641939', 'tblTempUsageDetail_20' ) end [2025-03-09 11:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641939', 'tblTempVendorCDR_20' ) start [2025-03-09 11:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641939', 'tblTempVendorCDR_20' ) end [2025-03-09 11:40:18] Production.INFO: ProcessCDR(1,14641939,1,1,2) [2025-03-09 11:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641939', 'tblTempUsageDetail_20' ) start [2025-03-09 11:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641939', 'tblTempUsageDetail_20' ) end [2025-03-09 11:40:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:40:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:40:23] Production.INFO: ==13607== Releasing lock... [2025-03-09 11:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:40:23] Production.INFO: 30.75 MB #Memory Used# [2025-03-09 15:41:02] Production.INFO: ==13670== Lock acquired, processing the job... [2025-03-09 15:41:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:41:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:41:02] Production.INFO: neon service started [2025-03-09 15:41:02] Production.INFO: neon service started [2025-03-09 15:41:02] Production.INFO: ==13670== Releasing lock... [2025-03-09 15:41:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:41:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:41:02] Production.INFO: ==13672== Lock acquired, processing the job... [2025-03-09 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:41:02] Production.INFO: ==13672== Releasing lock... [2025-03-09 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:41:03] Production.INFO: ==13674== Lock acquired, processing the job... [2025-03-09 15:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:41:03] Production.INFO: ==13674== Releasing lock... [2025-03-09 15:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:41:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:41:03] Production.INFO: ==13676== Lock acquired, processing the job... [2025-03-09 11:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:41:03] Production.INFO: ==13678== Lock acquired, processing the job... [2025-03-09 11:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:41:03] Production.INFO: ==13680== Lock acquired, processing the job... [2025-03-09 11:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:41:04] Production.INFO: ==13683== Lock acquired, processing the job... [2025-03-09 11:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:41:04] Production.INFO: ==13687== Lock acquired, processing the job... [2025-03-09 11:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:41:04] Production.INFO: ==13685== Lock acquired, processing the job... [2025-03-09 11:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:41:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 11:41:04] Production.INFO: Account Balance Start. [2025-03-09 11:41:04] Production.INFO: CreateAllLog Start [2025-03-09 11:41:04] Production.INFO: 117 [2025-03-09 11:41:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:41:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:41:04] Production.INFO: count ==13 [2025-03-09 11:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:41:04] Production.INFO: count ==21 [2025-03-09 11:41:04] Production.INFO: ==13678== Releasing lock... [2025-03-09 11:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641943') start [2025-03-09 11:41:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:41:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:41:04] Production.INFO: Total Charge 0 [2025-03-09 11:41:04] Production.INFO: CreateAllLog End [2025-03-09 11:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641943') end [2025-03-09 11:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:41:04] Production.INFO: 1 [2025-03-09 11:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:41:04] Production.ERROR: done [2025-03-09 11:41:04] Production.INFO: ==13687== Releasing lock... [2025-03-09 11:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:41:04] Production.INFO: Account Balance End. [2025-03-09 11:41:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:41:04] Production.INFO: ==13683== Releasing lock... [2025-03-09 11:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:41:04] Production.ERROR: done [2025-03-09 11:41:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:41:06 [end_date_ymd] => 2025-03-09 11:41:06 [RateCDR] => 1 ) [2025-03-09 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-09 08:41:06' and `end` < '2025-03-09 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-09 11:41:13] Production.ERROR: CronJobId end10 [2025-03-09 11:41:13] Production.INFO: ==13680== Releasing lock... [2025-03-09 11:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:41:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:41:15] Production.INFO: call_cost start [2025-03-09 11:41:15] Production.INFO: call_cost end [2025-03-09 11:41:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:41:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:41:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:41:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:41:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:41:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:41:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:41:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:41:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:41:16] Production.INFO: ==13676== Releasing lock... [2025-03-09 11:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:41:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:41:18] Production.INFO: count ==364 [2025-03-09 11:41:18] Production.ERROR: pbx CDR StartTime 2025-03-09 08:41:06 - End Time 2025-03-09 11:41:06 [2025-03-09 11:41:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641945', 'tblTempUsageDetail_20' ) start [2025-03-09 11:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641945', 'tblTempUsageDetail_20' ) end [2025-03-09 11:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641945', 'tblTempVendorCDR_20' ) start [2025-03-09 11:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641945', 'tblTempVendorCDR_20' ) end [2025-03-09 11:41:18] Production.INFO: ProcessCDR(1,14641945,1,1,2) [2025-03-09 11:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641945', 'tblTempUsageDetail_20' ) start [2025-03-09 11:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641945', 'tblTempUsageDetail_20' ) end [2025-03-09 11:41:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:41:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:41:23] Production.INFO: ==13685== Releasing lock... [2025-03-09 11:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:41:23] Production.INFO: 31.25 MB #Memory Used# [2025-03-09 15:42:01] Production.INFO: ==13742== Lock acquired, processing the job... [2025-03-09 15:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:42:01] Production.INFO: neon service started [2025-03-09 15:42:01] Production.INFO: neon service started [2025-03-09 15:42:01] Production.INFO: ==13742== Releasing lock... [2025-03-09 15:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:42:01] Production.INFO: ==13745== Lock acquired, processing the job... [2025-03-09 11:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:42:02] Production.INFO: ==13745== Releasing lock... [2025-03-09 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:42:02] Production.INFO: ==13747== Lock acquired, processing the job... [2025-03-09 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:42:02] Production.INFO: ==13747== Releasing lock... [2025-03-09 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:42:03] Production.INFO: ==13757== Lock acquired, processing the job... [2025-03-09 11:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:42:03] Production.INFO: ==13759== Lock acquired, processing the job... [2025-03-09 11:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 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-09 11:42:03] Production.INFO: ==13749== Lock acquired, processing the job... [2025-03-09 11:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:42:03] Production.INFO: ==13751== Lock acquired, processing the job... [2025-03-09 11:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:42:03] Production.INFO: count ==13 [2025-03-09 11:42:03] Production.INFO: ==13755== Lock acquired, processing the job... [2025-03-09 11:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 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-09 11:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:42:03] Production.INFO: count ==21 [2025-03-09 11:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641946') start [2025-03-09 11:42:03] Production.INFO: ==13753== Lock acquired, processing the job... [2025-03-09 11:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:42:03] Production.ERROR: done [2025-03-09 11:42:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:42:03] Production.INFO: Account Balance Start. [2025-03-09 11:42:03] Production.INFO: CreateAllLog Start [2025-03-09 11:42:03] Production.INFO: 117 [2025-03-09 11:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641946') end [2025-03-09 11:42:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:42:03] Production.INFO: 1 [2025-03-09 11:42:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:42:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:42:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:42:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:42:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:42:03] Production.INFO: ==13751== Releasing lock... [2025-03-09 11:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:42:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:42:03] Production.INFO: ==13759== Releasing lock... [2025-03-09 11:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:42:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:42:03] Production.ERROR: done [2025-03-09 11:42:03] Production.INFO: Total Charge 0 [2025-03-09 11:42:03] Production.INFO: CreateAllLog End [2025-03-09 11:42:04] Production.INFO: Account Balance End. [2025-03-09 11:42:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:42:04] Production.INFO: ==13755== Releasing lock... [2025-03-09 11:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:42:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:42:04 [end_date_ymd] => 2025-03-09 11:42:04 [RateCDR] => 1 ) [2025-03-09 11:42:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:42:04' and `end` < '2025-03-09 11:42:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:42:11] Production.ERROR: CronJobId end10 [2025-03-09 11:42:11] Production.INFO: ==13753== Releasing lock... [2025-03-09 11:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:42:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:42:14] Production.INFO: call_cost start [2025-03-09 11:42:14] Production.INFO: call_cost end [2025-03-09 11:42:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:42:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:42:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:42:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:42:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:42:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:42:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:42:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:42:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:42:15] Production.INFO: ==13749== Releasing lock... [2025-03-09 11:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:42:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:42:16] Production.INFO: count ==370 [2025-03-09 11:42:16] Production.ERROR: pbx CDR StartTime 2025-03-09 08:42:04 - End Time 2025-03-09 11:42:04 [2025-03-09 11:42:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:42:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641950', 'tblTempUsageDetail_20' ) start [2025-03-09 11:42:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641950', 'tblTempUsageDetail_20' ) end [2025-03-09 11:42:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641950', 'tblTempVendorCDR_20' ) start [2025-03-09 11:42:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641950', 'tblTempVendorCDR_20' ) end [2025-03-09 11:42:16] Production.INFO: ProcessCDR(1,14641950,1,1,2) [2025-03-09 11:42:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641950', 'tblTempUsageDetail_20' ) start [2025-03-09 11:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641950', 'tblTempUsageDetail_20' ) end [2025-03-09 11:42:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:42:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:42:21] Production.INFO: ==13757== Releasing lock... [2025-03-09 11:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:42:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-09 15:43:01] Production.INFO: ==13813== Lock acquired, processing the job... [2025-03-09 15:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:43:01] Production.INFO: neon service started [2025-03-09 15:43:01] Production.INFO: neon service started [2025-03-09 15:43:01] Production.INFO: ==13813== Releasing lock... [2025-03-09 15:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:43:02] Production.INFO: ==13815== Lock acquired, processing the job... [2025-03-09 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:43:02] Production.INFO: ==13815== Releasing lock... [2025-03-09 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:43:02] Production.INFO: ==13817== Lock acquired, processing the job... [2025-03-09 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:43:03] Production.INFO: ==13817== Releasing lock... [2025-03-09 15:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:43:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:43:03] Production.INFO: ==13819== Lock acquired, processing the job... [2025-03-09 11:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:43:03] Production.INFO: ==13823== Lock acquired, processing the job... [2025-03-09 11:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:43:03] Production.INFO: ==13827== Lock acquired, processing the job... [2025-03-09 11:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:43:03] Production.ERROR: done [2025-03-09 11:43:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:43:03] Production.INFO: ==13821== Lock acquired, processing the job... [2025-03-09 11:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:43:03] Production.INFO: ==13825== Lock acquired, processing the job... [2025-03-09 11:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:43:04] Production.INFO: ==13830== Lock acquired, processing the job... [2025-03-09 11:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:43:04] Production.ERROR: done [2025-03-09 11:43:04] Production.INFO: Account Balance Start. [2025-03-09 11:43:04] Production.INFO: CreateAllLog Start [2025-03-09 11:43:04] Production.INFO: 117 [2025-03-09 11:43:04] Production.INFO: Date 2025-03-08 [2025-03-09 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-09 11:43:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:43:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:43:04] Production.INFO: ==13821== Releasing lock... [2025-03-09 11:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:43:04] Production.INFO: count ==13 [2025-03-09 11:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 11:43:04] Production.INFO: count ==21 [2025-03-09 11:43:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641954') start [2025-03-09 11:43:04] Production.INFO: Total Charge 0 [2025-03-09 11:43:04] Production.INFO: CreateAllLog End [2025-03-09 11:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641954') end [2025-03-09 11:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:43:04] Production.INFO: 1 [2025-03-09 11:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:43:04] Production.INFO: Account Balance End. [2025-03-09 11:43:04] Production.INFO: ==13830== Releasing lock... [2025-03-09 11:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:43:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:43:04] Production.INFO: ==13825== Releasing lock... [2025-03-09 11:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:43:05 [end_date_ymd] => 2025-03-09 11:43:05 [RateCDR] => 1 ) [2025-03-09 11:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:43:05' and `end` < '2025-03-09 11:43:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:43:12] Production.ERROR: CronJobId end10 [2025-03-09 11:43:12] Production.INFO: ==13823== Releasing lock... [2025-03-09 11:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:43:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:43:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:43:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:43:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:43:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:43:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:43:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:43:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:43:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:43:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:43:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:43:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:43:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:43:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:43:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:43:14] Production.INFO: call_cost start [2025-03-09 11:43:14] Production.INFO: call_cost end [2025-03-09 11:43:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:43:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:43:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:43:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:43:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:43:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:43:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:43:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:43:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:43:15] Production.INFO: ==13819== Releasing lock... [2025-03-09 11:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:43:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:43:17] Production.INFO: count ==373 [2025-03-09 11:43:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:43:05 - End Time 2025-03-09 11:43:05 [2025-03-09 11:43:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641955', 'tblTempUsageDetail_20' ) start [2025-03-09 11:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641955', 'tblTempUsageDetail_20' ) end [2025-03-09 11:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641955', 'tblTempVendorCDR_20' ) start [2025-03-09 11:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641955', 'tblTempVendorCDR_20' ) end [2025-03-09 11:43:17] Production.INFO: ProcessCDR(1,14641955,1,1,2) [2025-03-09 11:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641955', 'tblTempUsageDetail_20' ) start [2025-03-09 11:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641955', 'tblTempUsageDetail_20' ) end [2025-03-09 11:43:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:43:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:43:21] Production.INFO: ==13827== Releasing lock... [2025-03-09 11:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:43:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-09 15:44:01] Production.INFO: ==13884== Lock acquired, processing the job... [2025-03-09 15:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:44:01] Production.INFO: neon service started [2025-03-09 15:44:01] Production.INFO: neon service started [2025-03-09 15:44:01] Production.INFO: ==13884== Releasing lock... [2025-03-09 15:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:44:01] Production.INFO: ==13886== Lock acquired, processing the job... [2025-03-09 11:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:44:02] Production.INFO: ==13886== Releasing lock... [2025-03-09 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:44:02] Production.INFO: ==13888== Lock acquired, processing the job... [2025-03-09 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:44:02] Production.INFO: ==13888== Releasing lock... [2025-03-09 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:44:02] Production.INFO: ==13896== Lock acquired, processing the job... [2025-03-09 11:44:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:44:03] Production.INFO: Account Balance Start. [2025-03-09 11:44:03] Production.INFO: CreateAllLog Start [2025-03-09 11:44:03] Production.INFO: 117 [2025-03-09 11:44:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:44:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:44:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:44:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:44:03] Production.INFO: Total Charge 0 [2025-03-09 11:44:03] Production.INFO: CreateAllLog End [2025-03-09 11:44:03] Production.INFO: ==13900== Lock acquired, processing the job... [2025-03-09 11:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:44:03] Production.INFO: ==13890== Lock acquired, processing the job... [2025-03-09 11:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:44:03] Production.INFO: ==13892== Lock acquired, processing the job... [2025-03-09 11:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:44:03] Production.INFO: ==13894== Lock acquired, processing the job... [2025-03-09 11:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:44:03] Production.INFO: count ==13 [2025-03-09 11:44:03] Production.INFO: ==13898== Lock acquired, processing the job... [2025-03-09 11:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:44:03] Production.INFO: Account Balance End. [2025-03-09 11:44:03] Production.INFO: count ==21 [2025-03-09 11:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:44:03] Production.ERROR: CronJobId end 12 [2025-03-09 11:44:03] Production.INFO: ==13896== Releasing lock... [2025-03-09 11:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:44:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641957') start [2025-03-09 11:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641957') end [2025-03-09 11:44:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:44:03] Production.INFO: 1 [2025-03-09 11:44:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:44:03] Production.INFO: ==13900== Releasing lock... [2025-03-09 11:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:44:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:44:03] Production.INFO: ==13892== Releasing lock... [2025-03-09 11:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:44:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:44:03] Production.ERROR: done [2025-03-09 11:44:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:44:03] Production.ERROR: done [2025-03-09 11:44:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:44:04 [end_date_ymd] => 2025-03-09 11:44:04 [RateCDR] => 1 ) [2025-03-09 11: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-09 08:44:04' and `end` < '2025-03-09 11: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-09 11:44:11] Production.ERROR: CronJobId end10 [2025-03-09 11:44:11] Production.INFO: ==13894== Releasing lock... [2025-03-09 11:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:44:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:44:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:44:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:44:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:44:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:44:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:44:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:44:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:44:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:44:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:44:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:44:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:44:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:44:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:44:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:44:14] Production.INFO: call_cost start [2025-03-09 11:44:14] Production.INFO: call_cost end [2025-03-09 11:44:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:44:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:44:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:44:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:44:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:44:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:44:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:44:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:44:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:44:15] Production.INFO: ==13890== Releasing lock... [2025-03-09 11:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:44:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:44:16] Production.INFO: count ==382 [2025-03-09 11:44:16] Production.ERROR: pbx CDR StartTime 2025-03-09 08:44:04 - End Time 2025-03-09 11:44:04 [2025-03-09 11:44:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:44:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641960', 'tblTempUsageDetail_20' ) start [2025-03-09 11:44:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641960', 'tblTempUsageDetail_20' ) end [2025-03-09 11:44:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641960', 'tblTempVendorCDR_20' ) start [2025-03-09 11:44:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641960', 'tblTempVendorCDR_20' ) end [2025-03-09 11:44:16] Production.INFO: ProcessCDR(1,14641960,1,1,2) [2025-03-09 11:44:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641960', 'tblTempUsageDetail_20' ) start [2025-03-09 11:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641960', 'tblTempUsageDetail_20' ) end [2025-03-09 11:44:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:44:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:44:21] Production.INFO: ==13898== Releasing lock... [2025-03-09 11:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:44:21] Production.INFO: 31 MB #Memory Used# [2025-03-09 15:45:01] Production.INFO: ==13956== Lock acquired, processing the job... [2025-03-09 15:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:45:01] Production.INFO: neon service started [2025-03-09 15:45:01] Production.INFO: neon service started [2025-03-09 15:45:01] Production.INFO: ==13956== Releasing lock... [2025-03-09 15:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:45:02] Production.INFO: ==13958== Lock acquired, processing the job... [2025-03-09 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:45:02] Production.INFO: ==13958== Releasing lock... [2025-03-09 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:45:02] Production.INFO: ==13961== Lock acquired, processing the job... [2025-03-09 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:45:02] Production.INFO: ==13961== Releasing lock... [2025-03-09 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:45:03] Production.INFO: ==13971== Lock acquired, processing the job... [2025-03-09 11:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:45:03] Production.INFO: ==13973== Lock acquired, processing the job... [2025-03-09 11:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:45:03] Production.INFO: ==13963== Lock acquired, processing the job... [2025-03-09 11:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:45:03] Production.INFO: ==13965== Lock acquired, processing the job... [2025-03-09 11:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:45:03] Production.INFO: ==13967== Lock acquired, processing the job... [2025-03-09 11:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:45:03] Production.INFO: ==13969== Lock acquired, processing the job... [2025-03-09 11:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:45:03] Production.INFO: count ==13 [2025-03-09 11:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:45:03] Production.INFO: count ==21 [2025-03-09 11:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641961') start [2025-03-09 11:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641961') end [2025-03-09 11:45:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:45:03] Production.INFO: 1 [2025-03-09 11:45:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:45:03] Production.INFO: Account Balance Start. [2025-03-09 11:45:03] Production.INFO: CreateAllLog Start [2025-03-09 11:45:03] Production.INFO: 117 [2025-03-09 11:45:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:45:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:45:03] Production.INFO: ==13973== Releasing lock... [2025-03-09 11:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:45:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:45:03] Production.ERROR: done [2025-03-09 11:45:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:45:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:45:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:45:03] Production.INFO: Total Charge 0 [2025-03-09 11:45:03] Production.INFO: CreateAllLog End [2025-03-09 11:45:04] Production.ERROR: done [2025-03-09 11:45:04] Production.INFO: ==13965== Releasing lock... [2025-03-09 11:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:45:04] Production.INFO: Account Balance End. [2025-03-09 11:45:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:45:04] Production.INFO: ==13969== Releasing lock... [2025-03-09 11:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:45:05 [end_date_ymd] => 2025-03-09 11:45:05 [RateCDR] => 1 ) [2025-03-09 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-09 08:45:05' and `end` < '2025-03-09 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-09 11:45:12] Production.ERROR: CronJobId end10 [2025-03-09 11:45:12] Production.INFO: ==13967== Releasing lock... [2025-03-09 11:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:45:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:45:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:45:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:45:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:45:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:45:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:45:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:45:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:45:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:45:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:45:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:45:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:45:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:45:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:45:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:45:15] Production.INFO: call_cost start [2025-03-09 11:45:15] Production.INFO: call_cost end [2025-03-09 11:45:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:45:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:45:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:45:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:45:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:45:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:45:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:45:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:45:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:45:15] Production.INFO: ==13963== Releasing lock... [2025-03-09 11:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:45:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:45:17] Production.INFO: count ==392 [2025-03-09 11:45:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:45:05 - End Time 2025-03-09 11:45:05 [2025-03-09 11:45:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641965', 'tblTempUsageDetail_20' ) start [2025-03-09 11:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641965', 'tblTempUsageDetail_20' ) end [2025-03-09 11:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641965', 'tblTempVendorCDR_20' ) start [2025-03-09 11:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641965', 'tblTempVendorCDR_20' ) end [2025-03-09 11:45:17] Production.INFO: ProcessCDR(1,14641965,1,1,2) [2025-03-09 11:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641965', 'tblTempUsageDetail_20' ) start [2025-03-09 11:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641965', 'tblTempUsageDetail_20' ) end [2025-03-09 11:45:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:45:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:45:22] Production.INFO: ==13971== Releasing lock... [2025-03-09 11:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:45:22] Production.INFO: 31.25 MB #Memory Used# [2025-03-09 15:46:02] Production.INFO: ==14066== Lock acquired, processing the job... [2025-03-09 15:46:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:46:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:46:02] Production.INFO: neon service started [2025-03-09 15:46:02] Production.INFO: neon service started [2025-03-09 15:46:02] Production.INFO: ==14066== Releasing lock... [2025-03-09 15:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:46:02] Production.INFO: ==14068== Lock acquired, processing the job... [2025-03-09 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:46:02] Production.INFO: ==14068== Releasing lock... [2025-03-09 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:46:03] Production.INFO: ==14070== Lock acquired, processing the job... [2025-03-09 15:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:46:03] Production.INFO: ==14070== Releasing lock... [2025-03-09 15:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:46:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:46:03] Production.INFO: ==14073== Lock acquired, processing the job... [2025-03-09 11:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:46:03] Production.INFO: ==14075== Lock acquired, processing the job... [2025-03-09 11:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:46:03] Production.INFO: ==14077== Lock acquired, processing the job... [2025-03-09 11:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:46:03] Production.INFO: ==14083== Lock acquired, processing the job... [2025-03-09 11:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:46:03] Production.INFO: ==14079== Lock acquired, processing the job... [2025-03-09 11:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:46:03] Production.INFO: ==14081== Lock acquired, processing the job... [2025-03-09 11:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:46:04] Production.INFO: count ==13 [2025-03-09 11:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:46:04] Production.INFO: count ==21 [2025-03-09 11:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641968') start [2025-03-09 11:46:04] Production.INFO: Account Balance Start. [2025-03-09 11:46:04] Production.INFO: CreateAllLog Start [2025-03-09 11:46:04] Production.INFO: 117 [2025-03-09 11:46:04] Production.INFO: ==14075== Releasing lock... [2025-03-09 11:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:46:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:46:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641968') end [2025-03-09 11:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:46:04] Production.INFO: 1 [2025-03-09 11:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:46:04] Production.ERROR: done [2025-03-09 11:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:46:04] Production.INFO: Total Charge 0 [2025-03-09 11:46:04] Production.INFO: ==14083== Releasing lock... [2025-03-09 11:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:46:04] Production.INFO: CreateAllLog End [2025-03-09 11:46:04] Production.ERROR: done [2025-03-09 11:46:04] Production.INFO: Account Balance End. [2025-03-09 11:46:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:46:04] Production.INFO: ==14079== Releasing lock... [2025-03-09 11:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:46:05 [end_date_ymd] => 2025-03-09 11:46:05 [RateCDR] => 1 ) [2025-03-09 11:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:46:05' and `end` < '2025-03-09 11:46:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:46:12] Production.ERROR: CronJobId end10 [2025-03-09 11:46:12] Production.INFO: ==14077== Releasing lock... [2025-03-09 11:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:46:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:46:14] Production.INFO: call_cost start [2025-03-09 11:46:14] Production.INFO: call_cost end [2025-03-09 11:46:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:46:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:46:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:46:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:46:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:46:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:46:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:46:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:46:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:46:15] Production.INFO: ==14073== Releasing lock... [2025-03-09 11:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:46:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:46:17] Production.INFO: count ==395 [2025-03-09 11:46:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:46:05 - End Time 2025-03-09 11:46:05 [2025-03-09 11:46:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641970', 'tblTempUsageDetail_20' ) start [2025-03-09 11:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641970', 'tblTempUsageDetail_20' ) end [2025-03-09 11:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641970', 'tblTempVendorCDR_20' ) start [2025-03-09 11:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641970', 'tblTempVendorCDR_20' ) end [2025-03-09 11:46:17] Production.INFO: ProcessCDR(1,14641970,1,1,2) [2025-03-09 11:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641970', 'tblTempUsageDetail_20' ) start [2025-03-09 11:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641970', 'tblTempUsageDetail_20' ) end [2025-03-09 11:46:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:46:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:46:22] Production.INFO: ==14081== Releasing lock... [2025-03-09 11:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:46:22] Production.INFO: 31.5 MB #Memory Used# [2025-03-09 15:47:01] Production.INFO: ==14140== Lock acquired, processing the job... [2025-03-09 15:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:47:01] Production.INFO: neon service started [2025-03-09 15:47:01] Production.INFO: neon service started [2025-03-09 15:47:01] Production.INFO: ==14140== Releasing lock... [2025-03-09 15:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:47:02] Production.INFO: ==14142== Lock acquired, processing the job... [2025-03-09 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:47:02] Production.INFO: ==14142== Releasing lock... [2025-03-09 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:47:02] Production.INFO: ==14144== Lock acquired, processing the job... [2025-03-09 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:47:02] Production.INFO: ==14144== Releasing lock... [2025-03-09 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:47:03] Production.INFO: ==14149== Lock acquired, processing the job... [2025-03-09 11:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:47:03] Production.INFO: ==14147== Lock acquired, processing the job... [2025-03-09 11:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:47:03] Production.INFO: ==14153== Lock acquired, processing the job... [2025-03-09 11:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:47:03] Production.INFO: Account Balance Start. [2025-03-09 11:47:03] Production.INFO: CreateAllLog Start [2025-03-09 11:47:03] Production.INFO: 117 [2025-03-09 11:47:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:47:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:47:03] Production.INFO: ==14149== Releasing lock... [2025-03-09 11:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:47:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:47:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:47:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:47:03] Production.INFO: Total Charge 0 [2025-03-09 11:47:03] Production.INFO: ==14151== Lock acquired, processing the job... [2025-03-09 11:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:47:03] Production.INFO: CreateAllLog End [2025-03-09 11:47:03] Production.INFO: ==14155== Lock acquired, processing the job... [2025-03-09 11:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:47:03] Production.INFO: Account Balance End. [2025-03-09 11:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:47:03] Production.INFO: ==14157== Lock acquired, processing the job... [2025-03-09 11:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:47:03] Production.ERROR: CronJobId end 12 [2025-03-09 11:47:03] Production.INFO: ==14153== Releasing lock... [2025-03-09 11:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:47:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:47:04] Production.INFO: count ==13 [2025-03-09 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-09 11:47:04] Production.INFO: count ==21 [2025-03-09 11:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641974') start [2025-03-09 11:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641974') end [2025-03-09 11:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:47:04] Production.INFO: 1 [2025-03-09 11:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:47:04] Production.INFO: ==14157== Releasing lock... [2025-03-09 11:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:47:04] Production.ERROR: done [2025-03-09 11:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:47:04] Production.ERROR: done [2025-03-09 11:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:47:05 [end_date_ymd] => 2025-03-09 11:47:05 [RateCDR] => 1 ) [2025-03-09 11:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:47:05' and `end` < '2025-03-09 11:47:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:47:12] Production.ERROR: CronJobId end10 [2025-03-09 11:47:12] Production.INFO: ==14151== Releasing lock... [2025-03-09 11:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:47:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:47:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:47:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:47:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:47:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:47:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:47:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:47:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:47:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:47:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:47:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:47:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:47:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:47:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:47:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:47:15] Production.INFO: call_cost start [2025-03-09 11:47:15] Production.INFO: call_cost end [2025-03-09 11:47:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:47:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:47:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:47:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:47:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:47:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:47:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:47:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:47:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:47:16] Production.INFO: ==14147== Releasing lock... [2025-03-09 11:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:47:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:47:17] Production.INFO: count ==398 [2025-03-09 11:47:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:47:05 - End Time 2025-03-09 11:47:05 [2025-03-09 11:47:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641975', 'tblTempUsageDetail_20' ) start [2025-03-09 11:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641975', 'tblTempUsageDetail_20' ) end [2025-03-09 11:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641975', 'tblTempVendorCDR_20' ) start [2025-03-09 11:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641975', 'tblTempVendorCDR_20' ) end [2025-03-09 11:47:17] Production.INFO: ProcessCDR(1,14641975,1,1,2) [2025-03-09 11:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641975', 'tblTempUsageDetail_20' ) start [2025-03-09 11:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641975', 'tblTempUsageDetail_20' ) end [2025-03-09 11:47:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:47:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:47:22] Production.INFO: ==14155== Releasing lock... [2025-03-09 11:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:47:22] Production.INFO: 31.75 MB #Memory Used# [2025-03-09 15:48:02] Production.INFO: ==14214== Lock acquired, processing the job... [2025-03-09 15:48:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:48:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:48:02] Production.INFO: neon service started [2025-03-09 15:48:02] Production.INFO: neon service started [2025-03-09 15:48:02] Production.INFO: ==14214== Releasing lock... [2025-03-09 15:48:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:48:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:48:02] Production.INFO: ==14219== Lock acquired, processing the job... [2025-03-09 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:48:02] Production.INFO: ==14219== Releasing lock... [2025-03-09 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:48:02] Production.INFO: ==14217== Lock acquired, processing the job... [2025-03-09 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:48:02] Production.INFO: ==14217== Releasing lock... [2025-03-09 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:48:03] Production.INFO: ==14225== Lock acquired, processing the job... [2025-03-09 11:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:48:03] Production.INFO: ==14231== Lock acquired, processing the job... [2025-03-09 11:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:48:03] Production.INFO: ==14221== Lock acquired, processing the job... [2025-03-09 11:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:48:04] Production.INFO: ==14223== Lock acquired, processing the job... [2025-03-09 11:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:48:04] Production.INFO: ==14227== Lock acquired, processing the job... [2025-03-09 11:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:48:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:48:04] Production.INFO: count ==13 [2025-03-09 11:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:48:04] Production.INFO: count ==21 [2025-03-09 11:48:04] Production.INFO: ==14229== Lock acquired, processing the job... [2025-03-09 11:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641976') start [2025-03-09 11:48:04] Production.INFO: Account Balance Start. [2025-03-09 11:48:04] Production.INFO: CreateAllLog Start [2025-03-09 11:48:04] Production.INFO: 117 [2025-03-09 11:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:48:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641976') end [2025-03-09 11:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:48:04] Production.INFO: 1 [2025-03-09 11:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:48:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:48:04] Production.INFO: Total Charge 0 [2025-03-09 11:48:04] Production.INFO: CreateAllLog End [2025-03-09 11:48:04] Production.INFO: ==14231== Releasing lock... [2025-03-09 11:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:48:04] Production.INFO: ==14223== Releasing lock... [2025-03-09 11:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:48:04] Production.ERROR: done [2025-03-09 11:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:48:04] Production.INFO: Account Balance End. [2025-03-09 11:48:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:48:04] Production.INFO: ==14227== Releasing lock... [2025-03-09 11:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:48:04] Production.ERROR: done [2025-03-09 11:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:48:05 [end_date_ymd] => 2025-03-09 11:48:05 [RateCDR] => 1 ) [2025-03-09 11:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:48:05' and `end` < '2025-03-09 11:48:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:48:11] Production.ERROR: CronJobId end10 [2025-03-09 11:48:11] Production.INFO: ==14225== Releasing lock... [2025-03-09 11:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:48:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:48:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:48:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:48:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:48:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:48:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:48:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:48:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:48:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:48:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:48:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:48:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:48:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:48:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:48:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:48:14] Production.INFO: call_cost start [2025-03-09 11:48:14] Production.INFO: call_cost end [2025-03-09 11:48:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:48:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:48:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:48:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:48:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:48:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:48:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:48:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:48:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:48:15] Production.INFO: ==14221== Releasing lock... [2025-03-09 11:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:48:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:48:17] Production.INFO: count ==399 [2025-03-09 11:48:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:48:05 - End Time 2025-03-09 11:48:05 [2025-03-09 11:48:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641980', 'tblTempUsageDetail_20' ) start [2025-03-09 11:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641980', 'tblTempUsageDetail_20' ) end [2025-03-09 11:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641980', 'tblTempVendorCDR_20' ) start [2025-03-09 11:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641980', 'tblTempVendorCDR_20' ) end [2025-03-09 11:48:17] Production.INFO: ProcessCDR(1,14641980,1,1,2) [2025-03-09 11:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641980', 'tblTempUsageDetail_20' ) start [2025-03-09 11:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641980', 'tblTempUsageDetail_20' ) end [2025-03-09 11:48:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:48:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:48:22] Production.INFO: ==14229== Releasing lock... [2025-03-09 11:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:48:22] Production.INFO: 31.25 MB #Memory Used# [2025-03-09 15:49:01] Production.INFO: ==14288== Lock acquired, processing the job... [2025-03-09 15:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:49:01] Production.INFO: neon service started [2025-03-09 15:49:01] Production.INFO: neon service started [2025-03-09 15:49:01] Production.INFO: ==14288== Releasing lock... [2025-03-09 15:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:49:01] Production.INFO: ==14290== Lock acquired, processing the job... [2025-03-09 11:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:49:02] Production.INFO: ==14292== Lock acquired, processing the job... [2025-03-09 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:49:02] Production.INFO: ==14290== Releasing lock... [2025-03-09 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:49:02] Production.INFO: ==14292== Releasing lock... [2025-03-09 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:49:03] Production.INFO: ==14294== Lock acquired, processing the job... [2025-03-09 11:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:49:03] Production.INFO: ==14296== Lock acquired, processing the job... [2025-03-09 11:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:49:03] Production.INFO: ==14303== Lock acquired, processing the job... [2025-03-09 11:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:49:03] Production.INFO: ==14298== Lock acquired, processing the job... [2025-03-09 11:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:49:03] Production.INFO: ==14300== Lock acquired, processing the job... [2025-03-09 11:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:49:03] Production.INFO: ==14305== Lock acquired, processing the job... [2025-03-09 11:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:49:03] Production.INFO: Account Balance Start. [2025-03-09 11:49:03] Production.INFO: CreateAllLog Start [2025-03-09 11:49:03] Production.INFO: 117 [2025-03-09 11:49:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:49:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:49:03] Production.INFO: count ==13 [2025-03-09 11:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:49:03] Production.INFO: count ==21 [2025-03-09 11:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641984') start [2025-03-09 11:49:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:49:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:49:03] Production.INFO: ==14296== Releasing lock... [2025-03-09 11:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641984') end [2025-03-09 11:49:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:49:03] Production.INFO: 1 [2025-03-09 11:49:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:49:03] Production.INFO: Total Charge 0 [2025-03-09 11:49:03] Production.ERROR: done [2025-03-09 11:49:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:49:03] Production.INFO: ==14305== Releasing lock... [2025-03-09 11:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:49:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:49:03] Production.INFO: CreateAllLog End [2025-03-09 11:49:04] Production.ERROR: done [2025-03-09 11:49:04] Production.INFO: Account Balance End. [2025-03-09 11:49:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:49:04] Production.INFO: ==14300== Releasing lock... [2025-03-09 11:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:49:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:49:04 [end_date_ymd] => 2025-03-09 11:49:04 [RateCDR] => 1 ) [2025-03-09 11: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-09 08:49:04' and `end` < '2025-03-09 11: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-09 11:49:11] Production.ERROR: CronJobId end10 [2025-03-09 11:49:11] Production.INFO: ==14298== Releasing lock... [2025-03-09 11:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:49:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:49:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:49:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:49:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:49:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:49:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:49:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:49:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:49:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:49:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:49:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:49:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:49:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:49:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:49:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:49:14] Production.INFO: call_cost start [2025-03-09 11:49:14] Production.INFO: call_cost end [2025-03-09 11:49:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:49:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:49:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:49:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:49:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:49:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:49:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:49:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:49:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:49:15] Production.INFO: ==14294== Releasing lock... [2025-03-09 11:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:49:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:49:16] Production.INFO: count ==401 [2025-03-09 11:49:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:49:04 - End Time 2025-03-09 11:49:04 [2025-03-09 11:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641985', 'tblTempUsageDetail_20' ) start [2025-03-09 11:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641985', 'tblTempUsageDetail_20' ) end [2025-03-09 11:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641985', 'tblTempVendorCDR_20' ) start [2025-03-09 11:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641985', 'tblTempVendorCDR_20' ) end [2025-03-09 11:49:17] Production.INFO: ProcessCDR(1,14641985,1,1,2) [2025-03-09 11:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641985', 'tblTempUsageDetail_20' ) start [2025-03-09 11:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641985', 'tblTempUsageDetail_20' ) end [2025-03-09 11:49:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:49:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:49:21] Production.INFO: ==14303== Releasing lock... [2025-03-09 11:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:49:21] Production.INFO: 31 MB #Memory Used# [2025-03-09 15:50:02] Production.INFO: ==14362== Lock acquired, processing the job... [2025-03-09 15:50:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:50:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:50:02] Production.INFO: neon service started [2025-03-09 15:50:02] Production.INFO: neon service started [2025-03-09 15:50:02] Production.INFO: ==14362== Releasing lock... [2025-03-09 15:50:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:50:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:50:02] Production.INFO: ==14364== Lock acquired, processing the job... [2025-03-09 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:50:02] Production.INFO: ==14366== Lock acquired, processing the job... [2025-03-09 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:50:02] Production.INFO: ==14364== Releasing lock... [2025-03-09 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:50:02] Production.INFO: ==14366== Releasing lock... [2025-03-09 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:50:03] Production.INFO: ==14371== Lock acquired, processing the job... [2025-03-09 11:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:50:03] Production.INFO: ==14369== Lock acquired, processing the job... [2025-03-09 11:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 11:50:04] Production.INFO: ==14373== Lock acquired, processing the job... [2025-03-09 11:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 11:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 11:50:04] Production.ERROR: CronJob PID - 14371 [2025-03-09 11:50:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 11:50:04] Production.ERROR: CronJob ID - 5 [2025-03-09 11:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 11:50:00 [2025-03-09 11:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 11:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 11:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 11:50:04] Production.INFO: ==14369== Releasing lock... [2025-03-09 11:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 11:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 11:50:04] Production.INFO: ==14377== Lock acquired, processing the job... [2025-03-09 11:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:50:04] Production.INFO: ==14375== Lock acquired, processing the job... [2025-03-09 11:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:50:04] Production.INFO: Account Balance Start. [2025-03-09 11:50:04] Production.INFO: CreateAllLog Start [2025-03-09 11:50:04] Production.INFO: 117 [2025-03-09 11:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:50:04] Production.INFO: ==14379== Lock acquired, processing the job... [2025-03-09 11:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:50:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:50:04] Production.INFO: ==14381== Lock acquired, processing the job... [2025-03-09 11:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 11:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:50:04] Production.INFO: ==14383== Lock acquired, processing the job... [2025-03-09 11:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:50:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:50:04] Production.INFO: Total Charge 0 [2025-03-09 11:50:04] Production.INFO: CreateAllLog End [2025-03-09 11:50:04] Production.INFO: ==14373== Releasing lock... [2025-03-09 11:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 11:50:04] Production.INFO: count ==13 [2025-03-09 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-09 11:50:04] Production.INFO: count ==21 [2025-03-09 11:50:04] Production.ERROR: done [2025-03-09 11:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641989') start [2025-03-09 11:50:05] Production.ERROR: done [2025-03-09 11:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 11:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641990', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 11:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14641989') end [2025-03-09 11:50:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:50:05] Production.INFO: 1 [2025-03-09 11:50:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:50:05] Production.INFO: Account Balance End. [2025-03-09 11:50:05] Production.ERROR: done [2025-03-09 11:50:05] Production.INFO: ==14383== Releasing lock... [2025-03-09 11:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:50:05] Production.ERROR: CronJobId end 12 [2025-03-09 11:50:05] Production.INFO: ==14377== Releasing lock... [2025-03-09 11:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:50:06 [end_date_ymd] => 2025-03-09 11:50:06 [RateCDR] => 1 ) [2025-03-09 11:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:50:06' and `end` < '2025-03-09 11:50:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14641990', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 11:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 11:50:09] Production.INFO: ProcessCDR(1,14641990,1,1,2) [2025-03-09 11:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14641990,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14641990,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:50:09] Production.INFO: ==14381== Releasing lock... [2025-03-09 11:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 11:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 11:50:13] Production.ERROR: CronJobId end10 [2025-03-09 11:50:13] Production.INFO: ==14375== Releasing lock... [2025-03-09 11:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:50:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:50:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:50:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:50:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:50:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:50:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:50:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:50:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:50:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:50:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:50:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:50:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:50:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:50:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:50:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:50:16] Production.INFO: call_cost start [2025-03-09 11:50:16] Production.INFO: call_cost end [2025-03-09 11:50:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:50:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:50:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:50:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:50:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:50:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:50:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:50:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:50:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:50:17] Production.INFO: ==14371== Releasing lock... [2025-03-09 11:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:50:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:50:18] Production.INFO: count ==404 [2025-03-09 11:50:18] Production.ERROR: pbx CDR StartTime 2025-03-09 08:50:06 - End Time 2025-03-09 11:50:06 [2025-03-09 11:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641991', 'tblTempUsageDetail_20' ) start [2025-03-09 11:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641991', 'tblTempUsageDetail_20' ) end [2025-03-09 11:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641991', 'tblTempVendorCDR_20' ) start [2025-03-09 11:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641991', 'tblTempVendorCDR_20' ) end [2025-03-09 11:50:18] Production.INFO: ProcessCDR(1,14641991,1,1,2) [2025-03-09 11:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641991', 'tblTempUsageDetail_20' ) start [2025-03-09 11:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641991', 'tblTempUsageDetail_20' ) end [2025-03-09 11:50:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:50:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:50:23] Production.INFO: ==14379== Releasing lock... [2025-03-09 11:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:50:23] Production.INFO: 31 MB #Memory Used# [2025-03-09 15:51:01] Production.INFO: ==14437== Lock acquired, processing the job... [2025-03-09 15:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:51:01] Production.INFO: neon service started [2025-03-09 15:51:01] Production.INFO: neon service started [2025-03-09 15:51:01] Production.INFO: ==14437== Releasing lock... [2025-03-09 15:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:51:01] Production.INFO: ==14439== Lock acquired, processing the job... [2025-03-09 11:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:51:02] Production.INFO: ==14441== Lock acquired, processing the job... [2025-03-09 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:51:02] Production.INFO: ==14441== Releasing lock... [2025-03-09 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:51:02] Production.INFO: ==14439== Releasing lock... [2025-03-09 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:51:03] Production.INFO: ==14450== Lock acquired, processing the job... [2025-03-09 11:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:51:03] Production.INFO: ==14444== Lock acquired, processing the job... [2025-03-09 11:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:51:03] Production.INFO: ==14446== Lock acquired, processing the job... [2025-03-09 11:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:51:03] Production.INFO: ==14454== Lock acquired, processing the job... [2025-03-09 11:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:51:03] Production.INFO: Account Balance Start. [2025-03-09 11:51:03] Production.INFO: CreateAllLog Start [2025-03-09 11:51:03] Production.INFO: 117 [2025-03-09 11:51:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:51:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:51:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:51:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:51:03] Production.INFO: Total Charge 0 [2025-03-09 11:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:51:03] Production.INFO: CreateAllLog End [2025-03-09 11:51:03] Production.INFO: count ==13 [2025-03-09 11:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:51:03] Production.INFO: count ==21 [2025-03-09 11:51:03] Production.INFO: ==14448== Lock acquired, processing the job... [2025-03-09 11:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641994') start [2025-03-09 11:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:51:03] Production.INFO: ==14452== Lock acquired, processing the job... [2025-03-09 11:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:51:03] Production.INFO: Account Balance End. [2025-03-09 11:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:51:03] Production.ERROR: CronJobId end 12 [2025-03-09 11:51:03] Production.INFO: ==14450== Releasing lock... [2025-03-09 11:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:51:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14641994') end [2025-03-09 11:51:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:51:03] Production.INFO: 1 [2025-03-09 11:51:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:51:03] Production.INFO: ==14454== Releasing lock... [2025-03-09 11:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:51:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:51:03] Production.INFO: ==14446== Releasing lock... [2025-03-09 11:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:51:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:51:04] Production.ERROR: done [2025-03-09 11:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:51:04] Production.ERROR: done [2025-03-09 11:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:51:05 [end_date_ymd] => 2025-03-09 11:51:05 [RateCDR] => 1 ) [2025-03-09 11:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:51:05' and `end` < '2025-03-09 11:51:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:51:12] Production.ERROR: CronJobId end10 [2025-03-09 11:51:12] Production.INFO: ==14448== Releasing lock... [2025-03-09 11:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:51:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:51:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:51:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:51:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:51:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:51:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:51:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:51:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:51:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:51:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:51:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:51:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:51:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:51:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:51:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:51:14] Production.INFO: call_cost start [2025-03-09 11:51:14] Production.INFO: call_cost end [2025-03-09 11:51:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:51:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:51:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:51:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:51:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:51:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:51:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:51:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:51:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:51:15] Production.INFO: ==14444== Releasing lock... [2025-03-09 11:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:51:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:51:17] Production.INFO: count ==405 [2025-03-09 11:51:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:51:05 - End Time 2025-03-09 11:51:05 [2025-03-09 11:51:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641996', 'tblTempUsageDetail_20' ) start [2025-03-09 11:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14641996', 'tblTempUsageDetail_20' ) end [2025-03-09 11:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641996', 'tblTempVendorCDR_20' ) start [2025-03-09 11:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14641996', 'tblTempVendorCDR_20' ) end [2025-03-09 11:51:17] Production.INFO: ProcessCDR(1,14641996,1,1,2) [2025-03-09 11:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14641996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14641996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14641996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14641996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641996', 'tblTempUsageDetail_20' ) start [2025-03-09 11:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14641996', 'tblTempUsageDetail_20' ) end [2025-03-09 11:51:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:51:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:51:22] Production.INFO: ==14452== Releasing lock... [2025-03-09 11:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:51:22] Production.INFO: 30.75 MB #Memory Used# [2025-03-09 15:52:02] Production.INFO: ==14510== Lock acquired, processing the job... [2025-03-09 15:52:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:52:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:52:02] Production.INFO: neon service started [2025-03-09 15:52:02] Production.INFO: neon service started [2025-03-09 15:52:02] Production.INFO: ==14510== Releasing lock... [2025-03-09 15:52:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:52:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:52:02] Production.INFO: ==14513== Lock acquired, processing the job... [2025-03-09 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:52:02] Production.INFO: ==14513== Releasing lock... [2025-03-09 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:52:02] Production.INFO: ==14515== Lock acquired, processing the job... [2025-03-09 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:52:03] Production.INFO: ==14515== Releasing lock... [2025-03-09 15:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:52:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:52:03] Production.INFO: ==14523== Lock acquired, processing the job... [2025-03-09 11:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:52:03] Production.INFO: ==14527== Lock acquired, processing the job... [2025-03-09 11:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:52:03] Production.INFO: Account Balance Start. [2025-03-09 11:52:03] Production.INFO: CreateAllLog Start [2025-03-09 11:52:03] Production.INFO: 117 [2025-03-09 11:52:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:52:03] Production.INFO: count ==13 [2025-03-09 11:52:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:52:04] Production.INFO: count ==21 [2025-03-09 11:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641998') start [2025-03-09 11:52:04] Production.INFO: ==14517== Lock acquired, processing the job... [2025-03-09 11:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:52:04] Production.INFO: Total Charge 0 [2025-03-09 11:52:04] Production.INFO: ==14519== Lock acquired, processing the job... [2025-03-09 11:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:52:04] Production.INFO: CreateAllLog End [2025-03-09 11:52:04] Production.INFO: ==14521== Lock acquired, processing the job... [2025-03-09 11:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14641998') end [2025-03-09 11:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:52:04] Production.INFO: 1 [2025-03-09 11:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:52:04] Production.INFO: ==14525== Lock acquired, processing the job... [2025-03-09 11:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:52:04] Production.INFO: ==14527== Releasing lock... [2025-03-09 11:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:52:04] Production.INFO: Account Balance End. [2025-03-09 11:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:52:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:52:04] Production.INFO: ==14523== Releasing lock... [2025-03-09 11:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:52:04] Production.INFO: ==14519== Releasing lock... [2025-03-09 11:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:52:04] Production.ERROR: done [2025-03-09 11:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:52:04] Production.ERROR: done [2025-03-09 11:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:52:05 [end_date_ymd] => 2025-03-09 11:52:05 [RateCDR] => 1 ) [2025-03-09 11:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:52:05' and `end` < '2025-03-09 11:52:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:52:13] Production.ERROR: CronJobId end10 [2025-03-09 11:52:13] Production.INFO: ==14521== Releasing lock... [2025-03-09 11:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:52:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:52:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:52:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:52:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:52:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:52:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:52:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:52:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:52:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:52:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:52:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:52:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:52:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:52:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:52:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:52:15] Production.INFO: call_cost start [2025-03-09 11:52:15] Production.INFO: call_cost end [2025-03-09 11:52:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:52:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:52:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:52:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:52:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:52:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:52:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:52:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:52:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:52:16] Production.INFO: ==14517== Releasing lock... [2025-03-09 11:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:52:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:52:17] Production.INFO: count ==405 [2025-03-09 11:52:18] Production.ERROR: pbx CDR StartTime 2025-03-09 08:52:05 - End Time 2025-03-09 11:52:05 [2025-03-09 11:52:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642001', 'tblTempUsageDetail_20' ) start [2025-03-09 11:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642001', 'tblTempUsageDetail_20' ) end [2025-03-09 11:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642001', 'tblTempVendorCDR_20' ) start [2025-03-09 11:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642001', 'tblTempVendorCDR_20' ) end [2025-03-09 11:52:18] Production.INFO: ProcessCDR(1,14642001,1,1,2) [2025-03-09 11:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642001', 'tblTempUsageDetail_20' ) start [2025-03-09 11:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642001', 'tblTempUsageDetail_20' ) end [2025-03-09 11:52:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:52:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:52:21] Production.INFO: ==14525== Releasing lock... [2025-03-09 11:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:52:21] Production.INFO: 30.75 MB #Memory Used# [2025-03-09 15:53:01] Production.INFO: ==14582== Lock acquired, processing the job... [2025-03-09 15:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:53:01] Production.INFO: neon service started [2025-03-09 15:53:01] Production.INFO: neon service started [2025-03-09 15:53:01] Production.INFO: ==14582== Releasing lock... [2025-03-09 15:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:53:01] Production.INFO: ==14585== Lock acquired, processing the job... [2025-03-09 11:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:53:02] Production.INFO: ==14587== Lock acquired, processing the job... [2025-03-09 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 11:53:02] Production.INFO: ==14585== Releasing lock... [2025-03-09 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:53:02] Production.INFO: ==14587== Releasing lock... [2025-03-09 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:53:03] Production.INFO: ==14589== Lock acquired, processing the job... [2025-03-09 11:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:53:03] Production.INFO: ==14591== Lock acquired, processing the job... [2025-03-09 11:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:53:03] Production.INFO: ==14593== Lock acquired, processing the job... [2025-03-09 11:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:53:03] Production.INFO: ==14597== Lock acquired, processing the job... [2025-03-09 11:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:53:03] Production.INFO: ==14595== Lock acquired, processing the job... [2025-03-09 11:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:53:03] Production.INFO: ==14591== Releasing lock... [2025-03-09 11:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:53:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:53:03] Production.INFO: Account Balance Start. [2025-03-09 11:53:03] Production.INFO: CreateAllLog Start [2025-03-09 11:53:03] Production.INFO: ==14599== Lock acquired, processing the job... [2025-03-09 11:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:53:03] Production.INFO: 117 [2025-03-09 11:53:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:53:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:53:03] Production.INFO: count ==13 [2025-03-09 11:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:53:03] Production.INFO: count ==21 [2025-03-09 11:53:03] Production.ERROR: done [2025-03-09 11:53:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642005') start [2025-03-09 11:53:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:53:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:53:04] Production.INFO: Total Charge 0 [2025-03-09 11:53:04] Production.ERROR: done [2025-03-09 11:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642005') end [2025-03-09 11:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:53:04] Production.INFO: 1 [2025-03-09 11:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:53:04] Production.INFO: CreateAllLog End [2025-03-09 11:53:04] Production.INFO: ==14599== Releasing lock... [2025-03-09 11:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:53:04] Production.INFO: Account Balance End. [2025-03-09 11:53:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:53:04] Production.INFO: ==14595== Releasing lock... [2025-03-09 11:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:53:05 [end_date_ymd] => 2025-03-09 11:53:05 [RateCDR] => 1 ) [2025-03-09 11:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:53:05' and `end` < '2025-03-09 11:53:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:53:11] Production.ERROR: CronJobId end10 [2025-03-09 11:53:11] Production.INFO: ==14593== Releasing lock... [2025-03-09 11:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:53:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:53:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:53:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:53:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:53:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:53:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:53:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:53:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:53:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:53:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:53:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:53:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:53:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:53:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:53:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:53:13] Production.INFO: call_cost start [2025-03-09 11:53:13] Production.INFO: call_cost end [2025-03-09 11:53:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:53:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:53:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:53:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:53:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:53:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:53:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:53:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:53:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:53:14] Production.INFO: ==14589== Releasing lock... [2025-03-09 11:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:53:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:53:17] Production.INFO: count ==408 [2025-03-09 11:53:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:53:05 - End Time 2025-03-09 11:53:05 [2025-03-09 11:53:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642006', 'tblTempUsageDetail_20' ) start [2025-03-09 11:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642006', 'tblTempUsageDetail_20' ) end [2025-03-09 11:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642006', 'tblTempVendorCDR_20' ) start [2025-03-09 11:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642006', 'tblTempVendorCDR_20' ) end [2025-03-09 11:53:17] Production.INFO: ProcessCDR(1,14642006,1,1,2) [2025-03-09 11:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642006', 'tblTempUsageDetail_20' ) start [2025-03-09 11:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642006', 'tblTempUsageDetail_20' ) end [2025-03-09 11:53:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:53:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:53:22] Production.INFO: ==14597== Releasing lock... [2025-03-09 11:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:53:22] Production.INFO: 31.5 MB #Memory Used# [2025-03-09 15:54:02] Production.INFO: ==14656== Lock acquired, processing the job... [2025-03-09 15:54:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:54:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:54:02] Production.INFO: neon service started [2025-03-09 15:54:02] Production.INFO: neon service started [2025-03-09 15:54:02] Production.INFO: ==14656== Releasing lock... [2025-03-09 15:54:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:54:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:54:02] Production.INFO: ==14659== Lock acquired, processing the job... [2025-03-09 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:54:02] Production.INFO: ==14661== Lock acquired, processing the job... [2025-03-09 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:54:02] Production.INFO: ==14661== Releasing lock... [2025-03-09 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:54:03] Production.INFO: ==14659== Releasing lock... [2025-03-09 11:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:54:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:54:03] Production.INFO: ==14665== Lock acquired, processing the job... [2025-03-09 11:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:54:03] Production.INFO: ==14673== Lock acquired, processing the job... [2025-03-09 11:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:54:04] Production.INFO: ==14663== Lock acquired, processing the job... [2025-03-09 11:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:54:04] Production.INFO: count ==13 [2025-03-09 11:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:54:04] Production.INFO: count ==21 [2025-03-09 11:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642008') start [2025-03-09 11:54:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:54:04] Production.INFO: ==14671== Lock acquired, processing the job... [2025-03-09 11:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:54:04] Production.INFO: ==14667== Lock acquired, processing the job... [2025-03-09 11:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:54:04] Production.INFO: ==14665== Releasing lock... [2025-03-09 11:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:54:04] Production.INFO: ==14669== Lock acquired, processing the job... [2025-03-09 11:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642008') end [2025-03-09 11:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:54:04] Production.INFO: 1 [2025-03-09 11:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:54:04] Production.INFO: ==14673== Releasing lock... [2025-03-09 11:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:54:04] Production.INFO: Account Balance Start. [2025-03-09 11:54:04] Production.INFO: CreateAllLog Start [2025-03-09 11:54:04] Production.INFO: 117 [2025-03-09 11:54:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:54:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:54:04] Production.INFO: Total Charge 0 [2025-03-09 11:54:04] Production.INFO: CreateAllLog End [2025-03-09 11:54:04] Production.ERROR: done [2025-03-09 11:54:04] Production.INFO: Account Balance End. [2025-03-09 11:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:54:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:54:04] Production.INFO: ==14669== Releasing lock... [2025-03-09 11:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:54:04] Production.ERROR: done [2025-03-09 11:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:54:05 [end_date_ymd] => 2025-03-09 11:54:05 [RateCDR] => 1 ) [2025-03-09 11:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:54:05' and `end` < '2025-03-09 11:54:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:54:11] Production.ERROR: CronJobId end10 [2025-03-09 11:54:11] Production.INFO: ==14667== Releasing lock... [2025-03-09 11:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:54:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:54:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:54:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:54:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:54:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:54:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:54:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:54:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:54:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:54:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:54:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:54:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:54:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:54:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:54:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:54:14] Production.INFO: call_cost start [2025-03-09 11:54:14] Production.INFO: call_cost end [2025-03-09 11:54:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:54:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:54:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:54:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:54:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:54:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:54:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:54:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:54:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:54:15] Production.INFO: ==14663== Releasing lock... [2025-03-09 11:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:54:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:54:17] Production.INFO: count ==409 [2025-03-09 11:54:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:54:05 - End Time 2025-03-09 11:54:05 [2025-03-09 11:54:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642011', 'tblTempUsageDetail_20' ) start [2025-03-09 11:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642011', 'tblTempUsageDetail_20' ) end [2025-03-09 11:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642011', 'tblTempVendorCDR_20' ) start [2025-03-09 11:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642011', 'tblTempVendorCDR_20' ) end [2025-03-09 11:54:17] Production.INFO: ProcessCDR(1,14642011,1,1,2) [2025-03-09 11:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642011', 'tblTempUsageDetail_20' ) start [2025-03-09 11:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642011', 'tblTempUsageDetail_20' ) end [2025-03-09 11:54:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:54:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:54:22] Production.INFO: ==14671== Releasing lock... [2025-03-09 11:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:54:22] Production.INFO: 32 MB #Memory Used# [2025-03-09 15:55:01] Production.INFO: ==14734== Lock acquired, processing the job... [2025-03-09 15:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:55:01] Production.INFO: neon service started [2025-03-09 15:55:01] Production.INFO: neon service started [2025-03-09 15:55:01] Production.INFO: ==14734== Releasing lock... [2025-03-09 15:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:55:02] Production.INFO: ==14736== Lock acquired, processing the job... [2025-03-09 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:55:02] Production.INFO: ==14738== Lock acquired, processing the job... [2025-03-09 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:55:02] Production.INFO: ==14738== Releasing lock... [2025-03-09 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:55:02] Production.INFO: ==14736== Releasing lock... [2025-03-09 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:55:03] Production.INFO: ==14741== Lock acquired, processing the job... [2025-03-09 11:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:55:03] Production.INFO: ==14743== Lock acquired, processing the job... [2025-03-09 11:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:55:03] Production.INFO: ==14751== Lock acquired, processing the job... [2025-03-09 11:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:55:03] Production.INFO: ==14745== Lock acquired, processing the job... [2025-03-09 11:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:55:03] Production.INFO: count ==13 [2025-03-09 11:55:03] Production.INFO: ==14747== Lock acquired, processing the job... [2025-03-09 11:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:55:03] Production.INFO: ==14743== Releasing lock... [2025-03-09 11:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:55:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:55:03] Production.INFO: count ==21 [2025-03-09 11:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642014') start [2025-03-09 11:55:03] Production.INFO: ==14749== Lock acquired, processing the job... [2025-03-09 11:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:55:03] Production.INFO: Account Balance Start. [2025-03-09 11:55:03] Production.INFO: CreateAllLog Start [2025-03-09 11:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:55:03] Production.INFO: 117 [2025-03-09 11:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:55:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:55:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642014') end [2025-03-09 11:55:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:55:03] Production.INFO: 1 [2025-03-09 11:55:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:55:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:55:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:55:04] Production.INFO: ==14751== Releasing lock... [2025-03-09 11:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:55:04] Production.INFO: Total Charge 0 [2025-03-09 11:55:04] Production.INFO: CreateAllLog End [2025-03-09 11:55:04] Production.INFO: Account Balance End. [2025-03-09 11:55:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:55:04] Production.INFO: ==14747== Releasing lock... [2025-03-09 11:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:55:04] Production.ERROR: done [2025-03-09 11:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:55:04] Production.ERROR: done [2025-03-09 11:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:55:05 [end_date_ymd] => 2025-03-09 11:55:05 [RateCDR] => 1 ) [2025-03-09 11:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:55:05' and `end` < '2025-03-09 11:55:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:55:12] Production.ERROR: CronJobId end10 [2025-03-09 11:55:12] Production.INFO: ==14745== Releasing lock... [2025-03-09 11:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:55:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:55:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:55:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:55:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:55:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:55:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:55:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:55:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:55:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:55:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:55:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:55:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:55:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:55:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:55:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:55:15] Production.INFO: call_cost start [2025-03-09 11:55:15] Production.INFO: call_cost end [2025-03-09 11:55:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:55:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:55:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:55:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:55:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:55:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:55:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:55:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:55:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:55:16] Production.INFO: ==14741== Releasing lock... [2025-03-09 11:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:55:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:55:17] Production.INFO: count ==411 [2025-03-09 11:55:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:55:05 - End Time 2025-03-09 11:55:05 [2025-03-09 11:55:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642016', 'tblTempUsageDetail_20' ) start [2025-03-09 11:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642016', 'tblTempUsageDetail_20' ) end [2025-03-09 11:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642016', 'tblTempVendorCDR_20' ) start [2025-03-09 11:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642016', 'tblTempVendorCDR_20' ) end [2025-03-09 11:55:18] Production.INFO: ProcessCDR(1,14642016,1,1,2) [2025-03-09 11:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642016', 'tblTempUsageDetail_20' ) start [2025-03-09 11:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642016', 'tblTempUsageDetail_20' ) end [2025-03-09 11:55:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:55:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:55:22] Production.INFO: ==14749== Releasing lock... [2025-03-09 11:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:55:22] Production.INFO: 32 MB #Memory Used# [2025-03-09 15:56:01] Production.INFO: ==14806== Lock acquired, processing the job... [2025-03-09 15:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:56:01] Production.INFO: neon service started [2025-03-09 15:56:02] Production.INFO: neon service started [2025-03-09 15:56:02] Production.INFO: ==14806== Releasing lock... [2025-03-09 15:56:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:56:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:56:02] Production.INFO: ==14808== Lock acquired, processing the job... [2025-03-09 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:56:02] Production.INFO: ==14810== Lock acquired, processing the job... [2025-03-09 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:56:02] Production.INFO: ==14810== Releasing lock... [2025-03-09 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:56:02] Production.INFO: ==14808== Releasing lock... [2025-03-09 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 11:56:03] Production.INFO: ==14813== Lock acquired, processing the job... [2025-03-09 11:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:56:03] Production.INFO: ==14815== Lock acquired, processing the job... [2025-03-09 11:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:56:03] Production.INFO: ==14817== Lock acquired, processing the job... [2025-03-09 11:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:56:04] Production.INFO: ==14819== Lock acquired, processing the job... [2025-03-09 11:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:56:04] Production.INFO: ==14815== Releasing lock... [2025-03-09 11:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:56:04] Production.INFO: ==14823== Lock acquired, processing the job... [2025-03-09 11:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:56:04] Production.INFO: ==14821== Lock acquired, processing the job... [2025-03-09 11:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:56:04] Production.INFO: Account Balance Start. [2025-03-09 11:56:04] Production.INFO: CreateAllLog Start [2025-03-09 11:56:04] Production.INFO: 117 [2025-03-09 11:56:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:56:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:56:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:56:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:56:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:56:04] Production.INFO: count ==13 [2025-03-09 11:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:56:04] Production.INFO: Total Charge 0 [2025-03-09 11:56:04] Production.INFO: count ==21 [2025-03-09 11:56:04] Production.INFO: CreateAllLog End [2025-03-09 11:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642020') start [2025-03-09 11:56:04] Production.ERROR: done [2025-03-09 11:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642020') end [2025-03-09 11:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:56:04] Production.INFO: 1 [2025-03-09 11:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:56:04] Production.INFO: ==14823== Releasing lock... [2025-03-09 11:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:56:05] Production.ERROR: done [2025-03-09 11:56:05] Production.INFO: Account Balance End. [2025-03-09 11:56:05] Production.ERROR: CronJobId end 12 [2025-03-09 11:56:05] Production.INFO: ==14819== Releasing lock... [2025-03-09 11:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:56:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:56:05 [end_date_ymd] => 2025-03-09 11:56:05 [RateCDR] => 1 ) [2025-03-09 11:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:56:05' and `end` < '2025-03-09 11:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:56:12] Production.ERROR: CronJobId end10 [2025-03-09 11:56:12] Production.INFO: ==14817== Releasing lock... [2025-03-09 11:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:56:15] Production.INFO: call_cost start [2025-03-09 11:56:15] Production.INFO: call_cost end [2025-03-09 11:56:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:56:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:56:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:56:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:56:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:56:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:56:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:56:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:56:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:56:16] Production.INFO: ==14813== Releasing lock... [2025-03-09 11:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:56:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:56:18] Production.INFO: count ==415 [2025-03-09 11:56:18] Production.ERROR: pbx CDR StartTime 2025-03-09 08:56:05 - End Time 2025-03-09 11:56:05 [2025-03-09 11:56:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642021', 'tblTempUsageDetail_20' ) start [2025-03-09 11:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642021', 'tblTempUsageDetail_20' ) end [2025-03-09 11:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642021', 'tblTempVendorCDR_20' ) start [2025-03-09 11:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642021', 'tblTempVendorCDR_20' ) end [2025-03-09 11:56:18] Production.INFO: ProcessCDR(1,14642021,1,1,2) [2025-03-09 11:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642021', 'tblTempUsageDetail_20' ) start [2025-03-09 11:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642021', 'tblTempUsageDetail_20' ) end [2025-03-09 11:56:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:56:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:56:22] Production.INFO: ==14821== Releasing lock... [2025-03-09 11:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:56:22] Production.INFO: 31.25 MB #Memory Used# [2025-03-09 15:57:01] Production.INFO: ==14877== Lock acquired, processing the job... [2025-03-09 15:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:57:01] Production.INFO: neon service started [2025-03-09 15:57:01] Production.INFO: neon service started [2025-03-09 15:57:01] Production.INFO: ==14877== Releasing lock... [2025-03-09 15:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:57:01] Production.INFO: ==14879== Lock acquired, processing the job... [2025-03-09 11:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:57:02] Production.INFO: ==14879== Releasing lock... [2025-03-09 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:57:02] Production.INFO: ==14881== Lock acquired, processing the job... [2025-03-09 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:57:02] Production.INFO: ==14881== Releasing lock... [2025-03-09 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:57:03] Production.INFO: ==14886== Lock acquired, processing the job... [2025-03-09 11:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:57:03] Production.INFO: ==14894== Lock acquired, processing the job... [2025-03-09 11:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:57:03] Production.INFO: ==14884== Lock acquired, processing the job... [2025-03-09 11:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:57:03] Production.INFO: count ==13 [2025-03-09 11:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:57:03] Production.INFO: count ==21 [2025-03-09 11:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642022') start [2025-03-09 11:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642022') end [2025-03-09 11:57:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:57:03] Production.INFO: 1 [2025-03-09 11:57:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:57:03] Production.INFO: ==14888== Lock acquired, processing the job... [2025-03-09 11:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:57:03] Production.INFO: ==14890== Lock acquired, processing the job... [2025-03-09 11:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:57:03] Production.INFO: ==14894== Releasing lock... [2025-03-09 11:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:57:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:57:03] Production.INFO: ==14892== Lock acquired, processing the job... [2025-03-09 11:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:57:03] Production.INFO: ==14886== Releasing lock... [2025-03-09 11:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:57:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:57:03] Production.INFO: Account Balance Start. [2025-03-09 11:57:03] Production.INFO: CreateAllLog Start [2025-03-09 11:57:03] Production.INFO: 117 [2025-03-09 11:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:57:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:57:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:57:03] Production.INFO: Total Charge 0 [2025-03-09 11:57:03] Production.INFO: CreateAllLog End [2025-03-09 11:57:03] Production.ERROR: done [2025-03-09 11:57:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:57:04] Production.INFO: Account Balance End. [2025-03-09 11:57:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:57:04] Production.INFO: ==14890== Releasing lock... [2025-03-09 11:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:57:04] Production.ERROR: done [2025-03-09 11:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:57:05 [end_date_ymd] => 2025-03-09 11:57:05 [RateCDR] => 1 ) [2025-03-09 11:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:57:05' and `end` < '2025-03-09 11:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:57:12] Production.ERROR: CronJobId end10 [2025-03-09 11:57:12] Production.INFO: ==14888== Releasing lock... [2025-03-09 11:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:57:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:57:15] Production.INFO: call_cost start [2025-03-09 11:57:15] Production.INFO: call_cost end [2025-03-09 11:57:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:57:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:57:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:57:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:57:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:57:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:57:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:57:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:57:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:57:16] Production.INFO: ==14884== Releasing lock... [2025-03-09 11:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:57:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:57:17] Production.INFO: count ==416 [2025-03-09 11:57:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:57:05 - End Time 2025-03-09 11:57:05 [2025-03-09 11:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642026', 'tblTempUsageDetail_20' ) start [2025-03-09 11:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642026', 'tblTempUsageDetail_20' ) end [2025-03-09 11:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642026', 'tblTempVendorCDR_20' ) start [2025-03-09 11:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642026', 'tblTempVendorCDR_20' ) end [2025-03-09 11:57:17] Production.INFO: ProcessCDR(1,14642026,1,1,2) [2025-03-09 11:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642026', 'tblTempUsageDetail_20' ) start [2025-03-09 11:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642026', 'tblTempUsageDetail_20' ) end [2025-03-09 11:57:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:57:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:57:21] Production.INFO: ==14892== Releasing lock... [2025-03-09 11:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:57:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-09 15:58:01] Production.INFO: ==14950== Lock acquired, processing the job... [2025-03-09 15:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:58:01] Production.INFO: neon service started [2025-03-09 15:58:01] Production.INFO: neon service started [2025-03-09 15:58:01] Production.INFO: ==14950== Releasing lock... [2025-03-09 15:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:58:02] Production.INFO: ==14952== Lock acquired, processing the job... [2025-03-09 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:58:02] Production.INFO: ==14952== Releasing lock... [2025-03-09 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:58:02] Production.INFO: ==14954== Lock acquired, processing the job... [2025-03-09 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:58:02] Production.INFO: ==14954== Releasing lock... [2025-03-09 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:58:03] Production.INFO: ==14967== Lock acquired, processing the job... [2025-03-09 11:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:58:03] Production.INFO: ==14965== Lock acquired, processing the job... [2025-03-09 11:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:58:03] Production.INFO: ==14957== Lock acquired, processing the job... [2025-03-09 11:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 11:58:03] Production.INFO: count ==13 [2025-03-09 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-09 11:58:03] Production.INFO: count ==21 [2025-03-09 11:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642027') start [2025-03-09 11:58:03] Production.INFO: ==14959== Lock acquired, processing the job... [2025-03-09 11:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:58:03] Production.INFO: ==14961== Lock acquired, processing the job... [2025-03-09 11:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:58:03] Production.INFO: ==14963== Lock acquired, processing the job... [2025-03-09 11:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:58:03] Production.INFO: Account Balance Start. [2025-03-09 11:58:03] Production.INFO: CreateAllLog Start [2025-03-09 11:58:03] Production.INFO: 117 [2025-03-09 11:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642027') end [2025-03-09 11:58:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:58:03] Production.INFO: 1 [2025-03-09 11:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:58:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:58:03] Production.INFO: Date 2025-03-08 [2025-03-09 11:58:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:58:03] Production.INFO: Date 2025-03-09 [2025-03-09 11:58:03] Production.INFO: Reseller ==> 0 [2025-03-09 11:58:04] Production.INFO: ==14967== Releasing lock... [2025-03-09 11:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:58:04] Production.ERROR: done [2025-03-09 11:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:58:04] Production.INFO: Total Charge 0 [2025-03-09 11:58:04] Production.INFO: CreateAllLog End [2025-03-09 11:58:04] Production.INFO: ==14959== Releasing lock... [2025-03-09 11:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:58:04] Production.ERROR: done [2025-03-09 11:58:04] Production.INFO: Account Balance End. [2025-03-09 11:58:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:58:04] Production.INFO: ==14963== Releasing lock... [2025-03-09 11:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:58:05 [end_date_ymd] => 2025-03-09 11:58:05 [RateCDR] => 1 ) [2025-03-09 11:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:58:05' and `end` < '2025-03-09 11:58:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:58:11] Production.ERROR: CronJobId end10 [2025-03-09 11:58:11] Production.INFO: ==14961== Releasing lock... [2025-03-09 11:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:58:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:58:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:58:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:58:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:58:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:58:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:58:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:58:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:58:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:58:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:58:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:58:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:58:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:58:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:58:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:58:14] Production.INFO: call_cost start [2025-03-09 11:58:14] Production.INFO: call_cost end [2025-03-09 11:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:58:15] Production.INFO: ==14957== Releasing lock... [2025-03-09 11:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:58:17] Production.INFO: count ==416 [2025-03-09 11:58:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:58:05 - End Time 2025-03-09 11:58:05 [2025-03-09 11:58:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642031', 'tblTempUsageDetail_20' ) start [2025-03-09 11:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642031', 'tblTempUsageDetail_20' ) end [2025-03-09 11:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642031', 'tblTempVendorCDR_20' ) start [2025-03-09 11:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642031', 'tblTempVendorCDR_20' ) end [2025-03-09 11:58:17] Production.INFO: ProcessCDR(1,14642031,1,1,2) [2025-03-09 11:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:58:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642031', 'tblTempUsageDetail_20' ) start [2025-03-09 11:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642031', 'tblTempUsageDetail_20' ) end [2025-03-09 11:58:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:58:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:58:20] Production.INFO: ==14965== Releasing lock... [2025-03-09 11:58:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:58:20] Production.INFO: 31.25 MB #Memory Used# [2025-03-09 15:59:02] Production.INFO: ==15020== Lock acquired, processing the job... [2025-03-09 15:59:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 15:59:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 15:59:02] Production.INFO: neon service started [2025-03-09 15:59:02] Production.INFO: neon service started [2025-03-09 15:59:02] Production.INFO: ==15020== Releasing lock... [2025-03-09 15:59:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 15:59:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 11:59:02] Production.INFO: ==15023== Lock acquired, processing the job... [2025-03-09 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 11:59:02] Production.INFO: ==15023== Releasing lock... [2025-03-09 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 11:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:59:03] Production.INFO: ==15025== Lock acquired, processing the job... [2025-03-09 15:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:59:03] Production.INFO: ==15025== Releasing lock... [2025-03-09 15:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 15:59:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 11:59:03] Production.INFO: ==15027== Lock acquired, processing the job... [2025-03-09 11:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 11:59:03] Production.INFO: ==15031== Lock acquired, processing the job... [2025-03-09 11:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 11:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 11:59:03] Production.INFO: ==15035== Lock acquired, processing the job... [2025-03-09 11:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 11:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 11:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 11:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 11:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 11:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 11:59:04] Production.INFO: ==15033== Lock acquired, processing the job... [2025-03-09 11:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 11:59:04] Production.INFO: ==15029== Lock acquired, processing the job... [2025-03-09 11:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 11:59:04] Production.INFO: ==15037== Lock acquired, processing the job... [2025-03-09 11:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 11:59:04] Production.INFO: Account Balance Start. [2025-03-09 11:59:04] Production.INFO: CreateAllLog Start [2025-03-09 11:59:04] Production.ERROR: done [2025-03-09 11:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 11:59:04] Production.INFO: 117 [2025-03-09 11:59:04] Production.INFO: Date 2025-03-08 [2025-03-09 11:59:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:59:04] Production.ERROR: done [2025-03-09 11:59:04] Production.INFO: Date 2025-03-09 [2025-03-09 11:59:04] Production.INFO: Reseller ==> 0 [2025-03-09 11:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:59:04] Production.INFO: Total Charge 0 [2025-03-09 11:59:04] Production.INFO: count ==13 [2025-03-09 11:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 11:59:04] Production.INFO: count ==21 [2025-03-09 11:59:04] Production.INFO: CreateAllLog End [2025-03-09 11:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642035') start [2025-03-09 11:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642035') end [2025-03-09 11:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 11:59:04] Production.INFO: 1 [2025-03-09 11:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 11:59:04] Production.INFO: Account Balance End. [2025-03-09 11:59:04] Production.INFO: ==15029== Releasing lock... [2025-03-09 11:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 11:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 11:59:04] Production.INFO: ==15037== Releasing lock... [2025-03-09 11:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 11:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 11:59:04] Production.ERROR: CronJobId end 12 [2025-03-09 11:59:04] Production.INFO: ==15033== Releasing lock... [2025-03-09 11:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 11:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 11:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 08:59:05 [end_date_ymd] => 2025-03-09 11:59:05 [RateCDR] => 1 ) [2025-03-09 11:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 08:59:05' and `end` < '2025-03-09 11:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 11:59:11] Production.ERROR: CronJobId end10 [2025-03-09 11:59:11] Production.INFO: ==15031== Releasing lock... [2025-03-09 11:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 11:59:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 11:59:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 11:59:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 11:59:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 11:59:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 11:59:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 11:59:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 11:59:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 11:59:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 11:59:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 11:59:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 11:59:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 11:59:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 11:59:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 11:59:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 11:59:14] Production.INFO: call_cost start [2025-03-09 11:59:14] Production.INFO: call_cost end [2025-03-09 11:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 11:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 11:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 11:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 11:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 11:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 11:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 11:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 11:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 11:59:15] Production.INFO: ==15027== Releasing lock... [2025-03-09 11:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 11:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 11:59:17] Production.INFO: count ==415 [2025-03-09 11:59:17] Production.ERROR: pbx CDR StartTime 2025-03-09 08:59:05 - End Time 2025-03-09 11:59:05 [2025-03-09 11:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 11:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642036', 'tblTempUsageDetail_20' ) start [2025-03-09 11:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642036', 'tblTempUsageDetail_20' ) end [2025-03-09 11:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642036', 'tblTempVendorCDR_20' ) start [2025-03-09 11:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642036', 'tblTempVendorCDR_20' ) end [2025-03-09 11:59:17] Production.INFO: ProcessCDR(1,14642036,1,1,2) [2025-03-09 11:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 11:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 11:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642036', 'tblTempUsageDetail_20' ) start [2025-03-09 11:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642036', 'tblTempUsageDetail_20' ) end [2025-03-09 11:59:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 11:59:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 11:59:22] Production.INFO: ==15035== Releasing lock... [2025-03-09 11:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 11:59:22] Production.INFO: 31.25 MB #Memory Used# [2025-03-09 16:00:01] Production.INFO: ==15090== Lock acquired, processing the job... [2025-03-09 16:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:00:01] Production.INFO: neon service started [2025-03-09 16:00:01] Production.INFO: neon service started [2025-03-09 16:00:01] Production.INFO: ==15090== Releasing lock... [2025-03-09 16:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:00:02] Production.INFO: ==15092== Lock acquired, processing the job... [2025-03-09 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:00:02] Production.INFO: ==15092== Releasing lock... [2025-03-09 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:00:02] Production.INFO: ==15094== Lock acquired, processing the job... [2025-03-09 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:00:02] Production.INFO: ==15094== Releasing lock... [2025-03-09 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:00:03] Production.INFO: ==15097== Lock acquired, processing the job... [2025-03-09 12:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 12:00:03] Production.INFO: ==15105== Lock acquired, processing the job... [2025-03-09 12:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:00:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 12:00:03] Production.INFO: ==15099== Lock acquired, processing the job... [2025-03-09 12:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:00:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 12:00:03] Production.INFO: ==15097== Releasing lock... [2025-03-09 12:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 12:00:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 12:00:03] Production.INFO: ==15111== Lock acquired, processing the job... [2025-03-09 12:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:00:03] Production.INFO: Account Balance Start. [2025-03-09 12:00:03] Production.INFO: CreateAllLog Start [2025-03-09 12:00:03] Production.INFO: 117 [2025-03-09 12:00:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:00:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:00:04] Production.INFO: ==15101== Lock acquired, processing the job... [2025-03-09 12:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:00:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:00:04] Production.INFO: Total Charge 0 [2025-03-09 12:00:04] Production.INFO: CreateAllLog End [2025-03-09 12:00:04] Production.INFO: ==15103== Lock acquired, processing the job... [2025-03-09 12:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:00:04] Production.INFO: ==15107== Lock acquired, processing the job... [2025-03-09 12:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:00:04] Production.INFO: count ==13 [2025-03-09 12:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:00:04] Production.INFO: count ==21 [2025-03-09 12:00:04] Production.INFO: ==15109== Lock acquired, processing the job... [2025-03-09 12:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 12:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642039') start [2025-03-09 12:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:00:04] Production.INFO: Account Balance End. [2025-03-09 12:00:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:00:04] Production.INFO: ==15105== Releasing lock... [2025-03-09 12:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:00:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:00:04] Production.INFO: ==15101== Releasing lock... [2025-03-09 12:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642039') end [2025-03-09 12:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:00:04] Production.INFO: 1 [2025-03-09 12:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:00:04] Production.INFO: ==15111== Releasing lock... [2025-03-09 12:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:00:04] Production.ERROR: done [2025-03-09 12:00:04] Production.ERROR: done [2025-03-09 12:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 12:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642041', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 12:00:05] Production.ERROR: done [2025-03-09 12:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:00:06 [end_date_ymd] => 2025-03-09 12:00:06 [RateCDR] => 1 ) [2025-03-09 12:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:00:06' and `end` < '2025-03-09 12:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642041', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 12:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 12:00:09] Production.INFO: ProcessCDR(1,14642041,1,1,2) [2025-03-09 12:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14642041,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14642041,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:00:09] Production.INFO: ==15109== Releasing lock... [2025-03-09 12:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 12:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 12:00:14] Production.ERROR: CronJobId end10 [2025-03-09 12:00:14] Production.INFO: ==15103== Releasing lock... [2025-03-09 12:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:00:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:00:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:00:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:00:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:00:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:00:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:00:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:00:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:00:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:00:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:00:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:00:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:00:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:00:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:00:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:00:16] Production.INFO: call_cost start [2025-03-09 12:00:16] Production.INFO: call_cost end [2025-03-09 12:00:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:00:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:00:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:00:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:00:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:00:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:00:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:00:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:00:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:00:17] Production.INFO: ==15099== Releasing lock... [2025-03-09 12:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:00:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:00:18] Production.INFO: count ==419 [2025-03-09 12:00:18] Production.ERROR: pbx CDR StartTime 2025-03-09 09:00:06 - End Time 2025-03-09 12:00:06 [2025-03-09 12:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642042', 'tblTempUsageDetail_20' ) start [2025-03-09 12:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642042', 'tblTempUsageDetail_20' ) end [2025-03-09 12:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642042', 'tblTempVendorCDR_20' ) start [2025-03-09 12:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642042', 'tblTempVendorCDR_20' ) end [2025-03-09 12:00:18] Production.INFO: ProcessCDR(1,14642042,1,1,2) [2025-03-09 12:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642042', 'tblTempUsageDetail_20' ) start [2025-03-09 12:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642042', 'tblTempUsageDetail_20' ) end [2025-03-09 12:00:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:00:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:00:23] Production.INFO: ==15107== Releasing lock... [2025-03-09 12:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:00:23] Production.INFO: 31.25 MB #Memory Used# [2025-03-09 16:01:02] Production.INFO: ==15212== Lock acquired, processing the job... [2025-03-09 16:01:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:01:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:01:02] Production.INFO: neon service started [2025-03-09 16:01:02] Production.INFO: neon service started [2025-03-09 16:01:02] Production.INFO: ==15212== Releasing lock... [2025-03-09 16:01:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:01:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:01:02] Production.INFO: ==15224== Lock acquired, processing the job... [2025-03-09 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:01:02] Production.INFO: ==15224== Releasing lock... [2025-03-09 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:01:03] Production.INFO: ==15226== Lock acquired, processing the job... [2025-03-09 16:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:01:03] Production.INFO: ==15226== Releasing lock... [2025-03-09 16:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:01:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:01:03] Production.INFO: ==15229== Lock acquired, processing the job... [2025-03-09 12:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:01:03] Production.INFO: ==15233== Lock acquired, processing the job... [2025-03-09 12:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:01:03] Production.INFO: ==15239== Lock acquired, processing the job... [2025-03-09 12:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:01:03] Production.INFO: count ==13 [2025-03-09 12:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:01:03] Production.INFO: count ==21 [2025-03-09 12:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642044') start [2025-03-09 12:01:04] Production.INFO: ==15231== Lock acquired, processing the job... [2025-03-09 12:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642044') end [2025-03-09 12:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:01:04] Production.INFO: 1 [2025-03-09 12:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:01:04] Production.INFO: ==15239== Releasing lock... [2025-03-09 12:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:01:04] Production.INFO: ==15235== Lock acquired, processing the job... [2025-03-09 12:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:01:04] Production.INFO: ==15237== Lock acquired, processing the job... [2025-03-09 12:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:01:04] Production.INFO: ==15231== Releasing lock... [2025-03-09 12:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:01:04] Production.INFO: Account Balance Start. [2025-03-09 12:01:04] Production.INFO: CreateAllLog Start [2025-03-09 12:01:04] Production.INFO: 117 [2025-03-09 12:01:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:01:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:01:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:01:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:01:04] Production.INFO: Total Charge 0 [2025-03-09 12:01:04] Production.INFO: CreateAllLog End [2025-03-09 12:01:04] Production.ERROR: done [2025-03-09 12:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:01:04] Production.INFO: Account Balance End. [2025-03-09 12:01:04] Production.ERROR: done [2025-03-09 12:01:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:01:04] Production.INFO: ==15235== Releasing lock... [2025-03-09 12:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:01:05 [end_date_ymd] => 2025-03-09 12:01:05 [RateCDR] => 1 ) [2025-03-09 12:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:01:05' and `end` < '2025-03-09 12:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:01:13] Production.ERROR: CronJobId end10 [2025-03-09 12:01:13] Production.INFO: ==15233== Releasing lock... [2025-03-09 12:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:01:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:01:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:01:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:01:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:01:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:01:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:01:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:01:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:01:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:01:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:01:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:01:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:01:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:01:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:01:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:01:14] Production.INFO: call_cost start [2025-03-09 12:01:14] Production.INFO: call_cost end [2025-03-09 12:01:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:01:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:01:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:01:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:01:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:01:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:01:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:01:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:01:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:01:15] Production.INFO: ==15229== Releasing lock... [2025-03-09 12:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:01:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:01:17] Production.INFO: count ==427 [2025-03-09 12:01:18] Production.ERROR: pbx CDR StartTime 2025-03-09 09:01:05 - End Time 2025-03-09 12:01:05 [2025-03-09 12:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642047', 'tblTempUsageDetail_20' ) start [2025-03-09 12:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642047', 'tblTempUsageDetail_20' ) end [2025-03-09 12:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642047', 'tblTempVendorCDR_20' ) start [2025-03-09 12:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642047', 'tblTempVendorCDR_20' ) end [2025-03-09 12:01:18] Production.INFO: ProcessCDR(1,14642047,1,1,2) [2025-03-09 12:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642047', 'tblTempUsageDetail_20' ) start [2025-03-09 12:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642047', 'tblTempUsageDetail_20' ) end [2025-03-09 12:01:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:01:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:01:21] Production.INFO: ==15237== Releasing lock... [2025-03-09 12:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:01:21] Production.INFO: 31.5 MB #Memory Used# [2025-03-09 16:02:01] Production.INFO: ==15293== Lock acquired, processing the job... [2025-03-09 16:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:02:01] Production.INFO: neon service started [2025-03-09 16:02:01] Production.INFO: neon service started [2025-03-09 16:02:01] Production.INFO: ==15293== Releasing lock... [2025-03-09 16:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:02:02] Production.INFO: ==15297== Lock acquired, processing the job... [2025-03-09 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:02:02] Production.INFO: ==15295== Lock acquired, processing the job... [2025-03-09 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:02:02] Production.INFO: ==15297== Releasing lock... [2025-03-09 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:02:02] Production.INFO: ==15295== Releasing lock... [2025-03-09 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:02:03] Production.INFO: ==15304== Lock acquired, processing the job... [2025-03-09 12:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:02:03] Production.INFO: ==15302== Lock acquired, processing the job... [2025-03-09 12:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:02:03] Production.INFO: ==15300== Lock acquired, processing the job... [2025-03-09 12:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:02:03] Production.INFO: ==15306== Lock acquired, processing the job... [2025-03-09 12:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:02:03] Production.INFO: ==15308== Lock acquired, processing the job... [2025-03-09 12:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:02:03] Production.INFO: ==15310== Lock acquired, processing the job... [2025-03-09 12:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:02:03] Production.INFO: Account Balance Start. [2025-03-09 12:02:03] Production.INFO: CreateAllLog Start [2025-03-09 12:02:03] Production.INFO: 117 [2025-03-09 12:02:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:02:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:02:03] Production.INFO: count ==13 [2025-03-09 12:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:02:03] Production.INFO: count ==21 [2025-03-09 12:02:03] Production.INFO: ==15302== Releasing lock... [2025-03-09 12:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:02:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642051') start [2025-03-09 12:02:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:02:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:02:04] Production.INFO: Total Charge 0 [2025-03-09 12:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642051') end [2025-03-09 12:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:02:04] Production.INFO: 1 [2025-03-09 12:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:02:04] Production.INFO: CreateAllLog End [2025-03-09 12:02:04] Production.ERROR: done [2025-03-09 12:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:02:04] Production.INFO: ==15310== Releasing lock... [2025-03-09 12:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:02:04] Production.ERROR: done [2025-03-09 12:02:04] Production.INFO: Account Balance End. [2025-03-09 12:02:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:02:04] Production.INFO: ==15306== Releasing lock... [2025-03-09 12:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:02:05 [end_date_ymd] => 2025-03-09 12:02:05 [RateCDR] => 1 ) [2025-03-09 12:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:02:05' and `end` < '2025-03-09 12:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:02:12] Production.ERROR: CronJobId end10 [2025-03-09 12:02:12] Production.INFO: ==15304== Releasing lock... [2025-03-09 12:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:02:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:02:14] Production.INFO: call_cost start [2025-03-09 12:02:14] Production.INFO: call_cost end [2025-03-09 12:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:02:15] Production.INFO: ==15300== Releasing lock... [2025-03-09 12:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:02:17] Production.INFO: count ==428 [2025-03-09 12:02:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:02:05 - End Time 2025-03-09 12:02:05 [2025-03-09 12:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642052', 'tblTempUsageDetail_20' ) start [2025-03-09 12:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642052', 'tblTempUsageDetail_20' ) end [2025-03-09 12:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642052', 'tblTempVendorCDR_20' ) start [2025-03-09 12:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642052', 'tblTempVendorCDR_20' ) end [2025-03-09 12:02:17] Production.INFO: ProcessCDR(1,14642052,1,1,2) [2025-03-09 12:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642052', 'tblTempUsageDetail_20' ) start [2025-03-09 12:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642052', 'tblTempUsageDetail_20' ) end [2025-03-09 12:02:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:02:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:02:22] Production.INFO: ==15308== Releasing lock... [2025-03-09 12:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:02:22] Production.INFO: 32 MB #Memory Used# [2025-03-09 16:03:02] Production.INFO: ==15367== Lock acquired, processing the job... [2025-03-09 16:03:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:03:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:03:02] Production.INFO: neon service started [2025-03-09 16:03:02] Production.INFO: neon service started [2025-03-09 16:03:02] Production.INFO: ==15367== Releasing lock... [2025-03-09 16:03:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:03:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:03:02] Production.INFO: ==15370== Lock acquired, processing the job... [2025-03-09 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:03:02] Production.INFO: ==15370== Releasing lock... [2025-03-09 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:03:02] Production.INFO: ==15372== Lock acquired, processing the job... [2025-03-09 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:03:02] Production.INFO: ==15372== Releasing lock... [2025-03-09 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:03:03] Production.INFO: ==15380== Lock acquired, processing the job... [2025-03-09 12:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:03:03] Production.INFO: Account Balance Start. [2025-03-09 12:03:03] Production.INFO: CreateAllLog Start [2025-03-09 12:03:03] Production.INFO: 117 [2025-03-09 12:03:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:03:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:03:03] Production.INFO: Total Charge 0 [2025-03-09 12:03:03] Production.INFO: CreateAllLog End [2025-03-09 12:03:03] Production.INFO: ==15374== Lock acquired, processing the job... [2025-03-09 12:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:03:03] Production.INFO: ==15376== Lock acquired, processing the job... [2025-03-09 12:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:03:03] Production.INFO: ==15384== Lock acquired, processing the job... [2025-03-09 12:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:03:03] Production.INFO: Account Balance End. [2025-03-09 12:03:03] Production.INFO: ==15382== Lock acquired, processing the job... [2025-03-09 12:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:03:03] Production.ERROR: CronJobId end 12 [2025-03-09 12:03:03] Production.INFO: ==15380== Releasing lock... [2025-03-09 12:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:03:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:03:03] Production.INFO: ==15378== Lock acquired, processing the job... [2025-03-09 12:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:03:03] Production.INFO: count ==13 [2025-03-09 12:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:03:04] Production.INFO: count ==21 [2025-03-09 12:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642054') start [2025-03-09 12:03:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642054') end [2025-03-09 12:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:03:04] Production.INFO: 1 [2025-03-09 12:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:03:04] Production.INFO: ==15384== Releasing lock... [2025-03-09 12:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:03:04] Production.ERROR: done [2025-03-09 12:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:03:04] Production.ERROR: done [2025-03-09 12:03:04] Production.INFO: ==15376== Releasing lock... [2025-03-09 12:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:03:05 [end_date_ymd] => 2025-03-09 12:03:05 [RateCDR] => 1 ) [2025-03-09 12:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:03:05' and `end` < '2025-03-09 12:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:03:12] Production.ERROR: CronJobId end10 [2025-03-09 12:03:12] Production.INFO: ==15378== Releasing lock... [2025-03-09 12:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:03:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:03:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:03:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:03:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:03:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:03:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:03:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:03:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:03:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:03:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:03:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:03:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:03:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:03:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:03:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:03:14] Production.INFO: call_cost start [2025-03-09 12:03:14] Production.INFO: call_cost end [2025-03-09 12:03:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:03:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:03:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:03:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:03:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:03:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:03:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:03:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:03:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:03:15] Production.INFO: ==15374== Releasing lock... [2025-03-09 12:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:03:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:03:17] Production.INFO: count ==428 [2025-03-09 12:03:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:03:05 - End Time 2025-03-09 12:03:05 [2025-03-09 12:03:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642057', 'tblTempUsageDetail_20' ) start [2025-03-09 12:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642057', 'tblTempUsageDetail_20' ) end [2025-03-09 12:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642057', 'tblTempVendorCDR_20' ) start [2025-03-09 12:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642057', 'tblTempVendorCDR_20' ) end [2025-03-09 12:03:17] Production.INFO: ProcessCDR(1,14642057,1,1,2) [2025-03-09 12:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:03:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642057', 'tblTempUsageDetail_20' ) start [2025-03-09 12:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642057', 'tblTempUsageDetail_20' ) end [2025-03-09 12:03:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:03:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:03:20] Production.INFO: ==15382== Releasing lock... [2025-03-09 12:03:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:03:20] Production.INFO: 32 MB #Memory Used# [2025-03-09 16:04:01] Production.INFO: ==15438== Lock acquired, processing the job... [2025-03-09 16:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:04:01] Production.INFO: neon service started [2025-03-09 16:04:01] Production.INFO: neon service started [2025-03-09 16:04:01] Production.INFO: ==15438== Releasing lock... [2025-03-09 16:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:04:01] Production.INFO: ==15440== Lock acquired, processing the job... [2025-03-09 12:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:04:02] Production.INFO: ==15442== Lock acquired, processing the job... [2025-03-09 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:04:02] Production.INFO: ==15440== Releasing lock... [2025-03-09 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:04:02] Production.INFO: ==15442== Releasing lock... [2025-03-09 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:04:02] Production.INFO: 26 MB #Memory Used# [2025-03-09 12:04:03] Production.INFO: ==15453== Lock acquired, processing the job... [2025-03-09 12:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:04:03] Production.INFO: ==15455== Lock acquired, processing the job... [2025-03-09 12:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:04:03] Production.INFO: count ==13 [2025-03-09 12:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:04:03] Production.INFO: count ==21 [2025-03-09 12:04:03] Production.INFO: ==15445== Lock acquired, processing the job... [2025-03-09 12:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642058') start [2025-03-09 12:04:03] Production.INFO: ==15447== Lock acquired, processing the job... [2025-03-09 12:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:04:03] Production.INFO: ==15451== Lock acquired, processing the job... [2025-03-09 12:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:04:03] Production.INFO: ==15449== Lock acquired, processing the job... [2025-03-09 12:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642058') end [2025-03-09 12:04:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:04:03] Production.INFO: 1 [2025-03-09 12:04:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:04:03] Production.INFO: Account Balance Start. [2025-03-09 12:04:03] Production.INFO: CreateAllLog Start [2025-03-09 12:04:03] Production.INFO: 117 [2025-03-09 12:04:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:04:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:04:03] Production.INFO: ==15455== Releasing lock... [2025-03-09 12:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:04:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:04:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:04:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:04:03] Production.ERROR: done [2025-03-09 12:04:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:04:03] Production.INFO: Total Charge 0 [2025-03-09 12:04:03] Production.INFO: CreateAllLog End [2025-03-09 12:04:03] Production.INFO: ==15447== Releasing lock... [2025-03-09 12:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:04:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:04:03] Production.ERROR: done [2025-03-09 12:04:03] Production.INFO: Account Balance End. [2025-03-09 12:04:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:04:04] Production.INFO: ==15451== Releasing lock... [2025-03-09 12:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:04:05 [end_date_ymd] => 2025-03-09 12:04:05 [RateCDR] => 1 ) [2025-03-09 12:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:04:05' and `end` < '2025-03-09 12:04:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:04:12] Production.ERROR: CronJobId end10 [2025-03-09 12:04:12] Production.INFO: ==15449== Releasing lock... [2025-03-09 12:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:04:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:04:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:04:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:04:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:04:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:04:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:04:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:04:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:04:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:04:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:04:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:04:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:04:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:04:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:04:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:04:14] Production.INFO: call_cost start [2025-03-09 12:04:14] Production.INFO: call_cost end [2025-03-09 12:04:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:04:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:04:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:04:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:04:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:04:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:04:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:04:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:04:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:04:14] Production.INFO: ==15445== Releasing lock... [2025-03-09 12:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:04:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:04:17] Production.INFO: count ==429 [2025-03-09 12:04:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:04:05 - End Time 2025-03-09 12:04:05 [2025-03-09 12:04:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642062', 'tblTempUsageDetail_20' ) start [2025-03-09 12:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642062', 'tblTempUsageDetail_20' ) end [2025-03-09 12:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642062', 'tblTempVendorCDR_20' ) start [2025-03-09 12:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642062', 'tblTempVendorCDR_20' ) end [2025-03-09 12:04:17] Production.INFO: ProcessCDR(1,14642062,1,1,2) [2025-03-09 12:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642062', 'tblTempUsageDetail_20' ) start [2025-03-09 12:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642062', 'tblTempUsageDetail_20' ) end [2025-03-09 12:04:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:04:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:04:22] Production.INFO: ==15453== Releasing lock... [2025-03-09 12:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:04:22] Production.INFO: 32 MB #Memory Used# [2025-03-09 16:05:01] Production.INFO: ==15509== Lock acquired, processing the job... [2025-03-09 16:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:05:01] Production.INFO: neon service started [2025-03-09 16:05:01] Production.INFO: neon service started [2025-03-09 16:05:01] Production.INFO: ==15509== Releasing lock... [2025-03-09 16:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:05:02] Production.INFO: ==15513== Lock acquired, processing the job... [2025-03-09 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:05:02] Production.INFO: ==15513== Releasing lock... [2025-03-09 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:05:02] Production.INFO: ==15511== Lock acquired, processing the job... [2025-03-09 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:05:02] Production.INFO: ==15511== Releasing lock... [2025-03-09 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:05:03] Production.INFO: ==15522== Lock acquired, processing the job... [2025-03-09 12:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:05:03] Production.INFO: ==15526== Lock acquired, processing the job... [2025-03-09 12:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:05:03] Production.INFO: ==15516== Lock acquired, processing the job... [2025-03-09 12:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:05:03] Production.INFO: ==15518== Lock acquired, processing the job... [2025-03-09 12:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:05:03] Production.INFO: Account Balance Start. [2025-03-09 12:05:03] Production.INFO: CreateAllLog Start [2025-03-09 12:05:03] Production.INFO: 117 [2025-03-09 12:05:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:05:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:05:03] Production.INFO: count ==13 [2025-03-09 12:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:05:03] Production.INFO: count ==21 [2025-03-09 12:05:03] Production.INFO: ==15520== Lock acquired, processing the job... [2025-03-09 12:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:05:03] Production.INFO: ==15524== Lock acquired, processing the job... [2025-03-09 12:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642064') start [2025-03-09 12:05:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:05:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:05:03] Production.INFO: Total Charge 0 [2025-03-09 12:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:05:04] Production.INFO: CreateAllLog End [2025-03-09 12:05:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642064') end [2025-03-09 12:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:05:04] Production.INFO: 1 [2025-03-09 12:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:05:04] Production.INFO: ==15526== Releasing lock... [2025-03-09 12:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:05:04] Production.INFO: ==15518== Releasing lock... [2025-03-09 12:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:05:04] Production.INFO: Account Balance End. [2025-03-09 12:05:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:05:04] Production.INFO: ==15522== Releasing lock... [2025-03-09 12:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:05:04] Production.ERROR: done [2025-03-09 12:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:05:04] Production.ERROR: done [2025-03-09 12:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:05:05 [end_date_ymd] => 2025-03-09 12:05:05 [RateCDR] => 1 ) [2025-03-09 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-09 09:05:05' and `end` < '2025-03-09 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-09 12:05:12] Production.ERROR: CronJobId end10 [2025-03-09 12:05:12] Production.INFO: ==15520== Releasing lock... [2025-03-09 12:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:05:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:05:14] Production.INFO: call_cost start [2025-03-09 12:05:14] Production.INFO: call_cost end [2025-03-09 12:05:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:05:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:05:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:05:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:05:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:05:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:05:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:05:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:05:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:05:15] Production.INFO: ==15516== Releasing lock... [2025-03-09 12:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:05:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:05:17] Production.INFO: count ==430 [2025-03-09 12:05:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:05:05 - End Time 2025-03-09 12:05:05 [2025-03-09 12:05:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642067', 'tblTempUsageDetail_20' ) start [2025-03-09 12:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642067', 'tblTempUsageDetail_20' ) end [2025-03-09 12:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642067', 'tblTempVendorCDR_20' ) start [2025-03-09 12:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642067', 'tblTempVendorCDR_20' ) end [2025-03-09 12:05:17] Production.INFO: ProcessCDR(1,14642067,1,1,2) [2025-03-09 12:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642067', 'tblTempUsageDetail_20' ) start [2025-03-09 12:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642067', 'tblTempUsageDetail_20' ) end [2025-03-09 12:05:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:05:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:05:22] Production.INFO: ==15524== Releasing lock... [2025-03-09 12:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:05:22] Production.INFO: 31.75 MB #Memory Used# [2025-03-09 16:06:02] Production.INFO: ==15581== Lock acquired, processing the job... [2025-03-09 16:06:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:06:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:06:02] Production.INFO: neon service started [2025-03-09 16:06:02] Production.INFO: neon service started [2025-03-09 16:06:02] Production.INFO: ==15581== Releasing lock... [2025-03-09 16:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:06:02] Production.INFO: ==15586== Lock acquired, processing the job... [2025-03-09 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:06:02] Production.INFO: ==15586== Releasing lock... [2025-03-09 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:06:02] Production.INFO: ==15584== Lock acquired, processing the job... [2025-03-09 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:06:03] Production.INFO: ==15584== Releasing lock... [2025-03-09 12:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:06:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:06:04] Production.INFO: ==15588== Lock acquired, processing the job... [2025-03-09 12:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:06:04] Production.INFO: ==15592== Lock acquired, processing the job... [2025-03-09 12:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:06:04] Production.INFO: ==15590== Lock acquired, processing the job... [2025-03-09 12:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:06:04] Production.INFO: ==15594== Lock acquired, processing the job... [2025-03-09 12:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:06:04] Production.INFO: ==15596== Lock acquired, processing the job... [2025-03-09 12:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:06:04] Production.INFO: ==15598== Lock acquired, processing the job... [2025-03-09 12:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 12:06:04] Production.INFO: count ==13 [2025-03-09 12:06:04] Production.INFO: Account Balance Start. [2025-03-09 12:06:04] Production.INFO: CreateAllLog Start [2025-03-09 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-09 12:06:04] Production.INFO: count ==21 [2025-03-09 12:06:04] Production.INFO: 117 [2025-03-09 12:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642071') start [2025-03-09 12:06:04] Production.INFO: ==15590== Releasing lock... [2025-03-09 12:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:06:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:06:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642071') end [2025-03-09 12:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:06:04] Production.INFO: 1 [2025-03-09 12:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:06:04] Production.INFO: Total Charge 0 [2025-03-09 12:06:04] Production.INFO: CreateAllLog End [2025-03-09 12:06:04] Production.INFO: ==15598== Releasing lock... [2025-03-09 12:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:06:04] Production.ERROR: done [2025-03-09 12:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:06:05] Production.INFO: Account Balance End. [2025-03-09 12:06:05] Production.ERROR: done [2025-03-09 12:06:05] Production.ERROR: CronJobId end 12 [2025-03-09 12:06:05] Production.INFO: ==15594== Releasing lock... [2025-03-09 12:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:06:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:06:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:06:06 [end_date_ymd] => 2025-03-09 12:06:06 [RateCDR] => 1 ) [2025-03-09 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-09 09:06:06' and `end` < '2025-03-09 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-09 12:06:12] Production.ERROR: CronJobId end10 [2025-03-09 12:06:12] Production.INFO: ==15592== Releasing lock... [2025-03-09 12:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:06:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:06:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:06:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:06:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:06:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:06:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:06:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:06:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:06:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:06:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:06:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:06:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:06:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:06:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:06:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:06:15] Production.INFO: call_cost start [2025-03-09 12:06:15] Production.INFO: call_cost end [2025-03-09 12:06:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:06:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:06:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:06:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:06:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:06:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:06:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:06:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:06:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:06:16] Production.INFO: ==15588== Releasing lock... [2025-03-09 12:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:06:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:06:18] Production.INFO: count ==431 [2025-03-09 12:06:18] Production.ERROR: pbx CDR StartTime 2025-03-09 09:06:06 - End Time 2025-03-09 12:06:06 [2025-03-09 12:06:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642072', 'tblTempUsageDetail_20' ) start [2025-03-09 12:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642072', 'tblTempUsageDetail_20' ) end [2025-03-09 12:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642072', 'tblTempVendorCDR_20' ) start [2025-03-09 12:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642072', 'tblTempVendorCDR_20' ) end [2025-03-09 12:06:18] Production.INFO: ProcessCDR(1,14642072,1,1,2) [2025-03-09 12:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642072', 'tblTempUsageDetail_20' ) start [2025-03-09 12:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642072', 'tblTempUsageDetail_20' ) end [2025-03-09 12:06:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:06:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:06:22] Production.INFO: ==15596== Releasing lock... [2025-03-09 12:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:06:22] Production.INFO: 31.75 MB #Memory Used# [2025-03-09 16:07:01] Production.INFO: ==15651== Lock acquired, processing the job... [2025-03-09 16:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:07:01] Production.INFO: neon service started [2025-03-09 16:07:01] Production.INFO: neon service started [2025-03-09 16:07:01] Production.INFO: ==15651== Releasing lock... [2025-03-09 16:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:07:02] Production.INFO: ==15655== Lock acquired, processing the job... [2025-03-09 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:07:02] Production.INFO: ==15655== Releasing lock... [2025-03-09 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:07:02] Production.INFO: ==15653== Lock acquired, processing the job... [2025-03-09 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:07:02] Production.INFO: ==15653== Releasing lock... [2025-03-09 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:07:03] Production.INFO: ==15664== Lock acquired, processing the job... [2025-03-09 12:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:07:03] Production.INFO: Account Balance Start. [2025-03-09 12:07:03] Production.INFO: CreateAllLog Start [2025-03-09 12:07:03] Production.INFO: 117 [2025-03-09 12:07:03] Production.INFO: ==15668== Lock acquired, processing the job... [2025-03-09 12:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:07:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:07:03] Production.INFO: ==15660== Lock acquired, processing the job... [2025-03-09 12:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:07:03] Production.INFO: ==15658== Lock acquired, processing the job... [2025-03-09 12:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:07:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:07:03] Production.INFO: ==15662== Lock acquired, processing the job... [2025-03-09 12:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:07:03] Production.INFO: Total Charge 0 [2025-03-09 12:07:03] Production.INFO: ==15666== Lock acquired, processing the job... [2025-03-09 12:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:07:03] Production.INFO: CreateAllLog End [2025-03-09 12:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:07:03] Production.INFO: count ==13 [2025-03-09 12:07:03] Production.INFO: Account Balance End. [2025-03-09 12:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:07:03] Production.INFO: count ==21 [2025-03-09 12:07:03] Production.ERROR: CronJobId end 12 [2025-03-09 12:07:03] Production.INFO: ==15664== Releasing lock... [2025-03-09 12:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:07:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642074') start [2025-03-09 12:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642074') end [2025-03-09 12:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:07:04] Production.INFO: 1 [2025-03-09 12:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:07:04] Production.ERROR: done [2025-03-09 12:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:07:04] Production.INFO: ==15668== Releasing lock... [2025-03-09 12:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:07:04] Production.INFO: ==15660== Releasing lock... [2025-03-09 12:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:07:04] Production.ERROR: done [2025-03-09 12:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:07:05 [end_date_ymd] => 2025-03-09 12:07:05 [RateCDR] => 1 ) [2025-03-09 12:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:07:05' and `end` < '2025-03-09 12:07:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:07:12] Production.ERROR: CronJobId end10 [2025-03-09 12:07:12] Production.INFO: ==15662== Releasing lock... [2025-03-09 12:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:07:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:07:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:07:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:07:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:07:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:07:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:07:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:07:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:07:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:07:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:07:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:07:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:07:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:07:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:07:14] Production.INFO: call_cost start [2025-03-09 12:07:14] Production.INFO: call_cost end [2025-03-09 12:07:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:07:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:07:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:07:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:07:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:07:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:07:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:07:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:07:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:07:15] Production.INFO: ==15658== Releasing lock... [2025-03-09 12:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:07:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:07:17] Production.INFO: count ==443 [2025-03-09 12:07:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:07:05 - End Time 2025-03-09 12:07:05 [2025-03-09 12:07:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642077', 'tblTempUsageDetail_20' ) start [2025-03-09 12:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642077', 'tblTempUsageDetail_20' ) end [2025-03-09 12:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642077', 'tblTempVendorCDR_20' ) start [2025-03-09 12:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642077', 'tblTempVendorCDR_20' ) end [2025-03-09 12:07:17] Production.INFO: ProcessCDR(1,14642077,1,1,2) [2025-03-09 12:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642077', 'tblTempUsageDetail_20' ) start [2025-03-09 12:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642077', 'tblTempUsageDetail_20' ) end [2025-03-09 12:07:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:07:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:07:22] Production.INFO: ==15666== Releasing lock... [2025-03-09 12:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:07:22] Production.INFO: 32 MB #Memory Used# [2025-03-09 16:08:02] Production.INFO: ==15728== Lock acquired, processing the job... [2025-03-09 16:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:08:02] Production.INFO: neon service started [2025-03-09 16:08:02] Production.INFO: neon service started [2025-03-09 16:08:02] Production.INFO: ==15728== Releasing lock... [2025-03-09 16:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:08:02] Production.INFO: ==15730== Lock acquired, processing the job... [2025-03-09 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:08:02] Production.INFO: ==15730== Releasing lock... [2025-03-09 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:08:03] Production.INFO: ==15732== Lock acquired, processing the job... [2025-03-09 16:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:08:03] Production.INFO: ==15732== Releasing lock... [2025-03-09 16:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:08:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:08:03] Production.INFO: ==15740== Lock acquired, processing the job... [2025-03-09 12:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:08:03] Production.INFO: ==15734== Lock acquired, processing the job... [2025-03-09 12:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:08:04] Production.INFO: ==15744== Lock acquired, processing the job... [2025-03-09 12:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:08:04] Production.INFO: Account Balance Start. [2025-03-09 12:08:04] Production.INFO: CreateAllLog Start [2025-03-09 12:08:04] Production.INFO: 117 [2025-03-09 12:08:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:08:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 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-09 12:08:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:08:04] Production.INFO: count ==13 [2025-03-09 12:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 12:08:04] Production.INFO: count ==21 [2025-03-09 12:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642079') start [2025-03-09 12:08:04] Production.INFO: Total Charge 0 [2025-03-09 12:08:04] Production.INFO: ==15736== Lock acquired, processing the job... [2025-03-09 12:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:08:04] Production.INFO: ==15738== Lock acquired, processing the job... [2025-03-09 12:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:08:04] Production.INFO: CreateAllLog End [2025-03-09 12:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642079') end [2025-03-09 12:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:08:04] Production.INFO: 1 [2025-03-09 12:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:08:04] Production.INFO: ==15742== Lock acquired, processing the job... [2025-03-09 12:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:08:04] Production.INFO: ==15744== Releasing lock... [2025-03-09 12:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:08:04] Production.INFO: Account Balance End. [2025-03-09 12:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:08:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:08:04] Production.INFO: ==15740== Releasing lock... [2025-03-09 12:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:08:04] Production.INFO: ==15736== Releasing lock... [2025-03-09 12:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:08:04] Production.ERROR: done [2025-03-09 12:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:08:05] Production.ERROR: done [2025-03-09 12:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:08:05 [end_date_ymd] => 2025-03-09 12:08:05 [RateCDR] => 1 ) [2025-03-09 12:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:08:05' and `end` < '2025-03-09 12:08:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:08:12] Production.ERROR: CronJobId end10 [2025-03-09 12:08:12] Production.INFO: ==15738== Releasing lock... [2025-03-09 12:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:08:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:08:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:08:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:08:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:08:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:08:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:08:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:08:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:08:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:08:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:08:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:08:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:08:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:08:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:08:14] Production.INFO: call_cost start [2025-03-09 12:08:14] Production.INFO: call_cost end [2025-03-09 12:08:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:08:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:08:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:08:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:08:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:08:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:08:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:08:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:08:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:08:15] Production.INFO: ==15734== Releasing lock... [2025-03-09 12:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:08:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:08:18] Production.INFO: count ==444 [2025-03-09 12:08:18] Production.ERROR: pbx CDR StartTime 2025-03-09 09:08:05 - End Time 2025-03-09 12:08:05 [2025-03-09 12:08:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642082', 'tblTempUsageDetail_20' ) start [2025-03-09 12:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642082', 'tblTempUsageDetail_20' ) end [2025-03-09 12:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642082', 'tblTempVendorCDR_20' ) start [2025-03-09 12:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642082', 'tblTempVendorCDR_20' ) end [2025-03-09 12:08:18] Production.INFO: ProcessCDR(1,14642082,1,1,2) [2025-03-09 12:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642082', 'tblTempUsageDetail_20' ) start [2025-03-09 12:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642082', 'tblTempUsageDetail_20' ) end [2025-03-09 12:08:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:08:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:08:23] Production.INFO: ==15742== Releasing lock... [2025-03-09 12:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:08:23] Production.INFO: 32 MB #Memory Used# [2025-03-09 16:09:01] Production.INFO: ==15798== Lock acquired, processing the job... [2025-03-09 16:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:09:01] Production.INFO: neon service started [2025-03-09 16:09:01] Production.INFO: neon service started [2025-03-09 16:09:01] Production.INFO: ==15798== Releasing lock... [2025-03-09 16:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:09:02] Production.INFO: ==15800== Lock acquired, processing the job... [2025-03-09 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:09:02] Production.INFO: ==15800== Releasing lock... [2025-03-09 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:09:02] Production.INFO: ==15802== Lock acquired, processing the job... [2025-03-09 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:09:02] Production.INFO: ==15802== Releasing lock... [2025-03-09 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:09:03] Production.INFO: ==15812== Lock acquired, processing the job... [2025-03-09 12:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:09:03] Production.INFO: ==15815== Lock acquired, processing the job... [2025-03-09 12:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:09:03] Production.INFO: ==15804== Lock acquired, processing the job... [2025-03-09 12:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:09:03] Production.INFO: ==15806== Lock acquired, processing the job... [2025-03-09 12:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:09:03] Production.INFO: ==15808== Lock acquired, processing the job... [2025-03-09 12:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:09:03] Production.INFO: ==15810== Lock acquired, processing the job... [2025-03-09 12:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:09:03] Production.ERROR: done [2025-03-09 12:09:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 12:09:03] Production.INFO: Account Balance Start. [2025-03-09 12:09:03] Production.INFO: CreateAllLog Start [2025-03-09 12:09:03] Production.INFO: 117 [2025-03-09 12:09:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:09:03] Production.INFO: count ==13 [2025-03-09 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-09 12:09:03] Production.INFO: count ==21 [2025-03-09 12:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642083') start [2025-03-09 12:09:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:09:03] Production.ERROR: done [2025-03-09 12:09:03] Production.INFO: Total Charge 0 [2025-03-09 12:09:04] Production.INFO: CreateAllLog End [2025-03-09 12:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642083') end [2025-03-09 12:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:09:04] Production.INFO: 1 [2025-03-09 12:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:09:04] Production.INFO: ==15806== Releasing lock... [2025-03-09 12:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:09:04] Production.INFO: ==15815== Releasing lock... [2025-03-09 12:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:09:04] Production.INFO: Account Balance End. [2025-03-09 12:09:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:09:04] Production.INFO: ==15810== Releasing lock... [2025-03-09 12:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:09:05 [end_date_ymd] => 2025-03-09 12:09:05 [RateCDR] => 1 ) [2025-03-09 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-09 09:09:05' and `end` < '2025-03-09 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-09 12:09:11] Production.ERROR: CronJobId end10 [2025-03-09 12:09:11] Production.INFO: ==15808== Releasing lock... [2025-03-09 12:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:09:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:09:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:09:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:09:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:09:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:09:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:09:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:09:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:09:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:09:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:09:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:09:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:09:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:09:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:09:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:09:14] Production.INFO: call_cost start [2025-03-09 12:09:14] Production.INFO: call_cost end [2025-03-09 12:09:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:09:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:09:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:09:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:09:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:09:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:09:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:09:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:09:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:09:15] Production.INFO: ==15804== Releasing lock... [2025-03-09 12:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:09:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:09:17] Production.INFO: count ==444 [2025-03-09 12:09:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:09:05 - End Time 2025-03-09 12:09:05 [2025-03-09 12:09:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642087', 'tblTempUsageDetail_20' ) start [2025-03-09 12:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642087', 'tblTempUsageDetail_20' ) end [2025-03-09 12:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642087', 'tblTempVendorCDR_20' ) start [2025-03-09 12:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642087', 'tblTempVendorCDR_20' ) end [2025-03-09 12:09:17] Production.INFO: ProcessCDR(1,14642087,1,1,2) [2025-03-09 12:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:09:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642087', 'tblTempUsageDetail_20' ) start [2025-03-09 12:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642087', 'tblTempUsageDetail_20' ) end [2025-03-09 12:09:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:09:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:09:20] Production.INFO: ==15812== Releasing lock... [2025-03-09 12:09:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:09:20] Production.INFO: 32 MB #Memory Used# [2025-03-09 16:10:02] Production.INFO: ==15868== Lock acquired, processing the job... [2025-03-09 16:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:10:02] Production.INFO: neon service started [2025-03-09 16:10:02] Production.INFO: neon service started [2025-03-09 16:10:02] Production.INFO: ==15868== Releasing lock... [2025-03-09 16:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:10:02] Production.INFO: ==15870== Lock acquired, processing the job... [2025-03-09 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:10:02] Production.INFO: ==15872== Lock acquired, processing the job... [2025-03-09 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:10:02] Production.INFO: ==15872== Releasing lock... [2025-03-09 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:10:03] Production.INFO: ==15870== Releasing lock... [2025-03-09 12:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:10:04] Production.INFO: ==15879== Lock acquired, processing the job... [2025-03-09 12:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:10:04] Production.INFO: ==15883== Lock acquired, processing the job... [2025-03-09 12:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:10:04] Production.INFO: ==15875== Lock acquired, processing the job... [2025-03-09 12:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 12:10:04] Production.INFO: ==15877== Lock acquired, processing the job... [2025-03-09 12:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:10:04] Production.INFO: ==15889== Lock acquired, processing the job... [2025-03-09 12:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 12:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 12:10:04] Production.ERROR: CronJob PID - 15879 [2025-03-09 12:10:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 12:10:04] Production.ERROR: CronJob ID - 7 [2025-03-09 12:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 12:10:00 [2025-03-09 12:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 12:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 12:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 12:10:04] Production.ERROR: CronJob PID - 15883 [2025-03-09 12:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 12:10:04] Production.ERROR: CronJob ID - 12 [2025-03-09 12:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 12:10:00 [2025-03-09 12:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 12:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 12:10:04] Production.INFO: ==15881== Lock acquired, processing the job... [2025-03-09 12:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 12:10:04] Production.INFO: ==15875== Releasing lock... [2025-03-09 12:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 12:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 12:10:04] Production.INFO: Account Balance Start. [2025-03-09 12:10:04] Production.INFO: CreateAllLog Start [2025-03-09 12:10:04] Production.INFO: 117 [2025-03-09 12:10:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:10:04] Production.INFO: ==15879== Releasing lock... [2025-03-09 12:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:10:04] Production.INFO: ==15885== Lock acquired, processing the job... [2025-03-09 12:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:10:04] Production.INFO: ==15887== Lock acquired, processing the job... [2025-03-09 12:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 12:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:10:04] Production.INFO: count ==13 [2025-03-09 12:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:10:04] Production.INFO: count ==21 [2025-03-09 12:10:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642091') start [2025-03-09 12:10:04] Production.INFO: Total Charge 0 [2025-03-09 12:10:04] Production.INFO: CreateAllLog End [2025-03-09 12:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642091') end [2025-03-09 12:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:10:04] Production.INFO: 1 [2025-03-09 12:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:10:04] Production.INFO: ==15889== Releasing lock... [2025-03-09 12:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:10:05] Production.ERROR: done [2025-03-09 12:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:10:05] Production.ERROR: done [2025-03-09 12:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 12:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642092', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 12:10:05] Production.ERROR: done [2025-03-09 12:10:05] Production.INFO: Account Balance End. [2025-03-09 12:10:05] Production.ERROR: CronJobId end 12 [2025-03-09 12:10:05] Production.INFO: ==15883== Releasing lock... [2025-03-09 12:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:10:06 [end_date_ymd] => 2025-03-09 12:10:06 [RateCDR] => 1 ) [2025-03-09 12:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:10:06' and `end` < '2025-03-09 12:10:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642092', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 12:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 12:10:09] Production.INFO: ProcessCDR(1,14642092,1,1,2) [2025-03-09 12:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14642092,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14642092,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:10:09] Production.INFO: ==15887== Releasing lock... [2025-03-09 12:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 12:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 12:10:14] Production.ERROR: CronJobId end10 [2025-03-09 12:10:14] Production.INFO: ==15881== Releasing lock... [2025-03-09 12:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:10:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:10:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:10:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:10:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:10:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:10:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:10:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:10:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:10:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:10:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:10:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:10:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:10:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:10:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:10:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:10:17] Production.INFO: call_cost start [2025-03-09 12:10:17] Production.INFO: call_cost end [2025-03-09 12:10:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:10:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:10:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:10:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:10:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:10:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:10:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:10:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:10:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:10:17] Production.INFO: ==15877== Releasing lock... [2025-03-09 12:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:10:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:10:19] Production.INFO: count ==453 [2025-03-09 12:10:19] Production.ERROR: pbx CDR StartTime 2025-03-09 09:10:06 - End Time 2025-03-09 12:10:06 [2025-03-09 12:10:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642093', 'tblTempUsageDetail_20' ) start [2025-03-09 12:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642093', 'tblTempUsageDetail_20' ) end [2025-03-09 12:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642093', 'tblTempVendorCDR_20' ) start [2025-03-09 12:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642093', 'tblTempVendorCDR_20' ) end [2025-03-09 12:10:19] Production.INFO: ProcessCDR(1,14642093,1,1,2) [2025-03-09 12:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642093', 'tblTempUsageDetail_20' ) start [2025-03-09 12:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642093', 'tblTempUsageDetail_20' ) end [2025-03-09 12:10:24] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:10:24] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:10:24] Production.INFO: ==15885== Releasing lock... [2025-03-09 12:10:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:10:24] Production.INFO: 32 MB #Memory Used# [2025-03-09 16:11:01] Production.INFO: ==15944== Lock acquired, processing the job... [2025-03-09 16:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:11:01] Production.INFO: neon service started [2025-03-09 16:11:01] Production.INFO: neon service started [2025-03-09 16:11:01] Production.INFO: ==15944== Releasing lock... [2025-03-09 16:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:11:01] Production.INFO: ==15948== Lock acquired, processing the job... [2025-03-09 16:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:11:02] Production.INFO: ==15948== Releasing lock... [2025-03-09 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:11:02] Production.INFO: ==15946== Lock acquired, processing the job... [2025-03-09 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:11:02] Production.INFO: ==15946== Releasing lock... [2025-03-09 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:11:03] Production.INFO: ==15951== Lock acquired, processing the job... [2025-03-09 12:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:11:03] Production.INFO: ==15955== Lock acquired, processing the job... [2025-03-09 12:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:11:03] Production.INFO: ==15961== Lock acquired, processing the job... [2025-03-09 12:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:11:03] Production.INFO: count ==13 [2025-03-09 12:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:11:03] Production.INFO: count ==21 [2025-03-09 12:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642095') start [2025-03-09 12:11:03] Production.INFO: ==15953== Lock acquired, processing the job... [2025-03-09 12:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:11:03] Production.INFO: ==15957== Lock acquired, processing the job... [2025-03-09 12:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642095') end [2025-03-09 12:11:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:11:03] Production.INFO: 1 [2025-03-09 12:11:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:11:03] Production.INFO: ==15961== Releasing lock... [2025-03-09 12:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:11:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:11:03] Production.INFO: Account Balance Start. [2025-03-09 12:11:03] Production.INFO: CreateAllLog Start [2025-03-09 12:11:03] Production.INFO: 117 [2025-03-09 12:11:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:11:03] Production.INFO: ==15959== Lock acquired, processing the job... [2025-03-09 12:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:11:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:11:03] Production.INFO: Total Charge 0 [2025-03-09 12:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:11:03] Production.INFO: CreateAllLog End [2025-03-09 12:11:03] Production.INFO: ==15953== Releasing lock... [2025-03-09 12:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:11:04] Production.ERROR: done [2025-03-09 12:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:11:04] Production.INFO: Account Balance End. [2025-03-09 12:11:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:11:04] Production.INFO: ==15957== Releasing lock... [2025-03-09 12:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:11:04] Production.ERROR: done [2025-03-09 12:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:11:05 [end_date_ymd] => 2025-03-09 12:11:05 [RateCDR] => 1 ) [2025-03-09 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-09 09:11:05' and `end` < '2025-03-09 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-09 12:11:12] Production.ERROR: CronJobId end10 [2025-03-09 12:11:12] Production.INFO: ==15955== Releasing lock... [2025-03-09 12:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:11:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:11:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:11:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:11:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:11:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:11:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:11:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:11:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:11:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:11:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:11:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:11:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:11:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:11:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:11:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:11:15] Production.INFO: call_cost start [2025-03-09 12:11:15] Production.INFO: call_cost end [2025-03-09 12:11:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:11:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:11:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:11:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:11:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:11:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:11:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:11:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:11:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:11:16] Production.INFO: ==15951== Releasing lock... [2025-03-09 12:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:11:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:11:17] Production.INFO: count ==486 [2025-03-09 12:11:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:11:05 - End Time 2025-03-09 12:11:05 [2025-03-09 12:11:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642098', 'tblTempUsageDetail_20' ) start [2025-03-09 12:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642098', 'tblTempUsageDetail_20' ) end [2025-03-09 12:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642098', 'tblTempVendorCDR_20' ) start [2025-03-09 12:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642098', 'tblTempVendorCDR_20' ) end [2025-03-09 12:11:17] Production.INFO: ProcessCDR(1,14642098,1,1,2) [2025-03-09 12:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642098', 'tblTempUsageDetail_20' ) start [2025-03-09 12:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642098', 'tblTempUsageDetail_20' ) end [2025-03-09 12:11:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:11:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:11:22] Production.INFO: ==15959== Releasing lock... [2025-03-09 12:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:11:22] Production.INFO: 32 MB #Memory Used# [2025-03-09 16:12:02] Production.INFO: ==16017== Lock acquired, processing the job... [2025-03-09 16:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:12:02] Production.INFO: neon service started [2025-03-09 16:12:02] Production.INFO: neon service started [2025-03-09 16:12:02] Production.INFO: ==16017== Releasing lock... [2025-03-09 16:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:12:02] Production.INFO: ==16019== Lock acquired, processing the job... [2025-03-09 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:12:02] Production.INFO: ==16019== Releasing lock... [2025-03-09 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:12:02] Production.INFO: ==16021== Lock acquired, processing the job... [2025-03-09 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:12:02] Production.INFO: ==16021== Releasing lock... [2025-03-09 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:12:03] Production.INFO: ==16030== Lock acquired, processing the job... [2025-03-09 12:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:12:03] Production.INFO: ==16034== Lock acquired, processing the job... [2025-03-09 12:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:12:03] Production.INFO: Account Balance Start. [2025-03-09 12:12:03] Production.INFO: CreateAllLog Start [2025-03-09 12:12:03] Production.INFO: 117 [2025-03-09 12:12:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:12:03] Production.INFO: ==16024== Lock acquired, processing the job... [2025-03-09 12:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:12:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:12:03] Production.INFO: ==16026== Lock acquired, processing the job... [2025-03-09 12:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:12:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:12:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:12:03] Production.INFO: count ==13 [2025-03-09 12:12:03] Production.INFO: ==16028== Lock acquired, processing the job... [2025-03-09 12:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:12:03] Production.INFO: count ==21 [2025-03-09 12:12:04] Production.INFO: ==16032== Lock acquired, processing the job... [2025-03-09 12:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642100') start [2025-03-09 12:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:12:04] Production.INFO: Total Charge 0 [2025-03-09 12:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642100') end [2025-03-09 12:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:12:04] Production.INFO: 1 [2025-03-09 12:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:12:04] Production.INFO: CreateAllLog End [2025-03-09 12:12:04] Production.INFO: ==16034== Releasing lock... [2025-03-09 12:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:12:04] Production.INFO: ==16026== Releasing lock... [2025-03-09 12:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:12:04] Production.ERROR: done [2025-03-09 12:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:12:04] Production.INFO: Account Balance End. [2025-03-09 12:12:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:12:04] Production.INFO: ==16030== Releasing lock... [2025-03-09 12:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:12:04] Production.ERROR: done [2025-03-09 12:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:12:05 [end_date_ymd] => 2025-03-09 12:12:05 [RateCDR] => 1 ) [2025-03-09 12:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:12:05' and `end` < '2025-03-09 12:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:12:12] Production.ERROR: CronJobId end10 [2025-03-09 12:12:12] Production.INFO: ==16028== Releasing lock... [2025-03-09 12:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:12:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:12:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:12:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:12:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:12:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:12:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:12:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:12:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:12:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:12:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:12:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:12:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:12:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:12:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:12:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:12:14] Production.INFO: call_cost start [2025-03-09 12:12:14] Production.INFO: call_cost end [2025-03-09 12:12:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:12:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:12:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:12:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:12:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:12:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:12:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:12:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:12:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:12:15] Production.INFO: ==16024== Releasing lock... [2025-03-09 12:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:12:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:12:17] Production.INFO: count ==488 [2025-03-09 12:12:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:12:05 - End Time 2025-03-09 12:12:05 [2025-03-09 12:12:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642103', 'tblTempUsageDetail_20' ) start [2025-03-09 12:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642103', 'tblTempUsageDetail_20' ) end [2025-03-09 12:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642103', 'tblTempVendorCDR_20' ) start [2025-03-09 12:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642103', 'tblTempVendorCDR_20' ) end [2025-03-09 12:12:17] Production.INFO: ProcessCDR(1,14642103,1,1,2) [2025-03-09 12:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642103', 'tblTempUsageDetail_20' ) start [2025-03-09 12:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642103', 'tblTempUsageDetail_20' ) end [2025-03-09 12:12:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:12:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:12:22] Production.INFO: ==16032== Releasing lock... [2025-03-09 12:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:12:22] Production.INFO: 32 MB #Memory Used# [2025-03-09 16:13:01] Production.INFO: ==16087== Lock acquired, processing the job... [2025-03-09 16:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:13:01] Production.INFO: neon service started [2025-03-09 16:13:01] Production.INFO: neon service started [2025-03-09 16:13:01] Production.INFO: ==16087== Releasing lock... [2025-03-09 16:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:13:02] Production.INFO: ==16089== Lock acquired, processing the job... [2025-03-09 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:13:02] Production.INFO: ==16092== Lock acquired, processing the job... [2025-03-09 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:13:02] Production.INFO: ==16092== Releasing lock... [2025-03-09 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:13:02] Production.INFO: ==16089== Releasing lock... [2025-03-09 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:13:03] Production.INFO: ==16094== Lock acquired, processing the job... [2025-03-09 12:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:13:03] Production.INFO: ==16096== Lock acquired, processing the job... [2025-03-09 12:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:13:03] Production.INFO: ==16098== Lock acquired, processing the job... [2025-03-09 12:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:13:03] Production.INFO: ==16096== Releasing lock... [2025-03-09 12:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:13:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:13:03] Production.INFO: ==16102== Lock acquired, processing the job... [2025-03-09 12:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:13:03] Production.INFO: ==16100== Lock acquired, processing the job... [2025-03-09 12:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:13:03] Production.INFO: ==16104== Lock acquired, processing the job... [2025-03-09 12:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:13:04] Production.INFO: Account Balance Start. [2025-03-09 12:13:04] Production.INFO: CreateAllLog Start [2025-03-09 12:13:04] Production.INFO: 117 [2025-03-09 12:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:13:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:13:04] Production.INFO: count ==13 [2025-03-09 12:13:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:13:04] Production.INFO: count ==21 [2025-03-09 12:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642107') start [2025-03-09 12:13:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:13:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:13:04] Production.ERROR: done [2025-03-09 12:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642107') end [2025-03-09 12:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:13:04] Production.INFO: 1 [2025-03-09 12:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:13:04] Production.INFO: Total Charge 0 [2025-03-09 12:13:04] Production.INFO: CreateAllLog End [2025-03-09 12:13:04] Production.INFO: ==16104== Releasing lock... [2025-03-09 12:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:13:04] Production.ERROR: done [2025-03-09 12:13:04] Production.INFO: Account Balance End. [2025-03-09 12:13:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:13:04] Production.INFO: ==16100== Releasing lock... [2025-03-09 12:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:13:05 [end_date_ymd] => 2025-03-09 12:13:05 [RateCDR] => 1 ) [2025-03-09 12:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:13:05' and `end` < '2025-03-09 12:13:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:13:11] Production.ERROR: CronJobId end10 [2025-03-09 12:13:11] Production.INFO: ==16098== Releasing lock... [2025-03-09 12:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:13:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:13:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:13:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:13:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:13:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:13:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:13:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:13:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:13:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:13:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:13:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:13:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:13:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:13:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:13:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:13:14] Production.INFO: call_cost start [2025-03-09 12:13:14] Production.INFO: call_cost end [2025-03-09 12:13:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:13:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:13:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:13:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:13:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:13:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:13:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:13:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:13:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:13:15] Production.INFO: ==16094== Releasing lock... [2025-03-09 12:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:13:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:13:17] Production.INFO: count ==489 [2025-03-09 12:13:18] Production.ERROR: pbx CDR StartTime 2025-03-09 09:13:05 - End Time 2025-03-09 12:13:05 [2025-03-09 12:13:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642108', 'tblTempUsageDetail_20' ) start [2025-03-09 12:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642108', 'tblTempUsageDetail_20' ) end [2025-03-09 12:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642108', 'tblTempVendorCDR_20' ) start [2025-03-09 12:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642108', 'tblTempVendorCDR_20' ) end [2025-03-09 12:13:18] Production.INFO: ProcessCDR(1,14642108,1,1,2) [2025-03-09 12:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642108', 'tblTempUsageDetail_20' ) start [2025-03-09 12:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642108', 'tblTempUsageDetail_20' ) end [2025-03-09 12:13:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:13:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:13:21] Production.INFO: ==16102== Releasing lock... [2025-03-09 12:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:13:21] Production.INFO: 32 MB #Memory Used# [2025-03-09 16:14:01] Production.INFO: ==16159== Lock acquired, processing the job... [2025-03-09 16:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:14:02] Production.INFO: neon service started [2025-03-09 16:14:02] Production.INFO: neon service started [2025-03-09 16:14:02] Production.INFO: ==16159== Releasing lock... [2025-03-09 16:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:14:02] Production.INFO: ==16163== Lock acquired, processing the job... [2025-03-09 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:14:02] Production.INFO: ==16163== Releasing lock... [2025-03-09 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:14:02] Production.INFO: ==16161== Lock acquired, processing the job... [2025-03-09 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:14:02] Production.INFO: ==16161== Releasing lock... [2025-03-09 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:14:03] Production.INFO: ==16167== Lock acquired, processing the job... [2025-03-09 12:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:14:03] Production.INFO: ==16171== Lock acquired, processing the job... [2025-03-09 12:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:14:03] Production.INFO: ==16173== Lock acquired, processing the job... [2025-03-09 12:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:14:03] Production.INFO: Account Balance Start. [2025-03-09 12:14:03] Production.INFO: CreateAllLog Start [2025-03-09 12:14:03] Production.INFO: 117 [2025-03-09 12:14:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:14:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:14:03] Production.INFO: Total Charge 0 [2025-03-09 12:14:03] Production.INFO: CreateAllLog End [2025-03-09 12:14:03] Production.INFO: ==16165== Lock acquired, processing the job... [2025-03-09 12:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:14:03] Production.INFO: ==16169== Lock acquired, processing the job... [2025-03-09 12:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:14:04] Production.INFO: ==16176== Lock acquired, processing the job... [2025-03-09 12:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:14:04] Production.INFO: ==16167== Releasing lock... [2025-03-09 12:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:14:04] Production.INFO: Account Balance End. [2025-03-09 12:14:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:14:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:14:04] Production.INFO: ==16171== Releasing lock... [2025-03-09 12:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:14:04] Production.ERROR: done [2025-03-09 12:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:14:04] Production.INFO: count ==13 [2025-03-09 12:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:14:04] Production.INFO: count ==21 [2025-03-09 12:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642112') start [2025-03-09 12:14:04] Production.ERROR: done [2025-03-09 12:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642112') end [2025-03-09 12:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:14:04] Production.INFO: 1 [2025-03-09 12:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:14:04] Production.INFO: ==16176== Releasing lock... [2025-03-09 12:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:14:05 [end_date_ymd] => 2025-03-09 12:14:05 [RateCDR] => 1 ) [2025-03-09 12:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:14:05' and `end` < '2025-03-09 12:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:14:12] Production.ERROR: CronJobId end10 [2025-03-09 12:14:12] Production.INFO: ==16169== Releasing lock... [2025-03-09 12:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:14:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:14:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:14:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:14:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:14:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:14:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:14:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:14:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:14:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:14:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:14:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:14:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:14:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:14:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:14:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:14:13] Production.INFO: call_cost start [2025-03-09 12:14:13] Production.INFO: call_cost end [2025-03-09 12:14:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:14:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:14:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:14:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:14:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:14:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:14:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:14:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:14:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:14:14] Production.INFO: ==16165== Releasing lock... [2025-03-09 12:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:14:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:14:17] Production.INFO: count ==489 [2025-03-09 12:14:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:14:05 - End Time 2025-03-09 12:14:05 [2025-03-09 12:14:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642113', 'tblTempUsageDetail_20' ) start [2025-03-09 12:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642113', 'tblTempUsageDetail_20' ) end [2025-03-09 12:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642113', 'tblTempVendorCDR_20' ) start [2025-03-09 12:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642113', 'tblTempVendorCDR_20' ) end [2025-03-09 12:14:17] Production.INFO: ProcessCDR(1,14642113,1,1,2) [2025-03-09 12:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:14:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642113', 'tblTempUsageDetail_20' ) start [2025-03-09 12:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642113', 'tblTempUsageDetail_20' ) end [2025-03-09 12:14:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:14:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:14:20] Production.INFO: ==16173== Releasing lock... [2025-03-09 12:14:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:14:20] Production.INFO: 32 MB #Memory Used# [2025-03-09 16:15:01] Production.INFO: ==16231== Lock acquired, processing the job... [2025-03-09 16:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:15:01] Production.INFO: neon service started [2025-03-09 16:15:01] Production.INFO: neon service started [2025-03-09 16:15:01] Production.INFO: ==16231== Releasing lock... [2025-03-09 16:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:15:01] Production.INFO: ==16233== Lock acquired, processing the job... [2025-03-09 12:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:15:02] Production.INFO: ==16233== Releasing lock... [2025-03-09 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:15:02] Production.INFO: ==16235== Lock acquired, processing the job... [2025-03-09 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:15:02] Production.INFO: ==16235== Releasing lock... [2025-03-09 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:15:03] Production.INFO: ==16243== Lock acquired, processing the job... [2025-03-09 12:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:15:03] Production.INFO: Account Balance Start. [2025-03-09 12:15:03] Production.INFO: CreateAllLog Start [2025-03-09 12:15:03] Production.INFO: 117 [2025-03-09 12:15:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:15:03] Production.INFO: ==16247== Lock acquired, processing the job... [2025-03-09 12:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:15:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:15:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:15:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:15:03] Production.INFO: Total Charge 0 [2025-03-09 12:15:03] Production.INFO: CreateAllLog End [2025-03-09 12:15:03] Production.INFO: ==16237== Lock acquired, processing the job... [2025-03-09 12:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:15:03] Production.INFO: Account Balance End. [2025-03-09 12:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:15:03] Production.ERROR: CronJobId end 12 [2025-03-09 12:15:03] Production.INFO: ==16243== Releasing lock... [2025-03-09 12:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:15:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:15:03] Production.INFO: ==16239== Lock acquired, processing the job... [2025-03-09 12:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:15:03] Production.INFO: count ==13 [2025-03-09 12:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:15:03] Production.INFO: ==16241== Lock acquired, processing the job... [2025-03-09 12:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:15:03] Production.INFO: count ==21 [2025-03-09 12:15:03] Production.INFO: ==16245== Lock acquired, processing the job... [2025-03-09 12:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642115') start [2025-03-09 12:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642115') end [2025-03-09 12:15:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:15:03] Production.INFO: 1 [2025-03-09 12:15:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:15:03] Production.INFO: ==16247== Releasing lock... [2025-03-09 12:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:15:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:15:03] Production.INFO: ==16239== Releasing lock... [2025-03-09 12:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:15:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:15:03] Production.ERROR: done [2025-03-09 12:15:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:15:04] Production.ERROR: done [2025-03-09 12:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:15:05 [end_date_ymd] => 2025-03-09 12:15:05 [RateCDR] => 1 ) [2025-03-09 12:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:15:05' and `end` < '2025-03-09 12:15:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:15: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-09 12:15:12] Production.ERROR: CronJobId end10 [2025-03-09 12:15:12] Production.INFO: ==16241== Releasing lock... [2025-03-09 12:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:15:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:15:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:15:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:15:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:15:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:15:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:15:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:15:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:15:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:15:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:15:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:15:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:15:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:15:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:15:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:15:13] Production.INFO: call_cost start [2025-03-09 12:15:13] Production.INFO: call_cost end [2025-03-09 12:15:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:15:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:15:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:15:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:15:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:15:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:15:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:15:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:15:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:15:14] Production.INFO: ==16237== Releasing lock... [2025-03-09 12:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:15:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:15:17] Production.INFO: count ==489 [2025-03-09 12:15:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:15:05 - End Time 2025-03-09 12:15:05 [2025-03-09 12:15:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642118', 'tblTempUsageDetail_20' ) start [2025-03-09 12:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642118', 'tblTempUsageDetail_20' ) end [2025-03-09 12:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642118', 'tblTempVendorCDR_20' ) start [2025-03-09 12:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642118', 'tblTempVendorCDR_20' ) end [2025-03-09 12:15:17] Production.INFO: ProcessCDR(1,14642118,1,1,2) [2025-03-09 12:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:15:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642118', 'tblTempUsageDetail_20' ) start [2025-03-09 12:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642118', 'tblTempUsageDetail_20' ) end [2025-03-09 12:15:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:15:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:15:20] Production.INFO: ==16245== Releasing lock... [2025-03-09 12:15:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:15:20] Production.INFO: 32 MB #Memory Used# [2025-03-09 16:16:01] Production.INFO: ==16301== Lock acquired, processing the job... [2025-03-09 16:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:16:01] Production.INFO: neon service started [2025-03-09 16:16:01] Production.INFO: neon service started [2025-03-09 16:16:01] Production.INFO: ==16301== Releasing lock... [2025-03-09 16:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:16:02] Production.INFO: ==16305== Lock acquired, processing the job... [2025-03-09 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:16:02] Production.INFO: ==16305== Releasing lock... [2025-03-09 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:16:02] Production.INFO: ==16303== Lock acquired, processing the job... [2025-03-09 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:16:02] Production.INFO: ==16303== Releasing lock... [2025-03-09 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:16:03] Production.INFO: ==16311== Lock acquired, processing the job... [2025-03-09 12:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:16:03] Production.INFO: ==16317== Lock acquired, processing the job... [2025-03-09 12:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:16:03] Production.INFO: ==16307== Lock acquired, processing the job... [2025-03-09 12:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:16:03] Production.INFO: count ==13 [2025-03-09 12:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:16:03] Production.INFO: ==16309== Lock acquired, processing the job... [2025-03-09 12:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:16:03] Production.INFO: count ==21 [2025-03-09 12:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642119') start [2025-03-09 12:16:03] Production.INFO: ==16313== Lock acquired, processing the job... [2025-03-09 12:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:16:03] Production.INFO: ==16315== Lock acquired, processing the job... [2025-03-09 12:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642119') end [2025-03-09 12:16:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:16:03] Production.INFO: 1 [2025-03-09 12:16:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:16:03] Production.INFO: ==16317== Releasing lock... [2025-03-09 12:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:16:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:16:04] Production.INFO: Account Balance Start. [2025-03-09 12:16:04] Production.INFO: CreateAllLog Start [2025-03-09 12:16:04] Production.INFO: 117 [2025-03-09 12:16:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:16:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:16:04] Production.INFO: ==16309== Releasing lock... [2025-03-09 12:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:16:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:16:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:16:04] Production.INFO: Total Charge 0 [2025-03-09 12:16:04] Production.INFO: CreateAllLog End [2025-03-09 12:16:04] Production.ERROR: done [2025-03-09 12:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:16:04] Production.ERROR: done [2025-03-09 12:16:04] Production.INFO: Account Balance End. [2025-03-09 12:16:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:16:04] Production.INFO: ==16313== Releasing lock... [2025-03-09 12:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:16:05 [end_date_ymd] => 2025-03-09 12:16:05 [RateCDR] => 1 ) [2025-03-09 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-09 09:16:05' and `end` < '2025-03-09 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-09 12:16:12] Production.ERROR: CronJobId end10 [2025-03-09 12:16:12] Production.INFO: ==16311== Releasing lock... [2025-03-09 12:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:16:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:16:15] Production.INFO: call_cost start [2025-03-09 12:16:15] Production.INFO: call_cost end [2025-03-09 12:16:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:16:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:16:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:16:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:16:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:16:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:16:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:16:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:16:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:16:16] Production.INFO: ==16307== Releasing lock... [2025-03-09 12:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:16:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:16:17] Production.INFO: count ==490 [2025-03-09 12:16:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:16:05 - End Time 2025-03-09 12:16:05 [2025-03-09 12:16:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642123', 'tblTempUsageDetail_20' ) start [2025-03-09 12:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642123', 'tblTempUsageDetail_20' ) end [2025-03-09 12:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642123', 'tblTempVendorCDR_20' ) start [2025-03-09 12:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642123', 'tblTempVendorCDR_20' ) end [2025-03-09 12:16:17] Production.INFO: ProcessCDR(1,14642123,1,1,2) [2025-03-09 12:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642123', 'tblTempUsageDetail_20' ) start [2025-03-09 12:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642123', 'tblTempUsageDetail_20' ) end [2025-03-09 12:16:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:16:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:16:22] Production.INFO: ==16315== Releasing lock... [2025-03-09 12:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:16:22] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 16:17:02] Production.INFO: ==16411== Lock acquired, processing the job... [2025-03-09 16:17:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:17:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:17:02] Production.INFO: neon service started [2025-03-09 16:17:02] Production.INFO: neon service started [2025-03-09 16:17:02] Production.INFO: ==16411== Releasing lock... [2025-03-09 16:17:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:17:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:17:02] Production.INFO: ==16416== Lock acquired, processing the job... [2025-03-09 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:17:02] Production.INFO: ==16416== Releasing lock... [2025-03-09 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:17:02] Production.INFO: ==16414== Lock acquired, processing the job... [2025-03-09 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:17:03] Production.INFO: ==16414== Releasing lock... [2025-03-09 12:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:17:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:17:03] Production.INFO: ==16418== Lock acquired, processing the job... [2025-03-09 12:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:17:03] Production.INFO: ==16422== Lock acquired, processing the job... [2025-03-09 12:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:17:03] Production.INFO: ==16424== Lock acquired, processing the job... [2025-03-09 12:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:17:04] Production.INFO: Account Balance Start. [2025-03-09 12:17:04] Production.INFO: CreateAllLog Start [2025-03-09 12:17:04] Production.INFO: 117 [2025-03-09 12:17:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:17:04] Production.INFO: ==16420== Lock acquired, processing the job... [2025-03-09 12:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:17:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:17:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:17:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:17:04] Production.INFO: Total Charge 0 [2025-03-09 12:17:04] Production.INFO: CreateAllLog End [2025-03-09 12:17:04] Production.INFO: ==16428== Lock acquired, processing the job... [2025-03-09 12:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:17:04] Production.INFO: ==16426== Lock acquired, processing the job... [2025-03-09 12:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:17:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 12:17:04] Production.INFO: count ==13 [2025-03-09 12:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:17:04] Production.INFO: count ==21 [2025-03-09 12:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642127') start [2025-03-09 12:17:04] Production.INFO: Account Balance End. [2025-03-09 12:17:04] Production.INFO: ==16420== Releasing lock... [2025-03-09 12:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:17:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642127') end [2025-03-09 12:17:04] Production.INFO: ==16424== Releasing lock... [2025-03-09 12:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:17:04] Production.INFO: 1 [2025-03-09 12:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:17:04] Production.INFO: ==16428== Releasing lock... [2025-03-09 12:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:17:05] Production.ERROR: done [2025-03-09 12:17:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:17:05] Production.ERROR: done [2025-03-09 12:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:17:05 [end_date_ymd] => 2025-03-09 12:17:05 [RateCDR] => 1 ) [2025-03-09 12:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:17:05' and `end` < '2025-03-09 12:17:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:17:11] Production.ERROR: CronJobId end10 [2025-03-09 12:17:11] Production.INFO: ==16422== Releasing lock... [2025-03-09 12:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:17:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:17:14] Production.INFO: call_cost start [2025-03-09 12:17:14] Production.INFO: call_cost end [2025-03-09 12:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:17:15] Production.INFO: ==16418== Releasing lock... [2025-03-09 12:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:17:17] Production.INFO: count ==490 [2025-03-09 12:17:18] Production.ERROR: pbx CDR StartTime 2025-03-09 09:17:05 - End Time 2025-03-09 12:17:05 [2025-03-09 12:17:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642128', 'tblTempUsageDetail_20' ) start [2025-03-09 12:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642128', 'tblTempUsageDetail_20' ) end [2025-03-09 12:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642128', 'tblTempVendorCDR_20' ) start [2025-03-09 12:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642128', 'tblTempVendorCDR_20' ) end [2025-03-09 12:17:18] Production.INFO: ProcessCDR(1,14642128,1,1,2) [2025-03-09 12:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642128', 'tblTempUsageDetail_20' ) start [2025-03-09 12:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642128', 'tblTempUsageDetail_20' ) end [2025-03-09 12:17:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:17:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:17:21] Production.INFO: ==16426== Releasing lock... [2025-03-09 12:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:17:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 16:18:01] Production.INFO: ==16485== Lock acquired, processing the job... [2025-03-09 16:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:18:01] Production.INFO: neon service started [2025-03-09 16:18:01] Production.INFO: neon service started [2025-03-09 16:18:01] Production.INFO: ==16485== Releasing lock... [2025-03-09 16:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:18:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:18:02] Production.INFO: ==16487== Lock acquired, processing the job... [2025-03-09 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:18:02] Production.INFO: ==16489== Lock acquired, processing the job... [2025-03-09 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:18:02] Production.INFO: ==16487== Releasing lock... [2025-03-09 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:18:02] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:18:02] Production.INFO: ==16489== Releasing lock... [2025-03-09 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:18:03] Production.INFO: ==16492== Lock acquired, processing the job... [2025-03-09 12:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:18:03] Production.INFO: ==16498== Lock acquired, processing the job... [2025-03-09 12:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:18:03] Production.INFO: ==16494== Lock acquired, processing the job... [2025-03-09 12:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:18:03] Production.INFO: Account Balance Start. [2025-03-09 12:18:03] Production.INFO: CreateAllLog Start [2025-03-09 12:18:03] Production.INFO: 117 [2025-03-09 12:18:03] Production.INFO: ==16502== Lock acquired, processing the job... [2025-03-09 12:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:18:03] Production.INFO: ==16496== Lock acquired, processing the job... [2025-03-09 12:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:18:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:18:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:18:03] Production.INFO: ==16500== Lock acquired, processing the job... [2025-03-09 12:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:18:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:18:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:18:03] Production.INFO: Total Charge 0 [2025-03-09 12:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:18:03] Production.INFO: CreateAllLog End [2025-03-09 12:18:03] Production.INFO: count ==13 [2025-03-09 12:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:18:03] Production.INFO: count ==21 [2025-03-09 12:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642132') start [2025-03-09 12:18:03] Production.INFO: ==16494== Releasing lock... [2025-03-09 12:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:18:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642132') end [2025-03-09 12:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:18:04] Production.INFO: 1 [2025-03-09 12:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:18:04] Production.INFO: Account Balance End. [2025-03-09 12:18:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:18:04] Production.INFO: ==16498== Releasing lock... [2025-03-09 12:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:18:04] Production.INFO: ==16502== Releasing lock... [2025-03-09 12:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:18:04] Production.ERROR: done [2025-03-09 12:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:18:04] Production.ERROR: done [2025-03-09 12:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:18:05 [end_date_ymd] => 2025-03-09 12:18:05 [RateCDR] => 1 ) [2025-03-09 12:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:18:05' and `end` < '2025-03-09 12:18:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:18:12] Production.ERROR: CronJobId end10 [2025-03-09 12:18:12] Production.INFO: ==16496== Releasing lock... [2025-03-09 12:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:18:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:18:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:18:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:18:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:18:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:18:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:18:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:18:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:18:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:18:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:18:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:18:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:18:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:18:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:18:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:18:14] Production.INFO: call_cost start [2025-03-09 12:18:14] Production.INFO: call_cost end [2025-03-09 12:18:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:18:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:18:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:18:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:18:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:18:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:18:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:18:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:18:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:18:15] Production.INFO: ==16492== Releasing lock... [2025-03-09 12:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:18:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:18:17] Production.INFO: count ==490 [2025-03-09 12:18:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:18:05 - End Time 2025-03-09 12:18:05 [2025-03-09 12:18:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642133', 'tblTempUsageDetail_20' ) start [2025-03-09 12:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642133', 'tblTempUsageDetail_20' ) end [2025-03-09 12:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642133', 'tblTempVendorCDR_20' ) start [2025-03-09 12:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642133', 'tblTempVendorCDR_20' ) end [2025-03-09 12:18:17] Production.INFO: ProcessCDR(1,14642133,1,1,2) [2025-03-09 12:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642133', 'tblTempUsageDetail_20' ) start [2025-03-09 12:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642133', 'tblTempUsageDetail_20' ) end [2025-03-09 12:18:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:18:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:18:20] Production.INFO: ==16500== Releasing lock... [2025-03-09 12:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:18:20] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 16:19:02] Production.INFO: ==16559== Lock acquired, processing the job... [2025-03-09 16:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:19:02] Production.INFO: neon service started [2025-03-09 16:19:02] Production.INFO: neon service started [2025-03-09 16:19:02] Production.INFO: ==16559== Releasing lock... [2025-03-09 16:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:19:02] Production.INFO: ==16563== Lock acquired, processing the job... [2025-03-09 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:19:02] Production.INFO: ==16563== Releasing lock... [2025-03-09 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:19:02] Production.INFO: ==16561== Lock acquired, processing the job... [2025-03-09 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:19:02] Production.INFO: ==16561== Releasing lock... [2025-03-09 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:19:03] Production.INFO: ==16570== Lock acquired, processing the job... [2025-03-09 12:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:19:03] Production.INFO: ==16574== Lock acquired, processing the job... [2025-03-09 12:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:19:03] Production.INFO: ==16568== Lock acquired, processing the job... [2025-03-09 12:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:19:03] Production.INFO: ==16566== Lock acquired, processing the job... [2025-03-09 12:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:19:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:19:04] Production.INFO: ==16572== Lock acquired, processing the job... [2025-03-09 12:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:19:04] Production.INFO: ==16576== Lock acquired, processing the job... [2025-03-09 12:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:19:04] Production.INFO: Account Balance Start. [2025-03-09 12:19:04] Production.INFO: CreateAllLog Start [2025-03-09 12:19:04] Production.INFO: 117 [2025-03-09 12:19:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:19:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:19:04] Production.INFO: Total Charge 0 [2025-03-09 12:19:04] Production.INFO: CreateAllLog End [2025-03-09 12:19:04] Production.ERROR: done [2025-03-09 12:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:19:04] Production.INFO: count ==13 [2025-03-09 12:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:19:04] Production.INFO: count ==21 [2025-03-09 12:19:04] Production.INFO: ==16568== Releasing lock... [2025-03-09 12:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642137') start [2025-03-09 12:19:04] Production.ERROR: done [2025-03-09 12:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642137') end [2025-03-09 12:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:19:04] Production.INFO: 1 [2025-03-09 12:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:19:04] Production.INFO: Account Balance End. [2025-03-09 12:19:04] Production.INFO: ==16576== Releasing lock... [2025-03-09 12:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:19:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:19:04] Production.INFO: ==16572== Releasing lock... [2025-03-09 12:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:19:05 [end_date_ymd] => 2025-03-09 12:19:05 [RateCDR] => 1 ) [2025-03-09 12:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:19:05' and `end` < '2025-03-09 12:19:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:19:11] Production.ERROR: CronJobId end10 [2025-03-09 12:19:11] Production.INFO: ==16570== Releasing lock... [2025-03-09 12:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:19:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:19:14] Production.INFO: call_cost start [2025-03-09 12:19:14] Production.INFO: call_cost end [2025-03-09 12:19:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:19:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:19:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:19:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:19:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:19:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:19:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:19:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:19:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:19:15] Production.INFO: ==16566== Releasing lock... [2025-03-09 12:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:19:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:19:17] Production.INFO: count ==499 [2025-03-09 12:19:18] Production.ERROR: pbx CDR StartTime 2025-03-09 09:19:05 - End Time 2025-03-09 12:19:05 [2025-03-09 12:19:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642138', 'tblTempUsageDetail_20' ) start [2025-03-09 12:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642138', 'tblTempUsageDetail_20' ) end [2025-03-09 12:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642138', 'tblTempVendorCDR_20' ) start [2025-03-09 12:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642138', 'tblTempVendorCDR_20' ) end [2025-03-09 12:19:18] Production.INFO: ProcessCDR(1,14642138,1,1,2) [2025-03-09 12:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642138', 'tblTempUsageDetail_20' ) start [2025-03-09 12:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642138', 'tblTempUsageDetail_20' ) end [2025-03-09 12:19:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:19:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:19:21] Production.INFO: ==16574== Releasing lock... [2025-03-09 12:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:19:21] Production.INFO: 32 MB #Memory Used# [2025-03-09 16:20:01] Production.INFO: ==16635== Lock acquired, processing the job... [2025-03-09 16:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:20:01] Production.INFO: neon service started [2025-03-09 16:20:01] Production.INFO: neon service started [2025-03-09 16:20:01] Production.INFO: ==16635== Releasing lock... [2025-03-09 16:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:20:02] Production.INFO: ==16638== Lock acquired, processing the job... [2025-03-09 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:20:02] Production.INFO: ==16638== Releasing lock... [2025-03-09 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:20:02] Production.INFO: ==16640== Lock acquired, processing the job... [2025-03-09 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:20:02] Production.INFO: ==16640== Releasing lock... [2025-03-09 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:20:03] Production.INFO: ==16642== Lock acquired, processing the job... [2025-03-09 12:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 12:20:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 12:20:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 12:20:03] Production.INFO: ==16642== Releasing lock... [2025-03-09 12:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 12:20:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 12:20:03] Production.INFO: ==16646== Lock acquired, processing the job... [2025-03-09 12:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:20:03] Production.INFO: ==16648== Lock acquired, processing the job... [2025-03-09 12:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:20:03] Production.INFO: ==16650== Lock acquired, processing the job... [2025-03-09 12:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:20:03] Production.INFO: Account Balance Start. [2025-03-09 12:20:03] Production.INFO: CreateAllLog Start [2025-03-09 12:20:03] Production.INFO: ==16644== Lock acquired, processing the job... [2025-03-09 12:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:20:03] Production.INFO: 117 [2025-03-09 12:20:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:20:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:20:03] Production.INFO: ==16656== Lock acquired, processing the job... [2025-03-09 12:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:20:03] Production.INFO: ==16646== Releasing lock... [2025-03-09 12:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:20:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:20:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:20:04] Production.INFO: Total Charge 0 [2025-03-09 12:20:04] Production.INFO: ==16654== Lock acquired, processing the job... [2025-03-09 12:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 12:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:20:04] Production.INFO: CreateAllLog End [2025-03-09 12:20:04] Production.INFO: count ==13 [2025-03-09 12:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:20:04] Production.INFO: count ==21 [2025-03-09 12:20:04] Production.INFO: ==16652== Lock acquired, processing the job... [2025-03-09 12:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642142') start [2025-03-09 12:20:04] Production.INFO: Account Balance End. [2025-03-09 12:20:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:20:04] Production.INFO: ==16650== Releasing lock... [2025-03-09 12:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:20:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642142') end [2025-03-09 12:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:20:04] Production.INFO: 1 [2025-03-09 12:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:20:04] Production.ERROR: done [2025-03-09 12:20:04] Production.INFO: ==16656== Releasing lock... [2025-03-09 12:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 12:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642143', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 12:20:04] Production.ERROR: done [2025-03-09 12:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:20:04] Production.ERROR: done [2025-03-09 12:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:20:06 [end_date_ymd] => 2025-03-09 12:20:06 [RateCDR] => 1 ) [2025-03-09 12:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:20:06' and `end` < '2025-03-09 12:20:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642143', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 12:20:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 12:20:08] Production.INFO: ProcessCDR(1,14642143,1,1,2) [2025-03-09 12:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14642143,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14642143,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:20:09] Production.INFO: ==16654== Releasing lock... [2025-03-09 12:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 12:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 12:20:14] Production.ERROR: CronJobId end10 [2025-03-09 12:20:14] Production.INFO: ==16648== Releasing lock... [2025-03-09 12:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:20:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:20:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:20:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:20:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:20:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:20:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:20:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:20:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:20:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:20:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:20:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:20:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:20:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:20:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:20:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:20:16] Production.INFO: call_cost start [2025-03-09 12:20:16] Production.INFO: call_cost end [2025-03-09 12:20:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:20:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:20:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:20:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:20:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:20:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:20:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:20:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:20:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:20:17] Production.INFO: ==16644== Releasing lock... [2025-03-09 12:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:20:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:20:18] Production.INFO: count ==510 [2025-03-09 12:20:18] Production.ERROR: pbx CDR StartTime 2025-03-09 09:20:06 - End Time 2025-03-09 12:20:06 [2025-03-09 12:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642144', 'tblTempUsageDetail_20' ) start [2025-03-09 12:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642144', 'tblTempUsageDetail_20' ) end [2025-03-09 12:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642144', 'tblTempVendorCDR_20' ) start [2025-03-09 12:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642144', 'tblTempVendorCDR_20' ) end [2025-03-09 12:20:18] Production.INFO: ProcessCDR(1,14642144,1,1,2) [2025-03-09 12:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642144', 'tblTempUsageDetail_20' ) start [2025-03-09 12:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642144', 'tblTempUsageDetail_20' ) end [2025-03-09 12:20:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:20:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:20:23] Production.INFO: ==16652== Releasing lock... [2025-03-09 12:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:20:23] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 16:21:02] Production.INFO: ==16711== Lock acquired, processing the job... [2025-03-09 16:21:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:21:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:21:02] Production.INFO: neon service started [2025-03-09 16:21:02] Production.INFO: neon service started [2025-03-09 16:21:02] Production.INFO: ==16711== Releasing lock... [2025-03-09 16:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:21:02] Production.INFO: ==16715== Lock acquired, processing the job... [2025-03-09 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:21:02] Production.INFO: ==16715== Releasing lock... [2025-03-09 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:21:02] Production.INFO: ==16713== Lock acquired, processing the job... [2025-03-09 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:21:03] Production.INFO: ==16713== Releasing lock... [2025-03-09 12:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:21:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:21:03] Production.INFO: ==16721== Lock acquired, processing the job... [2025-03-09 12:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:21:04] Production.INFO: ==16728== Lock acquired, processing the job... [2025-03-09 12:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:21:04] Production.INFO: ==16717== Lock acquired, processing the job... [2025-03-09 12:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 12:21:04] Production.INFO: count ==13 [2025-03-09 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-09 12:21:04] Production.INFO: ==16719== Lock acquired, processing the job... [2025-03-09 12:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:21:04] Production.INFO: count ==21 [2025-03-09 12:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642145') start [2025-03-09 12:21:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:21:04] Production.INFO: ==16723== Lock acquired, processing the job... [2025-03-09 12:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642145') end [2025-03-09 12:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:21:04] Production.INFO: 1 [2025-03-09 12:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:21:04] Production.INFO: ==16725== Lock acquired, processing the job... [2025-03-09 12:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:21:04] Production.INFO: Account Balance Start. [2025-03-09 12:21:04] Production.INFO: CreateAllLog Start [2025-03-09 12:21:04] Production.INFO: 117 [2025-03-09 12:21:04] Production.INFO: ==16728== Releasing lock... [2025-03-09 12:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:21:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:21:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:21:04] Production.INFO: Total Charge 0 [2025-03-09 12:21:04] Production.INFO: CreateAllLog End [2025-03-09 12:21:04] Production.INFO: ==16719== Releasing lock... [2025-03-09 12:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:21:05] Production.ERROR: done [2025-03-09 12:21:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:21:05] Production.INFO: Account Balance End. [2025-03-09 12:21:05] Production.ERROR: done [2025-03-09 12:21:05] Production.ERROR: CronJobId end 12 [2025-03-09 12:21:05] Production.INFO: ==16723== Releasing lock... [2025-03-09 12:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:21:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:21:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:21:06 [end_date_ymd] => 2025-03-09 12:21:06 [RateCDR] => 1 ) [2025-03-09 12:21:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:21:06' and `end` < '2025-03-09 12:21:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:21:12] Production.ERROR: CronJobId end10 [2025-03-09 12:21:12] Production.INFO: ==16721== Releasing lock... [2025-03-09 12:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:21:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:21:14] Production.INFO: call_cost start [2025-03-09 12:21:14] Production.INFO: call_cost end [2025-03-09 12:21:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:21:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:21:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:21:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:21:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:21:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:21:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:21:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:21:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:21:15] Production.INFO: ==16717== Releasing lock... [2025-03-09 12:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:21:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:21:18] Production.INFO: count ==513 [2025-03-09 12:21:18] Production.ERROR: pbx CDR StartTime 2025-03-09 09:21:06 - End Time 2025-03-09 12:21:06 [2025-03-09 12:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642149', 'tblTempUsageDetail_20' ) start [2025-03-09 12:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642149', 'tblTempUsageDetail_20' ) end [2025-03-09 12:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642149', 'tblTempVendorCDR_20' ) start [2025-03-09 12:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642149', 'tblTempVendorCDR_20' ) end [2025-03-09 12:21:18] Production.INFO: ProcessCDR(1,14642149,1,1,2) [2025-03-09 12:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642149', 'tblTempUsageDetail_20' ) start [2025-03-09 12:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642149', 'tblTempUsageDetail_20' ) end [2025-03-09 12:21:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:21:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:21:21] Production.INFO: ==16725== Releasing lock... [2025-03-09 12:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:21:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 16:22:01] Production.INFO: ==16782== Lock acquired, processing the job... [2025-03-09 16:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:22:01] Production.INFO: neon service started [2025-03-09 16:22:01] Production.INFO: neon service started [2025-03-09 16:22:01] Production.INFO: ==16782== Releasing lock... [2025-03-09 16:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:22:02] Production.INFO: ==16784== Lock acquired, processing the job... [2025-03-09 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:22:02] Production.INFO: ==16784== Releasing lock... [2025-03-09 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:22:02] Production.INFO: ==16786== Lock acquired, processing the job... [2025-03-09 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:22:02] Production.INFO: ==16786== Releasing lock... [2025-03-09 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:22:03] Production.INFO: ==16794== Lock acquired, processing the job... [2025-03-09 12:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:22:03] Production.INFO: ==16798== Lock acquired, processing the job... [2025-03-09 12:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:22:03] Production.INFO: Account Balance Start. [2025-03-09 12:22:03] Production.INFO: CreateAllLog Start [2025-03-09 12:22:03] Production.INFO: 117 [2025-03-09 12:22:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:22:03] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 12:22:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:22:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:22:03] Production.INFO: count ==13 [2025-03-09 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-09 12:22:03] Production.INFO: count ==21 [2025-03-09 12:22:03] Production.INFO: Total Charge 0 [2025-03-09 12:22:03] Production.INFO: ==16790== Lock acquired, processing the job... [2025-03-09 12:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:22:03] Production.INFO: ==16788== Lock acquired, processing the job... [2025-03-09 12:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642151') start [2025-03-09 12:22:03] Production.INFO: CreateAllLog End [2025-03-09 12:22:03] Production.INFO: ==16792== Lock acquired, processing the job... [2025-03-09 12:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642151') end [2025-03-09 12:22:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:22:03] Production.INFO: 1 [2025-03-09 12:22:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:22:03] Production.INFO: Account Balance End. [2025-03-09 12:22:03] Production.INFO: ==16798== Releasing lock... [2025-03-09 12:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:22:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:22:03] Production.INFO: ==16796== Lock acquired, processing the job... [2025-03-09 12:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:22:03] Production.ERROR: CronJobId end 12 [2025-03-09 12:22:03] Production.INFO: ==16794== Releasing lock... [2025-03-09 12:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:22:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:22:03] Production.INFO: ==16790== Releasing lock... [2025-03-09 12:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:22:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:22:04] Production.ERROR: done [2025-03-09 12:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:22:04] Production.ERROR: done [2025-03-09 12:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:22:05 [end_date_ymd] => 2025-03-09 12:22:05 [RateCDR] => 1 ) [2025-03-09 12:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:22:05' and `end` < '2025-03-09 12:22:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:22:10] Production.ERROR: CronJobId end10 [2025-03-09 12:22:10] Production.INFO: ==16792== Releasing lock... [2025-03-09 12:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:22:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:22:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:22:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:22:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:22:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:22:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:22:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:22:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:22:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:22:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:22:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:22:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:22:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:22:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:22:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:22:13] Production.INFO: call_cost start [2025-03-09 12:22:13] Production.INFO: call_cost end [2025-03-09 12:22:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:22:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:22:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:22:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:22:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:22:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:22:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:22:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:22:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:22:14] Production.INFO: ==16788== Releasing lock... [2025-03-09 12:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:22:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:22:17] Production.INFO: count ==519 [2025-03-09 12:22:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:22:05 - End Time 2025-03-09 12:22:05 [2025-03-09 12:22:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642154', 'tblTempUsageDetail_20' ) start [2025-03-09 12:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642154', 'tblTempUsageDetail_20' ) end [2025-03-09 12:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642154', 'tblTempVendorCDR_20' ) start [2025-03-09 12:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642154', 'tblTempVendorCDR_20' ) end [2025-03-09 12:22:17] Production.INFO: ProcessCDR(1,14642154,1,1,2) [2025-03-09 12:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642154', 'tblTempUsageDetail_20' ) start [2025-03-09 12:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642154', 'tblTempUsageDetail_20' ) end [2025-03-09 12:22:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:22:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:22:22] Production.INFO: ==16796== Releasing lock... [2025-03-09 12:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:22:22] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 16:23:02] Production.INFO: ==16859== Lock acquired, processing the job... [2025-03-09 16:23:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:23:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:23:02] Production.INFO: neon service started [2025-03-09 16:23:02] Production.INFO: neon service started [2025-03-09 16:23:02] Production.INFO: ==16859== Releasing lock... [2025-03-09 16:23:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:23:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:23:02] Production.INFO: ==16861== Lock acquired, processing the job... [2025-03-09 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:23:02] Production.INFO: ==16863== Lock acquired, processing the job... [2025-03-09 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:23:02] Production.INFO: ==16863== Releasing lock... [2025-03-09 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:23:03] Production.INFO: ==16861== Releasing lock... [2025-03-09 12:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:23:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:23:04] Production.INFO: ==16870== Lock acquired, processing the job... [2025-03-09 12:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:23:04] Production.INFO: ==16876== Lock acquired, processing the job... [2025-03-09 12:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:23:04] Production.INFO: ==16866== Lock acquired, processing the job... [2025-03-09 12:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 12:23:04] Production.INFO: ==16868== Lock acquired, processing the job... [2025-03-09 12:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:23:04] Production.INFO: ==16872== Lock acquired, processing the job... [2025-03-09 12:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:23:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:23:04] Production.INFO: count ==13 [2025-03-09 12:23:04] Production.INFO: ==16874== Lock acquired, processing the job... [2025-03-09 12:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 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-09 12:23:04] Production.INFO: count ==21 [2025-03-09 12:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642155') start [2025-03-09 12:23:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:23:04] Production.INFO: Account Balance Start. [2025-03-09 12:23:04] Production.INFO: CreateAllLog Start [2025-03-09 12:23:04] Production.INFO: 117 [2025-03-09 12:23:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:23:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:23:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:23:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642155') end [2025-03-09 12:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:23:04] Production.INFO: 1 [2025-03-09 12:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:23:04] Production.INFO: Total Charge 0 [2025-03-09 12:23:04] Production.INFO: ==16876== Releasing lock... [2025-03-09 12:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:23:04] Production.INFO: CreateAllLog End [2025-03-09 12:23:04] Production.ERROR: done [2025-03-09 12:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:23:04] Production.INFO: ==16868== Releasing lock... [2025-03-09 12:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:23:04] Production.ERROR: done [2025-03-09 12:23:05] Production.INFO: Account Balance End. [2025-03-09 12:23:05] Production.ERROR: CronJobId end 12 [2025-03-09 12:23:05] Production.INFO: ==16872== Releasing lock... [2025-03-09 12:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:23:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:23:05 [end_date_ymd] => 2025-03-09 12:23:05 [RateCDR] => 1 ) [2025-03-09 12:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:23:05' and `end` < '2025-03-09 12:23:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:23:11] Production.ERROR: CronJobId end10 [2025-03-09 12:23:11] Production.INFO: ==16870== Releasing lock... [2025-03-09 12:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:23:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:23:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:23:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:23:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:23:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:23:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:23:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:23:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:23:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:23:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:23:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:23:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:23:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:23:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:23:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:23:15] Production.INFO: call_cost start [2025-03-09 12:23:15] Production.INFO: call_cost end [2025-03-09 12:23:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:23:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:23:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:23:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:23:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:23:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:23:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:23:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:23:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:23:16] Production.INFO: ==16866== Releasing lock... [2025-03-09 12:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:23:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:23:18] Production.INFO: count ==519 [2025-03-09 12:23:18] Production.ERROR: pbx CDR StartTime 2025-03-09 09:23:05 - End Time 2025-03-09 12:23:05 [2025-03-09 12:23:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642159', 'tblTempUsageDetail_20' ) start [2025-03-09 12:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642159', 'tblTempUsageDetail_20' ) end [2025-03-09 12:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642159', 'tblTempVendorCDR_20' ) start [2025-03-09 12:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642159', 'tblTempVendorCDR_20' ) end [2025-03-09 12:23:18] Production.INFO: ProcessCDR(1,14642159,1,1,2) [2025-03-09 12:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642159', 'tblTempUsageDetail_20' ) start [2025-03-09 12:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642159', 'tblTempUsageDetail_20' ) end [2025-03-09 12:23:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:23:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:23:21] Production.INFO: ==16874== Releasing lock... [2025-03-09 12:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:23:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 16:24:01] Production.INFO: ==16931== Lock acquired, processing the job... [2025-03-09 16:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:24:01] Production.INFO: neon service started [2025-03-09 16:24:01] Production.INFO: neon service started [2025-03-09 16:24:01] Production.INFO: ==16931== Releasing lock... [2025-03-09 16:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:24:01] Production.INFO: ==16933== Lock acquired, processing the job... [2025-03-09 12:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:24:02] Production.INFO: ==16933== Releasing lock... [2025-03-09 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:24:02] Production.INFO: ==16935== Lock acquired, processing the job... [2025-03-09 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:24:02] Production.INFO: ==16935== Releasing lock... [2025-03-09 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:24:03] Production.INFO: ==16948== Lock acquired, processing the job... [2025-03-09 12:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 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-09 12:24:03] Production.INFO: count ==13 [2025-03-09 12:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:24:03] Production.INFO: count ==21 [2025-03-09 12:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642160') start [2025-03-09 12:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642160') end [2025-03-09 12:24:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:24:03] Production.INFO: 1 [2025-03-09 12:24:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:24:03] Production.INFO: ==16946== Lock acquired, processing the job... [2025-03-09 12:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:24:03] Production.INFO: ==16948== Releasing lock... [2025-03-09 12:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:24:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:24:03] Production.INFO: ==16942== Lock acquired, processing the job... [2025-03-09 12:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:24:03] Production.INFO: ==16938== Lock acquired, processing the job... [2025-03-09 12:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:24:03] Production.INFO: ==16940== Lock acquired, processing the job... [2025-03-09 12:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:24:03] Production.INFO: ==16944== Lock acquired, processing the job... [2025-03-09 12:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:24:03] Production.INFO: Account Balance Start. [2025-03-09 12:24:03] Production.INFO: CreateAllLog Start [2025-03-09 12:24:03] Production.INFO: 117 [2025-03-09 12:24:03] Production.ERROR: done [2025-03-09 12:24:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:24:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:24:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:24:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:24:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:24:04] Production.INFO: ==16940== Releasing lock... [2025-03-09 12:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:24:04] Production.ERROR: done [2025-03-09 12:24:04] Production.INFO: Total Charge 0 [2025-03-09 12:24:04] Production.INFO: CreateAllLog End [2025-03-09 12:24:04] Production.INFO: Account Balance End. [2025-03-09 12:24:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:24:04] Production.INFO: ==16944== Releasing lock... [2025-03-09 12:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:24:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:24:04 [end_date_ymd] => 2025-03-09 12:24:04 [RateCDR] => 1 ) [2025-03-09 12:24:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:24:04' and `end` < '2025-03-09 12:24:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:24:12] Production.ERROR: CronJobId end10 [2025-03-09 12:24:12] Production.INFO: ==16942== Releasing lock... [2025-03-09 12:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:24:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:24:15] Production.INFO: call_cost start [2025-03-09 12:24:15] Production.INFO: call_cost end [2025-03-09 12:24:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:24:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:24:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:24:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:24:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:24:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:24:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:24:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:24:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:24:16] Production.INFO: ==16938== Releasing lock... [2025-03-09 12:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:24:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:24:16] Production.INFO: count ==520 [2025-03-09 12:24:16] Production.ERROR: pbx CDR StartTime 2025-03-09 09:24:04 - End Time 2025-03-09 12:24:04 [2025-03-09 12:24:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:24:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642164', 'tblTempUsageDetail_20' ) start [2025-03-09 12:24:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642164', 'tblTempUsageDetail_20' ) end [2025-03-09 12:24:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642164', 'tblTempVendorCDR_20' ) start [2025-03-09 12:24:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642164', 'tblTempVendorCDR_20' ) end [2025-03-09 12:24:16] Production.INFO: ProcessCDR(1,14642164,1,1,2) [2025-03-09 12:24:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642164', 'tblTempUsageDetail_20' ) start [2025-03-09 12:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642164', 'tblTempUsageDetail_20' ) end [2025-03-09 12:24:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:24:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:24:21] Production.INFO: ==16946== Releasing lock... [2025-03-09 12:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:24:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 16:25:01] Production.INFO: ==17002== Lock acquired, processing the job... [2025-03-09 16:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:25:02] Production.INFO: neon service started [2025-03-09 16:25:02] Production.INFO: neon service started [2025-03-09 16:25:02] Production.INFO: ==17002== Releasing lock... [2025-03-09 16:25:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:25:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:25:02] Production.INFO: ==17006== Lock acquired, processing the job... [2025-03-09 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:25:02] Production.INFO: ==17006== Releasing lock... [2025-03-09 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:25:02] Production.INFO: ==17004== Lock acquired, processing the job... [2025-03-09 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:25:02] Production.INFO: ==17004== Releasing lock... [2025-03-09 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:25:03] Production.INFO: ==17010== Lock acquired, processing the job... [2025-03-09 12:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:25:03] Production.INFO: ==17017== Lock acquired, processing the job... [2025-03-09 12:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:25:03] Production.INFO: ==17012== Lock acquired, processing the job... [2025-03-09 12:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:25:03] Production.INFO: ==17008== Lock acquired, processing the job... [2025-03-09 12:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:25:03] Production.INFO: ==17014== Lock acquired, processing the job... [2025-03-09 12:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:25:04] Production.INFO: ==17019== Lock acquired, processing the job... [2025-03-09 12:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:25:04] Production.INFO: Account Balance Start. [2025-03-09 12:25:04] Production.INFO: CreateAllLog Start [2025-03-09 12:25:04] Production.INFO: 117 [2025-03-09 12:25:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:25:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:25:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:25:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:25:04] Production.INFO: Total Charge 0 [2025-03-09 12:25:04] Production.ERROR: done [2025-03-09 12:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:25:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 12:25:04] Production.INFO: count ==13 [2025-03-09 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-09 12:25:04] Production.INFO: ==17010== Releasing lock... [2025-03-09 12:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:25:04] Production.INFO: count ==21 [2025-03-09 12:25:04] Production.ERROR: done [2025-03-09 12:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642168') start [2025-03-09 12:25:04] Production.INFO: Account Balance End. [2025-03-09 12:25:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642168') end [2025-03-09 12:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:25:04] Production.INFO: 1 [2025-03-09 12:25:04] Production.INFO: ==17014== Releasing lock... [2025-03-09 12:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:25:04] Production.INFO: ==17019== Releasing lock... [2025-03-09 12:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:25:05 [end_date_ymd] => 2025-03-09 12:25:05 [RateCDR] => 1 ) [2025-03-09 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-09 09:25:05' and `end` < '2025-03-09 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-09 12:25:12] Production.ERROR: CronJobId end10 [2025-03-09 12:25:12] Production.INFO: ==17012== Releasing lock... [2025-03-09 12:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:25:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:25:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:25:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:25:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:25:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:25:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:25:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:25:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:25:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:25:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:25:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:25:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:25:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:25:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:25:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:25:13] Production.INFO: call_cost start [2025-03-09 12:25:13] Production.INFO: call_cost end [2025-03-09 12:25:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:25:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:25:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:25:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:25:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:25:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:25:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:25:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:25:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:25:14] Production.INFO: ==17008== Releasing lock... [2025-03-09 12:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:25:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:25:17] Production.INFO: count ==523 [2025-03-09 12:25:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:25:05 - End Time 2025-03-09 12:25:05 [2025-03-09 12:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642169', 'tblTempUsageDetail_20' ) start [2025-03-09 12:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642169', 'tblTempUsageDetail_20' ) end [2025-03-09 12:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642169', 'tblTempVendorCDR_20' ) start [2025-03-09 12:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642169', 'tblTempVendorCDR_20' ) end [2025-03-09 12:25:17] Production.INFO: ProcessCDR(1,14642169,1,1,2) [2025-03-09 12:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642169', 'tblTempUsageDetail_20' ) start [2025-03-09 12:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642169', 'tblTempUsageDetail_20' ) end [2025-03-09 12:25:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:25:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:25:21] Production.INFO: ==17017== Releasing lock... [2025-03-09 12:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:25:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 16:26:01] Production.INFO: ==17075== Lock acquired, processing the job... [2025-03-09 16:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:26:01] Production.INFO: neon service started [2025-03-09 16:26:01] Production.INFO: neon service started [2025-03-09 16:26:01] Production.INFO: ==17075== Releasing lock... [2025-03-09 16:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:26:02] Production.INFO: ==17079== Lock acquired, processing the job... [2025-03-09 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:26:02] Production.INFO: ==17077== Lock acquired, processing the job... [2025-03-09 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:26:02] Production.INFO: ==17079== Releasing lock... [2025-03-09 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:26:02] Production.INFO: ==17077== Releasing lock... [2025-03-09 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:26:03] Production.INFO: ==17084== Lock acquired, processing the job... [2025-03-09 12:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:26:03] Production.INFO: ==17082== Lock acquired, processing the job... [2025-03-09 12:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:26:03] Production.INFO: ==17088== Lock acquired, processing the job... [2025-03-09 12:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:26:03] Production.INFO: Account Balance Start. [2025-03-09 12:26:03] Production.INFO: CreateAllLog Start [2025-03-09 12:26:03] Production.INFO: 117 [2025-03-09 12:26:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:26:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:26:03] Production.INFO: ==17086== Lock acquired, processing the job... [2025-03-09 12:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:26:03] Production.INFO: ==17084== Releasing lock... [2025-03-09 12:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:26:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:26:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:26:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:26:03] Production.INFO: Total Charge 0 [2025-03-09 12:26:03] Production.INFO: CreateAllLog End [2025-03-09 12:26:03] Production.INFO: ==17090== Lock acquired, processing the job... [2025-03-09 12:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:26:03] Production.INFO: ==17092== Lock acquired, processing the job... [2025-03-09 12:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:26:03] Production.INFO: Account Balance End. [2025-03-09 12:26:03] Production.ERROR: CronJobId end 12 [2025-03-09 12:26:03] Production.INFO: ==17088== Releasing lock... [2025-03-09 12:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:26:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:26:04] Production.INFO: count ==13 [2025-03-09 12: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-09 12:26:04] Production.INFO: count ==21 [2025-03-09 12:26:04] Production.ERROR: done [2025-03-09 12:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642173') start [2025-03-09 12:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642173') end [2025-03-09 12:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:26:04] Production.INFO: 1 [2025-03-09 12:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:26:04] Production.INFO: ==17092== Releasing lock... [2025-03-09 12:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:26:04] Production.ERROR: done [2025-03-09 12:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:26:05 [end_date_ymd] => 2025-03-09 12:26:05 [RateCDR] => 1 ) [2025-03-09 12:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:26:05' and `end` < '2025-03-09 12:26:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:26:10] Production.ERROR: CronJobId end10 [2025-03-09 12:26:10] Production.INFO: ==17086== Releasing lock... [2025-03-09 12:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:26:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:26:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:26:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:26:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:26:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:26:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:26:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:26:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:26:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:26:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:26:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:26:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:26:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:26:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:26:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:26:13] Production.INFO: call_cost start [2025-03-09 12:26:13] Production.INFO: call_cost end [2025-03-09 12:26:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:26:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:26:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:26:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:26:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:26:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:26:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:26:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:26:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:26:14] Production.INFO: ==17082== Releasing lock... [2025-03-09 12:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:26:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:26:17] Production.INFO: count ==523 [2025-03-09 12:26:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:26:05 - End Time 2025-03-09 12:26:05 [2025-03-09 12:26:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642174', 'tblTempUsageDetail_20' ) start [2025-03-09 12:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642174', 'tblTempUsageDetail_20' ) end [2025-03-09 12:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642174', 'tblTempVendorCDR_20' ) start [2025-03-09 12:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642174', 'tblTempVendorCDR_20' ) end [2025-03-09 12:26:17] Production.INFO: ProcessCDR(1,14642174,1,1,2) [2025-03-09 12:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642174', 'tblTempUsageDetail_20' ) start [2025-03-09 12:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642174', 'tblTempUsageDetail_20' ) end [2025-03-09 12:26:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:26:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:26:20] Production.INFO: ==17090== Releasing lock... [2025-03-09 12:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:26:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 16:27:01] Production.INFO: ==17158== Lock acquired, processing the job... [2025-03-09 16:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:27:01] Production.INFO: neon service started [2025-03-09 16:27:01] Production.INFO: neon service started [2025-03-09 16:27:01] Production.INFO: ==17158== Releasing lock... [2025-03-09 16:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:27:02] Production.INFO: ==17162== Lock acquired, processing the job... [2025-03-09 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:27:02] Production.INFO: ==17162== Releasing lock... [2025-03-09 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:27:02] Production.INFO: ==17160== Lock acquired, processing the job... [2025-03-09 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:27:02] Production.INFO: ==17160== Releasing lock... [2025-03-09 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:27:03] Production.INFO: ==17165== Lock acquired, processing the job... [2025-03-09 12:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:27:03] Production.INFO: ==17167== Lock acquired, processing the job... [2025-03-09 12:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:27:03] Production.INFO: ==17173== Lock acquired, processing the job... [2025-03-09 12:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:27:03] Production.INFO: ==17169== Lock acquired, processing the job... [2025-03-09 12:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:27:03] Production.INFO: ==17171== Lock acquired, processing the job... [2025-03-09 12:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:27:03] Production.INFO: ==17175== Lock acquired, processing the job... [2025-03-09 12:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:27:04] Production.INFO: ==17167== Releasing lock... [2025-03-09 12:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:27:04] Production.INFO: Account Balance Start. [2025-03-09 12:27:04] Production.INFO: CreateAllLog Start [2025-03-09 12:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:27:04] Production.INFO: 117 [2025-03-09 12:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:27:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:27:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:27:04] Production.INFO: count ==13 [2025-03-09 12:27:04] Production.ERROR: done [2025-03-09 12:27:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:27:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:27:04] Production.INFO: count ==21 [2025-03-09 12:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642178') start [2025-03-09 12:27:04] Production.INFO: Total Charge 0 [2025-03-09 12:27:04] Production.INFO: CreateAllLog End [2025-03-09 12:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642178') end [2025-03-09 12:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:27:04] Production.INFO: 1 [2025-03-09 12:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:27:04] Production.ERROR: done [2025-03-09 12:27:04] Production.INFO: ==17175== Releasing lock... [2025-03-09 12:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:27:04] Production.INFO: Account Balance End. [2025-03-09 12:27:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:27:04] Production.INFO: ==17171== Releasing lock... [2025-03-09 12:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:27:05 [end_date_ymd] => 2025-03-09 12:27:05 [RateCDR] => 1 ) [2025-03-09 12:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:27:05' and `end` < '2025-03-09 12:27:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:27:11] Production.ERROR: CronJobId end10 [2025-03-09 12:27:11] Production.INFO: ==17169== Releasing lock... [2025-03-09 12:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:27:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:27:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:27:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:27:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:27:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:27:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:27:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:27:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:27:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:27:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:27:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:27:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:27:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:27:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:27:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:27:13] Production.INFO: call_cost start [2025-03-09 12:27:13] Production.INFO: call_cost end [2025-03-09 12:27:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:27:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:27:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:27:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:27:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:27:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:27:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:27:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:27:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:27:14] Production.INFO: ==17165== Releasing lock... [2025-03-09 12:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:27:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:27:17] Production.INFO: count ==523 [2025-03-09 12:27:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:27:05 - End Time 2025-03-09 12:27:05 [2025-03-09 12:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642179', 'tblTempUsageDetail_20' ) start [2025-03-09 12:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642179', 'tblTempUsageDetail_20' ) end [2025-03-09 12:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642179', 'tblTempVendorCDR_20' ) start [2025-03-09 12:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642179', 'tblTempVendorCDR_20' ) end [2025-03-09 12:27:17] Production.INFO: ProcessCDR(1,14642179,1,1,2) [2025-03-09 12:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:27:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642179', 'tblTempUsageDetail_20' ) start [2025-03-09 12:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642179', 'tblTempUsageDetail_20' ) end [2025-03-09 12:27:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:27:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:27:20] Production.INFO: ==17173== Releasing lock... [2025-03-09 12:27:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:27:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 16:28:02] Production.INFO: ==17244== Lock acquired, processing the job... [2025-03-09 16:28:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:28:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:28:02] Production.INFO: neon service started [2025-03-09 16:28:02] Production.INFO: neon service started [2025-03-09 16:28:02] Production.INFO: ==17244== Releasing lock... [2025-03-09 16:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:28:03] Production.INFO: ==17247== Lock acquired, processing the job... [2025-03-09 12:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:28:03] Production.INFO: ==17249== Lock acquired, processing the job... [2025-03-09 16:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:28:03] Production.INFO: ==17249== Releasing lock... [2025-03-09 16:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:28:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:28:03] Production.INFO: ==17247== Releasing lock... [2025-03-09 12:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:28:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:28:04] Production.INFO: ==17257== Lock acquired, processing the job... [2025-03-09 12:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:28:04] Production.INFO: ==17261== Lock acquired, processing the job... [2025-03-09 12:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:28:04] Production.INFO: Account Balance Start. [2025-03-09 12:28:04] Production.INFO: CreateAllLog Start [2025-03-09 12:28:04] Production.INFO: 117 [2025-03-09 12:28:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:28:04] Production.INFO: ==17251== Lock acquired, processing the job... [2025-03-09 12:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:28:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:28:04] Production.INFO: Total Charge 0 [2025-03-09 12:28:04] Production.INFO: CreateAllLog End [2025-03-09 12:28:04] Production.INFO: ==17253== Lock acquired, processing the job... [2025-03-09 12:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:28:04] Production.INFO: ==17255== Lock acquired, processing the job... [2025-03-09 12:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:28:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:28:04] Production.INFO: ==17259== Lock acquired, processing the job... [2025-03-09 12:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:28:04] Production.INFO: count ==13 [2025-03-09 12:28:04] Production.INFO: Account Balance End. [2025-03-09 12:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:28:04] Production.INFO: count ==21 [2025-03-09 12:28:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:28:04] Production.INFO: ==17257== Releasing lock... [2025-03-09 12:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642181') start [2025-03-09 12:28:05] Production.ERROR: PBX CALL prc_importPBXExtension('14642181') end [2025-03-09 12:28:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:28:05] Production.INFO: 1 [2025-03-09 12:28:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:28:05] Production.INFO: ==17253== Releasing lock... [2025-03-09 12:28:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:28:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:28:05] Production.INFO: ==17261== Releasing lock... [2025-03-09 12:28:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:28:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:28:05] Production.ERROR: done [2025-03-09 12:28:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:28:05] Production.ERROR: done [2025-03-09 12:28:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:28:06 [end_date_ymd] => 2025-03-09 12:28:06 [RateCDR] => 1 ) [2025-03-09 12: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-09 09:28:06' and `end` < '2025-03-09 12: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-09 12:28:12] Production.ERROR: CronJobId end10 [2025-03-09 12:28:12] Production.INFO: ==17255== Releasing lock... [2025-03-09 12:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:28:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:28:15] Production.INFO: call_cost start [2025-03-09 12:28:15] Production.INFO: call_cost end [2025-03-09 12:28:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:28:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:28:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:28:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:28:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:28:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:28:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:28:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:28:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:28:16] Production.INFO: ==17251== Releasing lock... [2025-03-09 12:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:28:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:28:18] Production.INFO: count ==524 [2025-03-09 12:28:18] Production.ERROR: pbx CDR StartTime 2025-03-09 09:28:06 - End Time 2025-03-09 12:28:06 [2025-03-09 12:28:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642184', 'tblTempUsageDetail_20' ) start [2025-03-09 12:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642184', 'tblTempUsageDetail_20' ) end [2025-03-09 12:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642184', 'tblTempVendorCDR_20' ) start [2025-03-09 12:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642184', 'tblTempVendorCDR_20' ) end [2025-03-09 12:28:18] Production.INFO: ProcessCDR(1,14642184,1,1,2) [2025-03-09 12:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642184', 'tblTempUsageDetail_20' ) start [2025-03-09 12:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642184', 'tblTempUsageDetail_20' ) end [2025-03-09 12:28:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:28:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:28:21] Production.INFO: ==17259== Releasing lock... [2025-03-09 12:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:28:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 16:29:01] Production.INFO: ==17337== Lock acquired, processing the job... [2025-03-09 16:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:29:01] Production.INFO: neon service started [2025-03-09 16:29:01] Production.INFO: neon service started [2025-03-09 16:29:01] Production.INFO: ==17337== Releasing lock... [2025-03-09 16:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:29:02] Production.INFO: ==17339== Lock acquired, processing the job... [2025-03-09 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:29:02] Production.INFO: ==17341== Lock acquired, processing the job... [2025-03-09 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:29:02] Production.INFO: ==17341== Releasing lock... [2025-03-09 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:29:02] Production.INFO: ==17339== Releasing lock... [2025-03-09 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:29:03] Production.INFO: ==17352== Lock acquired, processing the job... [2025-03-09 12:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:29:03] Production.INFO: ==17354== Lock acquired, processing the job... [2025-03-09 12:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:29:03] Production.INFO: Account Balance Start. [2025-03-09 12:29:03] Production.INFO: CreateAllLog Start [2025-03-09 12:29:03] Production.INFO: 117 [2025-03-09 12:29:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:29:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:29:03] Production.INFO: Total Charge 0 [2025-03-09 12:29:03] Production.INFO: CreateAllLog End [2025-03-09 12:29:03] Production.INFO: ==17348== Lock acquired, processing the job... [2025-03-09 12:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:29:04] Production.INFO: ==17350== Lock acquired, processing the job... [2025-03-09 12:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:29:04] Production.INFO: ==17346== Lock acquired, processing the job... [2025-03-09 12:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:29:04] Production.INFO: ==17356== Lock acquired, processing the job... [2025-03-09 12:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:29:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:29:04] Production.ERROR: done [2025-03-09 12:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:29:04] Production.INFO: count ==13 [2025-03-09 12:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:29:04] Production.INFO: count ==21 [2025-03-09 12:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642188') start [2025-03-09 12:29:04] Production.ERROR: done [2025-03-09 12:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642188') end [2025-03-09 12:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:29:04] Production.INFO: 1 [2025-03-09 12:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:29:04] Production.INFO: Account Balance End. [2025-03-09 12:29:04] Production.INFO: ==17348== Releasing lock... [2025-03-09 12:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:29:04] Production.INFO: ==17356== Releasing lock... [2025-03-09 12:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:29:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:29:04] Production.INFO: ==17352== Releasing lock... [2025-03-09 12:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:29:05 [end_date_ymd] => 2025-03-09 12:29:05 [RateCDR] => 1 ) [2025-03-09 12:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:29:05' and `end` < '2025-03-09 12:29:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:29:12] Production.ERROR: CronJobId end10 [2025-03-09 12:29:12] Production.INFO: ==17350== Releasing lock... [2025-03-09 12:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:29:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:29:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:29:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:29:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:29:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:29:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:29:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:29:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:29:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:29:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:29:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:29:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:29:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:29:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:29:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:29:14] Production.INFO: call_cost start [2025-03-09 12:29:14] Production.INFO: call_cost end [2025-03-09 12:29:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:29:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:29:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:29:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:29:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:29:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:29:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:29:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:29:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:29:15] Production.INFO: ==17346== Releasing lock... [2025-03-09 12:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:29:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:29:17] Production.INFO: count ==524 [2025-03-09 12:29:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:29:05 - End Time 2025-03-09 12:29:05 [2025-03-09 12:29:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642189', 'tblTempUsageDetail_20' ) start [2025-03-09 12:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642189', 'tblTempUsageDetail_20' ) end [2025-03-09 12:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642189', 'tblTempVendorCDR_20' ) start [2025-03-09 12:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642189', 'tblTempVendorCDR_20' ) end [2025-03-09 12:29:17] Production.INFO: ProcessCDR(1,14642189,1,1,2) [2025-03-09 12:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642189', 'tblTempUsageDetail_20' ) start [2025-03-09 12:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642189', 'tblTempUsageDetail_20' ) end [2025-03-09 12:29:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:29:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:29:21] Production.INFO: ==17354== Releasing lock... [2025-03-09 12:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:29:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 16:30:02] Production.INFO: ==17438== Lock acquired, processing the job... [2025-03-09 16:30:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:30:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:30:02] Production.INFO: neon service started [2025-03-09 16:30:02] Production.INFO: neon service started [2025-03-09 16:30:02] Production.INFO: ==17438== Releasing lock... [2025-03-09 16:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:30:02] Production.INFO: ==17442== Lock acquired, processing the job... [2025-03-09 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:30:02] Production.INFO: ==17442== Releasing lock... [2025-03-09 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:30:02] Production.INFO: ==17440== Lock acquired, processing the job... [2025-03-09 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:30:03] Production.INFO: ==17440== Releasing lock... [2025-03-09 12:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:30:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:30:04] Production.INFO: ==17451== Lock acquired, processing the job... [2025-03-09 12:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:30:04] Production.INFO: ==17455== Lock acquired, processing the job... [2025-03-09 12:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:30:04] Production.INFO: Account Balance Start. [2025-03-09 12:30:04] Production.INFO: CreateAllLog Start [2025-03-09 12:30:04] Production.INFO: 117 [2025-03-09 12:30:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:30:04] Production.INFO: ==17461== Lock acquired, processing the job... [2025-03-09 12:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:30:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:30:04] Production.INFO: ==17447== Lock acquired, processing the job... [2025-03-09 12:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 12:30:04] Production.INFO: Total Charge 0 [2025-03-09 12:30:04] Production.INFO: CreateAllLog End [2025-03-09 12:30:04] Production.INFO: ==17449== Lock acquired, processing the job... [2025-03-09 12:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 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-09 12:30:04] Production.INFO: ==17451== Releasing lock... [2025-03-09 12:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:30:04] Production.INFO: count ==13 [2025-03-09 12:30:04] Production.INFO: ==17453== Lock acquired, processing the job... [2025-03-09 12:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 12:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 12:30:04] Production.ERROR: CronJob PID - 17449 [2025-03-09 12:30:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 12:30:04] Production.ERROR: CronJob ID - 5 [2025-03-09 12:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 12:30:00 [2025-03-09 12:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 12:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 12:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 12:30:04] Production.ERROR: CronJob PID - 17455 [2025-03-09 12:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 12:30:04] Production.ERROR: CronJob ID - 12 [2025-03-09 12:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 12:30:00 [2025-03-09 12:30:04] Production.INFO: count ==21 [2025-03-09 12:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 12:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 12:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 12:30:04] Production.ERROR: CronJob PID - 17461 [2025-03-09 12:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 12:30:04] Production.ERROR: CronJob ID - 19 [2025-03-09 12:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 12:30:00 [2025-03-09 12:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 12:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 12:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642192') start [2025-03-09 12:30:04] Production.INFO: ==17459== Lock acquired, processing the job... [2025-03-09 12:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 12:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:30:04] Production.INFO: ==17457== Lock acquired, processing the job... [2025-03-09 12:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:30:04] Production.INFO: Account Balance End. [2025-03-09 12:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 12:30:04] Production.INFO: ==17447== Releasing lock... [2025-03-09 12:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 12:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 12:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642192') end [2025-03-09 12:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:30:04] Production.INFO: 1 [2025-03-09 12:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:30:05] Production.ERROR: CronJobId end 12 [2025-03-09 12:30:05] Production.INFO: ==17455== Releasing lock... [2025-03-09 12:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:30:05] Production.INFO: ==17461== Releasing lock... [2025-03-09 12:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:30:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:30:05] Production.ERROR: done [2025-03-09 12:30:05] Production.ERROR: done [2025-03-09 12:30:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 12:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642194', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 12:30:05] Production.ERROR: done [2025-03-09 12:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:30:06 [end_date_ymd] => 2025-03-09 12:30:06 [RateCDR] => 1 ) [2025-03-09 12:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:30:06' and `end` < '2025-03-09 12:30:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:30:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642194', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 12:30:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 12:30:10] Production.INFO: ProcessCDR(1,14642194,1,1,2) [2025-03-09 12:30:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14642194,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14642194,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:30:10] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:30:10] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:30:10] Production.INFO: ==17459== Releasing lock... [2025-03-09 12:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 12:30:10] Production.INFO: 26 MB #Memory Used# [2025-03-09 12:30:15] Production.ERROR: CronJobId end10 [2025-03-09 12:30:15] Production.INFO: ==17453== Releasing lock... [2025-03-09 12:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:30:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:30:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:30:17] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:30:17] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:30:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:30:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:30:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:30:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:30:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:30:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:30:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:30:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:30:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:30:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:30:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:30:18] Production.INFO: call_cost start [2025-03-09 12:30:18] Production.INFO: call_cost end [2025-03-09 12:30:18] Production.INFO: count ==524 [2025-03-09 12:30:19] Production.ERROR: pbx CDR StartTime 2025-03-09 09:30:06 - End Time 2025-03-09 12:30:06 [2025-03-09 12:30:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642195', 'tblTempUsageDetail_20' ) start [2025-03-09 12:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642195', 'tblTempUsageDetail_20' ) end [2025-03-09 12:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642195', 'tblTempVendorCDR_20' ) start [2025-03-09 12:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642195', 'tblTempVendorCDR_20' ) end [2025-03-09 12:30:19] Production.INFO: ProcessCDR(1,14642195,1,1,2) [2025-03-09 12:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:30:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:30:19] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:30:19] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:30:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:30:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:30:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:30:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:30:19] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:30:19] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:30:19] Production.INFO: ==17449== Releasing lock... [2025-03-09 12:30:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:30:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642195', 'tblTempUsageDetail_20' ) start [2025-03-09 12:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642195', 'tblTempUsageDetail_20' ) end [2025-03-09 12:30:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:30:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:30:22] Production.INFO: ==17457== Releasing lock... [2025-03-09 12:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:30:22] Production.INFO: 32.5 MB #Memory Used# [2025-03-09 16:31:01] Production.INFO: ==17544== Lock acquired, processing the job... [2025-03-09 16:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:31:01] Production.INFO: neon service started [2025-03-09 16:31:01] Production.INFO: neon service started [2025-03-09 16:31:01] Production.INFO: ==17544== Releasing lock... [2025-03-09 16:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:31:02] Production.INFO: ==17547== Lock acquired, processing the job... [2025-03-09 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:31:02] Production.INFO: ==17547== Releasing lock... [2025-03-09 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:31:02] Production.INFO: ==17549== Lock acquired, processing the job... [2025-03-09 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:31:02] Production.INFO: ==17549== Releasing lock... [2025-03-09 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:31:03] Production.INFO: ==17555== Lock acquired, processing the job... [2025-03-09 12:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:31:03] Production.INFO: ==17561== Lock acquired, processing the job... [2025-03-09 12:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:31:03] Production.INFO: count ==13 [2025-03-09 12:31:03] Production.INFO: ==17551== Lock acquired, processing the job... [2025-03-09 12:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:31:03] Production.INFO: ==17553== Lock acquired, processing the job... [2025-03-09 12:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:31:03] Production.INFO: count ==21 [2025-03-09 12:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642196') start [2025-03-09 12:31:03] Production.INFO: ==17557== Lock acquired, processing the job... [2025-03-09 12:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642196') end [2025-03-09 12:31:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:31:03] Production.INFO: 1 [2025-03-09 12:31:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:31:03] Production.INFO: ==17559== Lock acquired, processing the job... [2025-03-09 12:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:31:03] Production.INFO: ==17561== Releasing lock... [2025-03-09 12:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:31:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:31:04] Production.INFO: Account Balance Start. [2025-03-09 12:31:04] Production.INFO: CreateAllLog Start [2025-03-09 12:31:04] Production.INFO: 117 [2025-03-09 12:31:04] Production.INFO: ==17553== Releasing lock... [2025-03-09 12:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:31:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:31:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:31:04] Production.ERROR: done [2025-03-09 12:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:31:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:31:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:31:04] Production.INFO: Total Charge 0 [2025-03-09 12:31:04] Production.INFO: CreateAllLog End [2025-03-09 12:31:04] Production.ERROR: done [2025-03-09 12:31:04] Production.INFO: Account Balance End. [2025-03-09 12:31:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:31:04] Production.INFO: ==17557== Releasing lock... [2025-03-09 12:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:31:05 [end_date_ymd] => 2025-03-09 12:31:05 [RateCDR] => 1 ) [2025-03-09 12:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:31:05' and `end` < '2025-03-09 12:31:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:31:11] Production.ERROR: CronJobId end10 [2025-03-09 12:31:11] Production.INFO: ==17555== Releasing lock... [2025-03-09 12:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:31:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:31:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:31:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:31:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:31:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:31:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:31:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:31:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:31:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:31:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:31:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:31:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:31:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:31:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:31:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:31:14] Production.INFO: call_cost start [2025-03-09 12:31:14] Production.INFO: call_cost end [2025-03-09 12:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:31:15] Production.INFO: ==17551== Releasing lock... [2025-03-09 12:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:31:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:31:17] Production.INFO: count ==530 [2025-03-09 12:31:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:31:05 - End Time 2025-03-09 12:31:05 [2025-03-09 12:31:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642200', 'tblTempUsageDetail_20' ) start [2025-03-09 12:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642200', 'tblTempUsageDetail_20' ) end [2025-03-09 12:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642200', 'tblTempVendorCDR_20' ) start [2025-03-09 12:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642200', 'tblTempVendorCDR_20' ) end [2025-03-09 12:31:17] Production.INFO: ProcessCDR(1,14642200,1,1,2) [2025-03-09 12:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642200', 'tblTempUsageDetail_20' ) start [2025-03-09 12:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642200', 'tblTempUsageDetail_20' ) end [2025-03-09 12:31:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:31:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:31:22] Production.INFO: ==17559== Releasing lock... [2025-03-09 12:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:31:22] Production.INFO: 32 MB #Memory Used# [2025-03-09 16:32:02] Production.INFO: ==17689== Lock acquired, processing the job... [2025-03-09 16:32:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:32:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:32:02] Production.INFO: neon service started [2025-03-09 16:32:02] Production.INFO: neon service started [2025-03-09 16:32:02] Production.INFO: ==17689== Releasing lock... [2025-03-09 16:32:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:32:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:32:02] Production.INFO: ==17693== Lock acquired, processing the job... [2025-03-09 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:32:02] Production.INFO: ==17693== Releasing lock... [2025-03-09 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:32:02] Production.INFO: ==17691== Lock acquired, processing the job... [2025-03-09 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:32:03] Production.INFO: ==17691== Releasing lock... [2025-03-09 12:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:32:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:32:04] Production.INFO: ==17698== Lock acquired, processing the job... [2025-03-09 12:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:32:04] Production.INFO: ==17696== Lock acquired, processing the job... [2025-03-09 12:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:32:04] Production.INFO: ==17704== Lock acquired, processing the job... [2025-03-09 12:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:32:04] Production.INFO: ==17700== Lock acquired, processing the job... [2025-03-09 12:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:32:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:32:04] Production.INFO: ==17702== Lock acquired, processing the job... [2025-03-09 12:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:32:04] Production.INFO: ==17706== Lock acquired, processing the job... [2025-03-09 12:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:32:04] Production.INFO: ==17698== Releasing lock... [2025-03-09 12:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:32:04] Production.INFO: Account Balance Start. [2025-03-09 12:32:04] Production.INFO: CreateAllLog Start [2025-03-09 12:32:04] Production.INFO: 117 [2025-03-09 12:32:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:32:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:32:04] Production.INFO: Total Charge 0 [2025-03-09 12:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:32:04] Production.INFO: CreateAllLog End [2025-03-09 12:32:04] Production.ERROR: done [2025-03-09 12:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:32:04] Production.INFO: count ==13 [2025-03-09 12:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:32:04] Production.INFO: count ==21 [2025-03-09 12:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642204') start [2025-03-09 12:32:04] Production.ERROR: done [2025-03-09 12:32:05] Production.ERROR: PBX CALL prc_importPBXExtension('14642204') end [2025-03-09 12:32:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:32:05] Production.INFO: 1 [2025-03-09 12:32:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:32:05] Production.INFO: Account Balance End. [2025-03-09 12:32:05] Production.ERROR: CronJobId end 12 [2025-03-09 12:32:05] Production.INFO: ==17702== Releasing lock... [2025-03-09 12:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:32:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:32:05] Production.INFO: ==17706== Releasing lock... [2025-03-09 12:32:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:32:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:32:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:32:06 [end_date_ymd] => 2025-03-09 12:32:06 [RateCDR] => 1 ) [2025-03-09 12: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-09 09:32:06' and `end` < '2025-03-09 12: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-09 12:32:13] Production.ERROR: CronJobId end10 [2025-03-09 12:32:13] Production.INFO: ==17700== Releasing lock... [2025-03-09 12:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:32:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:32:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:32:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:32:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:32:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:32:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:32:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:32:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:32:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:32:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:32:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:32:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:32:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:32:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:32:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:32:16] Production.INFO: call_cost start [2025-03-09 12:32:16] Production.INFO: call_cost end [2025-03-09 12:32:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:32:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:32:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:32:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:32:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:32:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:32:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:32:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:32:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:32:17] Production.INFO: ==17696== Releasing lock... [2025-03-09 12:32:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:32:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:32:18] Production.INFO: count ==532 [2025-03-09 12:32:18] Production.ERROR: pbx CDR StartTime 2025-03-09 09:32:06 - End Time 2025-03-09 12:32:06 [2025-03-09 12:32:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642205', 'tblTempUsageDetail_20' ) start [2025-03-09 12:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642205', 'tblTempUsageDetail_20' ) end [2025-03-09 12:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642205', 'tblTempVendorCDR_20' ) start [2025-03-09 12:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642205', 'tblTempVendorCDR_20' ) end [2025-03-09 12:32:18] Production.INFO: ProcessCDR(1,14642205,1,1,2) [2025-03-09 12:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642205', 'tblTempUsageDetail_20' ) start [2025-03-09 12:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642205', 'tblTempUsageDetail_20' ) end [2025-03-09 12:32:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:32:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:32:23] Production.INFO: ==17704== Releasing lock... [2025-03-09 12:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:32:23] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 16:33:01] Production.INFO: ==17797== Lock acquired, processing the job... [2025-03-09 16:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:33:01] Production.INFO: neon service started [2025-03-09 16:33:01] Production.INFO: neon service started [2025-03-09 16:33:01] Production.INFO: ==17797== Releasing lock... [2025-03-09 16:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:33:02] Production.INFO: ==17801== Lock acquired, processing the job... [2025-03-09 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:33:02] Production.INFO: ==17799== Lock acquired, processing the job... [2025-03-09 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:33:02] Production.INFO: ==17801== Releasing lock... [2025-03-09 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:33:02] Production.INFO: ==17799== Releasing lock... [2025-03-09 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:33:03] Production.INFO: ==17808== Lock acquired, processing the job... [2025-03-09 12:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:33:03] Production.INFO: ==17810== Lock acquired, processing the job... [2025-03-09 12:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:33:03] Production.INFO: ==17812== Lock acquired, processing the job... [2025-03-09 12:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:33:03] Production.INFO: Account Balance Start. [2025-03-09 12:33:03] Production.INFO: CreateAllLog Start [2025-03-09 12:33:03] Production.INFO: 117 [2025-03-09 12:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:33:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:33:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:33:03] Production.INFO: ==17804== Lock acquired, processing the job... [2025-03-09 12:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:33:03] Production.INFO: ==17806== Lock acquired, processing the job... [2025-03-09 12:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:33:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:33:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:33:03] Production.INFO: Total Charge 0 [2025-03-09 12:33:03] Production.INFO: CreateAllLog End [2025-03-09 12:33:03] Production.INFO: ==17814== Lock acquired, processing the job... [2025-03-09 12:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:33:04] Production.INFO: Account Balance End. [2025-03-09 12:33:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:33:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:33:04] Production.INFO: ==17810== Releasing lock... [2025-03-09 12:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:33:04] Production.ERROR: done [2025-03-09 12:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:33:04] Production.INFO: count ==13 [2025-03-09 12:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:33:04] Production.INFO: count ==21 [2025-03-09 12:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642209') start [2025-03-09 12:33:04] Production.INFO: ==17806== Releasing lock... [2025-03-09 12:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:33:04] Production.ERROR: done [2025-03-09 12:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642209') end [2025-03-09 12:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:33:04] Production.INFO: 1 [2025-03-09 12:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:33:04] Production.INFO: ==17814== Releasing lock... [2025-03-09 12:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:33:05 [end_date_ymd] => 2025-03-09 12:33:05 [RateCDR] => 1 ) [2025-03-09 12:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:33:05' and `end` < '2025-03-09 12:33:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:33:12] Production.ERROR: CronJobId end10 [2025-03-09 12:33:12] Production.INFO: ==17808== Releasing lock... [2025-03-09 12:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:33:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:33:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:33:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:33:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:33:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:33:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:33:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:33:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:33:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:33:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:33:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:33:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:33:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:33:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:33:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:33:15] Production.INFO: call_cost start [2025-03-09 12:33:15] Production.INFO: call_cost end [2025-03-09 12:33:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:33:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:33:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:33:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:33:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:33:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:33:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:33:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:33:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:33:16] Production.INFO: ==17804== Releasing lock... [2025-03-09 12:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:33:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:33:17] Production.INFO: count ==532 [2025-03-09 12:33:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:33:05 - End Time 2025-03-09 12:33:05 [2025-03-09 12:33:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642210', 'tblTempUsageDetail_20' ) start [2025-03-09 12:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642210', 'tblTempUsageDetail_20' ) end [2025-03-09 12:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642210', 'tblTempVendorCDR_20' ) start [2025-03-09 12:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642210', 'tblTempVendorCDR_20' ) end [2025-03-09 12:33:17] Production.INFO: ProcessCDR(1,14642210,1,1,2) [2025-03-09 12:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642210', 'tblTempUsageDetail_20' ) start [2025-03-09 12:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642210', 'tblTempUsageDetail_20' ) end [2025-03-09 12:33:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:33:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:33:21] Production.INFO: ==17812== Releasing lock... [2025-03-09 12:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:33:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-09 16:34:02] Production.INFO: ==17905== Lock acquired, processing the job... [2025-03-09 16:34:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:34:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:34:02] Production.INFO: neon service started [2025-03-09 16:34:02] Production.INFO: neon service started [2025-03-09 16:34:02] Production.INFO: ==17905== Releasing lock... [2025-03-09 16:34:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:34:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:34:02] Production.INFO: ==17909== Lock acquired, processing the job... [2025-03-09 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:34:02] Production.INFO: ==17909== Releasing lock... [2025-03-09 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:34:02] Production.INFO: ==17907== Lock acquired, processing the job... [2025-03-09 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:34:03] Production.INFO: ==17907== Releasing lock... [2025-03-09 12:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:34:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:34:04] Production.INFO: ==17914== Lock acquired, processing the job... [2025-03-09 12:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:34:04] Production.INFO: ==17920== Lock acquired, processing the job... [2025-03-09 12:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:34:04] Production.INFO: ==17918== Lock acquired, processing the job... [2025-03-09 12:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:34:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:34:04] Production.INFO: Account Balance Start. [2025-03-09 12:34:04] Production.INFO: CreateAllLog Start [2025-03-09 12:34:04] Production.INFO: 117 [2025-03-09 12:34:04] Production.INFO: ==17916== Lock acquired, processing the job... [2025-03-09 12:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:34:04] Production.INFO: ==17922== Lock acquired, processing the job... [2025-03-09 12:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:34:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:34:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:34:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:34:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:34:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:34:04] Production.INFO: Total Charge 0 [2025-03-09 12:34:04] Production.INFO: ==17924== Lock acquired, processing the job... [2025-03-09 12:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:34:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 12:34:04] Production.INFO: count ==13 [2025-03-09 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-09 12:34:04] Production.INFO: count ==21 [2025-03-09 12:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642214') start [2025-03-09 12:34:04] Production.INFO: ==17916== Releasing lock... [2025-03-09 12:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:34:04] Production.ERROR: done [2025-03-09 12:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642214') end [2025-03-09 12:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:34:04] Production.INFO: 1 [2025-03-09 12:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:34:05] Production.INFO: ==17924== Releasing lock... [2025-03-09 12:34:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:34:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:34:05] Production.ERROR: done [2025-03-09 12:34:05] Production.INFO: Account Balance End. [2025-03-09 12:34:05] Production.ERROR: CronJobId end 12 [2025-03-09 12:34:05] Production.INFO: ==17920== Releasing lock... [2025-03-09 12:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:34:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:34:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:34:06 [end_date_ymd] => 2025-03-09 12:34:06 [RateCDR] => 1 ) [2025-03-09 12: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-09 09:34:06' and `end` < '2025-03-09 12: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-09 12:34:13] Production.ERROR: CronJobId end10 [2025-03-09 12:34:13] Production.INFO: ==17918== Releasing lock... [2025-03-09 12:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:34:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:34:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:34:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:34:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:34:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:34:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:34:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:34:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:34:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:34:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:34:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:34:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:34:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:34:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:34:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:34:16] Production.INFO: call_cost start [2025-03-09 12:34:16] Production.INFO: call_cost end [2025-03-09 12:34:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:34:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:34:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:34:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:34:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:34:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:34:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:34:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:34:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:34:17] Production.INFO: ==17914== Releasing lock... [2025-03-09 12:34:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:34:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:34:18] Production.INFO: count ==536 [2025-03-09 12:34:18] Production.ERROR: pbx CDR StartTime 2025-03-09 09:34:06 - End Time 2025-03-09 12:34:06 [2025-03-09 12:34:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642215', 'tblTempUsageDetail_20' ) start [2025-03-09 12:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642215', 'tblTempUsageDetail_20' ) end [2025-03-09 12:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642215', 'tblTempVendorCDR_20' ) start [2025-03-09 12:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642215', 'tblTempVendorCDR_20' ) end [2025-03-09 12:34:18] Production.INFO: ProcessCDR(1,14642215,1,1,2) [2025-03-09 12:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642215', 'tblTempUsageDetail_20' ) start [2025-03-09 12:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642215', 'tblTempUsageDetail_20' ) end [2025-03-09 12:34:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:34:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:34:21] Production.INFO: ==17922== Releasing lock... [2025-03-09 12:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:34:21] Production.INFO: 33 MB #Memory Used# [2025-03-09 16:35:01] Production.INFO: ==18008== Lock acquired, processing the job... [2025-03-09 16:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:35:01] Production.INFO: neon service started [2025-03-09 16:35:01] Production.INFO: neon service started [2025-03-09 16:35:01] Production.INFO: ==18008== Releasing lock... [2025-03-09 16:35:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:35:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:35:02] Production.INFO: ==18010== Lock acquired, processing the job... [2025-03-09 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:35:02] Production.INFO: ==18010== Releasing lock... [2025-03-09 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:35:02] Production.INFO: ==18012== Lock acquired, processing the job... [2025-03-09 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:35:02] Production.INFO: ==18012== Releasing lock... [2025-03-09 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:35:03] Production.INFO: ==18016== Lock acquired, processing the job... [2025-03-09 12:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:35:03] Production.INFO: ==18022== Lock acquired, processing the job... [2025-03-09 12:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:35:03] Production.INFO: ==18014== Lock acquired, processing the job... [2025-03-09 12:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:35:03] Production.INFO: ==18018== Lock acquired, processing the job... [2025-03-09 12:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:35:03] Production.INFO: ==18020== Lock acquired, processing the job... [2025-03-09 12:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:35:03] Production.INFO: ==18024== Lock acquired, processing the job... [2025-03-09 12:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:35:03] Production.INFO: Account Balance Start. [2025-03-09 12:35:03] Production.INFO: CreateAllLog Start [2025-03-09 12:35:03] Production.INFO: 117 [2025-03-09 12:35:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:35:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:35:03] Production.INFO: count ==13 [2025-03-09 12:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:35:03] Production.INFO: count ==21 [2025-03-09 12:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642219') start [2025-03-09 12:35:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:35:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:35:03] Production.INFO: Total Charge 0 [2025-03-09 12:35:03] Production.INFO: ==18016== Releasing lock... [2025-03-09 12:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:35:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:35:03] Production.INFO: CreateAllLog End [2025-03-09 12:35:03] Production.ERROR: done [2025-03-09 12:35:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642219') end [2025-03-09 12:35:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:35:03] Production.INFO: 1 [2025-03-09 12:35:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:35:04] Production.INFO: ==18024== Releasing lock... [2025-03-09 12:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:35:04] Production.ERROR: done [2025-03-09 12:35:04] Production.INFO: Account Balance End. [2025-03-09 12:35:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:35:04] Production.INFO: ==18020== Releasing lock... [2025-03-09 12:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:35:05 [end_date_ymd] => 2025-03-09 12:35:05 [RateCDR] => 1 ) [2025-03-09 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-09 09:35:05' and `end` < '2025-03-09 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-09 12:35:12] Production.ERROR: CronJobId end10 [2025-03-09 12:35:12] Production.INFO: ==18018== Releasing lock... [2025-03-09 12:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:35:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:35:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:35:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:35:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:35:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:35:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:35:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:35:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:35:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:35:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:35:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:35:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:35:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:35:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:35:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:35:14] Production.INFO: call_cost start [2025-03-09 12:35:14] Production.INFO: call_cost end [2025-03-09 12:35:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:35:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:35:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:35:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:35:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:35:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:35:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:35:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:35:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:35:15] Production.INFO: ==18014== Releasing lock... [2025-03-09 12:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:35:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:35:17] Production.INFO: count ==550 [2025-03-09 12:35:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:35:05 - End Time 2025-03-09 12:35:05 [2025-03-09 12:35:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642220', 'tblTempUsageDetail_20' ) start [2025-03-09 12:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642220', 'tblTempUsageDetail_20' ) end [2025-03-09 12:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642220', 'tblTempVendorCDR_20' ) start [2025-03-09 12:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642220', 'tblTempVendorCDR_20' ) end [2025-03-09 12:35:17] Production.INFO: ProcessCDR(1,14642220,1,1,2) [2025-03-09 12:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642220', 'tblTempUsageDetail_20' ) start [2025-03-09 12:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642220', 'tblTempUsageDetail_20' ) end [2025-03-09 12:35:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:35:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:35:20] Production.INFO: ==18022== Releasing lock... [2025-03-09 12:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:35:20] Production.INFO: 33 MB #Memory Used# [2025-03-09 16:36:02] Production.INFO: ==18114== Lock acquired, processing the job... [2025-03-09 16:36:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:36:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:36:02] Production.INFO: neon service started [2025-03-09 16:36:02] Production.INFO: neon service started [2025-03-09 16:36:02] Production.INFO: ==18114== Releasing lock... [2025-03-09 16:36:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:36:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:36:02] Production.INFO: ==18120== Lock acquired, processing the job... [2025-03-09 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:36:02] Production.INFO: ==18120== Releasing lock... [2025-03-09 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:36:02] Production.INFO: ==18118== Lock acquired, processing the job... [2025-03-09 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:36:03] Production.INFO: ==18118== Releasing lock... [2025-03-09 12:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:36:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:36:03] Production.INFO: ==18123== Lock acquired, processing the job... [2025-03-09 12:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:36:03] Production.INFO: ==18125== Lock acquired, processing the job... [2025-03-09 12:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:36:03] Production.INFO: ==18131== Lock acquired, processing the job... [2025-03-09 12:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:36:04] Production.INFO: ==18127== Lock acquired, processing the job... [2025-03-09 12:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:36:04] Production.INFO: ==18133== Lock acquired, processing the job... [2025-03-09 12:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:36:04] Production.INFO: ==18129== Lock acquired, processing the job... [2025-03-09 12:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:36:04] Production.ERROR: done [2025-03-09 12:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:36:04] Production.INFO: ==18125== Releasing lock... [2025-03-09 12:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:36:04] Production.INFO: Account Balance Start. [2025-03-09 12:36:04] Production.INFO: CreateAllLog Start [2025-03-09 12:36:04] Production.INFO: 117 [2025-03-09 12:36:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:36:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:36:04] Production.INFO: count ==13 [2025-03-09 12:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:36:04] Production.INFO: count ==21 [2025-03-09 12:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642224') start [2025-03-09 12:36:04] Production.ERROR: done [2025-03-09 12:36:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:36:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:36:04] Production.INFO: Total Charge 0 [2025-03-09 12:36:04] Production.INFO: CreateAllLog End [2025-03-09 12:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642224') end [2025-03-09 12:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:36:04] Production.INFO: 1 [2025-03-09 12:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:36:04] Production.INFO: ==18133== Releasing lock... [2025-03-09 12:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:36:04] Production.INFO: Account Balance End. [2025-03-09 12:36:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:36:04] Production.INFO: ==18129== Releasing lock... [2025-03-09 12:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:36:05 [end_date_ymd] => 2025-03-09 12:36:05 [RateCDR] => 1 ) [2025-03-09 12:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:36:05' and `end` < '2025-03-09 12:36:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:36:13] Production.ERROR: CronJobId end10 [2025-03-09 12:36:13] Production.INFO: ==18127== Releasing lock... [2025-03-09 12:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:36:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:36:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:36:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:36:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:36:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:36:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:36:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:36:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:36:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:36:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:36:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:36:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:36:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:36:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:36:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:36:15] Production.INFO: call_cost start [2025-03-09 12:36:15] Production.INFO: call_cost end [2025-03-09 12:36:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:36:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:36:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:36:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:36:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:36:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:36:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:36:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:36:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:36:16] Production.INFO: ==18123== Releasing lock... [2025-03-09 12:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:36:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:36:17] Production.INFO: count ==549 [2025-03-09 12:36:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:36:05 - End Time 2025-03-09 12:36:05 [2025-03-09 12:36:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642225', 'tblTempUsageDetail_20' ) start [2025-03-09 12:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642225', 'tblTempUsageDetail_20' ) end [2025-03-09 12:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642225', 'tblTempVendorCDR_20' ) start [2025-03-09 12:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642225', 'tblTempVendorCDR_20' ) end [2025-03-09 12:36:17] Production.INFO: ProcessCDR(1,14642225,1,1,2) [2025-03-09 12:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642225', 'tblTempUsageDetail_20' ) start [2025-03-09 12:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642225', 'tblTempUsageDetail_20' ) end [2025-03-09 12:36:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:36:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:36:22] Production.INFO: ==18131== Releasing lock... [2025-03-09 12:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:36:22] Production.INFO: 33 MB #Memory Used# [2025-03-09 16:37:01] Production.INFO: ==18229== Lock acquired, processing the job... [2025-03-09 16:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:37:01] Production.INFO: neon service started [2025-03-09 16:37:01] Production.INFO: neon service started [2025-03-09 16:37:01] Production.INFO: ==18229== Releasing lock... [2025-03-09 16:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:37:01] Production.INFO: ==18231== Lock acquired, processing the job... [2025-03-09 12:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:37:02] Production.INFO: ==18231== Releasing lock... [2025-03-09 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:37:02] Production.INFO: ==18233== Lock acquired, processing the job... [2025-03-09 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:37:02] Production.INFO: ==18233== Releasing lock... [2025-03-09 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:37:03] Production.INFO: ==18239== Lock acquired, processing the job... [2025-03-09 12:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:37:03] Production.INFO: ==18245== Lock acquired, processing the job... [2025-03-09 12:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:37:03] Production.INFO: ==18237== Lock acquired, processing the job... [2025-03-09 12:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:37:03] Production.INFO: ==18235== Lock acquired, processing the job... [2025-03-09 12:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:37:03] Production.INFO: count ==13 [2025-03-09 12:37:03] Production.INFO: ==18241== Lock acquired, processing the job... [2025-03-09 12:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:37:03] Production.INFO: ==18243== Lock acquired, processing the job... [2025-03-09 12:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:37:03] Production.INFO: count ==21 [2025-03-09 12:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642226') start [2025-03-09 12:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642226') end [2025-03-09 12:37:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:37:03] Production.INFO: 1 [2025-03-09 12:37:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:37:03] Production.INFO: ==18245== Releasing lock... [2025-03-09 12:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:37:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:37:03] Production.INFO: Account Balance Start. [2025-03-09 12:37:03] Production.INFO: CreateAllLog Start [2025-03-09 12:37:03] Production.INFO: 117 [2025-03-09 12:37:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:37:04] Production.ERROR: done [2025-03-09 12:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:37:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:37:04] Production.INFO: Total Charge 0 [2025-03-09 12:37:04] Production.INFO: CreateAllLog End [2025-03-09 12:37:04] Production.ERROR: done [2025-03-09 12:37:04] Production.INFO: ==18237== Releasing lock... [2025-03-09 12:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:37:04] Production.INFO: Account Balance End. [2025-03-09 12:37:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:37:04] Production.INFO: ==18241== Releasing lock... [2025-03-09 12:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:37:05 [end_date_ymd] => 2025-03-09 12:37:05 [RateCDR] => 1 ) [2025-03-09 12:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:37:05' and `end` < '2025-03-09 12:37:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:37:12] Production.ERROR: CronJobId end10 [2025-03-09 12:37:12] Production.INFO: ==18239== Releasing lock... [2025-03-09 12:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:37:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:37:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:37:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:37:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:37:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:37:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:37:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:37:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:37:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:37:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:37:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:37:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:37:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:37:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:37:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:37:15] Production.INFO: call_cost start [2025-03-09 12:37:15] Production.INFO: call_cost end [2025-03-09 12:37:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:37:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:37:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:37:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:37:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:37:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:37:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:37:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:37:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:37:16] Production.INFO: ==18235== Releasing lock... [2025-03-09 12:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:37:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:37:17] Production.INFO: count ==549 [2025-03-09 12:37:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:37:05 - End Time 2025-03-09 12:37:05 [2025-03-09 12:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642230', 'tblTempUsageDetail_20' ) start [2025-03-09 12:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642230', 'tblTempUsageDetail_20' ) end [2025-03-09 12:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642230', 'tblTempVendorCDR_20' ) start [2025-03-09 12:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642230', 'tblTempVendorCDR_20' ) end [2025-03-09 12:37:17] Production.INFO: ProcessCDR(1,14642230,1,1,2) [2025-03-09 12:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642230', 'tblTempUsageDetail_20' ) start [2025-03-09 12:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642230', 'tblTempUsageDetail_20' ) end [2025-03-09 12:37:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:37:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:37:20] Production.INFO: ==18243== Releasing lock... [2025-03-09 12:37:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:37:20] Production.INFO: 33 MB #Memory Used# [2025-03-09 16:38:02] Production.INFO: ==18344== Lock acquired, processing the job... [2025-03-09 16:38:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:38:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:38:02] Production.INFO: neon service started [2025-03-09 16:38:02] Production.INFO: neon service started [2025-03-09 16:38:02] Production.INFO: ==18344== Releasing lock... [2025-03-09 16:38:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:38:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:38:02] Production.INFO: ==18346== Lock acquired, processing the job... [2025-03-09 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:38:02] Production.INFO: ==18348== Lock acquired, processing the job... [2025-03-09 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:38:02] Production.INFO: ==18348== Releasing lock... [2025-03-09 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:38:03] Production.INFO: ==18346== Releasing lock... [2025-03-09 12:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:38:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:38:03] Production.INFO: ==18355== Lock acquired, processing the job... [2025-03-09 12:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:38:03] Production.INFO: ==18351== Lock acquired, processing the job... [2025-03-09 12:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:38:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:38:04] Production.INFO: ==18353== Lock acquired, processing the job... [2025-03-09 12:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:38:04] Production.INFO: ==18361== Lock acquired, processing the job... [2025-03-09 12:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:38:04] Production.INFO: ==18357== Lock acquired, processing the job... [2025-03-09 12:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:38:04] Production.INFO: ==18359== Lock acquired, processing the job... [2025-03-09 12:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:38:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:38:04] Production.INFO: count ==13 [2025-03-09 12:38:04] Production.INFO: Account Balance Start. [2025-03-09 12:38:04] Production.INFO: CreateAllLog Start [2025-03-09 12:38:04] Production.INFO: 117 [2025-03-09 12:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:38:04] Production.INFO: count ==21 [2025-03-09 12:38:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642232') start [2025-03-09 12:38:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:38:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:38:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:38:04] Production.INFO: Total Charge 0 [2025-03-09 12:38:04] Production.INFO: CreateAllLog End [2025-03-09 12:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642232') end [2025-03-09 12:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:38:04] Production.INFO: 1 [2025-03-09 12:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:38:04] Production.ERROR: done [2025-03-09 12:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:38:04] Production.INFO: Account Balance End. [2025-03-09 12:38:04] Production.INFO: ==18361== Releasing lock... [2025-03-09 12:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:38:04] Production.INFO: ==18353== Releasing lock... [2025-03-09 12:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:38:04] Production.ERROR: done [2025-03-09 12:38:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:38:04] Production.INFO: ==18357== Releasing lock... [2025-03-09 12:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:38:05 [end_date_ymd] => 2025-03-09 12:38:05 [RateCDR] => 1 ) [2025-03-09 12:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:38:05' and `end` < '2025-03-09 12:38:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:38:12] Production.ERROR: CronJobId end10 [2025-03-09 12:38:12] Production.INFO: ==18355== Releasing lock... [2025-03-09 12:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:38:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:38:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:38:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:38:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:38:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:38:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:38:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:38:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:38:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:38:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:38:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:38:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:38:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:38:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:38:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:38:15] Production.INFO: call_cost start [2025-03-09 12:38:15] Production.INFO: call_cost end [2025-03-09 12:38:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:38:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:38:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:38:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:38:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:38:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:38:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:38:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:38:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:38:16] Production.INFO: ==18351== Releasing lock... [2025-03-09 12:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:38:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:38:17] Production.INFO: count ==549 [2025-03-09 12:38:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:38:05 - End Time 2025-03-09 12:38:05 [2025-03-09 12:38:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642235', 'tblTempUsageDetail_20' ) start [2025-03-09 12:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642235', 'tblTempUsageDetail_20' ) end [2025-03-09 12:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642235', 'tblTempVendorCDR_20' ) start [2025-03-09 12:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642235', 'tblTempVendorCDR_20' ) end [2025-03-09 12:38:17] Production.INFO: ProcessCDR(1,14642235,1,1,2) [2025-03-09 12:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642235', 'tblTempUsageDetail_20' ) start [2025-03-09 12:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642235', 'tblTempUsageDetail_20' ) end [2025-03-09 12:38:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:38:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:38:21] Production.INFO: ==18359== Releasing lock... [2025-03-09 12:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:38:21] Production.INFO: 33 MB #Memory Used# [2025-03-09 16:39:01] Production.INFO: ==18456== Lock acquired, processing the job... [2025-03-09 16:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:39:01] Production.INFO: neon service started [2025-03-09 16:39:01] Production.INFO: neon service started [2025-03-09 16:39:01] Production.INFO: ==18456== Releasing lock... [2025-03-09 16:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:39:01] Production.INFO: ==18459== Lock acquired, processing the job... [2025-03-09 12:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:39:02] Production.INFO: ==18461== Lock acquired, processing the job... [2025-03-09 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:39:02] Production.INFO: ==18459== Releasing lock... [2025-03-09 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:39:02] Production.INFO: ==18461== Releasing lock... [2025-03-09 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:39:02] Production.INFO: ==18465== Lock acquired, processing the job... [2025-03-09 12:39:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:39:03] Production.INFO: ==18467== Lock acquired, processing the job... [2025-03-09 12:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:39:03] Production.INFO: ==18471== Lock acquired, processing the job... [2025-03-09 12:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:39:03] Production.INFO: Account Balance Start. [2025-03-09 12:39:03] Production.INFO: CreateAllLog Start [2025-03-09 12:39:03] Production.INFO: 117 [2025-03-09 12:39:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:39:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:39:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:39:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:39:03] Production.INFO: Total Charge 0 [2025-03-09 12:39:03] Production.INFO: CreateAllLog End [2025-03-09 12:39:03] Production.INFO: ==18467== Releasing lock... [2025-03-09 12:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:39:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:39:03] Production.INFO: Account Balance End. [2025-03-09 12:39:03] Production.INFO: ==18469== Lock acquired, processing the job... [2025-03-09 12:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:39:03] Production.ERROR: CronJobId end 12 [2025-03-09 12:39:03] Production.INFO: ==18471== Releasing lock... [2025-03-09 12:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:39:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:39:03] Production.INFO: ==18473== Lock acquired, processing the job... [2025-03-09 12:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:39:03] Production.INFO: ==18475== Lock acquired, processing the job... [2025-03-09 12:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:39:03] Production.INFO: count ==13 [2025-03-09 12:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:39:03] Production.INFO: count ==21 [2025-03-09 12:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642239') start [2025-03-09 12:39:04] Production.ERROR: done [2025-03-09 12:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642239') end [2025-03-09 12:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:39:04] Production.INFO: 1 [2025-03-09 12:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:39:04] Production.INFO: ==18475== Releasing lock... [2025-03-09 12:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:39:04] Production.ERROR: done [2025-03-09 12:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:39:05 [end_date_ymd] => 2025-03-09 12:39:05 [RateCDR] => 1 ) [2025-03-09 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-09 09:39:05' and `end` < '2025-03-09 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-09 12:39:12] Production.ERROR: CronJobId end10 [2025-03-09 12:39:12] Production.INFO: ==18469== Releasing lock... [2025-03-09 12:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:39:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:39:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:39:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:39:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:39:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:39:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:39:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:39:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:39:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:39:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:39:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:39:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:39:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:39:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:39:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:39:13] Production.INFO: call_cost start [2025-03-09 12:39:13] Production.INFO: call_cost end [2025-03-09 12:39:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:39:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:39:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:39:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:39:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:39:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:39:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:39:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:39:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:39:14] Production.INFO: ==18465== Releasing lock... [2025-03-09 12:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:39:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:39:17] Production.INFO: count ==550 [2025-03-09 12:39:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:39:05 - End Time 2025-03-09 12:39:05 [2025-03-09 12:39:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642240', 'tblTempUsageDetail_20' ) start [2025-03-09 12:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642240', 'tblTempUsageDetail_20' ) end [2025-03-09 12:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642240', 'tblTempVendorCDR_20' ) start [2025-03-09 12:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642240', 'tblTempVendorCDR_20' ) end [2025-03-09 12:39:17] Production.INFO: ProcessCDR(1,14642240,1,1,2) [2025-03-09 12:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642240', 'tblTempUsageDetail_20' ) start [2025-03-09 12:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642240', 'tblTempUsageDetail_20' ) end [2025-03-09 12:39:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:39:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:39:22] Production.INFO: ==18473== Releasing lock... [2025-03-09 12:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:39:22] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 16:40:02] Production.INFO: ==18563== Lock acquired, processing the job... [2025-03-09 16:40:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:40:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:40:02] Production.INFO: neon service started [2025-03-09 16:40:02] Production.INFO: neon service started [2025-03-09 16:40:02] Production.INFO: ==18563== Releasing lock... [2025-03-09 16:40:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:40:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:40:02] Production.INFO: ==18567== Lock acquired, processing the job... [2025-03-09 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:40:02] Production.INFO: ==18567== Releasing lock... [2025-03-09 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:40:03] Production.INFO: ==18569== Lock acquired, processing the job... [2025-03-09 16:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:40:03] Production.INFO: ==18569== Releasing lock... [2025-03-09 16:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:40:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:40:04] Production.INFO: ==18572== Lock acquired, processing the job... [2025-03-09 12:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 12:40:04] Production.INFO: ==18574== Lock acquired, processing the job... [2025-03-09 12:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:40:04] Production.INFO: ==18576== Lock acquired, processing the job... [2025-03-09 12:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 12:40:04] Production.INFO: ==18578== Lock acquired, processing the job... [2025-03-09 12:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 12:40:04] Production.INFO: ==18572== Releasing lock... [2025-03-09 12:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 12:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 12:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:40:04] Production.INFO: ==18586== Lock acquired, processing the job... [2025-03-09 12:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:40:04] Production.INFO: ==18580== Lock acquired, processing the job... [2025-03-09 12:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:40:04] Production.INFO: Account Balance Start. [2025-03-09 12:40:04] Production.INFO: CreateAllLog Start [2025-03-09 12:40:04] Production.INFO: 117 [2025-03-09 12:40:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:40:04] Production.INFO: ==18582== Lock acquired, processing the job... [2025-03-09 12:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:40:04] Production.INFO: ==18584== Lock acquired, processing the job... [2025-03-09 12:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 12:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:40:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:40:04] Production.INFO: count ==13 [2025-03-09 12:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:40:04] Production.INFO: count ==21 [2025-03-09 12:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642244') start [2025-03-09 12:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:40:04] Production.INFO: Total Charge 0 [2025-03-09 12:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:40:04] Production.INFO: CreateAllLog End [2025-03-09 12:40:04] Production.INFO: ==18576== Releasing lock... [2025-03-09 12:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642244') end [2025-03-09 12:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:40:04] Production.INFO: 1 [2025-03-09 12:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:40:04] Production.INFO: ==18586== Releasing lock... [2025-03-09 12:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:40:05] Production.ERROR: done [2025-03-09 12:40:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:40:05] Production.ERROR: done [2025-03-09 12:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 12:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642245', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 12:40:05] Production.ERROR: done [2025-03-09 12:40:05] Production.INFO: Account Balance End. [2025-03-09 12:40:05] Production.ERROR: CronJobId end 12 [2025-03-09 12:40:05] Production.INFO: ==18580== Releasing lock... [2025-03-09 12:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:40:06 [end_date_ymd] => 2025-03-09 12:40:06 [RateCDR] => 1 ) [2025-03-09 12:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:40:06' and `end` < '2025-03-09 12:40:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642245', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 12:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 12:40:09] Production.INFO: ProcessCDR(1,14642245,1,1,2) [2025-03-09 12:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14642245,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14642245,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:40:09] Production.INFO: ==18584== Releasing lock... [2025-03-09 12:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 12:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 12:40:16] Production.ERROR: CronJobId end10 [2025-03-09 12:40:16] Production.INFO: ==18578== Releasing lock... [2025-03-09 12:40:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:40:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:40:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:40:17] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:40:17] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:40:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:40:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:40:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:40:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:40:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:40:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:40:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:40:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:40:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:40:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:40:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:40:17] Production.INFO: call_cost start [2025-03-09 12:40:17] Production.INFO: call_cost end [2025-03-09 12:40:18] Production.INFO: count ==558 [2025-03-09 12:40:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:40:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:40:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:40:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:40:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:40:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:40:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:40:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:40:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:40:18] Production.INFO: ==18574== Releasing lock... [2025-03-09 12:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:40:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:40:18] Production.ERROR: pbx CDR StartTime 2025-03-09 09:40:06 - End Time 2025-03-09 12:40:06 [2025-03-09 12:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642246', 'tblTempUsageDetail_20' ) start [2025-03-09 12:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642246', 'tblTempUsageDetail_20' ) end [2025-03-09 12:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642246', 'tblTempVendorCDR_20' ) start [2025-03-09 12:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642246', 'tblTempVendorCDR_20' ) end [2025-03-09 12:40:18] Production.INFO: ProcessCDR(1,14642246,1,1,2) [2025-03-09 12:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642246', 'tblTempUsageDetail_20' ) start [2025-03-09 12:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642246', 'tblTempUsageDetail_20' ) end [2025-03-09 12:40:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:40:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:40:22] Production.INFO: ==18582== Releasing lock... [2025-03-09 12:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:40:22] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 16:41:01] Production.INFO: ==18662== Lock acquired, processing the job... [2025-03-09 16:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:41:01] Production.INFO: neon service started [2025-03-09 16:41:01] Production.INFO: neon service started [2025-03-09 16:41:01] Production.INFO: ==18662== Releasing lock... [2025-03-09 16:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:41:01] Production.INFO: ==18664== Lock acquired, processing the job... [2025-03-09 12:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:41:02] Production.INFO: ==18664== Releasing lock... [2025-03-09 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:41:02] Production.INFO: ==18666== Lock acquired, processing the job... [2025-03-09 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:41:02] Production.INFO: ==18666== Releasing lock... [2025-03-09 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:41:02] Production.INFO: ==18672== Lock acquired, processing the job... [2025-03-09 12:41:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:41:03] Production.INFO: ==18679== Lock acquired, processing the job... [2025-03-09 12:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:41:03] Production.INFO: count ==13 [2025-03-09 12:41:03] Production.INFO: ==18668== Lock acquired, processing the job... [2025-03-09 12:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:41:03] Production.INFO: count ==21 [2025-03-09 12:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642247') start [2025-03-09 12:41:03] Production.INFO: ==18670== Lock acquired, processing the job... [2025-03-09 12:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642247') end [2025-03-09 12:41:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:41:03] Production.INFO: 1 [2025-03-09 12:41:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:41:03] Production.INFO: ==18674== Lock acquired, processing the job... [2025-03-09 12:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:41:03] Production.INFO: ==18677== Lock acquired, processing the job... [2025-03-09 12:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:41:03] Production.INFO: ==18679== Releasing lock... [2025-03-09 12:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:41:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:41:03] Production.INFO: Account Balance Start. [2025-03-09 12:41:03] Production.INFO: CreateAllLog Start [2025-03-09 12:41:03] Production.INFO: 117 [2025-03-09 12:41:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:41:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:41:03] Production.INFO: Total Charge 0 [2025-03-09 12:41:03] Production.INFO: CreateAllLog End [2025-03-09 12:41:03] Production.INFO: ==18670== Releasing lock... [2025-03-09 12:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:41:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:41:03] Production.ERROR: done [2025-03-09 12:41:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:41:03] Production.INFO: Account Balance End. [2025-03-09 12:41:03] Production.ERROR: CronJobId end 12 [2025-03-09 12:41:03] Production.INFO: ==18674== Releasing lock... [2025-03-09 12:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:41:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:41:04] Production.ERROR: done [2025-03-09 12:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:41:05 [end_date_ymd] => 2025-03-09 12:41:05 [RateCDR] => 1 ) [2025-03-09 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-09 09:41:05' and `end` < '2025-03-09 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-09 12:41:11] Production.ERROR: CronJobId end10 [2025-03-09 12:41:11] Production.INFO: ==18672== Releasing lock... [2025-03-09 12:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:41:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:41:14] Production.INFO: call_cost start [2025-03-09 12:41:14] Production.INFO: call_cost end [2025-03-09 12:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:41:15] Production.INFO: ==18668== Releasing lock... [2025-03-09 12:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:41:17] Production.INFO: count ==572 [2025-03-09 12:41:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:41:05 - End Time 2025-03-09 12:41:05 [2025-03-09 12:41:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642251', 'tblTempUsageDetail_20' ) start [2025-03-09 12:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642251', 'tblTempUsageDetail_20' ) end [2025-03-09 12:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642251', 'tblTempVendorCDR_20' ) start [2025-03-09 12:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642251', 'tblTempVendorCDR_20' ) end [2025-03-09 12:41:17] Production.INFO: ProcessCDR(1,14642251,1,1,2) [2025-03-09 12:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642251', 'tblTempUsageDetail_20' ) start [2025-03-09 12:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642251', 'tblTempUsageDetail_20' ) end [2025-03-09 12:41:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:41:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:41:22] Production.INFO: ==18677== Releasing lock... [2025-03-09 12:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:41:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 16:42:01] Production.INFO: ==18764== Lock acquired, processing the job... [2025-03-09 16:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:42:01] Production.INFO: neon service started [2025-03-09 16:42:01] Production.INFO: neon service started [2025-03-09 16:42:01] Production.INFO: ==18764== Releasing lock... [2025-03-09 16:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:42:02] Production.INFO: ==18766== Lock acquired, processing the job... [2025-03-09 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:42:02] Production.INFO: ==18768== Lock acquired, processing the job... [2025-03-09 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:42:02] Production.INFO: ==18768== Releasing lock... [2025-03-09 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:42:03] Production.INFO: ==18766== Releasing lock... [2025-03-09 12:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:42:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:42:03] Production.INFO: ==18777== Lock acquired, processing the job... [2025-03-09 12:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:42:03] Production.INFO: ==18771== Lock acquired, processing the job... [2025-03-09 12:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:42:03] Production.INFO: ==18773== Lock acquired, processing the job... [2025-03-09 12:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:42:04] Production.INFO: ==18779== Lock acquired, processing the job... [2025-03-09 12:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:42:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:42:04] Production.INFO: Account Balance Start. [2025-03-09 12:42:04] Production.INFO: CreateAllLog Start [2025-03-09 12:42:04] Production.INFO: 117 [2025-03-09 12:42:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:42:04] Production.INFO: ==18775== Lock acquired, processing the job... [2025-03-09 12:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:42:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:42:04] Production.INFO: Total Charge 0 [2025-03-09 12:42:04] Production.INFO: ==18781== Lock acquired, processing the job... [2025-03-09 12:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:42:04] Production.INFO: CreateAllLog End [2025-03-09 12:42:04] Production.INFO: ==18773== Releasing lock... [2025-03-09 12:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 12:42:04] Production.INFO: count ==13 [2025-03-09 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-09 12:42:04] Production.INFO: count ==21 [2025-03-09 12:42:04] Production.ERROR: done [2025-03-09 12:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642255') start [2025-03-09 12:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:42:04] Production.INFO: Account Balance End. [2025-03-09 12:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642255') end [2025-03-09 12:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:42:04] Production.INFO: 1 [2025-03-09 12:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:42:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:42:04] Production.INFO: ==18777== Releasing lock... [2025-03-09 12:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:42:04] Production.INFO: ==18781== Releasing lock... [2025-03-09 12:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:42:04] Production.ERROR: done [2025-03-09 12:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:42:05 [end_date_ymd] => 2025-03-09 12:42:05 [RateCDR] => 1 ) [2025-03-09 12:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:42:05' and `end` < '2025-03-09 12:42:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:42:12] Production.ERROR: CronJobId end10 [2025-03-09 12:42:12] Production.INFO: ==18775== Releasing lock... [2025-03-09 12:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:42:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:42:15] Production.INFO: call_cost start [2025-03-09 12:42:15] Production.INFO: call_cost end [2025-03-09 12:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:42:16] Production.INFO: ==18771== Releasing lock... [2025-03-09 12:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:42:18] Production.INFO: count ==576 [2025-03-09 12:42:18] Production.ERROR: pbx CDR StartTime 2025-03-09 09:42:05 - End Time 2025-03-09 12:42:05 [2025-03-09 12:42:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642256', 'tblTempUsageDetail_20' ) start [2025-03-09 12:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642256', 'tblTempUsageDetail_20' ) end [2025-03-09 12:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642256', 'tblTempVendorCDR_20' ) start [2025-03-09 12:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642256', 'tblTempVendorCDR_20' ) end [2025-03-09 12:42:18] Production.INFO: ProcessCDR(1,14642256,1,1,2) [2025-03-09 12:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642256', 'tblTempUsageDetail_20' ) start [2025-03-09 12:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642256', 'tblTempUsageDetail_20' ) end [2025-03-09 12:42:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:42:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:42:23] Production.INFO: ==18779== Releasing lock... [2025-03-09 12:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:42:23] Production.INFO: 33 MB #Memory Used# [2025-03-09 16:43:01] Production.INFO: ==18862== Lock acquired, processing the job... [2025-03-09 16:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:43:01] Production.INFO: neon service started [2025-03-09 16:43:01] Production.INFO: neon service started [2025-03-09 16:43:01] Production.INFO: ==18862== Releasing lock... [2025-03-09 16:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:43:01] Production.INFO: ==18866== Lock acquired, processing the job... [2025-03-09 16:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:43:01] Production.INFO: ==18866== Releasing lock... [2025-03-09 16:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:43:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:43:01] Production.INFO: ==18864== Lock acquired, processing the job... [2025-03-09 12:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:43:02] Production.INFO: ==18864== Releasing lock... [2025-03-09 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:43:02] Production.INFO: ==18869== Lock acquired, processing the job... [2025-03-09 12:43:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:43:03] Production.INFO: ==18871== Lock acquired, processing the job... [2025-03-09 12:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:43:03] Production.INFO: ==18875== Lock acquired, processing the job... [2025-03-09 12:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:43:03] Production.INFO: Account Balance Start. [2025-03-09 12:43:03] Production.INFO: CreateAllLog Start [2025-03-09 12:43:03] Production.INFO: 117 [2025-03-09 12:43:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:43:03] Production.INFO: ==18873== Lock acquired, processing the job... [2025-03-09 12:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:43:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:43:03] Production.INFO: Total Charge 0 [2025-03-09 12:43:03] Production.INFO: CreateAllLog End [2025-03-09 12:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:43:03] Production.INFO: ==18877== Lock acquired, processing the job... [2025-03-09 12:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:43:03] Production.INFO: ==18871== Releasing lock... [2025-03-09 12:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:43:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:43:03] Production.INFO: ==18879== Lock acquired, processing the job... [2025-03-09 12:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:43:03] Production.INFO: Account Balance End. [2025-03-09 12:43:03] Production.ERROR: CronJobId end 12 [2025-03-09 12:43:03] Production.INFO: ==18875== Releasing lock... [2025-03-09 12:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:43:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:43:03] Production.INFO: count ==13 [2025-03-09 12:43:03] Production.ERROR: done [2025-03-09 12:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:43:03] Production.INFO: count ==21 [2025-03-09 12:43:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642260') start [2025-03-09 12:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642260') end [2025-03-09 12:43:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:43:03] Production.INFO: 1 [2025-03-09 12:43:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:43:03] Production.INFO: ==18879== Releasing lock... [2025-03-09 12:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:43:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:43:04] Production.ERROR: done [2025-03-09 12:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:43:05 [end_date_ymd] => 2025-03-09 12:43:05 [RateCDR] => 1 ) [2025-03-09 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-09 09:43:05' and `end` < '2025-03-09 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-09 12:43:11] Production.ERROR: CronJobId end10 [2025-03-09 12:43:11] Production.INFO: ==18873== Releasing lock... [2025-03-09 12:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:43:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:43:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:43:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:43:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:43:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:43:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:43:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:43:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:43:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:43:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:43:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:43:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:43:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:43:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:43:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:43:14] Production.INFO: call_cost start [2025-03-09 12:43:14] Production.INFO: call_cost end [2025-03-09 12:43:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:43:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:43:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:43:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:43:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:43:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:43:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:43:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:43:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:43:15] Production.INFO: ==18869== Releasing lock... [2025-03-09 12:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:43:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:43:17] Production.INFO: count ==578 [2025-03-09 12:43:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:43:05 - End Time 2025-03-09 12:43:05 [2025-03-09 12:43:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642261', 'tblTempUsageDetail_20' ) start [2025-03-09 12:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642261', 'tblTempUsageDetail_20' ) end [2025-03-09 12:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642261', 'tblTempVendorCDR_20' ) start [2025-03-09 12:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642261', 'tblTempVendorCDR_20' ) end [2025-03-09 12:43:17] Production.INFO: ProcessCDR(1,14642261,1,1,2) [2025-03-09 12:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642261', 'tblTempUsageDetail_20' ) start [2025-03-09 12:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642261', 'tblTempUsageDetail_20' ) end [2025-03-09 12:43:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:43:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:43:21] Production.INFO: ==18877== Releasing lock... [2025-03-09 12:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:43:21] Production.INFO: 33 MB #Memory Used# [2025-03-09 16:44:01] Production.INFO: ==18961== Lock acquired, processing the job... [2025-03-09 16:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:44:01] Production.INFO: neon service started [2025-03-09 16:44:01] Production.INFO: neon service started [2025-03-09 16:44:01] Production.INFO: ==18961== Releasing lock... [2025-03-09 16:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:44:02] Production.INFO: ==18968== Lock acquired, processing the job... [2025-03-09 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:44:02] Production.INFO: ==18968== Releasing lock... [2025-03-09 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:44:02] Production.INFO: ==18966== Lock acquired, processing the job... [2025-03-09 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:44:02] Production.INFO: ==18966== Releasing lock... [2025-03-09 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:44:03] Production.INFO: ==18974== Lock acquired, processing the job... [2025-03-09 12:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:44:03] Production.INFO: ==18970== Lock acquired, processing the job... [2025-03-09 12:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:44:03] Production.INFO: ==18972== Lock acquired, processing the job... [2025-03-09 12:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:44:03] Production.INFO: ==18978== Lock acquired, processing the job... [2025-03-09 12:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:44:03] Production.INFO: ==18976== Lock acquired, processing the job... [2025-03-09 12:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:44:04] Production.INFO: ==18980== Lock acquired, processing the job... [2025-03-09 12:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:44:04] Production.INFO: ==18972== Releasing lock... [2025-03-09 12:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:44:04] Production.INFO: Account Balance Start. [2025-03-09 12:44:04] Production.INFO: CreateAllLog Start [2025-03-09 12:44:04] Production.INFO: 117 [2025-03-09 12:44:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 12:44:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:44:04] Production.INFO: count ==13 [2025-03-09 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-09 12:44:04] Production.INFO: count ==21 [2025-03-09 12:44:04] Production.ERROR: done [2025-03-09 12:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:44:04] Production.INFO: Total Charge 0 [2025-03-09 12:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642265') start [2025-03-09 12:44:04] Production.INFO: CreateAllLog End [2025-03-09 12:44:04] Production.ERROR: done [2025-03-09 12:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642265') end [2025-03-09 12:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:44:04] Production.INFO: 1 [2025-03-09 12:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:44:04] Production.INFO: Account Balance End. [2025-03-09 12:44:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:44:04] Production.INFO: ==18976== Releasing lock... [2025-03-09 12:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:44:04] Production.INFO: ==18980== Releasing lock... [2025-03-09 12:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:44:05 [end_date_ymd] => 2025-03-09 12:44:05 [RateCDR] => 1 ) [2025-03-09 12:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:44:05' and `end` < '2025-03-09 12:44:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:44:12] Production.ERROR: CronJobId end10 [2025-03-09 12:44:12] Production.INFO: ==18974== Releasing lock... [2025-03-09 12:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:44:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:44:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:44:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:44:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:44:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:44:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:44:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:44:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:44:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:44:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:44:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:44:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:44:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:44:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:44:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:44:15] Production.INFO: call_cost start [2025-03-09 12:44:15] Production.INFO: call_cost end [2025-03-09 12:44:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:44:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:44:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:44:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:44:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:44:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:44:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:44:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:44:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:44:16] Production.INFO: ==18970== Releasing lock... [2025-03-09 12:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:44:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:44:17] Production.INFO: count ==579 [2025-03-09 12:44:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:44:05 - End Time 2025-03-09 12:44:05 [2025-03-09 12:44:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642266', 'tblTempUsageDetail_20' ) start [2025-03-09 12:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642266', 'tblTempUsageDetail_20' ) end [2025-03-09 12:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642266', 'tblTempVendorCDR_20' ) start [2025-03-09 12:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642266', 'tblTempVendorCDR_20' ) end [2025-03-09 12:44:17] Production.INFO: ProcessCDR(1,14642266,1,1,2) [2025-03-09 12:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642266', 'tblTempUsageDetail_20' ) start [2025-03-09 12:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642266', 'tblTempUsageDetail_20' ) end [2025-03-09 12:44:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:44:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:44:22] Production.INFO: ==18978== Releasing lock... [2025-03-09 12:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:44:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 16:45:02] Production.INFO: ==19066== Lock acquired, processing the job... [2025-03-09 16:45:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:45:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:45:02] Production.INFO: neon service started [2025-03-09 16:45:02] Production.INFO: neon service started [2025-03-09 16:45:02] Production.INFO: ==19066== Releasing lock... [2025-03-09 16:45:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:45:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:45:02] Production.INFO: ==19068== Lock acquired, processing the job... [2025-03-09 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:45:02] Production.INFO: ==19068== Releasing lock... [2025-03-09 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:45:03] Production.INFO: ==19070== Lock acquired, processing the job... [2025-03-09 16:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:45:03] Production.INFO: ==19070== Releasing lock... [2025-03-09 16:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:45:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:45:03] Production.INFO: ==19085== Lock acquired, processing the job... [2025-03-09 12:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:45:04] Production.ERROR: done [2025-03-09 12:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:45:04] Production.INFO: ==19072== Lock acquired, processing the job... [2025-03-09 12:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:45:04] Production.INFO: ==19074== Lock acquired, processing the job... [2025-03-09 12:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:45:04] Production.INFO: ==19087== Lock acquired, processing the job... [2025-03-09 12:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:45:04] Production.INFO: ==19076== Lock acquired, processing the job... [2025-03-09 12:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:45:04] Production.INFO: ==19078== Lock acquired, processing the job... [2025-03-09 12:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:45:04] Production.ERROR: done [2025-03-09 12:45:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:45:04] Production.INFO: Account Balance Start. [2025-03-09 12:45:04] Production.INFO: CreateAllLog Start [2025-03-09 12:45:04] Production.INFO: 117 [2025-03-09 12:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:45:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:45:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:45:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:45:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:45:04] Production.INFO: count ==13 [2025-03-09 12:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:45:04] Production.INFO: count ==21 [2025-03-09 12:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642268') start [2025-03-09 12:45:04] Production.INFO: Total Charge 0 [2025-03-09 12:45:04] Production.INFO: CreateAllLog End [2025-03-09 12:45:04] Production.INFO: ==19074== Releasing lock... [2025-03-09 12:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642268') end [2025-03-09 12:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:45:04] Production.INFO: 1 [2025-03-09 12:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:45:04] Production.INFO: Account Balance End. [2025-03-09 12:45:04] Production.INFO: ==19087== Releasing lock... [2025-03-09 12:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:45:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:45:04] Production.INFO: ==19078== Releasing lock... [2025-03-09 12:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:45:05 [end_date_ymd] => 2025-03-09 12:45:05 [RateCDR] => 1 ) [2025-03-09 12:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:45:05' and `end` < '2025-03-09 12:45:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:45:13] Production.ERROR: CronJobId end10 [2025-03-09 12:45:13] Production.INFO: ==19076== Releasing lock... [2025-03-09 12:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:45:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:45:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:45:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:45:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:45:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:45:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:45:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:45:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:45:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:45:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:45:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:45:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:45:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:45:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:45:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:45:15] Production.INFO: call_cost start [2025-03-09 12:45:15] Production.INFO: call_cost end [2025-03-09 12:45:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:45:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:45:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:45:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:45:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:45:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:45:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:45:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:45:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:45:16] Production.INFO: ==19072== Releasing lock... [2025-03-09 12:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:45:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:45:17] Production.INFO: count ==583 [2025-03-09 12:45:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:45:05 - End Time 2025-03-09 12:45:05 [2025-03-09 12:45:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642267', 'tblTempUsageDetail_20' ) start [2025-03-09 12:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642267', 'tblTempUsageDetail_20' ) end [2025-03-09 12:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642267', 'tblTempVendorCDR_20' ) start [2025-03-09 12:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642267', 'tblTempVendorCDR_20' ) end [2025-03-09 12:45:17] Production.INFO: ProcessCDR(1,14642267,1,1,2) [2025-03-09 12:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642267', 'tblTempUsageDetail_20' ) start [2025-03-09 12:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642267', 'tblTempUsageDetail_20' ) end [2025-03-09 12:45:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:45:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:45:22] Production.INFO: ==19085== Releasing lock... [2025-03-09 12:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:45:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 16:46:01] Production.INFO: ==19169== Lock acquired, processing the job... [2025-03-09 16:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:46:01] Production.INFO: neon service started [2025-03-09 16:46:01] Production.INFO: neon service started [2025-03-09 16:46:01] Production.INFO: ==19169== Releasing lock... [2025-03-09 16:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:46:02] Production.INFO: ==19172== Lock acquired, processing the job... [2025-03-09 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:46:02] Production.INFO: ==19174== Lock acquired, processing the job... [2025-03-09 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:46:02] Production.INFO: ==19174== Releasing lock... [2025-03-09 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:46:02] Production.INFO: ==19172== Releasing lock... [2025-03-09 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:46:03] Production.INFO: ==19176== Lock acquired, processing the job... [2025-03-09 12:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:46:03] Production.INFO: ==19184== Lock acquired, processing the job... [2025-03-09 12:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:46:03] Production.INFO: ==19178== Lock acquired, processing the job... [2025-03-09 12:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:46:03] Production.INFO: ==19182== Lock acquired, processing the job... [2025-03-09 12:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:46:03] Production.INFO: ==19180== Lock acquired, processing the job... [2025-03-09 12:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:46:03] Production.INFO: ==19186== Lock acquired, processing the job... [2025-03-09 12:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:46:03] Production.INFO: Account Balance Start. [2025-03-09 12:46:03] Production.INFO: CreateAllLog Start [2025-03-09 12:46:03] Production.INFO: 117 [2025-03-09 12:46:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:46:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:46:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:46:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:46:03] Production.INFO: Total Charge 0 [2025-03-09 12:46:03] Production.INFO: CreateAllLog End [2025-03-09 12:46:03] Production.ERROR: done [2025-03-09 12:46:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:46:04] Production.INFO: ==19178== Releasing lock... [2025-03-09 12:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:46:04] Production.INFO: count ==13 [2025-03-09 12:46:04] Production.ERROR: done [2025-03-09 12:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:46:04] Production.INFO: Account Balance End. [2025-03-09 12:46:04] Production.INFO: count ==21 [2025-03-09 12:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642275') start [2025-03-09 12:46:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:46:04] Production.INFO: ==19182== Releasing lock... [2025-03-09 12:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642275') end [2025-03-09 12:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:46:04] Production.INFO: 1 [2025-03-09 12:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:46:04] Production.INFO: ==19186== Releasing lock... [2025-03-09 12:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:46:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:46:04 [end_date_ymd] => 2025-03-09 12:46:04 [RateCDR] => 1 ) [2025-03-09 12:46:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:46:04' and `end` < '2025-03-09 12:46:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:46:11] Production.ERROR: CronJobId end10 [2025-03-09 12:46:11] Production.INFO: ==19180== Releasing lock... [2025-03-09 12:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:46:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:46:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:46:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:46:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:46:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:46:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:46:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:46:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:46:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:46:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:46:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:46:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:46:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:46:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:46:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:46:13] Production.INFO: call_cost start [2025-03-09 12:46:13] Production.INFO: call_cost end [2025-03-09 12:46:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:46:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:46:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:46:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:46:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:46:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:46:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:46:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:46:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:46:14] Production.INFO: ==19176== Releasing lock... [2025-03-09 12:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:46:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:46:16] Production.INFO: count ==580 [2025-03-09 12:46:16] Production.ERROR: pbx CDR StartTime 2025-03-09 09:46:04 - End Time 2025-03-09 12:46:04 [2025-03-09 12:46:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:46:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642276', 'tblTempUsageDetail_20' ) start [2025-03-09 12:46:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642276', 'tblTempUsageDetail_20' ) end [2025-03-09 12:46:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642276', 'tblTempVendorCDR_20' ) start [2025-03-09 12:46:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642276', 'tblTempVendorCDR_20' ) end [2025-03-09 12:46:16] Production.INFO: ProcessCDR(1,14642276,1,1,2) [2025-03-09 12:46:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:46:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:46:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:46:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642276', 'tblTempUsageDetail_20' ) start [2025-03-09 12:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642276', 'tblTempUsageDetail_20' ) end [2025-03-09 12:46:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:46:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:46:20] Production.INFO: ==19184== Releasing lock... [2025-03-09 12:46:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:46:20] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 16:47:02] Production.INFO: ==19273== Lock acquired, processing the job... [2025-03-09 16:47:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:47:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:47:02] Production.INFO: neon service started [2025-03-09 16:47:02] Production.INFO: neon service started [2025-03-09 16:47:02] Production.INFO: ==19273== Releasing lock... [2025-03-09 16:47:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:47:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:47:02] Production.INFO: ==19275== Lock acquired, processing the job... [2025-03-09 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:47:02] Production.INFO: ==19275== Releasing lock... [2025-03-09 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:47:02] Production.INFO: ==19277== Lock acquired, processing the job... [2025-03-09 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:47:02] Production.INFO: ==19277== Releasing lock... [2025-03-09 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:47:03] Production.INFO: ==19284== Lock acquired, processing the job... [2025-03-09 12:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:47:03] Production.INFO: ==19288== Lock acquired, processing the job... [2025-03-09 12:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:47:03] Production.INFO: ==19280== Lock acquired, processing the job... [2025-03-09 12:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:47:03] Production.INFO: ==19282== Lock acquired, processing the job... [2025-03-09 12:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:47:03] Production.INFO: ==19286== Lock acquired, processing the job... [2025-03-09 12:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:47:03] Production.INFO: ==19290== Lock acquired, processing the job... [2025-03-09 12:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:47:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:47:04] Production.ERROR: done [2025-03-09 12:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:47:04] Production.INFO: Account Balance Start. [2025-03-09 12:47:04] Production.INFO: CreateAllLog Start [2025-03-09 12:47:04] Production.INFO: 117 [2025-03-09 12:47:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:47:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:47:04] Production.INFO: count ==13 [2025-03-09 12:47:04] Production.ERROR: done [2025-03-09 12:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:47:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:47:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:47:04] Production.INFO: count ==21 [2025-03-09 12:47:04] Production.INFO: Total Charge 0 [2025-03-09 12:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642280') start [2025-03-09 12:47:04] Production.INFO: CreateAllLog End [2025-03-09 12:47:04] Production.INFO: ==19282== Releasing lock... [2025-03-09 12:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642280') end [2025-03-09 12:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:47:04] Production.INFO: 1 [2025-03-09 12:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:47:04] Production.INFO: Account Balance End. [2025-03-09 12:47:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:47:04] Production.INFO: ==19286== Releasing lock... [2025-03-09 12:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:47:04] Production.INFO: ==19290== Releasing lock... [2025-03-09 12:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:47:05 [end_date_ymd] => 2025-03-09 12:47:05 [RateCDR] => 1 ) [2025-03-09 12:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:47:05' and `end` < '2025-03-09 12:47:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:47:12] Production.ERROR: CronJobId end10 [2025-03-09 12:47:12] Production.INFO: ==19284== Releasing lock... [2025-03-09 12:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:47:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:47:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:47:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:47:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:47:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:47:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:47:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:47:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:47:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:47:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:47:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:47:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:47:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:47:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:47:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:47:14] Production.INFO: call_cost start [2025-03-09 12:47:14] Production.INFO: call_cost end [2025-03-09 12:47:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:47:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:47:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:47:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:47:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:47:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:47:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:47:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:47:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:47:15] Production.INFO: ==19280== Releasing lock... [2025-03-09 12:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:47:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:47:17] Production.INFO: count ==578 [2025-03-09 12:47:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:47:05 - End Time 2025-03-09 12:47:05 [2025-03-09 12:47:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642281', 'tblTempUsageDetail_20' ) start [2025-03-09 12:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642281', 'tblTempUsageDetail_20' ) end [2025-03-09 12:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642281', 'tblTempVendorCDR_20' ) start [2025-03-09 12:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642281', 'tblTempVendorCDR_20' ) end [2025-03-09 12:47:17] Production.INFO: ProcessCDR(1,14642281,1,1,2) [2025-03-09 12:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642281', 'tblTempUsageDetail_20' ) start [2025-03-09 12:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642281', 'tblTempUsageDetail_20' ) end [2025-03-09 12:47:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:47:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:47:22] Production.INFO: ==19288== Releasing lock... [2025-03-09 12:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:47:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 16:48:01] Production.INFO: ==19409== Lock acquired, processing the job... [2025-03-09 16:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:48:01] Production.INFO: neon service started [2025-03-09 16:48:01] Production.INFO: neon service started [2025-03-09 16:48:01] Production.INFO: ==19409== Releasing lock... [2025-03-09 16:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:48:01] Production.INFO: ==19411== Lock acquired, processing the job... [2025-03-09 12:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:48:02] Production.INFO: ==19411== Releasing lock... [2025-03-09 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:48:02] Production.INFO: ==19413== Lock acquired, processing the job... [2025-03-09 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:48:02] Production.INFO: ==19413== Releasing lock... [2025-03-09 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:48:03] Production.INFO: ==19423== Lock acquired, processing the job... [2025-03-09 12:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:48:03] Production.INFO: ==19419== Lock acquired, processing the job... [2025-03-09 12:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:48:03] Production.INFO: ==19428== Lock acquired, processing the job... [2025-03-09 12:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:48:03] Production.INFO: ==19417== Lock acquired, processing the job... [2025-03-09 12:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:48:03] Production.INFO: Account Balance Start. [2025-03-09 12:48:03] Production.INFO: CreateAllLog Start [2025-03-09 12:48:03] Production.INFO: 117 [2025-03-09 12:48:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:48:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:48:03] Production.INFO: ==19421== Lock acquired, processing the job... [2025-03-09 12:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:48:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:48:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:48:03] Production.INFO: count ==13 [2025-03-09 12:48:03] Production.INFO: Total Charge 0 [2025-03-09 12:48:03] Production.INFO: ==19425== Lock acquired, processing the job... [2025-03-09 12:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:48:03] Production.INFO: CreateAllLog End [2025-03-09 12:48:03] Production.INFO: count ==21 [2025-03-09 12:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642283') start [2025-03-09 12:48:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642283') end [2025-03-09 12:48:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:48:03] Production.INFO: 1 [2025-03-09 12:48:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:48:03] Production.INFO: ==19428== Releasing lock... [2025-03-09 12:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:48:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:48:03] Production.INFO: Account Balance End. [2025-03-09 12:48:03] Production.INFO: ==19419== Releasing lock... [2025-03-09 12:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:48:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:48:03] Production.ERROR: done [2025-03-09 12:48:03] Production.ERROR: CronJobId end 12 [2025-03-09 12:48:03] Production.INFO: ==19423== Releasing lock... [2025-03-09 12:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:48:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:48:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:48:04] Production.ERROR: done [2025-03-09 12:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:48:05 [end_date_ymd] => 2025-03-09 12:48:05 [RateCDR] => 1 ) [2025-03-09 12:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:48:05' and `end` < '2025-03-09 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-09 12:48:12] Production.ERROR: CronJobId end10 [2025-03-09 12:48:12] Production.INFO: ==19421== Releasing lock... [2025-03-09 12:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:48:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:48:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:48:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:48:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:48:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:48:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:48:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:48:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:48:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:48:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:48:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:48:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:48:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:48:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:48:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:48:14] Production.INFO: call_cost start [2025-03-09 12:48:14] Production.INFO: call_cost end [2025-03-09 12:48:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:48:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:48:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:48:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:48:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:48:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:48:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:48:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:48:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:48:15] Production.INFO: ==19417== Releasing lock... [2025-03-09 12:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:48:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:48:17] Production.INFO: count ==582 [2025-03-09 12:48:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:48:05 - End Time 2025-03-09 12:48:05 [2025-03-09 12:48:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642286', 'tblTempUsageDetail_20' ) start [2025-03-09 12:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642286', 'tblTempUsageDetail_20' ) end [2025-03-09 12:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642286', 'tblTempVendorCDR_20' ) start [2025-03-09 12:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642286', 'tblTempVendorCDR_20' ) end [2025-03-09 12:48:17] Production.INFO: ProcessCDR(1,14642286,1,1,2) [2025-03-09 12:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642286', 'tblTempUsageDetail_20' ) start [2025-03-09 12:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642286', 'tblTempUsageDetail_20' ) end [2025-03-09 12:48:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:48:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:48:21] Production.INFO: ==19425== Releasing lock... [2025-03-09 12:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:48:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 16:49:01] Production.INFO: ==19510== Lock acquired, processing the job... [2025-03-09 16:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:49:01] Production.INFO: neon service started [2025-03-09 16:49:01] Production.INFO: neon service started [2025-03-09 16:49:01] Production.INFO: ==19510== Releasing lock... [2025-03-09 16:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:49:02] Production.INFO: ==19514== Lock acquired, processing the job... [2025-03-09 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:49:02] Production.INFO: ==19514== Releasing lock... [2025-03-09 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:49:02] Production.INFO: ==19512== Lock acquired, processing the job... [2025-03-09 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:49:02] Production.INFO: ==19512== Releasing lock... [2025-03-09 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:49:03] Production.INFO: ==19520== Lock acquired, processing the job... [2025-03-09 12:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:49:03] Production.INFO: ==19527== Lock acquired, processing the job... [2025-03-09 12:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:49:03] Production.INFO: ==19516== Lock acquired, processing the job... [2025-03-09 12:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:49:03] Production.INFO: count ==13 [2025-03-09 12:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:49:03] Production.INFO: count ==21 [2025-03-09 12:49:04] Production.INFO: ==19518== Lock acquired, processing the job... [2025-03-09 12:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:49:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642287') start [2025-03-09 12:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642287') end [2025-03-09 12:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:49:04] Production.INFO: 1 [2025-03-09 12:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:49:04] Production.INFO: ==19527== Releasing lock... [2025-03-09 12:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:49:04] Production.INFO: ==19523== Lock acquired, processing the job... [2025-03-09 12:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:49:04] Production.INFO: ==19525== Lock acquired, processing the job... [2025-03-09 12:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:49:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:49:04] Production.INFO: Account Balance Start. [2025-03-09 12:49:04] Production.INFO: CreateAllLog Start [2025-03-09 12:49:04] Production.INFO: 117 [2025-03-09 12:49:04] Production.INFO: ==19518== Releasing lock... [2025-03-09 12:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:49:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:49:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:49:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:49:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:49:04] Production.INFO: Total Charge 0 [2025-03-09 12:49:04] Production.INFO: CreateAllLog End [2025-03-09 12:49:04] Production.INFO: Account Balance End. [2025-03-09 12:49:04] Production.ERROR: done [2025-03-09 12:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:49:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:49:04] Production.INFO: ==19523== Releasing lock... [2025-03-09 12:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:49:04] Production.ERROR: done [2025-03-09 12:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:49:05 [end_date_ymd] => 2025-03-09 12:49:05 [RateCDR] => 1 ) [2025-03-09 12:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:49:05' and `end` < '2025-03-09 12:49:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:49:12] Production.ERROR: CronJobId end10 [2025-03-09 12:49:12] Production.INFO: ==19520== Releasing lock... [2025-03-09 12:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:49:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:49:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:49:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:49:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:49:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:49:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:49:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:49:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:49:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:49:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:49:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:49:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:49:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:49:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:49:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:49:15] Production.INFO: call_cost start [2025-03-09 12:49:15] Production.INFO: call_cost end [2025-03-09 12:49:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:49:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:49:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:49:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:49:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:49:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:49:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:49:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:49:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:49:16] Production.INFO: ==19516== Releasing lock... [2025-03-09 12:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:49:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:49:18] Production.INFO: count ==589 [2025-03-09 12:49:18] Production.ERROR: pbx CDR StartTime 2025-03-09 09:49:05 - End Time 2025-03-09 12:49:05 [2025-03-09 12:49:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642291', 'tblTempUsageDetail_20' ) start [2025-03-09 12:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642291', 'tblTempUsageDetail_20' ) end [2025-03-09 12:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642291', 'tblTempVendorCDR_20' ) start [2025-03-09 12:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642291', 'tblTempVendorCDR_20' ) end [2025-03-09 12:49:18] Production.INFO: ProcessCDR(1,14642291,1,1,2) [2025-03-09 12:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642291', 'tblTempUsageDetail_20' ) start [2025-03-09 12:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642291', 'tblTempUsageDetail_20' ) end [2025-03-09 12:49:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:49:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:49:23] Production.INFO: ==19525== Releasing lock... [2025-03-09 12:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:49:23] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 16:50:01] Production.INFO: ==19604== Lock acquired, processing the job... [2025-03-09 16:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:50:01] Production.INFO: neon service started [2025-03-09 16:50:01] Production.INFO: neon service started [2025-03-09 16:50:01] Production.INFO: ==19604== Releasing lock... [2025-03-09 16:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:50:02] Production.INFO: ==19606== Lock acquired, processing the job... [2025-03-09 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:50:02] Production.INFO: ==19608== Lock acquired, processing the job... [2025-03-09 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:50:02] Production.INFO: ==19608== Releasing lock... [2025-03-09 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:50:02] Production.INFO: ==19606== Releasing lock... [2025-03-09 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:50:03] Production.INFO: ==19615== Lock acquired, processing the job... [2025-03-09 12:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:50:03] Production.INFO: ==19625== Lock acquired, processing the job... [2025-03-09 12:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:50:03] Production.INFO: ==19623== Lock acquired, processing the job... [2025-03-09 12:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 12:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:50:04] Production.INFO: count ==13 [2025-03-09 12:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:50:04] Production.INFO: count ==21 [2025-03-09 12:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642292') start [2025-03-09 12:50:04] Production.INFO: ==19611== Lock acquired, processing the job... [2025-03-09 12:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 12:50:04] Production.INFO: ==19613== Lock acquired, processing the job... [2025-03-09 12:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642292') end [2025-03-09 12:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:50:04] Production.INFO: 1 [2025-03-09 12:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:50:04] Production.INFO: ==19615== Releasing lock... [2025-03-09 12:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 12:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 12:50:04] Production.ERROR: CronJob PID - 19613 [2025-03-09 12:50:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 12:50:04] Production.ERROR: CronJob ID - 5 [2025-03-09 12:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 12:50:00 [2025-03-09 12:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 12:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 12:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 12:50:04] Production.ERROR: CronJob PID - 19623 [2025-03-09 12:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-09 12:50:04] Production.ERROR: CronJob ID - 17 [2025-03-09 12:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 12:50:00 [2025-03-09 12:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 12:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 12:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 12:50:04] Production.ERROR: CronJob PID - 19625 [2025-03-09 12:50:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 12:50:04] Production.ERROR: CronJob ID - 19 [2025-03-09 12:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 12:50:00 [2025-03-09 12:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 12:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 12:50:04] Production.INFO: ==19617== Lock acquired, processing the job... [2025-03-09 12:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 12:50:04] Production.INFO: ==19611== Releasing lock... [2025-03-09 12:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 12:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 12:50:04] Production.INFO: ==19625== Releasing lock... [2025-03-09 12:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:50:04] Production.INFO: ==19619== Lock acquired, processing the job... [2025-03-09 12:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:50:04] Production.ERROR: done [2025-03-09 12:50:04] Production.INFO: ==19621== Lock acquired, processing the job... [2025-03-09 12:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 12:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642295', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 12:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:50:04] Production.INFO: Account Balance Start. [2025-03-09 12:50:04] Production.INFO: CreateAllLog Start [2025-03-09 12:50:04] Production.INFO: 117 [2025-03-09 12:50:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:50:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:50:04] Production.INFO: Total Charge 0 [2025-03-09 12:50:04] Production.INFO: CreateAllLog End [2025-03-09 12:50:04] Production.ERROR: done [2025-03-09 12:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:50:05] Production.INFO: Account Balance End. [2025-03-09 12:50:05] Production.ERROR: CronJobId end 12 [2025-03-09 12:50:05] Production.INFO: ==19619== Releasing lock... [2025-03-09 12:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:50:05] Production.ERROR: done [2025-03-09 12:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:50:06 [end_date_ymd] => 2025-03-09 12:50:06 [RateCDR] => 1 ) [2025-03-09 12:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:50:06' and `end` < '2025-03-09 12:50:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642295', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 12:50:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 12:50:08] Production.INFO: ProcessCDR(1,14642295,1,1,2) [2025-03-09 12:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14642295,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14642295,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:50:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:50:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:50:08] Production.INFO: ==19623== Releasing lock... [2025-03-09 12:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 12:50:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 12:50:13] Production.ERROR: CronJobId end10 [2025-03-09 12:50:13] Production.INFO: ==19617== Releasing lock... [2025-03-09 12:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:50:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:50:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:50:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:50:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:50:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:50:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:50:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:50:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:50:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:50:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:50:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:50:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:50:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:50:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:50:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:50:15] Production.INFO: call_cost start [2025-03-09 12:50:15] Production.INFO: call_cost end [2025-03-09 12:50:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:50:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:50:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:50:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:50:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:50:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:50:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:50:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:50:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:50:16] Production.INFO: ==19613== Releasing lock... [2025-03-09 12:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:50:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:50:18] Production.INFO: count ==594 [2025-03-09 12:50:18] Production.ERROR: pbx CDR StartTime 2025-03-09 09:50:06 - End Time 2025-03-09 12:50:06 [2025-03-09 12:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642297', 'tblTempUsageDetail_20' ) start [2025-03-09 12:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642297', 'tblTempUsageDetail_20' ) end [2025-03-09 12:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642297', 'tblTempVendorCDR_20' ) start [2025-03-09 12:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642297', 'tblTempVendorCDR_20' ) end [2025-03-09 12:50:18] Production.INFO: ProcessCDR(1,14642297,1,1,2) [2025-03-09 12:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642297', 'tblTempUsageDetail_20' ) start [2025-03-09 12:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642297', 'tblTempUsageDetail_20' ) end [2025-03-09 12:50:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:50:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:50:21] Production.INFO: ==19621== Releasing lock... [2025-03-09 12:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:50:21] Production.INFO: 33 MB #Memory Used# [2025-03-09 16:51:02] Production.INFO: ==19690== Lock acquired, processing the job... [2025-03-09 16:51:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:51:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:51:02] Production.INFO: neon service started [2025-03-09 16:51:02] Production.INFO: neon service started [2025-03-09 16:51:02] Production.INFO: ==19690== Releasing lock... [2025-03-09 16:51:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:51:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:51:02] Production.INFO: ==19692== Lock acquired, processing the job... [2025-03-09 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:51:02] Production.INFO: ==19694== Lock acquired, processing the job... [2025-03-09 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:51:02] Production.INFO: ==19692== Releasing lock... [2025-03-09 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:51:02] Production.INFO: ==19694== Releasing lock... [2025-03-09 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:51:03] Production.INFO: ==19697== Lock acquired, processing the job... [2025-03-09 12:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:51:03] Production.INFO: ==19701== Lock acquired, processing the job... [2025-03-09 12:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:51:03] Production.INFO: ==19703== Lock acquired, processing the job... [2025-03-09 12:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:51:03] Production.INFO: ==19699== Lock acquired, processing the job... [2025-03-09 12:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:51:03] Production.INFO: Account Balance Start. [2025-03-09 12:51:03] Production.INFO: CreateAllLog Start [2025-03-09 12:51:03] Production.INFO: 117 [2025-03-09 12:51:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:51:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:51:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:51:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:51:03] Production.INFO: Total Charge 0 [2025-03-09 12:51:03] Production.INFO: CreateAllLog End [2025-03-09 12:51:04] Production.INFO: ==19705== Lock acquired, processing the job... [2025-03-09 12:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:51:04] Production.INFO: Account Balance End. [2025-03-09 12:51:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:51:04] Production.INFO: ==19703== Releasing lock... [2025-03-09 12:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:51:04] Production.INFO: ==19707== Lock acquired, processing the job... [2025-03-09 12:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:51:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:51:04] Production.INFO: ==19699== Releasing lock... [2025-03-09 12:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12: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-09 12:51:04] Production.INFO: count ==13 [2025-03-09 12: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-09 12:51:04] Production.INFO: count ==21 [2025-03-09 12:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642301') start [2025-03-09 12:51:04] Production.ERROR: done [2025-03-09 12:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642301') end [2025-03-09 12:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:51:04] Production.INFO: 1 [2025-03-09 12:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:51:04] Production.ERROR: done [2025-03-09 12:51:04] Production.INFO: ==19707== Releasing lock... [2025-03-09 12:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:51:05 [end_date_ymd] => 2025-03-09 12:51:05 [RateCDR] => 1 ) [2025-03-09 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-09 09:51:05' and `end` < '2025-03-09 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-09 12:51:12] Production.ERROR: CronJobId end10 [2025-03-09 12:51:12] Production.INFO: ==19701== Releasing lock... [2025-03-09 12:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:51:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:51:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:51:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:51:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:51:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:51:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:51:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:51:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:51:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:51:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:51:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:51:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:51:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:51:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:51:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:51:14] Production.INFO: call_cost start [2025-03-09 12:51:14] Production.INFO: call_cost end [2025-03-09 12:51:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:51:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:51:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:51:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:51:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:51:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:51:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:51:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:51:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:51:15] Production.INFO: ==19697== Releasing lock... [2025-03-09 12:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:51:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:51:17] Production.INFO: count ==595 [2025-03-09 12:51:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:51:05 - End Time 2025-03-09 12:51:05 [2025-03-09 12:51:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642302', 'tblTempUsageDetail_20' ) start [2025-03-09 12:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642302', 'tblTempUsageDetail_20' ) end [2025-03-09 12:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642302', 'tblTempVendorCDR_20' ) start [2025-03-09 12:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642302', 'tblTempVendorCDR_20' ) end [2025-03-09 12:51:17] Production.INFO: ProcessCDR(1,14642302,1,1,2) [2025-03-09 12:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642302', 'tblTempUsageDetail_20' ) start [2025-03-09 12:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642302', 'tblTempUsageDetail_20' ) end [2025-03-09 12:51:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:51:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:51:21] Production.INFO: ==19705== Releasing lock... [2025-03-09 12:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:51:21] Production.INFO: 33 MB #Memory Used# [2025-03-09 16:52:01] Production.INFO: ==19766== Lock acquired, processing the job... [2025-03-09 16:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:52:01] Production.INFO: neon service started [2025-03-09 16:52:01] Production.INFO: neon service started [2025-03-09 16:52:01] Production.INFO: ==19766== Releasing lock... [2025-03-09 16:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:52:01] Production.INFO: ==19769== Lock acquired, processing the job... [2025-03-09 12:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:52:02] Production.INFO: ==19771== Lock acquired, processing the job... [2025-03-09 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 12:52:02] Production.INFO: ==19769== Releasing lock... [2025-03-09 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:52:02] Production.INFO: ==19771== Releasing lock... [2025-03-09 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:52:03] Production.INFO: ==19773== Lock acquired, processing the job... [2025-03-09 12:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:52:03] Production.INFO: ==19775== Lock acquired, processing the job... [2025-03-09 12:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:52:03] Production.INFO: ==19777== Lock acquired, processing the job... [2025-03-09 12:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:52:03] Production.INFO: ==19779== Lock acquired, processing the job... [2025-03-09 12:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:52:03] Production.INFO: Account Balance Start. [2025-03-09 12:52:03] Production.INFO: CreateAllLog Start [2025-03-09 12:52:03] Production.INFO: 117 [2025-03-09 12:52:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:52:03] Production.INFO: ==19775== Releasing lock... [2025-03-09 12:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:52:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:52:03] Production.INFO: ==19781== Lock acquired, processing the job... [2025-03-09 12:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:52:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:52:03] Production.INFO: Total Charge 0 [2025-03-09 12:52:03] Production.INFO: CreateAllLog End [2025-03-09 12:52:03] Production.INFO: ==19783== Lock acquired, processing the job... [2025-03-09 12:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:52:03] Production.INFO: Account Balance End. [2025-03-09 12:52:03] Production.INFO: count ==13 [2025-03-09 12:52:03] Production.ERROR: CronJobId end 12 [2025-03-09 12:52:03] Production.INFO: ==19779== Releasing lock... [2025-03-09 12:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:52:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:52:03] Production.INFO: count ==21 [2025-03-09 12:52:04] Production.ERROR: done [2025-03-09 12:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642306') start [2025-03-09 12:52:04] Production.ERROR: done [2025-03-09 12:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642306') end [2025-03-09 12:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:52:04] Production.INFO: 1 [2025-03-09 12:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:52:04] Production.INFO: ==19783== Releasing lock... [2025-03-09 12:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:52:05 [end_date_ymd] => 2025-03-09 12:52:05 [RateCDR] => 1 ) [2025-03-09 12:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:52:05' and `end` < '2025-03-09 12:52:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:52:11] Production.ERROR: CronJobId end10 [2025-03-09 12:52:11] Production.INFO: ==19777== Releasing lock... [2025-03-09 12:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:52:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:52:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:52:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:52:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:52:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:52:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:52:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:52:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:52:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:52:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:52:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:52:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:52:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:52:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:52:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:52:12] Production.INFO: call_cost start [2025-03-09 12:52:12] Production.INFO: call_cost end [2025-03-09 12:52:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:52:13] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:52:13] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:52:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:52:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:52:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:52:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:52:13] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:52:13] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:52:13] Production.INFO: ==19773== Releasing lock... [2025-03-09 12:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:52:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:52:17] Production.INFO: count ==597 [2025-03-09 12:52:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:52:05 - End Time 2025-03-09 12:52:05 [2025-03-09 12:52:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642307', 'tblTempUsageDetail_20' ) start [2025-03-09 12:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642307', 'tblTempUsageDetail_20' ) end [2025-03-09 12:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642307', 'tblTempVendorCDR_20' ) start [2025-03-09 12:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642307', 'tblTempVendorCDR_20' ) end [2025-03-09 12:52:17] Production.INFO: ProcessCDR(1,14642307,1,1,2) [2025-03-09 12:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:52:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642307', 'tblTempUsageDetail_20' ) start [2025-03-09 12:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642307', 'tblTempUsageDetail_20' ) end [2025-03-09 12:52:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:52:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:52:20] Production.INFO: ==19781== Releasing lock... [2025-03-09 12:52:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:52:20] Production.INFO: 32.75 MB #Memory Used# [2025-03-09 16:53:01] Production.INFO: ==19844== Lock acquired, processing the job... [2025-03-09 16:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:53:02] Production.INFO: neon service started [2025-03-09 16:53:02] Production.INFO: neon service started [2025-03-09 16:53:02] Production.INFO: ==19844== Releasing lock... [2025-03-09 16:53:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:53:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:53:02] Production.INFO: ==19846== Lock acquired, processing the job... [2025-03-09 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:53:02] Production.INFO: ==19848== Lock acquired, processing the job... [2025-03-09 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:53:02] Production.INFO: ==19848== Releasing lock... [2025-03-09 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:53:03] Production.INFO: ==19846== Releasing lock... [2025-03-09 12:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:53:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:53:03] Production.INFO: ==19857== Lock acquired, processing the job... [2025-03-09 12:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:53:03] Production.INFO: ==19861== Lock acquired, processing the job... [2025-03-09 12:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:53:03] Production.INFO: Account Balance Start. [2025-03-09 12:53:03] Production.INFO: CreateAllLog Start [2025-03-09 12:53:03] Production.INFO: 117 [2025-03-09 12:53:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:53:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:53:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:53:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:53:04] Production.INFO: ==19851== Lock acquired, processing the job... [2025-03-09 12:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:53:04] Production.INFO: Total Charge 0 [2025-03-09 12:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:53:04] Production.INFO: CreateAllLog End [2025-03-09 12:53:04] Production.INFO: count ==13 [2025-03-09 12:53:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:53:04] Production.INFO: ==19853== Lock acquired, processing the job... [2025-03-09 12:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:53:04] Production.INFO: count ==21 [2025-03-09 12:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642309') start [2025-03-09 12:53:04] Production.INFO: ==19855== Lock acquired, processing the job... [2025-03-09 12:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:53:04] Production.INFO: Account Balance End. [2025-03-09 12:53:04] Production.INFO: ==19859== Lock acquired, processing the job... [2025-03-09 12:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:53:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642309') end [2025-03-09 12:53:04] Production.INFO: ==19857== Releasing lock... [2025-03-09 12:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:53:04] Production.INFO: 1 [2025-03-09 12:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:53:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:53:04] Production.INFO: ==19861== Releasing lock... [2025-03-09 12:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:53:04] Production.ERROR: done [2025-03-09 12:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:53:04] Production.INFO: ==19853== Releasing lock... [2025-03-09 12:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:53:05] Production.ERROR: done [2025-03-09 12:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:53:05 [end_date_ymd] => 2025-03-09 12:53:05 [RateCDR] => 1 ) [2025-03-09 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-09 09:53:05' and `end` < '2025-03-09 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-09 12:53:12] Production.ERROR: CronJobId end10 [2025-03-09 12:53:12] Production.INFO: ==19855== Releasing lock... [2025-03-09 12:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:53:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:53:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:53:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:53:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:53:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:53:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:53:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:53:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:53:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:53:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:53:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:53:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:53:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:53:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:53:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:53:14] Production.INFO: call_cost start [2025-03-09 12:53:14] Production.INFO: call_cost end [2025-03-09 12:53:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:53:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:53:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:53:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:53:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:53:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:53:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:53:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:53:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:53:15] Production.INFO: ==19851== Releasing lock... [2025-03-09 12:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:53:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:53:17] Production.INFO: count ==601 [2025-03-09 12:53:18] Production.ERROR: pbx CDR StartTime 2025-03-09 09:53:05 - End Time 2025-03-09 12:53:05 [2025-03-09 12:53:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642312', 'tblTempUsageDetail_20' ) start [2025-03-09 12:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642312', 'tblTempUsageDetail_20' ) end [2025-03-09 12:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642312', 'tblTempVendorCDR_20' ) start [2025-03-09 12:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642312', 'tblTempVendorCDR_20' ) end [2025-03-09 12:53:18] Production.INFO: ProcessCDR(1,14642312,1,1,2) [2025-03-09 12:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642312', 'tblTempUsageDetail_20' ) start [2025-03-09 12:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642312', 'tblTempUsageDetail_20' ) end [2025-03-09 12:53:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:53:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:53:21] Production.INFO: ==19859== Releasing lock... [2025-03-09 12:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:53:21] Production.INFO: 33.5 MB #Memory Used# [2025-03-09 16:54:01] Production.INFO: ==19921== Lock acquired, processing the job... [2025-03-09 16:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:54:01] Production.INFO: neon service started [2025-03-09 16:54:01] Production.INFO: neon service started [2025-03-09 16:54:01] Production.INFO: ==19921== Releasing lock... [2025-03-09 16:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:54:01] Production.INFO: ==19925== Lock acquired, processing the job... [2025-03-09 16:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:54:01] Production.INFO: ==19925== Releasing lock... [2025-03-09 16:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:54:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:54:01] Production.INFO: ==19923== Lock acquired, processing the job... [2025-03-09 12:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:54:02] Production.INFO: ==19923== Releasing lock... [2025-03-09 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:54:03] Production.INFO: ==19932== Lock acquired, processing the job... [2025-03-09 12:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:54:03] Production.INFO: ==19936== Lock acquired, processing the job... [2025-03-09 12:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:54:03] Production.INFO: ==19928== Lock acquired, processing the job... [2025-03-09 12:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:54:03] Production.INFO: ==19930== Lock acquired, processing the job... [2025-03-09 12:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:54:03] Production.INFO: ==19934== Lock acquired, processing the job... [2025-03-09 12:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:54:03] Production.ERROR: done [2025-03-09 12:54:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:54:03] Production.INFO: ==19938== Lock acquired, processing the job... [2025-03-09 12:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:54:03] Production.INFO: Account Balance Start. [2025-03-09 12:54:03] Production.INFO: CreateAllLog Start [2025-03-09 12:54:03] Production.INFO: 117 [2025-03-09 12:54:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:54:04] Production.ERROR: done [2025-03-09 12:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:54:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:54:04] Production.INFO: Total Charge 0 [2025-03-09 12:54:04] Production.INFO: count ==13 [2025-03-09 12:54:04] Production.INFO: CreateAllLog End [2025-03-09 12:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:54:04] Production.INFO: count ==21 [2025-03-09 12:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642316') start [2025-03-09 12:54:04] Production.INFO: ==19930== Releasing lock... [2025-03-09 12:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642316') end [2025-03-09 12:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:54:04] Production.INFO: 1 [2025-03-09 12:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:54:04] Production.INFO: Account Balance End. [2025-03-09 12:54:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:54:04] Production.INFO: ==19934== Releasing lock... [2025-03-09 12:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:54:04] Production.INFO: ==19938== Releasing lock... [2025-03-09 12:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:54:05 [end_date_ymd] => 2025-03-09 12:54:05 [RateCDR] => 1 ) [2025-03-09 12:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:54:05' and `end` < '2025-03-09 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-09 12:54:11] Production.ERROR: CronJobId end10 [2025-03-09 12:54:11] Production.INFO: ==19932== Releasing lock... [2025-03-09 12:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:54:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:54:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:54:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:54:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:54:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:54:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:54:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:54:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:54:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:54:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:54:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:54:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:54:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:54:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:54:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:54:14] Production.INFO: call_cost start [2025-03-09 12:54:14] Production.INFO: call_cost end [2025-03-09 12:54:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:54:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:54:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:54:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:54:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:54:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:54:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:54:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:54:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:54:15] Production.INFO: ==19928== Releasing lock... [2025-03-09 12:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:54:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:54:17] Production.INFO: count ==603 [2025-03-09 12:54:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:54:05 - End Time 2025-03-09 12:54:05 [2025-03-09 12:54:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642317', 'tblTempUsageDetail_20' ) start [2025-03-09 12:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642317', 'tblTempUsageDetail_20' ) end [2025-03-09 12:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642317', 'tblTempVendorCDR_20' ) start [2025-03-09 12:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642317', 'tblTempVendorCDR_20' ) end [2025-03-09 12:54:17] Production.INFO: ProcessCDR(1,14642317,1,1,2) [2025-03-09 12:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642317', 'tblTempUsageDetail_20' ) start [2025-03-09 12:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642317', 'tblTempUsageDetail_20' ) end [2025-03-09 12:54:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:54:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:54:22] Production.INFO: ==19936== Releasing lock... [2025-03-09 12:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:54:22] Production.INFO: 33.5 MB #Memory Used# [2025-03-09 16:55:01] Production.INFO: ==19997== Lock acquired, processing the job... [2025-03-09 16:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:55:01] Production.INFO: neon service started [2025-03-09 16:55:01] Production.INFO: neon service started [2025-03-09 16:55:01] Production.INFO: ==19997== Releasing lock... [2025-03-09 16:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:55:02] Production.INFO: ==20001== Lock acquired, processing the job... [2025-03-09 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:55:02] Production.INFO: ==20001== Releasing lock... [2025-03-09 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:55:02] Production.INFO: ==19999== Lock acquired, processing the job... [2025-03-09 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:55:02] Production.INFO: ==19999== Releasing lock... [2025-03-09 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:55:03] Production.INFO: ==20008== Lock acquired, processing the job... [2025-03-09 12:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:55:03] Production.INFO: ==20012== Lock acquired, processing the job... [2025-03-09 12:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:55:03] Production.INFO: ==20004== Lock acquired, processing the job... [2025-03-09 12:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:55:03] Production.INFO: ==20006== Lock acquired, processing the job... [2025-03-09 12:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:55:03] Production.INFO: ==20010== Lock acquired, processing the job... [2025-03-09 12:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:55:04] Production.INFO: ==20014== Lock acquired, processing the job... [2025-03-09 12:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:55:04] Production.ERROR: done [2025-03-09 12:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:55:04] Production.INFO: Account Balance Start. [2025-03-09 12:55:04] Production.INFO: CreateAllLog Start [2025-03-09 12:55:04] Production.INFO: 117 [2025-03-09 12:55:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:55:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:55:04] Production.INFO: ==20006== Releasing lock... [2025-03-09 12:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:55:04] Production.INFO: Total Charge 0 [2025-03-09 12:55:04] Production.ERROR: done [2025-03-09 12:55:04] Production.INFO: CreateAllLog End [2025-03-09 12:55:04] Production.INFO: count ==13 [2025-03-09 12:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:55:04] Production.INFO: count ==21 [2025-03-09 12:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642321') start [2025-03-09 12:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642321') end [2025-03-09 12:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:55:04] Production.INFO: 1 [2025-03-09 12:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:55:04] Production.INFO: ==20014== Releasing lock... [2025-03-09 12:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:55:04] Production.INFO: Account Balance End. [2025-03-09 12:55:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:55:04] Production.INFO: ==20010== Releasing lock... [2025-03-09 12:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:55:05 [end_date_ymd] => 2025-03-09 12:55:05 [RateCDR] => 1 ) [2025-03-09 12:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:55:05' and `end` < '2025-03-09 12:55:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:55:11] Production.ERROR: CronJobId end10 [2025-03-09 12:55:11] Production.INFO: ==20008== Releasing lock... [2025-03-09 12:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:55:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:55:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:55:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:55:14] Production.INFO: call_cost start [2025-03-09 12:55:14] Production.INFO: call_cost end [2025-03-09 12:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:55:15] Production.INFO: ==20004== Releasing lock... [2025-03-09 12:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:55:17] Production.INFO: count ==603 [2025-03-09 12:55:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:55:05 - End Time 2025-03-09 12:55:05 [2025-03-09 12:55:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642322', 'tblTempUsageDetail_20' ) start [2025-03-09 12:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642322', 'tblTempUsageDetail_20' ) end [2025-03-09 12:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642322', 'tblTempVendorCDR_20' ) start [2025-03-09 12:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642322', 'tblTempVendorCDR_20' ) end [2025-03-09 12:55:17] Production.INFO: ProcessCDR(1,14642322,1,1,2) [2025-03-09 12:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:55:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642322', 'tblTempUsageDetail_20' ) start [2025-03-09 12:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642322', 'tblTempUsageDetail_20' ) end [2025-03-09 12:55:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:55:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:55:21] Production.INFO: ==20012== Releasing lock... [2025-03-09 12:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:55:21] Production.INFO: 33.5 MB #Memory Used# [2025-03-09 16:56:02] Production.INFO: ==20076== Lock acquired, processing the job... [2025-03-09 16:56:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:56:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:56:02] Production.INFO: neon service started [2025-03-09 16:56:02] Production.INFO: neon service started [2025-03-09 16:56:02] Production.INFO: ==20076== Releasing lock... [2025-03-09 16:56:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:56:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:56:02] Production.INFO: ==20078== Lock acquired, processing the job... [2025-03-09 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:56:03] Production.INFO: ==20078== Releasing lock... [2025-03-09 12:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:56:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:56:03] Production.INFO: ==20080== Lock acquired, processing the job... [2025-03-09 16:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:56:03] Production.INFO: ==20080== Releasing lock... [2025-03-09 16:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:56:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:56:04] Production.INFO: ==20082== Lock acquired, processing the job... [2025-03-09 12:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:56:04] Production.INFO: ==20090== Lock acquired, processing the job... [2025-03-09 12:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:56:04] Production.INFO: ==20084== Lock acquired, processing the job... [2025-03-09 12:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:56:04] Production.INFO: ==20092== Lock acquired, processing the job... [2025-03-09 12:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:56:04] Production.INFO: ==20086== Lock acquired, processing the job... [2025-03-09 12:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:56:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:56:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:56:04] Production.INFO: ==20088== Lock acquired, processing the job... [2025-03-09 12:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:56:04] Production.INFO: count ==13 [2025-03-09 12:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:56:04] Production.INFO: count ==21 [2025-03-09 12:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642324') start [2025-03-09 12:56:04] Production.INFO: Account Balance Start. [2025-03-09 12:56:04] Production.INFO: CreateAllLog Start [2025-03-09 12:56:04] Production.INFO: 117 [2025-03-09 12:56:04] Production.INFO: ==20084== Releasing lock... [2025-03-09 12:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642324') end [2025-03-09 12:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:56:04] Production.INFO: 1 [2025-03-09 12:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:56:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:56:04] Production.ERROR: done [2025-03-09 12:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:56:04] Production.INFO: ==20092== Releasing lock... [2025-03-09 12:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:56:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:56:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:56:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:56:04] Production.INFO: Total Charge 0 [2025-03-09 12:56:04] Production.INFO: CreateAllLog End [2025-03-09 12:56:04] Production.ERROR: done [2025-03-09 12:56:04] Production.INFO: Account Balance End. [2025-03-09 12:56:05] Production.ERROR: CronJobId end 12 [2025-03-09 12:56:05] Production.INFO: ==20088== Releasing lock... [2025-03-09 12:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:56:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:56:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:56:06 [end_date_ymd] => 2025-03-09 12:56:06 [RateCDR] => 1 ) [2025-03-09 12: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-09 09:56:06' and `end` < '2025-03-09 12: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-09 12:56:12] Production.ERROR: CronJobId end10 [2025-03-09 12:56:12] Production.INFO: ==20086== Releasing lock... [2025-03-09 12:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:56:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:56:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:56:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:56:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:56:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:56:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:56:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:56:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:56:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:56:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:56:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:56:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:56:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:56:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:56:16] Production.INFO: call_cost start [2025-03-09 12:56:16] Production.INFO: call_cost end [2025-03-09 12:56:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:56:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:56:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:56:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:56:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:56:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:56:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:56:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:56:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:56:17] Production.INFO: ==20082== Releasing lock... [2025-03-09 12:56:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:56:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:56:18] Production.INFO: count ==607 [2025-03-09 12:56:18] Production.ERROR: pbx CDR StartTime 2025-03-09 09:56:06 - End Time 2025-03-09 12:56:06 [2025-03-09 12:56:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642327', 'tblTempUsageDetail_20' ) start [2025-03-09 12:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642327', 'tblTempUsageDetail_20' ) end [2025-03-09 12:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642327', 'tblTempVendorCDR_20' ) start [2025-03-09 12:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642327', 'tblTempVendorCDR_20' ) end [2025-03-09 12:56:18] Production.INFO: ProcessCDR(1,14642327,1,1,2) [2025-03-09 12:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642327', 'tblTempUsageDetail_20' ) start [2025-03-09 12:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642327', 'tblTempUsageDetail_20' ) end [2025-03-09 12:56:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:56:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:56:23] Production.INFO: ==20090== Releasing lock... [2025-03-09 12:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:56:23] Production.INFO: 33.5 MB #Memory Used# [2025-03-09 16:57:01] Production.INFO: ==20154== Lock acquired, processing the job... [2025-03-09 16:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:57:01] Production.INFO: neon service started [2025-03-09 16:57:01] Production.INFO: neon service started [2025-03-09 16:57:01] Production.INFO: ==20154== Releasing lock... [2025-03-09 16:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:57:02] Production.INFO: ==20156== Lock acquired, processing the job... [2025-03-09 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:57:02] Production.INFO: ==20156== Releasing lock... [2025-03-09 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:57:02] Production.INFO: ==20158== Lock acquired, processing the job... [2025-03-09 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:57:02] Production.INFO: ==20158== Releasing lock... [2025-03-09 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:57:03] Production.INFO: ==20163== Lock acquired, processing the job... [2025-03-09 12:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:57:03] Production.INFO: ==20169== Lock acquired, processing the job... [2025-03-09 12:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:57:03] Production.INFO: ==20161== Lock acquired, processing the job... [2025-03-09 12:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:57:03] Production.INFO: ==20163== Releasing lock... [2025-03-09 12:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:57:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:57:03] Production.INFO: ==20165== Lock acquired, processing the job... [2025-03-09 12:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:57:03] Production.INFO: ==20167== Lock acquired, processing the job... [2025-03-09 12:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:57:03] Production.INFO: ==20171== Lock acquired, processing the job... [2025-03-09 12:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:57:03] Production.INFO: Account Balance Start. [2025-03-09 12:57:03] Production.INFO: CreateAllLog Start [2025-03-09 12:57:03] Production.INFO: 117 [2025-03-09 12:57:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:57:03] Production.ERROR: done [2025-03-09 12:57:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:57:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:57:03] Production.INFO: count ==13 [2025-03-09 12:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:57:03] Production.INFO: count ==21 [2025-03-09 12:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642331') start [2025-03-09 12:57:03] Production.INFO: Total Charge 0 [2025-03-09 12:57:03] Production.INFO: CreateAllLog End [2025-03-09 12:57:04] Production.ERROR: done [2025-03-09 12:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642331') end [2025-03-09 12:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:57:04] Production.INFO: 1 [2025-03-09 12:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:57:04] Production.INFO: Account Balance End. [2025-03-09 12:57:04] Production.INFO: ==20171== Releasing lock... [2025-03-09 12:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:57:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:57:04] Production.INFO: ==20167== Releasing lock... [2025-03-09 12:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:57:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:57:04 [end_date_ymd] => 2025-03-09 12:57:04 [RateCDR] => 1 ) [2025-03-09 12:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:57:04' and `end` < '2025-03-09 12:57:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:57:10] Production.ERROR: CronJobId end10 [2025-03-09 12:57:10] Production.INFO: ==20165== Releasing lock... [2025-03-09 12:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:57:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:57:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:57:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:57:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:57:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:57:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:57:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:57:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:57:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:57:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:57:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:57:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:57:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:57:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:57:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:57:13] Production.INFO: call_cost start [2025-03-09 12:57:13] Production.INFO: call_cost end [2025-03-09 12:57:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:57:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:57:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:57:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:57:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:57:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:57:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:57:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:57:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:57:14] Production.INFO: ==20161== Releasing lock... [2025-03-09 12:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:57:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:57:17] Production.INFO: count ==610 [2025-03-09 12:57:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:57:04 - End Time 2025-03-09 12:57:04 [2025-03-09 12:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642332', 'tblTempUsageDetail_20' ) start [2025-03-09 12:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642332', 'tblTempUsageDetail_20' ) end [2025-03-09 12:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642332', 'tblTempVendorCDR_20' ) start [2025-03-09 12:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642332', 'tblTempVendorCDR_20' ) end [2025-03-09 12:57:17] Production.INFO: ProcessCDR(1,14642332,1,1,2) [2025-03-09 12:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642332', 'tblTempUsageDetail_20' ) start [2025-03-09 12:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642332', 'tblTempUsageDetail_20' ) end [2025-03-09 12:57:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:57:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:57:20] Production.INFO: ==20169== Releasing lock... [2025-03-09 12:57:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:57:20] Production.INFO: 33.5 MB #Memory Used# [2025-03-09 16:58:02] Production.INFO: ==20231== Lock acquired, processing the job... [2025-03-09 16:58:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:58:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:58:02] Production.INFO: neon service started [2025-03-09 16:58:02] Production.INFO: neon service started [2025-03-09 16:58:02] Production.INFO: ==20231== Releasing lock... [2025-03-09 16:58:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:58:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:58:02] Production.INFO: ==20235== Lock acquired, processing the job... [2025-03-09 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:58:02] Production.INFO: ==20235== Releasing lock... [2025-03-09 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:58:02] Production.INFO: ==20233== Lock acquired, processing the job... [2025-03-09 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 12:58:03] Production.INFO: ==20233== Releasing lock... [2025-03-09 12:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:58:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:58:03] Production.INFO: ==20242== Lock acquired, processing the job... [2025-03-09 12:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:58:03] Production.INFO: ==20248== Lock acquired, processing the job... [2025-03-09 12:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:58:04] Production.INFO: ==20238== Lock acquired, processing the job... [2025-03-09 12:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 12:58:04] Production.INFO: ==20240== Lock acquired, processing the job... [2025-03-09 12:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:58:04] Production.INFO: count ==13 [2025-03-09 12:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:58:04] Production.INFO: count ==21 [2025-03-09 12:58:04] Production.INFO: ==20244== Lock acquired, processing the job... [2025-03-09 12:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:58:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642333') start [2025-03-09 12:58:04] Production.INFO: ==20246== Lock acquired, processing the job... [2025-03-09 12:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:58:04] Production.INFO: Account Balance Start. [2025-03-09 12:58:04] Production.INFO: CreateAllLog Start [2025-03-09 12:58:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:58:04] Production.INFO: 117 [2025-03-09 12:58:04] Production.INFO: Date 2025-03-08 [2025-03-09 12:58:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:58:04] Production.INFO: Date 2025-03-09 [2025-03-09 12:58:04] Production.INFO: Reseller ==> 0 [2025-03-09 12:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642333') end [2025-03-09 12:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:58:04] Production.INFO: 1 [2025-03-09 12:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:58:04] Production.INFO: Total Charge 0 [2025-03-09 12:58:04] Production.INFO: CreateAllLog End [2025-03-09 12:58:04] Production.INFO: ==20248== Releasing lock... [2025-03-09 12:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:58:04] Production.INFO: ==20240== Releasing lock... [2025-03-09 12:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:58:04] Production.INFO: Account Balance End. [2025-03-09 12:58:04] Production.ERROR: done [2025-03-09 12:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:58:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:58:04] Production.INFO: ==20244== Releasing lock... [2025-03-09 12:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:58:04] Production.ERROR: done [2025-03-09 12:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:58:05 [end_date_ymd] => 2025-03-09 12:58:05 [RateCDR] => 1 ) [2025-03-09 12:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 09:58:05' and `end` < '2025-03-09 12:58:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 12:58:11] Production.ERROR: CronJobId end10 [2025-03-09 12:58:11] Production.INFO: ==20242== Releasing lock... [2025-03-09 12:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:58:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:58:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:58:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:58:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:58:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:58:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:58:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:58:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:58:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:58:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:58:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:58:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:58:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:58:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:58:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:58:15] Production.INFO: call_cost start [2025-03-09 12:58:15] Production.INFO: call_cost end [2025-03-09 12:58:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:58:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:58:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:58:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:58:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:58:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:58:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:58:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:58:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:58:16] Production.INFO: ==20238== Releasing lock... [2025-03-09 12:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:58:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:58:17] Production.INFO: count ==610 [2025-03-09 12:58:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:58:05 - End Time 2025-03-09 12:58:05 [2025-03-09 12:58:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642337', 'tblTempUsageDetail_20' ) start [2025-03-09 12:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642337', 'tblTempUsageDetail_20' ) end [2025-03-09 12:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642337', 'tblTempVendorCDR_20' ) start [2025-03-09 12:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642337', 'tblTempVendorCDR_20' ) end [2025-03-09 12:58:18] Production.INFO: ProcessCDR(1,14642337,1,1,2) [2025-03-09 12:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642337', 'tblTempUsageDetail_20' ) start [2025-03-09 12:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642337', 'tblTempUsageDetail_20' ) end [2025-03-09 12:58:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:58:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:58:21] Production.INFO: ==20246== Releasing lock... [2025-03-09 12:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:58:21] Production.INFO: 33.5 MB #Memory Used# [2025-03-09 16:59:01] Production.INFO: ==20311== Lock acquired, processing the job... [2025-03-09 16:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 16:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 16:59:01] Production.INFO: neon service started [2025-03-09 16:59:01] Production.INFO: neon service started [2025-03-09 16:59:01] Production.INFO: ==20311== Releasing lock... [2025-03-09 16:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 16:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 12:59:02] Production.INFO: ==20313== Lock acquired, processing the job... [2025-03-09 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:59:02] Production.INFO: ==20315== Lock acquired, processing the job... [2025-03-09 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:59:02] Production.INFO: ==20315== Releasing lock... [2025-03-09 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 16:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 12:59:02] Production.INFO: ==20313== Releasing lock... [2025-03-09 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 12:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 12:59:03] Production.INFO: ==20326== Lock acquired, processing the job... [2025-03-09 12:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 12:59:03] Production.INFO: ==20328== Lock acquired, processing the job... [2025-03-09 12:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 12:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 12:59:03] Production.INFO: Account Balance Start. [2025-03-09 12:59:03] Production.INFO: CreateAllLog Start [2025-03-09 12:59:03] Production.INFO: 117 [2025-03-09 12:59:03] Production.INFO: Date 2025-03-08 [2025-03-09 12:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:59:03] Production.INFO: Date 2025-03-09 [2025-03-09 12:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 12:59:03] Production.INFO: Total Charge 0 [2025-03-09 12:59:03] Production.INFO: ==20320== Lock acquired, processing the job... [2025-03-09 12:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 12:59:03] Production.INFO: CreateAllLog End [2025-03-09 12:59:03] Production.INFO: ==20322== Lock acquired, processing the job... [2025-03-09 12:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 12:59:03] Production.INFO: ==20330== Lock acquired, processing the job... [2025-03-09 12:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 12:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 12:59:03] Production.INFO: ==20324== Lock acquired, processing the job... [2025-03-09 12:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 12:59:04] Production.ERROR: done [2025-03-09 12:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 12:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 12:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 12:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 12:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 12:59:04] Production.INFO: Account Balance End. [2025-03-09 12:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:59:04] Production.ERROR: CronJobId end 12 [2025-03-09 12:59:04] Production.INFO: ==20326== Releasing lock... [2025-03-09 12:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 12:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 12:59:04] Production.INFO: count ==13 [2025-03-09 12:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 12:59:04] Production.INFO: count ==21 [2025-03-09 12:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642340') start [2025-03-09 12:59:04] Production.ERROR: done [2025-03-09 12:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642340') end [2025-03-09 12:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 12:59:04] Production.INFO: 1 [2025-03-09 12:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 12:59:04] Production.INFO: ==20330== Releasing lock... [2025-03-09 12:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 12:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 12:59:04] Production.INFO: ==20322== Releasing lock... [2025-03-09 12:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 12:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 12:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 09:59:05 [end_date_ymd] => 2025-03-09 12:59:05 [RateCDR] => 1 ) [2025-03-09 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-09 09:59:05' and `end` < '2025-03-09 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-09 12:59:11] Production.ERROR: CronJobId end10 [2025-03-09 12:59:11] Production.INFO: ==20324== Releasing lock... [2025-03-09 12:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 12:59:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 12:59:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 12:59:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 12:59:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 12:59:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 12:59:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 12:59:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 12:59:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 12:59:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 12:59:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 12:59:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 12:59:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 12:59:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 12:59:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 12:59:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 12:59:15] Production.INFO: call_cost start [2025-03-09 12:59:15] Production.INFO: call_cost end [2025-03-09 12:59:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 12:59:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 12:59:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 12:59:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 12:59:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 12:59:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 12:59:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 12:59:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 12:59:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 12:59:16] Production.INFO: ==20320== Releasing lock... [2025-03-09 12:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 12:59:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 12:59:17] Production.INFO: count ==610 [2025-03-09 12:59:17] Production.ERROR: pbx CDR StartTime 2025-03-09 09:59:05 - End Time 2025-03-09 12:59:05 [2025-03-09 12:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 12:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642342', 'tblTempUsageDetail_20' ) start [2025-03-09 12:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642342', 'tblTempUsageDetail_20' ) end [2025-03-09 12:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642342', 'tblTempVendorCDR_20' ) start [2025-03-09 12:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642342', 'tblTempVendorCDR_20' ) end [2025-03-09 12:59:17] Production.INFO: ProcessCDR(1,14642342,1,1,2) [2025-03-09 12:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 12:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 12:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642342', 'tblTempUsageDetail_20' ) start [2025-03-09 12:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642342', 'tblTempUsageDetail_20' ) end [2025-03-09 12:59:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 12:59:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 12:59:20] Production.INFO: ==20328== Releasing lock... [2025-03-09 12:59:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 12:59:20] Production.INFO: 33.5 MB #Memory Used# [2025-03-09 17:00:02] Production.INFO: ==20387== Lock acquired, processing the job... [2025-03-09 17:00:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:00:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:00:02] Production.INFO: neon service started [2025-03-09 17:00:02] Production.INFO: neon service started [2025-03-09 17:00:02] Production.INFO: ==20387== Releasing lock... [2025-03-09 17:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:00:02] Production.INFO: ==20389== Lock acquired, processing the job... [2025-03-09 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:00:02] Production.INFO: ==20391== Lock acquired, processing the job... [2025-03-09 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:00:02] Production.INFO: ==20391== Releasing lock... [2025-03-09 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:00:02] Production.INFO: ==20389== Releasing lock... [2025-03-09 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:00:04] Production.INFO: ==20400== Lock acquired, processing the job... [2025-03-09 13:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:00:04] Production.INFO: ==20396== Lock acquired, processing the job... [2025-03-09 13:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 13:00:04] Production.INFO: ==20398== Lock acquired, processing the job... [2025-03-09 13:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 13:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 13:00:04] Production.ERROR: CronJob PID - 20398 [2025-03-09 13:00:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 13:00:04] Production.ERROR: CronJob ID - 5 [2025-03-09 13:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 13:00:00 [2025-03-09 13:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 13:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 13:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 13:00:04] Production.ERROR: CronJob PID - 20400 [2025-03-09 13:00:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 13:00:04] Production.ERROR: CronJob ID - 7 [2025-03-09 13:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 13:00:00 [2025-03-09 13:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 13:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 13:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:00:04] Production.INFO: ==20404== Lock acquired, processing the job... [2025-03-09 13:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 13:00:04] Production.INFO: ==20396== Releasing lock... [2025-03-09 13:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 13:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 13:00:04] Production.INFO: ==20402== Lock acquired, processing the job... [2025-03-09 13:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:00:04] Production.INFO: ==20406== Lock acquired, processing the job... [2025-03-09 13:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:00:04] Production.INFO: Account Balance Start. [2025-03-09 13:00:04] Production.INFO: CreateAllLog Start [2025-03-09 13:00:04] Production.INFO: 117 [2025-03-09 13:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:00:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:00:04] Production.INFO: ==20408== Lock acquired, processing the job... [2025-03-09 13:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 13:00:04] Production.INFO: ==20410== Lock acquired, processing the job... [2025-03-09 13:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:00:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:00:04] Production.INFO: Total Charge 0 [2025-03-09 13:00:04] Production.INFO: CreateAllLog End [2025-03-09 13:00:04] Production.INFO: ==20400== Releasing lock... [2025-03-09 13:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:00:04] Production.INFO: count ==13 [2025-03-09 13:00:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:00:05] Production.INFO: count ==21 [2025-03-09 13:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14642346') start [2025-03-09 13:00:05] Production.ERROR: done [2025-03-09 13:00:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14642346') end [2025-03-09 13:00:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:00:05] Production.INFO: 1 [2025-03-09 13:00:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:00:05] Production.INFO: ==20410== Releasing lock... [2025-03-09 13:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:00:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:00:05] Production.ERROR: done [2025-03-09 13:00:05] Production.ERROR: done [2025-03-09 13:00:05] Production.INFO: Account Balance End. [2025-03-09 13:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 13:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642347', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 13:00:05] Production.ERROR: CronJobId end 12 [2025-03-09 13:00:05] Production.INFO: ==20404== Releasing lock... [2025-03-09 13:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:00:06 [end_date_ymd] => 2025-03-09 13:00:06 [RateCDR] => 1 ) [2025-03-09 13:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:00:06' and `end` < '2025-03-09 13:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642347', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 13:00:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 13:00:10] Production.INFO: ProcessCDR(1,14642347,1,1,2) [2025-03-09 13:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14642347,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14642347,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:00:10] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:00:10] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:00:11] Production.INFO: ==20408== Releasing lock... [2025-03-09 13:00:11] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 13:00:11] Production.INFO: 26 MB #Memory Used# [2025-03-09 13:00:16] Production.ERROR: CronJobId end10 [2025-03-09 13:00:16] Production.INFO: ==20402== Releasing lock... [2025-03-09 13:00:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:00:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:00:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:00:17] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:00:17] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:00:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:00:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:00:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:00:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:00:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:00:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:00:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:00:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:00:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:00:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:00:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:00:17] Production.INFO: call_cost start [2025-03-09 13:00:17] Production.INFO: call_cost end [2025-03-09 13:00:18] Production.INFO: count ==611 [2025-03-09 13:00:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:00:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:00:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:00:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:00:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:00:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:00:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:00:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:00:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:00:18] Production.INFO: ==20398== Releasing lock... [2025-03-09 13:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:00:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:00:19] Production.ERROR: pbx CDR StartTime 2025-03-09 10:00:06 - End Time 2025-03-09 13:00:06 [2025-03-09 13:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642348', 'tblTempUsageDetail_20' ) start [2025-03-09 13:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642348', 'tblTempUsageDetail_20' ) end [2025-03-09 13:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642348', 'tblTempVendorCDR_20' ) start [2025-03-09 13:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642348', 'tblTempVendorCDR_20' ) end [2025-03-09 13:00:19] Production.INFO: ProcessCDR(1,14642348,1,1,2) [2025-03-09 13:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642348', 'tblTempUsageDetail_20' ) start [2025-03-09 13:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642348', 'tblTempUsageDetail_20' ) end [2025-03-09 13:00:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:00:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:00:23] Production.INFO: ==20406== Releasing lock... [2025-03-09 13:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:00:23] Production.INFO: 33.5 MB #Memory Used# [2025-03-09 17:01:01] Production.INFO: ==20480== Lock acquired, processing the job... [2025-03-09 17:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:01:01] Production.INFO: neon service started [2025-03-09 17:01:01] Production.INFO: neon service started [2025-03-09 17:01:01] Production.INFO: ==20480== Releasing lock... [2025-03-09 17:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:01:01] Production.INFO: ==20488== Lock acquired, processing the job... [2025-03-09 17:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:01:01] Production.INFO: ==20488== Releasing lock... [2025-03-09 17:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:01:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:01:02] Production.INFO: ==20486== Lock acquired, processing the job... [2025-03-09 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:01:02] Production.INFO: ==20486== Releasing lock... [2025-03-09 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:01:03] Production.INFO: ==20490== Lock acquired, processing the job... [2025-03-09 13:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:01:03] Production.INFO: ==20496== Lock acquired, processing the job... [2025-03-09 13:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:01:03] Production.INFO: Account Balance Start. [2025-03-09 13:01:03] Production.INFO: CreateAllLog Start [2025-03-09 13:01:03] Production.INFO: 117 [2025-03-09 13:01:03] Production.INFO: ==20492== Lock acquired, processing the job... [2025-03-09 13:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:01:03] Production.INFO: ==20494== Lock acquired, processing the job... [2025-03-09 13:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:01:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:01:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:01:03] Production.INFO: Date 2025-03-09 [2025-03-09 13:01:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:01:03] Production.INFO: ==20499== Lock acquired, processing the job... [2025-03-09 13:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:01:03] Production.INFO: ==20501== Lock acquired, processing the job... [2025-03-09 13:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:01:03] Production.INFO: Total Charge 0 [2025-03-09 13:01:03] Production.INFO: CreateAllLog End [2025-03-09 13:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:01:03] Production.INFO: ==20492== Releasing lock... [2025-03-09 13:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:01:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:01:03] Production.INFO: count ==13 [2025-03-09 13:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:01:03] Production.INFO: count ==21 [2025-03-09 13:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642352') start [2025-03-09 13:01:04] Production.ERROR: done [2025-03-09 13:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642352') end [2025-03-09 13:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:01:04] Production.INFO: 1 [2025-03-09 13:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:01:04] Production.INFO: ==20501== Releasing lock... [2025-03-09 13:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:01:04] Production.ERROR: done [2025-03-09 13:01:04] Production.INFO: Account Balance End. [2025-03-09 13:01:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:01:04] Production.INFO: ==20496== Releasing lock... [2025-03-09 13:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:01:05 [end_date_ymd] => 2025-03-09 13:01:05 [RateCDR] => 1 ) [2025-03-09 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-09 10:01:05' and `end` < '2025-03-09 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-09 13:01:12] Production.ERROR: CronJobId end10 [2025-03-09 13:01:12] Production.INFO: ==20494== Releasing lock... [2025-03-09 13:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:01:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:01:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:01:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:01:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:01:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:01:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:01:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:01:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:01:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:01:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:01:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:01:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:01:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:01:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:01:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:01:14] Production.INFO: call_cost start [2025-03-09 13:01:14] Production.INFO: call_cost end [2025-03-09 13:01:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:01:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:01:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:01:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:01:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:01:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:01:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:01:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:01:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:01:15] Production.INFO: ==20490== Releasing lock... [2025-03-09 13:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:01:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:01:17] Production.INFO: count ==631 [2025-03-09 13:01:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:01:05 - End Time 2025-03-09 13:01:05 [2025-03-09 13:01:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642353', 'tblTempUsageDetail_20' ) start [2025-03-09 13:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642353', 'tblTempUsageDetail_20' ) end [2025-03-09 13:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642353', 'tblTempVendorCDR_20' ) start [2025-03-09 13:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642353', 'tblTempVendorCDR_20' ) end [2025-03-09 13:01:17] Production.INFO: ProcessCDR(1,14642353,1,1,2) [2025-03-09 13:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642353', 'tblTempUsageDetail_20' ) start [2025-03-09 13:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642353', 'tblTempUsageDetail_20' ) end [2025-03-09 13:01:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:01:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:01:22] Production.INFO: ==20499== Releasing lock... [2025-03-09 13:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:01:22] Production.INFO: 34 MB #Memory Used# [2025-03-09 17:02:02] Production.INFO: ==20558== Lock acquired, processing the job... [2025-03-09 17:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:02:02] Production.INFO: neon service started [2025-03-09 17:02:02] Production.INFO: neon service started [2025-03-09 17:02:02] Production.INFO: ==20558== Releasing lock... [2025-03-09 17:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:02:02] Production.INFO: ==20560== Lock acquired, processing the job... [2025-03-09 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:02:02] Production.INFO: ==20562== Lock acquired, processing the job... [2025-03-09 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:02:02] Production.INFO: ==20562== Releasing lock... [2025-03-09 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:02:03] Production.INFO: ==20560== Releasing lock... [2025-03-09 13:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:02:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:02:04] Production.INFO: ==20573== Lock acquired, processing the job... [2025-03-09 13:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:02:04] Production.INFO: ==20575== Lock acquired, processing the job... [2025-03-09 13:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:02:04] Production.INFO: ==20565== Lock acquired, processing the job... [2025-03-09 13:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 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-09 13:02:04] Production.INFO: count ==13 [2025-03-09 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-09 13:02:04] Production.INFO: count ==21 [2025-03-09 13:02:04] Production.INFO: ==20567== Lock acquired, processing the job... [2025-03-09 13:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642354') start [2025-03-09 13:02:04] Production.INFO: ==20569== Lock acquired, processing the job... [2025-03-09 13:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:02:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:02:04] Production.INFO: ==20571== Lock acquired, processing the job... [2025-03-09 13:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642354') end [2025-03-09 13:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:02:04] Production.INFO: 1 [2025-03-09 13:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:02:04] Production.INFO: ==20575== Releasing lock... [2025-03-09 13:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:02:04] Production.ERROR: done [2025-03-09 13:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:02:04] Production.INFO: Account Balance Start. [2025-03-09 13:02:04] Production.INFO: CreateAllLog Start [2025-03-09 13:02:04] Production.INFO: 117 [2025-03-09 13:02:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:02:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:02:04] Production.INFO: Total Charge 0 [2025-03-09 13:02:04] Production.INFO: CreateAllLog End [2025-03-09 13:02:04] Production.INFO: ==20567== Releasing lock... [2025-03-09 13:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:02:04] Production.ERROR: done [2025-03-09 13:02:04] Production.INFO: Account Balance End. [2025-03-09 13:02:05] Production.ERROR: CronJobId end 12 [2025-03-09 13:02:05] Production.INFO: ==20571== Releasing lock... [2025-03-09 13:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:02:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:02:05 [end_date_ymd] => 2025-03-09 13:02:05 [RateCDR] => 1 ) [2025-03-09 13:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:02:05' and `end` < '2025-03-09 13:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:02:13] Production.ERROR: CronJobId end10 [2025-03-09 13:02:13] Production.INFO: ==20569== Releasing lock... [2025-03-09 13:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:02:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:02:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:02:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:02:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:02:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:02:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:02:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:02:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:02:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:02:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:02:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:02:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:02:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:02:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:02:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:02:16] Production.INFO: call_cost start [2025-03-09 13:02:16] Production.INFO: call_cost end [2025-03-09 13:02:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:02:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:02:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:02:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:02:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:02:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:02:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:02:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:02:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:02:17] Production.INFO: ==20565== Releasing lock... [2025-03-09 13:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:02:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:02:18] Production.INFO: count ==631 [2025-03-09 13:02:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:02:05 - End Time 2025-03-09 13:02:05 [2025-03-09 13:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642358', 'tblTempUsageDetail_20' ) start [2025-03-09 13:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642358', 'tblTempUsageDetail_20' ) end [2025-03-09 13:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642358', 'tblTempVendorCDR_20' ) start [2025-03-09 13:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642358', 'tblTempVendorCDR_20' ) end [2025-03-09 13:02:18] Production.INFO: ProcessCDR(1,14642358,1,1,2) [2025-03-09 13:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642358', 'tblTempUsageDetail_20' ) start [2025-03-09 13:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642358', 'tblTempUsageDetail_20' ) end [2025-03-09 13:02:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:02:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:02:23] Production.INFO: ==20573== Releasing lock... [2025-03-09 13:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:02:23] Production.INFO: 34 MB #Memory Used# [2025-03-09 17:03:01] Production.INFO: ==20671== Lock acquired, processing the job... [2025-03-09 17:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:03:01] Production.INFO: neon service started [2025-03-09 17:03:01] Production.INFO: neon service started [2025-03-09 17:03:01] Production.INFO: ==20671== Releasing lock... [2025-03-09 17:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:03:01] Production.INFO: ==20673== Lock acquired, processing the job... [2025-03-09 13:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:03:02] Production.INFO: ==20675== Lock acquired, processing the job... [2025-03-09 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:03:02] Production.INFO: ==20675== Releasing lock... [2025-03-09 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:03:02] Production.INFO: ==20673== Releasing lock... [2025-03-09 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:03:03] Production.INFO: ==20684== Lock acquired, processing the job... [2025-03-09 13:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:03:03] Production.INFO: ==20680== Lock acquired, processing the job... [2025-03-09 13:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:03:03] Production.INFO: ==20678== Lock acquired, processing the job... [2025-03-09 13:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:03:03] Production.INFO: Account Balance Start. [2025-03-09 13:03:03] Production.INFO: CreateAllLog Start [2025-03-09 13:03:03] Production.INFO: 117 [2025-03-09 13:03:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:03:03] Production.INFO: Date 2025-03-09 [2025-03-09 13:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:03:03] Production.INFO: Total Charge 0 [2025-03-09 13:03:03] Production.INFO: CreateAllLog End [2025-03-09 13:03:03] Production.INFO: ==20682== Lock acquired, processing the job... [2025-03-09 13:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:03:03] Production.INFO: ==20688== Lock acquired, processing the job... [2025-03-09 13:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:03:03] Production.INFO: ==20686== Lock acquired, processing the job... [2025-03-09 13:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:03:03] Production.INFO: Account Balance End. [2025-03-09 13:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:03:03] Production.INFO: ==20680== Releasing lock... [2025-03-09 13:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:03:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 13:03:03] Production.ERROR: CronJobId end 12 [2025-03-09 13:03:03] Production.INFO: ==20684== Releasing lock... [2025-03-09 13:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:03:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:03:03] Production.INFO: count ==13 [2025-03-09 13:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:03:04] Production.INFO: count ==21 [2025-03-09 13:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642362') start [2025-03-09 13:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642362') end [2025-03-09 13:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:03:04] Production.INFO: 1 [2025-03-09 13:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:03:04] Production.ERROR: done [2025-03-09 13:03:04] Production.INFO: ==20688== Releasing lock... [2025-03-09 13:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:03:04] Production.ERROR: done [2025-03-09 13:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:03:05 [end_date_ymd] => 2025-03-09 13:03:05 [RateCDR] => 1 ) [2025-03-09 13:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:03:05' and `end` < '2025-03-09 13:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:03:13] Production.ERROR: CronJobId end10 [2025-03-09 13:03:13] Production.INFO: ==20682== Releasing lock... [2025-03-09 13:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:03:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:03:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:03:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:03:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:03:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:03:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:03:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:03:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:03:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:03:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:03:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:03:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:03:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:03:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:03:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:03:15] Production.INFO: call_cost start [2025-03-09 13:03:15] Production.INFO: call_cost end [2025-03-09 13:03:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:03:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:03:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:03:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:03:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:03:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:03:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:03:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:03:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:03:16] Production.INFO: ==20678== Releasing lock... [2025-03-09 13:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:03:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:03:17] Production.INFO: count ==635 [2025-03-09 13:03:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:03:05 - End Time 2025-03-09 13:03:05 [2025-03-09 13:03:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642363', 'tblTempUsageDetail_20' ) start [2025-03-09 13:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642363', 'tblTempUsageDetail_20' ) end [2025-03-09 13:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642363', 'tblTempVendorCDR_20' ) start [2025-03-09 13:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642363', 'tblTempVendorCDR_20' ) end [2025-03-09 13:03:18] Production.INFO: ProcessCDR(1,14642363,1,1,2) [2025-03-09 13:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642363', 'tblTempUsageDetail_20' ) start [2025-03-09 13:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642363', 'tblTempUsageDetail_20' ) end [2025-03-09 13:03:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:03:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:03:23] Production.INFO: ==20686== Releasing lock... [2025-03-09 13:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:03:23] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 17:04:02] Production.INFO: ==20749== Lock acquired, processing the job... [2025-03-09 17:04:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:04:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:04:02] Production.INFO: neon service started [2025-03-09 17:04:02] Production.INFO: neon service started [2025-03-09 17:04:02] Production.INFO: ==20749== Releasing lock... [2025-03-09 17:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:04:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 17:04:02] Production.INFO: ==20753== Lock acquired, processing the job... [2025-03-09 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:04:02] Production.INFO: ==20753== Releasing lock... [2025-03-09 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:04:02] Production.INFO: ==20751== Lock acquired, processing the job... [2025-03-09 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:04:02] Production.INFO: ==20751== Releasing lock... [2025-03-09 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:04:04] Production.INFO: ==20764== Lock acquired, processing the job... [2025-03-09 13:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:04:04] Production.INFO: ==20756== Lock acquired, processing the job... [2025-03-09 13:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:04:04] Production.INFO: ==20758== Lock acquired, processing the job... [2025-03-09 13:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:04:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:04:04] Production.INFO: ==20760== Lock acquired, processing the job... [2025-03-09 13:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:04:04] Production.INFO: ==20766== Lock acquired, processing the job... [2025-03-09 13:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:04:04] Production.INFO: ==20762== Lock acquired, processing the job... [2025-03-09 13:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:04:04] Production.ERROR: done [2025-03-09 13:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 13:04:04] Production.INFO: Account Balance Start. [2025-03-09 13:04:04] Production.INFO: CreateAllLog Start [2025-03-09 13:04:04] Production.INFO: 117 [2025-03-09 13:04:04] Production.INFO: count ==13 [2025-03-09 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-09 13:04:04] Production.INFO: count ==21 [2025-03-09 13:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642367') start [2025-03-09 13:04:04] Production.INFO: ==20758== Releasing lock... [2025-03-09 13:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:04:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:04:04] Production.ERROR: done [2025-03-09 13:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:04:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:04:04] Production.INFO: Total Charge 0 [2025-03-09 13:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642367') end [2025-03-09 13:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:04:04] Production.INFO: 1 [2025-03-09 13:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:04:04] Production.INFO: CreateAllLog End [2025-03-09 13:04:04] Production.INFO: ==20766== Releasing lock... [2025-03-09 13:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:04:05] Production.INFO: Account Balance End. [2025-03-09 13:04:05] Production.ERROR: CronJobId end 12 [2025-03-09 13:04:05] Production.INFO: ==20762== Releasing lock... [2025-03-09 13:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:04:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:04:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:04:06 [end_date_ymd] => 2025-03-09 13:04:06 [RateCDR] => 1 ) [2025-03-09 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-09 10:04:06' and `end` < '2025-03-09 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-09 13:04:13] Production.ERROR: CronJobId end10 [2025-03-09 13:04:13] Production.INFO: ==20760== Releasing lock... [2025-03-09 13:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:04:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:04:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:04:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:04:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:04:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:04:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:04:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:04:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:04:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:04:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:04:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:04:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:04:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:04:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:04:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:04:16] Production.INFO: call_cost start [2025-03-09 13:04:16] Production.INFO: call_cost end [2025-03-09 13:04:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:04:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:04:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:04:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:04:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:04:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:04:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:04:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:04:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:04:17] Production.INFO: ==20756== Releasing lock... [2025-03-09 13:04:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:04:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:04:18] Production.INFO: count ==642 [2025-03-09 13:04:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:04:06 - End Time 2025-03-09 13:04:06 [2025-03-09 13:04:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642368', 'tblTempUsageDetail_20' ) start [2025-03-09 13:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642368', 'tblTempUsageDetail_20' ) end [2025-03-09 13:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642368', 'tblTempVendorCDR_20' ) start [2025-03-09 13:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642368', 'tblTempVendorCDR_20' ) end [2025-03-09 13:04:18] Production.INFO: ProcessCDR(1,14642368,1,1,2) [2025-03-09 13:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642368', 'tblTempUsageDetail_20' ) start [2025-03-09 13:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642368', 'tblTempUsageDetail_20' ) end [2025-03-09 13:04:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:04:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:04:23] Production.INFO: ==20764== Releasing lock... [2025-03-09 13:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:04:23] Production.INFO: 33.5 MB #Memory Used# [2025-03-09 17:05:01] Production.INFO: ==20825== Lock acquired, processing the job... [2025-03-09 17:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:05:01] Production.INFO: neon service started [2025-03-09 17:05:01] Production.INFO: neon service started [2025-03-09 17:05:01] Production.INFO: ==20825== Releasing lock... [2025-03-09 17:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:05:01] Production.INFO: ==20827== Lock acquired, processing the job... [2025-03-09 13:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:05:02] Production.INFO: ==20827== Releasing lock... [2025-03-09 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:05:02] Production.INFO: ==20829== Lock acquired, processing the job... [2025-03-09 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:05:02] Production.INFO: ==20829== Releasing lock... [2025-03-09 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:05:03] Production.INFO: ==20834== Lock acquired, processing the job... [2025-03-09 13:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:05:03] Production.INFO: ==20832== Lock acquired, processing the job... [2025-03-09 13:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:05:03] Production.INFO: ==20840== Lock acquired, processing the job... [2025-03-09 13:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:05:03] Production.INFO: ==20836== Lock acquired, processing the job... [2025-03-09 13:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:05:03] Production.INFO: ==20838== Lock acquired, processing the job... [2025-03-09 13:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:05:03] Production.INFO: ==20842== Lock acquired, processing the job... [2025-03-09 13:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:05:03] Production.INFO: ==20834== Releasing lock... [2025-03-09 13:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:05:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:05:03] Production.INFO: Account Balance Start. [2025-03-09 13:05:03] Production.INFO: CreateAllLog Start [2025-03-09 13:05:03] Production.INFO: 117 [2025-03-09 13:05:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:05:03] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 13:05:03] Production.INFO: Date 2025-03-09 [2025-03-09 13:05:03] Production.INFO: count ==13 [2025-03-09 13:05:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:05:03] Production.ERROR: done [2025-03-09 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-09 13:05:03] Production.INFO: count ==21 [2025-03-09 13:05:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642372') start [2025-03-09 13:05:03] Production.INFO: Total Charge 0 [2025-03-09 13:05:03] Production.INFO: CreateAllLog End [2025-03-09 13:05:04] Production.ERROR: done [2025-03-09 13:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642372') end [2025-03-09 13:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:05:04] Production.INFO: 1 [2025-03-09 13:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:05:04] Production.INFO: ==20842== Releasing lock... [2025-03-09 13:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:05:04] Production.INFO: Account Balance End. [2025-03-09 13:05:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:05:04] Production.INFO: ==20838== Releasing lock... [2025-03-09 13:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:05:05 [end_date_ymd] => 2025-03-09 13:05:05 [RateCDR] => 1 ) [2025-03-09 13:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:05:05' and `end` < '2025-03-09 13:05:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:05:12] Production.ERROR: CronJobId end10 [2025-03-09 13:05:12] Production.INFO: ==20836== Releasing lock... [2025-03-09 13:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:05:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:05:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:05:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:05:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:05:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:05:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:05:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:05:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:05:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:05:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:05:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:05:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:05:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:05:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:05:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:05:15] Production.INFO: call_cost start [2025-03-09 13:05:15] Production.INFO: call_cost end [2025-03-09 13:05:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:05:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:05:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:05:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:05:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:05:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:05:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:05:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:05:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:05:16] Production.INFO: ==20832== Releasing lock... [2025-03-09 13:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:05:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:05:17] Production.INFO: count ==661 [2025-03-09 13:05:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:05:05 - End Time 2025-03-09 13:05:05 [2025-03-09 13:05:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642373', 'tblTempUsageDetail_20' ) start [2025-03-09 13:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642373', 'tblTempUsageDetail_20' ) end [2025-03-09 13:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642373', 'tblTempVendorCDR_20' ) start [2025-03-09 13:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642373', 'tblTempVendorCDR_20' ) end [2025-03-09 13:05:17] Production.INFO: ProcessCDR(1,14642373,1,1,2) [2025-03-09 13:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642373', 'tblTempUsageDetail_20' ) start [2025-03-09 13:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642373', 'tblTempUsageDetail_20' ) end [2025-03-09 13:05:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:05:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:05:22] Production.INFO: ==20840== Releasing lock... [2025-03-09 13:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:05:22] Production.INFO: 33.75 MB #Memory Used# [2025-03-09 17:06:01] Production.INFO: ==20899== Lock acquired, processing the job... [2025-03-09 17:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:06:02] Production.INFO: neon service started [2025-03-09 17:06:02] Production.INFO: neon service started [2025-03-09 17:06:02] Production.INFO: ==20899== Releasing lock... [2025-03-09 17:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:06:02] Production.INFO: ==20901== Lock acquired, processing the job... [2025-03-09 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:06:02] Production.INFO: ==20901== Releasing lock... [2025-03-09 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:06:02] Production.INFO: ==20904== Lock acquired, processing the job... [2025-03-09 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:06:02] Production.INFO: ==20904== Releasing lock... [2025-03-09 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:06:03] Production.INFO: ==20906== Lock acquired, processing the job... [2025-03-09 13:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:06:03] Production.INFO: ==20914== Lock acquired, processing the job... [2025-03-09 13:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:06:03] Production.INFO: ==20910== Lock acquired, processing the job... [2025-03-09 13:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:06:04] Production.INFO: ==20908== Lock acquired, processing the job... [2025-03-09 13:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:06:04] Production.INFO: ==20912== Lock acquired, processing the job... [2025-03-09 13:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:06:04] Production.ERROR: done [2025-03-09 13:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:06:04] Production.INFO: ==20916== Lock acquired, processing the job... [2025-03-09 13:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:06:04] Production.INFO: Account Balance Start. [2025-03-09 13:06:04] Production.INFO: CreateAllLog Start [2025-03-09 13:06:04] Production.INFO: 117 [2025-03-09 13:06:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:06:04] Production.ERROR: done [2025-03-09 13:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:06:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:06:04] Production.INFO: Total Charge 0 [2025-03-09 13:06:04] Production.INFO: count ==13 [2025-03-09 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-09 13:06:04] Production.INFO: CreateAllLog End [2025-03-09 13:06:04] Production.INFO: count ==21 [2025-03-09 13:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642377') start [2025-03-09 13:06:04] Production.INFO: Account Balance End. [2025-03-09 13:06:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:06:04] Production.INFO: ==20912== Releasing lock... [2025-03-09 13:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642377') end [2025-03-09 13:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:06:04] Production.INFO: 1 [2025-03-09 13:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:06:04] Production.INFO: ==20908== Releasing lock... [2025-03-09 13:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:06:04] Production.INFO: ==20916== Releasing lock... [2025-03-09 13:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:06:05 [end_date_ymd] => 2025-03-09 13:06:05 [RateCDR] => 1 ) [2025-03-09 13:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:06:05' and `end` < '2025-03-09 13:06:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:06:13] Production.ERROR: CronJobId end10 [2025-03-09 13:06:13] Production.INFO: ==20910== Releasing lock... [2025-03-09 13:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:06:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:06:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:06:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:06:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:06:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:06:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:06:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:06:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:06:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:06:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:06:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:06:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:06:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:06:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:06:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:06:16] Production.INFO: call_cost start [2025-03-09 13:06:16] Production.INFO: call_cost end [2025-03-09 13:06:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:06:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:06:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:06:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:06:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:06:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:06:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:06:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:06:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:06:17] Production.INFO: ==20906== Releasing lock... [2025-03-09 13:06:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:06:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:06:17] Production.INFO: count ==662 [2025-03-09 13:06:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:06:05 - End Time 2025-03-09 13:06:05 [2025-03-09 13:06:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642378', 'tblTempUsageDetail_20' ) start [2025-03-09 13:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642378', 'tblTempUsageDetail_20' ) end [2025-03-09 13:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642378', 'tblTempVendorCDR_20' ) start [2025-03-09 13:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642378', 'tblTempVendorCDR_20' ) end [2025-03-09 13:06:18] Production.INFO: ProcessCDR(1,14642378,1,1,2) [2025-03-09 13:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642378', 'tblTempUsageDetail_20' ) start [2025-03-09 13:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642378', 'tblTempUsageDetail_20' ) end [2025-03-09 13:06:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:06:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:06:23] Production.INFO: ==20914== Releasing lock... [2025-03-09 13:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:06:23] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 17:07:01] Production.INFO: ==20977== Lock acquired, processing the job... [2025-03-09 17:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:07:01] Production.INFO: neon service started [2025-03-09 17:07:01] Production.INFO: neon service started [2025-03-09 17:07:01] Production.INFO: ==20977== Releasing lock... [2025-03-09 17:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:07:02] Production.INFO: ==20979== Lock acquired, processing the job... [2025-03-09 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:07:02] Production.INFO: ==20981== Lock acquired, processing the job... [2025-03-09 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:07:02] Production.INFO: ==20981== Releasing lock... [2025-03-09 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:07:02] Production.INFO: ==20979== Releasing lock... [2025-03-09 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:07:03] Production.INFO: ==20984== Lock acquired, processing the job... [2025-03-09 13:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:07:03] Production.INFO: ==20988== Lock acquired, processing the job... [2025-03-09 13:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:07:03] Production.INFO: ==20990== Lock acquired, processing the job... [2025-03-09 13:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:07:03] Production.INFO: Account Balance Start. [2025-03-09 13:07:03] Production.INFO: CreateAllLog Start [2025-03-09 13:07:03] Production.INFO: 117 [2025-03-09 13:07:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:07:04] Production.INFO: ==20992== Lock acquired, processing the job... [2025-03-09 13:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:07:04] Production.INFO: ==20986== Lock acquired, processing the job... [2025-03-09 13:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:07:04] Production.INFO: ==20994== Lock acquired, processing the job... [2025-03-09 13:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:07:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:07:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:07:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:07:04] Production.INFO: Total Charge 0 [2025-03-09 13:07:04] Production.INFO: CreateAllLog End [2025-03-09 13:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:07:04] Production.INFO: count ==13 [2025-03-09 13:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:07:04] Production.INFO: count ==21 [2025-03-09 13:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642382') start [2025-03-09 13:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642382') end [2025-03-09 13:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:07:04] Production.INFO: 1 [2025-03-09 13:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:07:04] Production.INFO: Account Balance End. [2025-03-09 13:07:04] Production.ERROR: done [2025-03-09 13:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:07:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:07:04] Production.INFO: ==20990== Releasing lock... [2025-03-09 13:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:07:04] Production.INFO: ==20994== Releasing lock... [2025-03-09 13:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:07:04] Production.ERROR: done [2025-03-09 13:07:04] Production.INFO: ==20986== Releasing lock... [2025-03-09 13:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:07:05 [end_date_ymd] => 2025-03-09 13:07:05 [RateCDR] => 1 ) [2025-03-09 13:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:07:05' and `end` < '2025-03-09 13:07:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:07:12] Production.ERROR: CronJobId end10 [2025-03-09 13:07:12] Production.INFO: ==20988== Releasing lock... [2025-03-09 13:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:07:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:07:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:07:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:07:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:07:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:07:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:07:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:07:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:07:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:07:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:07:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:07:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:07:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:07:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:07:15] Production.INFO: call_cost start [2025-03-09 13:07:15] Production.INFO: call_cost end [2025-03-09 13:07:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:07:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:07:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:07:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:07:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:07:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:07:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:07:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:07:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:07:16] Production.INFO: ==20984== Releasing lock... [2025-03-09 13:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:07:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:07:17] Production.INFO: count ==679 [2025-03-09 13:07:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:07:05 - End Time 2025-03-09 13:07:05 [2025-03-09 13:07:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642383', 'tblTempUsageDetail_20' ) start [2025-03-09 13:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642383', 'tblTempUsageDetail_20' ) end [2025-03-09 13:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642383', 'tblTempVendorCDR_20' ) start [2025-03-09 13:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642383', 'tblTempVendorCDR_20' ) end [2025-03-09 13:07:18] Production.INFO: ProcessCDR(1,14642383,1,1,2) [2025-03-09 13:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642383', 'tblTempUsageDetail_20' ) start [2025-03-09 13:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642383', 'tblTempUsageDetail_20' ) end [2025-03-09 13:07:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:07:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:07:23] Production.INFO: ==20992== Releasing lock... [2025-03-09 13:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:07:23] Production.INFO: 34 MB #Memory Used# [2025-03-09 17:08:02] Production.INFO: ==21052== Lock acquired, processing the job... [2025-03-09 17:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:08:02] Production.INFO: neon service started [2025-03-09 17:08:02] Production.INFO: neon service started [2025-03-09 17:08:02] Production.INFO: ==21052== Releasing lock... [2025-03-09 17:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:08:02] Production.INFO: ==21054== Lock acquired, processing the job... [2025-03-09 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:08:02] Production.INFO: ==21054== Releasing lock... [2025-03-09 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:08:03] Production.INFO: ==21056== Lock acquired, processing the job... [2025-03-09 17:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:08:03] Production.INFO: ==21056== Releasing lock... [2025-03-09 17:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:08:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:08:03] Production.INFO: ==21058== Lock acquired, processing the job... [2025-03-09 13:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:08:03] Production.INFO: ==21060== Lock acquired, processing the job... [2025-03-09 13:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:08:03] Production.INFO: ==21066== Lock acquired, processing the job... [2025-03-09 13:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:08:04] Production.INFO: ==21062== Lock acquired, processing the job... [2025-03-09 13:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:08:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:08:04] Production.INFO: ==21064== Lock acquired, processing the job... [2025-03-09 13:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:08:04] Production.INFO: ==21069== Lock acquired, processing the job... [2025-03-09 13:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:08:04] Production.INFO: ==21060== Releasing lock... [2025-03-09 13:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:08:04] Production.INFO: Account Balance Start. [2025-03-09 13:08:04] Production.INFO: CreateAllLog Start [2025-03-09 13:08:04] Production.INFO: 117 [2025-03-09 13:08:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:08:04] Production.INFO: count ==13 [2025-03-09 13:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:08:04] Production.INFO: count ==21 [2025-03-09 13:08:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642387') start [2025-03-09 13:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:08:04] Production.ERROR: done [2025-03-09 13:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:08:04] Production.INFO: Total Charge 0 [2025-03-09 13:08:04] Production.INFO: CreateAllLog End [2025-03-09 13:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642387') end [2025-03-09 13:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:08:04] Production.INFO: 1 [2025-03-09 13:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:08:04] Production.ERROR: done [2025-03-09 13:08:04] Production.INFO: ==21069== Releasing lock... [2025-03-09 13:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:08:04] Production.INFO: Account Balance End. [2025-03-09 13:08:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:08:04] Production.INFO: ==21064== Releasing lock... [2025-03-09 13:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:08:05 [end_date_ymd] => 2025-03-09 13:08:05 [RateCDR] => 1 ) [2025-03-09 13:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:08:05' and `end` < '2025-03-09 13:08:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:08:12] Production.ERROR: CronJobId end10 [2025-03-09 13:08:12] Production.INFO: ==21062== Releasing lock... [2025-03-09 13:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:08:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:08:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:08:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:08:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:08:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:08:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:08:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:08:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:08:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:08:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:08:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:08:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:08:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:08:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:08:16] Production.INFO: call_cost start [2025-03-09 13:08:16] Production.INFO: call_cost end [2025-03-09 13:08:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:08:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:08:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:08:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:08:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:08:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:08:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:08:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:08:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:08:17] Production.INFO: ==21058== Releasing lock... [2025-03-09 13:08:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:08:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:08:18] Production.INFO: count ==682 [2025-03-09 13:08:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:08:05 - End Time 2025-03-09 13:08:05 [2025-03-09 13:08:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642388', 'tblTempUsageDetail_20' ) start [2025-03-09 13:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642388', 'tblTempUsageDetail_20' ) end [2025-03-09 13:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642388', 'tblTempVendorCDR_20' ) start [2025-03-09 13:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642388', 'tblTempVendorCDR_20' ) end [2025-03-09 13:08:18] Production.INFO: ProcessCDR(1,14642388,1,1,2) [2025-03-09 13:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642388', 'tblTempUsageDetail_20' ) start [2025-03-09 13:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642388', 'tblTempUsageDetail_20' ) end [2025-03-09 13:08:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:08:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:08:21] Production.INFO: ==21066== Releasing lock... [2025-03-09 13:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:08:21] Production.INFO: 34 MB #Memory Used# [2025-03-09 17:09:01] Production.INFO: ==21129== Lock acquired, processing the job... [2025-03-09 17:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:09:01] Production.INFO: neon service started [2025-03-09 17:09:01] Production.INFO: neon service started [2025-03-09 17:09:01] Production.INFO: ==21129== Releasing lock... [2025-03-09 17:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:09:01] Production.INFO: ==21131== Lock acquired, processing the job... [2025-03-09 13:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:09:02] Production.INFO: ==21131== Releasing lock... [2025-03-09 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:09:02] Production.INFO: ==21133== Lock acquired, processing the job... [2025-03-09 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:09:02] Production.INFO: ==21133== Releasing lock... [2025-03-09 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:09:03] Production.INFO: ==21146== Lock acquired, processing the job... [2025-03-09 13:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:09:03] Production.INFO: ==21144== Lock acquired, processing the job... [2025-03-09 13:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:09:03] Production.INFO: ==21136== Lock acquired, processing the job... [2025-03-09 13:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:09:03] Production.INFO: ==21138== Lock acquired, processing the job... [2025-03-09 13:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:09:03] Production.INFO: count ==13 [2025-03-09 13:09:03] Production.INFO: ==21140== Lock acquired, processing the job... [2025-03-09 13:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:09:03] Production.INFO: count ==21 [2025-03-09 13:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:09:03] Production.INFO: ==21142== Lock acquired, processing the job... [2025-03-09 13:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642389') start [2025-03-09 13:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:09:03] Production.INFO: Account Balance Start. [2025-03-09 13:09:03] Production.INFO: CreateAllLog Start [2025-03-09 13:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:09:03] Production.INFO: 117 [2025-03-09 13:09:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642389') end [2025-03-09 13:09:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:09:03] Production.INFO: 1 [2025-03-09 13:09:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:09:03] Production.INFO: Date 2025-03-09 [2025-03-09 13:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:09:03] Production.INFO: ==21146== Releasing lock... [2025-03-09 13:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:09:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:09:03] Production.INFO: Total Charge 0 [2025-03-09 13:09:03] Production.INFO: CreateAllLog End [2025-03-09 13:09:03] Production.ERROR: done [2025-03-09 13:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:09:04] Production.INFO: ==21138== Releasing lock... [2025-03-09 13:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:09:04] Production.ERROR: done [2025-03-09 13:09:04] Production.INFO: Account Balance End. [2025-03-09 13:09:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:09:04] Production.INFO: ==21142== Releasing lock... [2025-03-09 13:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:09:05 [end_date_ymd] => 2025-03-09 13:09:05 [RateCDR] => 1 ) [2025-03-09 13:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:09:05' and `end` < '2025-03-09 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-09 13:09:12] Production.ERROR: CronJobId end10 [2025-03-09 13:09:12] Production.INFO: ==21140== Releasing lock... [2025-03-09 13:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:09:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:09:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:09:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:09:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:09:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:09:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:09:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:09:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:09:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:09:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:09:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:09:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:09:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:09:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:09:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:09:15] Production.INFO: call_cost start [2025-03-09 13:09:15] Production.INFO: call_cost end [2025-03-09 13:09:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:09:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:09:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:09:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:09:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:09:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:09:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:09:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:09:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:09:16] Production.INFO: ==21136== Releasing lock... [2025-03-09 13:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:09:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:09:17] Production.INFO: count ==677 [2025-03-09 13:09:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:09:05 - End Time 2025-03-09 13:09:05 [2025-03-09 13:09:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642393', 'tblTempUsageDetail_20' ) start [2025-03-09 13:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642393', 'tblTempUsageDetail_20' ) end [2025-03-09 13:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642393', 'tblTempVendorCDR_20' ) start [2025-03-09 13:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642393', 'tblTempVendorCDR_20' ) end [2025-03-09 13:09:17] Production.INFO: ProcessCDR(1,14642393,1,1,2) [2025-03-09 13:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642393', 'tblTempUsageDetail_20' ) start [2025-03-09 13:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642393', 'tblTempUsageDetail_20' ) end [2025-03-09 13:09:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:09:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:09:22] Production.INFO: ==21144== Releasing lock... [2025-03-09 13:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:09:22] Production.INFO: 33.75 MB #Memory Used# [2025-03-09 17:10:02] Production.INFO: ==21202== Lock acquired, processing the job... [2025-03-09 17:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:10:02] Production.INFO: neon service started [2025-03-09 17:10:02] Production.INFO: neon service started [2025-03-09 17:10:02] Production.INFO: ==21202== Releasing lock... [2025-03-09 17:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:10:02] Production.INFO: ==21204== Lock acquired, processing the job... [2025-03-09 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:10:02] Production.INFO: ==21204== Releasing lock... [2025-03-09 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:10:03] Production.INFO: ==21206== Lock acquired, processing the job... [2025-03-09 17:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:10:03] Production.INFO: ==21206== Releasing lock... [2025-03-09 17:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:10:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:10:04] Production.INFO: ==21209== Lock acquired, processing the job... [2025-03-09 13:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 13:10:04] Production.INFO: ==21211== Lock acquired, processing the job... [2025-03-09 13:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:10:04] Production.INFO: ==21213== Lock acquired, processing the job... [2025-03-09 13:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 13:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 13:10:04] Production.ERROR: CronJob PID - 21211 [2025-03-09 13:10:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 13:10:04] Production.ERROR: CronJob ID - 5 [2025-03-09 13:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 13:10:00 [2025-03-09 13:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 13:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 13:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 13:10:04] Production.ERROR: CronJob PID - 21213 [2025-03-09 13:10:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 13:10:04] Production.ERROR: CronJob ID - 7 [2025-03-09 13:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 13:10:00 [2025-03-09 13:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 13:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 13:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 13:10:04] Production.INFO: ==21209== Releasing lock... [2025-03-09 13:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 13:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 13:10:04] Production.INFO: ==21221== Lock acquired, processing the job... [2025-03-09 13:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 13:10:04] Production.INFO: ==21217== Lock acquired, processing the job... [2025-03-09 13:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:10:04] Production.INFO: ==21215== Lock acquired, processing the job... [2025-03-09 13:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:10:04] Production.INFO: ==21219== Lock acquired, processing the job... [2025-03-09 13:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:10:04] Production.INFO: ==21223== Lock acquired, processing the job... [2025-03-09 13:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:10:04] Production.INFO: Account Balance Start. [2025-03-09 13:10:04] Production.INFO: CreateAllLog Start [2025-03-09 13:10:04] Production.INFO: 117 [2025-03-09 13:10:04] Production.INFO: ==21213== Releasing lock... [2025-03-09 13:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:10:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:10:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:10:05] Production.INFO: Total Charge 0 [2025-03-09 13:10:05] Production.INFO: CreateAllLog End [2025-03-09 13: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-09 13:10:05] Production.INFO: count ==13 [2025-03-09 13:10:05] Production.ERROR: done [2025-03-09 13: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-09 13:10:05] Production.INFO: count ==21 [2025-03-09 13:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14642397') start [2025-03-09 13:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 13:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642398', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 13:10:05] Production.INFO: Account Balance End. [2025-03-09 13:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14642397') end [2025-03-09 13:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:10:05] Production.INFO: 1 [2025-03-09 13:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:10:05] Production.ERROR: CronJobId end 12 [2025-03-09 13:10:05] Production.INFO: ==21217== Releasing lock... [2025-03-09 13:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:10:05] Production.ERROR: done [2025-03-09 13:10:05] Production.INFO: ==21223== Releasing lock... [2025-03-09 13:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:10:05] Production.ERROR: done [2025-03-09 13:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:10:06 [end_date_ymd] => 2025-03-09 13:10:06 [RateCDR] => 1 ) [2025-03-09 13:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:10:06' and `end` < '2025-03-09 13:10:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642398', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 13:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 13:10:09] Production.INFO: ProcessCDR(1,14642398,1,1,2) [2025-03-09 13:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14642398,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14642398,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:10:09] Production.INFO: ==21221== Releasing lock... [2025-03-09 13:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 13:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 13:10:14] Production.ERROR: CronJobId end10 [2025-03-09 13:10:14] Production.INFO: ==21215== Releasing lock... [2025-03-09 13:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:10:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:10:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:10:17] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:10:17] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:10:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:10:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:10:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:10:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:10:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:10:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:10:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:10:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:10:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:10:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:10:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:10:18] Production.INFO: call_cost start [2025-03-09 13:10:18] Production.INFO: call_cost end [2025-03-09 13:10:19] Production.INFO: count ==677 [2025-03-09 13:10:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:10:19] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:10:19] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:10:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:10:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:10:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:10:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:10:19] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:10:19] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:10:19] Production.INFO: ==21211== Releasing lock... [2025-03-09 13:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:10:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:10:19] Production.ERROR: pbx CDR StartTime 2025-03-09 10:10:06 - End Time 2025-03-09 13:10:06 [2025-03-09 13:10:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642399', 'tblTempUsageDetail_20' ) start [2025-03-09 13:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642399', 'tblTempUsageDetail_20' ) end [2025-03-09 13:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642399', 'tblTempVendorCDR_20' ) start [2025-03-09 13:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642399', 'tblTempVendorCDR_20' ) end [2025-03-09 13:10:19] Production.INFO: ProcessCDR(1,14642399,1,1,2) [2025-03-09 13:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642399', 'tblTempUsageDetail_20' ) start [2025-03-09 13:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642399', 'tblTempUsageDetail_20' ) end [2025-03-09 13:10:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:10:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:10:22] Production.INFO: ==21219== Releasing lock... [2025-03-09 13:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:10:22] Production.INFO: 33.75 MB #Memory Used# [2025-03-09 17:11:01] Production.INFO: ==21277== Lock acquired, processing the job... [2025-03-09 17:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:11:01] Production.INFO: neon service started [2025-03-09 17:11:01] Production.INFO: neon service started [2025-03-09 17:11:01] Production.INFO: ==21277== Releasing lock... [2025-03-09 17:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:11:02] Production.INFO: ==21281== Lock acquired, processing the job... [2025-03-09 17:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:11:02] Production.INFO: ==21281== Releasing lock... [2025-03-09 17:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:11:02] Production.INFO: ==21279== Lock acquired, processing the job... [2025-03-09 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:11:02] Production.INFO: ==21279== Releasing lock... [2025-03-09 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:11:03] Production.INFO: ==21292== Lock acquired, processing the job... [2025-03-09 13:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:11:03] Production.INFO: ==21294== Lock acquired, processing the job... [2025-03-09 13:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:11:03] Production.INFO: ==21284== Lock acquired, processing the job... [2025-03-09 13:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:11:03] Production.INFO: count ==13 [2025-03-09 13:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:11:03] Production.INFO: ==21286== Lock acquired, processing the job... [2025-03-09 13:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:11:03] Production.INFO: count ==21 [2025-03-09 13:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642400') start [2025-03-09 13:11:03] Production.INFO: ==21288== Lock acquired, processing the job... [2025-03-09 13:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:11:03] Production.INFO: ==21290== Lock acquired, processing the job... [2025-03-09 13:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642400') end [2025-03-09 13:11:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:11:03] Production.INFO: 1 [2025-03-09 13:11:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:11:04] Production.INFO: Account Balance Start. [2025-03-09 13:11:04] Production.INFO: CreateAllLog Start [2025-03-09 13:11:04] Production.INFO: 117 [2025-03-09 13:11:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:11:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:11:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:11:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:11:04] Production.INFO: Total Charge 0 [2025-03-09 13:11:04] Production.INFO: CreateAllLog End [2025-03-09 13:11:04] Production.INFO: ==21294== Releasing lock... [2025-03-09 13:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:11:04] Production.ERROR: done [2025-03-09 13:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:11:04] Production.INFO: ==21286== Releasing lock... [2025-03-09 13:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:11:04] Production.ERROR: done [2025-03-09 13:11:04] Production.INFO: Account Balance End. [2025-03-09 13:11:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:11:04] Production.INFO: ==21290== Releasing lock... [2025-03-09 13:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:11:05 [end_date_ymd] => 2025-03-09 13:11:05 [RateCDR] => 1 ) [2025-03-09 13:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:11:05' and `end` < '2025-03-09 13:11:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:11:12] Production.ERROR: CronJobId end10 [2025-03-09 13:11:12] Production.INFO: ==21288== Releasing lock... [2025-03-09 13:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:11:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:11:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:11:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:11:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:11:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:11:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:11:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:11:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:11:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:11:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:11:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:11:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:11:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:11:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:11:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:11:15] Production.INFO: call_cost start [2025-03-09 13:11:15] Production.INFO: call_cost end [2025-03-09 13:11:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:11:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:11:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:11:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:11:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:11:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:11:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:11:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:11:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:11:16] Production.INFO: ==21284== Releasing lock... [2025-03-09 13:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:11:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:11:17] Production.INFO: count ==720 [2025-03-09 13:11:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:11:05 - End Time 2025-03-09 13:11:05 [2025-03-09 13:11:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642404', 'tblTempUsageDetail_20' ) start [2025-03-09 13:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642404', 'tblTempUsageDetail_20' ) end [2025-03-09 13:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642404', 'tblTempVendorCDR_20' ) start [2025-03-09 13:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642404', 'tblTempVendorCDR_20' ) end [2025-03-09 13:11:17] Production.INFO: ProcessCDR(1,14642404,1,1,2) [2025-03-09 13:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642404', 'tblTempUsageDetail_20' ) start [2025-03-09 13:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642404', 'tblTempUsageDetail_20' ) end [2025-03-09 13:11:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:11:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:11:23] Production.INFO: ==21292== Releasing lock... [2025-03-09 13:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:11:23] Production.INFO: 33.5 MB #Memory Used# [2025-03-09 17:12:02] Production.INFO: ==21349== Lock acquired, processing the job... [2025-03-09 17:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:12:02] Production.INFO: neon service started [2025-03-09 17:12:02] Production.INFO: neon service started [2025-03-09 17:12:02] Production.INFO: ==21349== Releasing lock... [2025-03-09 17:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:12:02] Production.INFO: ==21351== Lock acquired, processing the job... [2025-03-09 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:12:02] Production.INFO: ==21351== Releasing lock... [2025-03-09 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:12:03] Production.INFO: ==21353== Lock acquired, processing the job... [2025-03-09 17:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:12:03] Production.INFO: ==21353== Releasing lock... [2025-03-09 17:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:12:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:12:03] Production.INFO: ==21364== Lock acquired, processing the job... [2025-03-09 13:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:12:03] Production.INFO: ==21366== Lock acquired, processing the job... [2025-03-09 13:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:12:04] Production.INFO: ==21356== Lock acquired, processing the job... [2025-03-09 13:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:12:04] Production.INFO: ==21358== Lock acquired, processing the job... [2025-03-09 13:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:12:04] Production.INFO: ==21360== Lock acquired, processing the job... [2025-03-09 13:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:12:04] Production.INFO: ==21362== Lock acquired, processing the job... [2025-03-09 13:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:12:04] Production.INFO: count ==13 [2025-03-09 13:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:12:04] Production.INFO: count ==21 [2025-03-09 13:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642405') start [2025-03-09 13:12:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:12:04] Production.INFO: Account Balance Start. [2025-03-09 13:12:04] Production.INFO: CreateAllLog Start [2025-03-09 13:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:12:04] Production.INFO: 117 [2025-03-09 13:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:12:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:12:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642405') end [2025-03-09 13:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:12:04] Production.INFO: 1 [2025-03-09 13:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:12:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:12:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:12:04] Production.INFO: Total Charge 0 [2025-03-09 13:12:04] Production.INFO: CreateAllLog End [2025-03-09 13:12:04] Production.INFO: ==21366== Releasing lock... [2025-03-09 13:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:12:04] Production.INFO: ==21358== Releasing lock... [2025-03-09 13:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:12:04] Production.ERROR: done [2025-03-09 13:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:12:04] Production.ERROR: done [2025-03-09 13:12:04] Production.INFO: Account Balance End. [2025-03-09 13:12:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:12:04] Production.INFO: ==21362== Releasing lock... [2025-03-09 13:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:12:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:12:06 [end_date_ymd] => 2025-03-09 13:12:06 [RateCDR] => 1 ) [2025-03-09 13: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-09 10:12:06' and `end` < '2025-03-09 13: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-09 13:12:13] Production.ERROR: CronJobId end10 [2025-03-09 13:12:13] Production.INFO: ==21360== Releasing lock... [2025-03-09 13:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:12:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:12:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:12:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:12:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:12:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:12:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:12:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:12:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:12:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:12:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:12:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:12:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:12:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:12:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:12:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:12:16] Production.INFO: call_cost start [2025-03-09 13:12:16] Production.INFO: call_cost end [2025-03-09 13:12:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:12:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:12:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:12:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:12:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:12:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:12:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:12:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:12:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:12:17] Production.INFO: ==21356== Releasing lock... [2025-03-09 13:12:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:12:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:12:18] Production.INFO: count ==724 [2025-03-09 13:12:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:12:06 - End Time 2025-03-09 13:12:06 [2025-03-09 13:12:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642409', 'tblTempUsageDetail_20' ) start [2025-03-09 13:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642409', 'tblTempUsageDetail_20' ) end [2025-03-09 13:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642409', 'tblTempVendorCDR_20' ) start [2025-03-09 13:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642409', 'tblTempVendorCDR_20' ) end [2025-03-09 13:12:18] Production.INFO: ProcessCDR(1,14642409,1,1,2) [2025-03-09 13:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642409', 'tblTempUsageDetail_20' ) start [2025-03-09 13:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642409', 'tblTempUsageDetail_20' ) end [2025-03-09 13:12:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:12:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:12:23] Production.INFO: ==21364== Releasing lock... [2025-03-09 13:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:12:23] Production.INFO: 33.75 MB #Memory Used# [2025-03-09 17:13:01] Production.INFO: ==21421== Lock acquired, processing the job... [2025-03-09 17:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:13:01] Production.INFO: neon service started [2025-03-09 17:13:01] Production.INFO: neon service started [2025-03-09 17:13:01] Production.INFO: ==21421== Releasing lock... [2025-03-09 17:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:13:01] Production.INFO: ==21423== Lock acquired, processing the job... [2025-03-09 13:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:13:02] Production.INFO: ==21423== Releasing lock... [2025-03-09 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:13:02] Production.INFO: ==21425== Lock acquired, processing the job... [2025-03-09 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:13:02] Production.INFO: ==21425== Releasing lock... [2025-03-09 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:13:03] Production.INFO: ==21431== Lock acquired, processing the job... [2025-03-09 13:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:13:03] Production.INFO: ==21438== Lock acquired, processing the job... [2025-03-09 13:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:13:03] Production.INFO: ==21427== Lock acquired, processing the job... [2025-03-09 13:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:13:03] Production.INFO: ==21433== Lock acquired, processing the job... [2025-03-09 13:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:13:03] Production.INFO: ==21429== Lock acquired, processing the job... [2025-03-09 13:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:13:03] Production.INFO: count ==13 [2025-03-09 13:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:13:03] Production.INFO: count ==21 [2025-03-09 13:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642410') start [2025-03-09 13:13:03] Production.INFO: Account Balance Start. [2025-03-09 13:13:03] Production.INFO: CreateAllLog Start [2025-03-09 13:13:03] Production.INFO: 117 [2025-03-09 13:13:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:13:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:13:03] Production.INFO: ==21436== Lock acquired, processing the job... [2025-03-09 13:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:13:03] Production.INFO: Date 2025-03-09 [2025-03-09 13:13:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642410') end [2025-03-09 13:13:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:13:03] Production.INFO: 1 [2025-03-09 13:13:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:13:04] Production.INFO: ==21438== Releasing lock... [2025-03-09 13:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:13:04] Production.INFO: Total Charge 0 [2025-03-09 13:13:04] Production.INFO: CreateAllLog End [2025-03-09 13:13:04] Production.INFO: ==21429== Releasing lock... [2025-03-09 13:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:13:04] Production.ERROR: done [2025-03-09 13:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:13:04] Production.ERROR: done [2025-03-09 13:13:04] Production.INFO: Account Balance End. [2025-03-09 13:13:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:13:04] Production.INFO: ==21433== Releasing lock... [2025-03-09 13:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:13:05 [end_date_ymd] => 2025-03-09 13:13:05 [RateCDR] => 1 ) [2025-03-09 13:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:13:05' and `end` < '2025-03-09 13:13:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:13:12] Production.ERROR: CronJobId end10 [2025-03-09 13:13:12] Production.INFO: ==21431== Releasing lock... [2025-03-09 13:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:13:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:13:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:13:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:13:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:13:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:13:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:13:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:13:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:13:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:13:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:13:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:13:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:13:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:13:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:13:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:13:15] Production.INFO: call_cost start [2025-03-09 13:13:15] Production.INFO: call_cost end [2025-03-09 13:13:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:13:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:13:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:13:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:13:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:13:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:13:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:13:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:13:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:13:16] Production.INFO: ==21427== Releasing lock... [2025-03-09 13:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:13:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:13:17] Production.INFO: count ==729 [2025-03-09 13:13:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:13:05 - End Time 2025-03-09 13:13:05 [2025-03-09 13:13:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642414', 'tblTempUsageDetail_20' ) start [2025-03-09 13:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642414', 'tblTempUsageDetail_20' ) end [2025-03-09 13:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642414', 'tblTempVendorCDR_20' ) start [2025-03-09 13:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642414', 'tblTempVendorCDR_20' ) end [2025-03-09 13:13:18] Production.INFO: ProcessCDR(1,14642414,1,1,2) [2025-03-09 13:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642414', 'tblTempUsageDetail_20' ) start [2025-03-09 13:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642414', 'tblTempUsageDetail_20' ) end [2025-03-09 13:13:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:13:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:13:21] Production.INFO: ==21436== Releasing lock... [2025-03-09 13:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:13:21] Production.INFO: 34 MB #Memory Used# [2025-03-09 17:14:02] Production.INFO: ==21492== Lock acquired, processing the job... [2025-03-09 17:14:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:14:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:14:02] Production.INFO: neon service started [2025-03-09 17:14:02] Production.INFO: neon service started [2025-03-09 17:14:02] Production.INFO: ==21492== Releasing lock... [2025-03-09 17:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:14:02] Production.INFO: ==21494== Lock acquired, processing the job... [2025-03-09 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:14:02] Production.INFO: ==21494== Releasing lock... [2025-03-09 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:14:02] Production.INFO: ==21496== Lock acquired, processing the job... [2025-03-09 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:14:02] Production.INFO: ==21496== Releasing lock... [2025-03-09 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:14:03] Production.INFO: ==21500== Lock acquired, processing the job... [2025-03-09 13:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:14:03] Production.INFO: ==21507== Lock acquired, processing the job... [2025-03-09 13:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:14:03] Production.INFO: ==21509== Lock acquired, processing the job... [2025-03-09 13:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:14:04] Production.INFO: count ==13 [2025-03-09 13:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:14:04] Production.INFO: ==21504== Lock acquired, processing the job... [2025-03-09 13:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:14:04] Production.INFO: count ==21 [2025-03-09 13:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642416') start [2025-03-09 13:14:04] Production.INFO: Account Balance Start. [2025-03-09 13:14:04] Production.INFO: CreateAllLog Start [2025-03-09 13:14:04] Production.INFO: 117 [2025-03-09 13:14:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:14:04] Production.INFO: ==21498== Lock acquired, processing the job... [2025-03-09 13:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:14:04] Production.INFO: ==21502== Lock acquired, processing the job... [2025-03-09 13:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:14:04] Production.INFO: ==21500== Releasing lock... [2025-03-09 13:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:14:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642416') end [2025-03-09 13:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:14:04] Production.INFO: 1 [2025-03-09 13:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:14:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:14:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:14:04] Production.INFO: Total Charge 0 [2025-03-09 13:14:04] Production.INFO: CreateAllLog End [2025-03-09 13:14:04] Production.INFO: ==21509== Releasing lock... [2025-03-09 13:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:14:04] Production.ERROR: done [2025-03-09 13:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:14:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:14:04] Production.ERROR: done [2025-03-09 13:14:04] Production.INFO: Account Balance End. [2025-03-09 13:14:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:14:04] Production.INFO: ==21504== Releasing lock... [2025-03-09 13:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:14:05 [end_date_ymd] => 2025-03-09 13:14:05 [RateCDR] => 1 ) [2025-03-09 13:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:14:05' and `end` < '2025-03-09 13:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:14:13] Production.ERROR: CronJobId end10 [2025-03-09 13:14:13] Production.INFO: ==21502== Releasing lock... [2025-03-09 13:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:14:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:14:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:14:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:14:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:14:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:14:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:14:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:14:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:14:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:14:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:14:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:14:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:14:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:14:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:14:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:14:16] Production.INFO: call_cost start [2025-03-09 13:14:16] Production.INFO: call_cost end [2025-03-09 13:14:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:14:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:14:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:14:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:14:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:14:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:14:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:14:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:14:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:14:17] Production.INFO: ==21498== Releasing lock... [2025-03-09 13:14:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:14:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:14:17] Production.INFO: count ==731 [2025-03-09 13:14:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:14:05 - End Time 2025-03-09 13:14:05 [2025-03-09 13:14:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642419', 'tblTempUsageDetail_20' ) start [2025-03-09 13:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642419', 'tblTempUsageDetail_20' ) end [2025-03-09 13:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642419', 'tblTempVendorCDR_20' ) start [2025-03-09 13:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642419', 'tblTempVendorCDR_20' ) end [2025-03-09 13:14:18] Production.INFO: ProcessCDR(1,14642419,1,1,2) [2025-03-09 13:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642419', 'tblTempUsageDetail_20' ) start [2025-03-09 13:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642419', 'tblTempUsageDetail_20' ) end [2025-03-09 13:14:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:14:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:14:23] Production.INFO: ==21507== Releasing lock... [2025-03-09 13:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:14:23] Production.INFO: 33.75 MB #Memory Used# [2025-03-09 17:15:01] Production.INFO: ==21564== Lock acquired, processing the job... [2025-03-09 17:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:15:01] Production.INFO: neon service started [2025-03-09 17:15:01] Production.INFO: neon service started [2025-03-09 17:15:01] Production.INFO: ==21564== Releasing lock... [2025-03-09 17:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:15:02] Production.INFO: ==21566== Lock acquired, processing the job... [2025-03-09 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:15:02] Production.INFO: ==21568== Lock acquired, processing the job... [2025-03-09 17:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:15:02] Production.INFO: ==21568== Releasing lock... [2025-03-09 17:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:15:02] Production.INFO: ==21566== Releasing lock... [2025-03-09 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:15:03] Production.INFO: ==21575== Lock acquired, processing the job... [2025-03-09 13:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:15:03] Production.INFO: ==21581== Lock acquired, processing the job... [2025-03-09 13:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:15:04] Production.INFO: count ==13 [2025-03-09 13:15:04] Production.INFO: ==21571== Lock acquired, processing the job... [2025-03-09 13:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:15:04] Production.INFO: ==21573== Lock acquired, processing the job... [2025-03-09 13:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 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-09 13:15:04] Production.INFO: count ==21 [2025-03-09 13:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642420') start [2025-03-09 13:15:04] Production.INFO: ==21577== Lock acquired, processing the job... [2025-03-09 13:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:15:04] Production.INFO: ==21579== Lock acquired, processing the job... [2025-03-09 13:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:15:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:15:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:15:04] Production.INFO: Account Balance Start. [2025-03-09 13:15:04] Production.INFO: CreateAllLog Start [2025-03-09 13:15:04] Production.INFO: 117 [2025-03-09 13:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642420') end [2025-03-09 13:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:15:04] Production.INFO: 1 [2025-03-09 13:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:15:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:15:04] Production.INFO: ==21581== Releasing lock... [2025-03-09 13:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:15:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:15:04] Production.INFO: Total Charge 0 [2025-03-09 13:15:04] Production.INFO: CreateAllLog End [2025-03-09 13:15:04] Production.INFO: ==21573== Releasing lock... [2025-03-09 13:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:15:04] Production.INFO: Account Balance End. [2025-03-09 13:15:04] Production.ERROR: done [2025-03-09 13:15:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:15:04] Production.INFO: ==21577== Releasing lock... [2025-03-09 13:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:15:04] Production.ERROR: done [2025-03-09 13:15:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:15:06 [end_date_ymd] => 2025-03-09 13:15:06 [RateCDR] => 1 ) [2025-03-09 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-09 10:15:06' and `end` < '2025-03-09 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-09 13:15:12] Production.ERROR: CronJobId end10 [2025-03-09 13:15:12] Production.INFO: ==21575== Releasing lock... [2025-03-09 13:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:15:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:15:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:15:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:15:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:15:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:15:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:15:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:15:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:15:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:15:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:15:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:15:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:15:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:15:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:15:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:15:16] Production.INFO: call_cost start [2025-03-09 13:15:16] Production.INFO: call_cost end [2025-03-09 13:15:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:15:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:15:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:15:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:15:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:15:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:15:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:15:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:15:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:15:17] Production.INFO: ==21571== Releasing lock... [2025-03-09 13:15:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:15:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:15:18] Production.INFO: count ==724 [2025-03-09 13:15:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:15:06 - End Time 2025-03-09 13:15:06 [2025-03-09 13:15:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642424', 'tblTempUsageDetail_20' ) start [2025-03-09 13:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642424', 'tblTempUsageDetail_20' ) end [2025-03-09 13:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642424', 'tblTempVendorCDR_20' ) start [2025-03-09 13:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642424', 'tblTempVendorCDR_20' ) end [2025-03-09 13:15:18] Production.INFO: ProcessCDR(1,14642424,1,1,2) [2025-03-09 13:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642424', 'tblTempUsageDetail_20' ) start [2025-03-09 13:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642424', 'tblTempUsageDetail_20' ) end [2025-03-09 13:15:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:15:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:15:22] Production.INFO: ==21579== Releasing lock... [2025-03-09 13:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:15:22] Production.INFO: 34 MB #Memory Used# [2025-03-09 17:16:02] Production.INFO: ==21637== Lock acquired, processing the job... [2025-03-09 17:16:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:16:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:16:02] Production.INFO: neon service started [2025-03-09 17:16:02] Production.INFO: neon service started [2025-03-09 17:16:02] Production.INFO: ==21637== Releasing lock... [2025-03-09 17:16:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:16:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:16:02] Production.INFO: ==21639== Lock acquired, processing the job... [2025-03-09 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:16:02] Production.INFO: ==21639== Releasing lock... [2025-03-09 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:16:03] Production.INFO: ==21641== Lock acquired, processing the job... [2025-03-09 17:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:16:03] Production.INFO: ==21641== Releasing lock... [2025-03-09 17:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:16:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:16:04] Production.INFO: ==21645== Lock acquired, processing the job... [2025-03-09 13:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:16:04] Production.INFO: ==21643== Lock acquired, processing the job... [2025-03-09 13:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:16:04] Production.INFO: ==21647== Lock acquired, processing the job... [2025-03-09 13:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:16:04] Production.INFO: ==21649== Lock acquired, processing the job... [2025-03-09 13:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:16:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:16:04] Production.INFO: Account Balance Start. [2025-03-09 13:16:04] Production.INFO: CreateAllLog Start [2025-03-09 13:16:04] Production.INFO: 117 [2025-03-09 13:16:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:16:04] Production.INFO: ==21653== Lock acquired, processing the job... [2025-03-09 13:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:16:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:16:04] Production.INFO: ==21651== Lock acquired, processing the job... [2025-03-09 13:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:16:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:16:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:16:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:16:04] Production.INFO: Total Charge 0 [2025-03-09 13:16:04] Production.INFO: CreateAllLog End [2025-03-09 13:16:04] Production.INFO: count ==13 [2025-03-09 13:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:16:04] Production.INFO: count ==21 [2025-03-09 13:16:04] Production.INFO: ==21645== Releasing lock... [2025-03-09 13:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642428') start [2025-03-09 13:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642428') end [2025-03-09 13:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:16:04] Production.INFO: 1 [2025-03-09 13:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:16:04] Production.ERROR: done [2025-03-09 13:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:16:04] Production.INFO: ==21653== Releasing lock... [2025-03-09 13:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:16:04] Production.ERROR: done [2025-03-09 13:16:04] Production.INFO: Account Balance End. [2025-03-09 13:16:05] Production.ERROR: CronJobId end 12 [2025-03-09 13:16:05] Production.INFO: ==21649== Releasing lock... [2025-03-09 13:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:16:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:16:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:16:06 [end_date_ymd] => 2025-03-09 13:16:06 [RateCDR] => 1 ) [2025-03-09 13:16:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:16:06' and `end` < '2025-03-09 13: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-09 13:16:13] Production.ERROR: CronJobId end10 [2025-03-09 13:16:13] Production.INFO: ==21647== Releasing lock... [2025-03-09 13:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:16:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:16:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:16:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:16:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:16:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:16:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:16:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:16:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:16:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:16:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:16:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:16:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:16:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:16:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:16:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:16:16] Production.INFO: call_cost start [2025-03-09 13:16:16] Production.INFO: call_cost end [2025-03-09 13:16:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:16:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:16:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:16:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:16:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:16:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:16:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:16:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:16:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:16:17] Production.INFO: ==21643== Releasing lock... [2025-03-09 13:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:16:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:16:18] Production.INFO: count ==716 [2025-03-09 13:16:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:16:06 - End Time 2025-03-09 13:16:06 [2025-03-09 13:16:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642429', 'tblTempUsageDetail_20' ) start [2025-03-09 13:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642429', 'tblTempUsageDetail_20' ) end [2025-03-09 13:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642429', 'tblTempVendorCDR_20' ) start [2025-03-09 13:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642429', 'tblTempVendorCDR_20' ) end [2025-03-09 13:16:18] Production.INFO: ProcessCDR(1,14642429,1,1,2) [2025-03-09 13:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:16:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642429', 'tblTempUsageDetail_20' ) start [2025-03-09 13:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642429', 'tblTempUsageDetail_20' ) end [2025-03-09 13:16:24] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:16:24] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:16:24] Production.INFO: ==21651== Releasing lock... [2025-03-09 13:16:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:16:24] Production.INFO: 33.5 MB #Memory Used# [2025-03-09 17:17:01] Production.INFO: ==21707== Lock acquired, processing the job... [2025-03-09 17:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:17:01] Production.INFO: neon service started [2025-03-09 17:17:01] Production.INFO: neon service started [2025-03-09 17:17:01] Production.INFO: ==21707== Releasing lock... [2025-03-09 17:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:17:02] Production.INFO: ==21711== Lock acquired, processing the job... [2025-03-09 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:17:02] Production.INFO: ==21711== Releasing lock... [2025-03-09 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:17:02] Production.INFO: ==21709== Lock acquired, processing the job... [2025-03-09 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:17:02] Production.INFO: ==21709== Releasing lock... [2025-03-09 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:17:03] Production.INFO: ==21714== Lock acquired, processing the job... [2025-03-09 13:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:17:03] Production.INFO: ==21716== Lock acquired, processing the job... [2025-03-09 13:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:17:03] Production.INFO: ==21724== Lock acquired, processing the job... [2025-03-09 13:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:17:03] Production.INFO: count ==13 [2025-03-09 13:17:03] Production.INFO: ==21716== Releasing lock... [2025-03-09 13:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:17:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:17:03] Production.INFO: count ==21 [2025-03-09 13:17:03] Production.INFO: ==21718== Lock acquired, processing the job... [2025-03-09 13:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642432') start [2025-03-09 13:17:03] Production.INFO: ==21722== Lock acquired, processing the job... [2025-03-09 13:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642432') end [2025-03-09 13:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:17:04] Production.INFO: 1 [2025-03-09 13:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:17:04] Production.INFO: ==21720== Lock acquired, processing the job... [2025-03-09 13:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:17:04] Production.INFO: ==21724== Releasing lock... [2025-03-09 13:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:17:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:17:04] Production.INFO: Account Balance Start. [2025-03-09 13:17:04] Production.INFO: CreateAllLog Start [2025-03-09 13:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:17:04] Production.INFO: 117 [2025-03-09 13:17:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:17:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:17:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:17:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:17:04] Production.INFO: Total Charge 0 [2025-03-09 13:17:04] Production.INFO: CreateAllLog End [2025-03-09 13:17:04] Production.ERROR: done [2025-03-09 13:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:17:04] Production.ERROR: done [2025-03-09 13:17:04] Production.INFO: Account Balance End. [2025-03-09 13:17:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:17:04] Production.INFO: ==21720== Releasing lock... [2025-03-09 13:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:17:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:17:06 [end_date_ymd] => 2025-03-09 13:17:06 [RateCDR] => 1 ) [2025-03-09 13: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-09 10:17:06' and `end` < '2025-03-09 13: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-09 13:17:12] Production.ERROR: CronJobId end10 [2025-03-09 13:17:12] Production.INFO: ==21718== Releasing lock... [2025-03-09 13:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:17:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:17:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:17:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:17:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:17:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:17:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:17:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:17:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:17:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:17:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:17:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:17:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:17:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:17:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:17:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:17:15] Production.INFO: call_cost start [2025-03-09 13:17:16] Production.INFO: call_cost end [2025-03-09 13:17:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:17:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:17:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:17:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:17:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:17:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:17:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:17:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:17:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:17:17] Production.INFO: ==21714== Releasing lock... [2025-03-09 13:17:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:17:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:17:18] Production.INFO: count ==717 [2025-03-09 13:17:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:17:06 - End Time 2025-03-09 13:17:06 [2025-03-09 13:17:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642434', 'tblTempUsageDetail_20' ) start [2025-03-09 13:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642434', 'tblTempUsageDetail_20' ) end [2025-03-09 13:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642434', 'tblTempVendorCDR_20' ) start [2025-03-09 13:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642434', 'tblTempVendorCDR_20' ) end [2025-03-09 13:17:18] Production.INFO: ProcessCDR(1,14642434,1,1,2) [2025-03-09 13:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642434', 'tblTempUsageDetail_20' ) start [2025-03-09 13:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642434', 'tblTempUsageDetail_20' ) end [2025-03-09 13:17:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:17:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:17:23] Production.INFO: ==21722== Releasing lock... [2025-03-09 13:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:17:23] Production.INFO: 33.25 MB #Memory Used# [2025-03-09 17:18:02] Production.INFO: ==21807== Lock acquired, processing the job... [2025-03-09 17:18:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:18:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:18:02] Production.INFO: neon service started [2025-03-09 17:18:02] Production.INFO: neon service started [2025-03-09 17:18:02] Production.INFO: ==21807== Releasing lock... [2025-03-09 17:18:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:18:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 17:18:02] Production.INFO: ==21811== Lock acquired, processing the job... [2025-03-09 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:18:02] Production.INFO: ==21811== Releasing lock... [2025-03-09 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:18:02] Production.INFO: ==21809== Lock acquired, processing the job... [2025-03-09 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:18:03] Production.INFO: ==21809== Releasing lock... [2025-03-09 13:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:18:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:18:04] Production.INFO: ==21813== Lock acquired, processing the job... [2025-03-09 13:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:18:04] Production.INFO: ==21815== Lock acquired, processing the job... [2025-03-09 13:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:18:04] Production.INFO: ==21820== Lock acquired, processing the job... [2025-03-09 13:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:18:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:18:04] Production.INFO: Account Balance Start. [2025-03-09 13:18:04] Production.INFO: CreateAllLog Start [2025-03-09 13:18:04] Production.INFO: 117 [2025-03-09 13:18:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:18:04] Production.INFO: ==21817== Lock acquired, processing the job... [2025-03-09 13:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:18:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:18:04] Production.INFO: Total Charge 0 [2025-03-09 13:18:04] Production.INFO: CreateAllLog End [2025-03-09 13:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:18:04] Production.INFO: ==21822== Lock acquired, processing the job... [2025-03-09 13:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:18:04] Production.INFO: ==21815== Releasing lock... [2025-03-09 13:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:18:04] Production.INFO: Account Balance End. [2025-03-09 13:18:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:18:04] Production.INFO: ==21820== Releasing lock... [2025-03-09 13:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:18:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:18:04] Production.INFO: ==21824== Lock acquired, processing the job... [2025-03-09 13:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:18:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:18:05] Production.INFO: count ==13 [2025-03-09 13:18:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:18:05] Production.INFO: count ==21 [2025-03-09 13:18:05] Production.ERROR: PBX CALL prc_importPBXExtension('14642438') start [2025-03-09 13:18:05] Production.ERROR: done [2025-03-09 13:18:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:18:05] Production.ERROR: PBX CALL prc_importPBXExtension('14642438') end [2025-03-09 13:18:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:18:05] Production.INFO: 1 [2025-03-09 13:18:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:18:05] Production.INFO: ==21824== Releasing lock... [2025-03-09 13:18:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:18:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:18:05] Production.ERROR: done [2025-03-09 13:18:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:18:06 [end_date_ymd] => 2025-03-09 13:18:06 [RateCDR] => 1 ) [2025-03-09 13: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-09 10:18:06' and `end` < '2025-03-09 13: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-09 13:18:13] Production.ERROR: CronJobId end10 [2025-03-09 13:18:13] Production.INFO: ==21817== Releasing lock... [2025-03-09 13:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:18:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:18:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:18:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:18:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:18:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:18:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:18:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:18:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:18:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:18:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:18:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:18:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:18:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:18:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:18:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:18:16] Production.INFO: call_cost start [2025-03-09 13:18:16] Production.INFO: call_cost end [2025-03-09 13:18:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:18:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:18:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:18:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:18:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:18:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:18:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:18:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:18:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:18:17] Production.INFO: ==21813== Releasing lock... [2025-03-09 13:18:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:18:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:18:18] Production.INFO: count ==718 [2025-03-09 13:18:19] Production.ERROR: pbx CDR StartTime 2025-03-09 10:18:06 - End Time 2025-03-09 13:18:06 [2025-03-09 13:18:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642439', 'tblTempUsageDetail_20' ) start [2025-03-09 13:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642439', 'tblTempUsageDetail_20' ) end [2025-03-09 13:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642439', 'tblTempVendorCDR_20' ) start [2025-03-09 13:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642439', 'tblTempVendorCDR_20' ) end [2025-03-09 13:18:19] Production.INFO: ProcessCDR(1,14642439,1,1,2) [2025-03-09 13:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:18:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642439', 'tblTempUsageDetail_20' ) start [2025-03-09 13:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642439', 'tblTempUsageDetail_20' ) end [2025-03-09 13:18:24] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:18:24] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:18:24] Production.INFO: ==21822== Releasing lock... [2025-03-09 13:18:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:18:24] Production.INFO: 33.75 MB #Memory Used# [2025-03-09 17:19:01] Production.INFO: ==21919== Lock acquired, processing the job... [2025-03-09 17:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:19:01] Production.INFO: neon service started [2025-03-09 17:19:01] Production.INFO: neon service started [2025-03-09 17:19:01] Production.INFO: ==21919== Releasing lock... [2025-03-09 17:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:19:01] Production.INFO: ==21923== Lock acquired, processing the job... [2025-03-09 17:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:19:02] Production.INFO: ==21923== Releasing lock... [2025-03-09 17:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:19:02] Production.INFO: ==21921== Lock acquired, processing the job... [2025-03-09 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:19:02] Production.INFO: ==21921== Releasing lock... [2025-03-09 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:19:03] Production.INFO: ==21925== Lock acquired, processing the job... [2025-03-09 13:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:19:03] Production.INFO: ==21929== Lock acquired, processing the job... [2025-03-09 13:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:19:03] Production.INFO: ==21927== Lock acquired, processing the job... [2025-03-09 13:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:19:03] Production.INFO: ==21931== Lock acquired, processing the job... [2025-03-09 13:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:19:03] Production.INFO: ==21927== Releasing lock... [2025-03-09 13:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:19:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:19:03] Production.INFO: ==21933== Lock acquired, processing the job... [2025-03-09 13:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:19:03] Production.INFO: ==21935== Lock acquired, processing the job... [2025-03-09 13:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:19:03] Production.INFO: Account Balance Start. [2025-03-09 13:19:03] Production.INFO: CreateAllLog Start [2025-03-09 13:19:03] Production.INFO: 117 [2025-03-09 13:19:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:19:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:19:03] Production.INFO: Date 2025-03-09 [2025-03-09 13:19:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:19:03] Production.INFO: Total Charge 0 [2025-03-09 13:19:03] Production.INFO: CreateAllLog End [2025-03-09 13:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:19:03] Production.INFO: count ==13 [2025-03-09 13:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:19:03] Production.INFO: count ==21 [2025-03-09 13:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642443') start [2025-03-09 13:19:04] Production.INFO: Account Balance End. [2025-03-09 13:19:04] Production.ERROR: done [2025-03-09 13:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:19:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:19:04] Production.INFO: ==21931== Releasing lock... [2025-03-09 13:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642443') end [2025-03-09 13:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:19:04] Production.INFO: 1 [2025-03-09 13:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:19:04] Production.INFO: ==21935== Releasing lock... [2025-03-09 13:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:19:04] Production.ERROR: done [2025-03-09 13:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:19:05 [end_date_ymd] => 2025-03-09 13:19:05 [RateCDR] => 1 ) [2025-03-09 13:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:19:05' and `end` < '2025-03-09 13:19:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:19:12] Production.ERROR: CronJobId end10 [2025-03-09 13:19:12] Production.INFO: ==21929== Releasing lock... [2025-03-09 13:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:19:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:19:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:19:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:19:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:19:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:19:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:19:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:19:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:19:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:19:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:19:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:19:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:19:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:19:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:19:14] Production.INFO: call_cost start [2025-03-09 13:19:14] Production.INFO: call_cost end [2025-03-09 13:19:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:19:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:19:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:19:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:19:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:19:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:19:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:19:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:19:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:19:14] Production.INFO: ==21925== Releasing lock... [2025-03-09 13:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:19:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:19:17] Production.INFO: count ==719 [2025-03-09 13:19:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:19:05 - End Time 2025-03-09 13:19:05 [2025-03-09 13:19:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642444', 'tblTempUsageDetail_20' ) start [2025-03-09 13:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642444', 'tblTempUsageDetail_20' ) end [2025-03-09 13:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642444', 'tblTempVendorCDR_20' ) start [2025-03-09 13:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642444', 'tblTempVendorCDR_20' ) end [2025-03-09 13:19:17] Production.INFO: ProcessCDR(1,14642444,1,1,2) [2025-03-09 13:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642444', 'tblTempUsageDetail_20' ) start [2025-03-09 13:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642444', 'tblTempUsageDetail_20' ) end [2025-03-09 13:19:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:19:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:19:22] Production.INFO: ==21933== Releasing lock... [2025-03-09 13:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:19:22] Production.INFO: 33.75 MB #Memory Used# [2025-03-09 17:20:02] Production.INFO: ==21989== Lock acquired, processing the job... [2025-03-09 17:20:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:20:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:20:02] Production.INFO: neon service started [2025-03-09 17:20:02] Production.INFO: neon service started [2025-03-09 17:20:02] Production.INFO: ==21989== Releasing lock... [2025-03-09 17:20:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:20:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:20:02] Production.INFO: ==21992== Lock acquired, processing the job... [2025-03-09 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:20:03] Production.INFO: ==21992== Releasing lock... [2025-03-09 13:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:20:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:20:03] Production.INFO: ==21994== Lock acquired, processing the job... [2025-03-09 17:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:20:03] Production.INFO: ==21994== Releasing lock... [2025-03-09 17:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:20:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:20:03] Production.INFO: ==21996== Lock acquired, processing the job... [2025-03-09 13:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 13:20:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 13:20:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 13:20:03] Production.INFO: ==21996== Releasing lock... [2025-03-09 13:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 13:20:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 13:20:04] Production.INFO: ==21998== Lock acquired, processing the job... [2025-03-09 13:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:20:04] Production.INFO: ==22004== Lock acquired, processing the job... [2025-03-09 13:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:20:04] Production.INFO: ==22006== Lock acquired, processing the job... [2025-03-09 13:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:20:04] Production.INFO: Account Balance Start. [2025-03-09 13:20:04] Production.INFO: CreateAllLog Start [2025-03-09 13:20:04] Production.INFO: 117 [2025-03-09 13:20:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:20:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:20:04] Production.INFO: ==22000== Lock acquired, processing the job... [2025-03-09 13:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:20:04] Production.INFO: Total Charge 0 [2025-03-09 13:20:04] Production.INFO: CreateAllLog End [2025-03-09 13:20:04] Production.INFO: ==22008== Lock acquired, processing the job... [2025-03-09 13:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 13:20:04] Production.INFO: ==22002== Lock acquired, processing the job... [2025-03-09 13:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:20:04] Production.INFO: ==22010== Lock acquired, processing the job... [2025-03-09 13:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:20:04] Production.INFO: Account Balance End. [2025-03-09 13:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:20:04] Production.ERROR: done [2025-03-09 13:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:20:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:20:04] Production.INFO: ==22004== Releasing lock... [2025-03-09 13:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:20:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:20:04] Production.INFO: count ==13 [2025-03-09 13:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:20:04] Production.INFO: count ==21 [2025-03-09 13:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642448') start [2025-03-09 13:20:04] Production.ERROR: done [2025-03-09 13:20:04] Production.INFO: ==22000== Releasing lock... [2025-03-09 13:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14642448') end [2025-03-09 13:20:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:20:05] Production.INFO: 1 [2025-03-09 13:20:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:20:05] Production.INFO: ==22010== Releasing lock... [2025-03-09 13:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:20:05] Production.ERROR: done [2025-03-09 13:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 13:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642450', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 13:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:20:06 [end_date_ymd] => 2025-03-09 13:20:06 [RateCDR] => 1 ) [2025-03-09 13:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:20:06' and `end` < '2025-03-09 13:20:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642450', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 13:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 13:20:09] Production.INFO: ProcessCDR(1,14642450,1,1,2) [2025-03-09 13:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14642450,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14642450,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:20:09] Production.INFO: ==22008== Releasing lock... [2025-03-09 13:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 13:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 13:20:15] Production.ERROR: CronJobId end10 [2025-03-09 13:20:15] Production.INFO: ==22002== Releasing lock... [2025-03-09 13:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:20:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:20:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:20:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:20:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:20:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:20:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:20:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:20:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:20:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:20:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:20:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:20:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:20:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:20:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:20:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:20:17] Production.INFO: call_cost start [2025-03-09 13:20:17] Production.INFO: call_cost end [2025-03-09 13:20:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:20:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:20:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:20:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:20:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:20:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:20:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:20:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:20:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:20:18] Production.INFO: ==21998== Releasing lock... [2025-03-09 13:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:20:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:20:18] Production.INFO: count ==719 [2025-03-09 13:20:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:20:06 - End Time 2025-03-09 13:20:06 [2025-03-09 13:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642449', 'tblTempUsageDetail_20' ) start [2025-03-09 13:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642449', 'tblTempUsageDetail_20' ) end [2025-03-09 13:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642449', 'tblTempVendorCDR_20' ) start [2025-03-09 13:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642449', 'tblTempVendorCDR_20' ) end [2025-03-09 13:20:18] Production.INFO: ProcessCDR(1,14642449,1,1,2) [2025-03-09 13:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642449', 'tblTempUsageDetail_20' ) start [2025-03-09 13:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642449', 'tblTempUsageDetail_20' ) end [2025-03-09 13:20:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:20:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:20:23] Production.INFO: ==22006== Releasing lock... [2025-03-09 13:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:20:23] Production.INFO: 33.5 MB #Memory Used# [2025-03-09 17:21:01] Production.INFO: ==22065== Lock acquired, processing the job... [2025-03-09 17:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:21:01] Production.INFO: neon service started [2025-03-09 17:21:01] Production.INFO: neon service started [2025-03-09 17:21:01] Production.INFO: ==22065== Releasing lock... [2025-03-09 17:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:21:02] Production.INFO: ==22067== Lock acquired, processing the job... [2025-03-09 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:21:02] Production.INFO: ==22069== Lock acquired, processing the job... [2025-03-09 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:21:02] Production.INFO: ==22069== Releasing lock... [2025-03-09 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:21:02] Production.INFO: ==22067== Releasing lock... [2025-03-09 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:21:03] Production.INFO: ==22072== Lock acquired, processing the job... [2025-03-09 13:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:21:03] Production.INFO: ==22074== Lock acquired, processing the job... [2025-03-09 13:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:21:03] Production.INFO: ==22078== Lock acquired, processing the job... [2025-03-09 13:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:21:03] Production.INFO: ==22074== Releasing lock... [2025-03-09 13:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:21:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:21:03] Production.INFO: Account Balance Start. [2025-03-09 13:21:03] Production.INFO: CreateAllLog Start [2025-03-09 13:21:03] Production.INFO: 117 [2025-03-09 13:21:03] Production.INFO: ==22076== Lock acquired, processing the job... [2025-03-09 13:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:21:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:21:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:21:03] Production.INFO: Date 2025-03-09 [2025-03-09 13:21:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:21:03] Production.INFO: Total Charge 0 [2025-03-09 13:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:21:03] Production.INFO: CreateAllLog End [2025-03-09 13:21:03] Production.INFO: ==22080== Lock acquired, processing the job... [2025-03-09 13:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:21:04] Production.INFO: Account Balance End. [2025-03-09 13:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:21:04] Production.INFO: ==22082== Lock acquired, processing the job... [2025-03-09 13:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:21:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:21:04] Production.INFO: ==22078== Releasing lock... [2025-03-09 13:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:21:04] Production.INFO: count ==13 [2025-03-09 13:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:21:04] Production.INFO: count ==21 [2025-03-09 13:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642454') start [2025-03-09 13:21:04] Production.ERROR: done [2025-03-09 13:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642454') end [2025-03-09 13:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:21:04] Production.INFO: 1 [2025-03-09 13:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:21:04] Production.INFO: ==22082== Releasing lock... [2025-03-09 13:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:21:04] Production.ERROR: done [2025-03-09 13:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:21:05 [end_date_ymd] => 2025-03-09 13:21:05 [RateCDR] => 1 ) [2025-03-09 13:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:21:05' and `end` < '2025-03-09 13:21:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:21:11] Production.ERROR: CronJobId end10 [2025-03-09 13:21:11] Production.INFO: ==22076== Releasing lock... [2025-03-09 13:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:21:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:21:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:21:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:21:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:21:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:21:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:21:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:21:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:21:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:21:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:21:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:21:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:21:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:21:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:21:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:21:14] Production.INFO: call_cost start [2025-03-09 13:21:14] Production.INFO: call_cost end [2025-03-09 13:21:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:21:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:21:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:21:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:21:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:21:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:21:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:21:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:21:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:21:15] Production.INFO: ==22072== Releasing lock... [2025-03-09 13:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:21:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:21:17] Production.INFO: count ==734 [2025-03-09 13:21:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:21:05 - End Time 2025-03-09 13:21:05 [2025-03-09 13:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642455', 'tblTempUsageDetail_20' ) start [2025-03-09 13:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642455', 'tblTempUsageDetail_20' ) end [2025-03-09 13:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642455', 'tblTempVendorCDR_20' ) start [2025-03-09 13:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642455', 'tblTempVendorCDR_20' ) end [2025-03-09 13:21:18] Production.INFO: ProcessCDR(1,14642455,1,1,2) [2025-03-09 13:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642455', 'tblTempUsageDetail_20' ) start [2025-03-09 13:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642455', 'tblTempUsageDetail_20' ) end [2025-03-09 13:21:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:21:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:21:23] Production.INFO: ==22080== Releasing lock... [2025-03-09 13:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:21:23] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 17:22:02] Production.INFO: ==22136== Lock acquired, processing the job... [2025-03-09 17:22:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:22:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:22:02] Production.INFO: neon service started [2025-03-09 17:22:02] Production.INFO: neon service started [2025-03-09 17:22:02] Production.INFO: ==22136== Releasing lock... [2025-03-09 17:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:22:02] Production.INFO: ==22138== Lock acquired, processing the job... [2025-03-09 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:22:02] Production.INFO: ==22138== Releasing lock... [2025-03-09 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:22:03] Production.INFO: ==22140== Lock acquired, processing the job... [2025-03-09 17:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:22:03] Production.INFO: ==22140== Releasing lock... [2025-03-09 17:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:22:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:22:03] Production.INFO: ==22146== Lock acquired, processing the job... [2025-03-09 13:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:22:03] Production.INFO: ==22142== Lock acquired, processing the job... [2025-03-09 13:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:22:03] Production.INFO: ==22144== Lock acquired, processing the job... [2025-03-09 13:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:22:04] Production.INFO: ==22153== Lock acquired, processing the job... [2025-03-09 13:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:22:04] Production.INFO: ==22149== Lock acquired, processing the job... [2025-03-09 13:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:22:04] Production.INFO: ==22151== Lock acquired, processing the job... [2025-03-09 13:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:22:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:22:04] Production.INFO: Account Balance Start. [2025-03-09 13:22:04] Production.INFO: CreateAllLog Start [2025-03-09 13:22:04] Production.INFO: 117 [2025-03-09 13:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:22:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:22:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:22:04] Production.INFO: count ==13 [2025-03-09 13:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:22:04] Production.INFO: count ==21 [2025-03-09 13:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642458') start [2025-03-09 13:22:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:22:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:22:04] Production.INFO: ==22144== Releasing lock... [2025-03-09 13:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:22:04] Production.INFO: Total Charge 0 [2025-03-09 13:22:04] Production.INFO: CreateAllLog End [2025-03-09 13:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642458') end [2025-03-09 13:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:22:04] Production.INFO: 1 [2025-03-09 13:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:22:04] Production.ERROR: done [2025-03-09 13:22:04] Production.INFO: ==22153== Releasing lock... [2025-03-09 13:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:22:04] Production.ERROR: done [2025-03-09 13:22:04] Production.INFO: Account Balance End. [2025-03-09 13:22:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:22:04] Production.INFO: ==22149== Releasing lock... [2025-03-09 13:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:22:05 [end_date_ymd] => 2025-03-09 13:22:05 [RateCDR] => 1 ) [2025-03-09 13:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:22:05' and `end` < '2025-03-09 13:22:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:22:12] Production.ERROR: CronJobId end10 [2025-03-09 13:22:12] Production.INFO: ==22146== Releasing lock... [2025-03-09 13:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:22:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:22:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:22:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:22:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:22:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:22:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:22:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:22:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:22:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:22:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:22:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:22:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:22:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:22:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:22:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:22:15] Production.INFO: call_cost start [2025-03-09 13:22:15] Production.INFO: call_cost end [2025-03-09 13:22:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:22:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:22:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:22:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:22:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:22:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:22:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:22:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:22:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:22:16] Production.INFO: ==22142== Releasing lock... [2025-03-09 13:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:22:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:22:17] Production.INFO: count ==739 [2025-03-09 13:22:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:22:05 - End Time 2025-03-09 13:22:05 [2025-03-09 13:22:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642460', 'tblTempUsageDetail_20' ) start [2025-03-09 13:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642460', 'tblTempUsageDetail_20' ) end [2025-03-09 13:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642460', 'tblTempVendorCDR_20' ) start [2025-03-09 13:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642460', 'tblTempVendorCDR_20' ) end [2025-03-09 13:22:18] Production.INFO: ProcessCDR(1,14642460,1,1,2) [2025-03-09 13:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642460', 'tblTempUsageDetail_20' ) start [2025-03-09 13:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642460', 'tblTempUsageDetail_20' ) end [2025-03-09 13:22:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:22:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:22:23] Production.INFO: ==22151== Releasing lock... [2025-03-09 13:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:22:23] Production.INFO: 33.75 MB #Memory Used# [2025-03-09 17:23:01] Production.INFO: ==22210== Lock acquired, processing the job... [2025-03-09 17:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:23:01] Production.INFO: neon service started [2025-03-09 17:23:01] Production.INFO: neon service started [2025-03-09 17:23:01] Production.INFO: ==22210== Releasing lock... [2025-03-09 17:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:23:01] Production.INFO: ==22213== Lock acquired, processing the job... [2025-03-09 13:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:23:02] Production.INFO: ==22213== Releasing lock... [2025-03-09 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:23:02] Production.INFO: ==22215== Lock acquired, processing the job... [2025-03-09 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:23:02] Production.INFO: ==22215== Releasing lock... [2025-03-09 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:23:03] Production.INFO: ==22221== Lock acquired, processing the job... [2025-03-09 13:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:23:03] Production.INFO: ==22225== Lock acquired, processing the job... [2025-03-09 13:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:23:03] Production.INFO: ==22217== Lock acquired, processing the job... [2025-03-09 13:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:23:03] Production.INFO: ==22219== Lock acquired, processing the job... [2025-03-09 13:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:23:03] Production.INFO: ==22223== Lock acquired, processing the job... [2025-03-09 13:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:23:03] Production.INFO: ==22227== Lock acquired, processing the job... [2025-03-09 13:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:23:03] Production.INFO: Account Balance Start. [2025-03-09 13:23:03] Production.INFO: CreateAllLog Start [2025-03-09 13:23:03] Production.INFO: 117 [2025-03-09 13:23:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:23:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:23:03] Production.INFO: Date 2025-03-09 [2025-03-09 13:23:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:23:03] Production.INFO: Total Charge 0 [2025-03-09 13:23:03] Production.INFO: count ==13 [2025-03-09 13:23:03] Production.INFO: CreateAllLog End [2025-03-09 13:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:23:03] Production.INFO: count ==21 [2025-03-09 13:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642464') start [2025-03-09 13:23:04] Production.ERROR: done [2025-03-09 13:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:23:04] Production.INFO: ==22219== Releasing lock... [2025-03-09 13:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:23:04] Production.ERROR: done [2025-03-09 13:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642464') end [2025-03-09 13:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:23:04] Production.INFO: 1 [2025-03-09 13:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:23:04] Production.INFO: Account Balance End. [2025-03-09 13:23:04] Production.INFO: ==22227== Releasing lock... [2025-03-09 13:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:23:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:23:04] Production.INFO: ==22223== Releasing lock... [2025-03-09 13:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:23:05 [end_date_ymd] => 2025-03-09 13:23:05 [RateCDR] => 1 ) [2025-03-09 13:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:23:05' and `end` < '2025-03-09 13:23:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:23:11] Production.ERROR: CronJobId end10 [2025-03-09 13:23:11] Production.INFO: ==22221== Releasing lock... [2025-03-09 13:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:23:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:23:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:23:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:23:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:23:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:23:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:23:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:23:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:23:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:23:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:23:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:23:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:23:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:23:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:23:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:23:15] Production.INFO: call_cost start [2025-03-09 13:23:15] Production.INFO: call_cost end [2025-03-09 13:23:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:23:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:23:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:23:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:23:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:23:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:23:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:23:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:23:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:23:16] Production.INFO: ==22217== Releasing lock... [2025-03-09 13:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:23:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:23:17] Production.INFO: count ==740 [2025-03-09 13:23:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:23:05 - End Time 2025-03-09 13:23:05 [2025-03-09 13:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642465', 'tblTempUsageDetail_20' ) start [2025-03-09 13:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642465', 'tblTempUsageDetail_20' ) end [2025-03-09 13:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642465', 'tblTempVendorCDR_20' ) start [2025-03-09 13:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642465', 'tblTempVendorCDR_20' ) end [2025-03-09 13:23:17] Production.INFO: ProcessCDR(1,14642465,1,1,2) [2025-03-09 13:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642465', 'tblTempUsageDetail_20' ) start [2025-03-09 13:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642465', 'tblTempUsageDetail_20' ) end [2025-03-09 13:23:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:23:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:23:21] Production.INFO: ==22225== Releasing lock... [2025-03-09 13:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:23:21] Production.INFO: 33.75 MB #Memory Used# [2025-03-09 17:24:02] Production.INFO: ==22280== Lock acquired, processing the job... [2025-03-09 17:24:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:24:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:24:02] Production.INFO: neon service started [2025-03-09 17:24:02] Production.INFO: neon service started [2025-03-09 17:24:02] Production.INFO: ==22280== Releasing lock... [2025-03-09 17:24:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:24:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:24:02] Production.INFO: ==22282== Lock acquired, processing the job... [2025-03-09 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:24:02] Production.INFO: ==22284== Lock acquired, processing the job... [2025-03-09 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:24:02] Production.INFO: ==22284== Releasing lock... [2025-03-09 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:24:02] Production.INFO: ==22282== Releasing lock... [2025-03-09 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:24:03] Production.INFO: ==22289== Lock acquired, processing the job... [2025-03-09 13:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:24:03] Production.INFO: ==22287== Lock acquired, processing the job... [2025-03-09 13:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:24:03] Production.INFO: ==22291== Lock acquired, processing the job... [2025-03-09 13:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:24:04] Production.INFO: ==22289== Releasing lock... [2025-03-09 13:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:24:04] Production.INFO: ==22293== Lock acquired, processing the job... [2025-03-09 13:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:24:04] Production.INFO: ==22295== Lock acquired, processing the job... [2025-03-09 13:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:24:04] Production.INFO: ==22297== Lock acquired, processing the job... [2025-03-09 13:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:24:04] Production.INFO: Account Balance Start. [2025-03-09 13:24:04] Production.INFO: CreateAllLog Start [2025-03-09 13:24:04] Production.INFO: 117 [2025-03-09 13:24:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:24:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:24:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:24:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:24:04] Production.INFO: count ==13 [2025-03-09 13:24:04] Production.ERROR: done [2025-03-09 13:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:24:04] Production.INFO: count ==21 [2025-03-09 13:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642469') start [2025-03-09 13:24:04] Production.INFO: Total Charge 0 [2025-03-09 13:24:04] Production.INFO: CreateAllLog End [2025-03-09 13:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642469') end [2025-03-09 13:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:24:04] Production.INFO: 1 [2025-03-09 13:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:24:04] Production.ERROR: done [2025-03-09 13:24:04] Production.INFO: ==22297== Releasing lock... [2025-03-09 13:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:24:04] Production.INFO: Account Balance End. [2025-03-09 13:24:05] Production.ERROR: CronJobId end 12 [2025-03-09 13:24:05] Production.INFO: ==22293== Releasing lock... [2025-03-09 13:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:24:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:24:05 [end_date_ymd] => 2025-03-09 13:24:05 [RateCDR] => 1 ) [2025-03-09 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-09 10:24:05' and `end` < '2025-03-09 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-09 13:24:12] Production.ERROR: CronJobId end10 [2025-03-09 13:24:12] Production.INFO: ==22291== Releasing lock... [2025-03-09 13:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:24:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:24:15] Production.INFO: call_cost start [2025-03-09 13:24:15] Production.INFO: call_cost end [2025-03-09 13:24:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:24:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:24:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:24:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:24:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:24:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:24:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:24:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:24:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:24:16] Production.INFO: ==22287== Releasing lock... [2025-03-09 13:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:24:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:24:17] Production.INFO: count ==739 [2025-03-09 13:24:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:24:05 - End Time 2025-03-09 13:24:05 [2025-03-09 13:24:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642470', 'tblTempUsageDetail_20' ) start [2025-03-09 13:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642470', 'tblTempUsageDetail_20' ) end [2025-03-09 13:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642470', 'tblTempVendorCDR_20' ) start [2025-03-09 13:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642470', 'tblTempVendorCDR_20' ) end [2025-03-09 13:24:18] Production.INFO: ProcessCDR(1,14642470,1,1,2) [2025-03-09 13:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642470', 'tblTempUsageDetail_20' ) start [2025-03-09 13:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642470', 'tblTempUsageDetail_20' ) end [2025-03-09 13:24:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:24:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:24:21] Production.INFO: ==22295== Releasing lock... [2025-03-09 13:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:24:21] Production.INFO: 33.75 MB #Memory Used# [2025-03-09 17:25:01] Production.INFO: ==22350== Lock acquired, processing the job... [2025-03-09 17:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:25:01] Production.INFO: neon service started [2025-03-09 17:25:01] Production.INFO: neon service started [2025-03-09 17:25:01] Production.INFO: ==22350== Releasing lock... [2025-03-09 17:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:25:02] Production.INFO: ==22352== Lock acquired, processing the job... [2025-03-09 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:25:02] Production.INFO: ==22354== Lock acquired, processing the job... [2025-03-09 17:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:25:02] Production.INFO: ==22354== Releasing lock... [2025-03-09 17:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:25:02] Production.INFO: ==22352== Releasing lock... [2025-03-09 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:25:03] Production.INFO: ==22363== Lock acquired, processing the job... [2025-03-09 13:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:25:03] Production.INFO: ==22357== Lock acquired, processing the job... [2025-03-09 13:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:25:03] Production.INFO: ==22359== Lock acquired, processing the job... [2025-03-09 13:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:25:03] Production.INFO: ==22361== Lock acquired, processing the job... [2025-03-09 13:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:25:03] Production.INFO: Account Balance Start. [2025-03-09 13:25:03] Production.INFO: CreateAllLog Start [2025-03-09 13:25:03] Production.INFO: 117 [2025-03-09 13:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:25:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:25:03] Production.INFO: ==22367== Lock acquired, processing the job... [2025-03-09 13:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:25:03] Production.INFO: Date 2025-03-09 [2025-03-09 13:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 13:25:03] Production.INFO: ==22365== Lock acquired, processing the job... [2025-03-09 13:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:25:03] Production.INFO: count ==13 [2025-03-09 13:25:03] Production.INFO: Total Charge 0 [2025-03-09 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-09 13:25:03] Production.INFO: count ==21 [2025-03-09 13:25:03] Production.INFO: CreateAllLog End [2025-03-09 13:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642474') start [2025-03-09 13:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642474') end [2025-03-09 13:25:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:25:03] Production.INFO: 1 [2025-03-09 13:25:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:25:04] Production.INFO: Account Balance End. [2025-03-09 13:25:04] Production.INFO: ==22367== Releasing lock... [2025-03-09 13:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:25:04] Production.INFO: ==22359== Releasing lock... [2025-03-09 13:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:25:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:25:04] Production.INFO: ==22363== Releasing lock... [2025-03-09 13:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:25:04] Production.ERROR: done [2025-03-09 13:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:25:04] Production.ERROR: done [2025-03-09 13:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:25:05 [end_date_ymd] => 2025-03-09 13:25:05 [RateCDR] => 1 ) [2025-03-09 13:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:25:05' and `end` < '2025-03-09 13:25:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:25:11] Production.ERROR: CronJobId end10 [2025-03-09 13:25:11] Production.INFO: ==22361== Releasing lock... [2025-03-09 13:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:25:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:25:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:25:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:25:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:25:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:25:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:25:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:25:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:25:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:25:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:25:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:25:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:25:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:25:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:25:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:25:14] Production.INFO: call_cost start [2025-03-09 13:25:14] Production.INFO: call_cost end [2025-03-09 13:25:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:25:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:25:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:25:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:25:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:25:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:25:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:25:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:25:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:25:15] Production.INFO: ==22357== Releasing lock... [2025-03-09 13:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:25:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:25:17] Production.INFO: count ==745 [2025-03-09 13:25:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:25:05 - End Time 2025-03-09 13:25:05 [2025-03-09 13:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642475', 'tblTempUsageDetail_20' ) start [2025-03-09 13:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642475', 'tblTempUsageDetail_20' ) end [2025-03-09 13:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642475', 'tblTempVendorCDR_20' ) start [2025-03-09 13:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642475', 'tblTempVendorCDR_20' ) end [2025-03-09 13:25:17] Production.INFO: ProcessCDR(1,14642475,1,1,2) [2025-03-09 13:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642475', 'tblTempUsageDetail_20' ) start [2025-03-09 13:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642475', 'tblTempUsageDetail_20' ) end [2025-03-09 13:25:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:25:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:25:22] Production.INFO: ==22365== Releasing lock... [2025-03-09 13:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:25:22] Production.INFO: 33.75 MB #Memory Used# [2025-03-09 17:26:02] Production.INFO: ==22424== Lock acquired, processing the job... [2025-03-09 17:26:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:26:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:26:02] Production.INFO: neon service started [2025-03-09 17:26:02] Production.INFO: neon service started [2025-03-09 17:26:02] Production.INFO: ==22424== Releasing lock... [2025-03-09 17:26:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:26:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:26:02] Production.INFO: ==22426== Lock acquired, processing the job... [2025-03-09 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:26:02] Production.INFO: ==22426== Releasing lock... [2025-03-09 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:26:02] Production.INFO: ==22428== Lock acquired, processing the job... [2025-03-09 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:26:02] Production.INFO: ==22428== Releasing lock... [2025-03-09 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:26:03] Production.INFO: ==22430== Lock acquired, processing the job... [2025-03-09 13:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:26:03] Production.INFO: ==22441== Lock acquired, processing the job... [2025-03-09 13:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:26:03] Production.INFO: ==22439== Lock acquired, processing the job... [2025-03-09 13:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:26:03] Production.INFO: ==22432== Lock acquired, processing the job... [2025-03-09 13:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:26:04] Production.INFO: ==22434== Lock acquired, processing the job... [2025-03-09 13:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:26:04] Production.INFO: ==22436== Lock acquired, processing the job... [2025-03-09 13:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 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-09 13:26:04] Production.INFO: count ==13 [2025-03-09 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-09 13:26:04] Production.INFO: count ==21 [2025-03-09 13:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642477') start [2025-03-09 13:26:04] Production.INFO: Account Balance Start. [2025-03-09 13:26:04] Production.INFO: CreateAllLog Start [2025-03-09 13:26:04] Production.INFO: 117 [2025-03-09 13:26:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:26:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642477') end [2025-03-09 13:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:26:04] Production.INFO: 1 [2025-03-09 13:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:26:04] Production.INFO: ==22441== Releasing lock... [2025-03-09 13:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:26:04] Production.ERROR: done [2025-03-09 13:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:26:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:26:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:26:04] Production.INFO: Total Charge 0 [2025-03-09 13:26:04] Production.INFO: CreateAllLog End [2025-03-09 13:26:04] Production.INFO: ==22432== Releasing lock... [2025-03-09 13:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:26:04] Production.ERROR: done [2025-03-09 13:26:04] Production.INFO: Account Balance End. [2025-03-09 13:26:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:26:04] Production.INFO: ==22436== Releasing lock... [2025-03-09 13:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:26:05 [end_date_ymd] => 2025-03-09 13:26:05 [RateCDR] => 1 ) [2025-03-09 13:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:26:05' and `end` < '2025-03-09 13:26:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:26:12] Production.ERROR: CronJobId end10 [2025-03-09 13:26:12] Production.INFO: ==22434== Releasing lock... [2025-03-09 13:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:26:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:26:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:26:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:26:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:26:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:26:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:26:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:26:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:26:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:26:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:26:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:26:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:26:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:26:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:26:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:26:14] Production.INFO: call_cost start [2025-03-09 13:26:15] Production.INFO: call_cost end [2025-03-09 13:26:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:26:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:26:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:26:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:26:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:26:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:26:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:26:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:26:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:26:15] Production.INFO: ==22430== Releasing lock... [2025-03-09 13:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:26:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:26:17] Production.INFO: count ==745 [2025-03-09 13:26:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:26:05 - End Time 2025-03-09 13:26:05 [2025-03-09 13:26:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642480', 'tblTempUsageDetail_20' ) start [2025-03-09 13:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642480', 'tblTempUsageDetail_20' ) end [2025-03-09 13:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642480', 'tblTempVendorCDR_20' ) start [2025-03-09 13:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642480', 'tblTempVendorCDR_20' ) end [2025-03-09 13:26:18] Production.INFO: ProcessCDR(1,14642480,1,1,2) [2025-03-09 13:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642480', 'tblTempUsageDetail_20' ) start [2025-03-09 13:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642480', 'tblTempUsageDetail_20' ) end [2025-03-09 13:26:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:26:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:26:22] Production.INFO: ==22439== Releasing lock... [2025-03-09 13:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:26:22] Production.INFO: 33.75 MB #Memory Used# [2025-03-09 17:27:01] Production.INFO: ==22498== Lock acquired, processing the job... [2025-03-09 17:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:27:01] Production.INFO: neon service started [2025-03-09 17:27:01] Production.INFO: neon service started [2025-03-09 17:27:01] Production.INFO: ==22498== Releasing lock... [2025-03-09 17:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:27:01] Production.INFO: ==22500== Lock acquired, processing the job... [2025-03-09 13:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:27:02] Production.INFO: ==22500== Releasing lock... [2025-03-09 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:27:02] Production.INFO: ==22502== Lock acquired, processing the job... [2025-03-09 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:27:02] Production.INFO: ==22502== Releasing lock... [2025-03-09 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:27:03] Production.INFO: ==22506== Lock acquired, processing the job... [2025-03-09 13:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:27:03] Production.INFO: ==22504== Lock acquired, processing the job... [2025-03-09 13:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:27:03] Production.INFO: ==22508== Lock acquired, processing the job... [2025-03-09 13:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:27:03] Production.INFO: ==22510== Lock acquired, processing the job... [2025-03-09 13:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:27:03] Production.INFO: Account Balance Start. [2025-03-09 13:27:03] Production.INFO: CreateAllLog Start [2025-03-09 13:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:27:03] Production.INFO: 117 [2025-03-09 13:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:27:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:27:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:27:03] Production.INFO: Date 2025-03-09 [2025-03-09 13:27:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:27:03] Production.INFO: ==22513== Lock acquired, processing the job... [2025-03-09 13:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:27:03] Production.INFO: Total Charge 0 [2025-03-09 13:27:03] Production.INFO: CreateAllLog End [2025-03-09 13:27:03] Production.INFO: ==22515== Lock acquired, processing the job... [2025-03-09 13:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:27:03] Production.INFO: ==22506== Releasing lock... [2025-03-09 13:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:27:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:27:03] Production.INFO: Account Balance End. [2025-03-09 13:27:04] Production.INFO: count ==13 [2025-03-09 13:27:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:27:04] Production.INFO: ==22510== Releasing lock... [2025-03-09 13:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:27:04] Production.ERROR: done [2025-03-09 13:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:27:04] Production.INFO: count ==21 [2025-03-09 13:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642484') start [2025-03-09 13:27:04] Production.ERROR: done [2025-03-09 13:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642484') end [2025-03-09 13:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:27:04] Production.INFO: 1 [2025-03-09 13:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:27:04] Production.INFO: ==22515== Releasing lock... [2025-03-09 13:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:27:05 [end_date_ymd] => 2025-03-09 13:27:05 [RateCDR] => 1 ) [2025-03-09 13:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:27:05' and `end` < '2025-03-09 13:27:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:27:11] Production.ERROR: CronJobId end10 [2025-03-09 13:27:11] Production.INFO: ==22508== Releasing lock... [2025-03-09 13:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:27:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:27:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:27:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:27:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:27:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:27:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:27:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:27:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:27:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:27:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:27:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:27:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:27:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:27:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:27:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:27:14] Production.INFO: call_cost start [2025-03-09 13:27:14] Production.INFO: call_cost end [2025-03-09 13:27:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:27:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:27:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:27:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:27:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:27:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:27:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:27:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:27:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:27:15] Production.INFO: ==22504== Releasing lock... [2025-03-09 13:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:27:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:27:17] Production.INFO: count ==747 [2025-03-09 13:27:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:27:05 - End Time 2025-03-09 13:27:05 [2025-03-09 13:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642485', 'tblTempUsageDetail_20' ) start [2025-03-09 13:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642485', 'tblTempUsageDetail_20' ) end [2025-03-09 13:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642485', 'tblTempVendorCDR_20' ) start [2025-03-09 13:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642485', 'tblTempVendorCDR_20' ) end [2025-03-09 13:27:17] Production.INFO: ProcessCDR(1,14642485,1,1,2) [2025-03-09 13:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642485', 'tblTempUsageDetail_20' ) start [2025-03-09 13:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642485', 'tblTempUsageDetail_20' ) end [2025-03-09 13:27:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:27:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:27:21] Production.INFO: ==22513== Releasing lock... [2025-03-09 13:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:27:21] Production.INFO: 34 MB #Memory Used# [2025-03-09 17:28:02] Production.INFO: ==22567== Lock acquired, processing the job... [2025-03-09 17:28:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:28:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:28:02] Production.INFO: neon service started [2025-03-09 17:28:02] Production.INFO: neon service started [2025-03-09 17:28:02] Production.INFO: ==22567== Releasing lock... [2025-03-09 17:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:28:02] Production.INFO: ==22571== Lock acquired, processing the job... [2025-03-09 17:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:28:02] Production.INFO: ==22571== Releasing lock... [2025-03-09 17:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:28:02] Production.INFO: ==22569== Lock acquired, processing the job... [2025-03-09 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:28:02] Production.INFO: ==22569== Releasing lock... [2025-03-09 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:28:03] Production.INFO: ==22574== Lock acquired, processing the job... [2025-03-09 13:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:28:03] Production.INFO: ==22576== Lock acquired, processing the job... [2025-03-09 13:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:28:03] Production.INFO: ==22582== Lock acquired, processing the job... [2025-03-09 13:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:28:04] Production.INFO: ==22578== Lock acquired, processing the job... [2025-03-09 13:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:28:04] Production.INFO: ==22580== Lock acquired, processing the job... [2025-03-09 13:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:28:04] Production.INFO: ==22584== Lock acquired, processing the job... [2025-03-09 13:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:28:04] Production.INFO: ==22576== Releasing lock... [2025-03-09 13:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:28:04] Production.INFO: Account Balance Start. [2025-03-09 13:28:04] Production.INFO: CreateAllLog Start [2025-03-09 13:28:04] Production.INFO: 117 [2025-03-09 13:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:28:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:28:04] Production.INFO: count ==13 [2025-03-09 13:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:28:04] Production.INFO: count ==21 [2025-03-09 13:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642489') start [2025-03-09 13:28:04] Production.ERROR: done [2025-03-09 13:28:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642489') end [2025-03-09 13:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:28:04] Production.INFO: 1 [2025-03-09 13:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:28:04] Production.INFO: Total Charge 0 [2025-03-09 13:28:04] Production.INFO: CreateAllLog End [2025-03-09 13:28:04] Production.INFO: ==22584== Releasing lock... [2025-03-09 13:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:28:04] Production.ERROR: done [2025-03-09 13:28:04] Production.INFO: Account Balance End. [2025-03-09 13:28:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:28:04] Production.INFO: ==22580== Releasing lock... [2025-03-09 13:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:28:05 [end_date_ymd] => 2025-03-09 13:28:05 [RateCDR] => 1 ) [2025-03-09 13:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:28:05' and `end` < '2025-03-09 13:28:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:28:13] Production.ERROR: CronJobId end10 [2025-03-09 13:28:13] Production.INFO: ==22578== Releasing lock... [2025-03-09 13:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:28:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:28:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:28:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:28:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:28:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:28:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:28:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:28:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:28:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:28:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:28:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:28:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:28:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:28:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:28:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:28:15] Production.INFO: call_cost start [2025-03-09 13:28:15] Production.INFO: call_cost end [2025-03-09 13:28:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:28:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:28:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:28:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:28:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:28:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:28:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:28:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:28:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:28:16] Production.INFO: ==22574== Releasing lock... [2025-03-09 13:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:28:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:28:17] Production.INFO: count ==750 [2025-03-09 13:28:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:28:05 - End Time 2025-03-09 13:28:05 [2025-03-09 13:28:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642490', 'tblTempUsageDetail_20' ) start [2025-03-09 13:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642490', 'tblTempUsageDetail_20' ) end [2025-03-09 13:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642490', 'tblTempVendorCDR_20' ) start [2025-03-09 13:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642490', 'tblTempVendorCDR_20' ) end [2025-03-09 13:28:18] Production.INFO: ProcessCDR(1,14642490,1,1,2) [2025-03-09 13:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642490', 'tblTempUsageDetail_20' ) start [2025-03-09 13:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642490', 'tblTempUsageDetail_20' ) end [2025-03-09 13:28:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:28:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:28:23] Production.INFO: ==22582== Releasing lock... [2025-03-09 13:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:28:23] Production.INFO: 33.75 MB #Memory Used# [2025-03-09 17:29:01] Production.INFO: ==22637== Lock acquired, processing the job... [2025-03-09 17:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:29:01] Production.INFO: neon service started [2025-03-09 17:29:01] Production.INFO: neon service started [2025-03-09 17:29:01] Production.INFO: ==22637== Releasing lock... [2025-03-09 17:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:29:02] Production.INFO: ==22639== Lock acquired, processing the job... [2025-03-09 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:29:02] Production.INFO: ==22641== Lock acquired, processing the job... [2025-03-09 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:29:02] Production.INFO: ==22641== Releasing lock... [2025-03-09 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:29:02] Production.INFO: ==22639== Releasing lock... [2025-03-09 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:29:03] Production.INFO: ==22646== Lock acquired, processing the job... [2025-03-09 13:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:29:03] Production.INFO: ==22644== Lock acquired, processing the job... [2025-03-09 13:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:29:03] Production.INFO: ==22652== Lock acquired, processing the job... [2025-03-09 13:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:29:03] Production.INFO: ==22648== Lock acquired, processing the job... [2025-03-09 13:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:29:03] Production.INFO: ==22650== Lock acquired, processing the job... [2025-03-09 13:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:29:03] Production.INFO: ==22646== Releasing lock... [2025-03-09 13:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:29:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:29:03] Production.INFO: ==22654== Lock acquired, processing the job... [2025-03-09 13:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:29:03] Production.INFO: Account Balance Start. [2025-03-09 13:29:03] Production.INFO: CreateAllLog Start [2025-03-09 13:29:03] Production.INFO: 117 [2025-03-09 13:29:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:29:03] Production.ERROR: done [2025-03-09 13:29:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:29:03] Production.INFO: Date 2025-03-09 [2025-03-09 13:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:29:03] Production.INFO: count ==13 [2025-03-09 13:29:03] Production.INFO: Total Charge 0 [2025-03-09 13:29:03] Production.INFO: CreateAllLog End [2025-03-09 13: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-09 13:29:04] Production.INFO: count ==21 [2025-03-09 13:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642494') start [2025-03-09 13:29:04] Production.ERROR: done [2025-03-09 13:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642494') end [2025-03-09 13:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:29:04] Production.INFO: 1 [2025-03-09 13:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:29:04] Production.INFO: Account Balance End. [2025-03-09 13:29:04] Production.INFO: ==22654== Releasing lock... [2025-03-09 13:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:29:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:29:04] Production.INFO: ==22650== Releasing lock... [2025-03-09 13:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:29:05 [end_date_ymd] => 2025-03-09 13:29:05 [RateCDR] => 1 ) [2025-03-09 13:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:29:05' and `end` < '2025-03-09 13:29:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:29:12] Production.ERROR: CronJobId end10 [2025-03-09 13:29:12] Production.INFO: ==22648== Releasing lock... [2025-03-09 13:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:29:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:29:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:29:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:29:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:29:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:29:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:29:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:29:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:29:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:29:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:29:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:29:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:29:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:29:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:29:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:29:14] Production.INFO: call_cost start [2025-03-09 13:29:14] Production.INFO: call_cost end [2025-03-09 13:29:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:29:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:29:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:29:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:29:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:29:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:29:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:29:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:29:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:29:15] Production.INFO: ==22644== Releasing lock... [2025-03-09 13:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:29:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:29:17] Production.INFO: count ==755 [2025-03-09 13:29:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:29:05 - End Time 2025-03-09 13:29:05 [2025-03-09 13:29:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642495', 'tblTempUsageDetail_20' ) start [2025-03-09 13:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642495', 'tblTempUsageDetail_20' ) end [2025-03-09 13:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642495', 'tblTempVendorCDR_20' ) start [2025-03-09 13:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642495', 'tblTempVendorCDR_20' ) end [2025-03-09 13:29:17] Production.INFO: ProcessCDR(1,14642495,1,1,2) [2025-03-09 13:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642495', 'tblTempUsageDetail_20' ) start [2025-03-09 13:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642495', 'tblTempUsageDetail_20' ) end [2025-03-09 13:29:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:29:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:29:22] Production.INFO: ==22652== Releasing lock... [2025-03-09 13:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:29:22] Production.INFO: 33.75 MB #Memory Used# [2025-03-09 17:30:01] Production.INFO: ==22714== Lock acquired, processing the job... [2025-03-09 17:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:30:01] Production.INFO: neon service started [2025-03-09 17:30:02] Production.INFO: neon service started [2025-03-09 17:30:02] Production.INFO: ==22714== Releasing lock... [2025-03-09 17:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:30:02] Production.INFO: ==22716== Lock acquired, processing the job... [2025-03-09 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:30:02] Production.INFO: ==22716== Releasing lock... [2025-03-09 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:30:02] Production.INFO: ==22718== Lock acquired, processing the job... [2025-03-09 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:30:02] Production.INFO: ==22718== Releasing lock... [2025-03-09 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:30:03] Production.INFO: ==22725== Lock acquired, processing the job... [2025-03-09 13:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:30:03] Production.INFO: ==22721== Lock acquired, processing the job... [2025-03-09 13:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 13:30:03] Production.INFO: ==22731== Lock acquired, processing the job... [2025-03-09 13:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:30:04] Production.INFO: ==22735== Lock acquired, processing the job... [2025-03-09 13:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 13:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 13:30:04] Production.ERROR: CronJob PID - 22725 [2025-03-09 13:30:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 13:30:04] Production.ERROR: CronJob ID - 7 [2025-03-09 13:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 13:30:00 [2025-03-09 13:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 13:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 13:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 13:30:04] Production.ERROR: CronJob PID - 22731 [2025-03-09 13:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 13:30:04] Production.ERROR: CronJob ID - 16 [2025-03-09 13:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 13:30:00 [2025-03-09 13:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 13:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 13:30:04] Production.INFO: ==22723== Lock acquired, processing the job... [2025-03-09 13:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:30:04] Production.INFO: ==22727== Lock acquired, processing the job... [2025-03-09 13:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:30:04] Production.INFO: ==22725== Releasing lock... [2025-03-09 13:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 13:30:04] Production.INFO: ==22721== Releasing lock... [2025-03-09 13:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 13:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 13:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:30:04] Production.INFO: ==22729== Lock acquired, processing the job... [2025-03-09 13:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 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-09 13:30:04] Production.INFO: count ==13 [2025-03-09 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-09 13:30:04] Production.INFO: count ==21 [2025-03-09 13:30:04] Production.INFO: ==22733== Lock acquired, processing the job... [2025-03-09 13:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 13:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642497') start [2025-03-09 13:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:30:04] Production.INFO: Account Balance Start. [2025-03-09 13:30:04] Production.INFO: CreateAllLog Start [2025-03-09 13:30:04] Production.INFO: 117 [2025-03-09 13:30:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:30:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:30:04] Production.ERROR: done [2025-03-09 13:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642497') end [2025-03-09 13:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:30:04] Production.INFO: 1 [2025-03-09 13:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:30:04] Production.INFO: Total Charge 0 [2025-03-09 13:30:04] Production.INFO: CreateAllLog End [2025-03-09 13:30:04] Production.INFO: ==22735== Releasing lock... [2025-03-09 13:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:30:04] Production.ERROR: done [2025-03-09 13:30:04] Production.ERROR: done [2025-03-09 13:30:04] Production.INFO: Account Balance End. [2025-03-09 13:30:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:30:04] Production.INFO: ==22729== Releasing lock... [2025-03-09 13:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:30:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 13:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642501', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 13:30:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:30:05 [end_date_ymd] => 2025-03-09 13:30:05 [RateCDR] => 1 ) [2025-03-09 13:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:30:05' and `end` < '2025-03-09 13:30:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642501', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 13:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 13:30:09] Production.INFO: ProcessCDR(1,14642501,1,1,2) [2025-03-09 13:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14642501,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14642501,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:30:09] Production.INFO: ==22733== Releasing lock... [2025-03-09 13:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 13:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 13:30:14] Production.ERROR: CronJobId end10 [2025-03-09 13:30:14] Production.INFO: ==22727== Releasing lock... [2025-03-09 13:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:30:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:30:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:30:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:30:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:30:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:30:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:30:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:30:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:30:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:30:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:30:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:30:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:30:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:30:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:30:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:30:16] Production.INFO: call_cost start [2025-03-09 13:30:16] Production.INFO: call_cost end [2025-03-09 13:30:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:30:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:30:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:30:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:30:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:30:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:30:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:30:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:30:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:30:17] Production.INFO: ==22723== Releasing lock... [2025-03-09 13:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:30:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:30:18] Production.INFO: count ==752 [2025-03-09 13:30:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:30:05 - End Time 2025-03-09 13:30:05 [2025-03-09 13:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642500', 'tblTempUsageDetail_20' ) start [2025-03-09 13:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642500', 'tblTempUsageDetail_20' ) end [2025-03-09 13:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642500', 'tblTempVendorCDR_20' ) start [2025-03-09 13:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642500', 'tblTempVendorCDR_20' ) end [2025-03-09 13:30:18] Production.INFO: ProcessCDR(1,14642500,1,1,2) [2025-03-09 13:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642500', 'tblTempUsageDetail_20' ) start [2025-03-09 13:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642500', 'tblTempUsageDetail_20' ) end [2025-03-09 13:30:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:30:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:30:23] Production.INFO: ==22731== Releasing lock... [2025-03-09 13:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:30:23] Production.INFO: 34 MB #Memory Used# [2025-03-09 17:31:01] Production.INFO: ==22788== Lock acquired, processing the job... [2025-03-09 17:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:31:01] Production.INFO: neon service started [2025-03-09 17:31:01] Production.INFO: neon service started [2025-03-09 17:31:01] Production.INFO: ==22788== Releasing lock... [2025-03-09 17:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:31:01] Production.INFO: ==22792== Lock acquired, processing the job... [2025-03-09 17:31:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:31:01] Production.INFO: ==22792== Releasing lock... [2025-03-09 17:31:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:31:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:31:02] Production.INFO: ==22790== Lock acquired, processing the job... [2025-03-09 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:31:02] Production.INFO: ==22790== Releasing lock... [2025-03-09 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:31:03] Production.INFO: ==22794== Lock acquired, processing the job... [2025-03-09 13:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:31:03] Production.INFO: ==22796== Lock acquired, processing the job... [2025-03-09 13:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:31:03] Production.INFO: ==22800== Lock acquired, processing the job... [2025-03-09 13:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:31:03] Production.INFO: Account Balance Start. [2025-03-09 13:31:03] Production.INFO: CreateAllLog Start [2025-03-09 13:31:03] Production.INFO: 117 [2025-03-09 13:31:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:31:03] Production.INFO: ==22798== Lock acquired, processing the job... [2025-03-09 13:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:31:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:31:03] Production.INFO: Date 2025-03-09 [2025-03-09 13:31:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:31:03] Production.INFO: Total Charge 0 [2025-03-09 13:31:03] Production.INFO: CreateAllLog End [2025-03-09 13:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:31:03] Production.INFO: ==22796== Releasing lock... [2025-03-09 13:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:31:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:31:03] Production.INFO: ==22805== Lock acquired, processing the job... [2025-03-09 13:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:31:03] Production.INFO: Account Balance End. [2025-03-09 13:31:03] Production.INFO: ==22803== Lock acquired, processing the job... [2025-03-09 13:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:31:03] Production.ERROR: CronJobId end 12 [2025-03-09 13:31:03] Production.INFO: ==22800== Releasing lock... [2025-03-09 13:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:31:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:31:03] Production.INFO: count ==13 [2025-03-09 13:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:31:03] Production.INFO: count ==21 [2025-03-09 13:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642505') start [2025-03-09 13:31:03] Production.ERROR: done [2025-03-09 13:31:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642505') end [2025-03-09 13:31:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:31:03] Production.INFO: 1 [2025-03-09 13:31:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:31:03] Production.INFO: ==22805== Releasing lock... [2025-03-09 13:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:31:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:31:04] Production.ERROR: done [2025-03-09 13:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:31:05 [end_date_ymd] => 2025-03-09 13:31:05 [RateCDR] => 1 ) [2025-03-09 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-09 10:31:05' and `end` < '2025-03-09 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-09 13:31:12] Production.ERROR: CronJobId end10 [2025-03-09 13:31:12] Production.INFO: ==22798== Releasing lock... [2025-03-09 13:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:31:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:31:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:31:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:31:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:31:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:31:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:31:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:31:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:31:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:31:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:31:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:31:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:31:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:31:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:31:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:31:14] Production.INFO: call_cost start [2025-03-09 13:31:14] Production.INFO: call_cost end [2025-03-09 13:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:31:15] Production.INFO: ==22794== Releasing lock... [2025-03-09 13:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:31:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:31:17] Production.INFO: count ==799 [2025-03-09 13:31:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:31:05 - End Time 2025-03-09 13:31:05 [2025-03-09 13:31:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642506', 'tblTempUsageDetail_20' ) start [2025-03-09 13:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642506', 'tblTempUsageDetail_20' ) end [2025-03-09 13:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642506', 'tblTempVendorCDR_20' ) start [2025-03-09 13:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642506', 'tblTempVendorCDR_20' ) end [2025-03-09 13:31:17] Production.INFO: ProcessCDR(1,14642506,1,1,2) [2025-03-09 13:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642506', 'tblTempUsageDetail_20' ) start [2025-03-09 13:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642506', 'tblTempUsageDetail_20' ) end [2025-03-09 13:31:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:31:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:31:22] Production.INFO: ==22803== Releasing lock... [2025-03-09 13:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:31:22] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 17:32:01] Production.INFO: ==22863== Lock acquired, processing the job... [2025-03-09 17:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:32:01] Production.INFO: neon service started [2025-03-09 17:32:01] Production.INFO: neon service started [2025-03-09 17:32:01] Production.INFO: ==22863== Releasing lock... [2025-03-09 17:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:32:02] Production.INFO: ==22867== Lock acquired, processing the job... [2025-03-09 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:32:02] Production.INFO: ==22867== Releasing lock... [2025-03-09 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:32:02] Production.INFO: ==22865== Lock acquired, processing the job... [2025-03-09 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:32:02] Production.INFO: ==22865== Releasing lock... [2025-03-09 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:32:03] Production.INFO: ==22870== Lock acquired, processing the job... [2025-03-09 13:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:32:03] Production.INFO: ==22878== Lock acquired, processing the job... [2025-03-09 13:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:32:03] Production.INFO: ==22872== Lock acquired, processing the job... [2025-03-09 13:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:32:04] Production.INFO: ==22874== Lock acquired, processing the job... [2025-03-09 13:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:32:04] Production.ERROR: done [2025-03-09 13:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:32:04] Production.INFO: ==22876== Lock acquired, processing the job... [2025-03-09 13:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:32:04] Production.INFO: ==22880== Lock acquired, processing the job... [2025-03-09 13:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:32:04] Production.INFO: Account Balance Start. [2025-03-09 13:32:04] Production.INFO: CreateAllLog Start [2025-03-09 13:32:04] Production.INFO: 117 [2025-03-09 13:32:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:32:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:32:04] Production.INFO: Total Charge 0 [2025-03-09 13:32:04] Production.INFO: CreateAllLog End [2025-03-09 13:32:04] Production.ERROR: done [2025-03-09 13:32:04] Production.INFO: ==22872== Releasing lock... [2025-03-09 13:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:32:04] Production.INFO: Account Balance End. [2025-03-09 13:32:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:32:04] Production.INFO: ==22876== Releasing lock... [2025-03-09 13:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:32:04] Production.INFO: count ==13 [2025-03-09 13:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:32:04] Production.INFO: count ==21 [2025-03-09 13:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642511') start [2025-03-09 13:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642511') end [2025-03-09 13:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:32:04] Production.INFO: 1 [2025-03-09 13:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:32:04] Production.INFO: ==22880== Releasing lock... [2025-03-09 13:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:32:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:32:04 [end_date_ymd] => 2025-03-09 13:32:04 [RateCDR] => 1 ) [2025-03-09 13:32:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:32:04' and `end` < '2025-03-09 13:32:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:32:13] Production.ERROR: CronJobId end10 [2025-03-09 13:32:13] Production.INFO: ==22874== Releasing lock... [2025-03-09 13:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:32:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:32:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:32:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:32:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:32:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:32:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:32:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:32:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:32:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:32:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:32:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:32:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:32:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:32:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:32:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:32:15] Production.INFO: call_cost start [2025-03-09 13:32:15] Production.INFO: call_cost end [2025-03-09 13:32:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:32:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:32:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:32:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:32:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:32:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:32:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:32:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:32:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:32:16] Production.INFO: ==22870== Releasing lock... [2025-03-09 13:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:32:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:32:17] Production.INFO: count ==809 [2025-03-09 13:32:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:32:04 - End Time 2025-03-09 13:32:04 [2025-03-09 13:32:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642510', 'tblTempUsageDetail_20' ) start [2025-03-09 13:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642510', 'tblTempUsageDetail_20' ) end [2025-03-09 13:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642510', 'tblTempVendorCDR_20' ) start [2025-03-09 13:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642510', 'tblTempVendorCDR_20' ) end [2025-03-09 13:32:17] Production.INFO: ProcessCDR(1,14642510,1,1,2) [2025-03-09 13:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642510', 'tblTempUsageDetail_20' ) start [2025-03-09 13:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642510', 'tblTempUsageDetail_20' ) end [2025-03-09 13:32:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:32:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:32:22] Production.INFO: ==22878== Releasing lock... [2025-03-09 13:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:32:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 17:33:02] Production.INFO: ==22939== Lock acquired, processing the job... [2025-03-09 17:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:33:02] Production.INFO: neon service started [2025-03-09 17:33:02] Production.INFO: neon service started [2025-03-09 17:33:02] Production.INFO: ==22939== Releasing lock... [2025-03-09 17:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:33:02] Production.INFO: ==22943== Lock acquired, processing the job... [2025-03-09 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:33:02] Production.INFO: ==22943== Releasing lock... [2025-03-09 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:33:02] Production.INFO: ==22941== Lock acquired, processing the job... [2025-03-09 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:33:03] Production.INFO: ==22941== Releasing lock... [2025-03-09 13:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:33:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:33:04] Production.INFO: ==22950== Lock acquired, processing the job... [2025-03-09 13:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:33:04] Production.INFO: ==22956== Lock acquired, processing the job... [2025-03-09 13:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:33:04] Production.INFO: ==22946== Lock acquired, processing the job... [2025-03-09 13:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:33:04] Production.INFO: ==22948== Lock acquired, processing the job... [2025-03-09 13:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:33:04] Production.INFO: count ==13 [2025-03-09 13:33:04] Production.INFO: ==22954== Lock acquired, processing the job... [2025-03-09 13:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:33:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:33:04] Production.INFO: count ==21 [2025-03-09 13:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642512') start [2025-03-09 13:33:04] Production.INFO: ==22952== Lock acquired, processing the job... [2025-03-09 13:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:33:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642512') end [2025-03-09 13:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:33:04] Production.INFO: 1 [2025-03-09 13:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:33:04] Production.INFO: Account Balance Start. [2025-03-09 13:33:04] Production.INFO: CreateAllLog Start [2025-03-09 13:33:04] Production.INFO: 117 [2025-03-09 13:33:04] Production.INFO: ==22956== Releasing lock... [2025-03-09 13:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:33:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:33:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:33:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:33:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:33:04] Production.ERROR: done [2025-03-09 13:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:33:05] Production.INFO: ==22948== Releasing lock... [2025-03-09 13:33:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:33:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:33:05] Production.INFO: Total Charge 0 [2025-03-09 13:33:05] Production.ERROR: done [2025-03-09 13:33:05] Production.INFO: CreateAllLog End [2025-03-09 13:33:05] Production.INFO: Account Balance End. [2025-03-09 13:33:05] Production.ERROR: CronJobId end 12 [2025-03-09 13:33:05] Production.INFO: ==22952== Releasing lock... [2025-03-09 13:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:33:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:33:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:33:06 [end_date_ymd] => 2025-03-09 13:33:06 [RateCDR] => 1 ) [2025-03-09 13: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-09 10:33:06' and `end` < '2025-03-09 13: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-09 13:33:12] Production.ERROR: CronJobId end10 [2025-03-09 13:33:12] Production.INFO: ==22950== Releasing lock... [2025-03-09 13:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:33:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:33:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:33:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:33:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:33:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:33:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:33:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:33:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:33:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:33:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:33:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:33:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:33:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:33:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:33:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:33:15] Production.INFO: call_cost start [2025-03-09 13:33:15] Production.INFO: call_cost end [2025-03-09 13:33:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:33:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:33:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:33:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:33:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:33:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:33:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:33:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:33:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:33:16] Production.INFO: ==22946== Releasing lock... [2025-03-09 13:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:33:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:33:18] Production.INFO: count ==812 [2025-03-09 13:33:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:33:06 - End Time 2025-03-09 13:33:06 [2025-03-09 13:33:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642516', 'tblTempUsageDetail_20' ) start [2025-03-09 13:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642516', 'tblTempUsageDetail_20' ) end [2025-03-09 13:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642516', 'tblTempVendorCDR_20' ) start [2025-03-09 13:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642516', 'tblTempVendorCDR_20' ) end [2025-03-09 13:33:18] Production.INFO: ProcessCDR(1,14642516,1,1,2) [2025-03-09 13:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642516', 'tblTempUsageDetail_20' ) start [2025-03-09 13:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642516', 'tblTempUsageDetail_20' ) end [2025-03-09 13:33:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:33:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:33:21] Production.INFO: ==22954== Releasing lock... [2025-03-09 13:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:33:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 17:34:01] Production.INFO: ==23050== Lock acquired, processing the job... [2025-03-09 17:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:34:01] Production.INFO: neon service started [2025-03-09 17:34:01] Production.INFO: neon service started [2025-03-09 17:34:01] Production.INFO: ==23050== Releasing lock... [2025-03-09 17:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:34:02] Production.INFO: ==23052== Lock acquired, processing the job... [2025-03-09 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:34:02] Production.INFO: ==23052== Releasing lock... [2025-03-09 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:34:02] Production.INFO: ==23054== Lock acquired, processing the job... [2025-03-09 17:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:34:02] Production.INFO: ==23054== Releasing lock... [2025-03-09 17:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:34:03] Production.INFO: ==23067== Lock acquired, processing the job... [2025-03-09 13:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:34:03] Production.INFO: count ==13 [2025-03-09 13:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:34:03] Production.INFO: count ==21 [2025-03-09 13:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642517') start [2025-03-09 13:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642517') end [2025-03-09 13:34:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:34:03] Production.INFO: 1 [2025-03-09 13:34:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:34:03] Production.INFO: ==23067== Releasing lock... [2025-03-09 13:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:34:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:34:03] Production.INFO: ==23065== Lock acquired, processing the job... [2025-03-09 13:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:34:03] Production.INFO: ==23057== Lock acquired, processing the job... [2025-03-09 13:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:34:03] Production.INFO: ==23063== Lock acquired, processing the job... [2025-03-09 13:34:03] Production.INFO: ==23061== Lock acquired, processing the job... [2025-03-09 13:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:34:03] Production.INFO: ==23059== Lock acquired, processing the job... [2025-03-09 13:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:34:03] Production.INFO: Account Balance Start. [2025-03-09 13:34:03] Production.INFO: CreateAllLog Start [2025-03-09 13:34:03] Production.INFO: 117 [2025-03-09 13:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:34:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:34:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:34:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:34:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:34:04] Production.INFO: Total Charge 0 [2025-03-09 13:34:04] Production.INFO: CreateAllLog End [2025-03-09 13:34:04] Production.ERROR: done [2025-03-09 13:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:34:04] Production.ERROR: done [2025-03-09 13:34:04] Production.INFO: ==23059== Releasing lock... [2025-03-09 13:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:34:04] Production.INFO: Account Balance End. [2025-03-09 13:34:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:34:04] Production.INFO: ==23063== Releasing lock... [2025-03-09 13:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:34:05 [end_date_ymd] => 2025-03-09 13:34:05 [RateCDR] => 1 ) [2025-03-09 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-09 10:34:05' and `end` < '2025-03-09 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-09 13:34:11] Production.ERROR: CronJobId end10 [2025-03-09 13:34:11] Production.INFO: ==23061== Releasing lock... [2025-03-09 13:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:34:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:34:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:34:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:34:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:34:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:34:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:34:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:34:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:34:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:34:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:34:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:34:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:34:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:34:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:34:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:34:14] Production.INFO: call_cost start [2025-03-09 13:34:14] Production.INFO: call_cost end [2025-03-09 13:34:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:34:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:34:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:34:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:34:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:34:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:34:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:34:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:34:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:34:15] Production.INFO: ==23057== Releasing lock... [2025-03-09 13:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:34:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:34:17] Production.INFO: count ==814 [2025-03-09 13:34:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:34:05 - End Time 2025-03-09 13:34:05 [2025-03-09 13:34:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642521', 'tblTempUsageDetail_20' ) start [2025-03-09 13:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642521', 'tblTempUsageDetail_20' ) end [2025-03-09 13:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642521', 'tblTempVendorCDR_20' ) start [2025-03-09 13:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642521', 'tblTempVendorCDR_20' ) end [2025-03-09 13:34:17] Production.INFO: ProcessCDR(1,14642521,1,1,2) [2025-03-09 13:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:34:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642521', 'tblTempUsageDetail_20' ) start [2025-03-09 13:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642521', 'tblTempUsageDetail_20' ) end [2025-03-09 13:34:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:34:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:34:20] Production.INFO: ==23065== Releasing lock... [2025-03-09 13:34:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:34:20] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 17:35:02] Production.INFO: ==23120== Lock acquired, processing the job... [2025-03-09 17:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:35:02] Production.INFO: neon service started [2025-03-09 17:35:02] Production.INFO: neon service started [2025-03-09 17:35:02] Production.INFO: ==23120== Releasing lock... [2025-03-09 17:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:35:02] Production.INFO: ==23122== Lock acquired, processing the job... [2025-03-09 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:35:02] Production.INFO: ==23122== Releasing lock... [2025-03-09 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:35:03] Production.INFO: ==23124== Lock acquired, processing the job... [2025-03-09 17:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:35:03] Production.INFO: ==23124== Releasing lock... [2025-03-09 17:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:35:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:35:03] Production.INFO: ==23129== Lock acquired, processing the job... [2025-03-09 13:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:35:03] Production.INFO: ==23127== Lock acquired, processing the job... [2025-03-09 13:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:35:03] Production.INFO: ==23131== Lock acquired, processing the job... [2025-03-09 13:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:35:04] Production.INFO: ==23137== Lock acquired, processing the job... [2025-03-09 13:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:35:04] Production.INFO: ==23133== Lock acquired, processing the job... [2025-03-09 13:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:35:04] Production.INFO: ==23135== Lock acquired, processing the job... [2025-03-09 13:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:35:04] Production.INFO: Account Balance Start. [2025-03-09 13:35:04] Production.INFO: CreateAllLog Start [2025-03-09 13:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:35:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:35:04] Production.INFO: 117 [2025-03-09 13:35:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:35:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:35:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:35:04] Production.INFO: ==23129== Releasing lock... [2025-03-09 13:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:35:04] Production.INFO: count ==13 [2025-03-09 13:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:35:04] Production.INFO: Total Charge 0 [2025-03-09 13:35:04] Production.INFO: CreateAllLog End [2025-03-09 13:35:04] Production.INFO: count ==21 [2025-03-09 13:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642525') start [2025-03-09 13:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642525') end [2025-03-09 13:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:35:04] Production.INFO: 1 [2025-03-09 13:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:35:04] Production.ERROR: done [2025-03-09 13:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:35:04] Production.INFO: ==23137== Releasing lock... [2025-03-09 13:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:35:04] Production.ERROR: done [2025-03-09 13:35:04] Production.INFO: Account Balance End. [2025-03-09 13:35:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:35:04] Production.INFO: ==23133== Releasing lock... [2025-03-09 13:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:35:05 [end_date_ymd] => 2025-03-09 13:35:05 [RateCDR] => 1 ) [2025-03-09 13:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:35:05' and `end` < '2025-03-09 13:35:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:35:12] Production.ERROR: CronJobId end10 [2025-03-09 13:35:12] Production.INFO: ==23131== Releasing lock... [2025-03-09 13:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:35:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:35:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:35:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:35:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:35:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:35:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:35:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:35:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:35:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:35:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:35:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:35:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:35:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:35:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:35:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:35:14] Production.INFO: call_cost start [2025-03-09 13:35:14] Production.INFO: call_cost end [2025-03-09 13:35:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:35:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:35:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:35:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:35:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:35:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:35:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:35:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:35:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:35:15] Production.INFO: ==23127== Releasing lock... [2025-03-09 13:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:35:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:35:17] Production.INFO: count ==817 [2025-03-09 13:35:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:35:05 - End Time 2025-03-09 13:35:05 [2025-03-09 13:35:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642526', 'tblTempUsageDetail_20' ) start [2025-03-09 13:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642526', 'tblTempUsageDetail_20' ) end [2025-03-09 13:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642526', 'tblTempVendorCDR_20' ) start [2025-03-09 13:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642526', 'tblTempVendorCDR_20' ) end [2025-03-09 13:35:18] Production.INFO: ProcessCDR(1,14642526,1,1,2) [2025-03-09 13:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642526', 'tblTempUsageDetail_20' ) start [2025-03-09 13:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642526', 'tblTempUsageDetail_20' ) end [2025-03-09 13:35:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:35:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:35:23] Production.INFO: ==23135== Releasing lock... [2025-03-09 13:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:35:23] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 17:36:01] Production.INFO: ==23192== Lock acquired, processing the job... [2025-03-09 17:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:36:01] Production.INFO: neon service started [2025-03-09 17:36:01] Production.INFO: neon service started [2025-03-09 17:36:01] Production.INFO: ==23192== Releasing lock... [2025-03-09 17:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:36:02] Production.INFO: ==23194== Lock acquired, processing the job... [2025-03-09 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:36:02] Production.INFO: ==23196== Lock acquired, processing the job... [2025-03-09 17:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:36:02] Production.INFO: ==23196== Releasing lock... [2025-03-09 17:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:36:02] Production.INFO: ==23194== Releasing lock... [2025-03-09 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:36:03] Production.INFO: ==23207== Lock acquired, processing the job... [2025-03-09 13:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:36:03] Production.INFO: ==23209== Lock acquired, processing the job... [2025-03-09 13:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:36:03] Production.INFO: ==23199== Lock acquired, processing the job... [2025-03-09 13:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:36:04] Production.INFO: count ==13 [2025-03-09 13:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:36:04] Production.INFO: count ==21 [2025-03-09 13:36:04] Production.INFO: ==23201== Lock acquired, processing the job... [2025-03-09 13:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642527') start [2025-03-09 13:36:04] Production.INFO: ==23203== Lock acquired, processing the job... [2025-03-09 13:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:36:04] Production.INFO: ==23205== Lock acquired, processing the job... [2025-03-09 13:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:36:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:36:04] Production.ERROR: done [2025-03-09 13:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642527') end [2025-03-09 13:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:36:04] Production.INFO: 1 [2025-03-09 13:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:36:04] Production.INFO: Account Balance Start. [2025-03-09 13:36:04] Production.INFO: CreateAllLog Start [2025-03-09 13:36:04] Production.INFO: 117 [2025-03-09 13:36:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:36:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:36:04] Production.INFO: ==23209== Releasing lock... [2025-03-09 13:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:36:04] Production.ERROR: done [2025-03-09 13:36:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:36:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:36:04] Production.INFO: Total Charge 0 [2025-03-09 13:36:04] Production.INFO: CreateAllLog End [2025-03-09 13:36:04] Production.INFO: ==23201== Releasing lock... [2025-03-09 13:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:36:04] Production.INFO: Account Balance End. [2025-03-09 13:36:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:36:04] Production.INFO: ==23205== Releasing lock... [2025-03-09 13:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:36:05 [end_date_ymd] => 2025-03-09 13:36:05 [RateCDR] => 1 ) [2025-03-09 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-09 10:36:05' and `end` < '2025-03-09 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-09 13:36:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array) #2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure)) #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure)) #4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select() #5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount() #6 [internal function]: App\Console\Commands\CreateSummaryLive->handle() #7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 {main} Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateUnbilledAmount(1,2025-03-09 23:59:59))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure)) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure)) #2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select() #3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount() #4 [internal function]: App\Console\Commands\CreateSummaryLive->handle() #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #14 {main} [2025-03-09 13:36:11] Production.ERROR: CronJobId end10 [2025-03-09 13:36:11] Production.INFO: ==23203== Releasing lock... [2025-03-09 13:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:36:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:36:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:36:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:36:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:36:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:36:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:36:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:36:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:36:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:36:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:36:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:36:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:36:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:36:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:36:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:36:14] Production.INFO: call_cost start [2025-03-09 13:36:14] Production.INFO: call_cost end [2025-03-09 13:36:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:36:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:36:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:36:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:36:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:36:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:36:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:36:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:36:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:36:15] Production.INFO: ==23199== Releasing lock... [2025-03-09 13:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:36:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:36:17] Production.INFO: count ==820 [2025-03-09 13:36:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:36:05 - End Time 2025-03-09 13:36:05 [2025-03-09 13:36:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642531', 'tblTempUsageDetail_20' ) start [2025-03-09 13:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642531', 'tblTempUsageDetail_20' ) end [2025-03-09 13:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642531', 'tblTempVendorCDR_20' ) start [2025-03-09 13:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642531', 'tblTempVendorCDR_20' ) end [2025-03-09 13:36:17] Production.INFO: ProcessCDR(1,14642531,1,1,2) [2025-03-09 13:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642531', 'tblTempUsageDetail_20' ) start [2025-03-09 13:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642531', 'tblTempUsageDetail_20' ) end [2025-03-09 13:36:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:36:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:36:20] Production.INFO: ==23207== Releasing lock... [2025-03-09 13:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:36:20] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 17:37:02] Production.INFO: ==23269== Lock acquired, processing the job... [2025-03-09 17:37:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:37:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:37:02] Production.INFO: neon service started [2025-03-09 17:37:02] Production.INFO: neon service started [2025-03-09 17:37:02] Production.INFO: ==23269== Releasing lock... [2025-03-09 17:37:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:37:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:37:02] Production.INFO: ==23271== Lock acquired, processing the job... [2025-03-09 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:37:02] Production.INFO: ==23271== Releasing lock... [2025-03-09 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:37:03] Production.INFO: ==23273== Lock acquired, processing the job... [2025-03-09 17:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:37:03] Production.INFO: ==23273== Releasing lock... [2025-03-09 17:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:37:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:37:03] Production.INFO: ==23276== Lock acquired, processing the job... [2025-03-09 13:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:37:03] Production.INFO: ==23286== Lock acquired, processing the job... [2025-03-09 13:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:37:03] Production.INFO: ==23278== Lock acquired, processing the job... [2025-03-09 13:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:37:04] Production.INFO: ==23280== Lock acquired, processing the job... [2025-03-09 13:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:37:04] Production.INFO: ==23284== Lock acquired, processing the job... [2025-03-09 13:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:37:04] Production.INFO: ==23282== Lock acquired, processing the job... [2025-03-09 13:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:37:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13: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-09 13:37:04] Production.INFO: count ==13 [2025-03-09 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-09 13:37:04] Production.INFO: count ==21 [2025-03-09 13:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642533') start [2025-03-09 13:37:04] Production.INFO: Account Balance Start. [2025-03-09 13:37:04] Production.INFO: CreateAllLog Start [2025-03-09 13:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:37:04] Production.INFO: 117 [2025-03-09 13:37:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:37:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642533') end [2025-03-09 13:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:37:04] Production.INFO: 1 [2025-03-09 13:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:37:04] Production.INFO: ==23286== Releasing lock... [2025-03-09 13:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:37:04] Production.ERROR: done [2025-03-09 13:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:37:04] Production.INFO: Total Charge 0 [2025-03-09 13:37:04] Production.INFO: CreateAllLog End [2025-03-09 13:37:04] Production.INFO: ==23278== Releasing lock... [2025-03-09 13:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:37:04] Production.ERROR: done [2025-03-09 13:37:04] Production.INFO: Account Balance End. [2025-03-09 13:37:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:37:04] Production.INFO: ==23282== Releasing lock... [2025-03-09 13:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:37:05 [end_date_ymd] => 2025-03-09 13:37:05 [RateCDR] => 1 ) [2025-03-09 13:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:37:05' and `end` < '2025-03-09 13:37:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:37:12] Production.ERROR: CronJobId end10 [2025-03-09 13:37:12] Production.INFO: ==23280== Releasing lock... [2025-03-09 13:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:37:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:37:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:37:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:37:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:37:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:37:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:37:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:37:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:37:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:37:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:37:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:37:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:37:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:37:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:37:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:37:15] Production.INFO: call_cost start [2025-03-09 13:37:15] Production.INFO: call_cost end [2025-03-09 13:37:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:37:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:37:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:37:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:37:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:37:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:37:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:37:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:37:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:37:16] Production.INFO: ==23276== Releasing lock... [2025-03-09 13:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:37:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:37:17] Production.INFO: count ==816 [2025-03-09 13:37:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:37:05 - End Time 2025-03-09 13:37:05 [2025-03-09 13:37:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642536', 'tblTempUsageDetail_20' ) start [2025-03-09 13:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642536', 'tblTempUsageDetail_20' ) end [2025-03-09 13:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642536', 'tblTempVendorCDR_20' ) start [2025-03-09 13:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642536', 'tblTempVendorCDR_20' ) end [2025-03-09 13:37:18] Production.INFO: ProcessCDR(1,14642536,1,1,2) [2025-03-09 13:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642536', 'tblTempUsageDetail_20' ) start [2025-03-09 13:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642536', 'tblTempUsageDetail_20' ) end [2025-03-09 13:37:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:37:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:37:21] Production.INFO: ==23284== Releasing lock... [2025-03-09 13:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:37:21] Production.INFO: 34 MB #Memory Used# [2025-03-09 17:38:01] Production.INFO: ==23359== Lock acquired, processing the job... [2025-03-09 17:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:38:01] Production.INFO: neon service started [2025-03-09 17:38:01] Production.INFO: neon service started [2025-03-09 17:38:01] Production.INFO: ==23359== Releasing lock... [2025-03-09 17:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:38:02] Production.INFO: ==23362== Lock acquired, processing the job... [2025-03-09 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:38:02] Production.INFO: ==23364== Lock acquired, processing the job... [2025-03-09 17:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:38:02] Production.INFO: ==23364== Releasing lock... [2025-03-09 17:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:38:02] Production.INFO: ==23362== Releasing lock... [2025-03-09 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:38:03] Production.INFO: ==23366== Lock acquired, processing the job... [2025-03-09 13:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:38:03] Production.INFO: ==23368== Lock acquired, processing the job... [2025-03-09 13:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:38:03] Production.INFO: ==23376== Lock acquired, processing the job... [2025-03-09 13:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:38:03] Production.INFO: ==23370== Lock acquired, processing the job... [2025-03-09 13:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:38:03] Production.INFO: ==23368== Releasing lock... [2025-03-09 13:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:38:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:38:03] Production.INFO: ==23372== Lock acquired, processing the job... [2025-03-09 13:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:38:03] Production.INFO: count ==13 [2025-03-09 13:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:38:03] Production.INFO: count ==21 [2025-03-09 13:38:03] Production.INFO: ==23374== Lock acquired, processing the job... [2025-03-09 13:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642539') start [2025-03-09 13:38:03] Production.INFO: Account Balance Start. [2025-03-09 13:38:03] Production.INFO: CreateAllLog Start [2025-03-09 13:38:03] Production.INFO: 117 [2025-03-09 13:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:38:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:38:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:38:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:38:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642539') end [2025-03-09 13:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:38:04] Production.INFO: 1 [2025-03-09 13:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:38:04] Production.INFO: Total Charge 0 [2025-03-09 13:38:04] Production.INFO: CreateAllLog End [2025-03-09 13:38:04] Production.INFO: ==23376== Releasing lock... [2025-03-09 13:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:38:04] Production.ERROR: done [2025-03-09 13:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:38:04] Production.INFO: Account Balance End. [2025-03-09 13:38:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:38:04] Production.INFO: ==23372== Releasing lock... [2025-03-09 13:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:38:04] Production.ERROR: done [2025-03-09 13:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:38:05 [end_date_ymd] => 2025-03-09 13:38:05 [RateCDR] => 1 ) [2025-03-09 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-09 10:38:05' and `end` < '2025-03-09 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-09 13:38:12] Production.ERROR: CronJobId end10 [2025-03-09 13:38:12] Production.INFO: ==23370== Releasing lock... [2025-03-09 13:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:38:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:38:14] Production.INFO: call_cost start [2025-03-09 13:38:14] Production.INFO: call_cost end [2025-03-09 13:38:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:38:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:38:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:38:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:38:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:38:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:38:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:38:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:38:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:38:15] Production.INFO: ==23366== Releasing lock... [2025-03-09 13:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:38:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:38:17] Production.INFO: count ==817 [2025-03-09 13:38:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:38:05 - End Time 2025-03-09 13:38:05 [2025-03-09 13:38:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642541', 'tblTempUsageDetail_20' ) start [2025-03-09 13:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642541', 'tblTempUsageDetail_20' ) end [2025-03-09 13:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642541', 'tblTempVendorCDR_20' ) start [2025-03-09 13:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642541', 'tblTempVendorCDR_20' ) end [2025-03-09 13:38:18] Production.INFO: ProcessCDR(1,14642541,1,1,2) [2025-03-09 13:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642541', 'tblTempUsageDetail_20' ) start [2025-03-09 13:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642541', 'tblTempUsageDetail_20' ) end [2025-03-09 13:38:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:38:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:38:22] Production.INFO: ==23374== Releasing lock... [2025-03-09 13:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:38:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 17:39:02] Production.INFO: ==23449== Lock acquired, processing the job... [2025-03-09 17:39:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:39:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:39:02] Production.INFO: neon service started [2025-03-09 17:39:02] Production.INFO: neon service started [2025-03-09 17:39:02] Production.INFO: ==23449== Releasing lock... [2025-03-09 17:39:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:39:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:39:02] Production.INFO: ==23453== Lock acquired, processing the job... [2025-03-09 17:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:39:02] Production.INFO: ==23453== Releasing lock... [2025-03-09 17:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:39:02] Production.INFO: ==23451== Lock acquired, processing the job... [2025-03-09 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:39:02] Production.INFO: ==23451== Releasing lock... [2025-03-09 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:39:03] Production.INFO: ==23459== Lock acquired, processing the job... [2025-03-09 13:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:39:03] Production.INFO: ==23465== Lock acquired, processing the job... [2025-03-09 13:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:39:04] Production.INFO: count ==13 [2025-03-09 13: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-09 13:39:04] Production.INFO: count ==21 [2025-03-09 13:39:04] Production.INFO: ==23455== Lock acquired, processing the job... [2025-03-09 13:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:39:04] Production.INFO: ==23457== Lock acquired, processing the job... [2025-03-09 13:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642542') start [2025-03-09 13:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642542') end [2025-03-09 13:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:39:04] Production.INFO: 1 [2025-03-09 13:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:39:04] Production.INFO: ==23461== Lock acquired, processing the job... [2025-03-09 13:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:39:04] Production.INFO: ==23463== Lock acquired, processing the job... [2025-03-09 13:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:39:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:39:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:39:04] Production.INFO: ==23465== Releasing lock... [2025-03-09 13:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:39:04] Production.INFO: Account Balance Start. [2025-03-09 13:39:04] Production.INFO: CreateAllLog Start [2025-03-09 13:39:04] Production.INFO: 117 [2025-03-09 13:39:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:39:04] Production.INFO: ==23457== Releasing lock... [2025-03-09 13:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:39:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:39:04] Production.INFO: Total Charge 0 [2025-03-09 13:39:04] Production.INFO: CreateAllLog End [2025-03-09 13:39:04] Production.ERROR: done [2025-03-09 13:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:39:04] Production.ERROR: done [2025-03-09 13:39:05] Production.INFO: Account Balance End. [2025-03-09 13:39:05] Production.ERROR: CronJobId end 12 [2025-03-09 13:39:05] Production.INFO: ==23461== Releasing lock... [2025-03-09 13:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:39:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:39:05 [end_date_ymd] => 2025-03-09 13:39:05 [RateCDR] => 1 ) [2025-03-09 13:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:39:05' and `end` < '2025-03-09 13:39:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:39:12] Production.ERROR: CronJobId end10 [2025-03-09 13:39:12] Production.INFO: ==23459== Releasing lock... [2025-03-09 13:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:39:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:39:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:39:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:39:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:39:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:39:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:39:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:39:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:39:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:39:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:39:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:39:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:39:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:39:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:39:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:39:14] Production.INFO: call_cost start [2025-03-09 13:39:14] Production.INFO: call_cost end [2025-03-09 13:39:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:39:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:39:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:39:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:39:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:39:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:39:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:39:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:39:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:39:15] Production.INFO: ==23455== Releasing lock... [2025-03-09 13:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:39:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:39:17] Production.INFO: count ==821 [2025-03-09 13:39:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:39:05 - End Time 2025-03-09 13:39:05 [2025-03-09 13:39:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642546', 'tblTempUsageDetail_20' ) start [2025-03-09 13:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642546', 'tblTempUsageDetail_20' ) end [2025-03-09 13:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642546', 'tblTempVendorCDR_20' ) start [2025-03-09 13:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642546', 'tblTempVendorCDR_20' ) end [2025-03-09 13:39:18] Production.INFO: ProcessCDR(1,14642546,1,1,2) [2025-03-09 13:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642546', 'tblTempUsageDetail_20' ) start [2025-03-09 13:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642546', 'tblTempUsageDetail_20' ) end [2025-03-09 13:39:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:39:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:39:21] Production.INFO: ==23463== Releasing lock... [2025-03-09 13:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:39:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 17:40:01] Production.INFO: ==23521== Lock acquired, processing the job... [2025-03-09 17:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:40:01] Production.INFO: neon service started [2025-03-09 17:40:01] Production.INFO: neon service started [2025-03-09 17:40:01] Production.INFO: ==23521== Releasing lock... [2025-03-09 17:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:40:01] Production.INFO: ==23523== Lock acquired, processing the job... [2025-03-09 13:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:40:02] Production.INFO: ==23523== Releasing lock... [2025-03-09 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:40:02] Production.INFO: ==23525== Lock acquired, processing the job... [2025-03-09 17:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:40:02] Production.INFO: ==23525== Releasing lock... [2025-03-09 17:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:40:03] Production.INFO: ==23527== Lock acquired, processing the job... [2025-03-09 13:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 13:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 13:40:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 13:40:03] Production.INFO: ==23527== Releasing lock... [2025-03-09 13:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 13:40:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 13:40:03] Production.INFO: ==23529== Lock acquired, processing the job... [2025-03-09 13:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:40:03] Production.INFO: ==23542== Lock acquired, processing the job... [2025-03-09 13:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:40:03] Production.INFO: ==23533== Lock acquired, processing the job... [2025-03-09 13:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13: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-09 13:40:03] Production.INFO: count ==13 [2025-03-09 13:40:03] Production.INFO: ==23531== Lock acquired, processing the job... [2025-03-09 13:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13: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-09 13:40:03] Production.INFO: count ==21 [2025-03-09 13:40:03] Production.INFO: ==23537== Lock acquired, processing the job... [2025-03-09 13:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642548') start [2025-03-09 13:40:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:40:03] Production.INFO: ==23535== Lock acquired, processing the job... [2025-03-09 13:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:40:03] Production.INFO: ==23540== Lock acquired, processing the job... [2025-03-09 13:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 13:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642548') end [2025-03-09 13:40:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:40:03] Production.INFO: 1 [2025-03-09 13:40:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:40:04] Production.INFO: Account Balance Start. [2025-03-09 13:40:04] Production.INFO: CreateAllLog Start [2025-03-09 13:40:04] Production.INFO: ==23542== Releasing lock... [2025-03-09 13:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:40:04] Production.INFO: 117 [2025-03-09 13:40:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:40:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:40:04] Production.INFO: Total Charge 0 [2025-03-09 13:40:04] Production.INFO: CreateAllLog End [2025-03-09 13:40:04] Production.INFO: ==23531== Releasing lock... [2025-03-09 13:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:40:04] Production.INFO: Account Balance End. [2025-03-09 13:40:04] Production.ERROR: done [2025-03-09 13:40:04] Production.ERROR: done [2025-03-09 13:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:40:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:40:04] Production.INFO: ==23535== Releasing lock... [2025-03-09 13:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:40:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 13:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642551', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 13:40:04] Production.ERROR: done [2025-03-09 13:40:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:40:05 [end_date_ymd] => 2025-03-09 13:40:05 [RateCDR] => 1 ) [2025-03-09 13:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:40:05' and `end` < '2025-03-09 13:40:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642551', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 13:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 13:40:09] Production.INFO: ProcessCDR(1,14642551,1,1,2) [2025-03-09 13:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14642551,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14642551,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:40:09] Production.INFO: ==23540== Releasing lock... [2025-03-09 13:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 13:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 13:40:12] Production.ERROR: CronJobId end10 [2025-03-09 13:40:12] Production.INFO: ==23533== Releasing lock... [2025-03-09 13:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:40:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:40:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:40:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:40:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:40:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:40:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:40:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:40:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:40:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:40:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:40:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:40:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:40:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:40:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:40:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:40:15] Production.INFO: call_cost start [2025-03-09 13:40:15] Production.INFO: call_cost end [2025-03-09 13:40:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:40:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:40:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:40:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:40:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:40:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:40:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:40:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:40:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:40:16] Production.INFO: ==23529== Releasing lock... [2025-03-09 13:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:40:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:40:17] Production.INFO: count ==824 [2025-03-09 13:40:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:40:05 - End Time 2025-03-09 13:40:05 [2025-03-09 13:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642552', 'tblTempUsageDetail_20' ) start [2025-03-09 13:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642552', 'tblTempUsageDetail_20' ) end [2025-03-09 13:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642552', 'tblTempVendorCDR_20' ) start [2025-03-09 13:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642552', 'tblTempVendorCDR_20' ) end [2025-03-09 13:40:18] Production.INFO: ProcessCDR(1,14642552,1,1,2) [2025-03-09 13:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642552', 'tblTempUsageDetail_20' ) start [2025-03-09 13:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642552', 'tblTempUsageDetail_20' ) end [2025-03-09 13:40:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:40:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:40:23] Production.INFO: ==23537== Releasing lock... [2025-03-09 13:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:40:23] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 17:41:02] Production.INFO: ==23598== Lock acquired, processing the job... [2025-03-09 17:41:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:41:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:41:02] Production.INFO: neon service started [2025-03-09 17:41:02] Production.INFO: neon service started [2025-03-09 17:41:02] Production.INFO: ==23598== Releasing lock... [2025-03-09 17:41:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:41:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:41:02] Production.INFO: ==23600== Lock acquired, processing the job... [2025-03-09 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:41:02] Production.INFO: ==23600== Releasing lock... [2025-03-09 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:41:02] Production.INFO: ==23602== Lock acquired, processing the job... [2025-03-09 17:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:41:02] Production.INFO: ==23602== Releasing lock... [2025-03-09 17:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:41:03] Production.INFO: ==23611== Lock acquired, processing the job... [2025-03-09 13:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:41:03] Production.INFO: ==23605== Lock acquired, processing the job... [2025-03-09 13:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:41:03] Production.INFO: ==23607== Lock acquired, processing the job... [2025-03-09 13:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:41:03] Production.INFO: ==23609== Lock acquired, processing the job... [2025-03-09 13:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:41:03] Production.INFO: ==23615== Lock acquired, processing the job... [2025-03-09 13:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:41:03] Production.INFO: Account Balance Start. [2025-03-09 13:41:03] Production.INFO: CreateAllLog Start [2025-03-09 13:41:03] Production.INFO: 117 [2025-03-09 13:41:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:41:03] Production.INFO: ==23613== Lock acquired, processing the job... [2025-03-09 13:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 13:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:41:03] Production.INFO: Date 2025-03-09 [2025-03-09 13:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:41:03] Production.INFO: count ==13 [2025-03-09 13:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:41:03] Production.INFO: count ==21 [2025-03-09 13:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642556') start [2025-03-09 13:41:04] Production.INFO: Total Charge 0 [2025-03-09 13:41:04] Production.INFO: CreateAllLog End [2025-03-09 13:41:04] Production.INFO: ==23607== Releasing lock... [2025-03-09 13:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642556') end [2025-03-09 13:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:41:04] Production.INFO: 1 [2025-03-09 13:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:41:04] Production.INFO: ==23615== Releasing lock... [2025-03-09 13:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:41:04] Production.ERROR: done [2025-03-09 13:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:41:04] Production.INFO: Account Balance End. [2025-03-09 13:41:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:41:04] Production.INFO: ==23611== Releasing lock... [2025-03-09 13:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:41:04] Production.ERROR: done [2025-03-09 13:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:41:05 [end_date_ymd] => 2025-03-09 13:41:05 [RateCDR] => 1 ) [2025-03-09 13:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:41:05' and `end` < '2025-03-09 13:41:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:41:11] Production.ERROR: CronJobId end10 [2025-03-09 13:41:11] Production.INFO: ==23609== Releasing lock... [2025-03-09 13:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:41:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:41:14] Production.INFO: call_cost start [2025-03-09 13:41:14] Production.INFO: call_cost end [2025-03-09 13:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:41:15] Production.INFO: ==23605== Releasing lock... [2025-03-09 13:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:41:17] Production.INFO: count ==819 [2025-03-09 13:41:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:41:05 - End Time 2025-03-09 13:41:05 [2025-03-09 13:41:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642557', 'tblTempUsageDetail_20' ) start [2025-03-09 13:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642557', 'tblTempUsageDetail_20' ) end [2025-03-09 13:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642557', 'tblTempVendorCDR_20' ) start [2025-03-09 13:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642557', 'tblTempVendorCDR_20' ) end [2025-03-09 13:41:18] Production.INFO: ProcessCDR(1,14642557,1,1,2) [2025-03-09 13:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642557', 'tblTempUsageDetail_20' ) start [2025-03-09 13:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642557', 'tblTempUsageDetail_20' ) end [2025-03-09 13:41:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:41:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:41:21] Production.INFO: ==23613== Releasing lock... [2025-03-09 13:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:41:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 17:42:01] Production.INFO: ==23668== Lock acquired, processing the job... [2025-03-09 17:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:42:01] Production.INFO: neon service started [2025-03-09 17:42:01] Production.INFO: neon service started [2025-03-09 17:42:01] Production.INFO: ==23668== Releasing lock... [2025-03-09 17:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:42:02] Production.INFO: ==23672== Lock acquired, processing the job... [2025-03-09 17:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 13:42:02] Production.INFO: ==23670== Lock acquired, processing the job... [2025-03-09 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:42:02] Production.INFO: ==23672== Releasing lock... [2025-03-09 17:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:42:02] Production.INFO: ==23670== Releasing lock... [2025-03-09 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:42:03] Production.INFO: ==23675== Lock acquired, processing the job... [2025-03-09 13:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:42:03] Production.INFO: ==23685== Lock acquired, processing the job... [2025-03-09 13:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:42:03] Production.INFO: ==23677== Lock acquired, processing the job... [2025-03-09 13:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:42:03] Production.INFO: count ==13 [2025-03-09 13:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:42:03] Production.INFO: count ==21 [2025-03-09 13:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642559') start [2025-03-09 13:42:03] Production.INFO: ==23681== Lock acquired, processing the job... [2025-03-09 13:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:42:03] Production.INFO: ==23679== Lock acquired, processing the job... [2025-03-09 13:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:42:03] Production.INFO: ==23683== Lock acquired, processing the job... [2025-03-09 13:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642559') end [2025-03-09 13:42:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:42:03] Production.INFO: 1 [2025-03-09 13:42:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:42:03] Production.INFO: ==23685== Releasing lock... [2025-03-09 13:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:42:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:42:04] Production.INFO: Account Balance Start. [2025-03-09 13:42:04] Production.INFO: CreateAllLog Start [2025-03-09 13:42:04] Production.INFO: 117 [2025-03-09 13:42:04] Production.INFO: ==23677== Releasing lock... [2025-03-09 13:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:42:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:42:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:42:04] Production.INFO: Total Charge 0 [2025-03-09 13:42:04] Production.INFO: CreateAllLog End [2025-03-09 13:42:04] Production.ERROR: done [2025-03-09 13:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:42:04] Production.INFO: Account Balance End. [2025-03-09 13:42:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:42:04] Production.INFO: ==23681== Releasing lock... [2025-03-09 13:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:42:04] Production.ERROR: done [2025-03-09 13:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:42:05 [end_date_ymd] => 2025-03-09 13:42:05 [RateCDR] => 1 ) [2025-03-09 13:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:42:05' and `end` < '2025-03-09 13:42:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:42:11] Production.ERROR: CronJobId end10 [2025-03-09 13:42:11] Production.INFO: ==23679== Releasing lock... [2025-03-09 13:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:42:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:42:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:42:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:42:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:42:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:42:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:42:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:42:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:42:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:42:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:42:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:42:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:42:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:42:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:42:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:42:14] Production.INFO: call_cost start [2025-03-09 13:42:14] Production.INFO: call_cost end [2025-03-09 13:42:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:42:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:42:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:42:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:42:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:42:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:42:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:42:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:42:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:42:15] Production.INFO: ==23675== Releasing lock... [2025-03-09 13:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:42:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:42:17] Production.INFO: count ==820 [2025-03-09 13:42:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:42:05 - End Time 2025-03-09 13:42:05 [2025-03-09 13:42:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642562', 'tblTempUsageDetail_20' ) start [2025-03-09 13:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642562', 'tblTempUsageDetail_20' ) end [2025-03-09 13:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642562', 'tblTempVendorCDR_20' ) start [2025-03-09 13:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642562', 'tblTempVendorCDR_20' ) end [2025-03-09 13:42:18] Production.INFO: ProcessCDR(1,14642562,1,1,2) [2025-03-09 13:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642562', 'tblTempUsageDetail_20' ) start [2025-03-09 13:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642562', 'tblTempUsageDetail_20' ) end [2025-03-09 13:42:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:42:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:42:21] Production.INFO: ==23683== Releasing lock... [2025-03-09 13:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:42:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 17:43:01] Production.INFO: ==23739== Lock acquired, processing the job... [2025-03-09 17:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:43:01] Production.INFO: neon service started [2025-03-09 17:43:01] Production.INFO: neon service started [2025-03-09 17:43:01] Production.INFO: ==23739== Releasing lock... [2025-03-09 17:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:43:02] Production.INFO: ==23743== Lock acquired, processing the job... [2025-03-09 17:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:43:02] Production.INFO: ==23743== Releasing lock... [2025-03-09 17:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:43:02] Production.INFO: ==23741== Lock acquired, processing the job... [2025-03-09 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:43:02] Production.INFO: ==23741== Releasing lock... [2025-03-09 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:43:03] Production.INFO: ==23746== Lock acquired, processing the job... [2025-03-09 13:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:43:03] Production.INFO: ==23748== Lock acquired, processing the job... [2025-03-09 13:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:43:03] Production.INFO: ==23752== Lock acquired, processing the job... [2025-03-09 13:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:43:03] Production.INFO: ==23750== Lock acquired, processing the job... [2025-03-09 13:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:43:03] Production.INFO: Account Balance Start. [2025-03-09 13:43:03] Production.INFO: CreateAllLog Start [2025-03-09 13:43:03] Production.INFO: 117 [2025-03-09 13:43:03] Production.INFO: ==23748== Releasing lock... [2025-03-09 13:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:43:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:43:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:43:04] Production.INFO: ==23754== Lock acquired, processing the job... [2025-03-09 13:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:43:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:43:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:43:04] Production.INFO: ==23756== Lock acquired, processing the job... [2025-03-09 13:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:43:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:43:04] Production.INFO: Total Charge 0 [2025-03-09 13:43:04] Production.INFO: CreateAllLog End [2025-03-09 13:43:04] Production.INFO: Account Balance End. [2025-03-09 13:43:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:43:04] Production.INFO: ==23752== Releasing lock... [2025-03-09 13:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:43:04] Production.ERROR: done [2025-03-09 13:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:43:04] Production.INFO: count ==13 [2025-03-09 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-09 13:43:04] Production.INFO: count ==21 [2025-03-09 13:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642566') start [2025-03-09 13:43:04] Production.ERROR: done [2025-03-09 13:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642566') end [2025-03-09 13:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:43:04] Production.INFO: 1 [2025-03-09 13:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:43:04] Production.INFO: ==23756== Releasing lock... [2025-03-09 13:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:43:05 [end_date_ymd] => 2025-03-09 13:43:05 [RateCDR] => 1 ) [2025-03-09 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-09 10:43:05' and `end` < '2025-03-09 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-09 13:43:12] Production.ERROR: CronJobId end10 [2025-03-09 13:43:12] Production.INFO: ==23750== Releasing lock... [2025-03-09 13:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:43:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:43:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:43:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:43:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:43:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:43:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:43:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:43:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:43:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:43:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:43:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:43:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:43:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:43:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:43:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:43:14] Production.INFO: call_cost start [2025-03-09 13:43:14] Production.INFO: call_cost end [2025-03-09 13:43:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:43:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:43:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:43:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:43:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:43:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:43:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:43:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:43:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:43:15] Production.INFO: ==23746== Releasing lock... [2025-03-09 13:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:43:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:43:17] Production.INFO: count ==820 [2025-03-09 13:43:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:43:05 - End Time 2025-03-09 13:43:05 [2025-03-09 13:43:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642567', 'tblTempUsageDetail_20' ) start [2025-03-09 13:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642567', 'tblTempUsageDetail_20' ) end [2025-03-09 13:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642567', 'tblTempVendorCDR_20' ) start [2025-03-09 13:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642567', 'tblTempVendorCDR_20' ) end [2025-03-09 13:43:18] Production.INFO: ProcessCDR(1,14642567,1,1,2) [2025-03-09 13:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642567', 'tblTempUsageDetail_20' ) start [2025-03-09 13:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642567', 'tblTempUsageDetail_20' ) end [2025-03-09 13:43:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:43:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:43:21] Production.INFO: ==23754== Releasing lock... [2025-03-09 13:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:43:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 17:44:01] Production.INFO: ==23810== Lock acquired, processing the job... [2025-03-09 17:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:44:01] Production.INFO: neon service started [2025-03-09 17:44:01] Production.INFO: neon service started [2025-03-09 17:44:01] Production.INFO: ==23810== Releasing lock... [2025-03-09 17:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:44:01] Production.INFO: ==23812== Lock acquired, processing the job... [2025-03-09 13:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:44:02] Production.INFO: ==23812== Releasing lock... [2025-03-09 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:44:02] Production.INFO: ==23814== Lock acquired, processing the job... [2025-03-09 17:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:44:02] Production.INFO: ==23814== Releasing lock... [2025-03-09 17:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:44:03] Production.INFO: ==23817== Lock acquired, processing the job... [2025-03-09 13:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:44:03] Production.INFO: ==23823== Lock acquired, processing the job... [2025-03-09 13:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:44:03] Production.INFO: ==23827== Lock acquired, processing the job... [2025-03-09 13:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:44:03] Production.INFO: Account Balance Start. [2025-03-09 13:44:03] Production.INFO: CreateAllLog Start [2025-03-09 13:44:03] Production.INFO: 117 [2025-03-09 13:44:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:44:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:44:03] Production.INFO: Date 2025-03-09 [2025-03-09 13:44:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:44:03] Production.INFO: ==23819== Lock acquired, processing the job... [2025-03-09 13:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:44:03] Production.INFO: Total Charge 0 [2025-03-09 13:44:03] Production.INFO: CreateAllLog End [2025-03-09 13:44:03] Production.INFO: ==23821== Lock acquired, processing the job... [2025-03-09 13:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:44:03] Production.INFO: ==23825== Lock acquired, processing the job... [2025-03-09 13:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:44:03] Production.INFO: count ==13 [2025-03-09 13:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:44:03] Production.INFO: count ==21 [2025-03-09 13:44:03] Production.INFO: Account Balance End. [2025-03-09 13:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642570') start [2025-03-09 13:44:03] Production.ERROR: CronJobId end 12 [2025-03-09 13:44:03] Production.INFO: ==23823== Releasing lock... [2025-03-09 13:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:44:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642570') end [2025-03-09 13:44:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:44:03] Production.INFO: 1 [2025-03-09 13:44:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:44:03] Production.INFO: ==23827== Releasing lock... [2025-03-09 13:44:03] Production.INFO: ==23819== Releasing lock... [2025-03-09 13:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:44:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:44:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:44:03] Production.ERROR: done [2025-03-09 13:44:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:44:04] Production.ERROR: done [2025-03-09 13:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:44:05 [end_date_ymd] => 2025-03-09 13:44:05 [RateCDR] => 1 ) [2025-03-09 13:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:44:05' and `end` < '2025-03-09 13:44:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:44:11] Production.ERROR: CronJobId end10 [2025-03-09 13:44:11] Production.INFO: ==23821== Releasing lock... [2025-03-09 13:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:44:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:44:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:44:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:44:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:44:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:44:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:44:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:44:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:44:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:44:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:44:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:44:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:44:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:44:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:44:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:44:13] Production.INFO: call_cost start [2025-03-09 13:44:13] Production.INFO: call_cost end [2025-03-09 13:44:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:44:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:44:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:44:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:44:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:44:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:44:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:44:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:44:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:44:14] Production.INFO: ==23817== Releasing lock... [2025-03-09 13:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:44:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:44:17] Production.INFO: count ==823 [2025-03-09 13:44:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:44:05 - End Time 2025-03-09 13:44:05 [2025-03-09 13:44:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642572', 'tblTempUsageDetail_20' ) start [2025-03-09 13:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642572', 'tblTempUsageDetail_20' ) end [2025-03-09 13:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642572', 'tblTempVendorCDR_20' ) start [2025-03-09 13:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642572', 'tblTempVendorCDR_20' ) end [2025-03-09 13:44:17] Production.INFO: ProcessCDR(1,14642572,1,1,2) [2025-03-09 13:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:44:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642572', 'tblTempUsageDetail_20' ) start [2025-03-09 13:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642572', 'tblTempUsageDetail_20' ) end [2025-03-09 13:44:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:44:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:44:20] Production.INFO: ==23825== Releasing lock... [2025-03-09 13:44:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:44:20] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 17:45:01] Production.INFO: ==23885== Lock acquired, processing the job... [2025-03-09 17:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:45:01] Production.INFO: neon service started [2025-03-09 17:45:01] Production.INFO: neon service started [2025-03-09 17:45:01] Production.INFO: ==23885== Releasing lock... [2025-03-09 17:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:45:02] Production.INFO: ==23889== Lock acquired, processing the job... [2025-03-09 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:45:02] Production.INFO: ==23889== Releasing lock... [2025-03-09 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:45:02] Production.INFO: ==23887== Lock acquired, processing the job... [2025-03-09 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:45:02] Production.INFO: ==23887== Releasing lock... [2025-03-09 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:45:03] Production.INFO: ==23898== Lock acquired, processing the job... [2025-03-09 13:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:45:03] Production.INFO: ==23892== Lock acquired, processing the job... [2025-03-09 13:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:45:03] Production.INFO: ==23900== Lock acquired, processing the job... [2025-03-09 13:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:45:03] Production.INFO: ==23894== Lock acquired, processing the job... [2025-03-09 13:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:45:03] Production.INFO: ==23896== Lock acquired, processing the job... [2025-03-09 13:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:45:03] Production.INFO: Account Balance Start. [2025-03-09 13:45:03] Production.INFO: CreateAllLog Start [2025-03-09 13:45:03] Production.INFO: 117 [2025-03-09 13:45:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:45:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:45:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:45:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:45:04] Production.INFO: Total Charge 0 [2025-03-09 13:45:04] Production.INFO: ==23902== Lock acquired, processing the job... [2025-03-09 13:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:45:04] Production.INFO: CreateAllLog End [2025-03-09 13:45:04] Production.INFO: ==23894== Releasing lock... [2025-03-09 13:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 13:45:04] Production.INFO: count ==13 [2025-03-09 13:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:45:04] Production.INFO: count ==21 [2025-03-09 13:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642576') start [2025-03-09 13:45:04] Production.ERROR: done [2025-03-09 13:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642576') end [2025-03-09 13:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:45:04] Production.INFO: 1 [2025-03-09 13:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:45:04] Production.INFO: ==23902== Releasing lock... [2025-03-09 13:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:45:04] Production.INFO: Account Balance End. [2025-03-09 13:45:04] Production.ERROR: done [2025-03-09 13:45:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:45:04] Production.INFO: ==23898== Releasing lock... [2025-03-09 13:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:45:05 [end_date_ymd] => 2025-03-09 13:45:05 [RateCDR] => 1 ) [2025-03-09 13:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:45:05' and `end` < '2025-03-09 13:45:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:45:11] Production.ERROR: CronJobId end10 [2025-03-09 13:45:11] Production.INFO: ==23896== Releasing lock... [2025-03-09 13:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:45:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:45:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:45:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:45:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:45:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:45:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:45:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:45:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:45:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:45:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:45:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:45:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:45:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:45:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:45:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:45:14] Production.INFO: call_cost start [2025-03-09 13:45:14] Production.INFO: call_cost end [2025-03-09 13:45:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:45:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:45:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:45:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:45:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:45:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:45:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:45:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:45:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:45:15] Production.INFO: ==23892== Releasing lock... [2025-03-09 13:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:45:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:45:17] Production.INFO: count ==823 [2025-03-09 13:45:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:45:05 - End Time 2025-03-09 13:45:05 [2025-03-09 13:45:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642577', 'tblTempUsageDetail_20' ) start [2025-03-09 13:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642577', 'tblTempUsageDetail_20' ) end [2025-03-09 13:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642577', 'tblTempVendorCDR_20' ) start [2025-03-09 13:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642577', 'tblTempVendorCDR_20' ) end [2025-03-09 13:45:18] Production.INFO: ProcessCDR(1,14642577,1,1,2) [2025-03-09 13:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642577', 'tblTempUsageDetail_20' ) start [2025-03-09 13:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642577', 'tblTempUsageDetail_20' ) end [2025-03-09 13:45:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:45:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:45:21] Production.INFO: ==23900== Releasing lock... [2025-03-09 13:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:45:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 17:46:02] Production.INFO: ==23955== Lock acquired, processing the job... [2025-03-09 17:46:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:46:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:46:02] Production.INFO: neon service started [2025-03-09 17:46:02] Production.INFO: neon service started [2025-03-09 17:46:02] Production.INFO: ==23955== Releasing lock... [2025-03-09 17:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:46:02] Production.INFO: ==23957== Lock acquired, processing the job... [2025-03-09 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:46:02] Production.INFO: ==23957== Releasing lock... [2025-03-09 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:46:03] Production.INFO: ==23959== Lock acquired, processing the job... [2025-03-09 17:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:46:03] Production.INFO: ==23959== Releasing lock... [2025-03-09 17:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:46:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:46:03] Production.INFO: ==23962== Lock acquired, processing the job... [2025-03-09 13:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:46:04] Production.INFO: ==23966== Lock acquired, processing the job... [2025-03-09 13:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:46:04] Production.INFO: ==23968== Lock acquired, processing the job... [2025-03-09 13:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:46:04] Production.INFO: ==23964== Lock acquired, processing the job... [2025-03-09 13:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:46:04] Production.INFO: Account Balance Start. [2025-03-09 13:46:04] Production.INFO: CreateAllLog Start [2025-03-09 13:46:04] Production.INFO: 117 [2025-03-09 13:46:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:46:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:46:04] Production.INFO: ==23970== Lock acquired, processing the job... [2025-03-09 13:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:46:04] Production.INFO: Total Charge 0 [2025-03-09 13:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:46:04] Production.INFO: CreateAllLog End [2025-03-09 13:46:04] Production.INFO: ==23972== Lock acquired, processing the job... [2025-03-09 13:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:46:04] Production.INFO: ==23964== Releasing lock... [2025-03-09 13:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:46:04] Production.INFO: count ==13 [2025-03-09 13:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:46:04] Production.INFO: count ==21 [2025-03-09 13:46:04] Production.ERROR: done [2025-03-09 13:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642581') start [2025-03-09 13:46:04] Production.INFO: Account Balance End. [2025-03-09 13:46:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:46:04] Production.ERROR: done [2025-03-09 13:46:04] Production.INFO: ==23968== Releasing lock... [2025-03-09 13:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642581') end [2025-03-09 13:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:46:04] Production.INFO: 1 [2025-03-09 13:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:46:05] Production.INFO: ==23972== Releasing lock... [2025-03-09 13:46:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:46:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:46:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:46:06 [end_date_ymd] => 2025-03-09 13:46:06 [RateCDR] => 1 ) [2025-03-09 13:46:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:46:06' and `end` < '2025-03-09 13:46:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:46:13] Production.ERROR: CronJobId end10 [2025-03-09 13:46:13] Production.INFO: ==23966== Releasing lock... [2025-03-09 13:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:46:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:46:14] Production.INFO: call_cost start [2025-03-09 13:46:14] Production.INFO: call_cost end [2025-03-09 13:46:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:46:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:46:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:46:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:46:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:46:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:46:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:46:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:46:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:46:15] Production.INFO: ==23962== Releasing lock... [2025-03-09 13:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:46:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:46:18] Production.INFO: count ==824 [2025-03-09 13:46:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:46:06 - End Time 2025-03-09 13:46:06 [2025-03-09 13:46:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642582', 'tblTempUsageDetail_20' ) start [2025-03-09 13:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642582', 'tblTempUsageDetail_20' ) end [2025-03-09 13:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642582', 'tblTempVendorCDR_20' ) start [2025-03-09 13:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642582', 'tblTempVendorCDR_20' ) end [2025-03-09 13:46:18] Production.INFO: ProcessCDR(1,14642582,1,1,2) [2025-03-09 13:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642582', 'tblTempUsageDetail_20' ) start [2025-03-09 13:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642582', 'tblTempUsageDetail_20' ) end [2025-03-09 13:46:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:46:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:46:23] Production.INFO: ==23970== Releasing lock... [2025-03-09 13:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:46:23] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 17:47:01] Production.INFO: ==24028== Lock acquired, processing the job... [2025-03-09 17:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:47:01] Production.INFO: neon service started [2025-03-09 17:47:01] Production.INFO: neon service started [2025-03-09 17:47:01] Production.INFO: ==24028== Releasing lock... [2025-03-09 17:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:47:02] Production.INFO: ==24033== Lock acquired, processing the job... [2025-03-09 17:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:47:02] Production.INFO: ==24033== Releasing lock... [2025-03-09 17:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:47:02] Production.INFO: ==24031== Lock acquired, processing the job... [2025-03-09 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:47:02] Production.INFO: ==24031== Releasing lock... [2025-03-09 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:47:03] Production.INFO: ==24041== Lock acquired, processing the job... [2025-03-09 13:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:47:03] Production.INFO: Account Balance Start. [2025-03-09 13:47:03] Production.INFO: CreateAllLog Start [2025-03-09 13:47:03] Production.INFO: 117 [2025-03-09 13:47:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:47:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:47:03] Production.INFO: Date 2025-03-09 [2025-03-09 13:47:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:47:03] Production.INFO: Total Charge 0 [2025-03-09 13:47:03] Production.INFO: CreateAllLog End [2025-03-09 13:47:03] Production.INFO: Account Balance End. [2025-03-09 13:47:03] Production.ERROR: CronJobId end 12 [2025-03-09 13:47:03] Production.INFO: ==24041== Releasing lock... [2025-03-09 13:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:47:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:47:03] Production.INFO: ==24037== Lock acquired, processing the job... [2025-03-09 13:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:47:03] Production.INFO: ==24045== Lock acquired, processing the job... [2025-03-09 13:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:47:04] Production.INFO: ==24039== Lock acquired, processing the job... [2025-03-09 13:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:47:04] Production.INFO: ==24035== Lock acquired, processing the job... [2025-03-09 13:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:47:04] Production.INFO: ==24043== Lock acquired, processing the job... [2025-03-09 13:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:47:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:47:04] Production.INFO: count ==13 [2025-03-09 13:47:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:47:04] Production.INFO: count ==21 [2025-03-09 13:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642585') start [2025-03-09 13:47:04] Production.INFO: ==24037== Releasing lock... [2025-03-09 13:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642585') end [2025-03-09 13:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:47:04] Production.INFO: 1 [2025-03-09 13:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:47:04] Production.INFO: ==24045== Releasing lock... [2025-03-09 13:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:47:04] Production.ERROR: done [2025-03-09 13:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:47:04] Production.ERROR: done [2025-03-09 13:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:47:05 [end_date_ymd] => 2025-03-09 13:47:05 [RateCDR] => 1 ) [2025-03-09 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-09 10:47:05' and `end` < '2025-03-09 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-09 13:47:12] Production.ERROR: CronJobId end10 [2025-03-09 13:47:12] Production.INFO: ==24039== Releasing lock... [2025-03-09 13:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:47:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:47:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:47:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:47:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:47:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:47:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:47:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:47:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:47:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:47:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:47:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:47:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:47:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:47:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:47:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:47:14] Production.INFO: call_cost start [2025-03-09 13:47:14] Production.INFO: call_cost end [2025-03-09 13:47:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:47:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:47:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:47:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:47:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:47:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:47:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:47:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:47:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:47:15] Production.INFO: ==24035== Releasing lock... [2025-03-09 13:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:47:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:47:17] Production.INFO: count ==827 [2025-03-09 13:47:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:47:05 - End Time 2025-03-09 13:47:05 [2025-03-09 13:47:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642587', 'tblTempUsageDetail_20' ) start [2025-03-09 13:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642587', 'tblTempUsageDetail_20' ) end [2025-03-09 13:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642587', 'tblTempVendorCDR_20' ) start [2025-03-09 13:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642587', 'tblTempVendorCDR_20' ) end [2025-03-09 13:47:18] Production.INFO: ProcessCDR(1,14642587,1,1,2) [2025-03-09 13:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642587', 'tblTempUsageDetail_20' ) start [2025-03-09 13:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642587', 'tblTempUsageDetail_20' ) end [2025-03-09 13:47:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:47:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:47:21] Production.INFO: ==24043== Releasing lock... [2025-03-09 13:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:47:21] Production.INFO: 35 MB #Memory Used# [2025-03-09 17:48:02] Production.INFO: ==24098== Lock acquired, processing the job... [2025-03-09 17:48:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:48:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:48:02] Production.INFO: neon service started [2025-03-09 17:48:02] Production.INFO: neon service started [2025-03-09 17:48:02] Production.INFO: ==24098== Releasing lock... [2025-03-09 17:48:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:48:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:48:02] Production.INFO: ==24102== Lock acquired, processing the job... [2025-03-09 17:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:48:02] Production.INFO: ==24102== Releasing lock... [2025-03-09 17:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:48:02] Production.INFO: ==24100== Lock acquired, processing the job... [2025-03-09 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:48:03] Production.INFO: ==24100== Releasing lock... [2025-03-09 13:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:48:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:48:04] Production.INFO: ==24113== Lock acquired, processing the job... [2025-03-09 13:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:48:04] Production.INFO: ==24115== Lock acquired, processing the job... [2025-03-09 13:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:48:04] Production.INFO: ==24105== Lock acquired, processing the job... [2025-03-09 13:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:48:04] Production.INFO: ==24107== Lock acquired, processing the job... [2025-03-09 13:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:48:04] Production.INFO: count ==13 [2025-03-09 13:48:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:48:04] Production.INFO: ==24109== Lock acquired, processing the job... [2025-03-09 13:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:48:04] Production.INFO: count ==21 [2025-03-09 13:48:04] Production.INFO: ==24111== Lock acquired, processing the job... [2025-03-09 13:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642588') start [2025-03-09 13:48:04] Production.ERROR: done [2025-03-09 13:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642588') end [2025-03-09 13:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:48:04] Production.INFO: 1 [2025-03-09 13:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:48:04] Production.INFO: ==24115== Releasing lock... [2025-03-09 13:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:48:04] Production.INFO: Account Balance Start. [2025-03-09 13:48:04] Production.INFO: CreateAllLog Start [2025-03-09 13:48:04] Production.INFO: 117 [2025-03-09 13:48:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:48:04] Production.ERROR: done [2025-03-09 13:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:48:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:48:04] Production.INFO: Total Charge 0 [2025-03-09 13:48:04] Production.INFO: ==24107== Releasing lock... [2025-03-09 13:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:48:04] Production.INFO: CreateAllLog End [2025-03-09 13:48:04] Production.INFO: Account Balance End. [2025-03-09 13:48:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:48:04] Production.INFO: ==24111== Releasing lock... [2025-03-09 13:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:48:05 [end_date_ymd] => 2025-03-09 13:48:05 [RateCDR] => 1 ) [2025-03-09 13:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:48:05' and `end` < '2025-03-09 13:48:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:48:12] Production.ERROR: CronJobId end10 [2025-03-09 13:48:12] Production.INFO: ==24109== Releasing lock... [2025-03-09 13:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:48:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:48:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:48:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:48:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:48:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:48:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:48:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:48:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:48:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:48:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:48:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:48:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:48:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:48:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:48:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:48:15] Production.INFO: call_cost start [2025-03-09 13:48:15] Production.INFO: call_cost end [2025-03-09 13:48:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:48:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:48:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:48:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:48:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:48:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:48:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:48:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:48:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:48:16] Production.INFO: ==24105== Releasing lock... [2025-03-09 13:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:48:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:48:17] Production.INFO: count ==827 [2025-03-09 13:48:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:48:05 - End Time 2025-03-09 13:48:05 [2025-03-09 13:48:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642592', 'tblTempUsageDetail_20' ) start [2025-03-09 13:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642592', 'tblTempUsageDetail_20' ) end [2025-03-09 13:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642592', 'tblTempVendorCDR_20' ) start [2025-03-09 13:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642592', 'tblTempVendorCDR_20' ) end [2025-03-09 13:48:18] Production.INFO: ProcessCDR(1,14642592,1,1,2) [2025-03-09 13:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642592', 'tblTempUsageDetail_20' ) start [2025-03-09 13:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642592', 'tblTempUsageDetail_20' ) end [2025-03-09 13:48:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:48:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:48:23] Production.INFO: ==24113== Releasing lock... [2025-03-09 13:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:48:23] Production.INFO: 35 MB #Memory Used# [2025-03-09 17:49:01] Production.INFO: ==24209== Lock acquired, processing the job... [2025-03-09 17:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:49:01] Production.INFO: neon service started [2025-03-09 17:49:01] Production.INFO: neon service started [2025-03-09 17:49:01] Production.INFO: ==24209== Releasing lock... [2025-03-09 17:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:49:02] Production.INFO: ==24211== Lock acquired, processing the job... [2025-03-09 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:49:02] Production.INFO: ==24211== Releasing lock... [2025-03-09 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:49:02] Production.INFO: ==24214== Lock acquired, processing the job... [2025-03-09 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:49:02] Production.INFO: ==24214== Releasing lock... [2025-03-09 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:49:03] Production.INFO: ==24222== Lock acquired, processing the job... [2025-03-09 13:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:49:03] Production.INFO: ==24216== Lock acquired, processing the job... [2025-03-09 13:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:49:03] Production.INFO: ==24218== Lock acquired, processing the job... [2025-03-09 13:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:49:03] Production.INFO: ==24224== Lock acquired, processing the job... [2025-03-09 13:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:49:03] Production.INFO: Account Balance Start. [2025-03-09 13:49:03] Production.INFO: CreateAllLog Start [2025-03-09 13:49:03] Production.INFO: 117 [2025-03-09 13:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:49:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:49:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:49:03] Production.INFO: Date 2025-03-09 [2025-03-09 13:49:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:49:03] Production.INFO: ==24226== Lock acquired, processing the job... [2025-03-09 13:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:49:03] Production.INFO: Total Charge 0 [2025-03-09 13:49:03] Production.INFO: CreateAllLog End [2025-03-09 13:49:03] Production.INFO: ==24220== Lock acquired, processing the job... [2025-03-09 13:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:49:03] Production.INFO: count ==13 [2025-03-09 13:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:49:03] Production.INFO: count ==21 [2025-03-09 13:49:03] Production.INFO: Account Balance End. [2025-03-09 13:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642596') start [2025-03-09 13:49:03] Production.ERROR: CronJobId end 12 [2025-03-09 13:49:03] Production.INFO: ==24222== Releasing lock... [2025-03-09 13:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:49:03] Production.ERROR: done [2025-03-09 13:49:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:49:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642596') end [2025-03-09 13:49:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:49:03] Production.INFO: 1 [2025-03-09 13:49:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:49:04] Production.INFO: ==24218== Releasing lock... [2025-03-09 13:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:49:04] Production.INFO: ==24226== Releasing lock... [2025-03-09 13:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:49:04] Production.ERROR: done [2025-03-09 13:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:49:05 [end_date_ymd] => 2025-03-09 13:49:05 [RateCDR] => 1 ) [2025-03-09 13:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:49:05' and `end` < '2025-03-09 13:49:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:49:12] Production.ERROR: CronJobId end10 [2025-03-09 13:49:12] Production.INFO: ==24220== Releasing lock... [2025-03-09 13:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:49:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:49:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:49:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:49:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:49:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:49:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:49:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:49:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:49:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:49:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:49:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:49:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:49:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:49:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:49:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:49:14] Production.INFO: call_cost start [2025-03-09 13:49:14] Production.INFO: call_cost end [2025-03-09 13:49:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:49:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:49:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:49:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:49:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:49:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:49:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:49:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:49:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:49:15] Production.INFO: ==24216== Releasing lock... [2025-03-09 13:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:49:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:49:17] Production.INFO: count ==824 [2025-03-09 13:49:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:49:05 - End Time 2025-03-09 13:49:05 [2025-03-09 13:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642597', 'tblTempUsageDetail_20' ) start [2025-03-09 13:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642597', 'tblTempUsageDetail_20' ) end [2025-03-09 13:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642597', 'tblTempVendorCDR_20' ) start [2025-03-09 13:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642597', 'tblTempVendorCDR_20' ) end [2025-03-09 13:49:17] Production.INFO: ProcessCDR(1,14642597,1,1,2) [2025-03-09 13:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642597', 'tblTempUsageDetail_20' ) start [2025-03-09 13:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642597', 'tblTempUsageDetail_20' ) end [2025-03-09 13:49:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:49:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:49:22] Production.INFO: ==24224== Releasing lock... [2025-03-09 13:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:49:22] Production.INFO: 34 MB #Memory Used# [2025-03-09 17:50:02] Production.INFO: ==24281== Lock acquired, processing the job... [2025-03-09 17:50:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:50:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:50:02] Production.INFO: neon service started [2025-03-09 17:50:02] Production.INFO: neon service started [2025-03-09 17:50:02] Production.INFO: ==24281== Releasing lock... [2025-03-09 17:50:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:50:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:50:02] Production.INFO: ==24285== Lock acquired, processing the job... [2025-03-09 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:50:02] Production.INFO: ==24285== Releasing lock... [2025-03-09 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:50:02] Production.INFO: ==24283== Lock acquired, processing the job... [2025-03-09 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:50:03] Production.INFO: ==24283== Releasing lock... [2025-03-09 13:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:50:04] Production.INFO: ==24290== Lock acquired, processing the job... [2025-03-09 13:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:50:04] Production.INFO: ==24296== Lock acquired, processing the job... [2025-03-09 13:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:50:04] Production.INFO: ==24288== Lock acquired, processing the job... [2025-03-09 13:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 13:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:50:04] Production.INFO: Account Balance Start. [2025-03-09 13:50:04] Production.INFO: CreateAllLog Start [2025-03-09 13:50:04] Production.INFO: 117 [2025-03-09 13:50:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 13:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 13:50:04] Production.ERROR: CronJob PID - 24290 [2025-03-09 13:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:50:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 13:50:04] Production.ERROR: CronJob ID - 5 [2025-03-09 13:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 13:50:00 [2025-03-09 13:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 13:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 13:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 13:50:04] Production.ERROR: CronJob PID - 24296 [2025-03-09 13:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 13:50:04] Production.ERROR: CronJob ID - 12 [2025-03-09 13:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 13:50:00 [2025-03-09 13:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 13:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 13:50:04] Production.INFO: ==24302== Lock acquired, processing the job... [2025-03-09 13:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:50:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 13:50:04] Production.INFO: ==24288== Releasing lock... [2025-03-09 13:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 13:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 13:50:04] Production.INFO: Total Charge 0 [2025-03-09 13:50:04] Production.INFO: CreateAllLog End [2025-03-09 13:50:04] Production.INFO: ==24292== Lock acquired, processing the job... [2025-03-09 13:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:50:04] Production.INFO: ==24294== Lock acquired, processing the job... [2025-03-09 13:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:50:04] Production.INFO: count ==13 [2025-03-09 13:50:04] Production.INFO: Account Balance End. [2025-03-09 13:50:04] Production.INFO: ==24298== Lock acquired, processing the job... [2025-03-09 13:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:50:04] Production.INFO: count ==21 [2025-03-09 13:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:50:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:50:04] Production.INFO: ==24296== Releasing lock... [2025-03-09 13:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:50:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:50:04] Production.INFO: ==24300== Lock acquired, processing the job... [2025-03-09 13:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 13:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642600') start [2025-03-09 13:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642600') end [2025-03-09 13:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:50:04] Production.INFO: 1 [2025-03-09 13:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:50:04] Production.INFO: ==24302== Releasing lock... [2025-03-09 13:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:50:05] Production.INFO: ==24292== Releasing lock... [2025-03-09 13:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:50:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:50:05] Production.ERROR: done [2025-03-09 13:50:05] Production.ERROR: done [2025-03-09 13:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 13:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642602', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 13:50:05] Production.ERROR: done [2025-03-09 13:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:50:06 [end_date_ymd] => 2025-03-09 13:50:06 [RateCDR] => 1 ) [2025-03-09 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-09 10:50:06' and `end` < '2025-03-09 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-09 13:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642602', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 13:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 13:50:09] Production.INFO: ProcessCDR(1,14642602,1,1,2) [2025-03-09 13:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14642602,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14642602,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:50:09] Production.INFO: ==24300== Releasing lock... [2025-03-09 13:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 13:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 13:50:15] Production.ERROR: CronJobId end10 [2025-03-09 13:50:15] Production.INFO: ==24294== Releasing lock... [2025-03-09 13:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:50:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:50:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:50:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:50:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:50:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:50:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:50:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:50:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:50:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:50:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:50:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:50:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:50:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:50:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:50:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:50:16] Production.INFO: call_cost start [2025-03-09 13:50:16] Production.INFO: call_cost end [2025-03-09 13:50:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:50:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:50:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:50:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:50:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:50:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:50:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:50:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:50:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:50:17] Production.INFO: ==24290== Releasing lock... [2025-03-09 13:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:50:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:50:18] Production.INFO: count ==826 [2025-03-09 13:50:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:50:06 - End Time 2025-03-09 13:50:06 [2025-03-09 13:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642603', 'tblTempUsageDetail_20' ) start [2025-03-09 13:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642603', 'tblTempUsageDetail_20' ) end [2025-03-09 13:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642603', 'tblTempVendorCDR_20' ) start [2025-03-09 13:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642603', 'tblTempVendorCDR_20' ) end [2025-03-09 13:50:19] Production.INFO: ProcessCDR(1,14642603,1,1,2) [2025-03-09 13:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642603', 'tblTempUsageDetail_20' ) start [2025-03-09 13:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642603', 'tblTempUsageDetail_20' ) end [2025-03-09 13:50:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:50:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:50:22] Production.INFO: ==24298== Releasing lock... [2025-03-09 13:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:50:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 17:51:01] Production.INFO: ==24357== Lock acquired, processing the job... [2025-03-09 17:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:51:01] Production.INFO: neon service started [2025-03-09 17:51:01] Production.INFO: neon service started [2025-03-09 17:51:01] Production.INFO: ==24357== Releasing lock... [2025-03-09 17:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:51:02] Production.INFO: ==24359== Lock acquired, processing the job... [2025-03-09 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:51:02] Production.INFO: ==24359== Releasing lock... [2025-03-09 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:51:02] Production.INFO: ==24361== Lock acquired, processing the job... [2025-03-09 17:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:51:02] Production.INFO: ==24361== Releasing lock... [2025-03-09 17:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:51:03] Production.INFO: ==24368== Lock acquired, processing the job... [2025-03-09 13:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:51:03] Production.INFO: ==24372== Lock acquired, processing the job... [2025-03-09 13:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:51:03] Production.INFO: ==24364== Lock acquired, processing the job... [2025-03-09 13:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:51:03] Production.INFO: ==24366== Lock acquired, processing the job... [2025-03-09 13:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:51:03] Production.INFO: ==24370== Lock acquired, processing the job... [2025-03-09 13:51:03] Production.INFO: ==24374== Lock acquired, processing the job... [2025-03-09 13:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:51:03] Production.INFO: Account Balance Start. [2025-03-09 13:51:03] Production.INFO: CreateAllLog Start [2025-03-09 13:51:03] Production.INFO: 117 [2025-03-09 13:51:03] Production.ERROR: done [2025-03-09 13:51:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:51:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:51:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:51:03] Production.INFO: count ==13 [2025-03-09 13:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:51:03] Production.INFO: count ==21 [2025-03-09 13:51:04] Production.ERROR: done [2025-03-09 13:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642607') start [2025-03-09 13:51:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:51:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:51:04] Production.INFO: Total Charge 0 [2025-03-09 13:51:04] Production.INFO: CreateAllLog End [2025-03-09 13:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642607') end [2025-03-09 13:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:51:04] Production.INFO: 1 [2025-03-09 13:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:51:04] Production.INFO: ==24374== Releasing lock... [2025-03-09 13:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:51:04] Production.INFO: ==24366== Releasing lock... [2025-03-09 13:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:51:04] Production.INFO: Account Balance End. [2025-03-09 13:51:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:51:04] Production.INFO: ==24370== Releasing lock... [2025-03-09 13:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:51:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:51:04 [end_date_ymd] => 2025-03-09 13:51:04 [RateCDR] => 1 ) [2025-03-09 13:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:51:04' and `end` < '2025-03-09 13:51:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:51:11] Production.ERROR: CronJobId end10 [2025-03-09 13:51:11] Production.INFO: ==24368== Releasing lock... [2025-03-09 13:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:51:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:51:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:51:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:51:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:51:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:51:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:51:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:51:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:51:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:51:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:51:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:51:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:51:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:51:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:51:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:51:14] Production.INFO: call_cost start [2025-03-09 13:51:14] Production.INFO: call_cost end [2025-03-09 13:51:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:51:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:51:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:51:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:51:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:51:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:51:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:51:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:51:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:51:15] Production.INFO: ==24364== Releasing lock... [2025-03-09 13:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:51:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:51:17] Production.INFO: count ==814 [2025-03-09 13:51:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:51:04 - End Time 2025-03-09 13:51:04 [2025-03-09 13:51:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642608', 'tblTempUsageDetail_20' ) start [2025-03-09 13:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642608', 'tblTempUsageDetail_20' ) end [2025-03-09 13:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642608', 'tblTempVendorCDR_20' ) start [2025-03-09 13:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642608', 'tblTempVendorCDR_20' ) end [2025-03-09 13:51:17] Production.INFO: ProcessCDR(1,14642608,1,1,2) [2025-03-09 13:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642608', 'tblTempUsageDetail_20' ) start [2025-03-09 13:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642608', 'tblTempUsageDetail_20' ) end [2025-03-09 13:51:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:51:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:51:21] Production.INFO: ==24372== Releasing lock... [2025-03-09 13:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:51:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 17:52:02] Production.INFO: ==24428== Lock acquired, processing the job... [2025-03-09 17:52:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:52:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:52:02] Production.INFO: neon service started [2025-03-09 17:52:02] Production.INFO: neon service started [2025-03-09 17:52:02] Production.INFO: ==24428== Releasing lock... [2025-03-09 17:52:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:52:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:52:02] Production.INFO: ==24432== Lock acquired, processing the job... [2025-03-09 17:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:52:02] Production.INFO: ==24432== Releasing lock... [2025-03-09 17:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:52:02] Production.INFO: ==24430== Lock acquired, processing the job... [2025-03-09 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:52:03] Production.INFO: ==24430== Releasing lock... [2025-03-09 13:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:52:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:52:03] Production.INFO: ==24439== Lock acquired, processing the job... [2025-03-09 13:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:52:03] Production.INFO: ==24443== Lock acquired, processing the job... [2025-03-09 13:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:52:04] Production.INFO: ==24437== Lock acquired, processing the job... [2025-03-09 13:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:52:04] Production.INFO: ==24441== Lock acquired, processing the job... [2025-03-09 13:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:52:04] Production.INFO: ==24435== Lock acquired, processing the job... [2025-03-09 13:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:52:04] Production.INFO: ==24445== Lock acquired, processing the job... [2025-03-09 13:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:52:04] Production.INFO: Account Balance Start. [2025-03-09 13:52:04] Production.INFO: CreateAllLog Start [2025-03-09 13:52:04] Production.INFO: 117 [2025-03-09 13:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:52:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:52:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:52:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:52:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:52:04] Production.INFO: Total Charge 0 [2025-03-09 13:52:04] Production.INFO: CreateAllLog End [2025-03-09 13:52:04] Production.INFO: ==24437== Releasing lock... [2025-03-09 13:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:52:04] Production.ERROR: done [2025-03-09 13:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:52:04] Production.INFO: count ==13 [2025-03-09 13:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:52:04] Production.INFO: count ==21 [2025-03-09 13:52:04] Production.ERROR: done [2025-03-09 13:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642612') start [2025-03-09 13:52:04] Production.INFO: Account Balance End. [2025-03-09 13:52:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:52:04] Production.INFO: ==24441== Releasing lock... [2025-03-09 13:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642612') end [2025-03-09 13:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:52:04] Production.INFO: 1 [2025-03-09 13:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:52:04] Production.INFO: ==24445== Releasing lock... [2025-03-09 13:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:52:05 [end_date_ymd] => 2025-03-09 13:52:05 [RateCDR] => 1 ) [2025-03-09 13:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:52:05' and `end` < '2025-03-09 13:52:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:52:12] Production.ERROR: CronJobId end10 [2025-03-09 13:52:12] Production.INFO: ==24439== Releasing lock... [2025-03-09 13:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:52:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:52:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:52:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:52:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:52:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:52:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:52:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:52:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:52:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:52:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:52:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:52:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:52:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:52:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:52:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:52:14] Production.INFO: call_cost start [2025-03-09 13:52:14] Production.INFO: call_cost end [2025-03-09 13:52:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:52:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:52:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:52:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:52:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:52:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:52:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:52:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:52:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:52:15] Production.INFO: ==24435== Releasing lock... [2025-03-09 13:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:52:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:52:18] Production.INFO: count ==816 [2025-03-09 13:52:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:52:05 - End Time 2025-03-09 13:52:05 [2025-03-09 13:52:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642613', 'tblTempUsageDetail_20' ) start [2025-03-09 13:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642613', 'tblTempUsageDetail_20' ) end [2025-03-09 13:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642613', 'tblTempVendorCDR_20' ) start [2025-03-09 13:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642613', 'tblTempVendorCDR_20' ) end [2025-03-09 13:52:18] Production.INFO: ProcessCDR(1,14642613,1,1,2) [2025-03-09 13:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642613', 'tblTempUsageDetail_20' ) start [2025-03-09 13:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642613', 'tblTempUsageDetail_20' ) end [2025-03-09 13:52:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:52:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:52:21] Production.INFO: ==24443== Releasing lock... [2025-03-09 13:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:52:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 17:53:01] Production.INFO: ==24500== Lock acquired, processing the job... [2025-03-09 17:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:53:01] Production.INFO: neon service started [2025-03-09 17:53:01] Production.INFO: neon service started [2025-03-09 17:53:01] Production.INFO: ==24500== Releasing lock... [2025-03-09 17:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:53:01] Production.INFO: ==24502== Lock acquired, processing the job... [2025-03-09 13:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:53:02] Production.INFO: ==24502== Releasing lock... [2025-03-09 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:53:02] Production.INFO: ==24504== Lock acquired, processing the job... [2025-03-09 17:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:53:02] Production.INFO: ==24504== Releasing lock... [2025-03-09 17:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:53:03] Production.INFO: ==24507== Lock acquired, processing the job... [2025-03-09 13:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:53:03] Production.INFO: ==24509== Lock acquired, processing the job... [2025-03-09 13:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:53:03] Production.INFO: ==24517== Lock acquired, processing the job... [2025-03-09 13:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13: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-09 13:53:03] Production.INFO: count ==13 [2025-03-09 13: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-09 13:53:03] Production.INFO: count ==21 [2025-03-09 13:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642616') start [2025-03-09 13:53:03] Production.INFO: ==24511== Lock acquired, processing the job... [2025-03-09 13:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:53:03] Production.INFO: ==24515== Lock acquired, processing the job... [2025-03-09 13:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642616') end [2025-03-09 13:53:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:53:03] Production.INFO: 1 [2025-03-09 13:53:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:53:03] Production.INFO: ==24517== Releasing lock... [2025-03-09 13:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:53:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:53:03] Production.INFO: ==24513== Lock acquired, processing the job... [2025-03-09 13:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:53:03] Production.INFO: Account Balance Start. [2025-03-09 13:53:03] Production.INFO: CreateAllLog Start [2025-03-09 13:53:03] Production.INFO: 117 [2025-03-09 13:53:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:53:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:53:03] Production.INFO: Date 2025-03-09 [2025-03-09 13:53:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:53:03] Production.INFO: ==24509== Releasing lock... [2025-03-09 13:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:53:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:53:03] Production.INFO: Total Charge 0 [2025-03-09 13:53:03] Production.INFO: CreateAllLog End [2025-03-09 13:53:04] Production.ERROR: done [2025-03-09 13:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:53:04] Production.INFO: Account Balance End. [2025-03-09 13:53:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:53:04] Production.INFO: ==24513== Releasing lock... [2025-03-09 13:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:53:04] Production.ERROR: done [2025-03-09 13:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:53:04 [end_date_ymd] => 2025-03-09 13:53:04 [RateCDR] => 1 ) [2025-03-09 13:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:53:04' and `end` < '2025-03-09 13: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-09 13:53:12] Production.ERROR: CronJobId end10 [2025-03-09 13:53:12] Production.INFO: ==24511== Releasing lock... [2025-03-09 13:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:53:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:53:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:53:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:53:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:53:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:53:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:53:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:53:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:53:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:53:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:53:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:53:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:53:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:53:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:53:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:53:14] Production.INFO: call_cost start [2025-03-09 13:53:14] Production.INFO: call_cost end [2025-03-09 13:53:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:53:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:53:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:53:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:53:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:53:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:53:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:53:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:53:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:53:15] Production.INFO: ==24507== Releasing lock... [2025-03-09 13:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:53:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:53:17] Production.INFO: count ==816 [2025-03-09 13:53:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:53:04 - End Time 2025-03-09 13:53:04 [2025-03-09 13:53:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642618', 'tblTempUsageDetail_20' ) start [2025-03-09 13:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642618', 'tblTempUsageDetail_20' ) end [2025-03-09 13:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642618', 'tblTempVendorCDR_20' ) start [2025-03-09 13:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642618', 'tblTempVendorCDR_20' ) end [2025-03-09 13:53:17] Production.INFO: ProcessCDR(1,14642618,1,1,2) [2025-03-09 13:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:53:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642618', 'tblTempUsageDetail_20' ) start [2025-03-09 13:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642618', 'tblTempUsageDetail_20' ) end [2025-03-09 13:53:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:53:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:53:20] Production.INFO: ==24515== Releasing lock... [2025-03-09 13:53:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:53:20] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 17:54:02] Production.INFO: ==24574== Lock acquired, processing the job... [2025-03-09 17:54:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:54:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:54:02] Production.INFO: neon service started [2025-03-09 17:54:02] Production.INFO: neon service started [2025-03-09 17:54:02] Production.INFO: ==24574== Releasing lock... [2025-03-09 17:54:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:54:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:54:02] Production.INFO: ==24577== Lock acquired, processing the job... [2025-03-09 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:54:02] Production.INFO: ==24579== Lock acquired, processing the job... [2025-03-09 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:54:02] Production.INFO: ==24579== Releasing lock... [2025-03-09 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:54:03] Production.INFO: ==24577== Releasing lock... [2025-03-09 13:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:54:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:54:03] Production.INFO: ==24581== Lock acquired, processing the job... [2025-03-09 13:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:54:03] Production.INFO: ==24583== Lock acquired, processing the job... [2025-03-09 13:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:54:03] Production.INFO: ==24589== Lock acquired, processing the job... [2025-03-09 13:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:54:04] Production.INFO: ==24585== Lock acquired, processing the job... [2025-03-09 13:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:54:04] Production.INFO: ==24587== Lock acquired, processing the job... [2025-03-09 13:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:54:04] Production.INFO: ==24583== Releasing lock... [2025-03-09 13:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:54:04] Production.INFO: ==24591== Lock acquired, processing the job... [2025-03-09 13:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:54:04] Production.INFO: Account Balance Start. [2025-03-09 13:54:04] Production.INFO: CreateAllLog Start [2025-03-09 13:54:04] Production.INFO: 117 [2025-03-09 13:54:04] Production.ERROR: done [2025-03-09 13:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:54:04] Production.INFO: Date 2025-03-08 [2025-03-09 13: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-09 13:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:54:04] Production.INFO: count ==13 [2025-03-09 13:54:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:54:04] Production.INFO: count ==21 [2025-03-09 13:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642622') start [2025-03-09 13:54:04] Production.ERROR: done [2025-03-09 13:54:04] Production.INFO: Total Charge 0 [2025-03-09 13:54:04] Production.INFO: CreateAllLog End [2025-03-09 13:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642622') end [2025-03-09 13:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:54:04] Production.INFO: 1 [2025-03-09 13:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:54:04] Production.INFO: ==24591== Releasing lock... [2025-03-09 13:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:54:04] Production.INFO: Account Balance End. [2025-03-09 13:54:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:54:04] Production.INFO: ==24587== Releasing lock... [2025-03-09 13:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:54:05 [end_date_ymd] => 2025-03-09 13:54:05 [RateCDR] => 1 ) [2025-03-09 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-09 10:54:05' and `end` < '2025-03-09 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-09 13:54:11] Production.ERROR: CronJobId end10 [2025-03-09 13:54:11] Production.INFO: ==24585== Releasing lock... [2025-03-09 13:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:54:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:54:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:54:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:54:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:54:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:54:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:54:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:54:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:54:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:54:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:54:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:54:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:54:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:54:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:54:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:54:14] Production.INFO: call_cost start [2025-03-09 13:54:14] Production.INFO: call_cost end [2025-03-09 13:54:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:54:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:54:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:54:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:54:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:54:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:54:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:54:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:54:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:54:15] Production.INFO: ==24581== Releasing lock... [2025-03-09 13:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:54:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:54:17] Production.INFO: count ==816 [2025-03-09 13:54:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:54:05 - End Time 2025-03-09 13:54:05 [2025-03-09 13:54:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642623', 'tblTempUsageDetail_20' ) start [2025-03-09 13:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642623', 'tblTempUsageDetail_20' ) end [2025-03-09 13:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642623', 'tblTempVendorCDR_20' ) start [2025-03-09 13:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642623', 'tblTempVendorCDR_20' ) end [2025-03-09 13:54:17] Production.INFO: ProcessCDR(1,14642623,1,1,2) [2025-03-09 13:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642623', 'tblTempUsageDetail_20' ) start [2025-03-09 13:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642623', 'tblTempUsageDetail_20' ) end [2025-03-09 13:54:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:54:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:54:21] Production.INFO: ==24589== Releasing lock... [2025-03-09 13:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:54:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 17:55:01] Production.INFO: ==24644== Lock acquired, processing the job... [2025-03-09 17:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:55:01] Production.INFO: neon service started [2025-03-09 17:55:01] Production.INFO: neon service started [2025-03-09 17:55:01] Production.INFO: ==24644== Releasing lock... [2025-03-09 17:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:55:01] Production.INFO: ==24646== Lock acquired, processing the job... [2025-03-09 13:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:55:02] Production.INFO: ==24646== Releasing lock... [2025-03-09 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:55:02] Production.INFO: ==24648== Lock acquired, processing the job... [2025-03-09 17:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:55:02] Production.INFO: ==24648== Releasing lock... [2025-03-09 17:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:55:02] Production.INFO: ==24650== Lock acquired, processing the job... [2025-03-09 13:55:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:55:03] Production.INFO: ==24658== Lock acquired, processing the job... [2025-03-09 13:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:55:03] Production.INFO: ==24652== Lock acquired, processing the job... [2025-03-09 13:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:55:03] Production.INFO: ==24660== Lock acquired, processing the job... [2025-03-09 13:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:55:03] Production.INFO: ==24656== Lock acquired, processing the job... [2025-03-09 13:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:55:03] Production.INFO: ==24654== Lock acquired, processing the job... [2025-03-09 13:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:55:03] Production.ERROR: done [2025-03-09 13:55:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:55:03] Production.INFO: Account Balance Start. [2025-03-09 13:55:03] Production.INFO: CreateAllLog Start [2025-03-09 13:55:03] Production.INFO: ==24652== Releasing lock... [2025-03-09 13:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:55:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:55:03] Production.INFO: 117 [2025-03-09 13:55:03] Production.INFO: count ==13 [2025-03-09 13:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:55:03] Production.INFO: count ==21 [2025-03-09 13:55:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642627') start [2025-03-09 13:55:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:55:03] Production.ERROR: done [2025-03-09 13:55:03] Production.INFO: Date 2025-03-09 [2025-03-09 13:55:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642627') end [2025-03-09 13:55:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:55:03] Production.INFO: 1 [2025-03-09 13:55:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:55:03] Production.INFO: Total Charge 0 [2025-03-09 13:55:03] Production.INFO: ==24660== Releasing lock... [2025-03-09 13:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:55:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:55:03] Production.INFO: CreateAllLog End [2025-03-09 13:55:04] Production.INFO: Account Balance End. [2025-03-09 13:55:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:55:04] Production.INFO: ==24656== Releasing lock... [2025-03-09 13:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:55:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:55:04 [end_date_ymd] => 2025-03-09 13:55:04 [RateCDR] => 1 ) [2025-03-09 13:55:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:55:04' and `end` < '2025-03-09 13:55:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:55:11] Production.ERROR: CronJobId end10 [2025-03-09 13:55:11] Production.INFO: ==24654== Releasing lock... [2025-03-09 13:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:55:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:55:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:55:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:55:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:55:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:55:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:55:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:55:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:55:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:55:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:55:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:55:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:55:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:55:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:55:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:55:14] Production.INFO: call_cost start [2025-03-09 13:55:14] Production.INFO: call_cost end [2025-03-09 13:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:55:15] Production.INFO: ==24650== Releasing lock... [2025-03-09 13:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:55:16] Production.INFO: count ==816 [2025-03-09 13:55:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:55:04 - End Time 2025-03-09 13:55:04 [2025-03-09 13:55:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642628', 'tblTempUsageDetail_20' ) start [2025-03-09 13:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642628', 'tblTempUsageDetail_20' ) end [2025-03-09 13:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642628', 'tblTempVendorCDR_20' ) start [2025-03-09 13:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642628', 'tblTempVendorCDR_20' ) end [2025-03-09 13:55:17] Production.INFO: ProcessCDR(1,14642628,1,1,2) [2025-03-09 13:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:55:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642628', 'tblTempUsageDetail_20' ) start [2025-03-09 13:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642628', 'tblTempUsageDetail_20' ) end [2025-03-09 13:55:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:55:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:55:20] Production.INFO: ==24658== Releasing lock... [2025-03-09 13:55:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:55:20] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 17:56:02] Production.INFO: ==24717== Lock acquired, processing the job... [2025-03-09 17:56:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:56:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:56:02] Production.INFO: neon service started [2025-03-09 17:56:02] Production.INFO: neon service started [2025-03-09 17:56:02] Production.INFO: ==24717== Releasing lock... [2025-03-09 17:56:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:56:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:56:02] Production.INFO: ==24721== Lock acquired, processing the job... [2025-03-09 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:56:02] Production.INFO: ==24721== Releasing lock... [2025-03-09 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:56:02] Production.INFO: ==24719== Lock acquired, processing the job... [2025-03-09 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:56:02] Production.INFO: ==24719== Releasing lock... [2025-03-09 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:56:03] Production.INFO: ==24727== Lock acquired, processing the job... [2025-03-09 13:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:56:03] Production.INFO: ==24731== Lock acquired, processing the job... [2025-03-09 13:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:56:03] Production.INFO: ==24733== Lock acquired, processing the job... [2025-03-09 13:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:56:03] Production.INFO: count ==13 [2025-03-09 13:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:56:03] Production.INFO: count ==21 [2025-03-09 13:56:04] Production.INFO: ==24729== Lock acquired, processing the job... [2025-03-09 13:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642629') start [2025-03-09 13:56:04] Production.INFO: ==24723== Lock acquired, processing the job... [2025-03-09 13:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:56:04] Production.INFO: ==24725== Lock acquired, processing the job... [2025-03-09 13:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:56:04] Production.ERROR: done [2025-03-09 13:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:56:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:56:04] Production.INFO: Account Balance Start. [2025-03-09 13:56:04] Production.INFO: CreateAllLog Start [2025-03-09 13:56:04] Production.INFO: 117 [2025-03-09 13:56:04] Production.INFO: Date 2025-03-08 [2025-03-09 13:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642629') end [2025-03-09 13:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:56:04] Production.INFO: 1 [2025-03-09 13:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:56:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:56:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:56:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:56:04] Production.INFO: Total Charge 0 [2025-03-09 13:56:04] Production.INFO: CreateAllLog End [2025-03-09 13:56:04] Production.INFO: ==24733== Releasing lock... [2025-03-09 13:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:56:04] Production.ERROR: done [2025-03-09 13:56:04] Production.INFO: ==24725== Releasing lock... [2025-03-09 13:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:56:04] Production.INFO: Account Balance End. [2025-03-09 13:56:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:56:04] Production.INFO: ==24729== Releasing lock... [2025-03-09 13:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:56:05 [end_date_ymd] => 2025-03-09 13:56:05 [RateCDR] => 1 ) [2025-03-09 13:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:56:05' and `end` < '2025-03-09 13:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:56:11] Production.ERROR: CronJobId end10 [2025-03-09 13:56:11] Production.INFO: ==24727== Releasing lock... [2025-03-09 13:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:56:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:56:14] Production.INFO: call_cost start [2025-03-09 13:56:14] Production.INFO: call_cost end [2025-03-09 13:56:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:56:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:56:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:56:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:56:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:56:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:56:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:56:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:56:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:56:15] Production.INFO: ==24723== Releasing lock... [2025-03-09 13:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:56:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:56:17] Production.INFO: count ==816 [2025-03-09 13:56:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:56:05 - End Time 2025-03-09 13:56:05 [2025-03-09 13:56:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642633', 'tblTempUsageDetail_20' ) start [2025-03-09 13:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642633', 'tblTempUsageDetail_20' ) end [2025-03-09 13:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642633', 'tblTempVendorCDR_20' ) start [2025-03-09 13:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642633', 'tblTempVendorCDR_20' ) end [2025-03-09 13:56:17] Production.INFO: ProcessCDR(1,14642633,1,1,2) [2025-03-09 13:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642633', 'tblTempUsageDetail_20' ) start [2025-03-09 13:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642633', 'tblTempUsageDetail_20' ) end [2025-03-09 13:56:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:56:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:56:21] Production.INFO: ==24731== Releasing lock... [2025-03-09 13:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:56:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 17:57:01] Production.INFO: ==24793== Lock acquired, processing the job... [2025-03-09 17:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:57:01] Production.INFO: neon service started [2025-03-09 17:57:01] Production.INFO: neon service started [2025-03-09 17:57:01] Production.INFO: ==24793== Releasing lock... [2025-03-09 17:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 13:57:02] Production.INFO: ==24795== Lock acquired, processing the job... [2025-03-09 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:57:02] Production.INFO: ==24798== Lock acquired, processing the job... [2025-03-09 17:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:57:02] Production.INFO: ==24798== Releasing lock... [2025-03-09 17:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:57:02] Production.INFO: ==24795== Releasing lock... [2025-03-09 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:57:03] Production.INFO: ==24802== Lock acquired, processing the job... [2025-03-09 13:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:57:03] Production.INFO: ==24800== Lock acquired, processing the job... [2025-03-09 13:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:57:03] Production.INFO: ==24810== Lock acquired, processing the job... [2025-03-09 13:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:57:03] Production.INFO: ==24804== Lock acquired, processing the job... [2025-03-09 13:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:57:03] Production.INFO: ==24806== Lock acquired, processing the job... [2025-03-09 13:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:57:03] Production.INFO: count ==13 [2025-03-09 13:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:57:03] Production.INFO: count ==21 [2025-03-09 13:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:57:03] Production.INFO: ==24808== Lock acquired, processing the job... [2025-03-09 13:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642636') start [2025-03-09 13:57:03] Production.INFO: ==24802== Releasing lock... [2025-03-09 13:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:57:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:57:03] Production.INFO: Account Balance Start. [2025-03-09 13:57:03] Production.INFO: CreateAllLog Start [2025-03-09 13:57:03] Production.INFO: 117 [2025-03-09 13:57:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:57:04] Production.INFO: Date 2025-03-09 [2025-03-09 13:57:04] Production.INFO: Reseller ==> 0 [2025-03-09 13:57:04] Production.INFO: Total Charge 0 [2025-03-09 13:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642636') end [2025-03-09 13:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:57:04] Production.INFO: 1 [2025-03-09 13:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:57:04] Production.INFO: CreateAllLog End [2025-03-09 13:57:04] Production.INFO: ==24810== Releasing lock... [2025-03-09 13:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:57:04] Production.INFO: Account Balance End. [2025-03-09 13:57:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:57:04] Production.INFO: ==24806== Releasing lock... [2025-03-09 13:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:57:04] Production.ERROR: done [2025-03-09 13:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:57:04] Production.ERROR: done [2025-03-09 13:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:57:05 [end_date_ymd] => 2025-03-09 13:57:05 [RateCDR] => 1 ) [2025-03-09 13:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:57:05' and `end` < '2025-03-09 13:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:57:12] Production.ERROR: CronJobId end10 [2025-03-09 13:57:12] Production.INFO: ==24804== Releasing lock... [2025-03-09 13:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:57:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:57:15] Production.INFO: call_cost start [2025-03-09 13:57:15] Production.INFO: call_cost end [2025-03-09 13:57:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:57:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:57:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:57:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:57:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:57:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:57:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:57:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:57:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:57:15] Production.INFO: ==24800== Releasing lock... [2025-03-09 13:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:57:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:57:17] Production.INFO: count ==815 [2025-03-09 13:57:18] Production.ERROR: pbx CDR StartTime 2025-03-09 10:57:05 - End Time 2025-03-09 13:57:05 [2025-03-09 13:57:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642638', 'tblTempUsageDetail_20' ) start [2025-03-09 13:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642638', 'tblTempUsageDetail_20' ) end [2025-03-09 13:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642638', 'tblTempVendorCDR_20' ) start [2025-03-09 13:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642638', 'tblTempVendorCDR_20' ) end [2025-03-09 13:57:18] Production.INFO: ProcessCDR(1,14642638,1,1,2) [2025-03-09 13:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642638', 'tblTempUsageDetail_20' ) start [2025-03-09 13:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642638', 'tblTempUsageDetail_20' ) end [2025-03-09 13:57:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:57:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:57:21] Production.INFO: ==24808== Releasing lock... [2025-03-09 13:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:57:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 17:58:01] Production.INFO: ==24863== Lock acquired, processing the job... [2025-03-09 17:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:58:01] Production.INFO: neon service started [2025-03-09 17:58:02] Production.INFO: neon service started [2025-03-09 17:58:02] Production.INFO: ==24863== Releasing lock... [2025-03-09 17:58:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:58:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:58:02] Production.INFO: ==24867== Lock acquired, processing the job... [2025-03-09 17:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:58:02] Production.INFO: ==24867== Releasing lock... [2025-03-09 17:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:58:02] Production.INFO: ==24865== Lock acquired, processing the job... [2025-03-09 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:58:02] Production.INFO: ==24865== Releasing lock... [2025-03-09 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:58:03] Production.INFO: ==24870== Lock acquired, processing the job... [2025-03-09 13:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:58:03] Production.INFO: ==24872== Lock acquired, processing the job... [2025-03-09 13:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:58:03] Production.INFO: ==24880== Lock acquired, processing the job... [2025-03-09 13:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:58:03] Production.INFO: ==24872== Releasing lock... [2025-03-09 13:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:58:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:58:03] Production.INFO: ==24876== Lock acquired, processing the job... [2025-03-09 13:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:58:03] Production.INFO: ==24874== Lock acquired, processing the job... [2025-03-09 13:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:58:03] Production.INFO: ==24878== Lock acquired, processing the job... [2025-03-09 13:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:58:03] Production.INFO: count ==13 [2025-03-09 13:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:58:03] Production.INFO: count ==21 [2025-03-09 13:58:03] Production.INFO: Account Balance Start. [2025-03-09 13:58:03] Production.INFO: CreateAllLog Start [2025-03-09 13:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642641') start [2025-03-09 13:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:58:03] Production.INFO: 117 [2025-03-09 13:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:58:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:58:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:58:03] Production.INFO: Date 2025-03-09 [2025-03-09 13:58:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:58:04] Production.INFO: Total Charge 0 [2025-03-09 13:58:04] Production.INFO: CreateAllLog End [2025-03-09 13:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642641') end [2025-03-09 13:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:58:04] Production.INFO: 1 [2025-03-09 13:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:58:04] Production.INFO: ==24880== Releasing lock... [2025-03-09 13:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:58:04] Production.ERROR: done [2025-03-09 13:58:04] Production.INFO: Account Balance End. [2025-03-09 13:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:58:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:58:04] Production.INFO: ==24876== Releasing lock... [2025-03-09 13:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:58:04] Production.ERROR: done [2025-03-09 13:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:58:05 [end_date_ymd] => 2025-03-09 13:58:05 [RateCDR] => 1 ) [2025-03-09 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-09 10:58:05' and `end` < '2025-03-09 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-09 13:58:11] Production.ERROR: CronJobId end10 [2025-03-09 13:58:11] Production.INFO: ==24874== Releasing lock... [2025-03-09 13:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:58:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:58:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:58:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:58:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:58:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:58:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:58:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:58:14] Production.INFO: call_cost start [2025-03-09 13:58:14] Production.INFO: call_cost end [2025-03-09 13:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:58:15] Production.INFO: ==24870== Releasing lock... [2025-03-09 13:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:58:17] Production.INFO: count ==824 [2025-03-09 13:58:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:58:05 - End Time 2025-03-09 13:58:05 [2025-03-09 13:58:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642643', 'tblTempUsageDetail_20' ) start [2025-03-09 13:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642643', 'tblTempUsageDetail_20' ) end [2025-03-09 13:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642643', 'tblTempVendorCDR_20' ) start [2025-03-09 13:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642643', 'tblTempVendorCDR_20' ) end [2025-03-09 13:58:17] Production.INFO: ProcessCDR(1,14642643,1,1,2) [2025-03-09 13:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642643', 'tblTempUsageDetail_20' ) start [2025-03-09 13:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642643', 'tblTempUsageDetail_20' ) end [2025-03-09 13:58:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:58:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:58:22] Production.INFO: ==24878== Releasing lock... [2025-03-09 13:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:58:22] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 17:59:01] Production.INFO: ==24939== Lock acquired, processing the job... [2025-03-09 17:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 17:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 17:59:01] Production.INFO: neon service started [2025-03-09 17:59:01] Production.INFO: neon service started [2025-03-09 17:59:01] Production.INFO: ==24939== Releasing lock... [2025-03-09 17:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 17:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:59:01] Production.INFO: ==24943== Lock acquired, processing the job... [2025-03-09 17:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:59:01] Production.INFO: ==24943== Releasing lock... [2025-03-09 17:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 17:59:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 13:59:02] Production.INFO: ==24941== Lock acquired, processing the job... [2025-03-09 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 13:59:02] Production.INFO: ==24941== Releasing lock... [2025-03-09 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 13:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 13:59:03] Production.INFO: ==24950== Lock acquired, processing the job... [2025-03-09 13:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 13:59:03] Production.INFO: ==24956== Lock acquired, processing the job... [2025-03-09 13:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 13:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 13:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 13:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 13:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 13:59:03] Production.INFO: ==24946== Lock acquired, processing the job... [2025-03-09 13:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 13:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:59:03] Production.INFO: ==24948== Lock acquired, processing the job... [2025-03-09 13:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 13:59:03] Production.INFO: count ==13 [2025-03-09 13:59:03] Production.INFO: ==24952== Lock acquired, processing the job... [2025-03-09 13:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 13:59:03] Production.INFO: ==24954== Lock acquired, processing the job... [2025-03-09 13:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 13:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 13:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 13:59:03] Production.INFO: count ==21 [2025-03-09 13:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642644') start [2025-03-09 13:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 13:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642644') end [2025-03-09 13:59:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 13:59:03] Production.INFO: 1 [2025-03-09 13:59:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 13:59:03] Production.INFO: Account Balance Start. [2025-03-09 13:59:03] Production.INFO: CreateAllLog Start [2025-03-09 13:59:03] Production.INFO: 117 [2025-03-09 13:59:03] Production.INFO: Date 2025-03-08 [2025-03-09 13:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:59:03] Production.INFO: ==24956== Releasing lock... [2025-03-09 13:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 13:59:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 13:59:03] Production.INFO: Date 2025-03-09 [2025-03-09 13:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 13:59:04] Production.INFO: Total Charge 0 [2025-03-09 13:59:04] Production.INFO: CreateAllLog End [2025-03-09 13:59:04] Production.ERROR: done [2025-03-09 13:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 13:59:04] Production.INFO: ==24948== Releasing lock... [2025-03-09 13:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 13:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 13:59:04] Production.ERROR: done [2025-03-09 13:59:04] Production.INFO: Account Balance End. [2025-03-09 13:59:04] Production.ERROR: CronJobId end 12 [2025-03-09 13:59:04] Production.INFO: ==24952== Releasing lock... [2025-03-09 13:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 13:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 13:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 10:59:05 [end_date_ymd] => 2025-03-09 13:59:05 [RateCDR] => 1 ) [2025-03-09 13:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 10:59:05' and `end` < '2025-03-09 13:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 13:59:11] Production.ERROR: CronJobId end10 [2025-03-09 13:59:11] Production.INFO: ==24950== Releasing lock... [2025-03-09 13:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 13:59:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 13:59:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 13:59:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 13:59:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 13:59:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 13:59:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 13:59:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 13:59:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 13:59:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 13:59:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 13:59:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 13:59:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 13:59:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 13:59:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 13:59:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 13:59:13] Production.INFO: call_cost start [2025-03-09 13:59:13] Production.INFO: call_cost end [2025-03-09 13:59:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 13:59:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 13:59:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 13:59:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 13:59:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 13:59:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 13:59:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 13:59:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 13:59:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 13:59:14] Production.INFO: ==24946== Releasing lock... [2025-03-09 13:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 13:59:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 13:59:17] Production.INFO: count ==822 [2025-03-09 13:59:17] Production.ERROR: pbx CDR StartTime 2025-03-09 10:59:05 - End Time 2025-03-09 13:59:05 [2025-03-09 13:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 13:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642648', 'tblTempUsageDetail_20' ) start [2025-03-09 13:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642648', 'tblTempUsageDetail_20' ) end [2025-03-09 13:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642648', 'tblTempVendorCDR_20' ) start [2025-03-09 13:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642648', 'tblTempVendorCDR_20' ) end [2025-03-09 13:59:17] Production.INFO: ProcessCDR(1,14642648,1,1,2) [2025-03-09 13:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 13:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 13:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642648', 'tblTempUsageDetail_20' ) start [2025-03-09 13:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642648', 'tblTempUsageDetail_20' ) end [2025-03-09 13:59:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 13:59:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 13:59:22] Production.INFO: ==24954== Releasing lock... [2025-03-09 13:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 13:59:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 18:00:01] Production.INFO: ==25012== Lock acquired, processing the job... [2025-03-09 18:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:00:02] Production.INFO: neon service started [2025-03-09 18:00:02] Production.INFO: neon service started [2025-03-09 18:00:02] Production.INFO: ==25012== Releasing lock... [2025-03-09 18:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:00:02] Production.INFO: ==25015== Lock acquired, processing the job... [2025-03-09 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:00:02] Production.INFO: ==25017== Lock acquired, processing the job... [2025-03-09 18:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:00:02] Production.INFO: ==25015== Releasing lock... [2025-03-09 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:00:02] Production.INFO: ==25017== Releasing lock... [2025-03-09 18:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:00:04] Production.INFO: ==25023== Lock acquired, processing the job... [2025-03-09 14:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:00:04] Production.INFO: ==25029== Lock acquired, processing the job... [2025-03-09 14:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:00:04] Production.INFO: ==25027== Lock acquired, processing the job... [2025-03-09 14:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:00:04] Production.INFO: ==25021== Lock acquired, processing the job... [2025-03-09 14:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:00:04] Production.INFO: ==25019== Lock acquired, processing the job... [2025-03-09 14:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 14:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:00:04] Production.INFO: ==25025== Lock acquired, processing the job... [2025-03-09 14:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:00:04] Production.INFO: ==25023== Releasing lock... [2025-03-09 14:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:00:04] Production.INFO: ==25031== Lock acquired, processing the job... [2025-03-09 14:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 14:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 14:00:04] Production.INFO: Account Balance Start. [2025-03-09 14:00:04] Production.INFO: CreateAllLog Start [2025-03-09 14:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 14:00:04] Production.ERROR: CronJob PID - 25021 [2025-03-09 14:00:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 14:00:04] Production.ERROR: CronJob ID - 5 [2025-03-09 14:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 14:00:00 [2025-03-09 14:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 14:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 14:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 14:00:04] Production.ERROR: CronJob PID - 25025 [2025-03-09 14:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 14:00:04] Production.ERROR: CronJob ID - 10 [2025-03-09 14:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 14:00:00 [2025-03-09 14:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 14:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 14:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 14:00:04] Production.ERROR: CronJob PID - 25027 [2025-03-09 14:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 14:00:04] Production.ERROR: CronJob ID - 12 [2025-03-09 14:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 14:00:00 [2025-03-09 14:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 14:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 14:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 14:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:00:04] Production.ERROR: CronJob PID - 25029 [2025-03-09 14:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 14:00:04] Production.ERROR: CronJob ID - 16 [2025-03-09 14:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 14:00:00 [2025-03-09 14:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 14:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 14:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:00:04] Production.INFO: 117 [2025-03-09 14:00:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:00:04] Production.INFO: ==25034== Lock acquired, processing the job... [2025-03-09 14:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 14:00:04] Production.INFO: ==25019== Releasing lock... [2025-03-09 14:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 14:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 14:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:00:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:00:04] Production.ERROR: done [2025-03-09 14:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:00:04] Production.INFO: Total Charge 0 [2025-03-09 14:00:04] Production.INFO: CreateAllLog End [2025-03-09 14:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:00:04] Production.INFO: count ==13 [2025-03-09 14:00:04] Production.ERROR: done [2025-03-09 14:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:00:04] Production.INFO: count ==21 [2025-03-09 14:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642652') start [2025-03-09 14:00:04] Production.INFO: Account Balance End. [2025-03-09 14:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642652') end [2025-03-09 14:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:00:04] Production.INFO: 1 [2025-03-09 14:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:00:05] Production.ERROR: CronJobId end 12 [2025-03-09 14:00:05] Production.INFO: ==25027== Releasing lock... [2025-03-09 14:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:00:05] Production.INFO: ==25034== Releasing lock... [2025-03-09 14:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:00:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:00:05] Production.ERROR: done [2025-03-09 14:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 14:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642654', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 14:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:00:06 [end_date_ymd] => 2025-03-09 14:00:06 [RateCDR] => 1 ) [2025-03-09 14:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:00:06' and `end` < '2025-03-09 14:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642654', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 14:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 14:00:09] Production.INFO: ProcessCDR(1,14642654,1,1,2) [2025-03-09 14:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14642654,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14642654,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:00:09] Production.INFO: ==25031== Releasing lock... [2025-03-09 14:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 14:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 14:00:14] Production.ERROR: CronJobId end10 [2025-03-09 14:00:14] Production.INFO: ==25025== Releasing lock... [2025-03-09 14:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:00:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:00:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:00:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:00:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:00:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:00:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:00:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:00:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:00:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:00:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:00:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:00:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:00:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:00:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:00:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:00:16] Production.INFO: call_cost start [2025-03-09 14:00:16] Production.INFO: call_cost end [2025-03-09 14:00:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:00:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:00:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:00:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:00:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:00:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:00:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:00:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:00:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:00:17] Production.INFO: ==25021== Releasing lock... [2025-03-09 14:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:00:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:00:18] Production.INFO: count ==824 [2025-03-09 14:00:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:00:06 - End Time 2025-03-09 14:00:06 [2025-03-09 14:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642653', 'tblTempUsageDetail_20' ) start [2025-03-09 14:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642653', 'tblTempUsageDetail_20' ) end [2025-03-09 14:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642653', 'tblTempVendorCDR_20' ) start [2025-03-09 14:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642653', 'tblTempVendorCDR_20' ) end [2025-03-09 14:00:18] Production.INFO: ProcessCDR(1,14642653,1,1,2) [2025-03-09 14:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642653', 'tblTempUsageDetail_20' ) start [2025-03-09 14:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642653', 'tblTempUsageDetail_20' ) end [2025-03-09 14:00:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:00:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:00:23] Production.INFO: ==25029== Releasing lock... [2025-03-09 14:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:00:23] Production.INFO: 35 MB #Memory Used# [2025-03-09 18:01:01] Production.INFO: ==25091== Lock acquired, processing the job... [2025-03-09 18:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:01:01] Production.INFO: neon service started [2025-03-09 18:01:01] Production.INFO: neon service started [2025-03-09 18:01:01] Production.INFO: ==25091== Releasing lock... [2025-03-09 18:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:01:02] Production.INFO: ==25101== Lock acquired, processing the job... [2025-03-09 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:01:02] Production.INFO: ==25103== Lock acquired, processing the job... [2025-03-09 18:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:01:02] Production.INFO: ==25103== Releasing lock... [2025-03-09 18:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:01:02] Production.INFO: ==25101== Releasing lock... [2025-03-09 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:01:03] Production.INFO: ==25106== Lock acquired, processing the job... [2025-03-09 14:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:01:03] Production.INFO: ==25114== Lock acquired, processing the job... [2025-03-09 14:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:01:03] Production.INFO: ==25108== Lock acquired, processing the job... [2025-03-09 14:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:01:03] Production.INFO: ==25110== Lock acquired, processing the job... [2025-03-09 14:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:01:03] Production.INFO: ==25112== Lock acquired, processing the job... [2025-03-09 14:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:01:03] Production.INFO: ==25116== Lock acquired, processing the job... [2025-03-09 14:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:01:03] Production.ERROR: done [2025-03-09 14:01:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:01:04] Production.INFO: Account Balance Start. [2025-03-09 14:01:04] Production.INFO: CreateAllLog Start [2025-03-09 14:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:01:04] Production.INFO: 117 [2025-03-09 14:01:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:01:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:01:04] Production.INFO: count ==13 [2025-03-09 14:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:01:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:01:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:01:04] Production.INFO: count ==21 [2025-03-09 14:01:04] Production.ERROR: done [2025-03-09 14:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642657') start [2025-03-09 14:01:04] Production.INFO: ==25108== Releasing lock... [2025-03-09 14:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:01:04] Production.INFO: Total Charge 0 [2025-03-09 14:01:04] Production.INFO: CreateAllLog End [2025-03-09 14:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642657') end [2025-03-09 14:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:01:04] Production.INFO: 1 [2025-03-09 14:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:01:04] Production.INFO: ==25116== Releasing lock... [2025-03-09 14:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:01:04] Production.INFO: Account Balance End. [2025-03-09 14:01:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:01:04] Production.INFO: ==25112== Releasing lock... [2025-03-09 14:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:01:05 [end_date_ymd] => 2025-03-09 14:01:05 [RateCDR] => 1 ) [2025-03-09 14:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:01:05' and `end` < '2025-03-09 14:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:01:12] Production.ERROR: CronJobId end10 [2025-03-09 14:01:12] Production.INFO: ==25110== Releasing lock... [2025-03-09 14:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:01:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:01:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:01:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:01:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:01:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:01:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:01:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:01:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:01:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:01:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:01:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:01:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:01:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:01:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:01:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:01:14] Production.INFO: call_cost start [2025-03-09 14:01:14] Production.INFO: call_cost end [2025-03-09 14:01:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:01:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:01:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:01:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:01:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:01:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:01:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:01:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:01:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:01:15] Production.INFO: ==25106== Releasing lock... [2025-03-09 14:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:01:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:01:17] Production.INFO: count ==829 [2025-03-09 14:01:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:01:05 - End Time 2025-03-09 14:01:05 [2025-03-09 14:01:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642659', 'tblTempUsageDetail_20' ) start [2025-03-09 14:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642659', 'tblTempUsageDetail_20' ) end [2025-03-09 14:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642659', 'tblTempVendorCDR_20' ) start [2025-03-09 14:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642659', 'tblTempVendorCDR_20' ) end [2025-03-09 14:01:17] Production.INFO: ProcessCDR(1,14642659,1,1,2) [2025-03-09 14:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:01:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642659', 'tblTempUsageDetail_20' ) start [2025-03-09 14:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642659', 'tblTempUsageDetail_20' ) end [2025-03-09 14:01:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:01:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:01:20] Production.INFO: ==25114== Releasing lock... [2025-03-09 14:01:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:01:20] Production.INFO: 35 MB #Memory Used# [2025-03-09 18:02:01] Production.INFO: ==25172== Lock acquired, processing the job... [2025-03-09 18:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:02:01] Production.INFO: neon service started [2025-03-09 18:02:01] Production.INFO: neon service started [2025-03-09 18:02:01] Production.INFO: ==25172== Releasing lock... [2025-03-09 18:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:02:02] Production.INFO: ==25174== Lock acquired, processing the job... [2025-03-09 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:02:02] Production.INFO: ==25174== Releasing lock... [2025-03-09 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:02:02] Production.INFO: ==25176== Lock acquired, processing the job... [2025-03-09 18:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:02:02] Production.INFO: ==25176== Releasing lock... [2025-03-09 18:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:02:03] Production.INFO: ==25178== Lock acquired, processing the job... [2025-03-09 14:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:02:03] Production.INFO: ==25188== Lock acquired, processing the job... [2025-03-09 14:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:02:03] Production.INFO: ==25180== Lock acquired, processing the job... [2025-03-09 14:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:02:03] Production.INFO: ==25182== Lock acquired, processing the job... [2025-03-09 14:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:02:03] Production.INFO: count ==13 [2025-03-09 14:02:03] Production.INFO: ==25184== Lock acquired, processing the job... [2025-03-09 14:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:02:03] Production.INFO: count ==21 [2025-03-09 14:02:03] Production.INFO: ==25186== Lock acquired, processing the job... [2025-03-09 14:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642660') start [2025-03-09 14:02:03] Production.INFO: Account Balance Start. [2025-03-09 14:02:03] Production.INFO: CreateAllLog Start [2025-03-09 14:02:03] Production.INFO: 117 [2025-03-09 14:02:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642660') end [2025-03-09 14:02:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:02:03] Production.INFO: 1 [2025-03-09 14:02:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:02:03] Production.INFO: ==25188== Releasing lock... [2025-03-09 14:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:02:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:02:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:02:04] Production.INFO: ==25180== Releasing lock... [2025-03-09 14:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:02:04] Production.INFO: Total Charge 0 [2025-03-09 14:02:04] Production.INFO: CreateAllLog End [2025-03-09 14:02:04] Production.ERROR: done [2025-03-09 14:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:02:04] Production.ERROR: done [2025-03-09 14:02:04] Production.INFO: Account Balance End. [2025-03-09 14:02:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:02:04] Production.INFO: ==25184== Releasing lock... [2025-03-09 14:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:02:05 [end_date_ymd] => 2025-03-09 14:02:05 [RateCDR] => 1 ) [2025-03-09 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-09 11:02:05' and `end` < '2025-03-09 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-09 14:02:11] Production.ERROR: CronJobId end10 [2025-03-09 14:02:11] Production.INFO: ==25182== Releasing lock... [2025-03-09 14:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:02:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:02:15] Production.INFO: call_cost start [2025-03-09 14:02:15] Production.INFO: call_cost end [2025-03-09 14:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:02:15] Production.INFO: ==25178== Releasing lock... [2025-03-09 14:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:02:17] Production.INFO: count ==824 [2025-03-09 14:02:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:02:05 - End Time 2025-03-09 14:02:05 [2025-03-09 14:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642664', 'tblTempUsageDetail_20' ) start [2025-03-09 14:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642664', 'tblTempUsageDetail_20' ) end [2025-03-09 14:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642664', 'tblTempVendorCDR_20' ) start [2025-03-09 14:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642664', 'tblTempVendorCDR_20' ) end [2025-03-09 14:02:18] Production.INFO: ProcessCDR(1,14642664,1,1,2) [2025-03-09 14:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642664', 'tblTempUsageDetail_20' ) start [2025-03-09 14:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642664', 'tblTempUsageDetail_20' ) end [2025-03-09 14:02:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:02:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:02:21] Production.INFO: ==25186== Releasing lock... [2025-03-09 14:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:02:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 18:03:01] Production.INFO: ==25242== Lock acquired, processing the job... [2025-03-09 18:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:03:01] Production.INFO: neon service started [2025-03-09 18:03:01] Production.INFO: neon service started [2025-03-09 18:03:01] Production.INFO: ==25242== Releasing lock... [2025-03-09 18:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:03:01] Production.INFO: ==25246== Lock acquired, processing the job... [2025-03-09 18:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:03:01] Production.INFO: ==25246== Releasing lock... [2025-03-09 18:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:03:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:03:01] Production.INFO: ==25244== Lock acquired, processing the job... [2025-03-09 14:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:03:02] Production.INFO: ==25244== Releasing lock... [2025-03-09 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:03:03] Production.INFO: ==25255== Lock acquired, processing the job... [2025-03-09 14:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:03:03] Production.INFO: ==25259== Lock acquired, processing the job... [2025-03-09 14:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:03:03] Production.INFO: ==25253== Lock acquired, processing the job... [2025-03-09 14:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:03:03] Production.INFO: ==25251== Lock acquired, processing the job... [2025-03-09 14:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:03:03] Production.INFO: ==25257== Lock acquired, processing the job... [2025-03-09 14:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:03:03] Production.INFO: ==25261== Lock acquired, processing the job... [2025-03-09 14:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:03:03] Production.INFO: Account Balance Start. [2025-03-09 14:03:03] Production.INFO: CreateAllLog Start [2025-03-09 14:03:03] Production.INFO: 117 [2025-03-09 14:03:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:03:03] Production.INFO: count ==13 [2025-03-09 14:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:03:03] Production.INFO: count ==21 [2025-03-09 14:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642668') start [2025-03-09 14:03:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:03:03] Production.INFO: Total Charge 0 [2025-03-09 14:03:03] Production.INFO: ==25253== Releasing lock... [2025-03-09 14:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:03:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:03:03] Production.INFO: CreateAllLog End [2025-03-09 14:03:04] Production.ERROR: done [2025-03-09 14:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642668') end [2025-03-09 14:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:03:04] Production.INFO: 1 [2025-03-09 14:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:03:04] Production.INFO: ==25261== Releasing lock... [2025-03-09 14:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:03:04] Production.ERROR: done [2025-03-09 14:03:04] Production.INFO: Account Balance End. [2025-03-09 14:03:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:03:04] Production.INFO: ==25257== Releasing lock... [2025-03-09 14:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:03:05 [end_date_ymd] => 2025-03-09 14:03:05 [RateCDR] => 1 ) [2025-03-09 14:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:03:05' and `end` < '2025-03-09 14:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:03:12] Production.ERROR: CronJobId end10 [2025-03-09 14:03:12] Production.INFO: ==25255== Releasing lock... [2025-03-09 14:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:03:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:03:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:03:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:03:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:03:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:03:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:03:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:03:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:03:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:03:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:03:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:03:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:03:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:03:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:03:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:03:15] Production.INFO: call_cost start [2025-03-09 14:03:15] Production.INFO: call_cost end [2025-03-09 14:03:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:03:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:03:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:03:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:03:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:03:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:03:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:03:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:03:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:03:16] Production.INFO: ==25251== Releasing lock... [2025-03-09 14:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:03:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:03:17] Production.INFO: count ==824 [2025-03-09 14:03:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:03:05 - End Time 2025-03-09 14:03:05 [2025-03-09 14:03:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642669', 'tblTempUsageDetail_20' ) start [2025-03-09 14:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642669', 'tblTempUsageDetail_20' ) end [2025-03-09 14:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642669', 'tblTempVendorCDR_20' ) start [2025-03-09 14:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642669', 'tblTempVendorCDR_20' ) end [2025-03-09 14:03:17] Production.INFO: ProcessCDR(1,14642669,1,1,2) [2025-03-09 14:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642669', 'tblTempUsageDetail_20' ) start [2025-03-09 14:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642669', 'tblTempUsageDetail_20' ) end [2025-03-09 14:03:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:03:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:03:21] Production.INFO: ==25259== Releasing lock... [2025-03-09 14:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:03:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 18:04:01] Production.INFO: ==25343== Lock acquired, processing the job... [2025-03-09 18:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:04:01] Production.INFO: neon service started [2025-03-09 18:04:01] Production.INFO: neon service started [2025-03-09 18:04:01] Production.INFO: ==25343== Releasing lock... [2025-03-09 18:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:04:02] Production.INFO: ==25347== Lock acquired, processing the job... [2025-03-09 18:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:04:02] Production.INFO: ==25347== Releasing lock... [2025-03-09 18:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:04:02] Production.INFO: 26 MB #Memory Used# [2025-03-09 14:04:02] Production.INFO: ==25345== Lock acquired, processing the job... [2025-03-09 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:04:02] Production.INFO: ==25345== Releasing lock... [2025-03-09 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:04:03] Production.INFO: ==25350== Lock acquired, processing the job... [2025-03-09 14:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:04:03] Production.INFO: ==25352== Lock acquired, processing the job... [2025-03-09 14:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:04:03] Production.INFO: ==25354== Lock acquired, processing the job... [2025-03-09 14:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:04:03] Production.INFO: ==25358== Lock acquired, processing the job... [2025-03-09 14:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:04:03] Production.INFO: ==25360== Lock acquired, processing the job... [2025-03-09 14:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:04:03] Production.INFO: ==25356== Lock acquired, processing the job... [2025-03-09 14:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:04:03] Production.INFO: ==25352== Releasing lock... [2025-03-09 14:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:04:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:04:04] Production.INFO: Account Balance Start. [2025-03-09 14:04:04] Production.INFO: CreateAllLog Start [2025-03-09 14:04:04] Production.INFO: 117 [2025-03-09 14:04:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:04:04] Production.INFO: count ==13 [2025-03-09 14:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:04:04] Production.INFO: count ==21 [2025-03-09 14:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642672') start [2025-03-09 14:04:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:04:04] Production.INFO: Total Charge 0 [2025-03-09 14:04:04] Production.INFO: CreateAllLog End [2025-03-09 14:04:04] Production.ERROR: done [2025-03-09 14:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642672') end [2025-03-09 14:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:04:04] Production.INFO: 1 [2025-03-09 14:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:04:04] Production.INFO: ==25360== Releasing lock... [2025-03-09 14:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:04:04] Production.ERROR: done [2025-03-09 14:04:04] Production.INFO: Account Balance End. [2025-03-09 14:04:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:04:04] Production.INFO: ==25356== Releasing lock... [2025-03-09 14:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:04:05 [end_date_ymd] => 2025-03-09 14:04:05 [RateCDR] => 1 ) [2025-03-09 14:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:04:05' and `end` < '2025-03-09 14:04:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:04:11] Production.ERROR: CronJobId end10 [2025-03-09 14:04:11] Production.INFO: ==25354== Releasing lock... [2025-03-09 14:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:04:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:04:14] Production.INFO: call_cost start [2025-03-09 14:04:14] Production.INFO: call_cost end [2025-03-09 14:04:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:04:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:04:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:04:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:04:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:04:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:04:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:04:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:04:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:04:15] Production.INFO: ==25350== Releasing lock... [2025-03-09 14:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:04:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:04:17] Production.INFO: count ==826 [2025-03-09 14:04:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:04:05 - End Time 2025-03-09 14:04:05 [2025-03-09 14:04:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642674', 'tblTempUsageDetail_20' ) start [2025-03-09 14:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642674', 'tblTempUsageDetail_20' ) end [2025-03-09 14:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642674', 'tblTempVendorCDR_20' ) start [2025-03-09 14:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642674', 'tblTempVendorCDR_20' ) end [2025-03-09 14:04:17] Production.INFO: ProcessCDR(1,14642674,1,1,2) [2025-03-09 14:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642674', 'tblTempUsageDetail_20' ) start [2025-03-09 14:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642674', 'tblTempUsageDetail_20' ) end [2025-03-09 14:04:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:04:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:04:23] Production.INFO: ==25358== Releasing lock... [2025-03-09 14:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:04:23] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 18:05:02] Production.INFO: ==25452== Lock acquired, processing the job... [2025-03-09 18:05:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:05:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:05:02] Production.INFO: neon service started [2025-03-09 18:05:02] Production.INFO: neon service started [2025-03-09 18:05:02] Production.INFO: ==25452== Releasing lock... [2025-03-09 18:05:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:05:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:05:02] Production.INFO: ==25456== Lock acquired, processing the job... [2025-03-09 18:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:05:02] Production.INFO: ==25456== Releasing lock... [2025-03-09 18:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:05:02] Production.INFO: ==25454== Lock acquired, processing the job... [2025-03-09 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:05:03] Production.INFO: ==25454== Releasing lock... [2025-03-09 14:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:05:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:05:03] Production.INFO: ==25466== Lock acquired, processing the job... [2025-03-09 14:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:05:04] Production.INFO: Account Balance Start. [2025-03-09 14:05:04] Production.INFO: CreateAllLog Start [2025-03-09 14:05:04] Production.INFO: 117 [2025-03-09 14:05:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:05:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:05:04] Production.INFO: ==25470== Lock acquired, processing the job... [2025-03-09 14:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:05:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:05:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:05:04] Production.INFO: Total Charge 0 [2025-03-09 14:05:04] Production.INFO: CreateAllLog End [2025-03-09 14:05:04] Production.INFO: ==25460== Lock acquired, processing the job... [2025-03-09 14:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:05:04] Production.INFO: ==25462== Lock acquired, processing the job... [2025-03-09 14:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 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-09 14:05:04] Production.INFO: ==25464== Lock acquired, processing the job... [2025-03-09 14:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:05:04] Production.INFO: count ==13 [2025-03-09 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-09 14:05:04] Production.INFO: count ==21 [2025-03-09 14:05:04] Production.INFO: ==25468== Lock acquired, processing the job... [2025-03-09 14:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:05:04] Production.INFO: Account Balance End. [2025-03-09 14:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642676') start [2025-03-09 14:05:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:05:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:05:04] Production.INFO: ==25466== Releasing lock... [2025-03-09 14:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:05:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642676') end [2025-03-09 14:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:05:04] Production.INFO: 1 [2025-03-09 14:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:05:04] Production.INFO: ==25470== Releasing lock... [2025-03-09 14:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:05:04] Production.INFO: ==25462== Releasing lock... [2025-03-09 14:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:05:04] Production.ERROR: done [2025-03-09 14:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:05:05] Production.ERROR: done [2025-03-09 14:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:05:05 [end_date_ymd] => 2025-03-09 14:05:05 [RateCDR] => 1 ) [2025-03-09 14:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:05:05' and `end` < '2025-03-09 14:05:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:05: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-09 14:05:12] Production.ERROR: CronJobId end10 [2025-03-09 14:05:12] Production.INFO: ==25464== Releasing lock... [2025-03-09 14:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:05:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:05:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:05:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:05:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:05:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:05:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:05:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:05:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:05:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:05:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:05:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:05:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:05:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:05:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:05:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:05:15] Production.INFO: call_cost start [2025-03-09 14:05:15] Production.INFO: call_cost end [2025-03-09 14:05:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:05:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:05:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:05:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:05:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:05:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:05:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:05:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:05:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:05:16] Production.INFO: ==25460== Releasing lock... [2025-03-09 14:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:05:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:05:18] Production.INFO: count ==826 [2025-03-09 14:05:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:05:05 - End Time 2025-03-09 14:05:05 [2025-03-09 14:05:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642679', 'tblTempUsageDetail_20' ) start [2025-03-09 14:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642679', 'tblTempUsageDetail_20' ) end [2025-03-09 14:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642679', 'tblTempVendorCDR_20' ) start [2025-03-09 14:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642679', 'tblTempVendorCDR_20' ) end [2025-03-09 14:05:18] Production.INFO: ProcessCDR(1,14642679,1,1,2) [2025-03-09 14:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642679', 'tblTempUsageDetail_20' ) start [2025-03-09 14:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642679', 'tblTempUsageDetail_20' ) end [2025-03-09 14:05:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:05:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:05:21] Production.INFO: ==25468== Releasing lock... [2025-03-09 14:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:05:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 18:06:01] Production.INFO: ==25523== Lock acquired, processing the job... [2025-03-09 18:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:06:01] Production.INFO: neon service started [2025-03-09 18:06:01] Production.INFO: neon service started [2025-03-09 18:06:01] Production.INFO: ==25523== Releasing lock... [2025-03-09 18:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:06:02] Production.INFO: ==25527== Lock acquired, processing the job... [2025-03-09 18:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:06:02] Production.INFO: ==25527== Releasing lock... [2025-03-09 18:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:06:02] Production.INFO: ==25525== Lock acquired, processing the job... [2025-03-09 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:06:02] Production.INFO: ==25525== Releasing lock... [2025-03-09 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:06:03] Production.INFO: ==25536== Lock acquired, processing the job... [2025-03-09 14:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:06:03] Production.INFO: ==25532== Lock acquired, processing the job... [2025-03-09 14:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:06:03] Production.INFO: Account Balance Start. [2025-03-09 14:06:03] Production.INFO: CreateAllLog Start [2025-03-09 14:06:03] Production.INFO: 117 [2025-03-09 14:06:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:06:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:06:03] Production.INFO: ==25530== Lock acquired, processing the job... [2025-03-09 14:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:06:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:06:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:06:03] Production.INFO: Total Charge 0 [2025-03-09 14:06:03] Production.INFO: CreateAllLog End [2025-03-09 14:06:03] Production.INFO: ==25534== Lock acquired, processing the job... [2025-03-09 14:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:06:03] Production.INFO: Account Balance End. [2025-03-09 14:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:06:03] Production.ERROR: CronJobId end 12 [2025-03-09 14:06:03] Production.INFO: ==25536== Releasing lock... [2025-03-09 14:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:06:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:06:03] Production.INFO: ==25532== Releasing lock... [2025-03-09 14:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:06:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:06:03] Production.INFO: ==25538== Lock acquired, processing the job... [2025-03-09 14:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:06:03] Production.INFO: ==25540== Lock acquired, processing the job... [2025-03-09 14:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:06:04] Production.INFO: count ==13 [2025-03-09 14:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:06:04] Production.INFO: count ==21 [2025-03-09 14:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642683') start [2025-03-09 14:06:04] Production.ERROR: done [2025-03-09 14:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642683') end [2025-03-09 14:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:06:04] Production.INFO: 1 [2025-03-09 14:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:06:04] Production.INFO: ==25540== Releasing lock... [2025-03-09 14:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:06:04] Production.ERROR: done [2025-03-09 14:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:06:05 [end_date_ymd] => 2025-03-09 14:06:05 [RateCDR] => 1 ) [2025-03-09 14:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:06:05' and `end` < '2025-03-09 14:06:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:06:12] Production.ERROR: CronJobId end10 [2025-03-09 14:06:12] Production.INFO: ==25534== Releasing lock... [2025-03-09 14:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:06:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:06:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:06:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:06:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:06:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:06:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:06:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:06:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:06:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:06:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:06:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:06:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:06:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:06:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:06:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:06:14] Production.INFO: call_cost start [2025-03-09 14:06:14] Production.INFO: call_cost end [2025-03-09 14:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:06:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:06:15] Production.INFO: ==25530== Releasing lock... [2025-03-09 14:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:06:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:06:17] Production.INFO: count ==826 [2025-03-09 14:06:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:06:05 - End Time 2025-03-09 14:06:05 [2025-03-09 14:06:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642684', 'tblTempUsageDetail_20' ) start [2025-03-09 14:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642684', 'tblTempUsageDetail_20' ) end [2025-03-09 14:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642684', 'tblTempVendorCDR_20' ) start [2025-03-09 14:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642684', 'tblTempVendorCDR_20' ) end [2025-03-09 14:06:17] Production.INFO: ProcessCDR(1,14642684,1,1,2) [2025-03-09 14:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:06:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:06:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:06:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:06:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642684', 'tblTempUsageDetail_20' ) start [2025-03-09 14:06:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642684', 'tblTempUsageDetail_20' ) end [2025-03-09 14:06:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:06:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:06:20] Production.INFO: ==25538== Releasing lock... [2025-03-09 14:06:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:06:20] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 18:07:02] Production.INFO: ==25598== Lock acquired, processing the job... [2025-03-09 18:07:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:07:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:07:02] Production.INFO: neon service started [2025-03-09 18:07:02] Production.INFO: neon service started [2025-03-09 18:07:02] Production.INFO: ==25598== Releasing lock... [2025-03-09 18:07:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:07:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:07:02] Production.INFO: ==25600== Lock acquired, processing the job... [2025-03-09 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:07:02] Production.INFO: ==25600== Releasing lock... [2025-03-09 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:07:02] Production.INFO: ==25602== Lock acquired, processing the job... [2025-03-09 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:07:03] Production.INFO: ==25602== Releasing lock... [2025-03-09 18:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:07:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:07:03] Production.INFO: ==25606== Lock acquired, processing the job... [2025-03-09 14:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:07:03] Production.INFO: ==25604== Lock acquired, processing the job... [2025-03-09 14:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:07:03] Production.INFO: ==25614== Lock acquired, processing the job... [2025-03-09 14:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:07:03] Production.INFO: ==25606== Releasing lock... [2025-03-09 14:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:07:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:07:04] Production.INFO: ==25608== Lock acquired, processing the job... [2025-03-09 14:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:07:04] Production.INFO: ==25610== Lock acquired, processing the job... [2025-03-09 14:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:07:04] Production.INFO: count ==13 [2025-03-09 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-09 14:07:04] Production.INFO: count ==21 [2025-03-09 14:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642687') start [2025-03-09 14:07:04] Production.INFO: Account Balance Start. [2025-03-09 14:07:04] Production.INFO: CreateAllLog Start [2025-03-09 14:07:04] Production.INFO: 117 [2025-03-09 14:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:07:04] Production.INFO: ==25612== Lock acquired, processing the job... [2025-03-09 14:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:07:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:07:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:07:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642687') end [2025-03-09 14:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:07:04] Production.INFO: 1 [2025-03-09 14:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:07:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:07:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:07:04] Production.INFO: Total Charge 0 [2025-03-09 14:07:04] Production.INFO: CreateAllLog End [2025-03-09 14:07:04] Production.INFO: ==25614== Releasing lock... [2025-03-09 14:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:07:04] Production.ERROR: done [2025-03-09 14:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:07:04] Production.INFO: Account Balance End. [2025-03-09 14:07:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:07:04] Production.INFO: ==25610== Releasing lock... [2025-03-09 14:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:07:04] Production.ERROR: done [2025-03-09 14:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:07:05 [end_date_ymd] => 2025-03-09 14:07:05 [RateCDR] => 1 ) [2025-03-09 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-09 11:07:05' and `end` < '2025-03-09 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-09 14:07:12] Production.ERROR: CronJobId end10 [2025-03-09 14:07:12] Production.INFO: ==25608== Releasing lock... [2025-03-09 14:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:07:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:07:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:07:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:07:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:07:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:07:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:07:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:07:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:07:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:07:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:07:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:07:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:07:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:07:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:07:14] Production.INFO: call_cost start [2025-03-09 14:07:14] Production.INFO: call_cost end [2025-03-09 14:07:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:07:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:07:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:07:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:07:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:07:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:07:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:07:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:07:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:07:15] Production.INFO: ==25604== Releasing lock... [2025-03-09 14:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:07:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:07:18] Production.INFO: count ==830 [2025-03-09 14:07:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:07:05 - End Time 2025-03-09 14:07:05 [2025-03-09 14:07:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642689', 'tblTempUsageDetail_20' ) start [2025-03-09 14:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642689', 'tblTempUsageDetail_20' ) end [2025-03-09 14:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642689', 'tblTempVendorCDR_20' ) start [2025-03-09 14:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642689', 'tblTempVendorCDR_20' ) end [2025-03-09 14:07:18] Production.INFO: ProcessCDR(1,14642689,1,1,2) [2025-03-09 14:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642689', 'tblTempUsageDetail_20' ) start [2025-03-09 14:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642689', 'tblTempUsageDetail_20' ) end [2025-03-09 14:07:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:07:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:07:23] Production.INFO: ==25612== Releasing lock... [2025-03-09 14:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:07:23] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 18:08:01] Production.INFO: ==25678== Lock acquired, processing the job... [2025-03-09 18:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:08:01] Production.INFO: neon service started [2025-03-09 18:08:01] Production.INFO: neon service started [2025-03-09 18:08:01] Production.INFO: ==25678== Releasing lock... [2025-03-09 18:08:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:08:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:08:02] Production.INFO: ==25682== Lock acquired, processing the job... [2025-03-09 18:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:08:02] Production.INFO: ==25682== Releasing lock... [2025-03-09 18:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:08:02] Production.INFO: ==25680== Lock acquired, processing the job... [2025-03-09 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:08:02] Production.INFO: ==25680== Releasing lock... [2025-03-09 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:08:03] Production.INFO: ==25694== Lock acquired, processing the job... [2025-03-09 14:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:08:03] Production.INFO: ==25696== Lock acquired, processing the job... [2025-03-09 14:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:08:04] Production.INFO: ==25686== Lock acquired, processing the job... [2025-03-09 14:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:08:04] Production.INFO: ==25688== Lock acquired, processing the job... [2025-03-09 14:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:08:04] Production.INFO: ==25690== Lock acquired, processing the job... [2025-03-09 14:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:08:04] Production.INFO: count ==13 [2025-03-09 14:08:04] Production.INFO: ==25692== Lock acquired, processing the job... [2025-03-09 14:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:08:04] Production.INFO: count ==21 [2025-03-09 14:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642690') start [2025-03-09 14:08:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642690') end [2025-03-09 14:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:08:04] Production.INFO: 1 [2025-03-09 14:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:08:04] Production.INFO: Account Balance Start. [2025-03-09 14:08:04] Production.INFO: CreateAllLog Start [2025-03-09 14:08:04] Production.INFO: 117 [2025-03-09 14:08:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:08:04] Production.ERROR: done [2025-03-09 14:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:08:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:08:04] Production.INFO: ==25696== Releasing lock... [2025-03-09 14:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:08:04] Production.INFO: ==25688== Releasing lock... [2025-03-09 14:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:08:04] Production.INFO: Total Charge 0 [2025-03-09 14:08:04] Production.INFO: CreateAllLog End [2025-03-09 14:08:04] Production.ERROR: done [2025-03-09 14:08:05] Production.INFO: Account Balance End. [2025-03-09 14:08:05] Production.ERROR: CronJobId end 12 [2025-03-09 14:08:05] Production.INFO: ==25692== Releasing lock... [2025-03-09 14:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:08:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:08:05 [end_date_ymd] => 2025-03-09 14:08:05 [RateCDR] => 1 ) [2025-03-09 14:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:08:05' and `end` < '2025-03-09 14:08:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:08:12] Production.ERROR: CronJobId end10 [2025-03-09 14:08:12] Production.INFO: ==25690== Releasing lock... [2025-03-09 14:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:08:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:08:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:08:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:08:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:08:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:08:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:08:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:08:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:08:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:08:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:08:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:08:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:08:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:08:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:08:15] Production.INFO: call_cost start [2025-03-09 14:08:15] Production.INFO: call_cost end [2025-03-09 14:08:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:08:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:08:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:08:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:08:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:08:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:08:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:08:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:08:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:08:16] Production.INFO: ==25686== Releasing lock... [2025-03-09 14:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:08:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:08:18] Production.INFO: count ==831 [2025-03-09 14:08:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:08:05 - End Time 2025-03-09 14:08:05 [2025-03-09 14:08:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642694', 'tblTempUsageDetail_20' ) start [2025-03-09 14:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642694', 'tblTempUsageDetail_20' ) end [2025-03-09 14:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642694', 'tblTempVendorCDR_20' ) start [2025-03-09 14:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642694', 'tblTempVendorCDR_20' ) end [2025-03-09 14:08:18] Production.INFO: ProcessCDR(1,14642694,1,1,2) [2025-03-09 14:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642694', 'tblTempUsageDetail_20' ) start [2025-03-09 14:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642694', 'tblTempUsageDetail_20' ) end [2025-03-09 14:08:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:08:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:08:22] Production.INFO: ==25694== Releasing lock... [2025-03-09 14:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:08:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 18:09:02] Production.INFO: ==25756== Lock acquired, processing the job... [2025-03-09 18:09:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:09:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:09:02] Production.INFO: neon service started [2025-03-09 18:09:02] Production.INFO: neon service started [2025-03-09 18:09:02] Production.INFO: ==25756== Releasing lock... [2025-03-09 18:09:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:09:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:09:02] Production.INFO: ==25758== Lock acquired, processing the job... [2025-03-09 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:09:02] Production.INFO: ==25758== Releasing lock... [2025-03-09 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:09:03] Production.INFO: ==25760== Lock acquired, processing the job... [2025-03-09 18:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:09:03] Production.INFO: ==25760== Releasing lock... [2025-03-09 18:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:09:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:09:03] Production.INFO: ==25762== Lock acquired, processing the job... [2025-03-09 14:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:09:03] Production.INFO: ==25764== Lock acquired, processing the job... [2025-03-09 14:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:09:03] Production.INFO: ==25772== Lock acquired, processing the job... [2025-03-09 14:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:09:03] Production.INFO: ==25766== Lock acquired, processing the job... [2025-03-09 14:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:09:04] Production.INFO: ==25768== Lock acquired, processing the job... [2025-03-09 14:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:09:04] Production.INFO: count ==13 [2025-03-09 14:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:09:04] Production.INFO: count ==21 [2025-03-09 14:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642697') start [2025-03-09 14:09:04] Production.INFO: ==25770== Lock acquired, processing the job... [2025-03-09 14:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642697') end [2025-03-09 14:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:09:04] Production.INFO: 1 [2025-03-09 14:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:09:04] Production.INFO: Account Balance Start. [2025-03-09 14:09:04] Production.INFO: CreateAllLog Start [2025-03-09 14:09:04] Production.INFO: 117 [2025-03-09 14:09:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:09:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:09:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:09:04] Production.INFO: ==25772== Releasing lock... [2025-03-09 14:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:09:04] Production.INFO: ==25764== Releasing lock... [2025-03-09 14:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:09:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:09:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:09:04] Production.INFO: Total Charge 0 [2025-03-09 14:09:04] Production.INFO: CreateAllLog End [2025-03-09 14:09:04] Production.ERROR: done [2025-03-09 14:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:09:04] Production.INFO: Account Balance End. [2025-03-09 14:09:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:09:04] Production.INFO: ==25768== Releasing lock... [2025-03-09 14:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:09:04] Production.ERROR: done [2025-03-09 14:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:09:05 [end_date_ymd] => 2025-03-09 14:09:05 [RateCDR] => 1 ) [2025-03-09 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-09 11:09:05' and `end` < '2025-03-09 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-09 14:09:12] Production.ERROR: CronJobId end10 [2025-03-09 14:09:12] Production.INFO: ==25766== Releasing lock... [2025-03-09 14:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:09:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:09:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:09:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:09:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:09:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:09:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:09:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:09:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:09:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:09:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:09:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:09:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:09:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:09:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:09:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:09:13] Production.INFO: call_cost start [2025-03-09 14:09:13] Production.INFO: call_cost end [2025-03-09 14:09:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:09:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:09:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:09:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:09:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:09:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:09:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:09:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:09:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:09:14] Production.INFO: ==25762== Releasing lock... [2025-03-09 14:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:09:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:09:18] Production.INFO: count ==838 [2025-03-09 14:09:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:09:05 - End Time 2025-03-09 14:09:05 [2025-03-09 14:09:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642699', 'tblTempUsageDetail_20' ) start [2025-03-09 14:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642699', 'tblTempUsageDetail_20' ) end [2025-03-09 14:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642699', 'tblTempVendorCDR_20' ) start [2025-03-09 14:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642699', 'tblTempVendorCDR_20' ) end [2025-03-09 14:09:18] Production.INFO: ProcessCDR(1,14642699,1,1,2) [2025-03-09 14:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642699', 'tblTempUsageDetail_20' ) start [2025-03-09 14:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642699', 'tblTempUsageDetail_20' ) end [2025-03-09 14:09:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:09:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:09:23] Production.INFO: ==25770== Releasing lock... [2025-03-09 14:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:09:23] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 18:10:01] Production.INFO: ==25825== Lock acquired, processing the job... [2025-03-09 18:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:10:01] Production.INFO: neon service started [2025-03-09 18:10:01] Production.INFO: neon service started [2025-03-09 18:10:01] Production.INFO: ==25825== Releasing lock... [2025-03-09 18:10:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:10:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:10:02] Production.INFO: ==25829== Lock acquired, processing the job... [2025-03-09 18:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:10:02] Production.INFO: ==25829== Releasing lock... [2025-03-09 18:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:10:02] Production.INFO: ==25827== Lock acquired, processing the job... [2025-03-09 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:10:02] Production.INFO: ==25827== Releasing lock... [2025-03-09 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:10:03] Production.INFO: ==25831== Lock acquired, processing the job... [2025-03-09 14:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 14:10:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 14:10:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 14:10:03] Production.INFO: ==25831== Releasing lock... [2025-03-09 14:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 14:10:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 14:10:03] Production.INFO: ==25835== Lock acquired, processing the job... [2025-03-09 14:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:10:03] Production.INFO: ==25839== Lock acquired, processing the job... [2025-03-09 14:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:10:03] Production.INFO: ==25833== Lock acquired, processing the job... [2025-03-09 14:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:10:03] Production.INFO: Account Balance Start. [2025-03-09 14:10:03] Production.INFO: CreateAllLog Start [2025-03-09 14:10:03] Production.INFO: 117 [2025-03-09 14:10:03] Production.INFO: ==25842== Lock acquired, processing the job... [2025-03-09 14:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:10:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:10:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:10:03] Production.INFO: ==25837== Lock acquired, processing the job... [2025-03-09 14:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:10:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:10:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:10:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:10:04] Production.INFO: ==25846== Lock acquired, processing the job... [2025-03-09 14:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:10:04] Production.INFO: ==25835== Releasing lock... [2025-03-09 14:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:10:04] Production.INFO: Total Charge 0 [2025-03-09 14:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:10:04] Production.INFO: ==25844== Lock acquired, processing the job... [2025-03-09 14:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 14:10:04] Production.INFO: CreateAllLog End [2025-03-09 14:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:10:04] Production.INFO: count ==13 [2025-03-09 14:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:10:04] Production.INFO: count ==21 [2025-03-09 14:10:04] Production.ERROR: done [2025-03-09 14:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642703') start [2025-03-09 14:10:04] Production.INFO: Account Balance End. [2025-03-09 14:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642703') end [2025-03-09 14:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:10:04] Production.INFO: 1 [2025-03-09 14:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:10:04] Production.ERROR: done [2025-03-09 14:10:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:10:04] Production.INFO: ==25839== Releasing lock... [2025-03-09 14:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:10:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:10:04] Production.INFO: ==25846== Releasing lock... [2025-03-09 14:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:10:04] Production.ERROR: done [2025-03-09 14:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 14:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642704', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 14:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:10:06 [end_date_ymd] => 2025-03-09 14:10:06 [RateCDR] => 1 ) [2025-03-09 14:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:10:06' and `end` < '2025-03-09 14:10:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642704', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 14:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 14:10:09] Production.INFO: ProcessCDR(1,14642704,1,1,2) [2025-03-09 14:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14642704,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14642704,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:10:09] Production.INFO: ==25844== Releasing lock... [2025-03-09 14:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 14:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 14:10:12] Production.ERROR: CronJobId end10 [2025-03-09 14:10:12] Production.INFO: ==25837== Releasing lock... [2025-03-09 14:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:10:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:10:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:10:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:10:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:10:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:10:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:10:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:10:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:10:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:10:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:10:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:10:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:10:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:10:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:10:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:10:15] Production.INFO: call_cost start [2025-03-09 14:10:15] Production.INFO: call_cost end [2025-03-09 14:10:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:10:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:10:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:10:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:10:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:10:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:10:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:10:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:10:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:10:16] Production.INFO: ==25833== Releasing lock... [2025-03-09 14:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:10:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:10:18] Production.INFO: count ==840 [2025-03-09 14:10:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:10:06 - End Time 2025-03-09 14:10:06 [2025-03-09 14:10:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642705', 'tblTempUsageDetail_20' ) start [2025-03-09 14:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642705', 'tblTempUsageDetail_20' ) end [2025-03-09 14:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642705', 'tblTempVendorCDR_20' ) start [2025-03-09 14:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642705', 'tblTempVendorCDR_20' ) end [2025-03-09 14:10:18] Production.INFO: ProcessCDR(1,14642705,1,1,2) [2025-03-09 14:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642705', 'tblTempUsageDetail_20' ) start [2025-03-09 14:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642705', 'tblTempUsageDetail_20' ) end [2025-03-09 14:10:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:10:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:10:22] Production.INFO: ==25842== Releasing lock... [2025-03-09 14:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:10:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 18:11:02] Production.INFO: ==25903== Lock acquired, processing the job... [2025-03-09 18:11:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:11:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:11:02] Production.INFO: neon service started [2025-03-09 18:11:02] Production.INFO: neon service started [2025-03-09 18:11:02] Production.INFO: ==25903== Releasing lock... [2025-03-09 18:11:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:11:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:11:02] Production.INFO: ==25907== Lock acquired, processing the job... [2025-03-09 18:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:11:02] Production.INFO: ==25907== Releasing lock... [2025-03-09 18:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:11:02] Production.INFO: ==25905== Lock acquired, processing the job... [2025-03-09 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:11:02] Production.INFO: ==25905== Releasing lock... [2025-03-09 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:11:03] Production.INFO: ==25910== Lock acquired, processing the job... [2025-03-09 14:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:11:03] Production.INFO: ==25912== Lock acquired, processing the job... [2025-03-09 14:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:11:03] Production.INFO: ==25918== Lock acquired, processing the job... [2025-03-09 14:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:11:03] Production.INFO: ==25914== Lock acquired, processing the job... [2025-03-09 14:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:11:03] Production.INFO: ==25912== Releasing lock... [2025-03-09 14:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:11:03] Production.INFO: ==25916== Lock acquired, processing the job... [2025-03-09 14:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:11:04] Production.INFO: ==25920== Lock acquired, processing the job... [2025-03-09 14:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:11:04] Production.ERROR: done [2025-03-09 14:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:11:04] Production.INFO: Account Balance Start. [2025-03-09 14:11:04] Production.INFO: CreateAllLog Start [2025-03-09 14:11:04] Production.INFO: 117 [2025-03-09 14:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:11:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:11:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:11:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:11:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:11:04] Production.INFO: Total Charge 0 [2025-03-09 14:11:04] Production.INFO: CreateAllLog End [2025-03-09 14:11:04] Production.ERROR: done [2025-03-09 14:11:04] Production.INFO: Account Balance End. [2025-03-09 14: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-09 14:11:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:11:04] Production.INFO: ==25916== Releasing lock... [2025-03-09 14:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:11:04] Production.INFO: count ==13 [2025-03-09 14:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:11:04] Production.INFO: count ==21 [2025-03-09 14:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642709') start [2025-03-09 14:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642709') end [2025-03-09 14:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:11:04] Production.INFO: 1 [2025-03-09 14:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:11:04] Production.INFO: ==25920== Releasing lock... [2025-03-09 14:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:11:05 [end_date_ymd] => 2025-03-09 14:11:05 [RateCDR] => 1 ) [2025-03-09 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-09 11:11:05' and `end` < '2025-03-09 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-09 14:11:12] Production.ERROR: CronJobId end10 [2025-03-09 14:11:12] Production.INFO: ==25914== Releasing lock... [2025-03-09 14:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:11:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:11:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:11:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:11:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:11:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:11:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:11:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:11:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:11:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:11:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:11:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:11:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:11:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:11:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:11:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:11:14] Production.INFO: call_cost start [2025-03-09 14:11:14] Production.INFO: call_cost end [2025-03-09 14:11:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:11:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:11:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:11:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:11:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:11:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:11:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:11:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:11:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:11:15] Production.INFO: ==25910== Releasing lock... [2025-03-09 14:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:11:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:11:17] Production.INFO: count ==862 [2025-03-09 14:11:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:11:05 - End Time 2025-03-09 14:11:05 [2025-03-09 14:11:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642710', 'tblTempUsageDetail_20' ) start [2025-03-09 14:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642710', 'tblTempUsageDetail_20' ) end [2025-03-09 14:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642710', 'tblTempVendorCDR_20' ) start [2025-03-09 14:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642710', 'tblTempVendorCDR_20' ) end [2025-03-09 14:11:17] Production.INFO: ProcessCDR(1,14642710,1,1,2) [2025-03-09 14:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642710', 'tblTempUsageDetail_20' ) start [2025-03-09 14:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642710', 'tblTempUsageDetail_20' ) end [2025-03-09 14:11:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:11:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:11:21] Production.INFO: ==25918== Releasing lock... [2025-03-09 14:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:11:21] Production.INFO: 35.25 MB #Memory Used# [2025-03-09 18:12:01] Production.INFO: ==25982== Lock acquired, processing the job... [2025-03-09 18:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:12:01] Production.INFO: neon service started [2025-03-09 18:12:01] Production.INFO: neon service started [2025-03-09 18:12:01] Production.INFO: ==25982== Releasing lock... [2025-03-09 18:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:12:01] Production.INFO: ==25986== Lock acquired, processing the job... [2025-03-09 18:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:12:01] Production.INFO: ==25986== Releasing lock... [2025-03-09 18:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:12:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:12:02] Production.INFO: ==25984== Lock acquired, processing the job... [2025-03-09 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:12:02] Production.INFO: ==25984== Releasing lock... [2025-03-09 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:12:03] Production.INFO: ==25989== Lock acquired, processing the job... [2025-03-09 14:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:12:03] Production.INFO: ==25991== Lock acquired, processing the job... [2025-03-09 14:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:12:03] Production.INFO: ==25995== Lock acquired, processing the job... [2025-03-09 14:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:12:03] Production.INFO: Account Balance Start. [2025-03-09 14:12:03] Production.INFO: CreateAllLog Start [2025-03-09 14:12:03] Production.INFO: 117 [2025-03-09 14:12:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:12:03] Production.INFO: ==25991== Releasing lock... [2025-03-09 14:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:12:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:12:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:12:03] Production.INFO: ==25993== Lock acquired, processing the job... [2025-03-09 14:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:12:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:12:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:12:03] Production.INFO: Total Charge 0 [2025-03-09 14:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:12:03] Production.INFO: CreateAllLog End [2025-03-09 14:12:03] Production.INFO: ==25997== Lock acquired, processing the job... [2025-03-09 14:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:12:03] Production.INFO: ==25999== Lock acquired, processing the job... [2025-03-09 14:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:12:03] Production.INFO: Account Balance End. [2025-03-09 14:12:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:12:03] Production.ERROR: CronJobId end 12 [2025-03-09 14:12:03] Production.INFO: ==25995== Releasing lock... [2025-03-09 14:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:12:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 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-09 14:12:04] Production.INFO: count ==13 [2025-03-09 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-09 14:12:04] Production.INFO: count ==21 [2025-03-09 14:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642714') start [2025-03-09 14:12:04] Production.ERROR: done [2025-03-09 14:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642714') end [2025-03-09 14:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:12:04] Production.INFO: 1 [2025-03-09 14:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:12:04] Production.ERROR: done [2025-03-09 14:12:04] Production.INFO: ==25999== Releasing lock... [2025-03-09 14:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:12:05 [end_date_ymd] => 2025-03-09 14:12:05 [RateCDR] => 1 ) [2025-03-09 14:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:12:05' and `end` < '2025-03-09 14:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:12:12] Production.ERROR: CronJobId end10 [2025-03-09 14:12:12] Production.INFO: ==25993== Releasing lock... [2025-03-09 14:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:12:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:12:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:12:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:12:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:12:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:12:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:12:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:12:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:12:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:12:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:12:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:12:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:12:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:12:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:12:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:12:13] Production.INFO: call_cost start [2025-03-09 14:12:13] Production.INFO: call_cost end [2025-03-09 14:12:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:12:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:12:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:12:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:12:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:12:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:12:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:12:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:12:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:12:14] Production.INFO: ==25989== Releasing lock... [2025-03-09 14:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:12:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:12:17] Production.INFO: count ==860 [2025-03-09 14:12:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:12:05 - End Time 2025-03-09 14:12:05 [2025-03-09 14:12:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642715', 'tblTempUsageDetail_20' ) start [2025-03-09 14:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642715', 'tblTempUsageDetail_20' ) end [2025-03-09 14:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642715', 'tblTempVendorCDR_20' ) start [2025-03-09 14:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642715', 'tblTempVendorCDR_20' ) end [2025-03-09 14:12:18] Production.INFO: ProcessCDR(1,14642715,1,1,2) [2025-03-09 14:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642715', 'tblTempUsageDetail_20' ) start [2025-03-09 14:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642715', 'tblTempUsageDetail_20' ) end [2025-03-09 14:12:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:12:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:12:22] Production.INFO: ==25997== Releasing lock... [2025-03-09 14:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:12:22] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 18:13:01] Production.INFO: ==26055== Lock acquired, processing the job... [2025-03-09 18:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:13:01] Production.INFO: neon service started [2025-03-09 18:13:02] Production.INFO: neon service started [2025-03-09 18:13:02] Production.INFO: ==26055== Releasing lock... [2025-03-09 18:13:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:13:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:13:02] Production.INFO: ==26057== Lock acquired, processing the job... [2025-03-09 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:13:02] Production.INFO: ==26057== Releasing lock... [2025-03-09 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:13:02] Production.INFO: ==26059== Lock acquired, processing the job... [2025-03-09 18:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:13:03] Production.INFO: ==26059== Releasing lock... [2025-03-09 18:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:13:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:13:03] Production.INFO: ==26064== Lock acquired, processing the job... [2025-03-09 14:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:13:03] Production.INFO: ==26062== Lock acquired, processing the job... [2025-03-09 14:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:13:03] Production.INFO: ==26066== Lock acquired, processing the job... [2025-03-09 14:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:13:03] Production.INFO: ==26068== Lock acquired, processing the job... [2025-03-09 14:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:13:03] Production.INFO: ==26072== Lock acquired, processing the job... [2025-03-09 14:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:13:03] Production.INFO: Account Balance Start. [2025-03-09 14:13:03] Production.INFO: CreateAllLog Start [2025-03-09 14:13:03] Production.INFO: 117 [2025-03-09 14:13:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:13:03] Production.INFO: ==26070== Lock acquired, processing the job... [2025-03-09 14:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:13:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:13:04] Production.INFO: Date 2025-03-09 [2025-03-09 14: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-09 14:13:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:13:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:13:04] Production.INFO: count ==13 [2025-03-09 14: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-09 14:13:04] Production.INFO: count ==21 [2025-03-09 14:13:04] Production.INFO: Total Charge 0 [2025-03-09 14:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642719') start [2025-03-09 14:13:04] Production.INFO: CreateAllLog End [2025-03-09 14:13:04] Production.INFO: ==26064== Releasing lock... [2025-03-09 14:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642719') end [2025-03-09 14:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:13:04] Production.INFO: 1 [2025-03-09 14:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:13:04] Production.INFO: ==26072== Releasing lock... [2025-03-09 14:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:13:04] Production.ERROR: done [2025-03-09 14:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:13:04] Production.ERROR: done [2025-03-09 14:13:04] Production.INFO: Account Balance End. [2025-03-09 14:13:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:13:04] Production.INFO: ==26068== Releasing lock... [2025-03-09 14:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:13:05 [end_date_ymd] => 2025-03-09 14:13:05 [RateCDR] => 1 ) [2025-03-09 14:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:13:05' and `end` < '2025-03-09 14:13:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:13:12] Production.ERROR: CronJobId end10 [2025-03-09 14:13:12] Production.INFO: ==26066== Releasing lock... [2025-03-09 14:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:13:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:13:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:13:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:13:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:13:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:13:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:13:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:13:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:13:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:13:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:13:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:13:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:13:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:13:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:13:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:13:14] Production.INFO: call_cost start [2025-03-09 14:13:14] Production.INFO: call_cost end [2025-03-09 14:13:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:13:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:13:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:13:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:13:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:13:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:13:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:13:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:13:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:13:15] Production.INFO: ==26062== Releasing lock... [2025-03-09 14:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:13:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:13:17] Production.INFO: count ==859 [2025-03-09 14:13:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:13:05 - End Time 2025-03-09 14:13:05 [2025-03-09 14:13:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642720', 'tblTempUsageDetail_20' ) start [2025-03-09 14:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642720', 'tblTempUsageDetail_20' ) end [2025-03-09 14:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642720', 'tblTempVendorCDR_20' ) start [2025-03-09 14:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642720', 'tblTempVendorCDR_20' ) end [2025-03-09 14:13:18] Production.INFO: ProcessCDR(1,14642720,1,1,2) [2025-03-09 14:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642720', 'tblTempUsageDetail_20' ) start [2025-03-09 14:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642720', 'tblTempUsageDetail_20' ) end [2025-03-09 14:13:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:13:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:13:21] Production.INFO: ==26070== Releasing lock... [2025-03-09 14:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:13:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 18:14:01] Production.INFO: ==26125== Lock acquired, processing the job... [2025-03-09 18:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:14:01] Production.INFO: neon service started [2025-03-09 18:14:01] Production.INFO: neon service started [2025-03-09 18:14:01] Production.INFO: ==26125== Releasing lock... [2025-03-09 18:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:14:01] Production.INFO: ==26127== Lock acquired, processing the job... [2025-03-09 14:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:14:02] Production.INFO: ==26127== Releasing lock... [2025-03-09 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:14:02] Production.INFO: ==26129== Lock acquired, processing the job... [2025-03-09 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:14:02] Production.INFO: ==26129== Releasing lock... [2025-03-09 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:14:03] Production.INFO: ==26141== Lock acquired, processing the job... [2025-03-09 14:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:14:03] Production.INFO: ==26139== Lock acquired, processing the job... [2025-03-09 14:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:14:03] Production.INFO: ==26131== Lock acquired, processing the job... [2025-03-09 14:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:14:03] Production.INFO: ==26133== Lock acquired, processing the job... [2025-03-09 14:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:14:03] Production.INFO: count ==13 [2025-03-09 14:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:14:03] Production.INFO: count ==21 [2025-03-09 14:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:14:03] Production.INFO: ==26137== Lock acquired, processing the job... [2025-03-09 14:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642721') start [2025-03-09 14:14:03] Production.INFO: ==26135== Lock acquired, processing the job... [2025-03-09 14:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642721') end [2025-03-09 14:14:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:14:03] Production.INFO: 1 [2025-03-09 14:14:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:14:03] Production.INFO: Account Balance Start. [2025-03-09 14:14:03] Production.INFO: CreateAllLog Start [2025-03-09 14:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:14:03] Production.INFO: 117 [2025-03-09 14:14:03] Production.INFO: ==26141== Releasing lock... [2025-03-09 14:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:14:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:14:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:14:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:14:03] Production.INFO: Total Charge 0 [2025-03-09 14:14:03] Production.INFO: CreateAllLog End [2025-03-09 14:14:03] Production.ERROR: done [2025-03-09 14:14:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:14:03] Production.INFO: Account Balance End. [2025-03-09 14:14:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:14:04] Production.INFO: ==26137== Releasing lock... [2025-03-09 14:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:14:04] Production.ERROR: done [2025-03-09 14:14:04] Production.INFO: ==26133== Releasing lock... [2025-03-09 14:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:14:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:14:04 [end_date_ymd] => 2025-03-09 14:14:04 [RateCDR] => 1 ) [2025-03-09 14:14:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:14:04' and `end` < '2025-03-09 14:14:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:14:11] Production.ERROR: CronJobId end10 [2025-03-09 14:14:11] Production.INFO: ==26135== Releasing lock... [2025-03-09 14:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:14:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:14:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:14:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:14:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:14:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:14:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:14:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:14:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:14:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:14:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:14:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:14:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:14:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:14:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:14:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:14:14] Production.INFO: call_cost start [2025-03-09 14:14:14] Production.INFO: call_cost end [2025-03-09 14:14:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:14:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:14:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:14:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:14:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:14:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:14:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:14:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:14:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:14:15] Production.INFO: ==26131== Releasing lock... [2025-03-09 14:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:14:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:14:17] Production.INFO: count ==864 [2025-03-09 14:14:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:14:04 - End Time 2025-03-09 14:14:04 [2025-03-09 14:14:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642725', 'tblTempUsageDetail_20' ) start [2025-03-09 14:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642725', 'tblTempUsageDetail_20' ) end [2025-03-09 14:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642725', 'tblTempVendorCDR_20' ) start [2025-03-09 14:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642725', 'tblTempVendorCDR_20' ) end [2025-03-09 14:14:17] Production.INFO: ProcessCDR(1,14642725,1,1,2) [2025-03-09 14:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642725', 'tblTempUsageDetail_20' ) start [2025-03-09 14:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642725', 'tblTempUsageDetail_20' ) end [2025-03-09 14:14:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:14:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:14:22] Production.INFO: ==26139== Releasing lock... [2025-03-09 14:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:14:22] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 18:15:01] Production.INFO: ==26195== Lock acquired, processing the job... [2025-03-09 18:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:15:01] Production.INFO: neon service started [2025-03-09 18:15:01] Production.INFO: neon service started [2025-03-09 18:15:01] Production.INFO: ==26195== Releasing lock... [2025-03-09 18:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:15:02] Production.INFO: ==26197== Lock acquired, processing the job... [2025-03-09 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:15:02] Production.INFO: ==26197== Releasing lock... [2025-03-09 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:15:02] Production.INFO: ==26199== Lock acquired, processing the job... [2025-03-09 18:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:15:02] Production.INFO: ==26199== Releasing lock... [2025-03-09 18:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:15:03] Production.INFO: ==26210== Lock acquired, processing the job... [2025-03-09 14:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:15:03] Production.INFO: ==26202== Lock acquired, processing the job... [2025-03-09 14:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:15:03] Production.INFO: ==26212== Lock acquired, processing the job... [2025-03-09 14:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:15:03] Production.INFO: ==26204== Lock acquired, processing the job... [2025-03-09 14:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:15:03] Production.INFO: ==26206== Lock acquired, processing the job... [2025-03-09 14:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:15:03] Production.INFO: ==26208== Lock acquired, processing the job... [2025-03-09 14:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:15:03] Production.INFO: count ==13 [2025-03-09 14:15:03] Production.INFO: Account Balance Start. [2025-03-09 14:15:03] Production.INFO: CreateAllLog Start [2025-03-09 14:15:03] Production.INFO: 117 [2025-03-09 14:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:15:03] Production.INFO: count ==21 [2025-03-09 14:15:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642727') start [2025-03-09 14:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:15:04] Production.ERROR: done [2025-03-09 14:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:15:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642727') end [2025-03-09 14:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:15:04] Production.INFO: 1 [2025-03-09 14:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:15:04] Production.INFO: Total Charge 0 [2025-03-09 14:15:04] Production.INFO: CreateAllLog End [2025-03-09 14:15:04] Production.INFO: ==26212== Releasing lock... [2025-03-09 14:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:15:04] Production.INFO: ==26204== Releasing lock... [2025-03-09 14:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:15:04] Production.ERROR: done [2025-03-09 14:15:04] Production.INFO: Account Balance End. [2025-03-09 14:15:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:15:04] Production.INFO: ==26208== Releasing lock... [2025-03-09 14:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:15:05 [end_date_ymd] => 2025-03-09 14:15:05 [RateCDR] => 1 ) [2025-03-09 14:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:15:05' and `end` < '2025-03-09 14:15:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:15:11] Production.ERROR: CronJobId end10 [2025-03-09 14:15:11] Production.INFO: ==26206== Releasing lock... [2025-03-09 14:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:15:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:15:14] Production.INFO: call_cost start [2025-03-09 14:15:14] Production.INFO: call_cost end [2025-03-09 14:15:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:15:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:15:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:15:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:15:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:15:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:15:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:15:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:15:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:15:15] Production.INFO: ==26202== Releasing lock... [2025-03-09 14:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:15:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:15:17] Production.INFO: count ==864 [2025-03-09 14:15:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:15:05 - End Time 2025-03-09 14:15:05 [2025-03-09 14:15:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642730', 'tblTempUsageDetail_20' ) start [2025-03-09 14:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642730', 'tblTempUsageDetail_20' ) end [2025-03-09 14:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642730', 'tblTempVendorCDR_20' ) start [2025-03-09 14:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642730', 'tblTempVendorCDR_20' ) end [2025-03-09 14:15:17] Production.INFO: ProcessCDR(1,14642730,1,1,2) [2025-03-09 14:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642730', 'tblTempUsageDetail_20' ) start [2025-03-09 14:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642730', 'tblTempUsageDetail_20' ) end [2025-03-09 14:15:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:15:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:15:22] Production.INFO: ==26210== Releasing lock... [2025-03-09 14:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:15:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 18:16:01] Production.INFO: ==26273== Lock acquired, processing the job... [2025-03-09 18:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:16:01] Production.INFO: neon service started [2025-03-09 18:16:01] Production.INFO: neon service started [2025-03-09 18:16:01] Production.INFO: ==26273== Releasing lock... [2025-03-09 18:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:16:01] Production.INFO: ==26275== Lock acquired, processing the job... [2025-03-09 14:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:16:02] Production.INFO: ==26275== Releasing lock... [2025-03-09 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:16:02] Production.INFO: ==26277== Lock acquired, processing the job... [2025-03-09 18:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:16:02] Production.INFO: ==26277== Releasing lock... [2025-03-09 18:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:16:02] Production.INFO: ==26279== Lock acquired, processing the job... [2025-03-09 14:16:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:16:03] Production.INFO: ==26289== Lock acquired, processing the job... [2025-03-09 14:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:16:03] Production.INFO: ==26281== Lock acquired, processing the job... [2025-03-09 14:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:16:03] Production.INFO: ==26285== Lock acquired, processing the job... [2025-03-09 14:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:16:03] Production.INFO: ==26283== Lock acquired, processing the job... [2025-03-09 14:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:16:03] Production.INFO: count ==13 [2025-03-09 14:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:16:03] Production.INFO: ==26287== Lock acquired, processing the job... [2025-03-09 14:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:16:03] Production.INFO: Account Balance Start. [2025-03-09 14:16:03] Production.INFO: CreateAllLog Start [2025-03-09 14:16:03] Production.INFO: count ==21 [2025-03-09 14:16:03] Production.INFO: 117 [2025-03-09 14:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642732') start [2025-03-09 14:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:16:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:16:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642732') end [2025-03-09 14:16:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:16:03] Production.INFO: 1 [2025-03-09 14:16:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:16:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:16:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:16:03] Production.INFO: ==26281== Releasing lock... [2025-03-09 14:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:16:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:16:03] Production.INFO: Total Charge 0 [2025-03-09 14:16:03] Production.INFO: CreateAllLog End [2025-03-09 14:16:03] Production.INFO: ==26289== Releasing lock... [2025-03-09 14:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:16:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:16:03] Production.ERROR: done [2025-03-09 14:16:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:16:03] Production.INFO: Account Balance End. [2025-03-09 14:16:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:16:04] Production.INFO: ==26285== Releasing lock... [2025-03-09 14:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:16:04] Production.ERROR: done [2025-03-09 14:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:16:05 [end_date_ymd] => 2025-03-09 14:16:05 [RateCDR] => 1 ) [2025-03-09 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-09 11:16:05' and `end` < '2025-03-09 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-09 14:16:10] Production.ERROR: CronJobId end10 [2025-03-09 14:16:10] Production.INFO: ==26283== Releasing lock... [2025-03-09 14:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:16:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:16:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:16:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:16:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:16:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:16:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:16:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:16:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:16:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:16:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:16:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:16:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:16:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:16:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:16:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:16:12] Production.INFO: call_cost start [2025-03-09 14:16:12] Production.INFO: call_cost end [2025-03-09 14:16:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:16:13] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:16:13] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:16:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:16:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:16:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:16:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:16:13] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:16:13] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:16:13] Production.INFO: ==26279== Releasing lock... [2025-03-09 14:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:16:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:16:17] Production.INFO: count ==865 [2025-03-09 14:16:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:16:05 - End Time 2025-03-09 14:16:05 [2025-03-09 14:16:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642735', 'tblTempUsageDetail_20' ) start [2025-03-09 14:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642735', 'tblTempUsageDetail_20' ) end [2025-03-09 14:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642735', 'tblTempVendorCDR_20' ) start [2025-03-09 14:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642735', 'tblTempVendorCDR_20' ) end [2025-03-09 14:16:17] Production.INFO: ProcessCDR(1,14642735,1,1,2) [2025-03-09 14:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642735', 'tblTempUsageDetail_20' ) start [2025-03-09 14:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642735', 'tblTempUsageDetail_20' ) end [2025-03-09 14:16:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:16:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:16:22] Production.INFO: ==26287== Releasing lock... [2025-03-09 14:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:16:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 18:17:01] Production.INFO: ==26349== Lock acquired, processing the job... [2025-03-09 18:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:17:01] Production.INFO: neon service started [2025-03-09 18:17:01] Production.INFO: neon service started [2025-03-09 18:17:01] Production.INFO: ==26349== Releasing lock... [2025-03-09 18:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:17:02] Production.INFO: ==26351== Lock acquired, processing the job... [2025-03-09 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:17:02] Production.INFO: ==26351== Releasing lock... [2025-03-09 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:17:02] Production.INFO: ==26353== Lock acquired, processing the job... [2025-03-09 18:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:17:02] Production.INFO: ==26353== Releasing lock... [2025-03-09 18:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:17:03] Production.INFO: ==26355== Lock acquired, processing the job... [2025-03-09 14:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:17:03] Production.INFO: ==26357== Lock acquired, processing the job... [2025-03-09 14:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:17:03] Production.INFO: ==26363== Lock acquired, processing the job... [2025-03-09 14:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:17:03] Production.INFO: ==26359== Lock acquired, processing the job... [2025-03-09 14:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:17:03] Production.INFO: ==26361== Lock acquired, processing the job... [2025-03-09 14:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:17:03] Production.INFO: ==26365== Lock acquired, processing the job... [2025-03-09 14:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:17:03] Production.INFO: Account Balance Start. [2025-03-09 14:17:03] Production.INFO: CreateAllLog Start [2025-03-09 14:17:03] Production.INFO: 117 [2025-03-09 14:17:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:17:03] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 14:17:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:17:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:17:03] Production.INFO: count ==13 [2025-03-09 14:17:03] Production.INFO: ==26357== Releasing lock... [2025-03-09 14:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:17:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 14:17:03] Production.INFO: count ==21 [2025-03-09 14:17:04] Production.ERROR: done [2025-03-09 14:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642739') start [2025-03-09 14:17:04] Production.INFO: Total Charge 0 [2025-03-09 14:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642739') end [2025-03-09 14:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:17:04] Production.INFO: 1 [2025-03-09 14:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:17:04] Production.INFO: CreateAllLog End [2025-03-09 14:17:04] Production.INFO: ==26365== Releasing lock... [2025-03-09 14:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:17:04] Production.ERROR: done [2025-03-09 14:17:04] Production.INFO: Account Balance End. [2025-03-09 14:17:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:17:04] Production.INFO: ==26361== Releasing lock... [2025-03-09 14:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:17:05 [end_date_ymd] => 2025-03-09 14:17:05 [RateCDR] => 1 ) [2025-03-09 14:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:17:05' and `end` < '2025-03-09 14:17:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:17:11] Production.ERROR: CronJobId end10 [2025-03-09 14:17:11] Production.INFO: ==26359== Releasing lock... [2025-03-09 14:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:17:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:17:14] Production.INFO: call_cost start [2025-03-09 14:17:14] Production.INFO: call_cost end [2025-03-09 14:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:17:15] Production.INFO: ==26355== Releasing lock... [2025-03-09 14:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:17:17] Production.INFO: count ==865 [2025-03-09 14:17:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:17:05 - End Time 2025-03-09 14:17:05 [2025-03-09 14:17:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642740', 'tblTempUsageDetail_20' ) start [2025-03-09 14:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642740', 'tblTempUsageDetail_20' ) end [2025-03-09 14:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642740', 'tblTempVendorCDR_20' ) start [2025-03-09 14:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642740', 'tblTempVendorCDR_20' ) end [2025-03-09 14:17:17] Production.INFO: ProcessCDR(1,14642740,1,1,2) [2025-03-09 14:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642740', 'tblTempUsageDetail_20' ) start [2025-03-09 14:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642740', 'tblTempUsageDetail_20' ) end [2025-03-09 14:17:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:17:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:17:22] Production.INFO: ==26363== Releasing lock... [2025-03-09 14:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:17:22] Production.INFO: 35 MB #Memory Used# [2025-03-09 18:18:02] Production.INFO: ==26420== Lock acquired, processing the job... [2025-03-09 18:18:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:18:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:18:02] Production.INFO: neon service started [2025-03-09 18:18:02] Production.INFO: neon service started [2025-03-09 18:18:02] Production.INFO: ==26420== Releasing lock... [2025-03-09 18:18:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:18:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 18:18:02] Production.INFO: ==26424== Lock acquired, processing the job... [2025-03-09 18:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:18:02] Production.INFO: ==26424== Releasing lock... [2025-03-09 18:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:18:02] Production.INFO: ==26422== Lock acquired, processing the job... [2025-03-09 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:18:03] Production.INFO: ==26422== Releasing lock... [2025-03-09 14:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:18:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:18:03] Production.INFO: ==26428== Lock acquired, processing the job... [2025-03-09 14:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:18:03] Production.INFO: ==26430== Lock acquired, processing the job... [2025-03-09 14:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:18:04] Production.INFO: ==26426== Lock acquired, processing the job... [2025-03-09 14:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:18:04] Production.INFO: ==26432== Lock acquired, processing the job... [2025-03-09 14:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:18:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:18:04] Production.INFO: ==26437== Lock acquired, processing the job... [2025-03-09 14:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:18:04] Production.INFO: Account Balance Start. [2025-03-09 14:18:04] Production.INFO: CreateAllLog Start [2025-03-09 14:18:04] Production.INFO: ==26428== Releasing lock... [2025-03-09 14:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:18:04] Production.INFO: 117 [2025-03-09 14:18:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:18:04] Production.INFO: ==26434== Lock acquired, processing the job... [2025-03-09 14:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:18:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:18:04] Production.INFO: count ==13 [2025-03-09 14:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:18:04] Production.INFO: count ==21 [2025-03-09 14:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642744') start [2025-03-09 14:18:04] Production.INFO: Total Charge 0 [2025-03-09 14:18:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:18:04] Production.INFO: CreateAllLog End [2025-03-09 14:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642744') end [2025-03-09 14:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:18:04] Production.INFO: 1 [2025-03-09 14:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:18:04] Production.INFO: ==26437== Releasing lock... [2025-03-09 14:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:18:04] Production.ERROR: done [2025-03-09 14:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:18:04] Production.INFO: Account Balance End. [2025-03-09 14:18:05] Production.ERROR: CronJobId end 12 [2025-03-09 14:18:05] Production.INFO: ==26432== Releasing lock... [2025-03-09 14:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:18:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:18:05] Production.ERROR: done [2025-03-09 14:18:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:18:06 [end_date_ymd] => 2025-03-09 14:18:06 [RateCDR] => 1 ) [2025-03-09 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-09 11:18:06' and `end` < '2025-03-09 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-09 14:18:12] Production.ERROR: CronJobId end10 [2025-03-09 14:18:12] Production.INFO: ==26430== Releasing lock... [2025-03-09 14:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:18:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:18:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:18:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:18:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:18:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:18:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:18:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:18:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:18:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:18:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:18:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:18:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:18:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:18:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:18:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:18:14] Production.INFO: call_cost start [2025-03-09 14:18:14] Production.INFO: call_cost end [2025-03-09 14:18:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:18:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:18:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:18:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:18:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:18:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:18:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:18:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:18:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:18:15] Production.INFO: ==26426== Releasing lock... [2025-03-09 14:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:18:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:18:18] Production.INFO: count ==866 [2025-03-09 14:18:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:18:06 - End Time 2025-03-09 14:18:06 [2025-03-09 14:18:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642745', 'tblTempUsageDetail_20' ) start [2025-03-09 14:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642745', 'tblTempUsageDetail_20' ) end [2025-03-09 14:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642745', 'tblTempVendorCDR_20' ) start [2025-03-09 14:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642745', 'tblTempVendorCDR_20' ) end [2025-03-09 14:18:18] Production.INFO: ProcessCDR(1,14642745,1,1,2) [2025-03-09 14:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642745', 'tblTempUsageDetail_20' ) start [2025-03-09 14:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642745', 'tblTempUsageDetail_20' ) end [2025-03-09 14:18:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:18:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:18:23] Production.INFO: ==26434== Releasing lock... [2025-03-09 14:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:18:23] Production.INFO: 35 MB #Memory Used# [2025-03-09 18:19:01] Production.INFO: ==26490== Lock acquired, processing the job... [2025-03-09 18:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:19:01] Production.INFO: neon service started [2025-03-09 18:19:01] Production.INFO: neon service started [2025-03-09 18:19:01] Production.INFO: ==26490== Releasing lock... [2025-03-09 18:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:19:02] Production.INFO: ==26492== Lock acquired, processing the job... [2025-03-09 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:19:02] Production.INFO: ==26492== Releasing lock... [2025-03-09 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:19:02] Production.INFO: ==26494== Lock acquired, processing the job... [2025-03-09 18:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:19:02] Production.INFO: ==26494== Releasing lock... [2025-03-09 18:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:19:03] Production.INFO: ==26497== Lock acquired, processing the job... [2025-03-09 14:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:19:03] Production.INFO: ==26505== Lock acquired, processing the job... [2025-03-09 14:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:19:03] Production.INFO: ==26499== Lock acquired, processing the job... [2025-03-09 14:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:19:03] Production.INFO: ==26501== Lock acquired, processing the job... [2025-03-09 14:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:19:03] Production.INFO: ==26503== Lock acquired, processing the job... [2025-03-09 14:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:19:03] Production.INFO: ==26507== Lock acquired, processing the job... [2025-03-09 14:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:19:03] Production.INFO: Account Balance Start. [2025-03-09 14:19:03] Production.INFO: CreateAllLog Start [2025-03-09 14:19:03] Production.INFO: 117 [2025-03-09 14:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:19:03] Production.ERROR: done [2025-03-09 14:19:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:19:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:19:03] Production.INFO: Reseller ==> 0 [2025-03-09 14: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-09 14:19:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:19:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:19:03] Production.INFO: count ==13 [2025-03-09 14:19:03] Production.ERROR: done [2025-03-09 14: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-09 14:19:03] Production.INFO: count ==21 [2025-03-09 14:19:03] Production.INFO: Total Charge 0 [2025-03-09 14:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642749') start [2025-03-09 14:19:03] Production.INFO: CreateAllLog End [2025-03-09 14:19:03] Production.INFO: ==26499== Releasing lock... [2025-03-09 14:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:19:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642749') end [2025-03-09 14:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:19:04] Production.INFO: 1 [2025-03-09 14:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:19:04] Production.INFO: Account Balance End. [2025-03-09 14:19:04] Production.INFO: ==26507== Releasing lock... [2025-03-09 14:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:19:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:19:04] Production.INFO: ==26503== Releasing lock... [2025-03-09 14:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:19:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:19:04 [end_date_ymd] => 2025-03-09 14:19:04 [RateCDR] => 1 ) [2025-03-09 14:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:19:04' and `end` < '2025-03-09 14:19:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:19:10] Production.ERROR: CronJobId end10 [2025-03-09 14:19:10] Production.INFO: ==26501== Releasing lock... [2025-03-09 14:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:19:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:19:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:19:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:19:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:19:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:19:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:19:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:19:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:19:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:19:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:19:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:19:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:19:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:19:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:19:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:19:13] Production.INFO: call_cost start [2025-03-09 14:19:13] Production.INFO: call_cost end [2025-03-09 14:19:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:19:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:19:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:19:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:19:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:19:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:19:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:19:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:19:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:19:14] Production.INFO: ==26497== Releasing lock... [2025-03-09 14:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:19:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:19:16] Production.INFO: count ==866 [2025-03-09 14:19:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:19:04 - End Time 2025-03-09 14:19:04 [2025-03-09 14:19:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642750', 'tblTempUsageDetail_20' ) start [2025-03-09 14:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642750', 'tblTempUsageDetail_20' ) end [2025-03-09 14:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642750', 'tblTempVendorCDR_20' ) start [2025-03-09 14:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642750', 'tblTempVendorCDR_20' ) end [2025-03-09 14:19:17] Production.INFO: ProcessCDR(1,14642750,1,1,2) [2025-03-09 14:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:19:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642750', 'tblTempUsageDetail_20' ) start [2025-03-09 14:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642750', 'tblTempUsageDetail_20' ) end [2025-03-09 14:19:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:19:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:19:20] Production.INFO: ==26505== Releasing lock... [2025-03-09 14:19:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:19:20] Production.INFO: 35 MB #Memory Used# [2025-03-09 18:20:02] Production.INFO: ==26599== Lock acquired, processing the job... [2025-03-09 18:20:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:20:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:20:02] Production.INFO: neon service started [2025-03-09 18:20:02] Production.INFO: neon service started [2025-03-09 18:20:02] Production.INFO: ==26599== Releasing lock... [2025-03-09 18:20:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:20:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:20:02] Production.INFO: ==26601== Lock acquired, processing the job... [2025-03-09 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:20:02] Production.INFO: ==26603== Lock acquired, processing the job... [2025-03-09 18:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:20:02] Production.INFO: ==26601== Releasing lock... [2025-03-09 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:20:03] Production.INFO: ==26603== Releasing lock... [2025-03-09 18:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:20:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:20:04] Production.INFO: ==26606== Lock acquired, processing the job... [2025-03-09 14:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 14:20:04] Production.INFO: ==26608== Lock acquired, processing the job... [2025-03-09 14:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 14:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 14:20:04] Production.ERROR: CronJob PID - 26608 [2025-03-09 14:20:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 14:20:04] Production.ERROR: CronJob ID - 5 [2025-03-09 14:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 14:20:00 [2025-03-09 14:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 14:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 14:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 14:20:04] Production.INFO: ==26606== Releasing lock... [2025-03-09 14:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 14:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 14:20:04] Production.INFO: ==26618== Lock acquired, processing the job... [2025-03-09 14:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 14:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:20:04] Production.INFO: ==26620== Lock acquired, processing the job... [2025-03-09 14:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:20:04] Production.INFO: ==26610== Lock acquired, processing the job... [2025-03-09 14:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:20:04] Production.INFO: ==26612== Lock acquired, processing the job... [2025-03-09 14:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:20:04] Production.INFO: count ==13 [2025-03-09 14:20:04] Production.INFO: ==26614== Lock acquired, processing the job... [2025-03-09 14:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:20:04] Production.INFO: ==26616== Lock acquired, processing the job... [2025-03-09 14:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:20:04] Production.INFO: count ==21 [2025-03-09 14:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642752') start [2025-03-09 14:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642752') end [2025-03-09 14:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:20:04] Production.INFO: 1 [2025-03-09 14:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:20:04] Production.INFO: Account Balance Start. [2025-03-09 14:20:04] Production.INFO: CreateAllLog Start [2025-03-09 14:20:04] Production.INFO: 117 [2025-03-09 14:20:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:20:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:20:04] Production.INFO: ==26620== Releasing lock... [2025-03-09 14:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:20:04] Production.INFO: Total Charge 0 [2025-03-09 14:20:04] Production.ERROR: done [2025-03-09 14:20:04] Production.INFO: CreateAllLog End [2025-03-09 14:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 14:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642755', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 14:20:04] Production.ERROR: done [2025-03-09 14:20:04] Production.INFO: ==26610== Releasing lock... [2025-03-09 14:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:20:05] Production.INFO: Account Balance End. [2025-03-09 14:20:05] Production.ERROR: done [2025-03-09 14:20:05] Production.ERROR: CronJobId end 12 [2025-03-09 14:20:05] Production.INFO: ==26614== Releasing lock... [2025-03-09 14:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:20:06 [end_date_ymd] => 2025-03-09 14:20:06 [RateCDR] => 1 ) [2025-03-09 14:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:20:06' and `end` < '2025-03-09 14:20:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642755', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 14:20:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 14:20:08] Production.INFO: ProcessCDR(1,14642755,1,1,2) [2025-03-09 14:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14642755,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14642755,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:20:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:20:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:20:08] Production.INFO: ==26618== Releasing lock... [2025-03-09 14:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 14:20:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 14:20:14] Production.ERROR: CronJobId end10 [2025-03-09 14:20:14] Production.INFO: ==26612== Releasing lock... [2025-03-09 14:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:20:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:20:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:20:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:20:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:20:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:20:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:20:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:20:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:20:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:20:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:20:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:20:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:20:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:20:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:20:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:20:16] Production.INFO: call_cost start [2025-03-09 14:20:16] Production.INFO: call_cost end [2025-03-09 14:20:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:20:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:20:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:20:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:20:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:20:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:20:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:20:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:20:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:20:17] Production.INFO: ==26608== Releasing lock... [2025-03-09 14:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:20:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:20:18] Production.INFO: count ==864 [2025-03-09 14:20:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:20:06 - End Time 2025-03-09 14:20:06 [2025-03-09 14:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642756', 'tblTempUsageDetail_20' ) start [2025-03-09 14:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642756', 'tblTempUsageDetail_20' ) end [2025-03-09 14:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642756', 'tblTempVendorCDR_20' ) start [2025-03-09 14:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642756', 'tblTempVendorCDR_20' ) end [2025-03-09 14:20:18] Production.INFO: ProcessCDR(1,14642756,1,1,2) [2025-03-09 14:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642756', 'tblTempUsageDetail_20' ) start [2025-03-09 14:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642756', 'tblTempUsageDetail_20' ) end [2025-03-09 14:20:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:20:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:20:21] Production.INFO: ==26616== Releasing lock... [2025-03-09 14:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:20:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 18:21:01] Production.INFO: ==26674== Lock acquired, processing the job... [2025-03-09 18:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:21:01] Production.INFO: neon service started [2025-03-09 18:21:01] Production.INFO: neon service started [2025-03-09 18:21:01] Production.INFO: ==26674== Releasing lock... [2025-03-09 18:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:21:01] Production.INFO: ==26676== Lock acquired, processing the job... [2025-03-09 14:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:21:02] Production.INFO: ==26676== Releasing lock... [2025-03-09 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:21:02] Production.INFO: ==26678== Lock acquired, processing the job... [2025-03-09 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:21:02] Production.INFO: ==26678== Releasing lock... [2025-03-09 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:21:03] Production.INFO: ==26681== Lock acquired, processing the job... [2025-03-09 14:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:21:03] Production.INFO: ==26691== Lock acquired, processing the job... [2025-03-09 14:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:21:03] Production.INFO: ==26683== Lock acquired, processing the job... [2025-03-09 14:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:21:03] Production.INFO: ==26685== Lock acquired, processing the job... [2025-03-09 14:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:21:03] Production.INFO: ==26687== Lock acquired, processing the job... [2025-03-09 14:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:21:03] Production.INFO: count ==13 [2025-03-09 14:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:21:03] Production.INFO: count ==21 [2025-03-09 14:21:03] Production.INFO: ==26689== Lock acquired, processing the job... [2025-03-09 14:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642758') start [2025-03-09 14:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:21:03] Production.INFO: Account Balance Start. [2025-03-09 14:21:03] Production.INFO: CreateAllLog Start [2025-03-09 14:21:03] Production.INFO: 117 [2025-03-09 14:21:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:21:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642758') end [2025-03-09 14:21:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:21:03] Production.INFO: 1 [2025-03-09 14:21:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:21:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:21:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:21:03] Production.INFO: Total Charge 0 [2025-03-09 14:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:21:03] Production.INFO: CreateAllLog End [2025-03-09 14:21:03] Production.INFO: ==26691== Releasing lock... [2025-03-09 14:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:21:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:21:03] Production.INFO: ==26683== Releasing lock... [2025-03-09 14:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:21:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:21:03] Production.ERROR: done [2025-03-09 14:21:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:21:04] Production.ERROR: done [2025-03-09 14:21:04] Production.INFO: Account Balance End. [2025-03-09 14:21:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:21:04] Production.INFO: ==26687== Releasing lock... [2025-03-09 14:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:21:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:21:04 [end_date_ymd] => 2025-03-09 14:21:04 [RateCDR] => 1 ) [2025-03-09 14:21:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:21:04' and `end` < '2025-03-09 14:21:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:21:11] Production.ERROR: CronJobId end10 [2025-03-09 14:21:11] Production.INFO: ==26685== Releasing lock... [2025-03-09 14:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:21:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:21:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:21:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:21:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:21:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:21:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:21:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:21:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:21:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:21:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:21:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:21:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:21:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:21:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:21:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:21:13] Production.INFO: call_cost start [2025-03-09 14:21:13] Production.INFO: call_cost end [2025-03-09 14:21:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:21:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:21:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:21:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:21:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:21:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:21:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:21:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:21:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:21:14] Production.INFO: ==26681== Releasing lock... [2025-03-09 14:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:21:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:21:17] Production.INFO: count ==861 [2025-03-09 14:21:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:21:04 - End Time 2025-03-09 14:21:04 [2025-03-09 14:21:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642761', 'tblTempUsageDetail_20' ) start [2025-03-09 14:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642761', 'tblTempUsageDetail_20' ) end [2025-03-09 14:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642761', 'tblTempVendorCDR_20' ) start [2025-03-09 14:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642761', 'tblTempVendorCDR_20' ) end [2025-03-09 14:21:17] Production.INFO: ProcessCDR(1,14642761,1,1,2) [2025-03-09 14:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642761', 'tblTempUsageDetail_20' ) start [2025-03-09 14:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642761', 'tblTempUsageDetail_20' ) end [2025-03-09 14:21:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:21:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:21:20] Production.INFO: ==26689== Releasing lock... [2025-03-09 14:21:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:21:20] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 18:22:02] Production.INFO: ==26746== Lock acquired, processing the job... [2025-03-09 18:22:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:22:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:22:02] Production.INFO: neon service started [2025-03-09 18:22:02] Production.INFO: neon service started [2025-03-09 18:22:02] Production.INFO: ==26746== Releasing lock... [2025-03-09 18:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:22:02] Production.INFO: ==26750== Lock acquired, processing the job... [2025-03-09 18:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:22:02] Production.INFO: ==26748== Lock acquired, processing the job... [2025-03-09 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:22:02] Production.INFO: ==26750== Releasing lock... [2025-03-09 18:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:22:03] Production.INFO: ==26748== Releasing lock... [2025-03-09 14:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:22:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:22:04] Production.INFO: ==26759== Lock acquired, processing the job... [2025-03-09 14:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:22:04] Production.INFO: ==26753== Lock acquired, processing the job... [2025-03-09 14:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:22:04] Production.INFO: Account Balance Start. [2025-03-09 14:22:04] Production.INFO: CreateAllLog Start [2025-03-09 14:22:04] Production.INFO: 117 [2025-03-09 14:22:04] Production.INFO: ==26761== Lock acquired, processing the job... [2025-03-09 14:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:22:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:22:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:22:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:22:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:22:04] Production.INFO: Total Charge 0 [2025-03-09 14:22:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:22:04] Production.INFO: CreateAllLog End [2025-03-09 14:22:04] Production.INFO: ==26755== Lock acquired, processing the job... [2025-03-09 14:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:22:04] Production.INFO: ==26757== Lock acquired, processing the job... [2025-03-09 14:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:22:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:22:04] Production.INFO: ==26763== Lock acquired, processing the job... [2025-03-09 14:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:22:04] Production.INFO: count ==13 [2025-03-09 14:22:04] Production.ERROR: done [2025-03-09 14:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:22:04] Production.INFO: count ==21 [2025-03-09 14:22:04] Production.INFO: Account Balance End. [2025-03-09 14:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:22:04] Production.INFO: ==26755== Releasing lock... [2025-03-09 14:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642765') start [2025-03-09 14:22:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:22:04] Production.INFO: ==26759== Releasing lock... [2025-03-09 14:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:22:04] Production.ERROR: done [2025-03-09 14:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642765') end [2025-03-09 14:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:22:04] Production.INFO: 1 [2025-03-09 14:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:22:05] Production.INFO: ==26763== Releasing lock... [2025-03-09 14:22:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:22:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:22:05 [end_date_ymd] => 2025-03-09 14:22:05 [RateCDR] => 1 ) [2025-03-09 14:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:22:05' and `end` < '2025-03-09 14:22:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:22:12] Production.ERROR: CronJobId end10 [2025-03-09 14:22:12] Production.INFO: ==26757== Releasing lock... [2025-03-09 14:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:22:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:22:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:22:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:22:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:22:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:22:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:22:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:22:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:22:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:22:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:22:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:22:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:22:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:22:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:22:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:22:14] Production.INFO: call_cost start [2025-03-09 14:22:14] Production.INFO: call_cost end [2025-03-09 14:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:22:15] Production.INFO: ==26753== Releasing lock... [2025-03-09 14:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:22:18] Production.INFO: count ==860 [2025-03-09 14:22:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:22:05 - End Time 2025-03-09 14:22:05 [2025-03-09 14:22:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642766', 'tblTempUsageDetail_20' ) start [2025-03-09 14:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642766', 'tblTempUsageDetail_20' ) end [2025-03-09 14:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642766', 'tblTempVendorCDR_20' ) start [2025-03-09 14:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642766', 'tblTempVendorCDR_20' ) end [2025-03-09 14:22:18] Production.INFO: ProcessCDR(1,14642766,1,1,2) [2025-03-09 14:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642766', 'tblTempUsageDetail_20' ) start [2025-03-09 14:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642766', 'tblTempUsageDetail_20' ) end [2025-03-09 14:22:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:22:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:22:21] Production.INFO: ==26761== Releasing lock... [2025-03-09 14:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:22:21] Production.INFO: 35 MB #Memory Used# [2025-03-09 18:23:01] Production.INFO: ==26820== Lock acquired, processing the job... [2025-03-09 18:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:23:01] Production.INFO: neon service started [2025-03-09 18:23:01] Production.INFO: neon service started [2025-03-09 18:23:01] Production.INFO: ==26820== Releasing lock... [2025-03-09 18:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:23:01] Production.INFO: ==26822== Lock acquired, processing the job... [2025-03-09 14:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:23:02] Production.INFO: ==26822== Releasing lock... [2025-03-09 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:23:02] Production.INFO: ==26824== Lock acquired, processing the job... [2025-03-09 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:23:02] Production.INFO: ==26824== Releasing lock... [2025-03-09 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:23:02] Production.INFO: ==26826== Lock acquired, processing the job... [2025-03-09 14:23:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:23:03] Production.INFO: ==26828== Lock acquired, processing the job... [2025-03-09 14:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:23:03] Production.INFO: ==26830== Lock acquired, processing the job... [2025-03-09 14:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:23:03] Production.INFO: ==26834== Lock acquired, processing the job... [2025-03-09 14:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:23:03] Production.INFO: ==26832== Lock acquired, processing the job... [2025-03-09 14:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:23:03] Production.INFO: ==26836== Lock acquired, processing the job... [2025-03-09 14:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:23:03] Production.INFO: count ==13 [2025-03-09 14:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:23:03] Production.INFO: Account Balance Start. [2025-03-09 14:23:03] Production.INFO: CreateAllLog Start [2025-03-09 14:23:03] Production.INFO: 117 [2025-03-09 14:23:03] Production.INFO: ==26828== Releasing lock... [2025-03-09 14:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:23:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:23:03] Production.INFO: count ==21 [2025-03-09 14:23:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:23:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642769') start [2025-03-09 14:23:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:23:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:23:03] Production.INFO: Total Charge 0 [2025-03-09 14:23:03] Production.INFO: CreateAllLog End [2025-03-09 14:23:03] Production.ERROR: done [2025-03-09 14:23:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642769') end [2025-03-09 14:23:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:23:03] Production.INFO: 1 [2025-03-09 14:23:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:23:03] Production.INFO: ==26836== Releasing lock... [2025-03-09 14:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:23:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:23:03] Production.INFO: Account Balance End. [2025-03-09 14:23:03] Production.ERROR: CronJobId end 12 [2025-03-09 14:23:03] Production.INFO: ==26832== Releasing lock... [2025-03-09 14:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:23:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:23:03] Production.ERROR: done [2025-03-09 14:23:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:23:04 [end_date_ymd] => 2025-03-09 14:23:04 [RateCDR] => 1 ) [2025-03-09 14:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:23:04' and `end` < '2025-03-09 14:23:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:23:11] Production.ERROR: CronJobId end10 [2025-03-09 14:23:11] Production.INFO: ==26830== Releasing lock... [2025-03-09 14:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:23:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:23:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:23:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:23:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:23:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:23:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:23:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:23:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:23:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:23:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:23:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:23:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:23:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:23:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:23:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:23:14] Production.INFO: call_cost start [2025-03-09 14:23:14] Production.INFO: call_cost end [2025-03-09 14:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:23:15] Production.INFO: ==26826== Releasing lock... [2025-03-09 14:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:23:17] Production.INFO: count ==861 [2025-03-09 14:23:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:23:04 - End Time 2025-03-09 14:23:04 [2025-03-09 14:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642771', 'tblTempUsageDetail_20' ) start [2025-03-09 14:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642771', 'tblTempUsageDetail_20' ) end [2025-03-09 14:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642771', 'tblTempVendorCDR_20' ) start [2025-03-09 14:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642771', 'tblTempVendorCDR_20' ) end [2025-03-09 14:23:17] Production.INFO: ProcessCDR(1,14642771,1,1,2) [2025-03-09 14:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642771', 'tblTempUsageDetail_20' ) start [2025-03-09 14:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642771', 'tblTempUsageDetail_20' ) end [2025-03-09 14:23:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:23:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:23:22] Production.INFO: ==26834== Releasing lock... [2025-03-09 14:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:23:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 18:24:01] Production.INFO: ==26892== Lock acquired, processing the job... [2025-03-09 18:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:24:01] Production.INFO: neon service started [2025-03-09 18:24:01] Production.INFO: neon service started [2025-03-09 18:24:01] Production.INFO: ==26892== Releasing lock... [2025-03-09 18:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:24:02] Production.INFO: ==26896== Lock acquired, processing the job... [2025-03-09 18:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:24:02] Production.INFO: ==26894== Lock acquired, processing the job... [2025-03-09 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:24:02] Production.INFO: ==26896== Releasing lock... [2025-03-09 18:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:24:02] Production.INFO: ==26894== Releasing lock... [2025-03-09 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:24:03] Production.INFO: ==26901== Lock acquired, processing the job... [2025-03-09 14:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:24:03] Production.INFO: ==26899== Lock acquired, processing the job... [2025-03-09 14:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:24:03] Production.INFO: ==26903== Lock acquired, processing the job... [2025-03-09 14:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:24:04] Production.INFO: ==26907== Lock acquired, processing the job... [2025-03-09 14:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:24:04] Production.INFO: ==26905== Lock acquired, processing the job... [2025-03-09 14:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:24:04] Production.INFO: Account Balance Start. [2025-03-09 14:24:04] Production.INFO: CreateAllLog Start [2025-03-09 14:24:04] Production.INFO: 117 [2025-03-09 14:24:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:24:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:24:04] Production.INFO: ==26909== Lock acquired, processing the job... [2025-03-09 14:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:24:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:24:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:24:04] Production.INFO: Total Charge 0 [2025-03-09 14:24:04] Production.INFO: CreateAllLog End [2025-03-09 14:24:04] Production.INFO: ==26901== Releasing lock... [2025-03-09 14:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 14:24:04] Production.INFO: count ==13 [2025-03-09 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-09 14:24:04] Production.INFO: count ==21 [2025-03-09 14:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642775') start [2025-03-09 14:24:04] Production.INFO: Account Balance End. [2025-03-09 14:24:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:24:04] Production.INFO: ==26905== Releasing lock... [2025-03-09 14:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:24:04] Production.ERROR: done [2025-03-09 14:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642775') end [2025-03-09 14:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:24:04] Production.INFO: 1 [2025-03-09 14:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:24:04] Production.INFO: ==26909== Releasing lock... [2025-03-09 14:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:24:05] Production.ERROR: done [2025-03-09 14:24:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:24:06 [end_date_ymd] => 2025-03-09 14:24:06 [RateCDR] => 1 ) [2025-03-09 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-09 11:24:06' and `end` < '2025-03-09 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-09 14:24:11] Production.ERROR: CronJobId end10 [2025-03-09 14:24:11] Production.INFO: ==26903== Releasing lock... [2025-03-09 14:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:24:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:24:14] Production.INFO: call_cost start [2025-03-09 14:24:14] Production.INFO: call_cost end [2025-03-09 14:24:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:24:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:24:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:24:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:24:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:24:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:24:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:24:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:24:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:24:15] Production.INFO: ==26899== Releasing lock... [2025-03-09 14:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:24:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:24:18] Production.INFO: count ==860 [2025-03-09 14:24:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:24:06 - End Time 2025-03-09 14:24:06 [2025-03-09 14:24:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642776', 'tblTempUsageDetail_20' ) start [2025-03-09 14:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642776', 'tblTempUsageDetail_20' ) end [2025-03-09 14:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642776', 'tblTempVendorCDR_20' ) start [2025-03-09 14:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642776', 'tblTempVendorCDR_20' ) end [2025-03-09 14:24:18] Production.INFO: ProcessCDR(1,14642776,1,1,2) [2025-03-09 14:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642776', 'tblTempUsageDetail_20' ) start [2025-03-09 14:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642776', 'tblTempUsageDetail_20' ) end [2025-03-09 14:24:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:24:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:24:21] Production.INFO: ==26907== Releasing lock... [2025-03-09 14:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:24:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 18:25:01] Production.INFO: ==26964== Lock acquired, processing the job... [2025-03-09 18:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:25:01] Production.INFO: neon service started [2025-03-09 18:25:01] Production.INFO: neon service started [2025-03-09 18:25:01] Production.INFO: ==26964== Releasing lock... [2025-03-09 18:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:25:02] Production.INFO: ==26966== Lock acquired, processing the job... [2025-03-09 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:25:02] Production.INFO: ==26968== Lock acquired, processing the job... [2025-03-09 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:25:02] Production.INFO: ==26968== Releasing lock... [2025-03-09 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:25:02] Production.INFO: ==26966== Releasing lock... [2025-03-09 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:25:03] Production.INFO: ==26981== Lock acquired, processing the job... [2025-03-09 14:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:25:03] Production.INFO: ==26979== Lock acquired, processing the job... [2025-03-09 14:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:25:03] Production.INFO: ==26971== Lock acquired, processing the job... [2025-03-09 14:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:25:03] Production.INFO: ==26973== Lock acquired, processing the job... [2025-03-09 14:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:25:03] Production.INFO: count ==13 [2025-03-09 14:25:03] Production.INFO: ==26975== Lock acquired, processing the job... [2025-03-09 14:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:25:03] Production.INFO: count ==21 [2025-03-09 14:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:25:03] Production.INFO: ==26977== Lock acquired, processing the job... [2025-03-09 14:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642777') start [2025-03-09 14:25:03] Production.INFO: Account Balance Start. [2025-03-09 14:25:03] Production.INFO: CreateAllLog Start [2025-03-09 14:25:03] Production.INFO: 117 [2025-03-09 14:25:03] Production.ERROR: done [2025-03-09 14:25:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:25:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642777') end [2025-03-09 14:25:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:25:03] Production.INFO: 1 [2025-03-09 14:25:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:25:03] Production.INFO: ==26981== Releasing lock... [2025-03-09 14:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:25:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:25:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:25:04] Production.ERROR: done [2025-03-09 14:25:04] Production.INFO: Total Charge 0 [2025-03-09 14:25:04] Production.INFO: CreateAllLog End [2025-03-09 14:25:04] Production.INFO: ==26973== Releasing lock... [2025-03-09 14:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:25:04] Production.INFO: Account Balance End. [2025-03-09 14:25:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:25:04] Production.INFO: ==26977== Releasing lock... [2025-03-09 14:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:25:05 [end_date_ymd] => 2025-03-09 14:25:05 [RateCDR] => 1 ) [2025-03-09 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-09 11:25:05' and `end` < '2025-03-09 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-09 14:25:11] Production.ERROR: CronJobId end10 [2025-03-09 14:25:11] Production.INFO: ==26975== Releasing lock... [2025-03-09 14:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:25:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:25:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:25:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:25:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:25:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:25:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:25:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:25:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:25:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:25:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:25:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:25:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:25:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:25:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:25:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:25:14] Production.INFO: call_cost start [2025-03-09 14:25:14] Production.INFO: call_cost end [2025-03-09 14:25:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:25:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:25:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:25:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:25:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:25:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:25:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:25:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:25:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:25:15] Production.INFO: ==26971== Releasing lock... [2025-03-09 14:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:25:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:25:17] Production.INFO: count ==861 [2025-03-09 14:25:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:25:05 - End Time 2025-03-09 14:25:05 [2025-03-09 14:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642781', 'tblTempUsageDetail_20' ) start [2025-03-09 14:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642781', 'tblTempUsageDetail_20' ) end [2025-03-09 14:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642781', 'tblTempVendorCDR_20' ) start [2025-03-09 14:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642781', 'tblTempVendorCDR_20' ) end [2025-03-09 14:25:17] Production.INFO: ProcessCDR(1,14642781,1,1,2) [2025-03-09 14:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642781', 'tblTempUsageDetail_20' ) start [2025-03-09 14:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642781', 'tblTempUsageDetail_20' ) end [2025-03-09 14:25:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:25:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:25:20] Production.INFO: ==26979== Releasing lock... [2025-03-09 14:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:25:20] Production.INFO: 35 MB #Memory Used# [2025-03-09 18:26:01] Production.INFO: ==27042== Lock acquired, processing the job... [2025-03-09 18:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:26:01] Production.INFO: neon service started [2025-03-09 18:26:01] Production.INFO: neon service started [2025-03-09 18:26:01] Production.INFO: ==27042== Releasing lock... [2025-03-09 18:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:26:02] Production.INFO: ==27046== Lock acquired, processing the job... [2025-03-09 18:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:26:02] Production.INFO: ==27046== Releasing lock... [2025-03-09 18:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:26:02] Production.INFO: ==27044== Lock acquired, processing the job... [2025-03-09 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:26:02] Production.INFO: ==27044== Releasing lock... [2025-03-09 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:26:03] Production.INFO: ==27051== Lock acquired, processing the job... [2025-03-09 14:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:26:03] Production.INFO: ==27053== Lock acquired, processing the job... [2025-03-09 14:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:26:03] Production.INFO: ==27057== Lock acquired, processing the job... [2025-03-09 14:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:26:03] Production.INFO: ==27049== Lock acquired, processing the job... [2025-03-09 14:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:26:03] Production.INFO: ==27055== Lock acquired, processing the job... [2025-03-09 14:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:26:03] Production.INFO: ==27051== Releasing lock... [2025-03-09 14:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:26:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:26:03] Production.INFO: Account Balance Start. [2025-03-09 14:26:03] Production.INFO: CreateAllLog Start [2025-03-09 14:26:03] Production.INFO: 117 [2025-03-09 14:26:03] Production.INFO: ==27059== Lock acquired, processing the job... [2025-03-09 14:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:26:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:26:03] Production.ERROR: done [2025-03-09 14:26:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:26:03] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 14:26:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:26:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:26:04] Production.INFO: count ==13 [2025-03-09 14:26:04] Production.ERROR: done [2025-03-09 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-09 14:26:04] Production.INFO: count ==21 [2025-03-09 14:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642785') start [2025-03-09 14:26:04] Production.INFO: Total Charge 0 [2025-03-09 14:26:04] Production.INFO: CreateAllLog End [2025-03-09 14:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642785') end [2025-03-09 14:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:26:04] Production.INFO: 1 [2025-03-09 14:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:26:04] Production.INFO: ==27059== Releasing lock... [2025-03-09 14:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:26:04] Production.INFO: Account Balance End. [2025-03-09 14:26:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:26:04] Production.INFO: ==27055== Releasing lock... [2025-03-09 14:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:26:05 [end_date_ymd] => 2025-03-09 14:26:05 [RateCDR] => 1 ) [2025-03-09 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-09 11:26:05' and `end` < '2025-03-09 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-09 14:26:11] Production.ERROR: CronJobId end10 [2025-03-09 14:26:11] Production.INFO: ==27053== Releasing lock... [2025-03-09 14:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:26:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:26:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:26:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:26:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:26:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:26:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:26:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:26:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:26:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:26:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:26:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:26:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:26:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:26:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:26:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:26:13] Production.INFO: call_cost start [2025-03-09 14:26:13] Production.INFO: call_cost end [2025-03-09 14:26:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:26:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:26:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:26:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:26:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:26:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:26:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:26:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:26:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:26:14] Production.INFO: ==27049== Releasing lock... [2025-03-09 14:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:26:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:26:17] Production.INFO: count ==858 [2025-03-09 14:26:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:26:05 - End Time 2025-03-09 14:26:05 [2025-03-09 14:26:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642786', 'tblTempUsageDetail_20' ) start [2025-03-09 14:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642786', 'tblTempUsageDetail_20' ) end [2025-03-09 14:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642786', 'tblTempVendorCDR_20' ) start [2025-03-09 14:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642786', 'tblTempVendorCDR_20' ) end [2025-03-09 14:26:17] Production.INFO: ProcessCDR(1,14642786,1,1,2) [2025-03-09 14:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642786', 'tblTempUsageDetail_20' ) start [2025-03-09 14:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642786', 'tblTempUsageDetail_20' ) end [2025-03-09 14:26:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:26:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:26:20] Production.INFO: ==27057== Releasing lock... [2025-03-09 14:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:26:20] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 18:27:02] Production.INFO: ==27115== Lock acquired, processing the job... [2025-03-09 18:27:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:27:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:27:02] Production.INFO: neon service started [2025-03-09 18:27:02] Production.INFO: neon service started [2025-03-09 18:27:02] Production.INFO: ==27115== Releasing lock... [2025-03-09 18:27:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:27:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:27:02] Production.INFO: ==27117== Lock acquired, processing the job... [2025-03-09 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:27:02] Production.INFO: ==27119== Lock acquired, processing the job... [2025-03-09 18:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:27:02] Production.INFO: ==27119== Releasing lock... [2025-03-09 18:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:27:03] Production.INFO: ==27117== Releasing lock... [2025-03-09 14:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:27:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:27:04] Production.INFO: ==27122== Lock acquired, processing the job... [2025-03-09 14:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:27:04] Production.INFO: ==27124== Lock acquired, processing the job... [2025-03-09 14:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:27:04] Production.INFO: ==27126== Lock acquired, processing the job... [2025-03-09 14:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:27:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:27:04] Production.INFO: ==27132== Lock acquired, processing the job... [2025-03-09 14:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:27:04] Production.INFO: ==27128== Lock acquired, processing the job... [2025-03-09 14:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:27:04] Production.INFO: ==27130== Lock acquired, processing the job... [2025-03-09 14:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:27:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:27:04] Production.INFO: Account Balance Start. [2025-03-09 14:27:04] Production.INFO: CreateAllLog Start [2025-03-09 14:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:27:04] Production.INFO: 117 [2025-03-09 14:27:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:27:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:27:04] Production.INFO: ==27124== Releasing lock... [2025-03-09 14:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:27:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:27:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:27:04] Production.INFO: count ==13 [2025-03-09 14:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:27:04] Production.INFO: Total Charge 0 [2025-03-09 14:27:04] Production.INFO: count ==21 [2025-03-09 14:27:04] Production.INFO: CreateAllLog End [2025-03-09 14:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642789') start [2025-03-09 14:27:04] Production.ERROR: done [2025-03-09 14:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642789') end [2025-03-09 14:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:27:04] Production.INFO: 1 [2025-03-09 14:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:27:04] Production.INFO: ==27132== Releasing lock... [2025-03-09 14:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:27:04] Production.ERROR: done [2025-03-09 14:27:04] Production.INFO: Account Balance End. [2025-03-09 14:27:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:27:04] Production.INFO: ==27128== Releasing lock... [2025-03-09 14:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:27:05 [end_date_ymd] => 2025-03-09 14:27:05 [RateCDR] => 1 ) [2025-03-09 14:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:27:05' and `end` < '2025-03-09 14:27:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:27:11] Production.ERROR: CronJobId end10 [2025-03-09 14:27:11] Production.INFO: ==27126== Releasing lock... [2025-03-09 14:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:27:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:27:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:27:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:27:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:27:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:27:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:27:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:27:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:27:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:27:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:27:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:27:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:27:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:27:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:27:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:27:14] Production.INFO: call_cost start [2025-03-09 14:27:14] Production.INFO: call_cost end [2025-03-09 14:27:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:27:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:27:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:27:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:27:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:27:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:27:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:27:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:27:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:27:15] Production.INFO: ==27122== Releasing lock... [2025-03-09 14:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:27:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:27:17] Production.INFO: count ==857 [2025-03-09 14:27:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:27:05 - End Time 2025-03-09 14:27:05 [2025-03-09 14:27:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642791', 'tblTempUsageDetail_20' ) start [2025-03-09 14:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642791', 'tblTempUsageDetail_20' ) end [2025-03-09 14:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642791', 'tblTempVendorCDR_20' ) start [2025-03-09 14:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642791', 'tblTempVendorCDR_20' ) end [2025-03-09 14:27:18] Production.INFO: ProcessCDR(1,14642791,1,1,2) [2025-03-09 14:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642791', 'tblTempUsageDetail_20' ) start [2025-03-09 14:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642791', 'tblTempUsageDetail_20' ) end [2025-03-09 14:27:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:27:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:27:21] Production.INFO: ==27130== Releasing lock... [2025-03-09 14:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:27:21] Production.INFO: 35 MB #Memory Used# [2025-03-09 18:28:01] Production.INFO: ==27185== Lock acquired, processing the job... [2025-03-09 18:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:28:01] Production.INFO: neon service started [2025-03-09 18:28:01] Production.INFO: neon service started [2025-03-09 18:28:01] Production.INFO: ==27185== Releasing lock... [2025-03-09 18:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:28:02] Production.INFO: ==27187== Lock acquired, processing the job... [2025-03-09 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:28:02] Production.INFO: ==27187== Releasing lock... [2025-03-09 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:28:02] Production.INFO: ==27189== Lock acquired, processing the job... [2025-03-09 18:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:28:02] Production.INFO: ==27189== Releasing lock... [2025-03-09 18:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:28:03] Production.INFO: ==27200== Lock acquired, processing the job... [2025-03-09 14:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:28:03] Production.INFO: ==27202== Lock acquired, processing the job... [2025-03-09 14:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:28:03] Production.INFO: ==27194== Lock acquired, processing the job... [2025-03-09 14:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:28:03] Production.INFO: ==27192== Lock acquired, processing the job... [2025-03-09 14:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:28:03] Production.INFO: ==27198== Lock acquired, processing the job... [2025-03-09 14:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:28:03] Production.INFO: ==27196== Lock acquired, processing the job... [2025-03-09 14:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:28:03] Production.INFO: count ==13 [2025-03-09 14:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:28:03] Production.INFO: count ==21 [2025-03-09 14:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642792') start [2025-03-09 14:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:28:03] Production.INFO: Account Balance Start. [2025-03-09 14:28:03] Production.INFO: CreateAllLog Start [2025-03-09 14:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:28:03] Production.INFO: 117 [2025-03-09 14:28:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:28:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642792') end [2025-03-09 14:28:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:28:03] Production.INFO: 1 [2025-03-09 14:28:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:28:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:28:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:28:03] Production.INFO: ==27202== Releasing lock... [2025-03-09 14:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:28:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:28:03] Production.ERROR: done [2025-03-09 14:28:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:28:04] Production.INFO: ==27194== Releasing lock... [2025-03-09 14:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:28:04] Production.INFO: Total Charge 0 [2025-03-09 14:28:04] Production.INFO: CreateAllLog End [2025-03-09 14:28:04] Production.ERROR: done [2025-03-09 14:28:04] Production.INFO: Account Balance End. [2025-03-09 14:28:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:28:04] Production.INFO: ==27198== Releasing lock... [2025-03-09 14:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:28:05 [end_date_ymd] => 2025-03-09 14:28:05 [RateCDR] => 1 ) [2025-03-09 14:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:28:05' and `end` < '2025-03-09 14:28:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:28:12] Production.ERROR: CronJobId end10 [2025-03-09 14:28:12] Production.INFO: ==27196== Releasing lock... [2025-03-09 14:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:28:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:28:14] Production.INFO: call_cost start [2025-03-09 14:28:14] Production.INFO: call_cost end [2025-03-09 14:28:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:28:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:28:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:28:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:28:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:28:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:28:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:28:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:28:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:28:15] Production.INFO: ==27192== Releasing lock... [2025-03-09 14:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:28:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:28:17] Production.INFO: count ==857 [2025-03-09 14:28:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:28:05 - End Time 2025-03-09 14:28:05 [2025-03-09 14:28:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642796', 'tblTempUsageDetail_20' ) start [2025-03-09 14:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642796', 'tblTempUsageDetail_20' ) end [2025-03-09 14:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642796', 'tblTempVendorCDR_20' ) start [2025-03-09 14:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642796', 'tblTempVendorCDR_20' ) end [2025-03-09 14:28:17] Production.INFO: ProcessCDR(1,14642796,1,1,2) [2025-03-09 14:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:28:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642796', 'tblTempUsageDetail_20' ) start [2025-03-09 14:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642796', 'tblTempUsageDetail_20' ) end [2025-03-09 14:28:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:28:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:28:20] Production.INFO: ==27200== Releasing lock... [2025-03-09 14:28:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:28:20] Production.INFO: 35 MB #Memory Used# [2025-03-09 18:29:02] Production.INFO: ==27255== Lock acquired, processing the job... [2025-03-09 18:29:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:29:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:29:02] Production.INFO: neon service started [2025-03-09 18:29:02] Production.INFO: neon service started [2025-03-09 18:29:02] Production.INFO: ==27255== Releasing lock... [2025-03-09 18:29:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:29:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:29:02] Production.INFO: ==27259== Lock acquired, processing the job... [2025-03-09 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:29:02] Production.INFO: ==27259== Releasing lock... [2025-03-09 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:29:02] Production.INFO: ==27257== Lock acquired, processing the job... [2025-03-09 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:29:03] Production.INFO: ==27257== Releasing lock... [2025-03-09 14:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:29:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:29:04] Production.INFO: ==27266== Lock acquired, processing the job... [2025-03-09 14:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:29:04] Production.INFO: ==27272== Lock acquired, processing the job... [2025-03-09 14:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:29:04] Production.INFO: ==27262== Lock acquired, processing the job... [2025-03-09 14:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:29:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:29:04] Production.INFO: ==27264== Lock acquired, processing the job... [2025-03-09 14:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:29:04] Production.INFO: count ==13 [2025-03-09 14:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:29:04] Production.INFO: count ==21 [2025-03-09 14:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642797') start [2025-03-09 14:29:04] Production.INFO: ==27268== Lock acquired, processing the job... [2025-03-09 14:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:29:04] Production.INFO: ==27270== Lock acquired, processing the job... [2025-03-09 14:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:29:04] Production.INFO: Account Balance Start. [2025-03-09 14:29:04] Production.INFO: CreateAllLog Start [2025-03-09 14:29:04] Production.INFO: 117 [2025-03-09 14:29:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:29:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642797') end [2025-03-09 14:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:29:04] Production.INFO: 1 [2025-03-09 14:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:29:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:29:04] Production.INFO: ==27272== Releasing lock... [2025-03-09 14:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:29:04] Production.INFO: ==27264== Releasing lock... [2025-03-09 14:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:29:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:29:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:29:04] Production.INFO: Total Charge 0 [2025-03-09 14:29:04] Production.INFO: CreateAllLog End [2025-03-09 14:29:04] Production.ERROR: done [2025-03-09 14:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:29:05] Production.INFO: Account Balance End. [2025-03-09 14:29:05] Production.ERROR: done [2025-03-09 14:29:05] Production.ERROR: CronJobId end 12 [2025-03-09 14:29:05] Production.INFO: ==27268== Releasing lock... [2025-03-09 14:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:29:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:29:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:29:06 [end_date_ymd] => 2025-03-09 14:29:06 [RateCDR] => 1 ) [2025-03-09 14:29:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:29:06' and `end` < '2025-03-09 14:29:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:29:12] Production.ERROR: CronJobId end10 [2025-03-09 14:29:12] Production.INFO: ==27266== Releasing lock... [2025-03-09 14:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:29:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:29:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:29:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:29:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:29:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:29:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:29:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:29:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:29:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:29:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:29:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:29:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:29:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:29:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:29:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:29:15] Production.INFO: call_cost start [2025-03-09 14:29:15] Production.INFO: call_cost end [2025-03-09 14:29:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:29:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:29:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:29:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:29:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:29:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:29:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:29:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:29:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:29:16] Production.INFO: ==27262== Releasing lock... [2025-03-09 14:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:29:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:29:18] Production.INFO: count ==845 [2025-03-09 14:29:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:29:06 - End Time 2025-03-09 14:29:06 [2025-03-09 14:29:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642801', 'tblTempUsageDetail_20' ) start [2025-03-09 14:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642801', 'tblTempUsageDetail_20' ) end [2025-03-09 14:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642801', 'tblTempVendorCDR_20' ) start [2025-03-09 14:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642801', 'tblTempVendorCDR_20' ) end [2025-03-09 14:29:18] Production.INFO: ProcessCDR(1,14642801,1,1,2) [2025-03-09 14:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642801', 'tblTempUsageDetail_20' ) start [2025-03-09 14:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642801', 'tblTempUsageDetail_20' ) end [2025-03-09 14:29:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:29:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:29:21] Production.INFO: ==27270== Releasing lock... [2025-03-09 14:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:29:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 18:30:01] Production.INFO: ==27329== Lock acquired, processing the job... [2025-03-09 18:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:30:01] Production.INFO: neon service started [2025-03-09 18:30:01] Production.INFO: neon service started [2025-03-09 18:30:01] Production.INFO: ==27329== Releasing lock... [2025-03-09 18:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:30:02] Production.INFO: ==27333== Lock acquired, processing the job... [2025-03-09 18:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:30:02] Production.INFO: ==27333== Releasing lock... [2025-03-09 18:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:30:02] Production.INFO: ==27331== Lock acquired, processing the job... [2025-03-09 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:30:02] Production.INFO: ==27331== Releasing lock... [2025-03-09 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:30:03] Production.INFO: ==27337== Lock acquired, processing the job... [2025-03-09 14:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:30:03] Production.INFO: ==27335== Lock acquired, processing the job... [2025-03-09 14:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 14:30:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:30:03] Production.INFO: ==27344== Lock acquired, processing the job... [2025-03-09 14:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:30:03] Production.INFO: ==27339== Lock acquired, processing the job... [2025-03-09 14:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:30:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 14:30:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 14:30:03] Production.ERROR: CronJob PID - 27337 [2025-03-09 14:30:03] Production.ERROR: CronJob Title - System Alerts [2025-03-09 14:30:03] Production.ERROR: CronJob ID - 5 [2025-03-09 14:30:03] Production.ERROR: CronJob Last Run Time 2025-03-09 14:30:00 [2025-03-09 14:30:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 14:30:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 14:30:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 14:30:03] Production.ERROR: CronJob PID - 27344 [2025-03-09 14:30:03] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 14:30:03] Production.ERROR: CronJob ID - 12 [2025-03-09 14:30:03] Production.ERROR: CronJob Last Run Time 2025-03-09 14:30:00 [2025-03-09 14:30:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 14:30:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 14:30:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 14:30:03] Production.INFO: ==27335== Releasing lock... [2025-03-09 14:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 14:30:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 14:30:04] Production.INFO: Account Balance Start. [2025-03-09 14:30:04] Production.INFO: CreateAllLog Start [2025-03-09 14:30:04] Production.INFO: 117 [2025-03-09 14:30:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:30:04] Production.INFO: ==27341== Lock acquired, processing the job... [2025-03-09 14:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:30:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:30:04] Production.INFO: ==27350== Lock acquired, processing the job... [2025-03-09 14:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:30:04] Production.INFO: Total Charge 0 [2025-03-09 14:30:04] Production.INFO: CreateAllLog End [2025-03-09 14:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:30:04] Production.INFO: ==27346== Lock acquired, processing the job... [2025-03-09 14:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:30:04] Production.INFO: ==27348== Lock acquired, processing the job... [2025-03-09 14:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 14:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:30:04] Production.INFO: count ==13 [2025-03-09 14:30:04] Production.INFO: Account Balance End. [2025-03-09 14:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:30:04] Production.INFO: count ==21 [2025-03-09 14:30:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:30:04] Production.INFO: ==27344== Releasing lock... [2025-03-09 14:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:30:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642805') start [2025-03-09 14:30:04] Production.INFO: ==27339== Releasing lock... [2025-03-09 14:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642805') end [2025-03-09 14:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:30:04] Production.INFO: 1 [2025-03-09 14:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:30:04] Production.ERROR: done [2025-03-09 14:30:04] Production.INFO: ==27350== Releasing lock... [2025-03-09 14:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:30:04] Production.ERROR: done [2025-03-09 14:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 14:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642806', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 14:30:04] Production.ERROR: done [2025-03-09 14:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:30:06 [end_date_ymd] => 2025-03-09 14:30:06 [RateCDR] => 1 ) [2025-03-09 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-09 11:30:06' and `end` < '2025-03-09 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-09 14:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642806', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 14:30:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 14:30:08] Production.INFO: ProcessCDR(1,14642806,1,1,2) [2025-03-09 14:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14642806,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14642806,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:30:09] Production.INFO: ==27348== Releasing lock... [2025-03-09 14:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 14:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 14:30:14] Production.ERROR: CronJobId end10 [2025-03-09 14:30:14] Production.INFO: ==27341== Releasing lock... [2025-03-09 14:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:30:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:30:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:30:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:30:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:30:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:30:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:30:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:30:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:30:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:30:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:30:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:30:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:30:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:30:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:30:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:30:16] Production.INFO: call_cost start [2025-03-09 14:30:16] Production.INFO: call_cost end [2025-03-09 14:30:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:30:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:30:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:30:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:30:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:30:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:30:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:30:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:30:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:30:16] Production.INFO: ==27337== Releasing lock... [2025-03-09 14:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:30:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:30:18] Production.INFO: count ==837 [2025-03-09 14:30:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:30:06 - End Time 2025-03-09 14:30:06 [2025-03-09 14:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642807', 'tblTempUsageDetail_20' ) start [2025-03-09 14:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642807', 'tblTempUsageDetail_20' ) end [2025-03-09 14:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642807', 'tblTempVendorCDR_20' ) start [2025-03-09 14:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642807', 'tblTempVendorCDR_20' ) end [2025-03-09 14:30:18] Production.INFO: ProcessCDR(1,14642807,1,1,2) [2025-03-09 14:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642807', 'tblTempUsageDetail_20' ) start [2025-03-09 14:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642807', 'tblTempUsageDetail_20' ) end [2025-03-09 14:30:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:30:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:30:21] Production.INFO: ==27346== Releasing lock... [2025-03-09 14:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:30:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 18:31:02] Production.INFO: ==27403== Lock acquired, processing the job... [2025-03-09 18:31:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:31:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:31:02] Production.INFO: neon service started [2025-03-09 18:31:02] Production.INFO: neon service started [2025-03-09 18:31:02] Production.INFO: ==27403== Releasing lock... [2025-03-09 18:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:31:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:31:02] Production.INFO: ==27407== Lock acquired, processing the job... [2025-03-09 18:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:31:02] Production.INFO: ==27407== Releasing lock... [2025-03-09 18:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:31:02] Production.INFO: ==27405== Lock acquired, processing the job... [2025-03-09 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:31:03] Production.INFO: ==27405== Releasing lock... [2025-03-09 14:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:31:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:31:03] Production.INFO: ==27416== Lock acquired, processing the job... [2025-03-09 14:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:31:03] Production.INFO: ==27418== Lock acquired, processing the job... [2025-03-09 14:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:31:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:31:04] Production.INFO: Account Balance Start. [2025-03-09 14:31:04] Production.INFO: CreateAllLog Start [2025-03-09 14:31:04] Production.INFO: 117 [2025-03-09 14:31:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:31:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:31:04] Production.INFO: ==27410== Lock acquired, processing the job... [2025-03-09 14:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:31:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:31:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:31:04] Production.INFO: Total Charge 0 [2025-03-09 14:31:04] Production.INFO: CreateAllLog End [2025-03-09 14:31:04] Production.INFO: ==27414== Lock acquired, processing the job... [2025-03-09 14:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:31:04] Production.INFO: ==27412== Lock acquired, processing the job... [2025-03-09 14:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:31:04] Production.INFO: ==27420== Lock acquired, processing the job... [2025-03-09 14:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:31:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:31:04] Production.ERROR: done [2025-03-09 14:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:31:04] Production.INFO: Account Balance End. [2025-03-09 14:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:31:04] Production.INFO: count ==13 [2025-03-09 14:31:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:31:04] Production.INFO: ==27416== Releasing lock... [2025-03-09 14:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:31:04] Production.INFO: count ==21 [2025-03-09 14:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642810') start [2025-03-09 14:31:04] Production.ERROR: done [2025-03-09 14:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642810') end [2025-03-09 14:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:31:04] Production.INFO: 1 [2025-03-09 14:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:31:04] Production.INFO: ==27420== Releasing lock... [2025-03-09 14:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:31:04] Production.INFO: ==27412== Releasing lock... [2025-03-09 14:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:31:05 [end_date_ymd] => 2025-03-09 14:31:05 [RateCDR] => 1 ) [2025-03-09 14:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:31:05' and `end` < '2025-03-09 14:31:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:31:12] Production.ERROR: CronJobId end10 [2025-03-09 14:31:12] Production.INFO: ==27414== Releasing lock... [2025-03-09 14:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:31:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:31:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:31:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:31:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:31:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:31:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:31:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:31:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:31:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:31:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:31:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:31:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:31:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:31:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:31:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:31:14] Production.INFO: call_cost start [2025-03-09 14:31:14] Production.INFO: call_cost end [2025-03-09 14:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:31:15] Production.INFO: ==27410== Releasing lock... [2025-03-09 14:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:31:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:31:17] Production.INFO: count ==831 [2025-03-09 14:31:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:31:05 - End Time 2025-03-09 14:31:05 [2025-03-09 14:31:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642812', 'tblTempUsageDetail_20' ) start [2025-03-09 14:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642812', 'tblTempUsageDetail_20' ) end [2025-03-09 14:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642812', 'tblTempVendorCDR_20' ) start [2025-03-09 14:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642812', 'tblTempVendorCDR_20' ) end [2025-03-09 14:31:17] Production.INFO: ProcessCDR(1,14642812,1,1,2) [2025-03-09 14:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642812', 'tblTempUsageDetail_20' ) start [2025-03-09 14:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642812', 'tblTempUsageDetail_20' ) end [2025-03-09 14:31:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:31:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:31:21] Production.INFO: ==27418== Releasing lock... [2025-03-09 14:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:31:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 18:32:01] Production.INFO: ==27478== Lock acquired, processing the job... [2025-03-09 18:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:32:01] Production.INFO: neon service started [2025-03-09 18:32:01] Production.INFO: neon service started [2025-03-09 18:32:01] Production.INFO: ==27478== Releasing lock... [2025-03-09 18:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:32:01] Production.INFO: ==27480== Lock acquired, processing the job... [2025-03-09 14:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:32:02] Production.INFO: ==27480== Releasing lock... [2025-03-09 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:32:02] Production.INFO: ==27482== Lock acquired, processing the job... [2025-03-09 18:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:32:02] Production.INFO: ==27482== Releasing lock... [2025-03-09 18:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:32:03] Production.INFO: ==27485== Lock acquired, processing the job... [2025-03-09 14:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:32:03] Production.INFO: ==27487== Lock acquired, processing the job... [2025-03-09 14:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:32:03] Production.INFO: ==27491== Lock acquired, processing the job... [2025-03-09 14:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:32:03] Production.INFO: ==27489== Lock acquired, processing the job... [2025-03-09 14:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:32:03] Production.INFO: ==27493== Lock acquired, processing the job... [2025-03-09 14:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:32:03] Production.INFO: Account Balance Start. [2025-03-09 14:32:03] Production.INFO: CreateAllLog Start [2025-03-09 14:32:03] Production.INFO: 117 [2025-03-09 14:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:32:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:32:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:32:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:32:03] Production.INFO: ==27495== Lock acquired, processing the job... [2025-03-09 14:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:32:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:32:03] Production.INFO: Total Charge 0 [2025-03-09 14:32:03] Production.INFO: CreateAllLog End [2025-03-09 14:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:32:03] Production.INFO: ==27487== Releasing lock... [2025-03-09 14:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:32:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:32:03] Production.INFO: count ==13 [2025-03-09 14:32:03] Production.ERROR: done [2025-03-09 14:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:32:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:32:03] Production.INFO: count ==21 [2025-03-09 14:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642816') start [2025-03-09 14:32:04] Production.ERROR: done [2025-03-09 14:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642816') end [2025-03-09 14:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:32:04] Production.INFO: 1 [2025-03-09 14:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:32:04] Production.INFO: Account Balance End. [2025-03-09 14:32:04] Production.INFO: ==27495== Releasing lock... [2025-03-09 14:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:32:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:32:04] Production.INFO: ==27491== Releasing lock... [2025-03-09 14:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:32:05 [end_date_ymd] => 2025-03-09 14:32:05 [RateCDR] => 1 ) [2025-03-09 14: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-09 11:32:05' and `end` < '2025-03-09 14: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-09 14:32:11] Production.ERROR: CronJobId end10 [2025-03-09 14:32:11] Production.INFO: ==27489== Releasing lock... [2025-03-09 14:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:32:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:32:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:32:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:32:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:32:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:32:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:32:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:32:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:32:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:32:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:32:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:32:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:32:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:32:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:32:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:32:13] Production.INFO: call_cost start [2025-03-09 14:32:13] Production.INFO: call_cost end [2025-03-09 14:32:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:32:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:32:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:32:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:32:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:32:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:32:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:32:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:32:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:32:14] Production.INFO: ==27485== Releasing lock... [2025-03-09 14:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:32:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:32:17] Production.INFO: count ==832 [2025-03-09 14:32:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:32:05 - End Time 2025-03-09 14:32:05 [2025-03-09 14:32:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642817', 'tblTempUsageDetail_20' ) start [2025-03-09 14:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642817', 'tblTempUsageDetail_20' ) end [2025-03-09 14:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642817', 'tblTempVendorCDR_20' ) start [2025-03-09 14:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642817', 'tblTempVendorCDR_20' ) end [2025-03-09 14:32:17] Production.INFO: ProcessCDR(1,14642817,1,1,2) [2025-03-09 14:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:32:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642817', 'tblTempUsageDetail_20' ) start [2025-03-09 14:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642817', 'tblTempUsageDetail_20' ) end [2025-03-09 14:32:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:32:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:32:20] Production.INFO: ==27493== Releasing lock... [2025-03-09 14:32:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:32:20] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 18:33:02] Production.INFO: ==27549== Lock acquired, processing the job... [2025-03-09 18:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:33:02] Production.INFO: neon service started [2025-03-09 18:33:02] Production.INFO: neon service started [2025-03-09 18:33:02] Production.INFO: ==27549== Releasing lock... [2025-03-09 18:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:33:02] Production.INFO: ==27551== Lock acquired, processing the job... [2025-03-09 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:33:02] Production.INFO: ==27551== Releasing lock... [2025-03-09 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:33:02] Production.INFO: ==27553== Lock acquired, processing the job... [2025-03-09 18:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:33:02] Production.INFO: ==27553== Releasing lock... [2025-03-09 18:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:33:03] Production.INFO: ==27555== Lock acquired, processing the job... [2025-03-09 14:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:33:03] Production.INFO: ==27557== Lock acquired, processing the job... [2025-03-09 14:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:33:03] Production.INFO: ==27564== Lock acquired, processing the job... [2025-03-09 14:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:33:03] Production.INFO: ==27559== Lock acquired, processing the job... [2025-03-09 14:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:33:04] Production.INFO: ==27561== Lock acquired, processing the job... [2025-03-09 14:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:33:04] Production.INFO: ==27566== Lock acquired, processing the job... [2025-03-09 14:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:33:04] Production.INFO: ==27557== Releasing lock... [2025-03-09 14:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:33:04] Production.INFO: Account Balance Start. [2025-03-09 14:33:04] Production.INFO: CreateAllLog Start [2025-03-09 14:33:04] Production.INFO: 117 [2025-03-09 14:33:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:33:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:33:04] Production.ERROR: done [2025-03-09 14:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:33:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:33:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:33:04] Production.INFO: Total Charge 0 [2025-03-09 14:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:33:04] Production.INFO: CreateAllLog End [2025-03-09 14:33:04] Production.INFO: count ==13 [2025-03-09 14:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:33:04] Production.INFO: count ==21 [2025-03-09 14:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642821') start [2025-03-09 14:33:04] Production.ERROR: done [2025-03-09 14:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642821') end [2025-03-09 14:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:33:04] Production.INFO: 1 [2025-03-09 14:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:33:04] Production.INFO: Account Balance End. [2025-03-09 14:33:04] Production.INFO: ==27566== Releasing lock... [2025-03-09 14:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:33:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:33:04] Production.INFO: ==27561== Releasing lock... [2025-03-09 14:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:33:05 [end_date_ymd] => 2025-03-09 14:33:05 [RateCDR] => 1 ) [2025-03-09 14:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:33:05' and `end` < '2025-03-09 14:33:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:33:11] Production.ERROR: CronJobId end10 [2025-03-09 14:33:11] Production.INFO: ==27559== Releasing lock... [2025-03-09 14:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:33:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:33:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:33:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:33:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:33:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:33:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:33:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:33:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:33:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:33:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:33:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:33:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:33:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:33:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:33:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:33:14] Production.INFO: call_cost start [2025-03-09 14:33:14] Production.INFO: call_cost end [2025-03-09 14:33:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:33:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:33:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:33:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:33:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:33:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:33:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:33:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:33:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:33:14] Production.INFO: ==27555== Releasing lock... [2025-03-09 14:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:33:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:33:17] Production.INFO: count ==831 [2025-03-09 14:33:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:33:05 - End Time 2025-03-09 14:33:05 [2025-03-09 14:33:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642822', 'tblTempUsageDetail_20' ) start [2025-03-09 14:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642822', 'tblTempUsageDetail_20' ) end [2025-03-09 14:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642822', 'tblTempVendorCDR_20' ) start [2025-03-09 14:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642822', 'tblTempVendorCDR_20' ) end [2025-03-09 14:33:18] Production.INFO: ProcessCDR(1,14642822,1,1,2) [2025-03-09 14:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642822', 'tblTempUsageDetail_20' ) start [2025-03-09 14:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642822', 'tblTempUsageDetail_20' ) end [2025-03-09 14:33:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:33:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:33:21] Production.INFO: ==27564== Releasing lock... [2025-03-09 14:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:33:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 18:34:01] Production.INFO: ==27620== Lock acquired, processing the job... [2025-03-09 18:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:34:01] Production.INFO: neon service started [2025-03-09 18:34:01] Production.INFO: neon service started [2025-03-09 18:34:01] Production.INFO: ==27620== Releasing lock... [2025-03-09 18:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:34:01] Production.INFO: ==27622== Lock acquired, processing the job... [2025-03-09 14:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:34:02] Production.INFO: ==27624== Lock acquired, processing the job... [2025-03-09 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:34:02] Production.INFO: ==27622== Releasing lock... [2025-03-09 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:34:02] Production.INFO: ==27624== Releasing lock... [2025-03-09 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:34:03] Production.INFO: ==27628== Lock acquired, processing the job... [2025-03-09 14:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:34:03] Production.INFO: ==27630== Lock acquired, processing the job... [2025-03-09 14:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:34:03] Production.INFO: ==27635== Lock acquired, processing the job... [2025-03-09 14:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:34:03] Production.INFO: ==27626== Lock acquired, processing the job... [2025-03-09 14:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:34:03] Production.INFO: ==27632== Lock acquired, processing the job... [2025-03-09 14:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:34:03] Production.INFO: ==27637== Lock acquired, processing the job... [2025-03-09 14:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:34:03] Production.ERROR: done [2025-03-09 14:34:03] Production.INFO: ==27628== Releasing lock... [2025-03-09 14:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:34:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:34:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:34:03] Production.INFO: Account Balance Start. [2025-03-09 14:34:03] Production.INFO: CreateAllLog Start [2025-03-09 14:34:03] Production.INFO: 117 [2025-03-09 14:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:34:03] Production.INFO: count ==13 [2025-03-09 14:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:34:03] Production.INFO: count ==21 [2025-03-09 14:34:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:34:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:34:04] Production.ERROR: done [2025-03-09 14:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642826') start [2025-03-09 14:34:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:34:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:34:04] Production.INFO: Total Charge 0 [2025-03-09 14:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642826') end [2025-03-09 14:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:34:04] Production.INFO: 1 [2025-03-09 14:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:34:04] Production.INFO: CreateAllLog End [2025-03-09 14:34:04] Production.INFO: ==27637== Releasing lock... [2025-03-09 14:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:34:04] Production.INFO: Account Balance End. [2025-03-09 14:34:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:34:04] Production.INFO: ==27632== Releasing lock... [2025-03-09 14:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:34:05 [end_date_ymd] => 2025-03-09 14:34:05 [RateCDR] => 1 ) [2025-03-09 14:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:34:05' and `end` < '2025-03-09 14:34:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:34:11] Production.ERROR: CronJobId end10 [2025-03-09 14:34:11] Production.INFO: ==27630== Releasing lock... [2025-03-09 14:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:34:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:34:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:34:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:34:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:34:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:34:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:34:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:34:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:34:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:34:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:34:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:34:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:34:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:34:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:34:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:34:13] Production.INFO: call_cost start [2025-03-09 14:34:13] Production.INFO: call_cost end [2025-03-09 14:34:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:34:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:34:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:34:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:34:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:34:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:34:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:34:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:34:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:34:14] Production.INFO: ==27626== Releasing lock... [2025-03-09 14:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:34:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:34:17] Production.INFO: count ==830 [2025-03-09 14:34:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:34:05 - End Time 2025-03-09 14:34:05 [2025-03-09 14:34:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642827', 'tblTempUsageDetail_20' ) start [2025-03-09 14:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642827', 'tblTempUsageDetail_20' ) end [2025-03-09 14:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642827', 'tblTempVendorCDR_20' ) start [2025-03-09 14:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642827', 'tblTempVendorCDR_20' ) end [2025-03-09 14:34:17] Production.INFO: ProcessCDR(1,14642827,1,1,2) [2025-03-09 14:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:34:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642827', 'tblTempUsageDetail_20' ) start [2025-03-09 14:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642827', 'tblTempUsageDetail_20' ) end [2025-03-09 14:34:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:34:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:34:20] Production.INFO: ==27635== Releasing lock... [2025-03-09 14:34:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:34:20] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 18:35:02] Production.INFO: ==27691== Lock acquired, processing the job... [2025-03-09 18:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:35:02] Production.INFO: neon service started [2025-03-09 18:35:02] Production.INFO: neon service started [2025-03-09 18:35:02] Production.INFO: ==27691== Releasing lock... [2025-03-09 18:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:35:02] Production.INFO: ==27694== Lock acquired, processing the job... [2025-03-09 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:35:02] Production.INFO: ==27694== Releasing lock... [2025-03-09 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:35:02] Production.INFO: ==27696== Lock acquired, processing the job... [2025-03-09 18:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:35:02] Production.INFO: ==27696== Releasing lock... [2025-03-09 18:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:35:03] Production.INFO: ==27708== Lock acquired, processing the job... [2025-03-09 14:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:35:03] Production.INFO: ==27706== Lock acquired, processing the job... [2025-03-09 14:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:35:03] Production.INFO: ==27698== Lock acquired, processing the job... [2025-03-09 14:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:35:03] Production.INFO: ==27700== Lock acquired, processing the job... [2025-03-09 14:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:35:03] Production.INFO: count ==13 [2025-03-09 14:35:03] Production.INFO: ==27702== Lock acquired, processing the job... [2025-03-09 14:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:35:03] Production.INFO: count ==21 [2025-03-09 14:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642828') start [2025-03-09 14:35:03] Production.INFO: ==27704== Lock acquired, processing the job... [2025-03-09 14:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642828') end [2025-03-09 14:35:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:35:03] Production.INFO: 1 [2025-03-09 14:35:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:35:03] Production.INFO: Account Balance Start. [2025-03-09 14:35:03] Production.INFO: CreateAllLog Start [2025-03-09 14:35:03] Production.INFO: 117 [2025-03-09 14:35:03] Production.INFO: ==27708== Releasing lock... [2025-03-09 14:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:35:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:35:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:35:04] Production.ERROR: done [2025-03-09 14:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:35:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:35:04] Production.INFO: Total Charge 0 [2025-03-09 14:35:04] Production.INFO: CreateAllLog End [2025-03-09 14:35:04] Production.ERROR: done [2025-03-09 14:35:04] Production.INFO: ==27700== Releasing lock... [2025-03-09 14:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:35:04] Production.INFO: Account Balance End. [2025-03-09 14:35:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:35:04] Production.INFO: ==27704== Releasing lock... [2025-03-09 14:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:35:05 [end_date_ymd] => 2025-03-09 14:35:05 [RateCDR] => 1 ) [2025-03-09 14:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:35:05' and `end` < '2025-03-09 14:35:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:35:11] Production.ERROR: CronJobId end10 [2025-03-09 14:35:11] Production.INFO: ==27702== Releasing lock... [2025-03-09 14:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:35:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:35:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:35:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:35:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:35:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:35:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:35:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:35:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:35:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:35:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:35:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:35:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:35:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:35:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:35:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:35:14] Production.INFO: call_cost start [2025-03-09 14:35:14] Production.INFO: call_cost end [2025-03-09 14:35:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:35:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:35:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:35:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:35:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:35:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:35:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:35:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:35:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:35:15] Production.INFO: ==27698== Releasing lock... [2025-03-09 14:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:35:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:35:17] Production.INFO: count ==828 [2025-03-09 14:35:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:35:05 - End Time 2025-03-09 14:35:05 [2025-03-09 14:35:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642832', 'tblTempUsageDetail_20' ) start [2025-03-09 14:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642832', 'tblTempUsageDetail_20' ) end [2025-03-09 14:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642832', 'tblTempVendorCDR_20' ) start [2025-03-09 14:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642832', 'tblTempVendorCDR_20' ) end [2025-03-09 14:35:17] Production.INFO: ProcessCDR(1,14642832,1,1,2) [2025-03-09 14:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642832', 'tblTempUsageDetail_20' ) start [2025-03-09 14:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642832', 'tblTempUsageDetail_20' ) end [2025-03-09 14:35:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:35:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:35:20] Production.INFO: ==27706== Releasing lock... [2025-03-09 14:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:35:20] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 18:36:01] Production.INFO: ==27806== Lock acquired, processing the job... [2025-03-09 18:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:36:01] Production.INFO: neon service started [2025-03-09 18:36:01] Production.INFO: neon service started [2025-03-09 18:36:01] Production.INFO: ==27806== Releasing lock... [2025-03-09 18:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:36:01] Production.INFO: ==27808== Lock acquired, processing the job... [2025-03-09 14:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:36:02] Production.INFO: ==27808== Releasing lock... [2025-03-09 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:36:02] Production.INFO: ==27810== Lock acquired, processing the job... [2025-03-09 18:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:36:02] Production.INFO: ==27810== Releasing lock... [2025-03-09 18:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:36:03] Production.INFO: ==27814== Lock acquired, processing the job... [2025-03-09 14:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:36:03] Production.INFO: ==27822== Lock acquired, processing the job... [2025-03-09 14:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:36:03] Production.INFO: ==27812== Lock acquired, processing the job... [2025-03-09 14:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:36:03] Production.INFO: ==27816== Lock acquired, processing the job... [2025-03-09 14:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:36:03] Production.INFO: ==27818== Lock acquired, processing the job... [2025-03-09 14:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:36:03] Production.INFO: ==27820== Lock acquired, processing the job... [2025-03-09 14:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:36:03] Production.INFO: ==27814== Releasing lock... [2025-03-09 14:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:36:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:36:03] Production.INFO: count ==13 [2025-03-09 14:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:36:03] Production.INFO: count ==21 [2025-03-09 14:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642834') start [2025-03-09 14:36:03] Production.INFO: Account Balance Start. [2025-03-09 14:36:03] Production.INFO: CreateAllLog Start [2025-03-09 14:36:03] Production.INFO: 117 [2025-03-09 14:36:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:36:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:36:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:36:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642834') end [2025-03-09 14:36:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:36:03] Production.INFO: 1 [2025-03-09 14:36:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:36:03] Production.INFO: Total Charge 0 [2025-03-09 14:36:03] Production.INFO: CreateAllLog End [2025-03-09 14:36:03] Production.INFO: ==27822== Releasing lock... [2025-03-09 14:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:36:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:36:03] Production.ERROR: done [2025-03-09 14:36:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:36:04] Production.INFO: Account Balance End. [2025-03-09 14:36:04] Production.ERROR: done [2025-03-09 14:36:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:36:04] Production.INFO: ==27818== Releasing lock... [2025-03-09 14:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:36:05 [end_date_ymd] => 2025-03-09 14:36:05 [RateCDR] => 1 ) [2025-03-09 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-09 11:36:05' and `end` < '2025-03-09 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-09 14:36:11] Production.ERROR: CronJobId end10 [2025-03-09 14:36:11] Production.INFO: ==27816== Releasing lock... [2025-03-09 14:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:36:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:36:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:36:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:36:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:36:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:36:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:36:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:36:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:36:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:36:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:36:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:36:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:36:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:36:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:36:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:36:13] Production.INFO: call_cost start [2025-03-09 14:36:13] Production.INFO: call_cost end [2025-03-09 14:36:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:36:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:36:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:36:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:36:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:36:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:36:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:36:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:36:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:36:14] Production.INFO: ==27812== Releasing lock... [2025-03-09 14:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:36:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:36:17] Production.INFO: count ==829 [2025-03-09 14:36:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:36:05 - End Time 2025-03-09 14:36:05 [2025-03-09 14:36:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642837', 'tblTempUsageDetail_20' ) start [2025-03-09 14:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642837', 'tblTempUsageDetail_20' ) end [2025-03-09 14:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642837', 'tblTempVendorCDR_20' ) start [2025-03-09 14:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642837', 'tblTempVendorCDR_20' ) end [2025-03-09 14:36:17] Production.INFO: ProcessCDR(1,14642837,1,1,2) [2025-03-09 14:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642837', 'tblTempUsageDetail_20' ) start [2025-03-09 14:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642837', 'tblTempUsageDetail_20' ) end [2025-03-09 14:36:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:36:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:36:20] Production.INFO: ==27820== Releasing lock... [2025-03-09 14:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:36:20] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 18:37:01] Production.INFO: ==27879== Lock acquired, processing the job... [2025-03-09 18:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:37:01] Production.INFO: neon service started [2025-03-09 18:37:01] Production.INFO: neon service started [2025-03-09 18:37:01] Production.INFO: ==27879== Releasing lock... [2025-03-09 18:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:37:02] Production.INFO: ==27883== Lock acquired, processing the job... [2025-03-09 18:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:37:02] Production.INFO: ==27883== Releasing lock... [2025-03-09 18:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:37:02] Production.INFO: ==27881== Lock acquired, processing the job... [2025-03-09 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:37:02] Production.INFO: ==27881== Releasing lock... [2025-03-09 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:37:03] Production.INFO: ==27889== Lock acquired, processing the job... [2025-03-09 14:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:37:03] Production.INFO: ==27894== Lock acquired, processing the job... [2025-03-09 14:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:37:03] Production.INFO: ==27885== Lock acquired, processing the job... [2025-03-09 14:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:37:03] Production.INFO: ==27887== Lock acquired, processing the job... [2025-03-09 14:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:37:04] Production.INFO: ==27891== Lock acquired, processing the job... [2025-03-09 14:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:37:04] Production.INFO: ==27896== Lock acquired, processing the job... [2025-03-09 14:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:37:04] Production.ERROR: done [2025-03-09 14:37:04] Production.INFO: Account Balance Start. [2025-03-09 14:37:04] Production.INFO: CreateAllLog Start [2025-03-09 14:37:04] Production.INFO: 117 [2025-03-09 14:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:37:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 14:37:04] Production.INFO: count ==13 [2025-03-09 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-09 14:37:04] Production.INFO: count ==21 [2025-03-09 14:37:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642841') start [2025-03-09 14:37:04] Production.INFO: ==27887== Releasing lock... [2025-03-09 14:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642841') end [2025-03-09 14:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:37:04] Production.INFO: 1 [2025-03-09 14:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:37:04] Production.INFO: Total Charge 0 [2025-03-09 14:37:04] Production.ERROR: done [2025-03-09 14:37:04] Production.INFO: ==27896== Releasing lock... [2025-03-09 14:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:37:04] Production.INFO: CreateAllLog End [2025-03-09 14:37:04] Production.INFO: Account Balance End. [2025-03-09 14:37:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:37:04] Production.INFO: ==27891== Releasing lock... [2025-03-09 14:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:37:05 [end_date_ymd] => 2025-03-09 14:37:05 [RateCDR] => 1 ) [2025-03-09 14:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:37:05' and `end` < '2025-03-09 14:37:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:37:11] Production.ERROR: CronJobId end10 [2025-03-09 14:37:11] Production.INFO: ==27889== Releasing lock... [2025-03-09 14:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:37:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:37:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:37:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:37:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:37:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:37:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:37:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:37:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:37:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:37:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:37:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:37:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:37:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:37:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:37:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:37:13] Production.INFO: call_cost start [2025-03-09 14:37:13] Production.INFO: call_cost end [2025-03-09 14:37:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:37:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:37:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:37:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:37:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:37:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:37:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:37:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:37:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:37:14] Production.INFO: ==27885== Releasing lock... [2025-03-09 14:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:37:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:37:17] Production.INFO: count ==828 [2025-03-09 14:37:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:37:05 - End Time 2025-03-09 14:37:05 [2025-03-09 14:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642842', 'tblTempUsageDetail_20' ) start [2025-03-09 14:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642842', 'tblTempUsageDetail_20' ) end [2025-03-09 14:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642842', 'tblTempVendorCDR_20' ) start [2025-03-09 14:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642842', 'tblTempVendorCDR_20' ) end [2025-03-09 14:37:17] Production.INFO: ProcessCDR(1,14642842,1,1,2) [2025-03-09 14:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642842', 'tblTempUsageDetail_20' ) start [2025-03-09 14:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642842', 'tblTempUsageDetail_20' ) end [2025-03-09 14:37:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:37:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:37:20] Production.INFO: ==27894== Releasing lock... [2025-03-09 14:37:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:37:20] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 18:38:01] Production.INFO: ==27950== Lock acquired, processing the job... [2025-03-09 18:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:38:01] Production.INFO: neon service started [2025-03-09 18:38:01] Production.INFO: neon service started [2025-03-09 18:38:01] Production.INFO: ==27950== Releasing lock... [2025-03-09 18:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:38:01] Production.INFO: ==27952== Lock acquired, processing the job... [2025-03-09 14:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:38:01] Production.INFO: ==27952== Releasing lock... [2025-03-09 14:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:38:01] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:38:02] Production.INFO: ==27954== Lock acquired, processing the job... [2025-03-09 18:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:38:02] Production.INFO: ==27954== Releasing lock... [2025-03-09 18:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:38:03] Production.INFO: ==27958== Lock acquired, processing the job... [2025-03-09 14:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:38:03] Production.INFO: ==27956== Lock acquired, processing the job... [2025-03-09 14:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:38:03] Production.INFO: ==27960== Lock acquired, processing the job... [2025-03-09 14:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:38:03] Production.INFO: ==27966== Lock acquired, processing the job... [2025-03-09 14:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:38:03] Production.INFO: ==27964== Lock acquired, processing the job... [2025-03-09 14:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:38:03] Production.INFO: ==27962== Lock acquired, processing the job... [2025-03-09 14:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 14:38:03] Production.INFO: count ==13 [2025-03-09 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-09 14:38:03] Production.INFO: count ==21 [2025-03-09 14:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642845') start [2025-03-09 14:38:03] Production.INFO: Account Balance Start. [2025-03-09 14:38:03] Production.INFO: CreateAllLog Start [2025-03-09 14:38:03] Production.INFO: 117 [2025-03-09 14:38:03] Production.INFO: ==27958== Releasing lock... [2025-03-09 14:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:38:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642845') end [2025-03-09 14:38:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:38:03] Production.INFO: 1 [2025-03-09 14:38:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:38:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:38:03] Production.INFO: ==27966== Releasing lock... [2025-03-09 14:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:38:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:38:03] Production.ERROR: done [2025-03-09 14:38:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:38:03] Production.ERROR: done [2025-03-09 14:38:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:38:03] Production.INFO: Total Charge 0 [2025-03-09 14:38:03] Production.INFO: CreateAllLog End [2025-03-09 14:38:03] Production.INFO: Account Balance End. [2025-03-09 14:38:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:38:04] Production.INFO: ==27962== Releasing lock... [2025-03-09 14:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:38:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:38:04 [end_date_ymd] => 2025-03-09 14:38:04 [RateCDR] => 1 ) [2025-03-09 14:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:38:04' and `end` < '2025-03-09 14:38:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:38:11] Production.ERROR: CronJobId end10 [2025-03-09 14:38:11] Production.INFO: ==27960== Releasing lock... [2025-03-09 14:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:38:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:38:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:38:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:38:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:38:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:38:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:38:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:38:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:38:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:38:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:38:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:38:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:38:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:38:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:38:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:38:14] Production.INFO: call_cost start [2025-03-09 14:38:14] Production.INFO: call_cost end [2025-03-09 14:38:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:38:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:38:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:38:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:38:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:38:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:38:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:38:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:38:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:38:15] Production.INFO: ==27956== Releasing lock... [2025-03-09 14:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:38:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:38:17] Production.INFO: count ==826 [2025-03-09 14:38:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:38:04 - End Time 2025-03-09 14:38:04 [2025-03-09 14:38:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642847', 'tblTempUsageDetail_20' ) start [2025-03-09 14:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642847', 'tblTempUsageDetail_20' ) end [2025-03-09 14:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642847', 'tblTempVendorCDR_20' ) start [2025-03-09 14:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642847', 'tblTempVendorCDR_20' ) end [2025-03-09 14:38:17] Production.INFO: ProcessCDR(1,14642847,1,1,2) [2025-03-09 14:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:38:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642847', 'tblTempUsageDetail_20' ) start [2025-03-09 14:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642847', 'tblTempUsageDetail_20' ) end [2025-03-09 14:38:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:38:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:38:20] Production.INFO: ==27964== Releasing lock... [2025-03-09 14:38:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:38:20] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 18:39:01] Production.INFO: ==28024== Lock acquired, processing the job... [2025-03-09 18:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:39:01] Production.INFO: neon service started [2025-03-09 18:39:01] Production.INFO: neon service started [2025-03-09 18:39:01] Production.INFO: ==28024== Releasing lock... [2025-03-09 18:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:39:02] Production.INFO: ==28028== Lock acquired, processing the job... [2025-03-09 18:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:39:02] Production.INFO: ==28028== Releasing lock... [2025-03-09 18:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:39:02] Production.INFO: ==28026== Lock acquired, processing the job... [2025-03-09 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:39:02] Production.INFO: ==28026== Releasing lock... [2025-03-09 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:39:03] Production.INFO: ==28034== Lock acquired, processing the job... [2025-03-09 14:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:39:03] Production.INFO: ==28030== Lock acquired, processing the job... [2025-03-09 14:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:39:03] Production.INFO: ==28032== Lock acquired, processing the job... [2025-03-09 14:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:39:03] Production.INFO: ==28037== Lock acquired, processing the job... [2025-03-09 14:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:39:03] Production.INFO: ==28039== Lock acquired, processing the job... [2025-03-09 14:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:39:03] Production.INFO: Account Balance Start. [2025-03-09 14:39:03] Production.INFO: CreateAllLog Start [2025-03-09 14:39:03] Production.INFO: 117 [2025-03-09 14:39:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:39:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:39:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:39:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:39:03] Production.INFO: Total Charge 0 [2025-03-09 14:39:03] Production.INFO: ==28041== Lock acquired, processing the job... [2025-03-09 14:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:39:03] Production.INFO: CreateAllLog End [2025-03-09 14:39:04] Production.INFO: ==28032== Releasing lock... [2025-03-09 14:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 14:39:04] Production.INFO: count ==13 [2025-03-09 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-09 14:39:04] Production.INFO: count ==21 [2025-03-09 14:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642851') start [2025-03-09 14:39:04] Production.ERROR: done [2025-03-09 14:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:39:04] Production.INFO: Account Balance End. [2025-03-09 14:39:04] Production.ERROR: done [2025-03-09 14:39:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:39:04] Production.INFO: ==28037== Releasing lock... [2025-03-09 14:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642851') end [2025-03-09 14:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:39:04] Production.INFO: 1 [2025-03-09 14:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:39:04] Production.INFO: ==28041== Releasing lock... [2025-03-09 14:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:39:05 [end_date_ymd] => 2025-03-09 14:39:05 [RateCDR] => 1 ) [2025-03-09 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-09 11:39:05' and `end` < '2025-03-09 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-09 14:39:11] Production.ERROR: CronJobId end10 [2025-03-09 14:39:11] Production.INFO: ==28034== Releasing lock... [2025-03-09 14:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:39:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:39:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:39:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:39:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:39:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:39:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:39:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:39:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:39:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:39:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:39:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:39:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:39:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:39:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:39:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:39:14] Production.INFO: call_cost start [2025-03-09 14:39:14] Production.INFO: call_cost end [2025-03-09 14:39:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:39:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:39:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:39:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:39:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:39:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:39:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:39:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:39:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:39:15] Production.INFO: ==28030== Releasing lock... [2025-03-09 14:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:39:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:39:17] Production.INFO: count ==824 [2025-03-09 14:39:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:39:05 - End Time 2025-03-09 14:39:05 [2025-03-09 14:39:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642852', 'tblTempUsageDetail_20' ) start [2025-03-09 14:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642852', 'tblTempUsageDetail_20' ) end [2025-03-09 14:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642852', 'tblTempVendorCDR_20' ) start [2025-03-09 14:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642852', 'tblTempVendorCDR_20' ) end [2025-03-09 14:39:17] Production.INFO: ProcessCDR(1,14642852,1,1,2) [2025-03-09 14:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642852', 'tblTempUsageDetail_20' ) start [2025-03-09 14:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642852', 'tblTempUsageDetail_20' ) end [2025-03-09 14:39:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:39:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:39:22] Production.INFO: ==28039== Releasing lock... [2025-03-09 14:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:39:22] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 18:40:02] Production.INFO: ==28100== Lock acquired, processing the job... [2025-03-09 18:40:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:40:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:40:02] Production.INFO: neon service started [2025-03-09 18:40:02] Production.INFO: neon service started [2025-03-09 18:40:02] Production.INFO: ==28100== Releasing lock... [2025-03-09 18:40:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:40:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:40:02] Production.INFO: ==28102== Lock acquired, processing the job... [2025-03-09 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:40:02] Production.INFO: ==28105== Lock acquired, processing the job... [2025-03-09 18:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:40:03] Production.INFO: ==28105== Releasing lock... [2025-03-09 18:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:40:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:40:03] Production.INFO: ==28102== Releasing lock... [2025-03-09 14:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:40:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:40:04] Production.INFO: ==28107== Lock acquired, processing the job... [2025-03-09 14:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 14:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 14:40:04] Production.INFO: ==28109== Lock acquired, processing the job... [2025-03-09 14:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 14:40:04] Production.INFO: ==28107== Releasing lock... [2025-03-09 14:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 14:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 14:40:04] Production.INFO: ==28115== Lock acquired, processing the job... [2025-03-09 14:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:40:04] Production.INFO: ==28111== Lock acquired, processing the job... [2025-03-09 14:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:40:04] Production.INFO: ==28113== Lock acquired, processing the job... [2025-03-09 14:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:40:04] Production.INFO: ==28119== Lock acquired, processing the job... [2025-03-09 14:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 14:40:04] Production.INFO: Account Balance Start. [2025-03-09 14:40:04] Production.INFO: CreateAllLog Start [2025-03-09 14:40:04] Production.INFO: 117 [2025-03-09 14:40:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:40:04] Production.INFO: ==28117== Lock acquired, processing the job... [2025-03-09 14:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:40:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:40:04] Production.INFO: Total Charge 0 [2025-03-09 14:40:04] Production.INFO: ==28121== Lock acquired, processing the job... [2025-03-09 14:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:40:04] Production.INFO: CreateAllLog End [2025-03-09 14:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:40:04] Production.INFO: count ==13 [2025-03-09 14: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-09 14:40:05] Production.INFO: count ==21 [2025-03-09 14:40:05] Production.INFO: ==28111== Releasing lock... [2025-03-09 14:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:40:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14642856') start [2025-03-09 14:40:05] Production.ERROR: done [2025-03-09 14:40:05] Production.ERROR: done [2025-03-09 14:40:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 14:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642857', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 14:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14642856') end [2025-03-09 14:40:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:40:05] Production.INFO: 1 [2025-03-09 14:40:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:40:05] Production.INFO: ==28121== Releasing lock... [2025-03-09 14:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:40:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:40:05] Production.ERROR: done [2025-03-09 14:40:05] Production.INFO: Account Balance End. [2025-03-09 14:40:05] Production.ERROR: CronJobId end 12 [2025-03-09 14:40:05] Production.INFO: ==28115== Releasing lock... [2025-03-09 14:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:40:06 [end_date_ymd] => 2025-03-09 14:40:06 [RateCDR] => 1 ) [2025-03-09 14:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:40:06' and `end` < '2025-03-09 14:40:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642857', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 14:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 14:40:09] Production.INFO: ProcessCDR(1,14642857,1,1,2) [2025-03-09 14:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14642857,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14642857,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:40:09] Production.INFO: ==28119== Releasing lock... [2025-03-09 14:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 14:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 14:40:14] Production.ERROR: CronJobId end10 [2025-03-09 14:40:14] Production.INFO: ==28113== Releasing lock... [2025-03-09 14:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:40:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:40:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:40:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:40:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:40:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:40:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:40:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:40:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:40:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:40:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:40:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:40:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:40:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:40:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:40:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:40:17] Production.INFO: call_cost start [2025-03-09 14:40:17] Production.INFO: call_cost end [2025-03-09 14:40:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:40:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:40:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:40:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:40:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:40:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:40:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:40:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:40:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:40:18] Production.INFO: ==28109== Releasing lock... [2025-03-09 14:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:40:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:40:18] Production.INFO: count ==815 [2025-03-09 14:40:19] Production.ERROR: pbx CDR StartTime 2025-03-09 11:40:06 - End Time 2025-03-09 14:40:06 [2025-03-09 14:40:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642858', 'tblTempUsageDetail_20' ) start [2025-03-09 14:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642858', 'tblTempUsageDetail_20' ) end [2025-03-09 14:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642858', 'tblTempVendorCDR_20' ) start [2025-03-09 14:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642858', 'tblTempVendorCDR_20' ) end [2025-03-09 14:40:19] Production.INFO: ProcessCDR(1,14642858,1,1,2) [2025-03-09 14:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642858', 'tblTempUsageDetail_20' ) start [2025-03-09 14:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642858', 'tblTempUsageDetail_20' ) end [2025-03-09 14:40:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:40:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:40:22] Production.INFO: ==28117== Releasing lock... [2025-03-09 14:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:40:22] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 18:41:01] Production.INFO: ==28175== Lock acquired, processing the job... [2025-03-09 18:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:41:01] Production.INFO: neon service started [2025-03-09 18:41:01] Production.INFO: neon service started [2025-03-09 18:41:01] Production.INFO: ==28175== Releasing lock... [2025-03-09 18:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:41:02] Production.INFO: ==28177== Lock acquired, processing the job... [2025-03-09 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:41:02] Production.INFO: ==28177== Releasing lock... [2025-03-09 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:41:02] Production.INFO: ==28179== Lock acquired, processing the job... [2025-03-09 18:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:41:02] Production.INFO: ==28179== Releasing lock... [2025-03-09 18:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:41:03] Production.INFO: ==28184== Lock acquired, processing the job... [2025-03-09 14:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:41:03] Production.INFO: ==28182== Lock acquired, processing the job... [2025-03-09 14:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:41:03] Production.INFO: ==28192== Lock acquired, processing the job... [2025-03-09 14:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:41:03] Production.INFO: ==28186== Lock acquired, processing the job... [2025-03-09 14:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:41:03] Production.INFO: ==28188== Lock acquired, processing the job... [2025-03-09 14:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:41:03] Production.INFO: ==28190== Lock acquired, processing the job... [2025-03-09 14:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:41:03] Production.INFO: count ==13 [2025-03-09 14:41:03] Production.INFO: Account Balance Start. [2025-03-09 14:41:03] Production.INFO: CreateAllLog Start [2025-03-09 14:41:03] Production.INFO: 117 [2025-03-09 14:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:41:03] Production.INFO: count ==21 [2025-03-09 14:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:41:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642860') start [2025-03-09 14:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:41:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642860') end [2025-03-09 14:41:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:41:03] Production.INFO: 1 [2025-03-09 14:41:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:41:03] Production.INFO: Total Charge 0 [2025-03-09 14:41:03] Production.INFO: CreateAllLog End [2025-03-09 14:41:03] Production.INFO: ==28192== Releasing lock... [2025-03-09 14:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:41:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:41:03] Production.INFO: ==28184== Releasing lock... [2025-03-09 14:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:41:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:41:03] Production.ERROR: done [2025-03-09 14:41:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:41:04] Production.INFO: Account Balance End. [2025-03-09 14:41:04] Production.ERROR: done [2025-03-09 14:41:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:41:04] Production.INFO: ==28188== Releasing lock... [2025-03-09 14:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:41:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:41:04 [end_date_ymd] => 2025-03-09 14:41:04 [RateCDR] => 1 ) [2025-03-09 14:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:41:04' and `end` < '2025-03-09 14:41:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:41:11] Production.ERROR: CronJobId end10 [2025-03-09 14:41:11] Production.INFO: ==28186== Releasing lock... [2025-03-09 14:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:41:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:41:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:41:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:41:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:41:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:41:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:41:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:41:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:41:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:41:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:41:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:41:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:41:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:41:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:41:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:41:14] Production.INFO: call_cost start [2025-03-09 14:41:14] Production.INFO: call_cost end [2025-03-09 14:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:41:15] Production.INFO: ==28182== Releasing lock... [2025-03-09 14:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:41:16] Production.INFO: count ==823 [2025-03-09 14:41:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:41:04 - End Time 2025-03-09 14:41:04 [2025-03-09 14:41:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642863', 'tblTempUsageDetail_20' ) start [2025-03-09 14:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642863', 'tblTempUsageDetail_20' ) end [2025-03-09 14:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642863', 'tblTempVendorCDR_20' ) start [2025-03-09 14:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642863', 'tblTempVendorCDR_20' ) end [2025-03-09 14:41:17] Production.INFO: ProcessCDR(1,14642863,1,1,2) [2025-03-09 14:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642863', 'tblTempUsageDetail_20' ) start [2025-03-09 14:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642863', 'tblTempUsageDetail_20' ) end [2025-03-09 14:41:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:41:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:41:21] Production.INFO: ==28190== Releasing lock... [2025-03-09 14:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:41:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 18:42:02] Production.INFO: ==28249== Lock acquired, processing the job... [2025-03-09 18:42:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:42:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:42:02] Production.INFO: neon service started [2025-03-09 18:42:02] Production.INFO: neon service started [2025-03-09 18:42:02] Production.INFO: ==28249== Releasing lock... [2025-03-09 18:42:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:42:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:42:02] Production.INFO: ==28251== Lock acquired, processing the job... [2025-03-09 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:42:02] Production.INFO: ==28251== Releasing lock... [2025-03-09 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:42:02] Production.INFO: ==28253== Lock acquired, processing the job... [2025-03-09 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:42:03] Production.INFO: ==28253== Releasing lock... [2025-03-09 18:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:42:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:42:03] Production.INFO: ==28262== Lock acquired, processing the job... [2025-03-09 14:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:42:03] Production.INFO: Account Balance Start. [2025-03-09 14:42:03] Production.INFO: CreateAllLog Start [2025-03-09 14:42:03] Production.INFO: 117 [2025-03-09 14:42:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:42:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:42:03] Production.INFO: ==28266== Lock acquired, processing the job... [2025-03-09 14:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:42:03] Production.INFO: ==28255== Lock acquired, processing the job... [2025-03-09 14:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:42:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:42:04] Production.INFO: ==28257== Lock acquired, processing the job... [2025-03-09 14:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:42:04] Production.INFO: Total Charge 0 [2025-03-09 14:42:04] Production.INFO: count ==13 [2025-03-09 14:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:42:04] Production.INFO: count ==21 [2025-03-09 14:42:04] Production.INFO: CreateAllLog End [2025-03-09 14:42:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:42:04] Production.INFO: ==28259== Lock acquired, processing the job... [2025-03-09 14:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642865') start [2025-03-09 14:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642865') end [2025-03-09 14:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:42:04] Production.INFO: 1 [2025-03-09 14:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:42:04] Production.INFO: ==28264== Lock acquired, processing the job... [2025-03-09 14:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:42:04] Production.INFO: Account Balance End. [2025-03-09 14:42:04] Production.INFO: ==28266== Releasing lock... [2025-03-09 14:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:42:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:42:04] Production.INFO: ==28262== Releasing lock... [2025-03-09 14:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:42:04] Production.INFO: ==28257== Releasing lock... [2025-03-09 14:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:42:04] Production.ERROR: done [2025-03-09 14:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:42:04] Production.ERROR: done [2025-03-09 14:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:42:05 [end_date_ymd] => 2025-03-09 14:42:05 [RateCDR] => 1 ) [2025-03-09 14:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:42:05' and `end` < '2025-03-09 14:42:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:42:12] Production.ERROR: CronJobId end10 [2025-03-09 14:42:12] Production.INFO: ==28259== Releasing lock... [2025-03-09 14:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:42:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:42:15] Production.INFO: call_cost start [2025-03-09 14:42:15] Production.INFO: call_cost end [2025-03-09 14:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:42:16] Production.INFO: ==28255== Releasing lock... [2025-03-09 14:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:42:17] Production.INFO: count ==822 [2025-03-09 14:42:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:42:05 - End Time 2025-03-09 14:42:05 [2025-03-09 14:42:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642868', 'tblTempUsageDetail_20' ) start [2025-03-09 14:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642868', 'tblTempUsageDetail_20' ) end [2025-03-09 14:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642868', 'tblTempVendorCDR_20' ) start [2025-03-09 14:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642868', 'tblTempVendorCDR_20' ) end [2025-03-09 14:42:17] Production.INFO: ProcessCDR(1,14642868,1,1,2) [2025-03-09 14:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642868', 'tblTempUsageDetail_20' ) start [2025-03-09 14:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642868', 'tblTempUsageDetail_20' ) end [2025-03-09 14:42:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:42:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:42:21] Production.INFO: ==28264== Releasing lock... [2025-03-09 14:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:42:21] Production.INFO: 34 MB #Memory Used# [2025-03-09 18:43:01] Production.INFO: ==28321== Lock acquired, processing the job... [2025-03-09 18:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:43:01] Production.INFO: neon service started [2025-03-09 18:43:01] Production.INFO: neon service started [2025-03-09 18:43:01] Production.INFO: ==28321== Releasing lock... [2025-03-09 18:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:43:01] Production.INFO: ==28325== Lock acquired, processing the job... [2025-03-09 18:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:43:02] Production.INFO: ==28325== Releasing lock... [2025-03-09 18:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:43:02] Production.INFO: ==28323== Lock acquired, processing the job... [2025-03-09 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:43:02] Production.INFO: ==28323== Releasing lock... [2025-03-09 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:43:03] Production.INFO: ==28328== Lock acquired, processing the job... [2025-03-09 14:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:43:03] Production.INFO: ==28330== Lock acquired, processing the job... [2025-03-09 14:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:43:03] Production.INFO: ==28332== Lock acquired, processing the job... [2025-03-09 14:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:43:03] Production.INFO: ==28334== Lock acquired, processing the job... [2025-03-09 14:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:43:03] Production.INFO: ==28336== Lock acquired, processing the job... [2025-03-09 14:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:43:03] Production.INFO: ==28338== Lock acquired, processing the job... [2025-03-09 14:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:43:03] Production.INFO: Account Balance Start. [2025-03-09 14:43:03] Production.INFO: CreateAllLog Start [2025-03-09 14:43:03] Production.INFO: 117 [2025-03-09 14:43:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:43:03] Production.INFO: ==28330== Releasing lock... [2025-03-09 14:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:43:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:43:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:43:03] Production.INFO: Total Charge 0 [2025-03-09 14:43:03] Production.INFO: CreateAllLog End [2025-03-09 14:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:43:04] Production.INFO: count ==13 [2025-03-09 14: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-09 14:43:04] Production.INFO: count ==21 [2025-03-09 14:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642872') start [2025-03-09 14:43:04] Production.INFO: Account Balance End. [2025-03-09 14:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642872') end [2025-03-09 14:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:43:04] Production.INFO: 1 [2025-03-09 14:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:43:04] Production.INFO: ==28338== Releasing lock... [2025-03-09 14:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:43:04] Production.ERROR: done [2025-03-09 14:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:43:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:43:04] Production.INFO: ==28334== Releasing lock... [2025-03-09 14:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:43:04] Production.ERROR: done [2025-03-09 14:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:43:05 [end_date_ymd] => 2025-03-09 14:43:05 [RateCDR] => 1 ) [2025-03-09 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-09 11:43:05' and `end` < '2025-03-09 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-09 14:43:12] Production.ERROR: CronJobId end10 [2025-03-09 14:43:12] Production.INFO: ==28332== Releasing lock... [2025-03-09 14:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:43:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:43:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:43:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:43:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:43:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:43:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:43:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:43:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:43:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:43:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:43:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:43:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:43:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:43:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:43:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:43:13] Production.INFO: call_cost start [2025-03-09 14:43:13] Production.INFO: call_cost end [2025-03-09 14:43:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:43:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:43:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:43:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:43:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:43:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:43:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:43:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:43:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:43:14] Production.INFO: ==28328== Releasing lock... [2025-03-09 14:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:43:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:43:17] Production.INFO: count ==819 [2025-03-09 14:43:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:43:05 - End Time 2025-03-09 14:43:05 [2025-03-09 14:43:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642873', 'tblTempUsageDetail_20' ) start [2025-03-09 14:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642873', 'tblTempUsageDetail_20' ) end [2025-03-09 14:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642873', 'tblTempVendorCDR_20' ) start [2025-03-09 14:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642873', 'tblTempVendorCDR_20' ) end [2025-03-09 14:43:18] Production.INFO: ProcessCDR(1,14642873,1,1,2) [2025-03-09 14:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642873', 'tblTempUsageDetail_20' ) start [2025-03-09 14:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642873', 'tblTempUsageDetail_20' ) end [2025-03-09 14:43:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:43:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:43:21] Production.INFO: ==28336== Releasing lock... [2025-03-09 14:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:43:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 18:44:02] Production.INFO: ==28395== Lock acquired, processing the job... [2025-03-09 18:44:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:44:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:44:02] Production.INFO: neon service started [2025-03-09 18:44:02] Production.INFO: neon service started [2025-03-09 18:44:02] Production.INFO: ==28395== Releasing lock... [2025-03-09 18:44:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:44:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:44:02] Production.INFO: ==28399== Lock acquired, processing the job... [2025-03-09 18:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:44:02] Production.INFO: ==28399== Releasing lock... [2025-03-09 18:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:44:02] Production.INFO: ==28397== Lock acquired, processing the job... [2025-03-09 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:44:02] Production.INFO: ==28397== Releasing lock... [2025-03-09 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:44:03] Production.INFO: ==28408== Lock acquired, processing the job... [2025-03-09 14:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:44:03] Production.INFO: Account Balance Start. [2025-03-09 14:44:03] Production.INFO: CreateAllLog Start [2025-03-09 14:44:03] Production.INFO: 117 [2025-03-09 14:44:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:44:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:44:03] Production.INFO: ==28412== Lock acquired, processing the job... [2025-03-09 14:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:44:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:44:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:44:03] Production.INFO: Total Charge 0 [2025-03-09 14:44:03] Production.INFO: CreateAllLog End [2025-03-09 14:44:04] Production.INFO: ==28401== Lock acquired, processing the job... [2025-03-09 14:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:44:04] Production.INFO: Account Balance End. [2025-03-09 14:44:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:44:04] Production.INFO: ==28408== Releasing lock... [2025-03-09 14:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:44:04] Production.INFO: count ==13 [2025-03-09 14:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:44:04] Production.INFO: ==28403== Lock acquired, processing the job... [2025-03-09 14:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:44:04] Production.INFO: count ==21 [2025-03-09 14:44:04] Production.INFO: ==28406== Lock acquired, processing the job... [2025-03-09 14:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642875') start [2025-03-09 14:44:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:44:04] Production.INFO: ==28410== Lock acquired, processing the job... [2025-03-09 14:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642875') end [2025-03-09 14:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:44:04] Production.INFO: 1 [2025-03-09 14:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:44:04] Production.INFO: ==28412== Releasing lock... [2025-03-09 14:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:44:04] Production.INFO: ==28403== Releasing lock... [2025-03-09 14:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:44:04] Production.ERROR: done [2025-03-09 14:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:44:04] Production.ERROR: done [2025-03-09 14:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:44:05 [end_date_ymd] => 2025-03-09 14:44:05 [RateCDR] => 1 ) [2025-03-09 14:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:44:05' and `end` < '2025-03-09 14:44:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:44:11] Production.ERROR: CronJobId end10 [2025-03-09 14:44:11] Production.INFO: ==28406== Releasing lock... [2025-03-09 14:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:44:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:44:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:44:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:44:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:44:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:44:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:44:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:44:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:44:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:44:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:44:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:44:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:44:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:44:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:44:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:44:14] Production.INFO: call_cost start [2025-03-09 14:44:14] Production.INFO: call_cost end [2025-03-09 14:44:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:44:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:44:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:44:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:44:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:44:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:44:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:44:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:44:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:44:15] Production.INFO: ==28401== Releasing lock... [2025-03-09 14:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:44:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:44:18] Production.INFO: count ==803 [2025-03-09 14:44:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:44:05 - End Time 2025-03-09 14:44:05 [2025-03-09 14:44:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642878', 'tblTempUsageDetail_20' ) start [2025-03-09 14:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642878', 'tblTempUsageDetail_20' ) end [2025-03-09 14:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642878', 'tblTempVendorCDR_20' ) start [2025-03-09 14:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642878', 'tblTempVendorCDR_20' ) end [2025-03-09 14:44:18] Production.INFO: ProcessCDR(1,14642878,1,1,2) [2025-03-09 14:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642878', 'tblTempUsageDetail_20' ) start [2025-03-09 14:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642878', 'tblTempUsageDetail_20' ) end [2025-03-09 14:44:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:44:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:44:21] Production.INFO: ==28410== Releasing lock... [2025-03-09 14:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:44:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 18:45:01] Production.INFO: ==28466== Lock acquired, processing the job... [2025-03-09 18:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:45:01] Production.INFO: neon service started [2025-03-09 18:45:01] Production.INFO: neon service started [2025-03-09 18:45:01] Production.INFO: ==28466== Releasing lock... [2025-03-09 18:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:45:01] Production.INFO: ==28468== Lock acquired, processing the job... [2025-03-09 14:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:45:02] Production.INFO: ==28468== Releasing lock... [2025-03-09 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:45:02] Production.INFO: ==28470== Lock acquired, processing the job... [2025-03-09 18:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:45:02] Production.INFO: ==28470== Releasing lock... [2025-03-09 18:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:45:03] Production.INFO: ==28472== Lock acquired, processing the job... [2025-03-09 14:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:45:03] Production.INFO: ==28474== Lock acquired, processing the job... [2025-03-09 14:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:45:03] Production.INFO: ==28478== Lock acquired, processing the job... [2025-03-09 14:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:45:03] Production.INFO: ==28476== Lock acquired, processing the job... [2025-03-09 14:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:45:03] Production.INFO: ==28482== Lock acquired, processing the job... [2025-03-09 14:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:45:03] Production.INFO: Account Balance Start. [2025-03-09 14:45:03] Production.INFO: CreateAllLog Start [2025-03-09 14:45:03] Production.INFO: 117 [2025-03-09 14:45:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:45:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:45:03] Production.INFO: ==28480== Lock acquired, processing the job... [2025-03-09 14:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:45:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:45:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:45:03] Production.INFO: ==28474== Releasing lock... [2025-03-09 14:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:45:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:45:03] Production.INFO: count ==13 [2025-03-09 14:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:45:03] Production.INFO: count ==21 [2025-03-09 14:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642882') start [2025-03-09 14:45:03] Production.INFO: Total Charge 0 [2025-03-09 14:45:03] Production.INFO: CreateAllLog End [2025-03-09 14:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642882') end [2025-03-09 14:45:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:45:03] Production.INFO: 1 [2025-03-09 14:45:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:45:03] Production.INFO: ==28482== Releasing lock... [2025-03-09 14:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:45:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:45:03] Production.ERROR: done [2025-03-09 14:45:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:45:03] Production.INFO: Account Balance End. [2025-03-09 14:45:03] Production.ERROR: CronJobId end 12 [2025-03-09 14:45:03] Production.INFO: ==28478== Releasing lock... [2025-03-09 14:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:45:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:45:03] Production.ERROR: done [2025-03-09 14:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:45:05 [end_date_ymd] => 2025-03-09 14:45:05 [RateCDR] => 1 ) [2025-03-09 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-09 11:45:05' and `end` < '2025-03-09 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-09 14:45:11] Production.ERROR: CronJobId end10 [2025-03-09 14:45:11] Production.INFO: ==28476== Releasing lock... [2025-03-09 14:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:45:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:45:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:45:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:45:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:45:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:45:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:45:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:45:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:45:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:45:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:45:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:45:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:45:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:45:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:45:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:45:14] Production.INFO: call_cost start [2025-03-09 14:45:14] Production.INFO: call_cost end [2025-03-09 14:45:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:45:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:45:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:45:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:45:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:45:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:45:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:45:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:45:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:45:15] Production.INFO: ==28472== Releasing lock... [2025-03-09 14:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:45:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:45:17] Production.INFO: count ==804 [2025-03-09 14:45:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:45:05 - End Time 2025-03-09 14:45:05 [2025-03-09 14:45:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642883', 'tblTempUsageDetail_20' ) start [2025-03-09 14:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642883', 'tblTempUsageDetail_20' ) end [2025-03-09 14:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642883', 'tblTempVendorCDR_20' ) start [2025-03-09 14:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642883', 'tblTempVendorCDR_20' ) end [2025-03-09 14:45:17] Production.INFO: ProcessCDR(1,14642883,1,1,2) [2025-03-09 14:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642883', 'tblTempUsageDetail_20' ) start [2025-03-09 14:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642883', 'tblTempUsageDetail_20' ) end [2025-03-09 14:45:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:45:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:45:20] Production.INFO: ==28480== Releasing lock... [2025-03-09 14:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:45:20] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 18:46:01] Production.INFO: ==28537== Lock acquired, processing the job... [2025-03-09 18:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:46:01] Production.INFO: neon service started [2025-03-09 18:46:01] Production.INFO: neon service started [2025-03-09 18:46:01] Production.INFO: ==28537== Releasing lock... [2025-03-09 18:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:46:02] Production.INFO: ==28539== Lock acquired, processing the job... [2025-03-09 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:46:02] Production.INFO: ==28539== Releasing lock... [2025-03-09 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:46:02] Production.INFO: ==28541== Lock acquired, processing the job... [2025-03-09 18:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:46:02] Production.INFO: ==28541== Releasing lock... [2025-03-09 18:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:46:03] Production.INFO: ==28544== Lock acquired, processing the job... [2025-03-09 14:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:46:03] Production.INFO: ==28548== Lock acquired, processing the job... [2025-03-09 14:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:46:03] Production.INFO: ==28550== Lock acquired, processing the job... [2025-03-09 14:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:46:03] Production.INFO: Account Balance Start. [2025-03-09 14:46:03] Production.INFO: CreateAllLog Start [2025-03-09 14:46:03] Production.INFO: 117 [2025-03-09 14:46:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:46:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:46:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:46:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:46:03] Production.INFO: Total Charge 0 [2025-03-09 14:46:03] Production.INFO: CreateAllLog End [2025-03-09 14:46:03] Production.INFO: Account Balance End. [2025-03-09 14:46:03] Production.INFO: ==28546== Lock acquired, processing the job... [2025-03-09 14:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:46:03] Production.INFO: ==28552== Lock acquired, processing the job... [2025-03-09 14:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:46:03] Production.ERROR: CronJobId end 12 [2025-03-09 14:46:03] Production.INFO: ==28550== Releasing lock... [2025-03-09 14:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:46:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:46:03] Production.INFO: ==28554== Lock acquired, processing the job... [2025-03-09 14:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:46:04] Production.INFO: ==28546== Releasing lock... [2025-03-09 14:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 14:46:04] Production.INFO: count ==13 [2025-03-09 14:46:04] Production.ERROR: done [2025-03-09 14:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 14:46:04] Production.INFO: count ==21 [2025-03-09 14:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642887') start [2025-03-09 14:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642887') end [2025-03-09 14:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:46:04] Production.INFO: 1 [2025-03-09 14:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:46:04] Production.ERROR: done [2025-03-09 14:46:04] Production.INFO: ==28554== Releasing lock... [2025-03-09 14:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:46:05 [end_date_ymd] => 2025-03-09 14:46:05 [RateCDR] => 1 ) [2025-03-09 14:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:46:05' and `end` < '2025-03-09 14:46:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:46:12] Production.ERROR: CronJobId end10 [2025-03-09 14:46:12] Production.INFO: ==28548== Releasing lock... [2025-03-09 14:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:46:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:46:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:46:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:46:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:46:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:46:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:46:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:46:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:46:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:46:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:46:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:46:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:46:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:46:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:46:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:46:15] Production.INFO: call_cost start [2025-03-09 14:46:15] Production.INFO: call_cost end [2025-03-09 14:46:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:46:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:46:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:46:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:46:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:46:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:46:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:46:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:46:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:46:16] Production.INFO: ==28544== Releasing lock... [2025-03-09 14:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:46:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:46:17] Production.INFO: count ==801 [2025-03-09 14:46:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:46:05 - End Time 2025-03-09 14:46:05 [2025-03-09 14:46:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642888', 'tblTempUsageDetail_20' ) start [2025-03-09 14:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642888', 'tblTempUsageDetail_20' ) end [2025-03-09 14:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642888', 'tblTempVendorCDR_20' ) start [2025-03-09 14:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642888', 'tblTempVendorCDR_20' ) end [2025-03-09 14:46:17] Production.INFO: ProcessCDR(1,14642888,1,1,2) [2025-03-09 14:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642888', 'tblTempUsageDetail_20' ) start [2025-03-09 14:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642888', 'tblTempUsageDetail_20' ) end [2025-03-09 14:46:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:46:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:46:21] Production.INFO: ==28552== Releasing lock... [2025-03-09 14:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:46:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 18:47:02] Production.INFO: ==28609== Lock acquired, processing the job... [2025-03-09 18:47:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:47:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:47:02] Production.INFO: neon service started [2025-03-09 18:47:02] Production.INFO: neon service started [2025-03-09 18:47:02] Production.INFO: ==28609== Releasing lock... [2025-03-09 18:47:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:47:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:47:02] Production.INFO: ==28613== Lock acquired, processing the job... [2025-03-09 18:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:47:02] Production.INFO: ==28613== Releasing lock... [2025-03-09 18:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:47:02] Production.INFO: ==28611== Lock acquired, processing the job... [2025-03-09 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:47:03] Production.INFO: ==28611== Releasing lock... [2025-03-09 14:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:47:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:47:04] Production.INFO: ==28624== Lock acquired, processing the job... [2025-03-09 14:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:47:04] Production.INFO: ==28620== Lock acquired, processing the job... [2025-03-09 14:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:47:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:47:04] Production.INFO: ==28616== Lock acquired, processing the job... [2025-03-09 14:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:47:04] Production.INFO: ==28618== Lock acquired, processing the job... [2025-03-09 14:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:47:04] Production.INFO: ==28622== Lock acquired, processing the job... [2025-03-09 14:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:47:04] Production.INFO: ==28626== Lock acquired, processing the job... [2025-03-09 14:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:47:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:47:04] Production.INFO: Account Balance Start. [2025-03-09 14:47:04] Production.INFO: CreateAllLog Start [2025-03-09 14:47:04] Production.INFO: 117 [2025-03-09 14:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:47:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:47:04] Production.ERROR: done [2025-03-09 14:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:47:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:47:04] Production.INFO: count ==13 [2025-03-09 14:47:04] Production.ERROR: done [2025-03-09 14:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:47:04] Production.INFO: count ==21 [2025-03-09 14:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642892') start [2025-03-09 14:47:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:47:04] Production.INFO: ==28618== Releasing lock... [2025-03-09 14:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642892') end [2025-03-09 14:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:47:04] Production.INFO: 1 [2025-03-09 14:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:47:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:47:05] Production.INFO: ==28626== Releasing lock... [2025-03-09 14:47:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:47:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:47:05] Production.INFO: Total Charge 0 [2025-03-09 14:47:05] Production.INFO: CreateAllLog End [2025-03-09 14:47:05] Production.INFO: Account Balance End. [2025-03-09 14:47:05] Production.ERROR: CronJobId end 12 [2025-03-09 14:47:05] Production.INFO: ==28622== Releasing lock... [2025-03-09 14:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:47:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:47:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:47:06 [end_date_ymd] => 2025-03-09 14:47:06 [RateCDR] => 1 ) [2025-03-09 14:47:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:47:06' and `end` < '2025-03-09 14:47:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:47:13] Production.ERROR: CronJobId end10 [2025-03-09 14:47:13] Production.INFO: ==28620== Releasing lock... [2025-03-09 14:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:47:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:47:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:47:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:47:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:47:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:47:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:47:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:47:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:47:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:47:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:47:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:47:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:47:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:47:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:47:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:47:16] Production.INFO: call_cost start [2025-03-09 14:47:16] Production.INFO: call_cost end [2025-03-09 14:47:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:47:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:47:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:47:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:47:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:47:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:47:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:47:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:47:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:47:16] Production.INFO: ==28616== Releasing lock... [2025-03-09 14:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:47:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:47:18] Production.INFO: count ==798 [2025-03-09 14:47:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:47:06 - End Time 2025-03-09 14:47:06 [2025-03-09 14:47:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642893', 'tblTempUsageDetail_20' ) start [2025-03-09 14:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642893', 'tblTempUsageDetail_20' ) end [2025-03-09 14:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642893', 'tblTempVendorCDR_20' ) start [2025-03-09 14:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642893', 'tblTempVendorCDR_20' ) end [2025-03-09 14:47:18] Production.INFO: ProcessCDR(1,14642893,1,1,2) [2025-03-09 14:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642893', 'tblTempUsageDetail_20' ) start [2025-03-09 14:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642893', 'tblTempUsageDetail_20' ) end [2025-03-09 14:47:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:47:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:47:21] Production.INFO: ==28624== Releasing lock... [2025-03-09 14:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:47:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 18:48:01] Production.INFO: ==28680== Lock acquired, processing the job... [2025-03-09 18:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:48:01] Production.INFO: neon service started [2025-03-09 18:48:01] Production.INFO: neon service started [2025-03-09 18:48:01] Production.INFO: ==28680== Releasing lock... [2025-03-09 18:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:48:02] Production.INFO: ==28684== Lock acquired, processing the job... [2025-03-09 18:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:48:02] Production.INFO: ==28684== Releasing lock... [2025-03-09 18:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:48:02] Production.INFO: ==28682== Lock acquired, processing the job... [2025-03-09 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:48:02] Production.INFO: ==28682== Releasing lock... [2025-03-09 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:48:03] Production.INFO: ==28686== Lock acquired, processing the job... [2025-03-09 14:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:48:03] Production.INFO: ==28688== Lock acquired, processing the job... [2025-03-09 14:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:48:03] Production.INFO: ==28690== Lock acquired, processing the job... [2025-03-09 14:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:48:03] Production.INFO: ==28692== Lock acquired, processing the job... [2025-03-09 14:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:48:03] Production.INFO: Account Balance Start. [2025-03-09 14:48:03] Production.INFO: CreateAllLog Start [2025-03-09 14:48:03] Production.INFO: 117 [2025-03-09 14:48:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:48:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:48:03] Production.INFO: ==28688== Releasing lock... [2025-03-09 14:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:48:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:48:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:48:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:48:03] Production.INFO: ==28697== Lock acquired, processing the job... [2025-03-09 14:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:48:03] Production.INFO: Total Charge 0 [2025-03-09 14:48:03] Production.INFO: ==28694== Lock acquired, processing the job... [2025-03-09 14:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:48:03] Production.INFO: CreateAllLog End [2025-03-09 14:48:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:48:03] Production.INFO: Account Balance End. [2025-03-09 14:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:48:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:48:04] Production.INFO: ==28692== Releasing lock... [2025-03-09 14:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:48:04] Production.INFO: count ==13 [2025-03-09 14:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:48:04] Production.INFO: count ==21 [2025-03-09 14:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642897') start [2025-03-09 14:48:04] Production.ERROR: done [2025-03-09 14:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642897') end [2025-03-09 14:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:48:04] Production.INFO: 1 [2025-03-09 14:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:48:04] Production.INFO: ==28697== Releasing lock... [2025-03-09 14:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:48:04] Production.ERROR: done [2025-03-09 14:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:48:05 [end_date_ymd] => 2025-03-09 14:48:05 [RateCDR] => 1 ) [2025-03-09 14:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:48:05' and `end` < '2025-03-09 14:48:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:48:13] Production.ERROR: CronJobId end10 [2025-03-09 14:48:13] Production.INFO: ==28690== Releasing lock... [2025-03-09 14:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:48:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:48:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:48:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:48:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:48:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:48:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:48:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:48:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:48:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:48:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:48:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:48:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:48:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:48:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:48:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:48:14] Production.INFO: call_cost start [2025-03-09 14:48:14] Production.INFO: call_cost end [2025-03-09 14:48:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:48:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:48:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:48:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:48:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:48:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:48:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:48:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:48:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:48:15] Production.INFO: ==28686== Releasing lock... [2025-03-09 14:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:48:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:48:17] Production.INFO: count ==800 [2025-03-09 14:48:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:48:05 - End Time 2025-03-09 14:48:05 [2025-03-09 14:48:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642898', 'tblTempUsageDetail_20' ) start [2025-03-09 14:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642898', 'tblTempUsageDetail_20' ) end [2025-03-09 14:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642898', 'tblTempVendorCDR_20' ) start [2025-03-09 14:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642898', 'tblTempVendorCDR_20' ) end [2025-03-09 14:48:18] Production.INFO: ProcessCDR(1,14642898,1,1,2) [2025-03-09 14:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642898', 'tblTempUsageDetail_20' ) start [2025-03-09 14:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642898', 'tblTempUsageDetail_20' ) end [2025-03-09 14:48:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:48:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:48:21] Production.INFO: ==28694== Releasing lock... [2025-03-09 14:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:48:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-09 18:49:02] Production.INFO: ==28757== Lock acquired, processing the job... [2025-03-09 18:49:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:49:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:49:02] Production.INFO: neon service started [2025-03-09 18:49:02] Production.INFO: neon service started [2025-03-09 18:49:02] Production.INFO: ==28757== Releasing lock... [2025-03-09 18:49:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:49:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:49:02] Production.INFO: ==28759== Lock acquired, processing the job... [2025-03-09 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:49:02] Production.INFO: ==28759== Releasing lock... [2025-03-09 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:49:02] Production.INFO: ==28761== Lock acquired, processing the job... [2025-03-09 18:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:49:02] Production.INFO: ==28761== Releasing lock... [2025-03-09 18:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:49:03] Production.INFO: ==28764== Lock acquired, processing the job... [2025-03-09 14:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:49:03] Production.INFO: ==28766== Lock acquired, processing the job... [2025-03-09 14:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:49:03] Production.INFO: ==28768== Lock acquired, processing the job... [2025-03-09 14:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:49:03] Production.INFO: ==28772== Lock acquired, processing the job... [2025-03-09 14:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:49:04] Production.INFO: ==28774== Lock acquired, processing the job... [2025-03-09 14:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:49:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:49:04] Production.INFO: ==28766== Releasing lock... [2025-03-09 14:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:49:04] Production.INFO: ==28770== Lock acquired, processing the job... [2025-03-09 14:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:49:04] Production.ERROR: done [2025-03-09 14:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:49:04] Production.INFO: Account Balance Start. [2025-03-09 14:49:04] Production.INFO: CreateAllLog Start [2025-03-09 14:49:04] Production.INFO: count ==13 [2025-03-09 14:49:04] Production.INFO: 117 [2025-03-09 14:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:49:04] Production.INFO: count ==21 [2025-03-09 14:49:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:49:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642901') start [2025-03-09 14:49:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:49:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:49:04] Production.INFO: Total Charge 0 [2025-03-09 14:49:04] Production.INFO: CreateAllLog End [2025-03-09 14:49:04] Production.ERROR: done [2025-03-09 14:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642901') end [2025-03-09 14:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:49:04] Production.INFO: 1 [2025-03-09 14:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:49:04] Production.INFO: ==28774== Releasing lock... [2025-03-09 14:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:49:04] Production.INFO: Account Balance End. [2025-03-09 14:49:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:49:04] Production.INFO: ==28770== Releasing lock... [2025-03-09 14:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:49:05 [end_date_ymd] => 2025-03-09 14:49:05 [RateCDR] => 1 ) [2025-03-09 14:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:49:05' and `end` < '2025-03-09 14:49:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:49:12] Production.ERROR: CronJobId end10 [2025-03-09 14:49:12] Production.INFO: ==28768== Releasing lock... [2025-03-09 14:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:49:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:49:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:49:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:49:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:49:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:49:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:49:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:49:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:49:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:49:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:49:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:49:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:49:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:49:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:49:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:49:14] Production.INFO: call_cost start [2025-03-09 14:49:14] Production.INFO: call_cost end [2025-03-09 14:49:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:49:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:49:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:49:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:49:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:49:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:49:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:49:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:49:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:49:15] Production.INFO: ==28764== Releasing lock... [2025-03-09 14:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:49:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:49:17] Production.INFO: count ==801 [2025-03-09 14:49:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:49:05 - End Time 2025-03-09 14:49:05 [2025-03-09 14:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642903', 'tblTempUsageDetail_20' ) start [2025-03-09 14:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642903', 'tblTempUsageDetail_20' ) end [2025-03-09 14:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642903', 'tblTempVendorCDR_20' ) start [2025-03-09 14:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642903', 'tblTempVendorCDR_20' ) end [2025-03-09 14:49:18] Production.INFO: ProcessCDR(1,14642903,1,1,2) [2025-03-09 14:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642903', 'tblTempUsageDetail_20' ) start [2025-03-09 14:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642903', 'tblTempUsageDetail_20' ) end [2025-03-09 14:49:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:49:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:49:21] Production.INFO: ==28772== Releasing lock... [2025-03-09 14:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:49:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 18:50:01] Production.INFO: ==28827== Lock acquired, processing the job... [2025-03-09 18:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:50:01] Production.INFO: neon service started [2025-03-09 18:50:01] Production.INFO: neon service started [2025-03-09 18:50:01] Production.INFO: ==28827== Releasing lock... [2025-03-09 18:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:50:02] Production.INFO: ==28829== Lock acquired, processing the job... [2025-03-09 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:50:02] Production.INFO: ==28831== Lock acquired, processing the job... [2025-03-09 18:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:50:02] Production.INFO: ==28831== Releasing lock... [2025-03-09 18:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:50:02] Production.INFO: ==28829== Releasing lock... [2025-03-09 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:50:04] Production.INFO: ==28838== Lock acquired, processing the job... [2025-03-09 14:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:50:04] Production.INFO: ==28834== Lock acquired, processing the job... [2025-03-09 14:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 14:50:04] Production.INFO: ==28842== Lock acquired, processing the job... [2025-03-09 14:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:50:04] Production.INFO: ==28836== Lock acquired, processing the job... [2025-03-09 14:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 14:50:04] Production.INFO: ==28844== Lock acquired, processing the job... [2025-03-09 14:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 14:50:04] Production.ERROR: CronJob PID - 28838 [2025-03-09 14:50:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 14:50:04] Production.ERROR: CronJob ID - 7 [2025-03-09 14:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 14:50:00 [2025-03-09 14:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 14:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 14:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 14:50:04] Production.ERROR: CronJob PID - 28842 [2025-03-09 14:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 14:50:04] Production.ERROR: CronJob ID - 12 [2025-03-09 14:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 14:50:00 [2025-03-09 14:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 14:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 14:50:04] Production.INFO: Account Balance Start. [2025-03-09 14:50:04] Production.INFO: CreateAllLog Start [2025-03-09 14:50:04] Production.INFO: 117 [2025-03-09 14:50:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 14:50:04] Production.INFO: ==28834== Releasing lock... [2025-03-09 14:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 14:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 14:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:50:04] Production.INFO: ==28840== Lock acquired, processing the job... [2025-03-09 14:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:50:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:50:04] Production.INFO: Total Charge 0 [2025-03-09 14:50:04] Production.INFO: CreateAllLog End [2025-03-09 14:50:04] Production.INFO: ==28846== Lock acquired, processing the job... [2025-03-09 14:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 14:50:04] Production.INFO: ==28838== Releasing lock... [2025-03-09 14:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:50:04] Production.INFO: ==28848== Lock acquired, processing the job... [2025-03-09 14:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:50:04] Production.ERROR: done [2025-03-09 14:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14: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-09 14:50:05] Production.INFO: count ==13 [2025-03-09 14:50:05] Production.INFO: Account Balance End. [2025-03-09 14:50:05] Production.ERROR: done [2025-03-09 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-09 14:50:05] Production.INFO: count ==21 [2025-03-09 14:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14642907') start [2025-03-09 14:50:05] Production.ERROR: done [2025-03-09 14:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 14:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642908', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 14:50:05] Production.ERROR: CronJobId end 12 [2025-03-09 14:50:05] Production.INFO: ==28842== Releasing lock... [2025-03-09 14:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14642907') end [2025-03-09 14:50:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:50:05] Production.INFO: 1 [2025-03-09 14:50:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:50:05] Production.INFO: ==28848== Releasing lock... [2025-03-09 14:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:50:06 [end_date_ymd] => 2025-03-09 14:50:06 [RateCDR] => 1 ) [2025-03-09 14:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:50:06' and `end` < '2025-03-09 14:50:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:50:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642908', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 14:50:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 14:50:10] Production.INFO: ProcessCDR(1,14642908,1,1,2) [2025-03-09 14:50:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14642908,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14642908,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:50:10] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:50:10] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:50:10] Production.INFO: ==28846== Releasing lock... [2025-03-09 14:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 14:50:10] Production.INFO: 26 MB #Memory Used# [2025-03-09 14:50:15] Production.ERROR: CronJobId end10 [2025-03-09 14:50:15] Production.INFO: ==28840== Releasing lock... [2025-03-09 14:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:50:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:50:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:50:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:50:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:50:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:50:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:50:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:50:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:50:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:50:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:50:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:50:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:50:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:50:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:50:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:50:17] Production.INFO: call_cost start [2025-03-09 14:50:17] Production.INFO: call_cost end [2025-03-09 14:50:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:50:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:50:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:50:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:50:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:50:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:50:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:50:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:50:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:50:18] Production.INFO: ==28836== Releasing lock... [2025-03-09 14:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:50:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:50:18] Production.INFO: count ==812 [2025-03-09 14:50:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:50:06 - End Time 2025-03-09 14:50:06 [2025-03-09 14:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642909', 'tblTempUsageDetail_20' ) start [2025-03-09 14:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642909', 'tblTempUsageDetail_20' ) end [2025-03-09 14:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642909', 'tblTempVendorCDR_20' ) start [2025-03-09 14:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642909', 'tblTempVendorCDR_20' ) end [2025-03-09 14:50:18] Production.INFO: ProcessCDR(1,14642909,1,1,2) [2025-03-09 14:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642909', 'tblTempUsageDetail_20' ) start [2025-03-09 14:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642909', 'tblTempUsageDetail_20' ) end [2025-03-09 14:50:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:50:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:50:22] Production.INFO: ==28844== Releasing lock... [2025-03-09 14:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:50:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 18:51:02] Production.INFO: ==28942== Lock acquired, processing the job... [2025-03-09 18:51:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:51:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:51:02] Production.INFO: neon service started [2025-03-09 18:51:02] Production.INFO: neon service started [2025-03-09 18:51:02] Production.INFO: ==28942== Releasing lock... [2025-03-09 18:51:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:51:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:51:02] Production.INFO: ==28944== Lock acquired, processing the job... [2025-03-09 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:51:02] Production.INFO: ==28946== Lock acquired, processing the job... [2025-03-09 18:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 14:51:02] Production.INFO: ==28944== Releasing lock... [2025-03-09 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:51:02] Production.INFO: ==28946== Releasing lock... [2025-03-09 18:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:51:03] Production.INFO: ==28950== Lock acquired, processing the job... [2025-03-09 14:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:51:03] Production.INFO: ==28948== Lock acquired, processing the job... [2025-03-09 14:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:51:03] Production.INFO: ==28952== Lock acquired, processing the job... [2025-03-09 14:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:51:04] Production.INFO: ==28955== Lock acquired, processing the job... [2025-03-09 14:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:51:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:51:04] Production.INFO: ==28957== Lock acquired, processing the job... [2025-03-09 14:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:51:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:51:04] Production.INFO: ==28959== Lock acquired, processing the job... [2025-03-09 14:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:51:04] Production.INFO: Account Balance Start. [2025-03-09 14:51:04] Production.INFO: CreateAllLog Start [2025-03-09 14:51:04] Production.INFO: 117 [2025-03-09 14:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:51:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:51:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:51:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:51:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:51:04] Production.INFO: Total Charge 0 [2025-03-09 14:51:04] Production.INFO: CreateAllLog End [2025-03-09 14:51:04] Production.INFO: ==28950== Releasing lock... [2025-03-09 14:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:51:04] Production.INFO: count ==13 [2025-03-09 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-09 14:51:04] Production.ERROR: done [2025-03-09 14:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:51:04] Production.INFO: count ==21 [2025-03-09 14:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642913') start [2025-03-09 14:51:04] Production.INFO: Account Balance End. [2025-03-09 14:51:04] Production.ERROR: done [2025-03-09 14:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642913') end [2025-03-09 14:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:51:04] Production.INFO: 1 [2025-03-09 14:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:51:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:51:04] Production.INFO: ==28955== Releasing lock... [2025-03-09 14:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:51:04] Production.INFO: ==28959== Releasing lock... [2025-03-09 14:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:51:05 [end_date_ymd] => 2025-03-09 14:51:05 [RateCDR] => 1 ) [2025-03-09 14:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:51:05' and `end` < '2025-03-09 14:51:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:51:12] Production.ERROR: CronJobId end10 [2025-03-09 14:51:12] Production.INFO: ==28952== Releasing lock... [2025-03-09 14:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:51:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:51:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:51:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:51:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:51:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:51:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:51:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:51:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:51:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:51:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:51:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:51:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:51:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:51:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:51:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:51:15] Production.INFO: call_cost start [2025-03-09 14:51:15] Production.INFO: call_cost end [2025-03-09 14:51:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:51:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:51:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:51:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:51:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:51:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:51:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:51:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:51:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:51:16] Production.INFO: ==28948== Releasing lock... [2025-03-09 14:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:51:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:51:18] Production.INFO: count ==835 [2025-03-09 14:51:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:51:05 - End Time 2025-03-09 14:51:05 [2025-03-09 14:51:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642914', 'tblTempUsageDetail_20' ) start [2025-03-09 14:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642914', 'tblTempUsageDetail_20' ) end [2025-03-09 14:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642914', 'tblTempVendorCDR_20' ) start [2025-03-09 14:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642914', 'tblTempVendorCDR_20' ) end [2025-03-09 14:51:18] Production.INFO: ProcessCDR(1,14642914,1,1,2) [2025-03-09 14:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642914', 'tblTempUsageDetail_20' ) start [2025-03-09 14:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642914', 'tblTempUsageDetail_20' ) end [2025-03-09 14:51:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:51:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:51:21] Production.INFO: ==28957== Releasing lock... [2025-03-09 14:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:51:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 18:52:01] Production.INFO: ==29016== Lock acquired, processing the job... [2025-03-09 18:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:52:01] Production.INFO: neon service started [2025-03-09 18:52:01] Production.INFO: neon service started [2025-03-09 18:52:01] Production.INFO: ==29016== Releasing lock... [2025-03-09 18:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:52:02] Production.INFO: ==29018== Lock acquired, processing the job... [2025-03-09 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:52:02] Production.INFO: ==29018== Releasing lock... [2025-03-09 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:52:02] Production.INFO: ==29020== Lock acquired, processing the job... [2025-03-09 18:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:52:02] Production.INFO: ==29020== Releasing lock... [2025-03-09 18:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:52:03] Production.INFO: ==29022== Lock acquired, processing the job... [2025-03-09 14:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:52:03] Production.INFO: ==29024== Lock acquired, processing the job... [2025-03-09 14:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:52:03] Production.INFO: ==29026== Lock acquired, processing the job... [2025-03-09 14:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:52:03] Production.INFO: ==29028== Lock acquired, processing the job... [2025-03-09 14:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:52:03] Production.INFO: ==29032== Lock acquired, processing the job... [2025-03-09 14:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:52:03] Production.INFO: ==29030== Lock acquired, processing the job... [2025-03-09 14:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:52:03] Production.INFO: Account Balance Start. [2025-03-09 14:52:03] Production.INFO: CreateAllLog Start [2025-03-09 14:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:52:03] Production.INFO: 117 [2025-03-09 14:52:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:52:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:52:03] Production.INFO: count ==13 [2025-03-09 14:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:52:03] Production.INFO: count ==21 [2025-03-09 14:52:03] Production.INFO: Total Charge 0 [2025-03-09 14:52:03] Production.INFO: ==29024== Releasing lock... [2025-03-09 14:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:52:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642918') start [2025-03-09 14:52:03] Production.INFO: CreateAllLog End [2025-03-09 14:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642918') end [2025-03-09 14:52:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:52:03] Production.INFO: 1 [2025-03-09 14:52:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:52:03] Production.ERROR: done [2025-03-09 14:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:52:04] Production.INFO: ==29032== Releasing lock... [2025-03-09 14:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:52:04] Production.ERROR: done [2025-03-09 14:52:04] Production.INFO: Account Balance End. [2025-03-09 14:52:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:52:04] Production.INFO: ==29028== Releasing lock... [2025-03-09 14:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:52:05 [end_date_ymd] => 2025-03-09 14:52:05 [RateCDR] => 1 ) [2025-03-09 14:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:52:05' and `end` < '2025-03-09 14:52:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:52:11] Production.ERROR: CronJobId end10 [2025-03-09 14:52:11] Production.INFO: ==29026== Releasing lock... [2025-03-09 14:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:52:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:52:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:52:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:52:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:52:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:52:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:52:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:52:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:52:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:52:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:52:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:52:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:52:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:52:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:52:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:52:14] Production.INFO: call_cost start [2025-03-09 14:52:14] Production.INFO: call_cost end [2025-03-09 14:52:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:52:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:52:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:52:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:52:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:52:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:52:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:52:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:52:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:52:15] Production.INFO: ==29022== Releasing lock... [2025-03-09 14:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:52:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:52:17] Production.INFO: count ==837 [2025-03-09 14:52:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:52:05 - End Time 2025-03-09 14:52:05 [2025-03-09 14:52:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642919', 'tblTempUsageDetail_20' ) start [2025-03-09 14:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642919', 'tblTempUsageDetail_20' ) end [2025-03-09 14:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642919', 'tblTempVendorCDR_20' ) start [2025-03-09 14:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642919', 'tblTempVendorCDR_20' ) end [2025-03-09 14:52:17] Production.INFO: ProcessCDR(1,14642919,1,1,2) [2025-03-09 14:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642919', 'tblTempUsageDetail_20' ) start [2025-03-09 14:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642919', 'tblTempUsageDetail_20' ) end [2025-03-09 14:52:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:52:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:52:22] Production.INFO: ==29030== Releasing lock... [2025-03-09 14:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:52:22] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 18:53:02] Production.INFO: ==29104== Lock acquired, processing the job... [2025-03-09 18:53:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:53:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:53:02] Production.INFO: neon service started [2025-03-09 18:53:02] Production.INFO: neon service started [2025-03-09 18:53:02] Production.INFO: ==29104== Releasing lock... [2025-03-09 18:53:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:53:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:53:02] Production.INFO: ==29109== Lock acquired, processing the job... [2025-03-09 18:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:53:02] Production.INFO: ==29109== Releasing lock... [2025-03-09 18:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:53:02] Production.INFO: ==29107== Lock acquired, processing the job... [2025-03-09 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:53:02] Production.INFO: ==29107== Releasing lock... [2025-03-09 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:53:03] Production.INFO: ==29116== Lock acquired, processing the job... [2025-03-09 14:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:53:03] Production.INFO: ==29122== Lock acquired, processing the job... [2025-03-09 14:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:53:03] Production.INFO: ==29111== Lock acquired, processing the job... [2025-03-09 14:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:53:04] Production.INFO: count ==13 [2025-03-09 14:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:53:04] Production.INFO: count ==21 [2025-03-09 14:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642920') start [2025-03-09 14:53:04] Production.INFO: ==29113== Lock acquired, processing the job... [2025-03-09 14:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:53:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:53:04] Production.INFO: ==29118== Lock acquired, processing the job... [2025-03-09 14:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:53:04] Production.INFO: ==29120== Lock acquired, processing the job... [2025-03-09 14:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642920') end [2025-03-09 14:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:53:04] Production.INFO: 1 [2025-03-09 14:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:53:04] Production.INFO: ==29122== Releasing lock... [2025-03-09 14:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:53:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:53:04] Production.INFO: Account Balance Start. [2025-03-09 14:53:04] Production.INFO: CreateAllLog Start [2025-03-09 14:53:04] Production.INFO: 117 [2025-03-09 14:53:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:53:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:53:04] Production.INFO: ==29113== Releasing lock... [2025-03-09 14:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:53:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:53:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:53:04] Production.INFO: Total Charge 0 [2025-03-09 14:53:04] Production.INFO: CreateAllLog End [2025-03-09 14:53:04] Production.ERROR: done [2025-03-09 14:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:53:04] Production.INFO: Account Balance End. [2025-03-09 14:53:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:53:04] Production.INFO: ==29118== Releasing lock... [2025-03-09 14:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:53:04] Production.ERROR: done [2025-03-09 14:53:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:53:06 [end_date_ymd] => 2025-03-09 14:53:06 [RateCDR] => 1 ) [2025-03-09 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-09 11:53:06' and `end` < '2025-03-09 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-09 14:53:12] Production.ERROR: CronJobId end10 [2025-03-09 14:53:12] Production.INFO: ==29116== Releasing lock... [2025-03-09 14:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:53:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:53:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:53:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:53:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:53:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:53:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:53:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:53:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:53:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:53:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:53:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:53:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:53:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:53:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:53:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:53:15] Production.INFO: call_cost start [2025-03-09 14:53:15] Production.INFO: call_cost end [2025-03-09 14:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:53:16] Production.INFO: ==29111== Releasing lock... [2025-03-09 14:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:53:18] Production.INFO: count ==836 [2025-03-09 14:53:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:53:06 - End Time 2025-03-09 14:53:06 [2025-03-09 14:53:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642924', 'tblTempUsageDetail_20' ) start [2025-03-09 14:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642924', 'tblTempUsageDetail_20' ) end [2025-03-09 14:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642924', 'tblTempVendorCDR_20' ) start [2025-03-09 14:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642924', 'tblTempVendorCDR_20' ) end [2025-03-09 14:53:18] Production.INFO: ProcessCDR(1,14642924,1,1,2) [2025-03-09 14:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642924', 'tblTempUsageDetail_20' ) start [2025-03-09 14:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642924', 'tblTempUsageDetail_20' ) end [2025-03-09 14:53:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:53:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:53:23] Production.INFO: ==29120== Releasing lock... [2025-03-09 14:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:53:23] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 18:54:01] Production.INFO: ==29187== Lock acquired, processing the job... [2025-03-09 18:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:54:01] Production.INFO: neon service started [2025-03-09 18:54:01] Production.INFO: neon service started [2025-03-09 18:54:01] Production.INFO: ==29187== Releasing lock... [2025-03-09 18:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:54:01] Production.INFO: ==29191== Lock acquired, processing the job... [2025-03-09 18:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:54:01] Production.INFO: ==29191== Releasing lock... [2025-03-09 18:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:54:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:54:02] Production.INFO: ==29189== Lock acquired, processing the job... [2025-03-09 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:54:02] Production.INFO: ==29189== Releasing lock... [2025-03-09 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:54:03] Production.INFO: ==29194== Lock acquired, processing the job... [2025-03-09 14:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:54:03] Production.INFO: ==29204== Lock acquired, processing the job... [2025-03-09 14:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:54:03] Production.INFO: ==29196== Lock acquired, processing the job... [2025-03-09 14:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 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-09 14:54:03] Production.INFO: count ==13 [2025-03-09 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-09 14:54:03] Production.INFO: count ==21 [2025-03-09 14:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642926') start [2025-03-09 14:54:03] Production.INFO: ==29198== Lock acquired, processing the job... [2025-03-09 14:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:54:03] Production.INFO: ==29200== Lock acquired, processing the job... [2025-03-09 14:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:54:03] Production.INFO: ==29202== Lock acquired, processing the job... [2025-03-09 14:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:54:03] Production.INFO: Account Balance Start. [2025-03-09 14:54:03] Production.INFO: CreateAllLog Start [2025-03-09 14:54:03] Production.INFO: 117 [2025-03-09 14:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642926') end [2025-03-09 14:54:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:54:03] Production.INFO: 1 [2025-03-09 14:54:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:54:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:54:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:54:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:54:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:54:03] Production.INFO: Total Charge 0 [2025-03-09 14:54:03] Production.INFO: CreateAllLog End [2025-03-09 14:54:03] Production.INFO: ==29204== Releasing lock... [2025-03-09 14:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:54:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:54:03] Production.INFO: ==29196== Releasing lock... [2025-03-09 14:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:54:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:54:04] Production.ERROR: done [2025-03-09 14:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:54:04] Production.INFO: Account Balance End. [2025-03-09 14:54:04] Production.ERROR: done [2025-03-09 14:54:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:54:04] Production.INFO: ==29200== Releasing lock... [2025-03-09 14:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:54:05 [end_date_ymd] => 2025-03-09 14:54:05 [RateCDR] => 1 ) [2025-03-09 14:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:54:05' and `end` < '2025-03-09 14:54:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:54:12] Production.ERROR: CronJobId end10 [2025-03-09 14:54:12] Production.INFO: ==29198== Releasing lock... [2025-03-09 14:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:54:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:54:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:54:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:54:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:54:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:54:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:54:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:54:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:54:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:54:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:54:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:54:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:54:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:54:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:54:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:54:15] Production.INFO: call_cost start [2025-03-09 14:54:15] Production.INFO: call_cost end [2025-03-09 14:54:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:54:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:54:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:54:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:54:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:54:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:54:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:54:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:54:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:54:16] Production.INFO: ==29194== Releasing lock... [2025-03-09 14:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:54:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:54:17] Production.INFO: count ==837 [2025-03-09 14:54:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:54:05 - End Time 2025-03-09 14:54:05 [2025-03-09 14:54:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642929', 'tblTempUsageDetail_20' ) start [2025-03-09 14:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642929', 'tblTempUsageDetail_20' ) end [2025-03-09 14:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642929', 'tblTempVendorCDR_20' ) start [2025-03-09 14:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642929', 'tblTempVendorCDR_20' ) end [2025-03-09 14:54:17] Production.INFO: ProcessCDR(1,14642929,1,1,2) [2025-03-09 14:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642929', 'tblTempUsageDetail_20' ) start [2025-03-09 14:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642929', 'tblTempUsageDetail_20' ) end [2025-03-09 14:54:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:54:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:54:22] Production.INFO: ==29202== Releasing lock... [2025-03-09 14:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:54:22] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 18:55:01] Production.INFO: ==29274== Lock acquired, processing the job... [2025-03-09 18:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:55:01] Production.INFO: neon service started [2025-03-09 18:55:01] Production.INFO: neon service started [2025-03-09 18:55:01] Production.INFO: ==29274== Releasing lock... [2025-03-09 18:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:55:02] Production.INFO: ==29278== Lock acquired, processing the job... [2025-03-09 18:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:55:02] Production.INFO: ==29278== Releasing lock... [2025-03-09 18:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:55:02] Production.INFO: ==29276== Lock acquired, processing the job... [2025-03-09 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:55:02] Production.INFO: ==29276== Releasing lock... [2025-03-09 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:55:03] Production.INFO: ==29281== Lock acquired, processing the job... [2025-03-09 14:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:55:03] Production.INFO: ==29285== Lock acquired, processing the job... [2025-03-09 14:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:55:03] Production.INFO: ==29289== Lock acquired, processing the job... [2025-03-09 14:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:55:04] Production.INFO: ==29283== Lock acquired, processing the job... [2025-03-09 14:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:55:04] Production.INFO: ==29287== Lock acquired, processing the job... [2025-03-09 14:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:55:04] Production.INFO: ==29291== Lock acquired, processing the job... [2025-03-09 14:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:55:04] Production.INFO: Account Balance Start. [2025-03-09 14:55:04] Production.INFO: CreateAllLog Start [2025-03-09 14:55:04] Production.INFO: 117 [2025-03-09 14:55:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:55:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:55:04] Production.INFO: Total Charge 0 [2025-03-09 14:55:04] Production.INFO: count ==13 [2025-03-09 14:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:55:04] Production.INFO: count ==21 [2025-03-09 14:55:04] Production.INFO: CreateAllLog End [2025-03-09 14:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642933') start [2025-03-09 14:55:04] Production.ERROR: done [2025-03-09 14:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:55:04] Production.INFO: ==29283== Releasing lock... [2025-03-09 14:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642933') end [2025-03-09 14:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:55:04] Production.INFO: 1 [2025-03-09 14:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:55:04] Production.INFO: ==29291== Releasing lock... [2025-03-09 14:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:55:04] Production.ERROR: done [2025-03-09 14:55:04] Production.INFO: Account Balance End. [2025-03-09 14:55:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:55:04] Production.INFO: ==29287== Releasing lock... [2025-03-09 14:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:55:05 [end_date_ymd] => 2025-03-09 14:55:05 [RateCDR] => 1 ) [2025-03-09 14:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:55:05' and `end` < '2025-03-09 14:55:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:55:11] Production.ERROR: CronJobId end10 [2025-03-09 14:55:11] Production.INFO: ==29285== Releasing lock... [2025-03-09 14:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:55:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:55:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:55:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:55:14] Production.INFO: call_cost start [2025-03-09 14:55:14] Production.INFO: call_cost end [2025-03-09 14:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:55:15] Production.INFO: ==29281== Releasing lock... [2025-03-09 14:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:55:17] Production.INFO: count ==836 [2025-03-09 14:55:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:55:05 - End Time 2025-03-09 14:55:05 [2025-03-09 14:55:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642934', 'tblTempUsageDetail_20' ) start [2025-03-09 14:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642934', 'tblTempUsageDetail_20' ) end [2025-03-09 14:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642934', 'tblTempVendorCDR_20' ) start [2025-03-09 14:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642934', 'tblTempVendorCDR_20' ) end [2025-03-09 14:55:18] Production.INFO: ProcessCDR(1,14642934,1,1,2) [2025-03-09 14:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642934', 'tblTempUsageDetail_20' ) start [2025-03-09 14:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642934', 'tblTempUsageDetail_20' ) end [2025-03-09 14:55:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:55:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:55:22] Production.INFO: ==29289== Releasing lock... [2025-03-09 14:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:55:22] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 18:56:01] Production.INFO: ==29350== Lock acquired, processing the job... [2025-03-09 18:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:56:01] Production.INFO: neon service started [2025-03-09 18:56:01] Production.INFO: neon service started [2025-03-09 18:56:01] Production.INFO: ==29350== Releasing lock... [2025-03-09 18:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:56:02] Production.INFO: ==29352== Lock acquired, processing the job... [2025-03-09 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:56:02] Production.INFO: ==29354== Lock acquired, processing the job... [2025-03-09 18:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:56:02] Production.INFO: ==29354== Releasing lock... [2025-03-09 18:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:56:02] Production.INFO: ==29352== Releasing lock... [2025-03-09 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:56:03] Production.INFO: ==29363== Lock acquired, processing the job... [2025-03-09 14:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:56:03] Production.INFO: Account Balance Start. [2025-03-09 14:56:03] Production.INFO: CreateAllLog Start [2025-03-09 14:56:03] Production.INFO: 117 [2025-03-09 14:56:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:56:03] Production.INFO: ==29365== Lock acquired, processing the job... [2025-03-09 14:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:56:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:56:03] Production.INFO: Date 2025-03-09 [2025-03-09 14:56:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:56:03] Production.INFO: Total Charge 0 [2025-03-09 14:56:03] Production.INFO: CreateAllLog End [2025-03-09 14:56:03] Production.INFO: ==29357== Lock acquired, processing the job... [2025-03-09 14:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:56:03] Production.INFO: ==29359== Lock acquired, processing the job... [2025-03-09 14:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:56:03] Production.INFO: ==29361== Lock acquired, processing the job... [2025-03-09 14:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:56:03] Production.INFO: ==29367== Lock acquired, processing the job... [2025-03-09 14:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:56:03] Production.INFO: Account Balance End. [2025-03-09 14:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:56:03] Production.ERROR: CronJobId end 12 [2025-03-09 14:56:03] Production.INFO: ==29363== Releasing lock... [2025-03-09 14:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:56:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:56:03] Production.ERROR: done [2025-03-09 14:56:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 14:56:03] Production.INFO: count ==13 [2025-03-09 14:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:56:03] Production.INFO: count ==21 [2025-03-09 14:56:04] Production.INFO: ==29359== Releasing lock... [2025-03-09 14:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642938') start [2025-03-09 14:56:04] Production.ERROR: done [2025-03-09 14:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642938') end [2025-03-09 14:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:56:04] Production.INFO: 1 [2025-03-09 14:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:56:04] Production.INFO: ==29367== Releasing lock... [2025-03-09 14:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:56:05 [end_date_ymd] => 2025-03-09 14:56:05 [RateCDR] => 1 ) [2025-03-09 14:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:56:05' and `end` < '2025-03-09 14:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:56:12] Production.ERROR: CronJobId end10 [2025-03-09 14:56:12] Production.INFO: ==29361== Releasing lock... [2025-03-09 14:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:56:15] Production.INFO: call_cost start [2025-03-09 14:56:15] Production.INFO: call_cost end [2025-03-09 14:56:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:56:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:56:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:56:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:56:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:56:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:56:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:56:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:56:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:56:16] Production.INFO: ==29357== Releasing lock... [2025-03-09 14:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:56:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:56:17] Production.INFO: count ==833 [2025-03-09 14:56:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:56:05 - End Time 2025-03-09 14:56:05 [2025-03-09 14:56:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642939', 'tblTempUsageDetail_20' ) start [2025-03-09 14:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642939', 'tblTempUsageDetail_20' ) end [2025-03-09 14:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642939', 'tblTempVendorCDR_20' ) start [2025-03-09 14:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642939', 'tblTempVendorCDR_20' ) end [2025-03-09 14:56:17] Production.INFO: ProcessCDR(1,14642939,1,1,2) [2025-03-09 14:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642939', 'tblTempUsageDetail_20' ) start [2025-03-09 14:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642939', 'tblTempUsageDetail_20' ) end [2025-03-09 14:56:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:56:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:56:22] Production.INFO: ==29365== Releasing lock... [2025-03-09 14:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:56:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 18:57:01] Production.INFO: ==29425== Lock acquired, processing the job... [2025-03-09 18:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:57:01] Production.INFO: neon service started [2025-03-09 18:57:01] Production.INFO: neon service started [2025-03-09 18:57:01] Production.INFO: ==29425== Releasing lock... [2025-03-09 18:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:57:02] Production.INFO: ==29429== Lock acquired, processing the job... [2025-03-09 18:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:57:02] Production.INFO: ==29429== Releasing lock... [2025-03-09 18:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:57:02] Production.INFO: ==29427== Lock acquired, processing the job... [2025-03-09 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:57:02] Production.INFO: ==29427== Releasing lock... [2025-03-09 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:57:03] Production.INFO: ==29434== Lock acquired, processing the job... [2025-03-09 14:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:57:03] Production.INFO: ==29436== Lock acquired, processing the job... [2025-03-09 14:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:57:03] Production.INFO: ==29442== Lock acquired, processing the job... [2025-03-09 14:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:57:03] Production.INFO: ==29434== Releasing lock... [2025-03-09 14:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:57:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:57:03] Production.INFO: count ==13 [2025-03-09 14:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:57:03] Production.INFO: count ==21 [2025-03-09 14:57:04] Production.INFO: ==29438== Lock acquired, processing the job... [2025-03-09 14:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642941') start [2025-03-09 14:57:04] Production.INFO: ==29432== Lock acquired, processing the job... [2025-03-09 14:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:57:04] Production.INFO: ==29440== Lock acquired, processing the job... [2025-03-09 14:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642941') end [2025-03-09 14:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:57:04] Production.INFO: 1 [2025-03-09 14:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:57:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:57:04] Production.INFO: Account Balance Start. [2025-03-09 14:57:04] Production.INFO: CreateAllLog Start [2025-03-09 14:57:04] Production.INFO: 117 [2025-03-09 14:57:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:57:04] Production.INFO: ==29442== Releasing lock... [2025-03-09 14:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:57:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:57:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:57:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:57:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:57:04] Production.INFO: Total Charge 0 [2025-03-09 14:57:04] Production.INFO: CreateAllLog End [2025-03-09 14:57:04] Production.ERROR: done [2025-03-09 14:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:57:04] Production.ERROR: done [2025-03-09 14:57:04] Production.INFO: Account Balance End. [2025-03-09 14:57:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:57:04] Production.INFO: ==29438== Releasing lock... [2025-03-09 14:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:57:05 [end_date_ymd] => 2025-03-09 14:57:05 [RateCDR] => 1 ) [2025-03-09 14: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-09 11:57:05' and `end` < '2025-03-09 14: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-09 14:57:11] Production.ERROR: CronJobId end10 [2025-03-09 14:57:11] Production.INFO: ==29436== Releasing lock... [2025-03-09 14:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:57:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:57:15] Production.INFO: call_cost start [2025-03-09 14:57:15] Production.INFO: call_cost end [2025-03-09 14:57:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:57:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:57:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:57:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:57:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:57:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:57:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:57:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:57:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:57:16] Production.INFO: ==29432== Releasing lock... [2025-03-09 14:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:57:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:57:17] Production.INFO: count ==850 [2025-03-09 14:57:17] Production.ERROR: pbx CDR StartTime 2025-03-09 11:57:05 - End Time 2025-03-09 14:57:05 [2025-03-09 14:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642944', 'tblTempUsageDetail_20' ) start [2025-03-09 14:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642944', 'tblTempUsageDetail_20' ) end [2025-03-09 14:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642944', 'tblTempVendorCDR_20' ) start [2025-03-09 14:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642944', 'tblTempVendorCDR_20' ) end [2025-03-09 14:57:18] Production.INFO: ProcessCDR(1,14642944,1,1,2) [2025-03-09 14:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642944', 'tblTempUsageDetail_20' ) start [2025-03-09 14:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642944', 'tblTempUsageDetail_20' ) end [2025-03-09 14:57:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:57:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:57:23] Production.INFO: ==29440== Releasing lock... [2025-03-09 14:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:57:23] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 18:58:02] Production.INFO: ==29504== Lock acquired, processing the job... [2025-03-09 18:58:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:58:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:58:02] Production.INFO: neon service started [2025-03-09 18:58:02] Production.INFO: neon service started [2025-03-09 18:58:02] Production.INFO: ==29504== Releasing lock... [2025-03-09 18:58:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:58:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:58:02] Production.INFO: ==29508== Lock acquired, processing the job... [2025-03-09 18:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:58:02] Production.INFO: ==29508== Releasing lock... [2025-03-09 18:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:58:02] Production.INFO: ==29506== Lock acquired, processing the job... [2025-03-09 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:58:03] Production.INFO: ==29506== Releasing lock... [2025-03-09 14:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:58:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 14:58:03] Production.INFO: ==29510== Lock acquired, processing the job... [2025-03-09 14:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:58:04] Production.INFO: ==29512== Lock acquired, processing the job... [2025-03-09 14:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:58:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:58:04] Production.INFO: ==29517== Lock acquired, processing the job... [2025-03-09 14:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:58:04] Production.INFO: ==29514== Lock acquired, processing the job... [2025-03-09 14:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:58:04] Production.INFO: Account Balance Start. [2025-03-09 14:58:04] Production.INFO: CreateAllLog Start [2025-03-09 14:58:04] Production.INFO: 117 [2025-03-09 14:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:58:04] Production.INFO: Date 2025-03-08 [2025-03-09 14:58:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:58:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:58:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:58:04] Production.INFO: ==29519== Lock acquired, processing the job... [2025-03-09 14:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:58:04] Production.INFO: Total Charge 0 [2025-03-09 14:58:04] Production.INFO: CreateAllLog End [2025-03-09 14:58:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:58:04] Production.INFO: ==29521== Lock acquired, processing the job... [2025-03-09 14:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:58:04] Production.INFO: ==29512== Releasing lock... [2025-03-09 14:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 14:58:04] Production.INFO: count ==13 [2025-03-09 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-09 14:58:04] Production.INFO: count ==21 [2025-03-09 14:58:04] Production.ERROR: done [2025-03-09 14:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642948') start [2025-03-09 14:58:04] Production.INFO: Account Balance End. [2025-03-09 14:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642948') end [2025-03-09 14:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:58:04] Production.INFO: 1 [2025-03-09 14:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:58:04] Production.INFO: ==29521== Releasing lock... [2025-03-09 14:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:58:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:58:04] Production.INFO: ==29517== Releasing lock... [2025-03-09 14:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:58:04] Production.ERROR: done [2025-03-09 14:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:58:05 [end_date_ymd] => 2025-03-09 14:58:05 [RateCDR] => 1 ) [2025-03-09 14:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:58:05' and `end` < '2025-03-09 14:58:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:58:12] Production.ERROR: CronJobId end10 [2025-03-09 14:58:12] Production.INFO: ==29514== Releasing lock... [2025-03-09 14:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:58:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:58:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:58:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:58:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:58:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:58:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:58:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:58:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:58:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:58:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:58:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:58:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:58:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:58:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:58:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:58:15] Production.INFO: call_cost start [2025-03-09 14:58:15] Production.INFO: call_cost end [2025-03-09 14:58:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:58:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:58:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:58:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:58:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:58:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:58:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:58:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:58:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:58:16] Production.INFO: ==29510== Releasing lock... [2025-03-09 14:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:58:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:58:18] Production.INFO: count ==852 [2025-03-09 14:58:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:58:05 - End Time 2025-03-09 14:58:05 [2025-03-09 14:58:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642949', 'tblTempUsageDetail_20' ) start [2025-03-09 14:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642949', 'tblTempUsageDetail_20' ) end [2025-03-09 14:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642949', 'tblTempVendorCDR_20' ) start [2025-03-09 14:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642949', 'tblTempVendorCDR_20' ) end [2025-03-09 14:58:18] Production.INFO: ProcessCDR(1,14642949,1,1,2) [2025-03-09 14:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642949', 'tblTempUsageDetail_20' ) start [2025-03-09 14:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642949', 'tblTempUsageDetail_20' ) end [2025-03-09 14:58:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:58:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:58:21] Production.INFO: ==29519== Releasing lock... [2025-03-09 14:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:58:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 18:59:01] Production.INFO: ==29580== Lock acquired, processing the job... [2025-03-09 18:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 18:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 18:59:01] Production.INFO: neon service started [2025-03-09 18:59:01] Production.INFO: neon service started [2025-03-09 18:59:01] Production.INFO: ==29580== Releasing lock... [2025-03-09 18:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 18:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 14:59:02] Production.INFO: ==29582== Lock acquired, processing the job... [2025-03-09 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 14:59:02] Production.INFO: ==29582== Releasing lock... [2025-03-09 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 14:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:59:02] Production.INFO: ==29584== Lock acquired, processing the job... [2025-03-09 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:59:02] Production.INFO: ==29584== Releasing lock... [2025-03-09 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 18:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 14:59:03] Production.INFO: ==29590== Lock acquired, processing the job... [2025-03-09 14:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 14:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 14:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 14:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 14:59:03] Production.INFO: ==29586== Lock acquired, processing the job... [2025-03-09 14:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 14:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 14:59:03] Production.INFO: ==29596== Lock acquired, processing the job... [2025-03-09 14:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 14:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 14:59:03] Production.INFO: ==29588== Lock acquired, processing the job... [2025-03-09 14:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 14:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:59:03] Production.INFO: count ==13 [2025-03-09 14:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 14:59:03] Production.INFO: count ==21 [2025-03-09 14:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642951') start [2025-03-09 14:59:03] Production.INFO: ==29592== Lock acquired, processing the job... [2025-03-09 14:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 14:59:03] Production.INFO: ==29594== Lock acquired, processing the job... [2025-03-09 14:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 14:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 14:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642951') end [2025-03-09 14:59:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 14:59:03] Production.INFO: 1 [2025-03-09 14:59:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 14:59:03] Production.INFO: ==29596== Releasing lock... [2025-03-09 14:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 14:59:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 14:59:03] Production.INFO: Account Balance Start. [2025-03-09 14:59:03] Production.INFO: CreateAllLog Start [2025-03-09 14:59:03] Production.INFO: 117 [2025-03-09 14:59:03] Production.INFO: Date 2025-03-08 [2025-03-09 14:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 14:59:04] Production.INFO: Date 2025-03-09 [2025-03-09 14:59:04] Production.INFO: Reseller ==> 0 [2025-03-09 14:59:04] Production.INFO: Total Charge 0 [2025-03-09 14:59:04] Production.INFO: CreateAllLog End [2025-03-09 14:59:04] Production.INFO: ==29588== Releasing lock... [2025-03-09 14:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 14:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 14:59:04] Production.ERROR: done [2025-03-09 14:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 14:59:04] Production.INFO: Account Balance End. [2025-03-09 14:59:04] Production.ERROR: CronJobId end 12 [2025-03-09 14:59:04] Production.INFO: ==29592== Releasing lock... [2025-03-09 14:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 14:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 14:59:04] Production.ERROR: done [2025-03-09 14:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 11:59:05 [end_date_ymd] => 2025-03-09 14:59:05 [RateCDR] => 1 ) [2025-03-09 14:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 11:59:05' and `end` < '2025-03-09 14:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 14:59:11] Production.ERROR: CronJobId end10 [2025-03-09 14:59:11] Production.INFO: ==29590== Releasing lock... [2025-03-09 14:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 14:59:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 14:59:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 14:59:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 14:59:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 14:59:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 14:59:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 14:59:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 14:59:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 14:59:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 14:59:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 14:59:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 14:59:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 14:59:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 14:59:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 14:59:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 14:59:14] Production.INFO: call_cost start [2025-03-09 14:59:14] Production.INFO: call_cost end [2025-03-09 14:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 14:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 14:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 14:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 14:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 14:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 14:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 14:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 14:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 14:59:15] Production.INFO: ==29586== Releasing lock... [2025-03-09 14:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 14:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 14:59:17] Production.INFO: count ==852 [2025-03-09 14:59:18] Production.ERROR: pbx CDR StartTime 2025-03-09 11:59:05 - End Time 2025-03-09 14:59:05 [2025-03-09 14:59:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 14:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642954', 'tblTempUsageDetail_20' ) start [2025-03-09 14:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642954', 'tblTempUsageDetail_20' ) end [2025-03-09 14:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642954', 'tblTempVendorCDR_20' ) start [2025-03-09 14:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642954', 'tblTempVendorCDR_20' ) end [2025-03-09 14:59:18] Production.INFO: ProcessCDR(1,14642954,1,1,2) [2025-03-09 14:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 14:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 14:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642954', 'tblTempUsageDetail_20' ) start [2025-03-09 14:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642954', 'tblTempUsageDetail_20' ) end [2025-03-09 14:59:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 14:59:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 14:59:22] Production.INFO: ==29594== Releasing lock... [2025-03-09 14:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 14:59:22] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 19:00:02] Production.INFO: ==29650== Lock acquired, processing the job... [2025-03-09 19:00:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:00:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:00:02] Production.INFO: neon service started [2025-03-09 19:00:02] Production.INFO: neon service started [2025-03-09 19:00:02] Production.INFO: ==29650== Releasing lock... [2025-03-09 19:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:00:02] Production.INFO: ==29654== Lock acquired, processing the job... [2025-03-09 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:00:02] Production.INFO: ==29654== Releasing lock... [2025-03-09 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:00:02] Production.INFO: ==29652== Lock acquired, processing the job... [2025-03-09 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:00:03] Production.INFO: ==29652== Releasing lock... [2025-03-09 15:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:00:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:00:03] Production.INFO: ==29659== Lock acquired, processing the job... [2025-03-09 15:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:00:03] Production.INFO: ==29661== Lock acquired, processing the job... [2025-03-09 15:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:00:04] Production.INFO: ==29665== Lock acquired, processing the job... [2025-03-09 15:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:00:04] Production.INFO: Account Balance Start. [2025-03-09 15:00:04] Production.INFO: CreateAllLog Start [2025-03-09 15:00:04] Production.INFO: 117 [2025-03-09 15:00:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:00:04] Production.INFO: ==29671== Lock acquired, processing the job... [2025-03-09 15:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:00:04] Production.INFO: ==29657== Lock acquired, processing the job... [2025-03-09 15:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 15:00:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:00:04] Production.INFO: Total Charge 0 [2025-03-09 15:00:04] Production.INFO: CreateAllLog End [2025-03-09 15:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 15:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 15:00:04] Production.ERROR: CronJob PID - 29659 [2025-03-09 15:00:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 15:00:04] Production.ERROR: CronJob ID - 5 [2025-03-09 15:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 15:00:00 [2025-03-09 15:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 15:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 15:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 15:00:04] Production.ERROR: CronJob PID - 29661 [2025-03-09 15:00:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 15:00:04] Production.ERROR: CronJob ID - 7 [2025-03-09 15:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 15:00:00 [2025-03-09 15:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 15:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 15:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 15:00:04] Production.ERROR: CronJob PID - 29665 [2025-03-09 15:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 15:00:04] Production.ERROR: CronJob ID - 12 [2025-03-09 15:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 15:00:00 [2025-03-09 15:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 15:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 15:00:04] Production.INFO: ==29661== Releasing lock... [2025-03-09 15:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 15:00:04] Production.INFO: ==29657== Releasing lock... [2025-03-09 15:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 15:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 15:00:04] Production.INFO: ==29663== Lock acquired, processing the job... [2025-03-09 15:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:00:04] Production.INFO: Account Balance End. [2025-03-09 15:00:04] Production.INFO: count ==13 [2025-03-09 15:00:04] Production.INFO: ==29669== Lock acquired, processing the job... [2025-03-09 15:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 15:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:00:04] Production.INFO: count ==21 [2025-03-09 15:00:04] Production.INFO: ==29667== Lock acquired, processing the job... [2025-03-09 15:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:00:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:00:04] Production.INFO: ==29665== Releasing lock... [2025-03-09 15:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:00:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642958') start [2025-03-09 15:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642958') end [2025-03-09 15:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:00:04] Production.INFO: 1 [2025-03-09 15:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:00:04] Production.INFO: ==29671== Releasing lock... [2025-03-09 15:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:00:05] Production.ERROR: done [2025-03-09 15:00:05] Production.ERROR: done [2025-03-09 15:00:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 15:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642959', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 15:00:05] Production.ERROR: done [2025-03-09 15:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:00:06 [end_date_ymd] => 2025-03-09 15:00:06 [RateCDR] => 1 ) [2025-03-09 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-09 12:00:06' and `end` < '2025-03-09 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-09 15:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14642959', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 15:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 15:00:09] Production.INFO: ProcessCDR(1,14642959,1,1,2) [2025-03-09 15:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14642959,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14642959,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:00:09] Production.INFO: ==29669== Releasing lock... [2025-03-09 15:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 15:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 15:00:14] Production.ERROR: CronJobId end10 [2025-03-09 15:00:14] Production.INFO: ==29663== Releasing lock... [2025-03-09 15:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:00:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:00:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:00:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:00:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:00:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:00:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:00:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:00:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:00:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:00:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:00:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:00:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:00:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:00:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:00:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:00:16] Production.INFO: call_cost start [2025-03-09 15:00:16] Production.INFO: call_cost end [2025-03-09 15:00:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:00:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:00:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:00:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:00:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:00:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:00:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:00:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:00:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:00:16] Production.INFO: ==29659== Releasing lock... [2025-03-09 15:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:00:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:00:18] Production.INFO: count ==851 [2025-03-09 15:00:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:00:06 - End Time 2025-03-09 15:00:06 [2025-03-09 15:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642960', 'tblTempUsageDetail_20' ) start [2025-03-09 15:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642960', 'tblTempUsageDetail_20' ) end [2025-03-09 15:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642960', 'tblTempVendorCDR_20' ) start [2025-03-09 15:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642960', 'tblTempVendorCDR_20' ) end [2025-03-09 15:00:18] Production.INFO: ProcessCDR(1,14642960,1,1,2) [2025-03-09 15:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642960', 'tblTempUsageDetail_20' ) start [2025-03-09 15:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642960', 'tblTempUsageDetail_20' ) end [2025-03-09 15:00:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:00:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:00:23] Production.INFO: ==29667== Releasing lock... [2025-03-09 15:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:00:23] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 19:01:01] Production.INFO: ==29814== Lock acquired, processing the job... [2025-03-09 19:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:01:01] Production.INFO: neon service started [2025-03-09 19:01:01] Production.INFO: neon service started [2025-03-09 19:01:01] Production.INFO: ==29814== Releasing lock... [2025-03-09 19:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:01:01] Production.INFO: ==29821== Lock acquired, processing the job... [2025-03-09 19:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:01:01] Production.INFO: ==29821== Releasing lock... [2025-03-09 19:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:01:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:01:02] Production.INFO: ==29819== Lock acquired, processing the job... [2025-03-09 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:01:02] Production.INFO: ==29819== Releasing lock... [2025-03-09 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:01:03] Production.INFO: ==29825== Lock acquired, processing the job... [2025-03-09 15:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:01:03] Production.INFO: ==29827== Lock acquired, processing the job... [2025-03-09 15:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:01:03] Production.INFO: ==29831== Lock acquired, processing the job... [2025-03-09 15:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:01:03] Production.INFO: ==29823== Lock acquired, processing the job... [2025-03-09 15:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:01:03] Production.INFO: ==29829== Lock acquired, processing the job... [2025-03-09 15:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:01:03] Production.INFO: ==29833== Lock acquired, processing the job... [2025-03-09 15:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:01:03] Production.INFO: ==29825== Releasing lock... [2025-03-09 15:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:01:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:01:03] Production.INFO: Account Balance Start. [2025-03-09 15:01:03] Production.INFO: CreateAllLog Start [2025-03-09 15:01:03] Production.INFO: 117 [2025-03-09 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-09 15:01:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:01:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:01:03] Production.INFO: count ==13 [2025-03-09 15: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-09 15:01:03] Production.INFO: count ==21 [2025-03-09 15:01:03] Production.ERROR: done [2025-03-09 15:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642964') start [2025-03-09 15:01:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:01:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:01:04] Production.ERROR: done [2025-03-09 15:01:04] Production.INFO: Total Charge 0 [2025-03-09 15:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642964') end [2025-03-09 15:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:01:04] Production.INFO: 1 [2025-03-09 15:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:01:04] Production.INFO: CreateAllLog End [2025-03-09 15:01:04] Production.INFO: ==29833== Releasing lock... [2025-03-09 15:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:01:04] Production.INFO: Account Balance End. [2025-03-09 15:01:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:01:04] Production.INFO: ==29829== Releasing lock... [2025-03-09 15:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:01:05 [end_date_ymd] => 2025-03-09 15:01:05 [RateCDR] => 1 ) [2025-03-09 15:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:01:05' and `end` < '2025-03-09 15:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:01:12] Production.ERROR: CronJobId end10 [2025-03-09 15:01:12] Production.INFO: ==29827== Releasing lock... [2025-03-09 15:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:01:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:01:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:01:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:01:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:01:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:01:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:01:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:01:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:01:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:01:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:01:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:01:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:01:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:01:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:01:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:01:15] Production.INFO: call_cost start [2025-03-09 15:01:15] Production.INFO: call_cost end [2025-03-09 15:01:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:01:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:01:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:01:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:01:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:01:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:01:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:01:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:01:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:01:16] Production.INFO: ==29823== Releasing lock... [2025-03-09 15:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:01:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:01:17] Production.INFO: count ==879 [2025-03-09 15:01:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:01:05 - End Time 2025-03-09 15:01:05 [2025-03-09 15:01:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642965', 'tblTempUsageDetail_20' ) start [2025-03-09 15:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642965', 'tblTempUsageDetail_20' ) end [2025-03-09 15:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642965', 'tblTempVendorCDR_20' ) start [2025-03-09 15:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642965', 'tblTempVendorCDR_20' ) end [2025-03-09 15:01:17] Production.INFO: ProcessCDR(1,14642965,1,1,2) [2025-03-09 15:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:01:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642965', 'tblTempUsageDetail_20' ) start [2025-03-09 15:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642965', 'tblTempUsageDetail_20' ) end [2025-03-09 15:01:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:01:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:01:21] Production.INFO: ==29831== Releasing lock... [2025-03-09 15:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:01:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 19:02:02] Production.INFO: ==29891== Lock acquired, processing the job... [2025-03-09 19:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:02:02] Production.INFO: neon service started [2025-03-09 19:02:02] Production.INFO: neon service started [2025-03-09 19:02:02] Production.INFO: ==29891== Releasing lock... [2025-03-09 19:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:02:02] Production.INFO: ==29893== Lock acquired, processing the job... [2025-03-09 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:02:02] Production.INFO: ==29893== Releasing lock... [2025-03-09 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:02:03] Production.INFO: ==29895== Lock acquired, processing the job... [2025-03-09 19:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:02:03] Production.INFO: ==29895== Releasing lock... [2025-03-09 19:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:02:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:02:03] Production.INFO: ==29902== Lock acquired, processing the job... [2025-03-09 15:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:02:03] Production.INFO: ==29900== Lock acquired, processing the job... [2025-03-09 15:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:02:03] Production.INFO: ==29906== Lock acquired, processing the job... [2025-03-09 15:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:02:03] Production.ERROR: done [2025-03-09 15:02:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:02:04] Production.INFO: ==29898== Lock acquired, processing the job... [2025-03-09 15:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:02:04] Production.ERROR: done [2025-03-09 15:02:04] Production.INFO: ==29904== Lock acquired, processing the job... [2025-03-09 15:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:02:04] Production.INFO: Account Balance Start. [2025-03-09 15:02:04] Production.INFO: CreateAllLog Start [2025-03-09 15:02:04] Production.INFO: ==29908== Lock acquired, processing the job... [2025-03-09 15:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:02:04] Production.INFO: 117 [2025-03-09 15:02:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:02:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:02:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 15:02:04] Production.INFO: Total Charge 0 [2025-03-09 15:02:04] Production.INFO: count ==13 [2025-03-09 15:02:04] Production.INFO: CreateAllLog End [2025-03-09 15:02:04] Production.INFO: ==29900== Releasing lock... [2025-03-09 15:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 15:02:04] Production.INFO: count ==21 [2025-03-09 15:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642970') start [2025-03-09 15:02:04] Production.INFO: Account Balance End. [2025-03-09 15:02:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:02:04] Production.INFO: ==29904== Releasing lock... [2025-03-09 15:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642970') end [2025-03-09 15:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:02:04] Production.INFO: 1 [2025-03-09 15:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:02:04] Production.INFO: ==29908== Releasing lock... [2025-03-09 15:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:02:05 [end_date_ymd] => 2025-03-09 15:02:05 [RateCDR] => 1 ) [2025-03-09 15:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:02:05' and `end` < '2025-03-09 15:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:02:11] Production.ERROR: CronJobId end10 [2025-03-09 15:02:11] Production.INFO: ==29902== Releasing lock... [2025-03-09 15:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:02:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:02:14] Production.INFO: call_cost start [2025-03-09 15:02:14] Production.INFO: call_cost end [2025-03-09 15:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:02:15] Production.INFO: ==29898== Releasing lock... [2025-03-09 15:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:02:17] Production.INFO: count ==878 [2025-03-09 15:02:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:02:05 - End Time 2025-03-09 15:02:05 [2025-03-09 15:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642967', 'tblTempUsageDetail_20' ) start [2025-03-09 15:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642967', 'tblTempUsageDetail_20' ) end [2025-03-09 15:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642967', 'tblTempVendorCDR_20' ) start [2025-03-09 15:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642967', 'tblTempVendorCDR_20' ) end [2025-03-09 15:02:17] Production.INFO: ProcessCDR(1,14642967,1,1,2) [2025-03-09 15:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:02:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:02:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:02:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:02:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642967', 'tblTempUsageDetail_20' ) start [2025-03-09 15:02:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642967', 'tblTempUsageDetail_20' ) end [2025-03-09 15:02:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:02:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:02:20] Production.INFO: ==29906== Releasing lock... [2025-03-09 15:02:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:02:20] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 19:03:01] Production.INFO: ==29962== Lock acquired, processing the job... [2025-03-09 19:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:03:01] Production.INFO: neon service started [2025-03-09 19:03:01] Production.INFO: neon service started [2025-03-09 19:03:01] Production.INFO: ==29962== Releasing lock... [2025-03-09 19:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:03:01] Production.INFO: ==29966== Lock acquired, processing the job... [2025-03-09 19:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:03:01] Production.INFO: ==29966== Releasing lock... [2025-03-09 19:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:03:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:03:01] Production.INFO: ==29964== Lock acquired, processing the job... [2025-03-09 15:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:03:02] Production.INFO: ==29964== Releasing lock... [2025-03-09 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:03:02] Production.INFO: ==29971== Lock acquired, processing the job... [2025-03-09 15:03:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:03:03] Production.INFO: ==29969== Lock acquired, processing the job... [2025-03-09 15:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:03:03] Production.INFO: ==29977== Lock acquired, processing the job... [2025-03-09 15:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:03:03] Production.INFO: ==29973== Lock acquired, processing the job... [2025-03-09 15:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:03:03] Production.INFO: ==29975== Lock acquired, processing the job... [2025-03-09 15:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:03:03] Production.INFO: ==29971== Releasing lock... [2025-03-09 15:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:03:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:03:03] Production.INFO: ==29979== Lock acquired, processing the job... [2025-03-09 15:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:03:03] Production.INFO: Account Balance Start. [2025-03-09 15:03:03] Production.INFO: CreateAllLog Start [2025-03-09 15:03:03] Production.INFO: 117 [2025-03-09 15:03:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:03:03] Production.ERROR: done [2025-03-09 15:03:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:03:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:03:03] Production.INFO: Total Charge 0 [2025-03-09 15:03:03] Production.INFO: count ==13 [2025-03-09 15:03:03] Production.INFO: CreateAllLog End [2025-03-09 15:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:03:03] Production.INFO: count ==21 [2025-03-09 15:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642974') start [2025-03-09 15:03:03] Production.ERROR: done [2025-03-09 15:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642974') end [2025-03-09 15:03:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:03:03] Production.INFO: 1 [2025-03-09 15:03:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:03:03] Production.INFO: Account Balance End. [2025-03-09 15:03:03] Production.INFO: ==29979== Releasing lock... [2025-03-09 15:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:03:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:03:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:03:04] Production.INFO: ==29975== Releasing lock... [2025-03-09 15:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:03:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:03:04 [end_date_ymd] => 2025-03-09 15:03:04 [RateCDR] => 1 ) [2025-03-09 15:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:03:04' and `end` < '2025-03-09 15:03:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:03:10] Production.ERROR: CronJobId end10 [2025-03-09 15:03:10] Production.INFO: ==29973== Releasing lock... [2025-03-09 15:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:03:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:03:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:03:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:03:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:03:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:03:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:03:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:03:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:03:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:03:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:03:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:03:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:03:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:03:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:03:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:03:13] Production.INFO: call_cost start [2025-03-09 15:03:13] Production.INFO: call_cost end [2025-03-09 15:03:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:03:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:03:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:03:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:03:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:03:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:03:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:03:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:03:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:03:14] Production.INFO: ==29969== Releasing lock... [2025-03-09 15:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:03:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:03:17] Production.INFO: count ==879 [2025-03-09 15:03:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:03:04 - End Time 2025-03-09 15:03:04 [2025-03-09 15:03:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642975', 'tblTempUsageDetail_20' ) start [2025-03-09 15:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642975', 'tblTempUsageDetail_20' ) end [2025-03-09 15:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642975', 'tblTempVendorCDR_20' ) start [2025-03-09 15:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642975', 'tblTempVendorCDR_20' ) end [2025-03-09 15:03:17] Production.INFO: ProcessCDR(1,14642975,1,1,2) [2025-03-09 15:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642975', 'tblTempUsageDetail_20' ) start [2025-03-09 15:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642975', 'tblTempUsageDetail_20' ) end [2025-03-09 15:03:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:03:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:03:21] Production.INFO: ==29977== Releasing lock... [2025-03-09 15:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:03:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 19:04:01] Production.INFO: ==30035== Lock acquired, processing the job... [2025-03-09 19:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:04:01] Production.INFO: neon service started [2025-03-09 19:04:01] Production.INFO: neon service started [2025-03-09 19:04:01] Production.INFO: ==30035== Releasing lock... [2025-03-09 19:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:04:02] Production.INFO: ==30037== Lock acquired, processing the job... [2025-03-09 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:04:02] Production.INFO: ==30037== Releasing lock... [2025-03-09 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:04:02] Production.INFO: ==30039== Lock acquired, processing the job... [2025-03-09 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:04:02] Production.INFO: ==30039== Releasing lock... [2025-03-09 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:04:02] Production.INFO: 26 MB #Memory Used# [2025-03-09 15:04:03] Production.INFO: ==30050== Lock acquired, processing the job... [2025-03-09 15:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:04:03] Production.INFO: ==30041== Lock acquired, processing the job... [2025-03-09 15:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:04:03] Production.INFO: ==30052== Lock acquired, processing the job... [2025-03-09 15:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:04:03] Production.INFO: ==30043== Lock acquired, processing the job... [2025-03-09 15:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:04:03] Production.INFO: ==30045== Lock acquired, processing the job... [2025-03-09 15:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:04:03] Production.INFO: ==30048== Lock acquired, processing the job... [2025-03-09 15:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:04:04] Production.INFO: count ==13 [2025-03-09 15: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-09 15:04:04] Production.INFO: count ==21 [2025-03-09 15:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642976') start [2025-03-09 15:04:04] Production.INFO: Account Balance Start. [2025-03-09 15:04:04] Production.INFO: CreateAllLog Start [2025-03-09 15:04:04] Production.INFO: 117 [2025-03-09 15:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:04:04] Production.ERROR: done [2025-03-09 15:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:04:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642976') end [2025-03-09 15:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:04:04] Production.INFO: 1 [2025-03-09 15:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:04:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:04:04] Production.INFO: ==30052== Releasing lock... [2025-03-09 15:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:04:04] Production.INFO: Total Charge 0 [2025-03-09 15:04:04] Production.ERROR: done [2025-03-09 15:04:04] Production.INFO: CreateAllLog End [2025-03-09 15:04:04] Production.INFO: ==30043== Releasing lock... [2025-03-09 15:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:04:04] Production.INFO: Account Balance End. [2025-03-09 15:04:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:04:04] Production.INFO: ==30048== Releasing lock... [2025-03-09 15:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:04:05 [end_date_ymd] => 2025-03-09 15:04:05 [RateCDR] => 1 ) [2025-03-09 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-09 12:04:05' and `end` < '2025-03-09 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-09 15:04: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-09 15:04:11] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:04:11] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:04:11] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:04:11] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:04:11] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:04:11] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:04:11] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:04:11] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:04:11] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:04:11] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:04:11] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:04:11] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:04:11] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:04:11] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:04:12] Production.INFO: call_cost start [2025-03-09 15:04:12] Production.INFO: call_cost end [2025-03-09 15:04:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:04:13] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:04:13] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:04:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:04:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:04:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:04:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:04:13] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:04:13] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:04:13] Production.INFO: ==30041== Releasing lock... [2025-03-09 15:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:04:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:04:13] Production.ERROR: CronJobId end10 [2025-03-09 15:04:13] Production.INFO: ==30045== Releasing lock... [2025-03-09 15:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:04:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:04:17] Production.INFO: count ==882 [2025-03-09 15:04:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:04:05 - End Time 2025-03-09 15:04:05 [2025-03-09 15:04:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642980', 'tblTempUsageDetail_20' ) start [2025-03-09 15:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642980', 'tblTempUsageDetail_20' ) end [2025-03-09 15:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642980', 'tblTempVendorCDR_20' ) start [2025-03-09 15:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642980', 'tblTempVendorCDR_20' ) end [2025-03-09 15:04:17] Production.INFO: ProcessCDR(1,14642980,1,1,2) [2025-03-09 15:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642980', 'tblTempUsageDetail_20' ) start [2025-03-09 15:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642980', 'tblTempUsageDetail_20' ) end [2025-03-09 15:04:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:04:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:04:22] Production.INFO: ==30050== Releasing lock... [2025-03-09 15:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:04:22] Production.INFO: 35.25 MB #Memory Used# [2025-03-09 19:05:02] Production.INFO: ==30186== Lock acquired, processing the job... [2025-03-09 19:05:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:05:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:05:02] Production.INFO: neon service started [2025-03-09 19:05:02] Production.INFO: neon service started [2025-03-09 19:05:02] Production.INFO: ==30186== Releasing lock... [2025-03-09 19:05:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:05:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:05:02] Production.INFO: ==30191== Lock acquired, processing the job... [2025-03-09 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:05:02] Production.INFO: ==30191== Releasing lock... [2025-03-09 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:05:02] Production.INFO: ==30189== Lock acquired, processing the job... [2025-03-09 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:05:03] Production.INFO: ==30189== Releasing lock... [2025-03-09 15:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:05:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:05:04] Production.INFO: ==30193== Lock acquired, processing the job... [2025-03-09 15:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:05:04] Production.INFO: ==30195== Lock acquired, processing the job... [2025-03-09 15:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:05:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:05:04] Production.INFO: ==30201== Lock acquired, processing the job... [2025-03-09 15:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:05:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:05:04] Production.INFO: ==30197== Lock acquired, processing the job... [2025-03-09 15:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:05:04] Production.INFO: ==30199== Lock acquired, processing the job... [2025-03-09 15:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:05:04] Production.INFO: ==30203== Lock acquired, processing the job... [2025-03-09 15:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:05:04] Production.INFO: ==30195== Releasing lock... [2025-03-09 15:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:05:04] Production.INFO: Account Balance Start. [2025-03-09 15:05:04] Production.INFO: CreateAllLog Start [2025-03-09 15:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:05:04] Production.INFO: 117 [2025-03-09 15:05:04] Production.ERROR: done [2025-03-09 15:05:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:05:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:05:04] Production.INFO: count ==13 [2025-03-09 15:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:05:04] Production.INFO: count ==21 [2025-03-09 15:05:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:05:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642983') start [2025-03-09 15:05:04] Production.ERROR: done [2025-03-09 15:05:04] Production.INFO: Total Charge 0 [2025-03-09 15:05:04] Production.INFO: CreateAllLog End [2025-03-09 15:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642983') end [2025-03-09 15:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:05:04] Production.INFO: 1 [2025-03-09 15:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:05:05] Production.INFO: ==30203== Releasing lock... [2025-03-09 15:05:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:05:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:05:05] Production.INFO: Account Balance End. [2025-03-09 15:05:05] Production.ERROR: CronJobId end 12 [2025-03-09 15:05:05] Production.INFO: ==30199== Releasing lock... [2025-03-09 15:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:05:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:05:05 [end_date_ymd] => 2025-03-09 15:05:05 [RateCDR] => 1 ) [2025-03-09 15:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:05:05' and `end` < '2025-03-09 15:05:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:05:13] Production.ERROR: CronJobId end10 [2025-03-09 15:05:13] Production.INFO: ==30197== Releasing lock... [2025-03-09 15:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:05:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:05:14] Production.INFO: call_cost start [2025-03-09 15:05:14] Production.INFO: call_cost end [2025-03-09 15:05:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:05:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:05:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:05:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:05:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:05:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:05:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:05:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:05:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:05:15] Production.INFO: ==30193== Releasing lock... [2025-03-09 15:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:05:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:05:17] Production.INFO: count ==881 [2025-03-09 15:05:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:05:05 - End Time 2025-03-09 15:05:05 [2025-03-09 15:05:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642985', 'tblTempUsageDetail_20' ) start [2025-03-09 15:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642985', 'tblTempUsageDetail_20' ) end [2025-03-09 15:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642985', 'tblTempVendorCDR_20' ) start [2025-03-09 15:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642985', 'tblTempVendorCDR_20' ) end [2025-03-09 15:05:18] Production.INFO: ProcessCDR(1,14642985,1,1,2) [2025-03-09 15:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642985', 'tblTempUsageDetail_20' ) start [2025-03-09 15:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642985', 'tblTempUsageDetail_20' ) end [2025-03-09 15:05:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:05:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:05:21] Production.INFO: ==30201== Releasing lock... [2025-03-09 15:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:05:21] Production.INFO: 35 MB #Memory Used# [2025-03-09 19:06:01] Production.INFO: ==30263== Lock acquired, processing the job... [2025-03-09 19:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:06:01] Production.INFO: neon service started [2025-03-09 19:06:01] Production.INFO: neon service started [2025-03-09 19:06:01] Production.INFO: ==30263== Releasing lock... [2025-03-09 19:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:06:02] Production.INFO: ==30265== Lock acquired, processing the job... [2025-03-09 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:06:02] Production.INFO: ==30267== Lock acquired, processing the job... [2025-03-09 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:06:02] Production.INFO: ==30267== Releasing lock... [2025-03-09 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:06:02] Production.INFO: ==30265== Releasing lock... [2025-03-09 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:06:03] Production.INFO: ==30274== Lock acquired, processing the job... [2025-03-09 15:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:06:03] Production.INFO: ==30276== Lock acquired, processing the job... [2025-03-09 15:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:06:03] Production.INFO: Account Balance Start. [2025-03-09 15:06:03] Production.INFO: CreateAllLog Start [2025-03-09 15:06:03] Production.INFO: 117 [2025-03-09 15:06:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:06:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:06:03] Production.INFO: ==30270== Lock acquired, processing the job... [2025-03-09 15:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:06:03] Production.INFO: ==30272== Lock acquired, processing the job... [2025-03-09 15:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:06:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:06:04] Production.INFO: ==30278== Lock acquired, processing the job... [2025-03-09 15:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:06:04] Production.INFO: Total Charge 0 [2025-03-09 15:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:06:04] Production.INFO: CreateAllLog End [2025-03-09 15:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:06:04] Production.INFO: ==30280== Lock acquired, processing the job... [2025-03-09 15:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 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-09 15:06:04] Production.INFO: count ==13 [2025-03-09 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-09 15:06:04] Production.INFO: count ==21 [2025-03-09 15:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642989') start [2025-03-09 15:06:04] Production.ERROR: done [2025-03-09 15:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:06:04] Production.INFO: ==30272== Releasing lock... [2025-03-09 15:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642989') end [2025-03-09 15:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:06:04] Production.INFO: 1 [2025-03-09 15:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:06:04] Production.ERROR: done [2025-03-09 15:06:04] Production.INFO: Account Balance End. [2025-03-09 15:06:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:06:04] Production.INFO: ==30276== Releasing lock... [2025-03-09 15:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:06:04] Production.INFO: ==30280== Releasing lock... [2025-03-09 15:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:06:05 [end_date_ymd] => 2025-03-09 15:06:05 [RateCDR] => 1 ) [2025-03-09 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-09 12:06:05' and `end` < '2025-03-09 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-09 15:06:12] Production.ERROR: CronJobId end10 [2025-03-09 15:06:12] Production.INFO: ==30274== Releasing lock... [2025-03-09 15:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:06:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:06:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:06:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:06:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:06:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:06:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:06:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:06:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:06:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:06:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:06:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:06:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:06:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:06:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:06:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:06:15] Production.INFO: call_cost start [2025-03-09 15:06:15] Production.INFO: call_cost end [2025-03-09 15:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:06:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:06:15] Production.INFO: ==30270== Releasing lock... [2025-03-09 15:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:06:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:06:17] Production.INFO: count ==890 [2025-03-09 15:06:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:06:05 - End Time 2025-03-09 15:06:05 [2025-03-09 15:06:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642990', 'tblTempUsageDetail_20' ) start [2025-03-09 15:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642990', 'tblTempUsageDetail_20' ) end [2025-03-09 15:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642990', 'tblTempVendorCDR_20' ) start [2025-03-09 15:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642990', 'tblTempVendorCDR_20' ) end [2025-03-09 15:06:17] Production.INFO: ProcessCDR(1,14642990,1,1,2) [2025-03-09 15:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642990', 'tblTempUsageDetail_20' ) start [2025-03-09 15:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642990', 'tblTempUsageDetail_20' ) end [2025-03-09 15:06:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:06:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:06:21] Production.INFO: ==30278== Releasing lock... [2025-03-09 15:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:06:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 19:07:01] Production.INFO: ==30376== Lock acquired, processing the job... [2025-03-09 19:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:07:01] Production.INFO: neon service started [2025-03-09 19:07:01] Production.INFO: neon service started [2025-03-09 19:07:01] Production.INFO: ==30376== Releasing lock... [2025-03-09 19:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:07:01] Production.INFO: ==30378== Lock acquired, processing the job... [2025-03-09 15:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:07:01] Production.INFO: ==30378== Releasing lock... [2025-03-09 15:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:07:01] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:07:02] Production.INFO: ==30380== Lock acquired, processing the job... [2025-03-09 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:07:02] Production.INFO: ==30380== Releasing lock... [2025-03-09 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:07:02] Production.INFO: ==30390== Lock acquired, processing the job... [2025-03-09 15:07:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:07:02] Production.INFO: ==30384== Lock acquired, processing the job... [2025-03-09 15:07:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:07:02] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:07:03] Production.INFO: ==30382== Lock acquired, processing the job... [2025-03-09 15:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:07:03] Production.INFO: ==30386== Lock acquired, processing the job... [2025-03-09 15:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:07:03] Production.ERROR: done [2025-03-09 15:07:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:07:03] Production.INFO: ==30388== Lock acquired, processing the job... [2025-03-09 15:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:07:03] Production.INFO: ==30392== Lock acquired, processing the job... [2025-03-09 15:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:07:03] Production.INFO: Account Balance Start. [2025-03-09 15:07:03] Production.INFO: CreateAllLog Start [2025-03-09 15:07:03] Production.INFO: 117 [2025-03-09 15:07:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:07:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:07:03] Production.INFO: Total Charge 0 [2025-03-09 15:07:03] Production.INFO: count ==13 [2025-03-09 15:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:07:03] Production.INFO: CreateAllLog End [2025-03-09 15:07:03] Production.INFO: ==30384== Releasing lock... [2025-03-09 15:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:07:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:07:03] Production.ERROR: done [2025-03-09 15:07:03] Production.INFO: count ==21 [2025-03-09 15:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642994') start [2025-03-09 15:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14642994') end [2025-03-09 15:07:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:07:03] Production.INFO: 1 [2025-03-09 15:07:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:07:03] Production.INFO: Account Balance End. [2025-03-09 15:07:03] Production.INFO: ==30392== Releasing lock... [2025-03-09 15:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:07:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:07:03] Production.ERROR: CronJobId end 12 [2025-03-09 15:07:03] Production.INFO: ==30388== Releasing lock... [2025-03-09 15:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:07:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:07:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:07:04 [end_date_ymd] => 2025-03-09 15:07:04 [RateCDR] => 1 ) [2025-03-09 15:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:07:04' and `end` < '2025-03-09 15:07:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:07:11] Production.ERROR: CronJobId end10 [2025-03-09 15:07:11] Production.INFO: ==30386== Releasing lock... [2025-03-09 15:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:07:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:07:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:07:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:07:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:07:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:07:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:07:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:07:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:07:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:07:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:07:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:07:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:07:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:07:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:07:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:07:13] Production.INFO: call_cost start [2025-03-09 15:07:13] Production.INFO: call_cost end [2025-03-09 15:07:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:07:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:07:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:07:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:07:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:07:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:07:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:07:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:07:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:07:14] Production.INFO: ==30382== Releasing lock... [2025-03-09 15:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:07:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:07:16] Production.INFO: count ==879 [2025-03-09 15:07:16] Production.ERROR: pbx CDR StartTime 2025-03-09 12:07:04 - End Time 2025-03-09 15:07:04 [2025-03-09 15:07:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:07:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642995', 'tblTempUsageDetail_20' ) start [2025-03-09 15:07:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14642995', 'tblTempUsageDetail_20' ) end [2025-03-09 15:07:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642995', 'tblTempVendorCDR_20' ) start [2025-03-09 15:07:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14642995', 'tblTempVendorCDR_20' ) end [2025-03-09 15:07:16] Production.INFO: ProcessCDR(1,14642995,1,1,2) [2025-03-09 15:07:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14642995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14642995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14642995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14642995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642995', 'tblTempUsageDetail_20' ) start [2025-03-09 15:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14642995', 'tblTempUsageDetail_20' ) end [2025-03-09 15:07:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:07:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:07:21] Production.INFO: ==30390== Releasing lock... [2025-03-09 15:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:07:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 19:08:01] Production.INFO: ==30559== Lock acquired, processing the job... [2025-03-09 19:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:08:01] Production.INFO: neon service started [2025-03-09 19:08:01] Production.INFO: neon service started [2025-03-09 19:08:01] Production.INFO: ==30559== Releasing lock... [2025-03-09 19:08:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:08:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:08:02] Production.INFO: ==30562== Lock acquired, processing the job... [2025-03-09 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:08:02] Production.INFO: ==30564== Lock acquired, processing the job... [2025-03-09 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:08:02] Production.INFO: ==30562== Releasing lock... [2025-03-09 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:08:02] Production.INFO: ==30564== Releasing lock... [2025-03-09 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:08:03] Production.INFO: ==30566== Lock acquired, processing the job... [2025-03-09 15:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:08:03] Production.INFO: ==30568== Lock acquired, processing the job... [2025-03-09 15:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:08:03] Production.INFO: ==30570== Lock acquired, processing the job... [2025-03-09 15:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:08:03] Production.INFO: ==30572== Lock acquired, processing the job... [2025-03-09 15:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:08:03] Production.INFO: ==30574== Lock acquired, processing the job... [2025-03-09 15:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:08:03] Production.INFO: ==30568== Releasing lock... [2025-03-09 15:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:08:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:08:03] Production.INFO: ==30576== Lock acquired, processing the job... [2025-03-09 15:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:08:03] Production.INFO: Account Balance Start. [2025-03-09 15:08:03] Production.INFO: CreateAllLog Start [2025-03-09 15:08:03] Production.INFO: 117 [2025-03-09 15:08:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:08:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:08:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:08:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:08:03] Production.INFO: Total Charge 0 [2025-03-09 15:08:03] Production.INFO: CreateAllLog End [2025-03-09 15:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:08:04] Production.INFO: Account Balance End. [2025-03-09 15:08:04] Production.INFO: count ==13 [2025-03-09 15:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:08:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:08:04] Production.INFO: ==30572== Releasing lock... [2025-03-09 15:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:08:04] Production.INFO: count ==21 [2025-03-09 15:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642999') start [2025-03-09 15:08:04] Production.ERROR: done [2025-03-09 15:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14642999') end [2025-03-09 15:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:08:04] Production.INFO: 1 [2025-03-09 15:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:08:04] Production.INFO: ==30576== Releasing lock... [2025-03-09 15:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:08:04] Production.ERROR: done [2025-03-09 15:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:08:05 [end_date_ymd] => 2025-03-09 15:08:05 [RateCDR] => 1 ) [2025-03-09 15:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:08:05' and `end` < '2025-03-09 15:08:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:08:11] Production.ERROR: CronJobId end10 [2025-03-09 15:08:11] Production.INFO: ==30570== Releasing lock... [2025-03-09 15:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:08:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:08:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:08:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:08:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:08:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:08:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:08:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:08:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:08:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:08:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:08:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:08:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:08:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:08:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:08:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:08:13] Production.INFO: call_cost start [2025-03-09 15:08:13] Production.INFO: call_cost end [2025-03-09 15:08:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:08:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:08:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:08:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:08:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:08:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:08:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:08:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:08:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:08:14] Production.INFO: ==30566== Releasing lock... [2025-03-09 15:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:08:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:08:17] Production.INFO: count ==878 [2025-03-09 15:08:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:08:05 - End Time 2025-03-09 15:08:05 [2025-03-09 15:08:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643000', 'tblTempUsageDetail_20' ) start [2025-03-09 15:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643000', 'tblTempUsageDetail_20' ) end [2025-03-09 15:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643000', 'tblTempVendorCDR_20' ) start [2025-03-09 15:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643000', 'tblTempVendorCDR_20' ) end [2025-03-09 15:08:17] Production.INFO: ProcessCDR(1,14643000,1,1,2) [2025-03-09 15:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:08:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643000', 'tblTempUsageDetail_20' ) start [2025-03-09 15:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643000', 'tblTempUsageDetail_20' ) end [2025-03-09 15:08:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:08:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:08:21] Production.INFO: ==30574== Releasing lock... [2025-03-09 15:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:08:21] Production.INFO: 35 MB #Memory Used# [2025-03-09 19:09:02] Production.INFO: ==30632== Lock acquired, processing the job... [2025-03-09 19:09:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:09:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:09:02] Production.INFO: neon service started [2025-03-09 19:09:02] Production.INFO: neon service started [2025-03-09 19:09:02] Production.INFO: ==30632== Releasing lock... [2025-03-09 19:09:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:09:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:09:02] Production.INFO: ==30634== Lock acquired, processing the job... [2025-03-09 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:09:02] Production.INFO: ==30634== Releasing lock... [2025-03-09 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:09:03] Production.INFO: ==30636== Lock acquired, processing the job... [2025-03-09 19:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:09:03] Production.INFO: ==30636== Releasing lock... [2025-03-09 19:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:09:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:09:03] Production.INFO: ==30647== Lock acquired, processing the job... [2025-03-09 15:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:09:03] Production.INFO: ==30639== Lock acquired, processing the job... [2025-03-09 15:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:09:03] Production.INFO: ==30645== Lock acquired, processing the job... [2025-03-09 15:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:09:03] Production.INFO: ==30641== Lock acquired, processing the job... [2025-03-09 15:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:09:03] Production.INFO: Account Balance Start. [2025-03-09 15:09:03] Production.INFO: CreateAllLog Start [2025-03-09 15:09:03] Production.INFO: ==30643== Lock acquired, processing the job... [2025-03-09 15:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:09:03] Production.INFO: 117 [2025-03-09 15:09:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:09:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:09:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:09:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:09:04] Production.INFO: Total Charge 0 [2025-03-09 15:09:04] Production.INFO: CreateAllLog End [2025-03-09 15:09:04] Production.INFO: ==30649== Lock acquired, processing the job... [2025-03-09 15:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:09:04] Production.INFO: count ==13 [2025-03-09 15:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:09:04] Production.INFO: ==30641== Releasing lock... [2025-03-09 15:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:09:04] Production.INFO: count ==21 [2025-03-09 15:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643004') start [2025-03-09 15:09:04] Production.INFO: Account Balance End. [2025-03-09 15:09:04] Production.ERROR: done [2025-03-09 15:09:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:09:04] Production.INFO: ==30645== Releasing lock... [2025-03-09 15:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643004') end [2025-03-09 15:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:09:04] Production.INFO: 1 [2025-03-09 15:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:09:04] Production.INFO: ==30649== Releasing lock... [2025-03-09 15:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:09:04] Production.ERROR: done [2025-03-09 15:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:09:05 [end_date_ymd] => 2025-03-09 15:09:05 [RateCDR] => 1 ) [2025-03-09 15:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:09:05' and `end` < '2025-03-09 15:09:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:09:13] Production.ERROR: CronJobId end10 [2025-03-09 15:09:13] Production.INFO: ==30643== Releasing lock... [2025-03-09 15:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:09:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:09:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:09:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:09:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:09:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:09:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:09:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:09:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:09:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:09:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:09:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:09:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:09:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:09:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:09:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:09:15] Production.INFO: call_cost start [2025-03-09 15:09:15] Production.INFO: call_cost end [2025-03-09 15:09:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:09:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:09:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:09:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:09:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:09:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:09:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:09:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:09:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:09:15] Production.INFO: ==30639== Releasing lock... [2025-03-09 15:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:09:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:09:17] Production.INFO: count ==878 [2025-03-09 15:09:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:09:05 - End Time 2025-03-09 15:09:05 [2025-03-09 15:09:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643005', 'tblTempUsageDetail_20' ) start [2025-03-09 15:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643005', 'tblTempUsageDetail_20' ) end [2025-03-09 15:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643005', 'tblTempVendorCDR_20' ) start [2025-03-09 15:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643005', 'tblTempVendorCDR_20' ) end [2025-03-09 15:09:18] Production.INFO: ProcessCDR(1,14643005,1,1,2) [2025-03-09 15:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643005', 'tblTempUsageDetail_20' ) start [2025-03-09 15:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643005', 'tblTempUsageDetail_20' ) end [2025-03-09 15:09:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:09:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:09:21] Production.INFO: ==30647== Releasing lock... [2025-03-09 15:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:09:21] Production.INFO: 35 MB #Memory Used# [2025-03-09 19:10:01] Production.INFO: ==30710== Lock acquired, processing the job... [2025-03-09 19:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:10:01] Production.INFO: neon service started [2025-03-09 19:10:01] Production.INFO: neon service started [2025-03-09 19:10:01] Production.INFO: ==30710== Releasing lock... [2025-03-09 19:10:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:10:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:10:02] Production.INFO: ==30712== Lock acquired, processing the job... [2025-03-09 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:10:02] Production.INFO: ==30712== Releasing lock... [2025-03-09 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:10:02] Production.INFO: ==30714== Lock acquired, processing the job... [2025-03-09 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:10:02] Production.INFO: ==30714== Releasing lock... [2025-03-09 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:10:03] Production.INFO: ==30721== Lock acquired, processing the job... [2025-03-09 15:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:10:03] Production.INFO: ==30719== Lock acquired, processing the job... [2025-03-09 15:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:10:03] Production.INFO: ==30717== Lock acquired, processing the job... [2025-03-09 15:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 15:10:03] Production.INFO: ==30725== Lock acquired, processing the job... [2025-03-09 15:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:10:04] Production.INFO: ==30727== Lock acquired, processing the job... [2025-03-09 15:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:10:04] Production.INFO: Account Balance Start. [2025-03-09 15:10:04] Production.INFO: CreateAllLog Start [2025-03-09 15:10:04] Production.INFO: 117 [2025-03-09 15:10:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:10:04] Production.INFO: ==30723== Lock acquired, processing the job... [2025-03-09 15:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 15:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 15:10:04] Production.ERROR: CronJob PID - 30719 [2025-03-09 15:10:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 15:10:04] Production.ERROR: CronJob ID - 5 [2025-03-09 15:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 15:10:00 [2025-03-09 15:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 15:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 15:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 15:10:04] Production.ERROR: CronJob PID - 30721 [2025-03-09 15:10:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 15:10:04] Production.ERROR: CronJob ID - 7 [2025-03-09 15:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 15:10:00 [2025-03-09 15:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 15:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 15:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 15:10:04] Production.ERROR: CronJob PID - 30725 [2025-03-09 15:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 15:10:04] Production.ERROR: CronJob ID - 12 [2025-03-09 15:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 15:10:00 [2025-03-09 15:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 15:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 15:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 15:10:04] Production.ERROR: CronJob PID - 30727 [2025-03-09 15:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 15:10:04] Production.ERROR: CronJob ID - 16 [2025-03-09 15:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 15:10:00 [2025-03-09 15:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 15:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 15:10:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:10:04] Production.INFO: Total Charge 0 [2025-03-09 15:10:04] Production.INFO: CreateAllLog End [2025-03-09 15:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 15:10:04] Production.INFO: ==30717== Releasing lock... [2025-03-09 15:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 15:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 15:10:04] Production.INFO: ==30729== Lock acquired, processing the job... [2025-03-09 15:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 15:10:04] Production.INFO: ==30721== Releasing lock... [2025-03-09 15:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:10:04] Production.INFO: ==30731== Lock acquired, processing the job... [2025-03-09 15:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:10:04] Production.INFO: Account Balance End. [2025-03-09 15:10:04] Production.ERROR: done [2025-03-09 15:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:10:04] Production.INFO: count ==13 [2025-03-09 15:10:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:10:04] Production.INFO: ==30725== Releasing lock... [2025-03-09 15:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:10:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:10:04] Production.INFO: count ==21 [2025-03-09 15:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643009') start [2025-03-09 15:10:04] Production.ERROR: done [2025-03-09 15:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643009') end [2025-03-09 15:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:10:04] Production.INFO: 1 [2025-03-09 15:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:10:04] Production.INFO: ==30731== Releasing lock... [2025-03-09 15:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:10:04] Production.ERROR: done [2025-03-09 15:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 15:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643011', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 15:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:10:06 [end_date_ymd] => 2025-03-09 15:10:06 [RateCDR] => 1 ) [2025-03-09 15:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:10:06' and `end` < '2025-03-09 15:10:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643011', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 15:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 15:10:09] Production.INFO: ProcessCDR(1,14643011,1,1,2) [2025-03-09 15:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14643011,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14643011,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:10:09] Production.INFO: ==30729== Releasing lock... [2025-03-09 15:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 15:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 15:10:13] Production.ERROR: CronJobId end10 [2025-03-09 15:10:13] Production.INFO: ==30723== Releasing lock... [2025-03-09 15:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:10:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:10:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:10:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:10:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:10:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:10:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:10:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:10:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:10:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:10:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:10:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:10:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:10:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:10:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:10:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:10:15] Production.INFO: call_cost start [2025-03-09 15:10:15] Production.INFO: call_cost end [2025-03-09 15:10:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:10:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:10:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:10:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:10:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:10:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:10:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:10:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:10:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:10:16] Production.INFO: ==30719== Releasing lock... [2025-03-09 15:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:10:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:10:18] Production.INFO: count ==879 [2025-03-09 15:10:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:10:06 - End Time 2025-03-09 15:10:06 [2025-03-09 15:10:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643010', 'tblTempUsageDetail_20' ) start [2025-03-09 15:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643010', 'tblTempUsageDetail_20' ) end [2025-03-09 15:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643010', 'tblTempVendorCDR_20' ) start [2025-03-09 15:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643010', 'tblTempVendorCDR_20' ) end [2025-03-09 15:10:18] Production.INFO: ProcessCDR(1,14643010,1,1,2) [2025-03-09 15:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643010', 'tblTempUsageDetail_20' ) start [2025-03-09 15:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643010', 'tblTempUsageDetail_20' ) end [2025-03-09 15:10:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:10:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:10:23] Production.INFO: ==30727== Releasing lock... [2025-03-09 15:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:10:23] Production.INFO: 35.25 MB #Memory Used# [2025-03-09 19:11:02] Production.INFO: ==30788== Lock acquired, processing the job... [2025-03-09 19:11:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:11:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:11:02] Production.INFO: neon service started [2025-03-09 19:11:02] Production.INFO: neon service started [2025-03-09 19:11:02] Production.INFO: ==30788== Releasing lock... [2025-03-09 19:11:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:11:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:11:02] Production.INFO: ==30792== Lock acquired, processing the job... [2025-03-09 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:11:02] Production.INFO: ==30792== Releasing lock... [2025-03-09 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:11:02] Production.INFO: ==30790== Lock acquired, processing the job... [2025-03-09 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:11:03] Production.INFO: ==30790== Releasing lock... [2025-03-09 15:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:11:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:11:04] Production.INFO: ==30795== Lock acquired, processing the job... [2025-03-09 15:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:11:04] Production.INFO: ==30797== Lock acquired, processing the job... [2025-03-09 15:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:11:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:11:04] Production.INFO: ==30799== Lock acquired, processing the job... [2025-03-09 15:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:11:04] Production.INFO: ==30797== Releasing lock... [2025-03-09 15:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:11:04] Production.INFO: ==30801== Lock acquired, processing the job... [2025-03-09 15:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:11:04] Production.INFO: Account Balance Start. [2025-03-09 15:11:04] Production.INFO: CreateAllLog Start [2025-03-09 15:11:04] Production.INFO: 117 [2025-03-09 15:11:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:11:04] Production.INFO: ==30803== Lock acquired, processing the job... [2025-03-09 15:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:11:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:11:04] Production.INFO: ==30805== Lock acquired, processing the job... [2025-03-09 15:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:11:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:11:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:11:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:11:04] Production.INFO: Total Charge 0 [2025-03-09 15:11:04] Production.INFO: CreateAllLog End [2025-03-09 15:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:11:04] Production.INFO: count ==13 [2025-03-09 15:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:11:04] Production.INFO: count ==21 [2025-03-09 15:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643015') start [2025-03-09 15:11:04] Production.ERROR: done [2025-03-09 15:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:11:05] Production.ERROR: PBX CALL prc_importPBXExtension('14643015') end [2025-03-09 15:11:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:11:05] Production.INFO: 1 [2025-03-09 15:11:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:11:05] Production.INFO: Account Balance End. [2025-03-09 15:11:05] Production.INFO: ==30805== Releasing lock... [2025-03-09 15:11:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:11:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:11:05] Production.ERROR: CronJobId end 12 [2025-03-09 15:11:05] Production.INFO: ==30801== Releasing lock... [2025-03-09 15:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:11:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:11:05] Production.ERROR: done [2025-03-09 15:11:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:11:06 [end_date_ymd] => 2025-03-09 15:11:06 [RateCDR] => 1 ) [2025-03-09 15: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-09 12:11:06' and `end` < '2025-03-09 15: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-09 15:11:12] Production.ERROR: CronJobId end10 [2025-03-09 15:11:12] Production.INFO: ==30799== Releasing lock... [2025-03-09 15:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:11:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:11:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:11:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:11:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:11:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:11:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:11:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:11:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:11:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:11:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:11:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:11:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:11:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:11:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:11:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:11:15] Production.INFO: call_cost start [2025-03-09 15:11:15] Production.INFO: call_cost end [2025-03-09 15:11:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:11:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:11:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:11:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:11:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:11:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:11:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:11:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:11:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:11:16] Production.INFO: ==30795== Releasing lock... [2025-03-09 15:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:11:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:11:18] Production.INFO: count ==867 [2025-03-09 15:11:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:11:06 - End Time 2025-03-09 15:11:06 [2025-03-09 15:11:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643016', 'tblTempUsageDetail_20' ) start [2025-03-09 15:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643016', 'tblTempUsageDetail_20' ) end [2025-03-09 15:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643016', 'tblTempVendorCDR_20' ) start [2025-03-09 15:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643016', 'tblTempVendorCDR_20' ) end [2025-03-09 15:11:18] Production.INFO: ProcessCDR(1,14643016,1,1,2) [2025-03-09 15:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643016', 'tblTempUsageDetail_20' ) start [2025-03-09 15:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643016', 'tblTempUsageDetail_20' ) end [2025-03-09 15:11:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:11:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:11:23] Production.INFO: ==30803== Releasing lock... [2025-03-09 15:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:11:23] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 19:12:01] Production.INFO: ==30956== Lock acquired, processing the job... [2025-03-09 19:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:12:01] Production.INFO: neon service started [2025-03-09 19:12:01] Production.INFO: neon service started [2025-03-09 19:12:01] Production.INFO: ==30956== Releasing lock... [2025-03-09 19:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:12:02] Production.INFO: ==30961== Lock acquired, processing the job... [2025-03-09 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:12:02] Production.INFO: ==30961== Releasing lock... [2025-03-09 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:12:02] Production.INFO: ==30959== Lock acquired, processing the job... [2025-03-09 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:12:02] Production.INFO: ==30959== Releasing lock... [2025-03-09 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:12:03] Production.INFO: ==30969== Lock acquired, processing the job... [2025-03-09 15:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:12:03] Production.INFO: ==30973== Lock acquired, processing the job... [2025-03-09 15:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:12:03] Production.INFO: Account Balance Start. [2025-03-09 15:12:03] Production.INFO: CreateAllLog Start [2025-03-09 15:12:03] Production.INFO: 117 [2025-03-09 15:12:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:12:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:12:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:12:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:12:03] Production.INFO: Total Charge 0 [2025-03-09 15:12:03] Production.INFO: CreateAllLog End [2025-03-09 15:12:03] Production.INFO: ==30963== Lock acquired, processing the job... [2025-03-09 15:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:12:03] Production.INFO: Account Balance End. [2025-03-09 15:12:03] Production.INFO: ==30965== Lock acquired, processing the job... [2025-03-09 15:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:12:03] Production.ERROR: CronJobId end 12 [2025-03-09 15:12:03] Production.INFO: ==30969== Releasing lock... [2025-03-09 15:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:12:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:12:03] Production.INFO: ==30967== Lock acquired, processing the job... [2025-03-09 15:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:12:03] Production.INFO: ==30971== Lock acquired, processing the job... [2025-03-09 15:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:12:03] Production.INFO: count ==13 [2025-03-09 15: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-09 15:12:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:12:03] Production.INFO: count ==21 [2025-03-09 15:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643018') start [2025-03-09 15:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643018') end [2025-03-09 15:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:12:04] Production.INFO: 1 [2025-03-09 15:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:12:04] Production.INFO: ==30973== Releasing lock... [2025-03-09 15:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:12:04] Production.INFO: ==30965== Releasing lock... [2025-03-09 15:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:12:04] Production.ERROR: done [2025-03-09 15:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:12:04] Production.ERROR: done [2025-03-09 15:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:12:05 [end_date_ymd] => 2025-03-09 15:12:05 [RateCDR] => 1 ) [2025-03-09 15:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:12:05' and `end` < '2025-03-09 15:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:12:12] Production.ERROR: CronJobId end10 [2025-03-09 15:12:12] Production.INFO: ==30967== Releasing lock... [2025-03-09 15:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:12:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:12:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:12:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:12:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:12:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:12:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:12:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:12:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:12:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:12:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:12:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:12:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:12:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:12:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:12:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:12:15] Production.INFO: call_cost start [2025-03-09 15:12:15] Production.INFO: call_cost end [2025-03-09 15:12:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:12:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:12:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:12:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:12:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:12:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:12:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:12:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:12:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:12:16] Production.INFO: ==30963== Releasing lock... [2025-03-09 15:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:12:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:12:17] Production.INFO: count ==866 [2025-03-09 15:12:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:12:05 - End Time 2025-03-09 15:12:05 [2025-03-09 15:12:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643021', 'tblTempUsageDetail_20' ) start [2025-03-09 15:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643021', 'tblTempUsageDetail_20' ) end [2025-03-09 15:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643021', 'tblTempVendorCDR_20' ) start [2025-03-09 15:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643021', 'tblTempVendorCDR_20' ) end [2025-03-09 15:12:18] Production.INFO: ProcessCDR(1,14643021,1,1,2) [2025-03-09 15:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643021', 'tblTempUsageDetail_20' ) start [2025-03-09 15:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643021', 'tblTempUsageDetail_20' ) end [2025-03-09 15:12:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:12:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:12:22] Production.INFO: ==30971== Releasing lock... [2025-03-09 15:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:12:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 19:13:02] Production.INFO: ==31067== Lock acquired, processing the job... [2025-03-09 19:13:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:13:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:13:02] Production.INFO: neon service started [2025-03-09 19:13:02] Production.INFO: neon service started [2025-03-09 19:13:02] Production.INFO: ==31067== Releasing lock... [2025-03-09 19:13:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:13:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:13:02] Production.INFO: ==31071== Lock acquired, processing the job... [2025-03-09 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:13:02] Production.INFO: ==31071== Releasing lock... [2025-03-09 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:13:02] Production.INFO: ==31069== Lock acquired, processing the job... [2025-03-09 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:13:03] Production.INFO: ==31069== Releasing lock... [2025-03-09 15:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:13:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:13:03] Production.INFO: ==31080== Lock acquired, processing the job... [2025-03-09 15:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:13:03] Production.INFO: ==31078== Lock acquired, processing the job... [2025-03-09 15:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:13:03] Production.INFO: ==31084== Lock acquired, processing the job... [2025-03-09 15:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:13:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:13:04] Production.INFO: ==31076== Lock acquired, processing the job... [2025-03-09 15:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:13:04] Production.INFO: ==31082== Lock acquired, processing the job... [2025-03-09 15:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:13:04] Production.INFO: ==31086== Lock acquired, processing the job... [2025-03-09 15:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:13:04] Production.INFO: ==31078== Releasing lock... [2025-03-09 15:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:13:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:13:04] Production.INFO: Account Balance Start. [2025-03-09 15:13:04] Production.INFO: CreateAllLog Start [2025-03-09 15:13:04] Production.INFO: 117 [2025-03-09 15:13:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:13:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:13:04] Production.ERROR: done [2025-03-09 15:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:13:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:13:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:13:04] Production.INFO: Total Charge 0 [2025-03-09 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-09 15:13:04] Production.INFO: CreateAllLog End [2025-03-09 15:13:04] Production.INFO: count ==13 [2025-03-09 15:13:04] Production.ERROR: done [2025-03-09 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-09 15:13:04] Production.INFO: count ==21 [2025-03-09 15:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643025') start [2025-03-09 15:13:04] Production.INFO: Account Balance End. [2025-03-09 15:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643025') end [2025-03-09 15:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:13:04] Production.INFO: 1 [2025-03-09 15:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:13:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:13:04] Production.INFO: ==31082== Releasing lock... [2025-03-09 15:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:13:04] Production.INFO: ==31086== Releasing lock... [2025-03-09 15:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:13:05 [end_date_ymd] => 2025-03-09 15:13:05 [RateCDR] => 1 ) [2025-03-09 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-09 12:13:05' and `end` < '2025-03-09 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-09 15:13:12] Production.ERROR: CronJobId end10 [2025-03-09 15:13:12] Production.INFO: ==31080== Releasing lock... [2025-03-09 15:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:13:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:13:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:13:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:13:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:13:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:13:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:13:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:13:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:13:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:13:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:13:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:13:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:13:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:13:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:13:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:13:14] Production.INFO: call_cost start [2025-03-09 15:13:14] Production.INFO: call_cost end [2025-03-09 15:13:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:13:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:13:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:13:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:13:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:13:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:13:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:13:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:13:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:13:15] Production.INFO: ==31076== Releasing lock... [2025-03-09 15:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:13:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:13:17] Production.INFO: count ==871 [2025-03-09 15:13:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:13:05 - End Time 2025-03-09 15:13:05 [2025-03-09 15:13:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643026', 'tblTempUsageDetail_20' ) start [2025-03-09 15:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643026', 'tblTempUsageDetail_20' ) end [2025-03-09 15:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643026', 'tblTempVendorCDR_20' ) start [2025-03-09 15:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643026', 'tblTempVendorCDR_20' ) end [2025-03-09 15:13:18] Production.INFO: ProcessCDR(1,14643026,1,1,2) [2025-03-09 15:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643026', 'tblTempUsageDetail_20' ) start [2025-03-09 15:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643026', 'tblTempUsageDetail_20' ) end [2025-03-09 15:13:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:13:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:13:22] Production.INFO: ==31084== Releasing lock... [2025-03-09 15:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:13:22] Production.INFO: 35 MB #Memory Used# [2025-03-09 19:14:01] Production.INFO: ==31179== Lock acquired, processing the job... [2025-03-09 19:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:14:01] Production.INFO: neon service started [2025-03-09 19:14:01] Production.INFO: neon service started [2025-03-09 19:14:01] Production.INFO: ==31179== Releasing lock... [2025-03-09 19:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:14:02] Production.INFO: ==31183== Lock acquired, processing the job... [2025-03-09 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:14:02] Production.INFO: ==31183== Releasing lock... [2025-03-09 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:14:02] Production.INFO: ==31181== Lock acquired, processing the job... [2025-03-09 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:14:02] Production.INFO: ==31181== Releasing lock... [2025-03-09 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:14:03] Production.INFO: ==31185== Lock acquired, processing the job... [2025-03-09 15:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:14:03] Production.INFO: ==31189== Lock acquired, processing the job... [2025-03-09 15:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:14:03] Production.INFO: ==31191== Lock acquired, processing the job... [2025-03-09 15:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:14:03] Production.INFO: Account Balance Start. [2025-03-09 15:14:03] Production.INFO: CreateAllLog Start [2025-03-09 15:14:03] Production.INFO: 117 [2025-03-09 15:14:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:14:03] Production.INFO: ==31187== Lock acquired, processing the job... [2025-03-09 15:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:14:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:14:03] Production.INFO: Total Charge 0 [2025-03-09 15:14:03] Production.INFO: CreateAllLog End [2025-03-09 15:14:03] Production.INFO: ==31193== Lock acquired, processing the job... [2025-03-09 15:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:14:03] Production.INFO: Account Balance End. [2025-03-09 15:14:03] Production.ERROR: CronJobId end 12 [2025-03-09 15:14:03] Production.INFO: ==31191== Releasing lock... [2025-03-09 15:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:14:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:14:03] Production.INFO: ==31195== Lock acquired, processing the job... [2025-03-09 15:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:14:03] Production.INFO: ==31187== Releasing lock... [2025-03-09 15:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:14:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:14:04] Production.INFO: count ==13 [2025-03-09 15:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:14:04] Production.INFO: count ==21 [2025-03-09 15:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643030') start [2025-03-09 15:14:04] Production.ERROR: done [2025-03-09 15:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643030') end [2025-03-09 15:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:14:04] Production.INFO: 1 [2025-03-09 15:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:14:04] Production.INFO: ==31195== Releasing lock... [2025-03-09 15:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:14:04] Production.ERROR: done [2025-03-09 15:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:14:05 [end_date_ymd] => 2025-03-09 15:14:05 [RateCDR] => 1 ) [2025-03-09 15:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:14:05' and `end` < '2025-03-09 15:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:14:11] Production.ERROR: CronJobId end10 [2025-03-09 15:14:11] Production.INFO: ==31189== Releasing lock... [2025-03-09 15:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:14:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:14:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:14:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:14:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:14:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:14:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:14:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:14:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:14:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:14:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:14:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:14:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:14:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:14:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:14:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:14:13] Production.INFO: call_cost start [2025-03-09 15:14:13] Production.INFO: call_cost end [2025-03-09 15:14:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:14:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:14:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:14:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:14:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:14:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:14:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:14:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:14:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:14:14] Production.INFO: ==31185== Releasing lock... [2025-03-09 15:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:14:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:14:17] Production.INFO: count ==874 [2025-03-09 15:14:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:14:05 - End Time 2025-03-09 15:14:05 [2025-03-09 15:14:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643031', 'tblTempUsageDetail_20' ) start [2025-03-09 15:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643031', 'tblTempUsageDetail_20' ) end [2025-03-09 15:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643031', 'tblTempVendorCDR_20' ) start [2025-03-09 15:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643031', 'tblTempVendorCDR_20' ) end [2025-03-09 15:14:17] Production.INFO: ProcessCDR(1,14643031,1,1,2) [2025-03-09 15:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:14:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643031', 'tblTempUsageDetail_20' ) start [2025-03-09 15:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643031', 'tblTempUsageDetail_20' ) end [2025-03-09 15:14:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:14:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:14:20] Production.INFO: ==31193== Releasing lock... [2025-03-09 15:14:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:14:20] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 19:15:02] Production.INFO: ==31361== Lock acquired, processing the job... [2025-03-09 19:15:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:15:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:15:02] Production.INFO: neon service started [2025-03-09 19:15:02] Production.INFO: neon service started [2025-03-09 19:15:02] Production.INFO: ==31361== Releasing lock... [2025-03-09 19:15:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:15:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:15:02] Production.INFO: ==31367== Lock acquired, processing the job... [2025-03-09 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:15:02] Production.INFO: ==31367== Releasing lock... [2025-03-09 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:15:02] Production.INFO: ==31365== Lock acquired, processing the job... [2025-03-09 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:15:02] Production.INFO: ==31365== Releasing lock... [2025-03-09 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:15:03] Production.INFO: ==31374== Lock acquired, processing the job... [2025-03-09 15:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:15:03] Production.INFO: ==31376== Lock acquired, processing the job... [2025-03-09 15:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:15:03] Production.INFO: ==31369== Lock acquired, processing the job... [2025-03-09 15:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:15:03] Production.INFO: ==31371== Lock acquired, processing the job... [2025-03-09 15:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:15:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:15:04] Production.INFO: Account Balance Start. [2025-03-09 15:15:04] Production.INFO: CreateAllLog Start [2025-03-09 15:15:04] Production.INFO: 117 [2025-03-09 15:15:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:15:04] Production.INFO: ==31378== Lock acquired, processing the job... [2025-03-09 15:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:15:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:15:04] Production.INFO: ==31380== Lock acquired, processing the job... [2025-03-09 15:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:15:04] Production.INFO: Total Charge 0 [2025-03-09 15:15:04] Production.INFO: CreateAllLog End [2025-03-09 15:15:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15: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-09 15:15:04] Production.INFO: ==31371== Releasing lock... [2025-03-09 15:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:15:04] Production.INFO: count ==13 [2025-03-09 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-09 15:15:04] Production.INFO: count ==21 [2025-03-09 15:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643035') start [2025-03-09 15:15:04] Production.INFO: Account Balance End. [2025-03-09 15:15:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:15:04] Production.INFO: ==31376== Releasing lock... [2025-03-09 15:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:15:04] Production.ERROR: done [2025-03-09 15:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643035') end [2025-03-09 15:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:15:04] Production.INFO: 1 [2025-03-09 15:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:15:04] Production.INFO: ==31380== Releasing lock... [2025-03-09 15:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:15:04] Production.ERROR: done [2025-03-09 15:15:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:15:06 [end_date_ymd] => 2025-03-09 15:15:06 [RateCDR] => 1 ) [2025-03-09 15: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-09 12:15:06' and `end` < '2025-03-09 15: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-09 15:15:11] Production.ERROR: CronJobId end10 [2025-03-09 15:15:11] Production.INFO: ==31374== Releasing lock... [2025-03-09 15:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:15:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:15:14] Production.INFO: call_cost start [2025-03-09 15:15:14] Production.INFO: call_cost end [2025-03-09 15:15:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:15:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:15:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:15:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:15:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:15:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:15:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:15:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:15:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:15:15] Production.INFO: ==31369== Releasing lock... [2025-03-09 15:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:15:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:15:18] Production.INFO: count ==874 [2025-03-09 15:15:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:15:06 - End Time 2025-03-09 15:15:06 [2025-03-09 15:15:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643036', 'tblTempUsageDetail_20' ) start [2025-03-09 15:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643036', 'tblTempUsageDetail_20' ) end [2025-03-09 15:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643036', 'tblTempVendorCDR_20' ) start [2025-03-09 15:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643036', 'tblTempVendorCDR_20' ) end [2025-03-09 15:15:18] Production.INFO: ProcessCDR(1,14643036,1,1,2) [2025-03-09 15:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643036', 'tblTempUsageDetail_20' ) start [2025-03-09 15:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643036', 'tblTempUsageDetail_20' ) end [2025-03-09 15:15:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:15:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:15:21] Production.INFO: ==31378== Releasing lock... [2025-03-09 15:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:15:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 19:16:01] Production.INFO: ==31472== Lock acquired, processing the job... [2025-03-09 19:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:16:01] Production.INFO: neon service started [2025-03-09 19:16:01] Production.INFO: neon service started [2025-03-09 19:16:01] Production.INFO: ==31472== Releasing lock... [2025-03-09 19:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:16:02] Production.INFO: ==31474== Lock acquired, processing the job... [2025-03-09 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:16:02] Production.INFO: ==31476== Lock acquired, processing the job... [2025-03-09 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:16:02] Production.INFO: ==31476== Releasing lock... [2025-03-09 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:16:02] Production.INFO: ==31474== Releasing lock... [2025-03-09 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:16:03] Production.INFO: ==31487== Lock acquired, processing the job... [2025-03-09 15:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:16:03] Production.INFO: ==31489== Lock acquired, processing the job... [2025-03-09 15:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:16:03] Production.INFO: ==31479== Lock acquired, processing the job... [2025-03-09 15:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:16:03] Production.INFO: ==31481== Lock acquired, processing the job... [2025-03-09 15:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:16:03] Production.INFO: ==31483== Lock acquired, processing the job... [2025-03-09 15:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:16:03] Production.INFO: ==31485== Lock acquired, processing the job... [2025-03-09 15:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:16:03] Production.INFO: count ==13 [2025-03-09 15:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:16:03] Production.INFO: count ==21 [2025-03-09 15:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643037') start [2025-03-09 15:16:03] Production.INFO: Account Balance Start. [2025-03-09 15:16:03] Production.INFO: CreateAllLog Start [2025-03-09 15:16:03] Production.INFO: 117 [2025-03-09 15:16:04] Production.ERROR: done [2025-03-09 15:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:16:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:16:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643037') end [2025-03-09 15:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:16:04] Production.INFO: 1 [2025-03-09 15:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:16:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:16:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:16:04] Production.INFO: Total Charge 0 [2025-03-09 15:16:04] Production.INFO: CreateAllLog End [2025-03-09 15:16:04] Production.INFO: ==31489== Releasing lock... [2025-03-09 15:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:16:04] Production.INFO: ==31481== Releasing lock... [2025-03-09 15:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:16:04] Production.ERROR: done [2025-03-09 15:16:04] Production.INFO: Account Balance End. [2025-03-09 15:16:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:16:04] Production.INFO: ==31485== Releasing lock... [2025-03-09 15:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:16:05 [end_date_ymd] => 2025-03-09 15:16:05 [RateCDR] => 1 ) [2025-03-09 15:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:16:05' and `end` < '2025-03-09 15:16:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:16:12] Production.ERROR: CronJobId end10 [2025-03-09 15:16:12] Production.INFO: ==31483== Releasing lock... [2025-03-09 15:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:16:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:16:14] Production.INFO: call_cost start [2025-03-09 15:16:14] Production.INFO: call_cost end [2025-03-09 15:16:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:16:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:16:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:16:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:16:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:16:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:16:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:16:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:16:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:16:15] Production.INFO: ==31479== Releasing lock... [2025-03-09 15:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:16:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:16:17] Production.INFO: count ==875 [2025-03-09 15:16:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:16:05 - End Time 2025-03-09 15:16:05 [2025-03-09 15:16:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643041', 'tblTempUsageDetail_20' ) start [2025-03-09 15:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643041', 'tblTempUsageDetail_20' ) end [2025-03-09 15:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643041', 'tblTempVendorCDR_20' ) start [2025-03-09 15:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643041', 'tblTempVendorCDR_20' ) end [2025-03-09 15:16:17] Production.INFO: ProcessCDR(1,14643041,1,1,2) [2025-03-09 15:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643041', 'tblTempUsageDetail_20' ) start [2025-03-09 15:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643041', 'tblTempUsageDetail_20' ) end [2025-03-09 15:16:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:16:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:16:22] Production.INFO: ==31487== Releasing lock... [2025-03-09 15:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:16:22] Production.INFO: 35 MB #Memory Used# [2025-03-09 19:17:01] Production.INFO: ==31580== Lock acquired, processing the job... [2025-03-09 19:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:17:01] Production.INFO: neon service started [2025-03-09 19:17:01] Production.INFO: neon service started [2025-03-09 19:17:01] Production.INFO: ==31580== Releasing lock... [2025-03-09 19:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:17:02] Production.INFO: ==31584== Lock acquired, processing the job... [2025-03-09 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:17:02] Production.INFO: ==31584== Releasing lock... [2025-03-09 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:17:02] Production.INFO: ==31582== Lock acquired, processing the job... [2025-03-09 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:17:02] Production.INFO: ==31582== Releasing lock... [2025-03-09 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:17:03] Production.INFO: ==31589== Lock acquired, processing the job... [2025-03-09 15:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:17:03] Production.INFO: ==31591== Lock acquired, processing the job... [2025-03-09 15:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:17:03] Production.INFO: ==31596== Lock acquired, processing the job... [2025-03-09 15:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:17:03] Production.INFO: ==31593== Lock acquired, processing the job... [2025-03-09 15:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:17:03] Production.INFO: ==31587== Lock acquired, processing the job... [2025-03-09 15:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:17:03] Production.INFO: ==31599== Lock acquired, processing the job... [2025-03-09 15:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:17:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:17:04] Production.INFO: Account Balance Start. [2025-03-09 15:17:04] Production.INFO: CreateAllLog Start [2025-03-09 15:17:04] Production.INFO: 117 [2025-03-09 15:17:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:17:04] Production.ERROR: done [2025-03-09 15:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:17:04] Production.INFO: ==31589== Releasing lock... [2025-03-09 15:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:17:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:17:04] Production.INFO: count ==13 [2025-03-09 15:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:17:04] Production.ERROR: done [2025-03-09 15:17:04] Production.INFO: count ==21 [2025-03-09 15:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643045') start [2025-03-09 15:17:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:17:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:17:04] Production.INFO: Total Charge 0 [2025-03-09 15:17:04] Production.INFO: CreateAllLog End [2025-03-09 15:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643045') end [2025-03-09 15:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:17:04] Production.INFO: 1 [2025-03-09 15:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:17:04] Production.INFO: ==31599== Releasing lock... [2025-03-09 15:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:17:04] Production.INFO: Account Balance End. [2025-03-09 15:17:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:17:04] Production.INFO: ==31593== Releasing lock... [2025-03-09 15:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:17:05 [end_date_ymd] => 2025-03-09 15:17:05 [RateCDR] => 1 ) [2025-03-09 15:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:17:05' and `end` < '2025-03-09 15:17:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:17:11] Production.ERROR: CronJobId end10 [2025-03-09 15:17:11] Production.INFO: ==31591== Releasing lock... [2025-03-09 15:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:17:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:17:14] Production.INFO: call_cost start [2025-03-09 15:17:14] Production.INFO: call_cost end [2025-03-09 15:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:17:15] Production.INFO: ==31587== Releasing lock... [2025-03-09 15:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:17:17] Production.INFO: count ==877 [2025-03-09 15:17:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:17:05 - End Time 2025-03-09 15:17:05 [2025-03-09 15:17:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643046', 'tblTempUsageDetail_20' ) start [2025-03-09 15:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643046', 'tblTempUsageDetail_20' ) end [2025-03-09 15:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643046', 'tblTempVendorCDR_20' ) start [2025-03-09 15:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643046', 'tblTempVendorCDR_20' ) end [2025-03-09 15:17:17] Production.INFO: ProcessCDR(1,14643046,1,1,2) [2025-03-09 15:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643046', 'tblTempUsageDetail_20' ) start [2025-03-09 15:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643046', 'tblTempUsageDetail_20' ) end [2025-03-09 15:17:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:17:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:17:22] Production.INFO: ==31596== Releasing lock... [2025-03-09 15:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:17:22] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 19:18:02] Production.INFO: ==31685== Lock acquired, processing the job... [2025-03-09 19:18:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:18:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:18:02] Production.INFO: neon service started [2025-03-09 19:18:02] Production.INFO: neon service started [2025-03-09 19:18:02] Production.INFO: ==31685== Releasing lock... [2025-03-09 19:18:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:18:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 15:18:02] Production.INFO: ==31687== Lock acquired, processing the job... [2025-03-09 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:18:03] Production.INFO: ==31689== Lock acquired, processing the job... [2025-03-09 19:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:18:03] Production.INFO: ==31687== Releasing lock... [2025-03-09 15:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:18:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:18:03] Production.INFO: ==31689== Releasing lock... [2025-03-09 19:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:18:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:18:04] Production.INFO: ==31691== Lock acquired, processing the job... [2025-03-09 15:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:18:04] Production.INFO: ==31694== Lock acquired, processing the job... [2025-03-09 15:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:18:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:18:04] Production.INFO: ==31696== Lock acquired, processing the job... [2025-03-09 15:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:18:04] Production.INFO: ==31698== Lock acquired, processing the job... [2025-03-09 15:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:18:04] Production.INFO: ==31700== Lock acquired, processing the job... [2025-03-09 15:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:18:04] Production.INFO: ==31702== Lock acquired, processing the job... [2025-03-09 15:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:18:04] Production.INFO: Account Balance Start. [2025-03-09 15:18:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:18:04] Production.INFO: CreateAllLog Start [2025-03-09 15:18:04] Production.INFO: ==31694== Releasing lock... [2025-03-09 15:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:18:04] Production.INFO: 117 [2025-03-09 15:18:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:18:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 15:18:04] Production.INFO: Total Charge 0 [2025-03-09 15:18:04] Production.INFO: CreateAllLog End [2025-03-09 15:18:04] Production.INFO: count ==13 [2025-03-09 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-09 15:18:04] Production.INFO: count ==21 [2025-03-09 15:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643050') start [2025-03-09 15:18:04] Production.ERROR: done [2025-03-09 15:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:18:05] Production.INFO: Account Balance End. [2025-03-09 15:18:05] Production.ERROR: CronJobId end 12 [2025-03-09 15:18:05] Production.INFO: ==31698== Releasing lock... [2025-03-09 15:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:18:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:18:05] Production.ERROR: PBX CALL prc_importPBXExtension('14643050') end [2025-03-09 15:18:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:18:05] Production.INFO: 1 [2025-03-09 15:18:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:18:05] Production.ERROR: done [2025-03-09 15:18:05] Production.INFO: ==31702== Releasing lock... [2025-03-09 15:18:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:18:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:18:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:18:06 [end_date_ymd] => 2025-03-09 15:18:06 [RateCDR] => 1 ) [2025-03-09 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-09 12:18:06' and `end` < '2025-03-09 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-09 15:18:13] Production.ERROR: CronJobId end10 [2025-03-09 15:18:13] Production.INFO: ==31696== Releasing lock... [2025-03-09 15:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:18:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:18:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:18:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:18:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:18:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:18:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:18:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:18:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:18:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:18:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:18:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:18:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:18:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:18:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:18:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:18:15] Production.INFO: call_cost start [2025-03-09 15:18:15] Production.INFO: call_cost end [2025-03-09 15:18:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:18:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:18:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:18:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:18:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:18:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:18:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:18:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:18:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:18:16] Production.INFO: ==31691== Releasing lock... [2025-03-09 15:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:18:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:18:18] Production.INFO: count ==878 [2025-03-09 15:18:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:18:06 - End Time 2025-03-09 15:18:06 [2025-03-09 15:18:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643051', 'tblTempUsageDetail_20' ) start [2025-03-09 15:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643051', 'tblTempUsageDetail_20' ) end [2025-03-09 15:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643051', 'tblTempVendorCDR_20' ) start [2025-03-09 15:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643051', 'tblTempVendorCDR_20' ) end [2025-03-09 15:18:18] Production.INFO: ProcessCDR(1,14643051,1,1,2) [2025-03-09 15:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643051', 'tblTempUsageDetail_20' ) start [2025-03-09 15:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643051', 'tblTempUsageDetail_20' ) end [2025-03-09 15:18:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:18:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:18:23] Production.INFO: ==31700== Releasing lock... [2025-03-09 15:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:18:23] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 19:19:01] Production.INFO: ==31792== Lock acquired, processing the job... [2025-03-09 19:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:19:01] Production.INFO: neon service started [2025-03-09 19:19:01] Production.INFO: neon service started [2025-03-09 19:19:01] Production.INFO: ==31792== Releasing lock... [2025-03-09 19:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:19:02] Production.INFO: ==31794== Lock acquired, processing the job... [2025-03-09 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:19:02] Production.INFO: ==31794== Releasing lock... [2025-03-09 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:19:02] Production.INFO: ==31796== Lock acquired, processing the job... [2025-03-09 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:19:02] Production.INFO: ==31796== Releasing lock... [2025-03-09 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:19:03] Production.INFO: ==31798== Lock acquired, processing the job... [2025-03-09 15:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:19:03] Production.INFO: ==31800== Lock acquired, processing the job... [2025-03-09 15:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:19:03] Production.INFO: ==31802== Lock acquired, processing the job... [2025-03-09 15:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:19:03] Production.INFO: ==31805== Lock acquired, processing the job... [2025-03-09 15:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:19:03] Production.INFO: ==31807== Lock acquired, processing the job... [2025-03-09 15:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:19:03] Production.INFO: Account Balance Start. [2025-03-09 15:19:03] Production.INFO: CreateAllLog Start [2025-03-09 15:19:03] Production.INFO: 117 [2025-03-09 15:19:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:19:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:19:03] Production.INFO: ==31809== Lock acquired, processing the job... [2025-03-09 15:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:19:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:19:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:19:03] Production.INFO: Total Charge 0 [2025-03-09 15:19:03] Production.INFO: CreateAllLog End [2025-03-09 15:19:03] Production.INFO: ==31800== Releasing lock... [2025-03-09 15:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:19:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:19:04] Production.INFO: count ==13 [2025-03-09 15:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:19:04] Production.INFO: count ==21 [2025-03-09 15:19:04] Production.ERROR: done [2025-03-09 15:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643055') start [2025-03-09 15:19:04] Production.INFO: Account Balance End. [2025-03-09 15:19:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:19:04] Production.INFO: ==31805== Releasing lock... [2025-03-09 15:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643055') end [2025-03-09 15:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:19:04] Production.INFO: 1 [2025-03-09 15:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:19:04] Production.ERROR: done [2025-03-09 15:19:04] Production.INFO: ==31809== Releasing lock... [2025-03-09 15:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:19:05 [end_date_ymd] => 2025-03-09 15:19:05 [RateCDR] => 1 ) [2025-03-09 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-09 12:19:05' and `end` < '2025-03-09 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-09 15:19:11] Production.ERROR: CronJobId end10 [2025-03-09 15:19:11] Production.INFO: ==31802== Releasing lock... [2025-03-09 15:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:19:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:19:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:19:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:19:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:19:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:19:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:19:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:19:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:19:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:19:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:19:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:19:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:19:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:19:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:19:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:19:14] Production.INFO: call_cost start [2025-03-09 15:19:14] Production.INFO: call_cost end [2025-03-09 15:19:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:19:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:19:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:19:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:19:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:19:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:19:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:19:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:19:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:19:15] Production.INFO: ==31798== Releasing lock... [2025-03-09 15:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:19:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:19:17] Production.INFO: count ==867 [2025-03-09 15:19:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:19:05 - End Time 2025-03-09 15:19:05 [2025-03-09 15:19:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643056', 'tblTempUsageDetail_20' ) start [2025-03-09 15:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643056', 'tblTempUsageDetail_20' ) end [2025-03-09 15:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643056', 'tblTempVendorCDR_20' ) start [2025-03-09 15:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643056', 'tblTempVendorCDR_20' ) end [2025-03-09 15:19:17] Production.INFO: ProcessCDR(1,14643056,1,1,2) [2025-03-09 15:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643056', 'tblTempUsageDetail_20' ) start [2025-03-09 15:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643056', 'tblTempUsageDetail_20' ) end [2025-03-09 15:19:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:19:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:19:22] Production.INFO: ==31807== Releasing lock... [2025-03-09 15:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:19:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-09 19:20:02] Production.INFO: ==31900== Lock acquired, processing the job... [2025-03-09 19:20:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:20:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:20:02] Production.INFO: neon service started [2025-03-09 19:20:02] Production.INFO: neon service started [2025-03-09 19:20:02] Production.INFO: ==31900== Releasing lock... [2025-03-09 19:20:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:20:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:20:02] Production.INFO: ==31904== Lock acquired, processing the job... [2025-03-09 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:20:02] Production.INFO: ==31904== Releasing lock... [2025-03-09 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:20:02] Production.INFO: ==31902== Lock acquired, processing the job... [2025-03-09 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:20:03] Production.INFO: ==31902== Releasing lock... [2025-03-09 15:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:20:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:20:04] Production.INFO: ==31911== Lock acquired, processing the job... [2025-03-09 15:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:20:04] Production.INFO: ==31913== Lock acquired, processing the job... [2025-03-09 15:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:20:04] Production.INFO: ==31917== Lock acquired, processing the job... [2025-03-09 15:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:20:04] Production.INFO: ==31921== Lock acquired, processing the job... [2025-03-09 15:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:20:04] Production.INFO: ==31909== Lock acquired, processing the job... [2025-03-09 15:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:20:04] Production.INFO: ==31907== Lock acquired, processing the job... [2025-03-09 15:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 15:20:04] Production.INFO: ==31915== Lock acquired, processing the job... [2025-03-09 15:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:20:04] Production.INFO: ==31919== Lock acquired, processing the job... [2025-03-09 15:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 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-09 15:20:04] Production.INFO: count ==13 [2025-03-09 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-09 15:20:04] Production.INFO: count ==21 [2025-03-09 15:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643058') start [2025-03-09 15:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:20:04] Production.INFO: ==31911== Releasing lock... [2025-03-09 15:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643058') end [2025-03-09 15:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:20:04] Production.INFO: 1 [2025-03-09 15:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:20:04] Production.INFO: ==31921== Releasing lock... [2025-03-09 15:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:20:04] Production.INFO: Account Balance Start. [2025-03-09 15:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 15:20:04] Production.INFO: CreateAllLog Start [2025-03-09 15:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 15:20:04] Production.ERROR: CronJob PID - 31909 [2025-03-09 15:20:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 15:20:04] Production.ERROR: CronJob ID - 5 [2025-03-09 15:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 15:20:00 [2025-03-09 15:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 15:20:04] Production.INFO: 117 [2025-03-09 15:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 15:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 15:20:04] Production.ERROR: CronJob PID - 31913 [2025-03-09 15:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 15:20:04] Production.ERROR: CronJob ID - 10 [2025-03-09 15:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 15:20:00 [2025-03-09 15:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 15:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 15:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 15:20:04] Production.ERROR: CronJob PID - 31915 [2025-03-09 15:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 15:20:04] Production.ERROR: CronJob ID - 12 [2025-03-09 15:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 15:20:00 [2025-03-09 15:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 15:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 15:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 15:20:04] Production.ERROR: CronJob PID - 31917 [2025-03-09 15:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 15:20:04] Production.ERROR: CronJob ID - 16 [2025-03-09 15:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 15:20:00 [2025-03-09 15:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 15:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 15:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 15:20:04] Production.ERROR: CronJob PID - 31919 [2025-03-09 15:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-09 15:20:04] Production.ERROR: CronJob ID - 17 [2025-03-09 15:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 15:20:00 [2025-03-09 15:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 15:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 15:20:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:20:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:20:04] Production.INFO: Total Charge 0 [2025-03-09 15:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 15:20:04] Production.INFO: ==31907== Releasing lock... [2025-03-09 15:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 15:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 15:20:05] Production.INFO: CreateAllLog End [2025-03-09 15:20:05] Production.ERROR: done [2025-03-09 15:20:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:20:05] Production.ERROR: done [2025-03-09 15:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 15:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643061', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 15:20:05] Production.ERROR: done [2025-03-09 15:20:05] Production.INFO: Account Balance End. [2025-03-09 15:20:05] Production.ERROR: CronJobId end 12 [2025-03-09 15:20:05] Production.INFO: ==31915== Releasing lock... [2025-03-09 15:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:20:06 [end_date_ymd] => 2025-03-09 15:20:06 [RateCDR] => 1 ) [2025-03-09 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-09 12:20:06' and `end` < '2025-03-09 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-09 15:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643061', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 15:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 15:20:09] Production.INFO: ProcessCDR(1,14643061,1,1,2) [2025-03-09 15:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14643061,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14643061,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:20:09] Production.INFO: ==31919== Releasing lock... [2025-03-09 15:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 15:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 15:20:14] Production.ERROR: CronJobId end10 [2025-03-09 15:20:14] Production.INFO: ==31913== Releasing lock... [2025-03-09 15:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:20:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:20:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:20:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:20:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:20:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:20:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:20:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:20:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:20:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:20:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:20:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:20:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:20:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:20:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:20:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:20:17] Production.INFO: call_cost start [2025-03-09 15:20:17] Production.INFO: call_cost end [2025-03-09 15:20:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:20:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:20:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:20:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:20:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:20:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:20:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:20:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:20:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:20:18] Production.INFO: ==31909== Releasing lock... [2025-03-09 15:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:20:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:20:18] Production.INFO: count ==865 [2025-03-09 15:20:19] Production.ERROR: pbx CDR StartTime 2025-03-09 12:20:06 - End Time 2025-03-09 15:20:06 [2025-03-09 15:20:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643062', 'tblTempUsageDetail_20' ) start [2025-03-09 15:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643062', 'tblTempUsageDetail_20' ) end [2025-03-09 15:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643062', 'tblTempVendorCDR_20' ) start [2025-03-09 15:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643062', 'tblTempVendorCDR_20' ) end [2025-03-09 15:20:19] Production.INFO: ProcessCDR(1,14643062,1,1,2) [2025-03-09 15:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643062', 'tblTempUsageDetail_20' ) start [2025-03-09 15:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643062', 'tblTempUsageDetail_20' ) end [2025-03-09 15:20:24] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:20:24] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:20:24] Production.INFO: ==31917== Releasing lock... [2025-03-09 15:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:20:24] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 19:21:01] Production.INFO: ==32007== Lock acquired, processing the job... [2025-03-09 19:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:21:01] Production.INFO: neon service started [2025-03-09 19:21:01] Production.INFO: neon service started [2025-03-09 19:21:01] Production.INFO: ==32007== Releasing lock... [2025-03-09 19:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:21:02] Production.INFO: ==32011== Lock acquired, processing the job... [2025-03-09 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:21:02] Production.INFO: ==32011== Releasing lock... [2025-03-09 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:21:02] Production.INFO: ==32009== Lock acquired, processing the job... [2025-03-09 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:21:02] Production.INFO: ==32009== Releasing lock... [2025-03-09 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:21:03] Production.INFO: ==32014== Lock acquired, processing the job... [2025-03-09 15:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:21:03] Production.INFO: ==32018== Lock acquired, processing the job... [2025-03-09 15:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:21:03] Production.INFO: ==32024== Lock acquired, processing the job... [2025-03-09 15:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:21:03] Production.INFO: count ==13 [2025-03-09 15: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-09 15:21:03] Production.INFO: count ==21 [2025-03-09 15:21:03] Production.INFO: ==32020== Lock acquired, processing the job... [2025-03-09 15:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643064') start [2025-03-09 15:21:03] Production.INFO: ==32016== Lock acquired, processing the job... [2025-03-09 15:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643064') end [2025-03-09 15:21:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:21:03] Production.INFO: 1 [2025-03-09 15:21:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:21:03] Production.INFO: ==32024== Releasing lock... [2025-03-09 15:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:21:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:21:03] Production.INFO: Account Balance Start. [2025-03-09 15:21:03] Production.INFO: CreateAllLog Start [2025-03-09 15:21:03] Production.INFO: 117 [2025-03-09 15:21:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:21:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:21:03] Production.INFO: ==32022== Lock acquired, processing the job... [2025-03-09 15:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:21:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:21:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:21:03] Production.INFO: Total Charge 0 [2025-03-09 15:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:21:03] Production.INFO: CreateAllLog End [2025-03-09 15:21:04] Production.INFO: ==32016== Releasing lock... [2025-03-09 15:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:21:04] Production.ERROR: done [2025-03-09 15:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:21:04] Production.INFO: Account Balance End. [2025-03-09 15:21:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:21:04] Production.INFO: ==32020== Releasing lock... [2025-03-09 15:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:21:04] Production.ERROR: done [2025-03-09 15:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:21:05 [end_date_ymd] => 2025-03-09 15:21:05 [RateCDR] => 1 ) [2025-03-09 15:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:21:05' and `end` < '2025-03-09 15:21:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:21:12] Production.ERROR: CronJobId end10 [2025-03-09 15:21:12] Production.INFO: ==32018== Releasing lock... [2025-03-09 15:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:21:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:21:14] Production.INFO: call_cost start [2025-03-09 15:21:14] Production.INFO: call_cost end [2025-03-09 15:21:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:21:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:21:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:21:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:21:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:21:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:21:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:21:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:21:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:21:15] Production.INFO: ==32014== Releasing lock... [2025-03-09 15:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:21:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:21:17] Production.INFO: count ==898 [2025-03-09 15:21:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:21:05 - End Time 2025-03-09 15:21:05 [2025-03-09 15:21:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643067', 'tblTempUsageDetail_20' ) start [2025-03-09 15:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643067', 'tblTempUsageDetail_20' ) end [2025-03-09 15:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643067', 'tblTempVendorCDR_20' ) start [2025-03-09 15:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643067', 'tblTempVendorCDR_20' ) end [2025-03-09 15:21:17] Production.INFO: ProcessCDR(1,14643067,1,1,2) [2025-03-09 15:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643067', 'tblTempUsageDetail_20' ) start [2025-03-09 15:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643067', 'tblTempUsageDetail_20' ) end [2025-03-09 15:21:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:21:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:21:22] Production.INFO: ==32022== Releasing lock... [2025-03-09 15:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:21:22] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 19:22:02] Production.INFO: ==32155== Lock acquired, processing the job... [2025-03-09 19:22:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:22:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:22:02] Production.INFO: neon service started [2025-03-09 19:22:02] Production.INFO: neon service started [2025-03-09 19:22:02] Production.INFO: ==32155== Releasing lock... [2025-03-09 19:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:22:02] Production.INFO: ==32159== Lock acquired, processing the job... [2025-03-09 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:22:02] Production.INFO: ==32159== Releasing lock... [2025-03-09 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:22:02] Production.INFO: ==32157== Lock acquired, processing the job... [2025-03-09 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:22:02] Production.INFO: ==32157== Releasing lock... [2025-03-09 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:22:03] Production.INFO: ==32164== Lock acquired, processing the job... [2025-03-09 15:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:22:03] Production.INFO: ==32174== Lock acquired, processing the job... [2025-03-09 15:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:22:04] Production.INFO: ==32166== Lock acquired, processing the job... [2025-03-09 15:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:22:04] Production.INFO: count ==13 [2025-03-09 15:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:22:04] Production.INFO: count ==21 [2025-03-09 15:22:04] Production.INFO: ==32168== Lock acquired, processing the job... [2025-03-09 15:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:22:04] Production.INFO: ==32170== Lock acquired, processing the job... [2025-03-09 15:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643069') start [2025-03-09 15:22:04] Production.INFO: ==32172== Lock acquired, processing the job... [2025-03-09 15:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643069') end [2025-03-09 15:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:22:04] Production.INFO: 1 [2025-03-09 15:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:22:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:22:04] Production.INFO: ==32174== Releasing lock... [2025-03-09 15:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:22:04] Production.INFO: Account Balance Start. [2025-03-09 15:22:04] Production.INFO: CreateAllLog Start [2025-03-09 15:22:04] Production.INFO: 117 [2025-03-09 15:22:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:22:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:22:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:22:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:22:04] Production.INFO: Total Charge 0 [2025-03-09 15:22:04] Production.INFO: CreateAllLog End [2025-03-09 15:22:04] Production.INFO: ==32166== Releasing lock... [2025-03-09 15:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:22:04] Production.ERROR: done [2025-03-09 15:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:22:04] Production.INFO: Account Balance End. [2025-03-09 15:22:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:22:04] Production.INFO: ==32170== Releasing lock... [2025-03-09 15:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:22:05] Production.ERROR: done [2025-03-09 15:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:22:05 [end_date_ymd] => 2025-03-09 15:22:05 [RateCDR] => 1 ) [2025-03-09 15:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:22:05' and `end` < '2025-03-09 15:22:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:22:12] Production.ERROR: CronJobId end10 [2025-03-09 15:22:12] Production.INFO: ==32168== Releasing lock... [2025-03-09 15:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:22:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:22:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:22:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:22:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:22:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:22:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:22:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:22:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:22:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:22:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:22:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:22:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:22:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:22:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:22:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:22:14] Production.INFO: call_cost start [2025-03-09 15:22:14] Production.INFO: call_cost end [2025-03-09 15:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:22:15] Production.INFO: ==32164== Releasing lock... [2025-03-09 15:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:22:18] Production.INFO: count ==895 [2025-03-09 15:22:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:22:05 - End Time 2025-03-09 15:22:05 [2025-03-09 15:22:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643072', 'tblTempUsageDetail_20' ) start [2025-03-09 15:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643072', 'tblTempUsageDetail_20' ) end [2025-03-09 15:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643072', 'tblTempVendorCDR_20' ) start [2025-03-09 15:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643072', 'tblTempVendorCDR_20' ) end [2025-03-09 15:22:18] Production.INFO: ProcessCDR(1,14643072,1,1,2) [2025-03-09 15:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643072', 'tblTempUsageDetail_20' ) start [2025-03-09 15:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643072', 'tblTempUsageDetail_20' ) end [2025-03-09 15:22:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:22:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:22:21] Production.INFO: ==32172== Releasing lock... [2025-03-09 15:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:22:21] Production.INFO: 35.25 MB #Memory Used# [2025-03-09 19:23:01] Production.INFO: ==32260== Lock acquired, processing the job... [2025-03-09 19:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:23:01] Production.INFO: neon service started [2025-03-09 19:23:01] Production.INFO: neon service started [2025-03-09 19:23:01] Production.INFO: ==32260== Releasing lock... [2025-03-09 19:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:23:02] Production.INFO: ==32265== Lock acquired, processing the job... [2025-03-09 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:23:02] Production.INFO: ==32267== Lock acquired, processing the job... [2025-03-09 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:23:02] Production.INFO: ==32267== Releasing lock... [2025-03-09 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:23:02] Production.INFO: ==32265== Releasing lock... [2025-03-09 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:23:03] Production.INFO: ==32271== Lock acquired, processing the job... [2025-03-09 15:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:23:03] Production.INFO: ==32273== Lock acquired, processing the job... [2025-03-09 15:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:23:03] Production.INFO: ==32279== Lock acquired, processing the job... [2025-03-09 15:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:23:03] Production.INFO: ==32269== Lock acquired, processing the job... [2025-03-09 15:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:23:03] Production.INFO: ==32271== Releasing lock... [2025-03-09 15:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:23:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:23:03] Production.INFO: count ==13 [2025-03-09 15:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:23:03] Production.INFO: count ==21 [2025-03-09 15:23:03] Production.INFO: ==32275== Lock acquired, processing the job... [2025-03-09 15:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643074') start [2025-03-09 15:23:03] Production.INFO: ==32277== Lock acquired, processing the job... [2025-03-09 15:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643074') end [2025-03-09 15:23:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:23:03] Production.INFO: 1 [2025-03-09 15:23:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:23:03] Production.INFO: ==32279== Releasing lock... [2025-03-09 15:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:23:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:23:03] Production.INFO: Account Balance Start. [2025-03-09 15:23:03] Production.INFO: CreateAllLog Start [2025-03-09 15:23:03] Production.INFO: 117 [2025-03-09 15:23:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:23:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:23:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:23:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:23:04] Production.INFO: Total Charge 0 [2025-03-09 15:23:04] Production.INFO: CreateAllLog End [2025-03-09 15:23:04] Production.ERROR: done [2025-03-09 15:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:23:04] Production.ERROR: done [2025-03-09 15:23:04] Production.INFO: Account Balance End. [2025-03-09 15:23:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:23:04] Production.INFO: ==32275== Releasing lock... [2025-03-09 15:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:23:05 [end_date_ymd] => 2025-03-09 15:23:05 [RateCDR] => 1 ) [2025-03-09 15:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:23:05' and `end` < '2025-03-09 15:23:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:23:11] Production.ERROR: CronJobId end10 [2025-03-09 15:23:11] Production.INFO: ==32273== Releasing lock... [2025-03-09 15:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:23:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:23:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:23:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:23:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:23:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:23:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:23:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:23:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:23:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:23:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:23:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:23:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:23:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:23:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:23:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:23:13] Production.INFO: call_cost start [2025-03-09 15:23:13] Production.INFO: call_cost end [2025-03-09 15:23:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:23:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:23:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:23:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:23:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:23:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:23:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:23:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:23:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:23:14] Production.INFO: ==32269== Releasing lock... [2025-03-09 15:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:23:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:23:17] Production.INFO: count ==893 [2025-03-09 15:23:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:23:05 - End Time 2025-03-09 15:23:05 [2025-03-09 15:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643077', 'tblTempUsageDetail_20' ) start [2025-03-09 15:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643077', 'tblTempUsageDetail_20' ) end [2025-03-09 15:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643077', 'tblTempVendorCDR_20' ) start [2025-03-09 15:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643077', 'tblTempVendorCDR_20' ) end [2025-03-09 15:23:17] Production.INFO: ProcessCDR(1,14643077,1,1,2) [2025-03-09 15:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643077', 'tblTempUsageDetail_20' ) start [2025-03-09 15:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643077', 'tblTempUsageDetail_20' ) end [2025-03-09 15:23:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:23:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:23:20] Production.INFO: ==32277== Releasing lock... [2025-03-09 15:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:23:20] Production.INFO: 35.25 MB #Memory Used# [2025-03-09 19:24:02] Production.INFO: ==32366== Lock acquired, processing the job... [2025-03-09 19:24:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:24:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:24:02] Production.INFO: neon service started [2025-03-09 19:24:02] Production.INFO: neon service started [2025-03-09 19:24:02] Production.INFO: ==32366== Releasing lock... [2025-03-09 19:24:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:24:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:24:02] Production.INFO: ==32368== Lock acquired, processing the job... [2025-03-09 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:24:02] Production.INFO: ==32370== Lock acquired, processing the job... [2025-03-09 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:24:02] Production.INFO: ==32368== Releasing lock... [2025-03-09 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:24:02] Production.INFO: ==32370== Releasing lock... [2025-03-09 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:24:03] Production.INFO: ==32375== Lock acquired, processing the job... [2025-03-09 15:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:24:03] Production.INFO: ==32377== Lock acquired, processing the job... [2025-03-09 15:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:24:03] Production.INFO: ==32383== Lock acquired, processing the job... [2025-03-09 15:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:24:03] Production.INFO: ==32373== Lock acquired, processing the job... [2025-03-09 15:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:24:04] Production.INFO: count ==13 [2025-03-09 15:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:24:04] Production.INFO: count ==21 [2025-03-09 15:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643079') start [2025-03-09 15:24:04] Production.INFO: ==32379== Lock acquired, processing the job... [2025-03-09 15:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:24:04] Production.INFO: ==32381== Lock acquired, processing the job... [2025-03-09 15:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:24:04] Production.INFO: ==32375== Releasing lock... [2025-03-09 15:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643079') end [2025-03-09 15:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:24:04] Production.INFO: 1 [2025-03-09 15:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:24:04] Production.INFO: Account Balance Start. [2025-03-09 15:24:04] Production.INFO: CreateAllLog Start [2025-03-09 15:24:04] Production.INFO: 117 [2025-03-09 15:24:04] Production.INFO: ==32383== Releasing lock... [2025-03-09 15:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:24:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:24:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:24:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:24:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:24:04] Production.INFO: Total Charge 0 [2025-03-09 15:24:04] Production.INFO: CreateAllLog End [2025-03-09 15:24:04] Production.ERROR: done [2025-03-09 15:24:04] Production.INFO: Account Balance End. [2025-03-09 15:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:24:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:24:04] Production.INFO: ==32379== Releasing lock... [2025-03-09 15:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:24:04] Production.ERROR: done [2025-03-09 15:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:24:05 [end_date_ymd] => 2025-03-09 15:24:05 [RateCDR] => 1 ) [2025-03-09 15:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:24:05' and `end` < '2025-03-09 15:24:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:24:13] Production.ERROR: CronJobId end10 [2025-03-09 15:24:13] Production.INFO: ==32377== Releasing lock... [2025-03-09 15:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:24:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:24:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:24:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:24:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:24:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:24:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:24:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:24:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:24:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:24:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:24:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:24:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:24:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:24:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:24:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:24:15] Production.INFO: call_cost start [2025-03-09 15:24:15] Production.INFO: call_cost end [2025-03-09 15:24:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:24:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:24:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:24:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:24:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:24:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:24:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:24:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:24:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:24:16] Production.INFO: ==32373== Releasing lock... [2025-03-09 15:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:24:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:24:17] Production.INFO: count ==893 [2025-03-09 15:24:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:24:05 - End Time 2025-03-09 15:24:05 [2025-03-09 15:24:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643082', 'tblTempUsageDetail_20' ) start [2025-03-09 15:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643082', 'tblTempUsageDetail_20' ) end [2025-03-09 15:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643082', 'tblTempVendorCDR_20' ) start [2025-03-09 15:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643082', 'tblTempVendorCDR_20' ) end [2025-03-09 15:24:18] Production.INFO: ProcessCDR(1,14643082,1,1,2) [2025-03-09 15:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643082', 'tblTempUsageDetail_20' ) start [2025-03-09 15:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643082', 'tblTempUsageDetail_20' ) end [2025-03-09 15:24:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:24:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:24:23] Production.INFO: ==32381== Releasing lock... [2025-03-09 15:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:24:23] Production.INFO: 35 MB #Memory Used# [2025-03-09 19:25:01] Production.INFO: ==32468== Lock acquired, processing the job... [2025-03-09 19:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:25:01] Production.INFO: neon service started [2025-03-09 19:25:01] Production.INFO: neon service started [2025-03-09 19:25:01] Production.INFO: ==32468== Releasing lock... [2025-03-09 19:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:25:01] Production.INFO: ==32471== Lock acquired, processing the job... [2025-03-09 15:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:25:02] Production.INFO: ==32473== Lock acquired, processing the job... [2025-03-09 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:25:02] Production.INFO: ==32473== Releasing lock... [2025-03-09 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:25:02] Production.INFO: ==32471== Releasing lock... [2025-03-09 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:25:03] Production.INFO: ==32479== Lock acquired, processing the job... [2025-03-09 15:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:25:03] Production.INFO: ==32485== Lock acquired, processing the job... [2025-03-09 15:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 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-09 15:25:03] Production.INFO: ==32475== Lock acquired, processing the job... [2025-03-09 15:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:25:03] Production.INFO: ==32477== Lock acquired, processing the job... [2025-03-09 15:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:25:03] Production.INFO: count ==13 [2025-03-09 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-09 15:25:03] Production.INFO: ==32481== Lock acquired, processing the job... [2025-03-09 15:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:25:03] Production.INFO: count ==21 [2025-03-09 15:25:03] Production.INFO: ==32483== Lock acquired, processing the job... [2025-03-09 15:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643083') start [2025-03-09 15:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:25:03] Production.INFO: Account Balance Start. [2025-03-09 15:25:03] Production.INFO: CreateAllLog Start [2025-03-09 15:25:03] Production.INFO: 117 [2025-03-09 15:25:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643083') end [2025-03-09 15:25:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:25:03] Production.INFO: 1 [2025-03-09 15:25:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:25:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:25:04] Production.INFO: ==32485== Releasing lock... [2025-03-09 15:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:25:04] Production.INFO: Total Charge 0 [2025-03-09 15:25:04] Production.INFO: CreateAllLog End [2025-03-09 15:25:04] Production.INFO: ==32477== Releasing lock... [2025-03-09 15:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:25:04] Production.ERROR: done [2025-03-09 15:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:25:04] Production.INFO: Account Balance End. [2025-03-09 15:25:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:25:04] Production.INFO: ==32481== Releasing lock... [2025-03-09 15:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:25:04] Production.ERROR: done [2025-03-09 15:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:25:05 [end_date_ymd] => 2025-03-09 15:25:05 [RateCDR] => 1 ) [2025-03-09 15:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:25:05' and `end` < '2025-03-09 15:25:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:25:11] Production.ERROR: CronJobId end10 [2025-03-09 15:25:11] Production.INFO: ==32479== Releasing lock... [2025-03-09 15:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:25:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:25:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:25:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:25:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:25:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:25:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:25:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:25:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:25:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:25:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:25:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:25:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:25:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:25:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:25:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:25:14] Production.INFO: call_cost start [2025-03-09 15:25:14] Production.INFO: call_cost end [2025-03-09 15:25:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:25:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:25:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:25:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:25:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:25:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:25:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:25:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:25:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:25:15] Production.INFO: ==32475== Releasing lock... [2025-03-09 15:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:25:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:25:17] Production.INFO: count ==895 [2025-03-09 15:25:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:25:05 - End Time 2025-03-09 15:25:05 [2025-03-09 15:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643087', 'tblTempUsageDetail_20' ) start [2025-03-09 15:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643087', 'tblTempUsageDetail_20' ) end [2025-03-09 15:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643087', 'tblTempVendorCDR_20' ) start [2025-03-09 15:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643087', 'tblTempVendorCDR_20' ) end [2025-03-09 15:25:17] Production.INFO: ProcessCDR(1,14643087,1,1,2) [2025-03-09 15:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643087', 'tblTempUsageDetail_20' ) start [2025-03-09 15:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643087', 'tblTempUsageDetail_20' ) end [2025-03-09 15:25:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:25:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:25:21] Production.INFO: ==32483== Releasing lock... [2025-03-09 15:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:25:21] Production.INFO: 35 MB #Memory Used# [2025-03-09 19:26:01] Production.INFO: ==32572== Lock acquired, processing the job... [2025-03-09 19:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:26:02] Production.INFO: neon service started [2025-03-09 19:26:02] Production.INFO: neon service started [2025-03-09 19:26:02] Production.INFO: ==32572== Releasing lock... [2025-03-09 19:26:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:26:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:26:02] Production.INFO: ==32574== Lock acquired, processing the job... [2025-03-09 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:26:02] Production.INFO: ==32576== Lock acquired, processing the job... [2025-03-09 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:26:02] Production.INFO: ==32576== Releasing lock... [2025-03-09 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:26:02] Production.INFO: ==32574== Releasing lock... [2025-03-09 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:26:03] Production.INFO: ==32578== Lock acquired, processing the job... [2025-03-09 15:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:26:03] Production.INFO: ==32580== Lock acquired, processing the job... [2025-03-09 15:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:26:03] Production.INFO: ==32589== Lock acquired, processing the job... [2025-03-09 15:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:26:03] Production.INFO: ==32582== Lock acquired, processing the job... [2025-03-09 15:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:26:03] Production.INFO: ==32584== Lock acquired, processing the job... [2025-03-09 15:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:26:03] Production.INFO: ==32586== Lock acquired, processing the job... [2025-03-09 15:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 15:26:04] Production.INFO: ==32580== Releasing lock... [2025-03-09 15:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:26:04] Production.INFO: count ==13 [2025-03-09 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-09 15:26:04] Production.INFO: count ==21 [2025-03-09 15:26:04] Production.INFO: Account Balance Start. [2025-03-09 15:26:04] Production.INFO: CreateAllLog Start [2025-03-09 15:26:04] Production.INFO: 117 [2025-03-09 15:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643090') start [2025-03-09 15:26:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:26:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:26:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:26:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643090') end [2025-03-09 15:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:26:04] Production.INFO: 1 [2025-03-09 15:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:26:04] Production.INFO: Total Charge 0 [2025-03-09 15:26:04] Production.INFO: CreateAllLog End [2025-03-09 15:26:04] Production.INFO: ==32589== Releasing lock... [2025-03-09 15:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:26:04] Production.ERROR: done [2025-03-09 15:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:26:04] Production.ERROR: done [2025-03-09 15:26:04] Production.INFO: Account Balance End. [2025-03-09 15:26:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:26:04] Production.INFO: ==32584== Releasing lock... [2025-03-09 15:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:26:05 [end_date_ymd] => 2025-03-09 15:26:05 [RateCDR] => 1 ) [2025-03-09 15:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:26:05' and `end` < '2025-03-09 15:26:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:26:12] Production.ERROR: CronJobId end10 [2025-03-09 15:26:12] Production.INFO: ==32582== Releasing lock... [2025-03-09 15:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:26:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:26:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:26:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:26:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:26:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:26:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:26:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:26:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:26:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:26:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:26:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:26:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:26:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:26:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:26:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:26:14] Production.INFO: call_cost start [2025-03-09 15:26:14] Production.INFO: call_cost end [2025-03-09 15:26:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:26:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:26:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:26:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:26:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:26:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:26:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:26:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:26:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:26:15] Production.INFO: ==32578== Releasing lock... [2025-03-09 15:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:26:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:26:17] Production.INFO: count ==896 [2025-03-09 15:26:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:26:05 - End Time 2025-03-09 15:26:05 [2025-03-09 15:26:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643092', 'tblTempUsageDetail_20' ) start [2025-03-09 15:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643092', 'tblTempUsageDetail_20' ) end [2025-03-09 15:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643092', 'tblTempVendorCDR_20' ) start [2025-03-09 15:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643092', 'tblTempVendorCDR_20' ) end [2025-03-09 15:26:18] Production.INFO: ProcessCDR(1,14643092,1,1,2) [2025-03-09 15:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643092', 'tblTempUsageDetail_20' ) start [2025-03-09 15:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643092', 'tblTempUsageDetail_20' ) end [2025-03-09 15:26:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:26:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:26:22] Production.INFO: ==32586== Releasing lock... [2025-03-09 15:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:26:22] Production.INFO: 35.5 MB #Memory Used# [2025-03-09 19:27:01] Production.INFO: ==32674== Lock acquired, processing the job... [2025-03-09 19:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:27:01] Production.INFO: neon service started [2025-03-09 19:27:01] Production.INFO: neon service started [2025-03-09 19:27:01] Production.INFO: ==32674== Releasing lock... [2025-03-09 19:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:27:01] Production.INFO: ==32678== Lock acquired, processing the job... [2025-03-09 19:27:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:27:01] Production.INFO: ==32678== Releasing lock... [2025-03-09 19:27:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:27:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:27:01] Production.INFO: ==32676== Lock acquired, processing the job... [2025-03-09 15:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:27:02] Production.INFO: ==32676== Releasing lock... [2025-03-09 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:27:03] Production.INFO: ==32680== Lock acquired, processing the job... [2025-03-09 15:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:27:03] Production.INFO: ==32682== Lock acquired, processing the job... [2025-03-09 15:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:27:03] Production.INFO: ==32684== Lock acquired, processing the job... [2025-03-09 15:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:27:03] Production.INFO: ==32686== Lock acquired, processing the job... [2025-03-09 15:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:27:03] Production.INFO: Account Balance Start. [2025-03-09 15:27:03] Production.INFO: CreateAllLog Start [2025-03-09 15:27:03] Production.INFO: 117 [2025-03-09 15:27:03] Production.INFO: ==32688== Lock acquired, processing the job... [2025-03-09 15:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:27:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:27:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:27:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:27:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:27:03] Production.INFO: ==32690== Lock acquired, processing the job... [2025-03-09 15:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:27:03] Production.INFO: Total Charge 0 [2025-03-09 15:27:03] Production.INFO: CreateAllLog End [2025-03-09 15:27:03] Production.INFO: ==32682== Releasing lock... [2025-03-09 15:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:27:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:27:03] Production.INFO: count ==13 [2025-03-09 15:27:03] Production.INFO: Account Balance End. [2025-03-09 15:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:27:03] Production.INFO: count ==21 [2025-03-09 15:27:03] Production.ERROR: CronJobId end 12 [2025-03-09 15:27:03] Production.ERROR: done [2025-03-09 15:27:03] Production.INFO: ==32686== Releasing lock... [2025-03-09 15:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:27:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:27:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643096') start [2025-03-09 15:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643096') end [2025-03-09 15:27:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:27:03] Production.INFO: 1 [2025-03-09 15:27:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:27:03] Production.INFO: ==32690== Releasing lock... [2025-03-09 15:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:27:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:27:03] Production.ERROR: done [2025-03-09 15:27:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:27:04 [end_date_ymd] => 2025-03-09 15:27:04 [RateCDR] => 1 ) [2025-03-09 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-09 12:27:04' and `end` < '2025-03-09 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-09 15:27:11] Production.ERROR: CronJobId end10 [2025-03-09 15:27:11] Production.INFO: ==32684== Releasing lock... [2025-03-09 15:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:27:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:27:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:27:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:27:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:27:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:27:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:27:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:27:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:27:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:27:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:27:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:27:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:27:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:27:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:27:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:27:13] Production.INFO: call_cost start [2025-03-09 15:27:13] Production.INFO: call_cost end [2025-03-09 15:27:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:27:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:27:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:27:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:27:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:27:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:27:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:27:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:27:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:27:14] Production.INFO: ==32680== Releasing lock... [2025-03-09 15:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:27:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:27:17] Production.INFO: count ==899 [2025-03-09 15:27:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:27:04 - End Time 2025-03-09 15:27:04 [2025-03-09 15:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643097', 'tblTempUsageDetail_20' ) start [2025-03-09 15:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643097', 'tblTempUsageDetail_20' ) end [2025-03-09 15:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643097', 'tblTempVendorCDR_20' ) start [2025-03-09 15:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643097', 'tblTempVendorCDR_20' ) end [2025-03-09 15:27:17] Production.INFO: ProcessCDR(1,14643097,1,1,2) [2025-03-09 15:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643097', 'tblTempUsageDetail_20' ) start [2025-03-09 15:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643097', 'tblTempUsageDetail_20' ) end [2025-03-09 15:27:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:27:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:27:22] Production.INFO: ==32688== Releasing lock... [2025-03-09 15:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:27:22] Production.INFO: 34.75 MB #Memory Used# [2025-03-09 19:28:01] Production.INFO: ==32745== Lock acquired, processing the job... [2025-03-09 19:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:28:01] Production.INFO: neon service started [2025-03-09 19:28:02] Production.INFO: neon service started [2025-03-09 19:28:02] Production.INFO: ==32745== Releasing lock... [2025-03-09 19:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:28:02] Production.INFO: ==32747== Lock acquired, processing the job... [2025-03-09 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:28:02] Production.INFO: ==32749== Lock acquired, processing the job... [2025-03-09 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:28:02] Production.INFO: ==32747== Releasing lock... [2025-03-09 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:28:02] Production.INFO: ==32749== Releasing lock... [2025-03-09 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:28:03] Production.INFO: ==32754== Lock acquired, processing the job... [2025-03-09 15:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:28:03] Production.INFO: ==32756== Lock acquired, processing the job... [2025-03-09 15:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:28:03] Production.INFO: ==32752== Lock acquired, processing the job... [2025-03-09 15:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:28:03] Production.INFO: ==32760== Lock acquired, processing the job... [2025-03-09 15:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:28:03] Production.INFO: ==32758== Lock acquired, processing the job... [2025-03-09 15:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:28:03] Production.INFO: ==32762== Lock acquired, processing the job... [2025-03-09 15:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:28:03] Production.INFO: Account Balance Start. [2025-03-09 15:28:03] Production.INFO: CreateAllLog Start [2025-03-09 15:28:03] Production.INFO: 117 [2025-03-09 15:28:03] Production.INFO: ==32754== Releasing lock... [2025-03-09 15:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:28:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:28:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:28:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:28:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:28:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:28:03] Production.INFO: Total Charge 0 [2025-03-09 15:28:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 15:28:04] Production.INFO: count ==13 [2025-03-09 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-09 15:28:04] Production.INFO: count ==21 [2025-03-09 15:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643101') start [2025-03-09 15:28:04] Production.ERROR: done [2025-03-09 15:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643101') end [2025-03-09 15:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:28:04] Production.INFO: 1 [2025-03-09 15:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:28:04] Production.INFO: ==32762== Releasing lock... [2025-03-09 15:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:28:04] Production.INFO: Account Balance End. [2025-03-09 15:28:04] Production.ERROR: done [2025-03-09 15:28:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:28:04] Production.INFO: ==32758== Releasing lock... [2025-03-09 15:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:28:05 [end_date_ymd] => 2025-03-09 15:28:05 [RateCDR] => 1 ) [2025-03-09 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-09 12:28:05' and `end` < '2025-03-09 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-09 15:28:12] Production.ERROR: CronJobId end10 [2025-03-09 15:28:12] Production.INFO: ==32756== Releasing lock... [2025-03-09 15:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:28:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:28:15] Production.INFO: call_cost start [2025-03-09 15:28:15] Production.INFO: call_cost end [2025-03-09 15:28:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:28:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:28:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:28:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:28:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:28:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:28:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:28:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:28:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:28:16] Production.INFO: ==32752== Releasing lock... [2025-03-09 15:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:28:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:28:17] Production.INFO: count ==899 [2025-03-09 15:28:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:28:05 - End Time 2025-03-09 15:28:05 [2025-03-09 15:28:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643102', 'tblTempUsageDetail_20' ) start [2025-03-09 15:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643102', 'tblTempUsageDetail_20' ) end [2025-03-09 15:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643102', 'tblTempVendorCDR_20' ) start [2025-03-09 15:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643102', 'tblTempVendorCDR_20' ) end [2025-03-09 15:28:17] Production.INFO: ProcessCDR(1,14643102,1,1,2) [2025-03-09 15:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643102', 'tblTempUsageDetail_20' ) start [2025-03-09 15:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643102', 'tblTempUsageDetail_20' ) end [2025-03-09 15:28:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:28:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:28:22] Production.INFO: ==32760== Releasing lock... [2025-03-09 15:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:28:22] Production.INFO: 35 MB #Memory Used# [2025-03-09 19:29:01] Production.INFO: ==367== Lock acquired, processing the job... [2025-03-09 19:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:29:01] Production.INFO: neon service started [2025-03-09 19:29:01] Production.INFO: neon service started [2025-03-09 19:29:01] Production.INFO: ==367== Releasing lock... [2025-03-09 19:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:29:01] Production.INFO: ==369== Lock acquired, processing the job... [2025-03-09 15:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:29:02] Production.INFO: ==369== Releasing lock... [2025-03-09 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:29:02] Production.INFO: ==371== Lock acquired, processing the job... [2025-03-09 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:29:02] Production.INFO: ==371== Releasing lock... [2025-03-09 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:29:02] Production.INFO: ==382== Lock acquired, processing the job... [2025-03-09 15:29:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:29:03] Production.INFO: ==384== Lock acquired, processing the job... [2025-03-09 15:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:29:03] Production.INFO: ==374== Lock acquired, processing the job... [2025-03-09 15:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:29:03] Production.INFO: ==376== Lock acquired, processing the job... [2025-03-09 15:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:29:03] Production.INFO: ==378== Lock acquired, processing the job... [2025-03-09 15:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:29:03] Production.INFO: ==380== Lock acquired, processing the job... [2025-03-09 15:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:29:03] Production.INFO: count ==13 [2025-03-09 15:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:29:03] Production.INFO: count ==21 [2025-03-09 15:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643103') start [2025-03-09 15:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:29:03] Production.INFO: Account Balance Start. [2025-03-09 15:29:03] Production.INFO: CreateAllLog Start [2025-03-09 15:29:03] Production.INFO: 117 [2025-03-09 15:29:03] Production.ERROR: done [2025-03-09 15:29:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:29:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643103') end [2025-03-09 15:29:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:29:03] Production.INFO: 1 [2025-03-09 15:29:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:29:03] Production.INFO: ==384== Releasing lock... [2025-03-09 15:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:29:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:29:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:29:03] Production.ERROR: done [2025-03-09 15:29:03] Production.INFO: ==376== Releasing lock... [2025-03-09 15:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:29:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:29:03] Production.INFO: Total Charge 0 [2025-03-09 15:29:03] Production.INFO: CreateAllLog End [2025-03-09 15:29:03] Production.INFO: Account Balance End. [2025-03-09 15:29:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:29:04] Production.INFO: ==380== Releasing lock... [2025-03-09 15:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:29:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:29:04 [end_date_ymd] => 2025-03-09 15:29:04 [RateCDR] => 1 ) [2025-03-09 15:29:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:29:04' and `end` < '2025-03-09 15:29:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:29:11] Production.ERROR: CronJobId end10 [2025-03-09 15:29:11] Production.INFO: ==378== Releasing lock... [2025-03-09 15:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:29:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:29:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:29:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:29:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:29:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:29:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:29:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:29:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:29:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:29:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:29:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:29:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:29:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:29:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:29:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:29:14] Production.INFO: call_cost start [2025-03-09 15:29:14] Production.INFO: call_cost end [2025-03-09 15:29:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:29:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:29:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:29:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:29:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:29:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:29:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:29:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:29:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:29:15] Production.INFO: ==374== Releasing lock... [2025-03-09 15:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:29:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:29:16] Production.INFO: count ==902 [2025-03-09 15:29:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:29:04 - End Time 2025-03-09 15:29:04 [2025-03-09 15:29:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643107', 'tblTempUsageDetail_20' ) start [2025-03-09 15:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643107', 'tblTempUsageDetail_20' ) end [2025-03-09 15:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643107', 'tblTempVendorCDR_20' ) start [2025-03-09 15:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643107', 'tblTempVendorCDR_20' ) end [2025-03-09 15:29:17] Production.INFO: ProcessCDR(1,14643107,1,1,2) [2025-03-09 15:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643107', 'tblTempUsageDetail_20' ) start [2025-03-09 15:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643107', 'tblTempUsageDetail_20' ) end [2025-03-09 15:29:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:29:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:29:21] Production.INFO: ==382== Releasing lock... [2025-03-09 15:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:29:21] Production.INFO: 35.25 MB #Memory Used# [2025-03-09 19:30:01] Production.INFO: ==441== Lock acquired, processing the job... [2025-03-09 19:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:30:01] Production.INFO: neon service started [2025-03-09 19:30:01] Production.INFO: neon service started [2025-03-09 19:30:01] Production.INFO: ==441== Releasing lock... [2025-03-09 19:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:30:02] Production.INFO: ==443== Lock acquired, processing the job... [2025-03-09 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:30:02] Production.INFO: ==445== Lock acquired, processing the job... [2025-03-09 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:30:02] Production.INFO: ==445== Releasing lock... [2025-03-09 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:30:02] Production.INFO: ==443== Releasing lock... [2025-03-09 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:30:03] Production.INFO: ==449== Lock acquired, processing the job... [2025-03-09 15:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:30:03] Production.INFO: ==451== Lock acquired, processing the job... [2025-03-09 15:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:30:03] Production.INFO: ==460== Lock acquired, processing the job... [2025-03-09 15:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 15:30:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:30:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:30:03] Production.INFO: ==447== Lock acquired, processing the job... [2025-03-09 15:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 15:30:04] Production.INFO: ==456== Lock acquired, processing the job... [2025-03-09 15:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:30:04] Production.INFO: ==453== Lock acquired, processing the job... [2025-03-09 15:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:30:04] Production.INFO: ==458== Lock acquired, processing the job... [2025-03-09 15:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 15:30:04] Production.INFO: ==451== Releasing lock... [2025-03-09 15:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 15:30:04] Production.ERROR: CronJob PID - 449 [2025-03-09 15:30:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 15:30:04] Production.ERROR: CronJob ID - 5 [2025-03-09 15:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 15:30:00 [2025-03-09 15:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 15:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 15:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 15:30:04] Production.ERROR: CronJob PID - 456 [2025-03-09 15:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 15:30:04] Production.ERROR: CronJob ID - 12 [2025-03-09 15:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 15:30:00 [2025-03-09 15:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 15:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 15:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 15:30:04] Production.ERROR: CronJob PID - 460 [2025-03-09 15:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-09 15:30:04] Production.ERROR: CronJob ID - 17 [2025-03-09 15:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 15:30:00 [2025-03-09 15:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 15:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 15:30:04] Production.INFO: ==462== Lock acquired, processing the job... [2025-03-09 15:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 15:30:04] Production.INFO: ==447== Releasing lock... [2025-03-09 15:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 15:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 15:30:04] Production.INFO: Account Balance Start. [2025-03-09 15:30:04] Production.INFO: CreateAllLog Start [2025-03-09 15:30:04] Production.INFO: 117 [2025-03-09 15:30:04] Production.ERROR: done [2025-03-09 15:30:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:30:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 15:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643112', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 15:30:04] Production.INFO: count ==13 [2025-03-09 15:30:04] Production.INFO: Total Charge 0 [2025-03-09 15:30:04] Production.INFO: CreateAllLog End [2025-03-09 15:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:30:04] Production.INFO: count ==21 [2025-03-09 15:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643111') start [2025-03-09 15:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643111') end [2025-03-09 15:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:30:04] Production.INFO: 1 [2025-03-09 15:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:30:04] Production.ERROR: done [2025-03-09 15:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:30:04] Production.INFO: Account Balance End. [2025-03-09 15:30:04] Production.INFO: ==462== Releasing lock... [2025-03-09 15:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:30:05] Production.ERROR: CronJobId end 12 [2025-03-09 15:30:05] Production.INFO: ==456== Releasing lock... [2025-03-09 15:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:30:05] Production.ERROR: done [2025-03-09 15:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:30:06 [end_date_ymd] => 2025-03-09 15:30:06 [RateCDR] => 1 ) [2025-03-09 15:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:30:06' and `end` < '2025-03-09 15:30:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643112', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 15:30:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 15:30:08] Production.INFO: ProcessCDR(1,14643112,1,1,2) [2025-03-09 15:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14643112,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14643112,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:30:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:30:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:30:08] Production.INFO: ==460== Releasing lock... [2025-03-09 15:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 15:30:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 15:30:14] Production.ERROR: CronJobId end10 [2025-03-09 15:30:14] Production.INFO: ==453== Releasing lock... [2025-03-09 15:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:30:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:30:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:30:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:30:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:30:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:30:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:30:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:30:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:30:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:30:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:30:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:30:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:30:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:30:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:30:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:30:16] Production.INFO: call_cost start [2025-03-09 15:30:16] Production.INFO: call_cost end [2025-03-09 15:30:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:30:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:30:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:30:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:30:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:30:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:30:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:30:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:30:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:30:17] Production.INFO: ==449== Releasing lock... [2025-03-09 15:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:30:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:30:18] Production.INFO: count ==926 [2025-03-09 15:30:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:30:06 - End Time 2025-03-09 15:30:06 [2025-03-09 15:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643113', 'tblTempUsageDetail_20' ) start [2025-03-09 15:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643113', 'tblTempUsageDetail_20' ) end [2025-03-09 15:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643113', 'tblTempVendorCDR_20' ) start [2025-03-09 15:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643113', 'tblTempVendorCDR_20' ) end [2025-03-09 15:30:18] Production.INFO: ProcessCDR(1,14643113,1,1,2) [2025-03-09 15:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643113', 'tblTempUsageDetail_20' ) start [2025-03-09 15:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643113', 'tblTempUsageDetail_20' ) end [2025-03-09 15:30:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:30:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:30:23] Production.INFO: ==458== Releasing lock... [2025-03-09 15:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:30:23] Production.INFO: 35 MB #Memory Used# [2025-03-09 19:31:02] Production.INFO: ==518== Lock acquired, processing the job... [2025-03-09 19:31:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:31:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:31:02] Production.INFO: neon service started [2025-03-09 19:31:02] Production.INFO: neon service started [2025-03-09 19:31:02] Production.INFO: ==518== Releasing lock... [2025-03-09 19:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:31:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:31:02] Production.INFO: ==520== Lock acquired, processing the job... [2025-03-09 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:31:02] Production.INFO: ==522== Lock acquired, processing the job... [2025-03-09 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:31:03] Production.INFO: ==522== Releasing lock... [2025-03-09 19:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:31:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:31:03] Production.INFO: ==520== Releasing lock... [2025-03-09 15:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:31:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:31:04] Production.INFO: ==535== Lock acquired, processing the job... [2025-03-09 15:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:31:04] Production.INFO: ==529== Lock acquired, processing the job... [2025-03-09 15:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:31:04] Production.INFO: ==525== Lock acquired, processing the job... [2025-03-09 15:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:31:04] Production.INFO: ==527== Lock acquired, processing the job... [2025-03-09 15:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:31:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:31:04] Production.INFO: count ==13 [2025-03-09 15:31:04] Production.INFO: ==531== Lock acquired, processing the job... [2025-03-09 15:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:31:04] Production.INFO: count ==21 [2025-03-09 15:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643114') start [2025-03-09 15:31:04] Production.INFO: ==533== Lock acquired, processing the job... [2025-03-09 15:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643114') end [2025-03-09 15:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:31:04] Production.INFO: 1 [2025-03-09 15:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:31:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:31:04] Production.INFO: Account Balance Start. [2025-03-09 15:31:04] Production.INFO: CreateAllLog Start [2025-03-09 15:31:04] Production.INFO: 117 [2025-03-09 15:31:04] Production.INFO: ==535== Releasing lock... [2025-03-09 15:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:31:04] Production.INFO: ==527== Releasing lock... [2025-03-09 15:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:31:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:31:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:31:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:31:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:31:04] Production.ERROR: done [2025-03-09 15:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:31:04] Production.INFO: Total Charge 0 [2025-03-09 15:31:04] Production.INFO: CreateAllLog End [2025-03-09 15:31:05] Production.ERROR: done [2025-03-09 15:31:05] Production.INFO: Account Balance End. [2025-03-09 15:31:05] Production.ERROR: CronJobId end 12 [2025-03-09 15:31:05] Production.INFO: ==531== Releasing lock... [2025-03-09 15:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:31:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:31:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:31:06 [end_date_ymd] => 2025-03-09 15:31:06 [RateCDR] => 1 ) [2025-03-09 15: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-09 12:31:06' and `end` < '2025-03-09 15: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-09 15:31:13] Production.ERROR: CronJobId end10 [2025-03-09 15:31:13] Production.INFO: ==529== Releasing lock... [2025-03-09 15:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:31:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:31:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:31:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:31:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:31:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:31:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:31:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:31:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:31:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:31:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:31:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:31:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:31:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:31:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:31:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:31:14] Production.INFO: call_cost start [2025-03-09 15:31:14] Production.INFO: call_cost end [2025-03-09 15:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:31:15] Production.INFO: ==525== Releasing lock... [2025-03-09 15:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:31:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:31:18] Production.INFO: count ==967 [2025-03-09 15:31:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:31:06 - End Time 2025-03-09 15:31:06 [2025-03-09 15:31:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643118', 'tblTempUsageDetail_20' ) start [2025-03-09 15:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643118', 'tblTempUsageDetail_20' ) end [2025-03-09 15:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643118', 'tblTempVendorCDR_20' ) start [2025-03-09 15:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643118', 'tblTempVendorCDR_20' ) end [2025-03-09 15:31:18] Production.INFO: ProcessCDR(1,14643118,1,1,2) [2025-03-09 15:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643118', 'tblTempUsageDetail_20' ) start [2025-03-09 15:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643118', 'tblTempUsageDetail_20' ) end [2025-03-09 15:31:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:31:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:31:23] Production.INFO: ==533== Releasing lock... [2025-03-09 15:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:31:23] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 19:32:01] Production.INFO: ==595== Lock acquired, processing the job... [2025-03-09 19:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:32:01] Production.INFO: neon service started [2025-03-09 19:32:01] Production.INFO: neon service started [2025-03-09 19:32:01] Production.INFO: ==595== Releasing lock... [2025-03-09 19:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:32:02] Production.INFO: ==597== Lock acquired, processing the job... [2025-03-09 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:32:02] Production.INFO: ==599== Lock acquired, processing the job... [2025-03-09 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:32:02] Production.INFO: ==599== Releasing lock... [2025-03-09 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:32:02] Production.INFO: ==597== Releasing lock... [2025-03-09 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:32:03] Production.INFO: ==604== Lock acquired, processing the job... [2025-03-09 15:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:32:03] Production.INFO: ==608== Lock acquired, processing the job... [2025-03-09 15:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:32:03] Production.INFO: ==602== Lock acquired, processing the job... [2025-03-09 15:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:32:03] Production.INFO: ==610== Lock acquired, processing the job... [2025-03-09 15:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:32:03] Production.INFO: ==612== Lock acquired, processing the job... [2025-03-09 15:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:32:03] Production.INFO: Account Balance Start. [2025-03-09 15:32:03] Production.INFO: CreateAllLog Start [2025-03-09 15:32:03] Production.INFO: 117 [2025-03-09 15:32:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:32:04] Production.INFO: ==616== Lock acquired, processing the job... [2025-03-09 15:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:32:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:32:04] Production.INFO: Total Charge 0 [2025-03-09 15:32:04] Production.INFO: CreateAllLog End [2025-03-09 15:32:04] Production.INFO: ==604== Releasing lock... [2025-03-09 15:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:32:04] Production.INFO: Account Balance End. [2025-03-09 15:32:04] Production.ERROR: done [2025-03-09 15:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:32:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:32:04] Production.INFO: ==610== Releasing lock... [2025-03-09 15:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:32:04] Production.INFO: count ==13 [2025-03-09 15:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:32:04] Production.INFO: count ==21 [2025-03-09 15:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643122') start [2025-03-09 15:32:04] Production.ERROR: done [2025-03-09 15:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643122') end [2025-03-09 15:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:32:04] Production.INFO: 1 [2025-03-09 15:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:32:04] Production.INFO: ==616== Releasing lock... [2025-03-09 15:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:32:05 [end_date_ymd] => 2025-03-09 15:32:05 [RateCDR] => 1 ) [2025-03-09 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-09 12:32:05' and `end` < '2025-03-09 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-09 15:32:11] Production.ERROR: CronJobId end10 [2025-03-09 15:32:11] Production.INFO: ==608== Releasing lock... [2025-03-09 15:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:32:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:32:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:32:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:32:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:32:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:32:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:32:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:32:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:32:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:32:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:32:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:32:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:32:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:32:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:32:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:32:14] Production.INFO: call_cost start [2025-03-09 15:32:14] Production.INFO: call_cost end [2025-03-09 15:32:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:32:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:32:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:32:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:32:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:32:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:32:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:32:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:32:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:32:15] Production.INFO: ==602== Releasing lock... [2025-03-09 15:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:32:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:32:17] Production.INFO: count ==966 [2025-03-09 15:32:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:32:05 - End Time 2025-03-09 15:32:05 [2025-03-09 15:32:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643123', 'tblTempUsageDetail_20' ) start [2025-03-09 15:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643123', 'tblTempUsageDetail_20' ) end [2025-03-09 15:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643123', 'tblTempVendorCDR_20' ) start [2025-03-09 15:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643123', 'tblTempVendorCDR_20' ) end [2025-03-09 15:32:17] Production.INFO: ProcessCDR(1,14643123,1,1,2) [2025-03-09 15:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643123', 'tblTempUsageDetail_20' ) start [2025-03-09 15:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643123', 'tblTempUsageDetail_20' ) end [2025-03-09 15:32:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:32:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:32:22] Production.INFO: ==612== Releasing lock... [2025-03-09 15:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:32:22] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 19:33:02] Production.INFO: ==696== Lock acquired, processing the job... [2025-03-09 19:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:33:02] Production.INFO: neon service started [2025-03-09 19:33:02] Production.INFO: neon service started [2025-03-09 19:33:02] Production.INFO: ==696== Releasing lock... [2025-03-09 19:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:33:02] Production.INFO: ==700== Lock acquired, processing the job... [2025-03-09 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:33:02] Production.INFO: ==700== Releasing lock... [2025-03-09 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:33:02] Production.INFO: ==698== Lock acquired, processing the job... [2025-03-09 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:33:03] Production.INFO: ==698== Releasing lock... [2025-03-09 15:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:33:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:33:03] Production.INFO: ==706== Lock acquired, processing the job... [2025-03-09 15:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:33:03] Production.INFO: ==709== Lock acquired, processing the job... [2025-03-09 15:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:33:03] Production.INFO: ==711== Lock acquired, processing the job... [2025-03-09 15:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:33:04] Production.INFO: ==713== Lock acquired, processing the job... [2025-03-09 15:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:33:04] Production.INFO: ==709== Releasing lock... [2025-03-09 15:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:33:04] Production.INFO: ==717== Lock acquired, processing the job... [2025-03-09 15:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:33:04] Production.INFO: ==715== Lock acquired, processing the job... [2025-03-09 15:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:33:04] Production.INFO: Account Balance Start. [2025-03-09 15:33:04] Production.INFO: CreateAllLog Start [2025-03-09 15:33:04] Production.INFO: 117 [2025-03-09 15:33:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:33:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:33:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:33:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:33:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:33:04] Production.INFO: Total Charge 0 [2025-03-09 15:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:33:04] Production.INFO: CreateAllLog End [2025-03-09 15:33:04] Production.INFO: count ==13 [2025-03-09 15:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:33:04] Production.INFO: count ==21 [2025-03-09 15:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643127') start [2025-03-09 15:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643127') end [2025-03-09 15:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:33:04] Production.INFO: 1 [2025-03-09 15:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:33:04] Production.ERROR: done [2025-03-09 15:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:33:04] Production.INFO: ==717== Releasing lock... [2025-03-09 15:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:33:05] Production.INFO: Account Balance End. [2025-03-09 15:33:05] Production.ERROR: done [2025-03-09 15:33:05] Production.ERROR: CronJobId end 12 [2025-03-09 15:33:05] Production.INFO: ==713== Releasing lock... [2025-03-09 15:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:33:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:33:05 [end_date_ymd] => 2025-03-09 15:33:05 [RateCDR] => 1 ) [2025-03-09 15:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:33:05' and `end` < '2025-03-09 15:33:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:33:13] Production.ERROR: CronJobId end10 [2025-03-09 15:33:13] Production.INFO: ==711== Releasing lock... [2025-03-09 15:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:33:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:33:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:33:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:33:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:33:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:33:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:33:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:33:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:33:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:33:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:33:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:33:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:33:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:33:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:33:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:33:15] Production.INFO: call_cost start [2025-03-09 15:33:15] Production.INFO: call_cost end [2025-03-09 15:33:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:33:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:33:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:33:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:33:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:33:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:33:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:33:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:33:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:33:16] Production.INFO: ==706== Releasing lock... [2025-03-09 15:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:33:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:33:18] Production.INFO: count ==972 [2025-03-09 15:33:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:33:05 - End Time 2025-03-09 15:33:05 [2025-03-09 15:33:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643128', 'tblTempUsageDetail_20' ) start [2025-03-09 15:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643128', 'tblTempUsageDetail_20' ) end [2025-03-09 15:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643128', 'tblTempVendorCDR_20' ) start [2025-03-09 15:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643128', 'tblTempVendorCDR_20' ) end [2025-03-09 15:33:18] Production.INFO: ProcessCDR(1,14643128,1,1,2) [2025-03-09 15:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643128', 'tblTempUsageDetail_20' ) start [2025-03-09 15:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643128', 'tblTempUsageDetail_20' ) end [2025-03-09 15:33:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:33:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:33:23] Production.INFO: ==715== Releasing lock... [2025-03-09 15:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:33:23] Production.INFO: 35.5 MB #Memory Used# [2025-03-09 19:34:01] Production.INFO: ==780== Lock acquired, processing the job... [2025-03-09 19:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:34:01] Production.INFO: neon service started [2025-03-09 19:34:01] Production.INFO: neon service started [2025-03-09 19:34:01] Production.INFO: ==780== Releasing lock... [2025-03-09 19:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:34:02] Production.INFO: ==782== Lock acquired, processing the job... [2025-03-09 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:34:02] Production.INFO: ==784== Lock acquired, processing the job... [2025-03-09 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:34:02] Production.INFO: ==784== Releasing lock... [2025-03-09 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:34:02] Production.INFO: ==782== Releasing lock... [2025-03-09 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:34:03] Production.INFO: ==791== Lock acquired, processing the job... [2025-03-09 15:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:34:03] Production.INFO: ==797== Lock acquired, processing the job... [2025-03-09 15:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:34:03] Production.INFO: ==789== Lock acquired, processing the job... [2025-03-09 15:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:34:03] Production.INFO: ==787== Lock acquired, processing the job... [2025-03-09 15:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:34:03] Production.INFO: ==793== Lock acquired, processing the job... [2025-03-09 15:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:34:03] Production.INFO: count ==13 [2025-03-09 15:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:34:03] Production.INFO: count ==21 [2025-03-09 15:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643129') start [2025-03-09 15:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:34:03] Production.INFO: ==795== Lock acquired, processing the job... [2025-03-09 15:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643129') end [2025-03-09 15:34:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:34:03] Production.INFO: 1 [2025-03-09 15:34:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:34:03] Production.INFO: Account Balance Start. [2025-03-09 15:34:03] Production.INFO: CreateAllLog Start [2025-03-09 15:34:03] Production.INFO: 117 [2025-03-09 15:34:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:34:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:34:03] Production.INFO: ==797== Releasing lock... [2025-03-09 15:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:34:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:34:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:34:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:34:04] Production.INFO: ==789== Releasing lock... [2025-03-09 15:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:34:04] Production.INFO: Total Charge 0 [2025-03-09 15:34:04] Production.INFO: CreateAllLog End [2025-03-09 15:34:04] Production.ERROR: done [2025-03-09 15:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:34:04] Production.INFO: Account Balance End. [2025-03-09 15:34:04] Production.ERROR: done [2025-03-09 15:34:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:34:04] Production.INFO: ==793== Releasing lock... [2025-03-09 15:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:34:05 [end_date_ymd] => 2025-03-09 15:34:05 [RateCDR] => 1 ) [2025-03-09 15:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:34:05' and `end` < '2025-03-09 15:34:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:34:12] Production.ERROR: CronJobId end10 [2025-03-09 15:34:12] Production.INFO: ==791== Releasing lock... [2025-03-09 15:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:34:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:34:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:34:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:34:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:34:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:34:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:34:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:34:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:34:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:34:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:34:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:34:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:34:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:34:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:34:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:34:14] Production.INFO: call_cost start [2025-03-09 15:34:14] Production.INFO: call_cost end [2025-03-09 15:34:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:34:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:34:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:34:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:34:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:34:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:34:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:34:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:34:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:34:15] Production.INFO: ==787== Releasing lock... [2025-03-09 15:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:34:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:34:17] Production.INFO: count ==957 [2025-03-09 15:34:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:34:05 - End Time 2025-03-09 15:34:05 [2025-03-09 15:34:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643133', 'tblTempUsageDetail_20' ) start [2025-03-09 15:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643133', 'tblTempUsageDetail_20' ) end [2025-03-09 15:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643133', 'tblTempVendorCDR_20' ) start [2025-03-09 15:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643133', 'tblTempVendorCDR_20' ) end [2025-03-09 15:34:17] Production.INFO: ProcessCDR(1,14643133,1,1,2) [2025-03-09 15:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643133', 'tblTempUsageDetail_20' ) start [2025-03-09 15:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643133', 'tblTempUsageDetail_20' ) end [2025-03-09 15:34:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:34:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:34:22] Production.INFO: ==795== Releasing lock... [2025-03-09 15:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:34:22] Production.INFO: 35.5 MB #Memory Used# [2025-03-09 19:35:02] Production.INFO: ==862== Lock acquired, processing the job... [2025-03-09 19:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:35:02] Production.INFO: neon service started [2025-03-09 19:35:02] Production.INFO: neon service started [2025-03-09 19:35:02] Production.INFO: ==862== Releasing lock... [2025-03-09 19:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:35:02] Production.INFO: ==864== Lock acquired, processing the job... [2025-03-09 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:35:02] Production.INFO: ==864== Releasing lock... [2025-03-09 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:35:02] Production.INFO: ==866== Lock acquired, processing the job... [2025-03-09 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:35:02] Production.INFO: ==866== Releasing lock... [2025-03-09 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:35:03] Production.INFO: ==868== Lock acquired, processing the job... [2025-03-09 15:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:35:03] Production.INFO: ==874== Lock acquired, processing the job... [2025-03-09 15:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:35:03] Production.INFO: ==876== Lock acquired, processing the job... [2025-03-09 15:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:35:03] Production.INFO: Account Balance Start. [2025-03-09 15:35:03] Production.INFO: CreateAllLog Start [2025-03-09 15:35:03] Production.INFO: 117 [2025-03-09 15:35:03] Production.INFO: ==870== Lock acquired, processing the job... [2025-03-09 15:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:35:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:35:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:35:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:35:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:35:03] Production.INFO: ==872== Lock acquired, processing the job... [2025-03-09 15:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:35:03] Production.INFO: ==878== Lock acquired, processing the job... [2025-03-09 15:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:35:03] Production.INFO: Total Charge 0 [2025-03-09 15:35:03] Production.INFO: CreateAllLog End [2025-03-09 15:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:35:03] Production.ERROR: done [2025-03-09 15:35:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 15:35:04] Production.INFO: ==870== Releasing lock... [2025-03-09 15:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:35:04] Production.INFO: count ==13 [2025-03-09 15:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:35:04] Production.ERROR: done [2025-03-09 15:35:04] Production.INFO: count ==21 [2025-03-09 15:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643137') start [2025-03-09 15:35:04] Production.INFO: Account Balance End. [2025-03-09 15:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643137') end [2025-03-09 15:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:35:04] Production.INFO: 1 [2025-03-09 15:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:35:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:35:04] Production.INFO: ==874== Releasing lock... [2025-03-09 15:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:35:04] Production.INFO: ==878== Releasing lock... [2025-03-09 15:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:35:05 [end_date_ymd] => 2025-03-09 15:35:05 [RateCDR] => 1 ) [2025-03-09 15:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:35:05' and `end` < '2025-03-09 15:35:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:35:12] Production.ERROR: CronJobId end10 [2025-03-09 15:35:12] Production.INFO: ==872== Releasing lock... [2025-03-09 15:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:35:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:35:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:35:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:35:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:35:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:35:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:35:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:35:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:35:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:35:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:35:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:35:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:35:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:35:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:35:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:35:14] Production.INFO: call_cost start [2025-03-09 15:35:14] Production.INFO: call_cost end [2025-03-09 15:35:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:35:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:35:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:35:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:35:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:35:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:35:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:35:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:35:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:35:15] Production.INFO: ==868== Releasing lock... [2025-03-09 15:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:35:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:35:17] Production.INFO: count ==958 [2025-03-09 15:35:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:35:05 - End Time 2025-03-09 15:35:05 [2025-03-09 15:35:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643138', 'tblTempUsageDetail_20' ) start [2025-03-09 15:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643138', 'tblTempUsageDetail_20' ) end [2025-03-09 15:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643138', 'tblTempVendorCDR_20' ) start [2025-03-09 15:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643138', 'tblTempVendorCDR_20' ) end [2025-03-09 15:35:17] Production.INFO: ProcessCDR(1,14643138,1,1,2) [2025-03-09 15:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643138', 'tblTempUsageDetail_20' ) start [2025-03-09 15:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643138', 'tblTempUsageDetail_20' ) end [2025-03-09 15:35:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:35:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:35:21] Production.INFO: ==876== Releasing lock... [2025-03-09 15:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:35:21] Production.INFO: 36 MB #Memory Used# [2025-03-09 19:36:01] Production.INFO: ==932== Lock acquired, processing the job... [2025-03-09 19:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:36:01] Production.INFO: neon service started [2025-03-09 19:36:01] Production.INFO: neon service started [2025-03-09 19:36:01] Production.INFO: ==932== Releasing lock... [2025-03-09 19:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:36:02] Production.INFO: ==934== Lock acquired, processing the job... [2025-03-09 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:36:02] Production.INFO: ==936== Lock acquired, processing the job... [2025-03-09 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:36:02] Production.INFO: ==936== Releasing lock... [2025-03-09 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:36:02] Production.INFO: ==934== Releasing lock... [2025-03-09 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:36:03] Production.INFO: ==943== Lock acquired, processing the job... [2025-03-09 15:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:36:03] Production.INFO: ==949== Lock acquired, processing the job... [2025-03-09 15:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:36:03] Production.INFO: count ==13 [2025-03-09 15:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:36:03] Production.INFO: count ==21 [2025-03-09 15:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643139') start [2025-03-09 15:36:03] Production.INFO: ==939== Lock acquired, processing the job... [2025-03-09 15:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:36:03] Production.INFO: ==941== Lock acquired, processing the job... [2025-03-09 15:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:36:03] Production.INFO: ==945== Lock acquired, processing the job... [2025-03-09 15:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643139') end [2025-03-09 15:36:03] Production.INFO: ==947== Lock acquired, processing the job... [2025-03-09 15:36:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:36:03] Production.INFO: 1 [2025-03-09 15:36:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:36:03] Production.INFO: ==949== Releasing lock... [2025-03-09 15:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:36:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:36:03] Production.INFO: Account Balance Start. [2025-03-09 15:36:03] Production.INFO: CreateAllLog Start [2025-03-09 15:36:03] Production.INFO: 117 [2025-03-09 15:36:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:36:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:36:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:36:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:36:03] Production.INFO: Total Charge 0 [2025-03-09 15:36:04] Production.INFO: CreateAllLog End [2025-03-09 15:36:04] Production.INFO: ==941== Releasing lock... [2025-03-09 15:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:36:04] Production.INFO: Account Balance End. [2025-03-09 15:36:04] Production.ERROR: done [2025-03-09 15:36:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:36:04] Production.INFO: ==945== Releasing lock... [2025-03-09 15:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:36:04] Production.ERROR: done [2025-03-09 15:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:36:05 [end_date_ymd] => 2025-03-09 15:36:05 [RateCDR] => 1 ) [2025-03-09 15:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:36:05' and `end` < '2025-03-09 15:36:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:36:11] Production.ERROR: CronJobId end10 [2025-03-09 15:36:11] Production.INFO: ==943== Releasing lock... [2025-03-09 15:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:36:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:36:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:36:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:36:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:36:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:36:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:36:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:36:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:36:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:36:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:36:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:36:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:36:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:36:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:36:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:36:13] Production.INFO: call_cost start [2025-03-09 15:36:13] Production.INFO: call_cost end [2025-03-09 15:36:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:36:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:36:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:36:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:36:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:36:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:36:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:36:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:36:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:36:14] Production.INFO: ==939== Releasing lock... [2025-03-09 15:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:36:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:36:17] Production.INFO: count ==963 [2025-03-09 15:36:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:36:05 - End Time 2025-03-09 15:36:05 [2025-03-09 15:36:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643143', 'tblTempUsageDetail_20' ) start [2025-03-09 15:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643143', 'tblTempUsageDetail_20' ) end [2025-03-09 15:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643143', 'tblTempVendorCDR_20' ) start [2025-03-09 15:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643143', 'tblTempVendorCDR_20' ) end [2025-03-09 15:36:17] Production.INFO: ProcessCDR(1,14643143,1,1,2) [2025-03-09 15:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643143', 'tblTempUsageDetail_20' ) start [2025-03-09 15:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643143', 'tblTempUsageDetail_20' ) end [2025-03-09 15:36:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:36:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:36:22] Production.INFO: ==947== Releasing lock... [2025-03-09 15:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:36:22] Production.INFO: 35.5 MB #Memory Used# [2025-03-09 19:37:01] Production.INFO: ==1007== Lock acquired, processing the job... [2025-03-09 19:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:37:01] Production.INFO: neon service started [2025-03-09 19:37:01] Production.INFO: neon service started [2025-03-09 19:37:01] Production.INFO: ==1007== Releasing lock... [2025-03-09 19:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:37:02] Production.INFO: ==1009== Lock acquired, processing the job... [2025-03-09 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:37:02] Production.INFO: ==1011== Lock acquired, processing the job... [2025-03-09 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:37:02] Production.INFO: ==1011== Releasing lock... [2025-03-09 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:37:02] Production.INFO: ==1009== Releasing lock... [2025-03-09 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:37:03] Production.INFO: ==1013== Lock acquired, processing the job... [2025-03-09 15:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:37:03] Production.INFO: ==1019== Lock acquired, processing the job... [2025-03-09 15:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:37:03] Production.INFO: Account Balance Start. [2025-03-09 15:37:03] Production.INFO: CreateAllLog Start [2025-03-09 15:37:03] Production.INFO: 117 [2025-03-09 15:37:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:37:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:37:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:37:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:37:03] Production.INFO: ==1015== Lock acquired, processing the job... [2025-03-09 15:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:37:03] Production.INFO: Total Charge 0 [2025-03-09 15:37:03] Production.INFO: CreateAllLog End [2025-03-09 15:37:03] Production.INFO: ==1017== Lock acquired, processing the job... [2025-03-09 15:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:37:03] Production.INFO: Account Balance End. [2025-03-09 15:37:03] Production.ERROR: CronJobId end 12 [2025-03-09 15:37:03] Production.INFO: ==1019== Releasing lock... [2025-03-09 15:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:37:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:37:03] Production.INFO: ==1021== Lock acquired, processing the job... [2025-03-09 15:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:37:03] Production.INFO: ==1023== Lock acquired, processing the job... [2025-03-09 15:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:37:03] Production.INFO: ==1015== Releasing lock... [2025-03-09 15:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:37:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15: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-09 15:37:04] Production.INFO: count ==13 [2025-03-09 15: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-09 15:37:04] Production.INFO: count ==21 [2025-03-09 15:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643147') start [2025-03-09 15:37:04] Production.ERROR: done [2025-03-09 15:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643147') end [2025-03-09 15:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:37:04] Production.INFO: 1 [2025-03-09 15:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:37:04] Production.INFO: ==1023== Releasing lock... [2025-03-09 15:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:37:04] Production.ERROR: done [2025-03-09 15:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:37:05 [end_date_ymd] => 2025-03-09 15:37:05 [RateCDR] => 1 ) [2025-03-09 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-09 12:37:05' and `end` < '2025-03-09 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-09 15:37:12] Production.ERROR: CronJobId end10 [2025-03-09 15:37:12] Production.INFO: ==1017== Releasing lock... [2025-03-09 15:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:37:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:37:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:37:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:37:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:37:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:37:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:37:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:37:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:37:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:37:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:37:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:37:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:37:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:37:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:37:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:37:14] Production.INFO: call_cost start [2025-03-09 15:37:14] Production.INFO: call_cost end [2025-03-09 15:37:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:37:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:37:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:37:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:37:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:37:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:37:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:37:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:37:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:37:15] Production.INFO: ==1013== Releasing lock... [2025-03-09 15:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:37:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:37:17] Production.INFO: count ==964 [2025-03-09 15:37:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:37:05 - End Time 2025-03-09 15:37:05 [2025-03-09 15:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643148', 'tblTempUsageDetail_20' ) start [2025-03-09 15:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643148', 'tblTempUsageDetail_20' ) end [2025-03-09 15:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643148', 'tblTempVendorCDR_20' ) start [2025-03-09 15:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643148', 'tblTempVendorCDR_20' ) end [2025-03-09 15:37:17] Production.INFO: ProcessCDR(1,14643148,1,1,2) [2025-03-09 15:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643148', 'tblTempUsageDetail_20' ) start [2025-03-09 15:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643148', 'tblTempUsageDetail_20' ) end [2025-03-09 15:37:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:37:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:37:22] Production.INFO: ==1021== Releasing lock... [2025-03-09 15:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:37:22] Production.INFO: 35.5 MB #Memory Used# [2025-03-09 19:38:01] Production.INFO: ==1119== Lock acquired, processing the job... [2025-03-09 19:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:38:01] Production.INFO: neon service started [2025-03-09 19:38:01] Production.INFO: neon service started [2025-03-09 19:38:01] Production.INFO: ==1119== Releasing lock... [2025-03-09 19:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:38:01] Production.INFO: ==1121== Lock acquired, processing the job... [2025-03-09 15:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:38:02] Production.INFO: ==1121== Releasing lock... [2025-03-09 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:38:02] Production.INFO: ==1123== Lock acquired, processing the job... [2025-03-09 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:38:02] Production.INFO: ==1123== Releasing lock... [2025-03-09 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:38:02] Production.INFO: ==1125== Lock acquired, processing the job... [2025-03-09 15:38:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:38:02] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:38:02] Production.INFO: ==1129== Lock acquired, processing the job... [2025-03-09 15:38:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:38:03] Production.INFO: ==1133== Lock acquired, processing the job... [2025-03-09 15:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:38:03] Production.INFO: ==1139== Lock acquired, processing the job... [2025-03-09 15:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:38:03] Production.INFO: Account Balance Start. [2025-03-09 15:38:03] Production.INFO: CreateAllLog Start [2025-03-09 15:38:03] Production.INFO: 117 [2025-03-09 15:38:03] Production.INFO: count ==13 [2025-03-09 15:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:38:03] Production.INFO: count ==21 [2025-03-09 15:38:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:38:03] Production.INFO: ==1127== Lock acquired, processing the job... [2025-03-09 15:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643151') start [2025-03-09 15:38:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:38:03] Production.INFO: ==1135== Lock acquired, processing the job... [2025-03-09 15:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:38:03] Production.INFO: Total Charge 0 [2025-03-09 15:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643151') end [2025-03-09 15:38:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:38:03] Production.INFO: 1 [2025-03-09 15:38:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:38:03] Production.INFO: CreateAllLog End [2025-03-09 15:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:38:03] Production.INFO: ==1139== Releasing lock... [2025-03-09 15:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:38:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:38:03] Production.INFO: Account Balance End. [2025-03-09 15:38:03] Production.INFO: ==1127== Releasing lock... [2025-03-09 15:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:38:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:38:03] Production.ERROR: CronJobId end 12 [2025-03-09 15:38:03] Production.INFO: ==1133== Releasing lock... [2025-03-09 15:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:38:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:38:03] Production.ERROR: done [2025-03-09 15:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:38:04] Production.ERROR: done [2025-03-09 15:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:38:05 [end_date_ymd] => 2025-03-09 15:38:05 [RateCDR] => 1 ) [2025-03-09 15:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:38:05' and `end` < '2025-03-09 15:38:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:38:11] Production.ERROR: CronJobId end10 [2025-03-09 15:38:11] Production.INFO: ==1129== Releasing lock... [2025-03-09 15:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:38:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:38:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:38:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:38:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:38:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:38:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:38:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:38:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:38:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:38:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:38:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:38:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:38:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:38:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:38:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:38:13] Production.INFO: call_cost start [2025-03-09 15:38:13] Production.INFO: call_cost end [2025-03-09 15:38:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:38:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:38:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:38:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:38:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:38:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:38:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:38:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:38:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:38:14] Production.INFO: ==1125== Releasing lock... [2025-03-09 15:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:38:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:38:17] Production.INFO: count ==966 [2025-03-09 15:38:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:38:05 - End Time 2025-03-09 15:38:05 [2025-03-09 15:38:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643153', 'tblTempUsageDetail_20' ) start [2025-03-09 15:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643153', 'tblTempUsageDetail_20' ) end [2025-03-09 15:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643153', 'tblTempVendorCDR_20' ) start [2025-03-09 15:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643153', 'tblTempVendorCDR_20' ) end [2025-03-09 15:38:17] Production.INFO: ProcessCDR(1,14643153,1,1,2) [2025-03-09 15:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643153', 'tblTempUsageDetail_20' ) start [2025-03-09 15:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643153', 'tblTempUsageDetail_20' ) end [2025-03-09 15:38:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:38:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:38:22] Production.INFO: ==1135== Releasing lock... [2025-03-09 15:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:38:22] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 19:39:01] Production.INFO: ==1197== Lock acquired, processing the job... [2025-03-09 19:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:39:01] Production.INFO: neon service started [2025-03-09 19:39:01] Production.INFO: neon service started [2025-03-09 19:39:01] Production.INFO: ==1197== Releasing lock... [2025-03-09 19:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:39:02] Production.INFO: ==1199== Lock acquired, processing the job... [2025-03-09 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:39:02] Production.INFO: ==1199== Releasing lock... [2025-03-09 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:39:02] Production.INFO: ==1201== Lock acquired, processing the job... [2025-03-09 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:39:02] Production.INFO: ==1201== Releasing lock... [2025-03-09 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:39:03] Production.INFO: ==1208== Lock acquired, processing the job... [2025-03-09 15:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:39:03] Production.INFO: ==1204== Lock acquired, processing the job... [2025-03-09 15:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:39:03] Production.INFO: ==1214== Lock acquired, processing the job... [2025-03-09 15:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:39:03] Production.INFO: ==1206== Lock acquired, processing the job... [2025-03-09 15:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:39:03] Production.INFO: ==1210== Lock acquired, processing the job... [2025-03-09 15:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:39:03] Production.INFO: count ==13 [2025-03-09 15:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:39:03] Production.INFO: count ==21 [2025-03-09 15:39:03] Production.INFO: ==1212== Lock acquired, processing the job... [2025-03-09 15:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643155') start [2025-03-09 15:39:03] Production.INFO: Account Balance Start. [2025-03-09 15:39:03] Production.INFO: CreateAllLog Start [2025-03-09 15:39:03] Production.INFO: 117 [2025-03-09 15:39:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:39:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643155') end [2025-03-09 15:39:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:39:03] Production.INFO: 1 [2025-03-09 15:39:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:39:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:39:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:39:03] Production.INFO: ==1214== Releasing lock... [2025-03-09 15:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:39:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:39:03] Production.INFO: Total Charge 0 [2025-03-09 15:39:03] Production.INFO: CreateAllLog End [2025-03-09 15:39:03] Production.INFO: ==1206== Releasing lock... [2025-03-09 15:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:39:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:39:04] Production.ERROR: done [2025-03-09 15:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:39:04] Production.ERROR: done [2025-03-09 15:39:04] Production.INFO: Account Balance End. [2025-03-09 15:39:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:39:04] Production.INFO: ==1210== Releasing lock... [2025-03-09 15:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:39:05 [end_date_ymd] => 2025-03-09 15:39:05 [RateCDR] => 1 ) [2025-03-09 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-09 12:39:05' and `end` < '2025-03-09 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-09 15:39:11] Production.ERROR: CronJobId end10 [2025-03-09 15:39:11] Production.INFO: ==1208== Releasing lock... [2025-03-09 15:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:39:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:39:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:39:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:39:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:39:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:39:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:39:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:39:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:39:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:39:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:39:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:39:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:39:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:39:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:39:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:39:14] Production.INFO: call_cost start [2025-03-09 15:39:14] Production.INFO: call_cost end [2025-03-09 15:39:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:39:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:39:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:39:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:39:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:39:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:39:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:39:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:39:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:39:14] Production.INFO: ==1204== Releasing lock... [2025-03-09 15:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:39:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:39:17] Production.INFO: count ==966 [2025-03-09 15:39:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:39:05 - End Time 2025-03-09 15:39:05 [2025-03-09 15:39:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643158', 'tblTempUsageDetail_20' ) start [2025-03-09 15:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643158', 'tblTempUsageDetail_20' ) end [2025-03-09 15:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643158', 'tblTempVendorCDR_20' ) start [2025-03-09 15:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643158', 'tblTempVendorCDR_20' ) end [2025-03-09 15:39:18] Production.INFO: ProcessCDR(1,14643158,1,1,2) [2025-03-09 15:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643158', 'tblTempUsageDetail_20' ) start [2025-03-09 15:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643158', 'tblTempUsageDetail_20' ) end [2025-03-09 15:39:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:39:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:39:22] Production.INFO: ==1212== Releasing lock... [2025-03-09 15:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:39:22] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 19:40:02] Production.INFO: ==1281== Lock acquired, processing the job... [2025-03-09 19:40:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:40:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:40:02] Production.INFO: neon service started [2025-03-09 19:40:02] Production.INFO: neon service started [2025-03-09 19:40:02] Production.INFO: ==1281== Releasing lock... [2025-03-09 19:40:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:40:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:40:02] Production.INFO: ==1285== Lock acquired, processing the job... [2025-03-09 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:40:02] Production.INFO: ==1285== Releasing lock... [2025-03-09 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:40:02] Production.INFO: ==1283== Lock acquired, processing the job... [2025-03-09 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:40:03] Production.INFO: ==1283== Releasing lock... [2025-03-09 15:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:40:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:40:04] Production.INFO: ==1292== Lock acquired, processing the job... [2025-03-09 15:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:40:04] Production.INFO: ==1290== Lock acquired, processing the job... [2025-03-09 15:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:40:04] Production.INFO: ==1302== Lock acquired, processing the job... [2025-03-09 15:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:40:04] Production.INFO: ==1288== Lock acquired, processing the job... [2025-03-09 15:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 15:40:04] Production.INFO: ==1300== Lock acquired, processing the job... [2025-03-09 15:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 15:40:04] Production.INFO: ==1294== Lock acquired, processing the job... [2025-03-09 15:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:40:04] Production.INFO: ==1296== Lock acquired, processing the job... [2025-03-09 15:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 15:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 15:40:04] Production.ERROR: CronJob PID - 1290 [2025-03-09 15:40:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 15:40:04] Production.ERROR: CronJob ID - 5 [2025-03-09 15:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 15:40:00 [2025-03-09 15:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 15:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 15:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 15:40:04] Production.ERROR: CronJob PID - 1292 [2025-03-09 15:40:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 15:40:04] Production.ERROR: CronJob ID - 7 [2025-03-09 15:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 15:40:00 [2025-03-09 15:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 15:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 15:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 15:40:04] Production.ERROR: CronJob PID - 1294 [2025-03-09 15:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 15:40:04] Production.ERROR: CronJob ID - 10 [2025-03-09 15:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 15:40:00 [2025-03-09 15:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 15:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 15:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 15:40:04] Production.ERROR: CronJob PID - 1300 [2025-03-09 15:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-09 15:40:04] Production.ERROR: CronJob ID - 17 [2025-03-09 15:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 15:40:00 [2025-03-09 15:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 15:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 15:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 15:40:04] Production.ERROR: CronJob PID - 1302 [2025-03-09 15:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 15:40:04] Production.ERROR: CronJob ID - 19 [2025-03-09 15:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 15:40:00 [2025-03-09 15:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 15:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 15:40:04] Production.INFO: ==1298== Lock acquired, processing the job... [2025-03-09 15:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:40:04] Production.INFO: count ==13 [2025-03-09 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-09 15:40:04] Production.INFO: count ==21 [2025-03-09 15:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 15:40:04] Production.INFO: ==1288== Releasing lock... [2025-03-09 15:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 15:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 15:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643160') start [2025-03-09 15:40:04] Production.INFO: ==1292== Releasing lock... [2025-03-09 15:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:40:04] Production.INFO: Account Balance Start. [2025-03-09 15:40:04] Production.INFO: CreateAllLog Start [2025-03-09 15:40:04] Production.INFO: 117 [2025-03-09 15:40:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:40:04] Production.ERROR: done [2025-03-09 15:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643160') end [2025-03-09 15:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:40:04] Production.INFO: 1 [2025-03-09 15:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:40:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 15:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643163', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 15:40:04] Production.INFO: Total Charge 0 [2025-03-09 15:40:04] Production.INFO: CreateAllLog End [2025-03-09 15:40:04] Production.INFO: ==1302== Releasing lock... [2025-03-09 15:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:40:05] Production.ERROR: done [2025-03-09 15:40:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:40:05] Production.ERROR: done [2025-03-09 15:40:05] Production.INFO: Account Balance End. [2025-03-09 15:40:05] Production.ERROR: CronJobId end 12 [2025-03-09 15:40:05] Production.INFO: ==1296== Releasing lock... [2025-03-09 15:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:40:06 [end_date_ymd] => 2025-03-09 15:40:06 [RateCDR] => 1 ) [2025-03-09 15:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:40:06' and `end` < '2025-03-09 15:40:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643163', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 15:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 15:40:09] Production.INFO: ProcessCDR(1,14643163,1,1,2) [2025-03-09 15:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14643163,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14643163,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:40:09] Production.INFO: ==1300== Releasing lock... [2025-03-09 15:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 15:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 15:40:14] Production.ERROR: CronJobId end10 [2025-03-09 15:40:14] Production.INFO: ==1294== Releasing lock... [2025-03-09 15:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:40:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:40:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:40:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:40:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:40:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:40:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:40:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:40:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:40:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:40:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:40:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:40:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:40:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:40:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:40:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:40:15] Production.INFO: call_cost start [2025-03-09 15:40:15] Production.INFO: call_cost end [2025-03-09 15:40:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:40:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:40:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:40:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:40:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:40:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:40:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:40:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:40:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:40:16] Production.INFO: ==1290== Releasing lock... [2025-03-09 15:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:40:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:40:18] Production.INFO: count ==967 [2025-03-09 15:40:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:40:06 - End Time 2025-03-09 15:40:06 [2025-03-09 15:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643164', 'tblTempUsageDetail_20' ) start [2025-03-09 15:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643164', 'tblTempUsageDetail_20' ) end [2025-03-09 15:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643164', 'tblTempVendorCDR_20' ) start [2025-03-09 15:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643164', 'tblTempVendorCDR_20' ) end [2025-03-09 15:40:19] Production.INFO: ProcessCDR(1,14643164,1,1,2) [2025-03-09 15:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643164', 'tblTempUsageDetail_20' ) start [2025-03-09 15:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643164', 'tblTempUsageDetail_20' ) end [2025-03-09 15:40:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:40:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:40:23] Production.INFO: ==1298== Releasing lock... [2025-03-09 15:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:40:23] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 19:41:01] Production.INFO: ==1357== Lock acquired, processing the job... [2025-03-09 19:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:41:01] Production.INFO: neon service started [2025-03-09 19:41:01] Production.INFO: neon service started [2025-03-09 19:41:01] Production.INFO: ==1357== Releasing lock... [2025-03-09 19:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:41:02] Production.INFO: ==1359== Lock acquired, processing the job... [2025-03-09 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:41:02] Production.INFO: ==1359== Releasing lock... [2025-03-09 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:41:02] Production.INFO: ==1361== Lock acquired, processing the job... [2025-03-09 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:41:02] Production.INFO: ==1361== Releasing lock... [2025-03-09 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:41:03] Production.INFO: ==1368== Lock acquired, processing the job... [2025-03-09 15:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:41:03] Production.INFO: ==1374== Lock acquired, processing the job... [2025-03-09 15:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:41:03] Production.INFO: ==1364== Lock acquired, processing the job... [2025-03-09 15:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:41:03] Production.INFO: ==1366== Lock acquired, processing the job... [2025-03-09 15:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:41:03] Production.INFO: count ==13 [2025-03-09 15:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:41:03] Production.INFO: count ==21 [2025-03-09 15:41:03] Production.INFO: ==1370== Lock acquired, processing the job... [2025-03-09 15:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643165') start [2025-03-09 15:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:41:03] Production.INFO: ==1372== Lock acquired, processing the job... [2025-03-09 15:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643165') end [2025-03-09 15:41:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:41:03] Production.INFO: 1 [2025-03-09 15:41:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:41:03] Production.INFO: Account Balance Start. [2025-03-09 15:41:03] Production.INFO: CreateAllLog Start [2025-03-09 15:41:03] Production.INFO: 117 [2025-03-09 15:41:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:41:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:41:03] Production.INFO: Total Charge 0 [2025-03-09 15:41:03] Production.INFO: CreateAllLog End [2025-03-09 15:41:03] Production.INFO: ==1374== Releasing lock... [2025-03-09 15:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:41:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:41:04] Production.INFO: ==1366== Releasing lock... [2025-03-09 15:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:41:04] Production.ERROR: done [2025-03-09 15:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:41:04] Production.INFO: Account Balance End. [2025-03-09 15:41:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:41:04] Production.INFO: ==1370== Releasing lock... [2025-03-09 15:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:41:04] Production.ERROR: done [2025-03-09 15:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:41:05 [end_date_ymd] => 2025-03-09 15:41:05 [RateCDR] => 1 ) [2025-03-09 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-09 12:41:05' and `end` < '2025-03-09 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-09 15:41:11] Production.ERROR: CronJobId end10 [2025-03-09 15:41:11] Production.INFO: ==1368== Releasing lock... [2025-03-09 15:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:41:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:41:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:41:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:41:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:41:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:41:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:41:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:41:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:41:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:41:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:41:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:41:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:41:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:41:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:41:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:41:14] Production.INFO: call_cost start [2025-03-09 15:41:14] Production.INFO: call_cost end [2025-03-09 15:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:41:15] Production.INFO: ==1364== Releasing lock... [2025-03-09 15:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:41:17] Production.INFO: count ==982 [2025-03-09 15:41:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:41:05 - End Time 2025-03-09 15:41:05 [2025-03-09 15:41:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643169', 'tblTempUsageDetail_20' ) start [2025-03-09 15:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643169', 'tblTempUsageDetail_20' ) end [2025-03-09 15:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643169', 'tblTempVendorCDR_20' ) start [2025-03-09 15:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643169', 'tblTempVendorCDR_20' ) end [2025-03-09 15:41:18] Production.INFO: ProcessCDR(1,14643169,1,1,2) [2025-03-09 15:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643169', 'tblTempUsageDetail_20' ) start [2025-03-09 15:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643169', 'tblTempUsageDetail_20' ) end [2025-03-09 15:41:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:41:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:41:22] Production.INFO: ==1372== Releasing lock... [2025-03-09 15:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:41:22] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 19:42:02] Production.INFO: ==1430== Lock acquired, processing the job... [2025-03-09 19:42:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:42:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:42:02] Production.INFO: neon service started [2025-03-09 19:42:02] Production.INFO: neon service started [2025-03-09 19:42:02] Production.INFO: ==1430== Releasing lock... [2025-03-09 19:42:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:42:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:42:02] Production.INFO: ==1434== Lock acquired, processing the job... [2025-03-09 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:42:02] Production.INFO: ==1434== Releasing lock... [2025-03-09 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:42:02] Production.INFO: ==1432== Lock acquired, processing the job... [2025-03-09 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:42:03] Production.INFO: ==1432== Releasing lock... [2025-03-09 15:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:42:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:42:04] Production.INFO: ==1443== Lock acquired, processing the job... [2025-03-09 15:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:42:04] Production.INFO: ==1445== Lock acquired, processing the job... [2025-03-09 15:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:42:04] Production.INFO: ==1439== Lock acquired, processing the job... [2025-03-09 15:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:42:04] Production.INFO: Account Balance Start. [2025-03-09 15:42:04] Production.INFO: CreateAllLog Start [2025-03-09 15:42:04] Production.INFO: 117 [2025-03-09 15:42:04] Production.INFO: ==1441== Lock acquired, processing the job... [2025-03-09 15:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:42:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:42:04] Production.INFO: ==1437== Lock acquired, processing the job... [2025-03-09 15:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:42:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:42:04] Production.INFO: Total Charge 0 [2025-03-09 15:42:04] Production.INFO: ==1447== Lock acquired, processing the job... [2025-03-09 15:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:42:04] Production.INFO: CreateAllLog End [2025-03-09 15:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:42:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:42:04] Production.INFO: Account Balance End. [2025-03-09 15:42:04] Production.INFO: count ==13 [2025-03-09 15:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:42:04] Production.INFO: count ==21 [2025-03-09 15:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643173') start [2025-03-09 15:42:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:42:04] Production.INFO: ==1443== Releasing lock... [2025-03-09 15:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:42:04] Production.INFO: ==1439== Releasing lock... [2025-03-09 15:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643173') end [2025-03-09 15:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:42:04] Production.INFO: 1 [2025-03-09 15:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:42:04] Production.ERROR: done [2025-03-09 15:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:42:04] Production.INFO: ==1447== Releasing lock... [2025-03-09 15:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:42:04] Production.ERROR: done [2025-03-09 15:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:42:05 [end_date_ymd] => 2025-03-09 15:42:05 [RateCDR] => 1 ) [2025-03-09 15:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:42:05' and `end` < '2025-03-09 15:42:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:42:11] Production.ERROR: CronJobId end10 [2025-03-09 15:42:11] Production.INFO: ==1441== Releasing lock... [2025-03-09 15:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:42:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:42:15] Production.INFO: call_cost start [2025-03-09 15:42:15] Production.INFO: call_cost end [2025-03-09 15:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:42:16] Production.INFO: ==1437== Releasing lock... [2025-03-09 15:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:42:18] Production.INFO: count ==981 [2025-03-09 15:42:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:42:05 - End Time 2025-03-09 15:42:05 [2025-03-09 15:42:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643174', 'tblTempUsageDetail_20' ) start [2025-03-09 15:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643174', 'tblTempUsageDetail_20' ) end [2025-03-09 15:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643174', 'tblTempVendorCDR_20' ) start [2025-03-09 15:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643174', 'tblTempVendorCDR_20' ) end [2025-03-09 15:42:18] Production.INFO: ProcessCDR(1,14643174,1,1,2) [2025-03-09 15:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643174', 'tblTempUsageDetail_20' ) start [2025-03-09 15:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643174', 'tblTempUsageDetail_20' ) end [2025-03-09 15:42:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:42:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:42:23] Production.INFO: ==1445== Releasing lock... [2025-03-09 15:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:42:23] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 19:43:01] Production.INFO: ==1500== Lock acquired, processing the job... [2025-03-09 19:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:43:01] Production.INFO: neon service started [2025-03-09 19:43:01] Production.INFO: neon service started [2025-03-09 19:43:01] Production.INFO: ==1500== Releasing lock... [2025-03-09 19:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:43:01] Production.INFO: ==1520== Lock acquired, processing the job... [2025-03-09 15:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:43:02] Production.INFO: ==1520== Releasing lock... [2025-03-09 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:43:02] Production.INFO: ==1536== Lock acquired, processing the job... [2025-03-09 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:43:02] Production.INFO: ==1536== Releasing lock... [2025-03-09 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:43:03] Production.INFO: ==1542== Lock acquired, processing the job... [2025-03-09 15:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:43:03] Production.INFO: ==1546== Lock acquired, processing the job... [2025-03-09 15:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:43:03] Production.INFO: ==1538== Lock acquired, processing the job... [2025-03-09 15:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:43:03] Production.INFO: ==1540== Lock acquired, processing the job... [2025-03-09 15:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:43:03] Production.INFO: ==1544== Lock acquired, processing the job... [2025-03-09 15:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:43:03] Production.INFO: ==1548== Lock acquired, processing the job... [2025-03-09 15:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:43:03] Production.ERROR: done [2025-03-09 15:43:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:43:03] Production.INFO: Account Balance Start. [2025-03-09 15:43:03] Production.INFO: CreateAllLog Start [2025-03-09 15:43:03] Production.INFO: 117 [2025-03-09 15:43:03] Production.ERROR: done [2025-03-09 15:43:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:43:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:43:03] Production.INFO: count ==13 [2025-03-09 15:43:03] Production.INFO: Total Charge 0 [2025-03-09 15:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:43:03] Production.INFO: count ==21 [2025-03-09 15:43:03] Production.INFO: CreateAllLog End [2025-03-09 15:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643178') start [2025-03-09 15:43:03] Production.INFO: ==1540== Releasing lock... [2025-03-09 15:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:43:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643178') end [2025-03-09 15:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:43:04] Production.INFO: 1 [2025-03-09 15:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:43:04] Production.INFO: Account Balance End. [2025-03-09 15:43:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:43:04] Production.INFO: ==1544== Releasing lock... [2025-03-09 15:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:43:04] Production.INFO: ==1548== Releasing lock... [2025-03-09 15:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:43:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:43:04 [end_date_ymd] => 2025-03-09 15:43:04 [RateCDR] => 1 ) [2025-03-09 15:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:43:04' and `end` < '2025-03-09 15:43:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:43:11] Production.ERROR: CronJobId end10 [2025-03-09 15:43:11] Production.INFO: ==1542== Releasing lock... [2025-03-09 15:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:43:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:43:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:43:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:43:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:43:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:43:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:43:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:43:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:43:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:43:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:43:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:43:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:43:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:43:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:43:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:43:14] Production.INFO: call_cost start [2025-03-09 15:43:14] Production.INFO: call_cost end [2025-03-09 15:43:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:43:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:43:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:43:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:43:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:43:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:43:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:43:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:43:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:43:15] Production.INFO: ==1538== Releasing lock... [2025-03-09 15:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:43:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:43:17] Production.INFO: count ==981 [2025-03-09 15:43:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:43:04 - End Time 2025-03-09 15:43:04 [2025-03-09 15:43:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643179', 'tblTempUsageDetail_20' ) start [2025-03-09 15:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643179', 'tblTempUsageDetail_20' ) end [2025-03-09 15:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643179', 'tblTempVendorCDR_20' ) start [2025-03-09 15:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643179', 'tblTempVendorCDR_20' ) end [2025-03-09 15:43:17] Production.INFO: ProcessCDR(1,14643179,1,1,2) [2025-03-09 15:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643179', 'tblTempUsageDetail_20' ) start [2025-03-09 15:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643179', 'tblTempUsageDetail_20' ) end [2025-03-09 15:43:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:43:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:43:22] Production.INFO: ==1546== Releasing lock... [2025-03-09 15:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:43:22] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 19:44:02] Production.INFO: ==1608== Lock acquired, processing the job... [2025-03-09 19:44:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:44:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:44:02] Production.INFO: neon service started [2025-03-09 19:44:02] Production.INFO: neon service started [2025-03-09 19:44:02] Production.INFO: ==1608== Releasing lock... [2025-03-09 19:44:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:44:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:44:02] Production.INFO: ==1610== Lock acquired, processing the job... [2025-03-09 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:44:02] Production.INFO: ==1612== Lock acquired, processing the job... [2025-03-09 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:44:02] Production.INFO: ==1610== Releasing lock... [2025-03-09 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:44:02] Production.INFO: ==1612== Releasing lock... [2025-03-09 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:44:03] Production.INFO: ==1617== Lock acquired, processing the job... [2025-03-09 15:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:44:03] Production.INFO: ==1625== Lock acquired, processing the job... [2025-03-09 15:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:44:03] Production.INFO: ==1615== Lock acquired, processing the job... [2025-03-09 15:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:44:03] Production.INFO: ==1617== Releasing lock... [2025-03-09 15:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:44:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:44:03] Production.INFO: ==1619== Lock acquired, processing the job... [2025-03-09 15:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:44:04] Production.INFO: ==1623== Lock acquired, processing the job... [2025-03-09 15:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:44:04] Production.INFO: ==1621== Lock acquired, processing the job... [2025-03-09 15:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:44:04] Production.INFO: count ==13 [2025-03-09 15:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:44:04] Production.INFO: count ==21 [2025-03-09 15:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643181') start [2025-03-09 15:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643181') end [2025-03-09 15:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:44:04] Production.INFO: 1 [2025-03-09 15:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:44:04] Production.INFO: Account Balance Start. [2025-03-09 15:44:04] Production.INFO: CreateAllLog Start [2025-03-09 15:44:04] Production.INFO: 117 [2025-03-09 15:44:04] Production.INFO: ==1625== Releasing lock... [2025-03-09 15:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:44:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:44:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:44:04] Production.ERROR: done [2025-03-09 15:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:44:04] Production.INFO: Total Charge 0 [2025-03-09 15:44:04] Production.INFO: CreateAllLog End [2025-03-09 15:44:04] Production.ERROR: done [2025-03-09 15:44:04] Production.INFO: Account Balance End. [2025-03-09 15:44:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:44:04] Production.INFO: ==1621== Releasing lock... [2025-03-09 15:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:44:05 [end_date_ymd] => 2025-03-09 15:44:05 [RateCDR] => 1 ) [2025-03-09 15:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:44:05' and `end` < '2025-03-09 15:44:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:44:12] Production.ERROR: CronJobId end10 [2025-03-09 15:44:12] Production.INFO: ==1619== Releasing lock... [2025-03-09 15:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:44:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:44:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:44:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:44:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:44:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:44:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:44:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:44:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:44:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:44:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:44:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:44:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:44:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:44:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:44:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:44:14] Production.INFO: call_cost start [2025-03-09 15:44:14] Production.INFO: call_cost end [2025-03-09 15:44:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:44:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:44:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:44:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:44:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:44:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:44:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:44:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:44:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:44:15] Production.INFO: ==1615== Releasing lock... [2025-03-09 15:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:44:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:44:17] Production.INFO: count ==981 [2025-03-09 15:44:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:44:05 - End Time 2025-03-09 15:44:05 [2025-03-09 15:44:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643184', 'tblTempUsageDetail_20' ) start [2025-03-09 15:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643184', 'tblTempUsageDetail_20' ) end [2025-03-09 15:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643184', 'tblTempVendorCDR_20' ) start [2025-03-09 15:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643184', 'tblTempVendorCDR_20' ) end [2025-03-09 15:44:18] Production.INFO: ProcessCDR(1,14643184,1,1,2) [2025-03-09 15:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643184', 'tblTempUsageDetail_20' ) start [2025-03-09 15:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643184', 'tblTempUsageDetail_20' ) end [2025-03-09 15:44:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:44:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:44:22] Production.INFO: ==1623== Releasing lock... [2025-03-09 15:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:44:22] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 19:45:01] Production.INFO: ==1681== Lock acquired, processing the job... [2025-03-09 19:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:45:01] Production.INFO: neon service started [2025-03-09 19:45:01] Production.INFO: neon service started [2025-03-09 19:45:01] Production.INFO: ==1681== Releasing lock... [2025-03-09 19:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:45:01] Production.INFO: ==1683== Lock acquired, processing the job... [2025-03-09 15:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:45:02] Production.INFO: ==1683== Releasing lock... [2025-03-09 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:45:02] Production.INFO: ==1685== Lock acquired, processing the job... [2025-03-09 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:45:02] Production.INFO: ==1685== Releasing lock... [2025-03-09 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:45:02] Production.INFO: ==1687== Lock acquired, processing the job... [2025-03-09 15:45:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:45:03] Production.INFO: ==1691== Lock acquired, processing the job... [2025-03-09 15:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:45:03] Production.INFO: ==1693== Lock acquired, processing the job... [2025-03-09 15:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:45:03] Production.INFO: Account Balance Start. [2025-03-09 15:45:03] Production.INFO: CreateAllLog Start [2025-03-09 15:45:03] Production.INFO: 117 [2025-03-09 15:45:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:45:03] Production.INFO: ==1689== Lock acquired, processing the job... [2025-03-09 15:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:45:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:45:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:45:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:45:03] Production.INFO: Total Charge 0 [2025-03-09 15:45:03] Production.INFO: CreateAllLog End [2025-03-09 15:45:03] Production.INFO: ==1697== Lock acquired, processing the job... [2025-03-09 15:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:45:03] Production.INFO: ==1695== Lock acquired, processing the job... [2025-03-09 15:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:45:03] Production.INFO: Account Balance End. [2025-03-09 15:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:45:03] Production.INFO: ==1689== Releasing lock... [2025-03-09 15:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:45:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:45:03] Production.ERROR: CronJobId end 12 [2025-03-09 15:45:03] Production.INFO: ==1693== Releasing lock... [2025-03-09 15:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:45:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:45:03] Production.INFO: count ==13 [2025-03-09 15:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:45:03] Production.INFO: count ==21 [2025-03-09 15:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643188') start [2025-03-09 15:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643188') end [2025-03-09 15:45:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:45:03] Production.INFO: 1 [2025-03-09 15:45:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:45:03] Production.INFO: ==1697== Releasing lock... [2025-03-09 15:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:45:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:45:03] Production.ERROR: done [2025-03-09 15:45:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:45:04] Production.ERROR: done [2025-03-09 15:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:45:05 [end_date_ymd] => 2025-03-09 15:45:05 [RateCDR] => 1 ) [2025-03-09 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-09 12:45:05' and `end` < '2025-03-09 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-09 15:45:11] Production.ERROR: CronJobId end10 [2025-03-09 15:45:11] Production.INFO: ==1691== Releasing lock... [2025-03-09 15:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:45:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:45:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:45:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:45:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:45:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:45:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:45:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:45:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:45:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:45:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:45:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:45:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:45:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:45:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:45:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:45:13] Production.INFO: call_cost start [2025-03-09 15:45:13] Production.INFO: call_cost end [2025-03-09 15:45:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:45:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:45:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:45:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:45:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:45:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:45:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:45:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:45:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:45:14] Production.INFO: ==1687== Releasing lock... [2025-03-09 15:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:45:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:45:17] Production.INFO: count ==979 [2025-03-09 15:45:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:45:05 - End Time 2025-03-09 15:45:05 [2025-03-09 15:45:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643189', 'tblTempUsageDetail_20' ) start [2025-03-09 15:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643189', 'tblTempUsageDetail_20' ) end [2025-03-09 15:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643189', 'tblTempVendorCDR_20' ) start [2025-03-09 15:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643189', 'tblTempVendorCDR_20' ) end [2025-03-09 15:45:17] Production.INFO: ProcessCDR(1,14643189,1,1,2) [2025-03-09 15:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643189', 'tblTempUsageDetail_20' ) start [2025-03-09 15:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643189', 'tblTempUsageDetail_20' ) end [2025-03-09 15:45:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:45:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:45:22] Production.INFO: ==1695== Releasing lock... [2025-03-09 15:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:45:22] Production.INFO: 36 MB #Memory Used# [2025-03-09 19:46:02] Production.INFO: ==1754== Lock acquired, processing the job... [2025-03-09 19:46:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:46:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:46:02] Production.INFO: neon service started [2025-03-09 19:46:02] Production.INFO: neon service started [2025-03-09 19:46:02] Production.INFO: ==1754== Releasing lock... [2025-03-09 19:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:46:02] Production.INFO: ==1758== Lock acquired, processing the job... [2025-03-09 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:46:02] Production.INFO: ==1758== Releasing lock... [2025-03-09 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:46:02] Production.INFO: ==1756== Lock acquired, processing the job... [2025-03-09 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:46:02] Production.INFO: ==1756== Releasing lock... [2025-03-09 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:46:03] Production.INFO: ==1763== Lock acquired, processing the job... [2025-03-09 15:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:46:03] Production.INFO: ==1767== Lock acquired, processing the job... [2025-03-09 15:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:46:03] Production.INFO: ==1765== Lock acquired, processing the job... [2025-03-09 15:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:46:03] Production.INFO: ==1771== Lock acquired, processing the job... [2025-03-09 15:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:46:04] Production.INFO: ==1769== Lock acquired, processing the job... [2025-03-09 15:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:46:04] Production.INFO: ==1773== Lock acquired, processing the job... [2025-03-09 15:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:46:04] Production.INFO: Account Balance Start. [2025-03-09 15:46:04] Production.INFO: CreateAllLog Start [2025-03-09 15:46:04] Production.INFO: 117 [2025-03-09 15:46:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:46:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:46:04] Production.INFO: count ==13 [2025-03-09 15:46:04] Production.INFO: ==1765== Releasing lock... [2025-03-09 15:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:46:04] Production.INFO: Total Charge 0 [2025-03-09 15:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:46:04] Production.INFO: CreateAllLog End [2025-03-09 15:46:04] Production.INFO: count ==21 [2025-03-09 15:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643193') start [2025-03-09 15:46:04] Production.ERROR: done [2025-03-09 15:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643193') end [2025-03-09 15:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:46:04] Production.INFO: 1 [2025-03-09 15:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:46:04] Production.INFO: ==1773== Releasing lock... [2025-03-09 15:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:46:04] Production.ERROR: done [2025-03-09 15:46:04] Production.INFO: Account Balance End. [2025-03-09 15:46:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:46:04] Production.INFO: ==1769== Releasing lock... [2025-03-09 15:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:46:05 [end_date_ymd] => 2025-03-09 15:46:05 [RateCDR] => 1 ) [2025-03-09 15:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:46:05' and `end` < '2025-03-09 15:46:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:46:11] Production.ERROR: CronJobId end10 [2025-03-09 15:46:11] Production.INFO: ==1767== Releasing lock... [2025-03-09 15:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:46:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:46:14] Production.INFO: call_cost start [2025-03-09 15:46:14] Production.INFO: call_cost end [2025-03-09 15:46:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:46:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:46:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:46:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:46:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:46:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:46:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:46:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:46:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:46:15] Production.INFO: ==1763== Releasing lock... [2025-03-09 15:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:46:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:46:17] Production.INFO: count ==981 [2025-03-09 15:46:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:46:05 - End Time 2025-03-09 15:46:05 [2025-03-09 15:46:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643194', 'tblTempUsageDetail_20' ) start [2025-03-09 15:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643194', 'tblTempUsageDetail_20' ) end [2025-03-09 15:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643194', 'tblTempVendorCDR_20' ) start [2025-03-09 15:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643194', 'tblTempVendorCDR_20' ) end [2025-03-09 15:46:18] Production.INFO: ProcessCDR(1,14643194,1,1,2) [2025-03-09 15:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643194', 'tblTempUsageDetail_20' ) start [2025-03-09 15:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643194', 'tblTempUsageDetail_20' ) end [2025-03-09 15:46:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:46:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:46:22] Production.INFO: ==1771== Releasing lock... [2025-03-09 15:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:46:22] Production.INFO: 35.5 MB #Memory Used# [2025-03-09 19:47:01] Production.INFO: ==1837== Lock acquired, processing the job... [2025-03-09 19:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:47:01] Production.INFO: neon service started [2025-03-09 19:47:01] Production.INFO: neon service started [2025-03-09 19:47:01] Production.INFO: ==1837== Releasing lock... [2025-03-09 19:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:47:02] Production.INFO: ==1839== Lock acquired, processing the job... [2025-03-09 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:47:02] Production.INFO: ==1841== Lock acquired, processing the job... [2025-03-09 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:47:02] Production.INFO: ==1841== Releasing lock... [2025-03-09 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:47:02] Production.INFO: ==1839== Releasing lock... [2025-03-09 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:47:03] Production.INFO: ==1852== Lock acquired, processing the job... [2025-03-09 15:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:47:03] Production.INFO: ==1854== Lock acquired, processing the job... [2025-03-09 15:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:47:03] Production.INFO: ==1844== Lock acquired, processing the job... [2025-03-09 15:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:47:03] Production.INFO: ==1846== Lock acquired, processing the job... [2025-03-09 15:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:47:03] Production.INFO: count ==13 [2025-03-09 15:47:03] Production.INFO: ==1848== Lock acquired, processing the job... [2025-03-09 15:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:47:03] Production.INFO: count ==21 [2025-03-09 15:47:03] Production.INFO: ==1850== Lock acquired, processing the job... [2025-03-09 15:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643195') start [2025-03-09 15:47:03] Production.ERROR: done [2025-03-09 15:47:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:47:03] Production.INFO: Account Balance Start. [2025-03-09 15:47:03] Production.INFO: CreateAllLog Start [2025-03-09 15:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643195') end [2025-03-09 15:47:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:47:03] Production.INFO: 1 [2025-03-09 15:47:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:47:03] Production.INFO: 117 [2025-03-09 15:47:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:47:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:47:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:47:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:47:04] Production.INFO: Total Charge 0 [2025-03-09 15:47:04] Production.INFO: CreateAllLog End [2025-03-09 15:47:04] Production.INFO: ==1854== Releasing lock... [2025-03-09 15:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:47:04] Production.ERROR: done [2025-03-09 15:47:04] Production.INFO: ==1846== Releasing lock... [2025-03-09 15:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:47:04] Production.INFO: Account Balance End. [2025-03-09 15:47:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:47:04] Production.INFO: ==1850== Releasing lock... [2025-03-09 15:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:47:05 [end_date_ymd] => 2025-03-09 15:47:05 [RateCDR] => 1 ) [2025-03-09 15:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:47:05' and `end` < '2025-03-09 15:47:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:47:11] Production.ERROR: CronJobId end10 [2025-03-09 15:47:11] Production.INFO: ==1848== Releasing lock... [2025-03-09 15:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:47:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:47:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:47:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:47:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:47:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:47:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:47:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:47:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:47:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:47:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:47:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:47:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:47:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:47:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:47:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:47:15] Production.INFO: call_cost start [2025-03-09 15:47:15] Production.INFO: call_cost end [2025-03-09 15:47:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:47:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:47:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:47:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:47:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:47:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:47:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:47:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:47:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:47:16] Production.INFO: ==1844== Releasing lock... [2025-03-09 15:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:47:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:47:17] Production.INFO: count ==987 [2025-03-09 15:47:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:47:05 - End Time 2025-03-09 15:47:05 [2025-03-09 15:47:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643199', 'tblTempUsageDetail_20' ) start [2025-03-09 15:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643199', 'tblTempUsageDetail_20' ) end [2025-03-09 15:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643199', 'tblTempVendorCDR_20' ) start [2025-03-09 15:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643199', 'tblTempVendorCDR_20' ) end [2025-03-09 15:47:18] Production.INFO: ProcessCDR(1,14643199,1,1,2) [2025-03-09 15:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643199', 'tblTempUsageDetail_20' ) start [2025-03-09 15:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643199', 'tblTempUsageDetail_20' ) end [2025-03-09 15:47:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:47:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:47:22] Production.INFO: ==1852== Releasing lock... [2025-03-09 15:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:47:22] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 19:48:01] Production.INFO: ==1915== Lock acquired, processing the job... [2025-03-09 19:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:48:02] Production.INFO: neon service started [2025-03-09 19:48:02] Production.INFO: neon service started [2025-03-09 19:48:02] Production.INFO: ==1915== Releasing lock... [2025-03-09 19:48:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:48:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:48:02] Production.INFO: ==1917== Lock acquired, processing the job... [2025-03-09 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:48:02] Production.INFO: ==1917== Releasing lock... [2025-03-09 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:48:02] Production.INFO: ==1919== Lock acquired, processing the job... [2025-03-09 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:48:02] Production.INFO: ==1919== Releasing lock... [2025-03-09 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:48:03] Production.INFO: ==1924== Lock acquired, processing the job... [2025-03-09 15:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:48:03] Production.INFO: ==1928== Lock acquired, processing the job... [2025-03-09 15:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:48:03] Production.INFO: ==1922== Lock acquired, processing the job... [2025-03-09 15:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:48:03] Production.INFO: ==1926== Lock acquired, processing the job... [2025-03-09 15:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:48:03] Production.INFO: Account Balance Start. [2025-03-09 15:48:03] Production.INFO: CreateAllLog Start [2025-03-09 15:48:03] Production.INFO: 117 [2025-03-09 15:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:48:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:48:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:48:03] Production.INFO: ==1930== Lock acquired, processing the job... [2025-03-09 15:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:48:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:48:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:48:03] Production.INFO: Total Charge 0 [2025-03-09 15:48:04] Production.INFO: CreateAllLog End [2025-03-09 15:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:48:04] Production.INFO: ==1932== Lock acquired, processing the job... [2025-03-09 15:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:48:04] Production.INFO: Account Balance End. [2025-03-09 15:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:48:04] Production.INFO: ==1924== Releasing lock... [2025-03-09 15:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:48:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:48:04] Production.INFO: ==1928== Releasing lock... [2025-03-09 15:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:48:04] Production.INFO: count ==13 [2025-03-09 15:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:48:04] Production.INFO: count ==21 [2025-03-09 15:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643203') start [2025-03-09 15:48:04] Production.ERROR: done [2025-03-09 15:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643203') end [2025-03-09 15:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:48:04] Production.INFO: 1 [2025-03-09 15:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:48:04] Production.INFO: ==1932== Releasing lock... [2025-03-09 15:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:48:04] Production.ERROR: done [2025-03-09 15:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:48:05 [end_date_ymd] => 2025-03-09 15:48:05 [RateCDR] => 1 ) [2025-03-09 15:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:48:05' and `end` < '2025-03-09 15:48:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:48:12] Production.ERROR: CronJobId end10 [2025-03-09 15:48:12] Production.INFO: ==1926== Releasing lock... [2025-03-09 15:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:48:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:48:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:48:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:48:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:48:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:48:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:48:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:48:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:48:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:48:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:48:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:48:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:48:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:48:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:48:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:48:15] Production.INFO: call_cost start [2025-03-09 15:48:15] Production.INFO: call_cost end [2025-03-09 15:48:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:48:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:48:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:48:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:48:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:48:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:48:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:48:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:48:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:48:16] Production.INFO: ==1922== Releasing lock... [2025-03-09 15:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:48:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:48:17] Production.INFO: count ==990 [2025-03-09 15:48:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:48:05 - End Time 2025-03-09 15:48:05 [2025-03-09 15:48:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643204', 'tblTempUsageDetail_20' ) start [2025-03-09 15:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643204', 'tblTempUsageDetail_20' ) end [2025-03-09 15:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643204', 'tblTempVendorCDR_20' ) start [2025-03-09 15:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643204', 'tblTempVendorCDR_20' ) end [2025-03-09 15:48:18] Production.INFO: ProcessCDR(1,14643204,1,1,2) [2025-03-09 15:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643204', 'tblTempUsageDetail_20' ) start [2025-03-09 15:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643204', 'tblTempUsageDetail_20' ) end [2025-03-09 15:48:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:48:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:48:22] Production.INFO: ==1930== Releasing lock... [2025-03-09 15:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:48:22] Production.INFO: 36 MB #Memory Used# [2025-03-09 19:49:01] Production.INFO: ==1988== Lock acquired, processing the job... [2025-03-09 19:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:49:01] Production.INFO: neon service started [2025-03-09 19:49:01] Production.INFO: neon service started [2025-03-09 19:49:01] Production.INFO: ==1988== Releasing lock... [2025-03-09 19:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:49:01] Production.INFO: ==1990== Lock acquired, processing the job... [2025-03-09 15:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:49:02] Production.INFO: ==1990== Releasing lock... [2025-03-09 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:49:02] Production.INFO: ==1992== Lock acquired, processing the job... [2025-03-09 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:49:02] Production.INFO: ==1992== Releasing lock... [2025-03-09 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:49:03] Production.INFO: ==1997== Lock acquired, processing the job... [2025-03-09 15:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:49:03] Production.INFO: ==1999== Lock acquired, processing the job... [2025-03-09 15:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:49:03] Production.INFO: ==2001== Lock acquired, processing the job... [2025-03-09 15:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:49:03] Production.INFO: ==1994== Lock acquired, processing the job... [2025-03-09 15:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:49:03] Production.INFO: Account Balance Start. [2025-03-09 15:49:03] Production.INFO: CreateAllLog Start [2025-03-09 15:49:03] Production.INFO: 117 [2025-03-09 15:49:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:49:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:49:03] Production.INFO: ==2004== Lock acquired, processing the job... [2025-03-09 15:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:49:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:49:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:49:03] Production.INFO: ==1997== Releasing lock... [2025-03-09 15:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:49:03] Production.INFO: Total Charge 0 [2025-03-09 15:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:49:03] Production.INFO: ==2006== Lock acquired, processing the job... [2025-03-09 15:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:49:03] Production.INFO: CreateAllLog End [2025-03-09 15:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:49:03] Production.INFO: count ==13 [2025-03-09 15:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:49:03] Production.INFO: count ==21 [2025-03-09 15:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643208') start [2025-03-09 15:49:03] Production.ERROR: done [2025-03-09 15:49:03] Production.INFO: Account Balance End. [2025-03-09 15:49:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:49:03] Production.ERROR: CronJobId end 12 [2025-03-09 15:49:03] Production.INFO: ==2001== Releasing lock... [2025-03-09 15:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:49:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643208') end [2025-03-09 15:49:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:49:03] Production.INFO: 1 [2025-03-09 15:49:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:49:04] Production.INFO: ==2006== Releasing lock... [2025-03-09 15:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:49:04] Production.ERROR: done [2025-03-09 15:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:49:05 [end_date_ymd] => 2025-03-09 15:49:05 [RateCDR] => 1 ) [2025-03-09 15:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:49:05' and `end` < '2025-03-09 15:49:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:49:12] Production.ERROR: CronJobId end10 [2025-03-09 15:49:12] Production.INFO: ==1999== Releasing lock... [2025-03-09 15:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:49:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:49:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:49:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:49:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:49:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:49:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:49:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:49:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:49:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:49:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:49:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:49:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:49:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:49:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:49:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:49:13] Production.INFO: call_cost start [2025-03-09 15:49:13] Production.INFO: call_cost end [2025-03-09 15:49:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:49:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:49:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:49:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:49:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:49:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:49:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:49:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:49:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:49:14] Production.INFO: ==1994== Releasing lock... [2025-03-09 15:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:49:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:49:17] Production.INFO: count ==980 [2025-03-09 15:49:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:49:05 - End Time 2025-03-09 15:49:05 [2025-03-09 15:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643209', 'tblTempUsageDetail_20' ) start [2025-03-09 15:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643209', 'tblTempUsageDetail_20' ) end [2025-03-09 15:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643209', 'tblTempVendorCDR_20' ) start [2025-03-09 15:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643209', 'tblTempVendorCDR_20' ) end [2025-03-09 15:49:17] Production.INFO: ProcessCDR(1,14643209,1,1,2) [2025-03-09 15:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643209', 'tblTempUsageDetail_20' ) start [2025-03-09 15:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643209', 'tblTempUsageDetail_20' ) end [2025-03-09 15:49:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:49:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:49:21] Production.INFO: ==2004== Releasing lock... [2025-03-09 15:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:49:21] Production.INFO: 36 MB #Memory Used# [2025-03-09 19:50:01] Production.INFO: ==2060== Lock acquired, processing the job... [2025-03-09 19:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:50:01] Production.INFO: neon service started [2025-03-09 19:50:01] Production.INFO: neon service started [2025-03-09 19:50:01] Production.INFO: ==2060== Releasing lock... [2025-03-09 19:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:50:02] Production.INFO: ==2062== Lock acquired, processing the job... [2025-03-09 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:50:02] Production.INFO: ==2064== Lock acquired, processing the job... [2025-03-09 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:50:02] Production.INFO: ==2062== Releasing lock... [2025-03-09 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:50:02] Production.INFO: ==2064== Releasing lock... [2025-03-09 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:50:03] Production.INFO: ==2066== Lock acquired, processing the job... [2025-03-09 15:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 15:50:03] Production.INFO: ==2068== Lock acquired, processing the job... [2025-03-09 15:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:50:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 15:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 15:50:03] Production.ERROR: CronJob PID - 2068 [2025-03-09 15:50:03] Production.ERROR: CronJob Title - System Alerts [2025-03-09 15:50:03] Production.ERROR: CronJob ID - 5 [2025-03-09 15:50:03] Production.ERROR: CronJob Last Run Time 2025-03-09 15:50:00 [2025-03-09 15:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 15:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 15:50:03] Production.INFO: ==2074== Lock acquired, processing the job... [2025-03-09 15:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:50:04] Production.INFO: ==2078== Lock acquired, processing the job... [2025-03-09 15:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 15:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 15:50:04] Production.INFO: ==2066== Releasing lock... [2025-03-09 15:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 15:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 15:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:50:04] Production.INFO: Account Balance Start. [2025-03-09 15:50:04] Production.INFO: CreateAllLog Start [2025-03-09 15:50:04] Production.INFO: 117 [2025-03-09 15:50:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:50:04] Production.INFO: ==2072== Lock acquired, processing the job... [2025-03-09 15:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:50:04] Production.INFO: ==2070== Lock acquired, processing the job... [2025-03-09 15:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:50:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:50:04] Production.INFO: Total Charge 0 [2025-03-09 15:50:04] Production.INFO: ==2076== Lock acquired, processing the job... [2025-03-09 15:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:50:04] Production.INFO: CreateAllLog End [2025-03-09 15:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:50:04] Production.INFO: ==2081== Lock acquired, processing the job... [2025-03-09 15:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 15:50:04] Production.ERROR: done [2025-03-09 15:50:04] Production.INFO: Account Balance End. [2025-03-09 15:50:04] Production.INFO: count ==13 [2025-03-09 15:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 15:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643214', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 15:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:50:04] Production.INFO: count ==21 [2025-03-09 15:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643213') start [2025-03-09 15:50:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:50:04] Production.INFO: ==2074== Releasing lock... [2025-03-09 15:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:50:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:50:04] Production.INFO: ==2070== Releasing lock... [2025-03-09 15:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:50:04] Production.ERROR: done [2025-03-09 15:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643213') end [2025-03-09 15:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:50:04] Production.INFO: 1 [2025-03-09 15:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:50:05] Production.INFO: ==2081== Releasing lock... [2025-03-09 15:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:50:05] Production.ERROR: done [2025-03-09 15:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:50:06 [end_date_ymd] => 2025-03-09 15:50:06 [RateCDR] => 1 ) [2025-03-09 15: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-09 12:50:06' and `end` < '2025-03-09 15: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-09 15:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643214', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 15:50:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 15:50:08] Production.INFO: ProcessCDR(1,14643214,1,1,2) [2025-03-09 15:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14643214,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14643214,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:50:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:50:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:50:08] Production.INFO: ==2078== Releasing lock... [2025-03-09 15:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 15:50:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 15:50:14] Production.ERROR: CronJobId end10 [2025-03-09 15:50:14] Production.INFO: ==2072== Releasing lock... [2025-03-09 15:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:50:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:50:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:50:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:50:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:50:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:50:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:50:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:50:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:50:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:50:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:50:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:50:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:50:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:50:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:50:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:50:16] Production.INFO: call_cost start [2025-03-09 15:50:16] Production.INFO: call_cost end [2025-03-09 15:50:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:50:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:50:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:50:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:50:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:50:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:50:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:50:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:50:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:50:17] Production.INFO: ==2068== Releasing lock... [2025-03-09 15:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:50:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:50:18] Production.INFO: count ==982 [2025-03-09 15:50:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:50:06 - End Time 2025-03-09 15:50:06 [2025-03-09 15:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643215', 'tblTempUsageDetail_20' ) start [2025-03-09 15:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643215', 'tblTempUsageDetail_20' ) end [2025-03-09 15:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643215', 'tblTempVendorCDR_20' ) start [2025-03-09 15:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643215', 'tblTempVendorCDR_20' ) end [2025-03-09 15:50:18] Production.INFO: ProcessCDR(1,14643215,1,1,2) [2025-03-09 15:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643215', 'tblTempUsageDetail_20' ) start [2025-03-09 15:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643215', 'tblTempUsageDetail_20' ) end [2025-03-09 15:50:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:50:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:50:23] Production.INFO: ==2076== Releasing lock... [2025-03-09 15:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:50:23] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 19:51:01] Production.INFO: ==2135== Lock acquired, processing the job... [2025-03-09 19:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:51:01] Production.INFO: neon service started [2025-03-09 19:51:01] Production.INFO: neon service started [2025-03-09 19:51:01] Production.INFO: ==2135== Releasing lock... [2025-03-09 19:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:51:01] Production.INFO: ==2139== Lock acquired, processing the job... [2025-03-09 19:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:51:01] Production.INFO: ==2139== Releasing lock... [2025-03-09 19:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:51:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:51:02] Production.INFO: ==2137== Lock acquired, processing the job... [2025-03-09 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:51:02] Production.INFO: ==2137== Releasing lock... [2025-03-09 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:51:03] Production.INFO: ==2141== Lock acquired, processing the job... [2025-03-09 15:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:51:03] Production.INFO: ==2143== Lock acquired, processing the job... [2025-03-09 15:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:51:03] Production.INFO: ==2147== Lock acquired, processing the job... [2025-03-09 15:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:51:03] Production.INFO: ==2145== Lock acquired, processing the job... [2025-03-09 15:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:51:03] Production.INFO: ==2152== Lock acquired, processing the job... [2025-03-09 15:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:51:03] Production.INFO: Account Balance Start. [2025-03-09 15:51:03] Production.INFO: CreateAllLog Start [2025-03-09 15:51:03] Production.INFO: 117 [2025-03-09 15:51:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:51:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:51:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:51:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:51:03] Production.INFO: Total Charge 0 [2025-03-09 15:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:51:03] Production.INFO: CreateAllLog End [2025-03-09 15:51:03] Production.INFO: ==2150== Lock acquired, processing the job... [2025-03-09 15:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:51:03] Production.INFO: count ==13 [2025-03-09 15:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:51:03] Production.INFO: count ==21 [2025-03-09 15:51:03] Production.INFO: ==2143== Releasing lock... [2025-03-09 15:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:51:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643219') start [2025-03-09 15:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643219') end [2025-03-09 15:51:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:51:03] Production.INFO: 1 [2025-03-09 15:51:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:51:03] Production.INFO: Account Balance End. [2025-03-09 15:51:03] Production.ERROR: CronJobId end 12 [2025-03-09 15:51:03] Production.INFO: ==2147== Releasing lock... [2025-03-09 15:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:51:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:51:03] Production.INFO: ==2152== Releasing lock... [2025-03-09 15:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:51:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:51:04] Production.ERROR: done [2025-03-09 15:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:51:04] Production.ERROR: done [2025-03-09 15:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:51:05 [end_date_ymd] => 2025-03-09 15:51:05 [RateCDR] => 1 ) [2025-03-09 15:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:51:05' and `end` < '2025-03-09 15:51:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:51:12] Production.ERROR: CronJobId end10 [2025-03-09 15:51:12] Production.INFO: ==2145== Releasing lock... [2025-03-09 15:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:51:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:51:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:51:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:51:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:51:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:51:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:51:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:51:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:51:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:51:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:51:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:51:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:51:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:51:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:51:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:51:14] Production.INFO: call_cost start [2025-03-09 15:51:14] Production.INFO: call_cost end [2025-03-09 15:51:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:51:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:51:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:51:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:51:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:51:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:51:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:51:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:51:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:51:15] Production.INFO: ==2141== Releasing lock... [2025-03-09 15:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:51:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:51:17] Production.INFO: count ==985 [2025-03-09 15:51:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:51:05 - End Time 2025-03-09 15:51:05 [2025-03-09 15:51:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643220', 'tblTempUsageDetail_20' ) start [2025-03-09 15:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643220', 'tblTempUsageDetail_20' ) end [2025-03-09 15:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643220', 'tblTempVendorCDR_20' ) start [2025-03-09 15:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643220', 'tblTempVendorCDR_20' ) end [2025-03-09 15:51:17] Production.INFO: ProcessCDR(1,14643220,1,1,2) [2025-03-09 15:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643220', 'tblTempUsageDetail_20' ) start [2025-03-09 15:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643220', 'tblTempUsageDetail_20' ) end [2025-03-09 15:51:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:51:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:51:22] Production.INFO: ==2150== Releasing lock... [2025-03-09 15:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:51:22] Production.INFO: 36 MB #Memory Used# [2025-03-09 19:52:01] Production.INFO: ==2207== Lock acquired, processing the job... [2025-03-09 19:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:52:01] Production.INFO: neon service started [2025-03-09 19:52:01] Production.INFO: neon service started [2025-03-09 19:52:01] Production.INFO: ==2207== Releasing lock... [2025-03-09 19:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:52:02] Production.INFO: ==2210== Lock acquired, processing the job... [2025-03-09 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:52:02] Production.INFO: ==2212== Lock acquired, processing the job... [2025-03-09 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:52:02] Production.INFO: ==2212== Releasing lock... [2025-03-09 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:52:02] Production.INFO: ==2210== Releasing lock... [2025-03-09 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:52:03] Production.INFO: ==2214== Lock acquired, processing the job... [2025-03-09 15:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:52:03] Production.INFO: ==2224== Lock acquired, processing the job... [2025-03-09 15:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:52:03] Production.INFO: ==2222== Lock acquired, processing the job... [2025-03-09 15:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:52:03] Production.INFO: count ==13 [2025-03-09 15:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:52:03] Production.INFO: ==2216== Lock acquired, processing the job... [2025-03-09 15:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:52:03] Production.INFO: count ==21 [2025-03-09 15:52:03] Production.INFO: ==2218== Lock acquired, processing the job... [2025-03-09 15:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643221') start [2025-03-09 15:52:03] Production.INFO: ==2220== Lock acquired, processing the job... [2025-03-09 15:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643221') end [2025-03-09 15:52:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:52:03] Production.INFO: 1 [2025-03-09 15:52:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:52:03] Production.ERROR: done [2025-03-09 15:52:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:52:03] Production.INFO: Account Balance Start. [2025-03-09 15:52:03] Production.INFO: CreateAllLog Start [2025-03-09 15:52:03] Production.INFO: 117 [2025-03-09 15:52:03] Production.INFO: ==2224== Releasing lock... [2025-03-09 15:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:52:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:52:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:52:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:52:04] Production.ERROR: done [2025-03-09 15:52:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:52:04] Production.INFO: ==2216== Releasing lock... [2025-03-09 15:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:52:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:52:04] Production.INFO: Total Charge 0 [2025-03-09 15:52:04] Production.INFO: CreateAllLog End [2025-03-09 15:52:04] Production.INFO: Account Balance End. [2025-03-09 15:52:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:52:04] Production.INFO: ==2220== Releasing lock... [2025-03-09 15:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:52:05 [end_date_ymd] => 2025-03-09 15:52:05 [RateCDR] => 1 ) [2025-03-09 15:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:52:05' and `end` < '2025-03-09 15:52:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:52:12] Production.ERROR: CronJobId end10 [2025-03-09 15:52:12] Production.INFO: ==2218== Releasing lock... [2025-03-09 15:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:52:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:52:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:52:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:52:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:52:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:52:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:52:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:52:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:52:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:52:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:52:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:52:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:52:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:52:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:52:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:52:14] Production.INFO: call_cost start [2025-03-09 15:52:14] Production.INFO: call_cost end [2025-03-09 15:52:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:52:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:52:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:52:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:52:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:52:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:52:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:52:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:52:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:52:15] Production.INFO: ==2214== Releasing lock... [2025-03-09 15:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:52:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:52:17] Production.INFO: count ==989 [2025-03-09 15:52:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:52:05 - End Time 2025-03-09 15:52:05 [2025-03-09 15:52:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643225', 'tblTempUsageDetail_20' ) start [2025-03-09 15:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643225', 'tblTempUsageDetail_20' ) end [2025-03-09 15:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643225', 'tblTempVendorCDR_20' ) start [2025-03-09 15:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643225', 'tblTempVendorCDR_20' ) end [2025-03-09 15:52:17] Production.INFO: ProcessCDR(1,14643225,1,1,2) [2025-03-09 15:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643225', 'tblTempUsageDetail_20' ) start [2025-03-09 15:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643225', 'tblTempUsageDetail_20' ) end [2025-03-09 15:52:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:52:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:52:22] Production.INFO: ==2222== Releasing lock... [2025-03-09 15:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:52:22] Production.INFO: 36 MB #Memory Used# [2025-03-09 19:53:02] Production.INFO: ==2323== Lock acquired, processing the job... [2025-03-09 19:53:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:53:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:53:02] Production.INFO: neon service started [2025-03-09 19:53:02] Production.INFO: neon service started [2025-03-09 19:53:02] Production.INFO: ==2323== Releasing lock... [2025-03-09 19:53:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:53:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:53:02] Production.INFO: ==2325== Lock acquired, processing the job... [2025-03-09 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:53:02] Production.INFO: ==2325== Releasing lock... [2025-03-09 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:53:03] Production.INFO: ==2327== Lock acquired, processing the job... [2025-03-09 19:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:53:03] Production.INFO: ==2327== Releasing lock... [2025-03-09 19:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:53:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:53:03] Production.INFO: ==2336== Lock acquired, processing the job... [2025-03-09 15:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:53:03] Production.INFO: ==2338== Lock acquired, processing the job... [2025-03-09 15:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:53:03] Production.INFO: Account Balance Start. [2025-03-09 15:53:03] Production.INFO: CreateAllLog Start [2025-03-09 15:53:03] Production.INFO: 117 [2025-03-09 15:53:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:53:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:53:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:53:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:53:03] Production.INFO: Total Charge 0 [2025-03-09 15:53:04] Production.INFO: CreateAllLog End [2025-03-09 15:53:04] Production.INFO: ==2332== Lock acquired, processing the job... [2025-03-09 15:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:53:04] Production.INFO: ==2334== Lock acquired, processing the job... [2025-03-09 15:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:53:04] Production.INFO: ==2340== Lock acquired, processing the job... [2025-03-09 15:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:53:04] Production.INFO: ==2330== Lock acquired, processing the job... [2025-03-09 15:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:53:04] Production.ERROR: done [2025-03-09 15:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:53:04] Production.INFO: Account Balance End. [2025-03-09 15:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:53:04] Production.INFO: count ==13 [2025-03-09 15:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:53:04] Production.INFO: count ==21 [2025-03-09 15:53:04] Production.ERROR: done [2025-03-09 15:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643228') start [2025-03-09 15:53:04] Production.INFO: ==2332== Releasing lock... [2025-03-09 15:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:53:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:53:04] Production.INFO: ==2336== Releasing lock... [2025-03-09 15:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:53:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643228') end [2025-03-09 15:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:53:04] Production.INFO: 1 [2025-03-09 15:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:53:04] Production.INFO: ==2340== Releasing lock... [2025-03-09 15:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:53:05 [end_date_ymd] => 2025-03-09 15:53:05 [RateCDR] => 1 ) [2025-03-09 15:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:53:05' and `end` < '2025-03-09 15:53:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:53:12] Production.ERROR: CronJobId end10 [2025-03-09 15:53:12] Production.INFO: ==2334== Releasing lock... [2025-03-09 15:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:53:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:53:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:53:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:53:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:53:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:53:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:53:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:53:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:53:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:53:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:53:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:53:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:53:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:53:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:53:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:53:14] Production.INFO: call_cost start [2025-03-09 15:53:14] Production.INFO: call_cost end [2025-03-09 15:53:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:53:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:53:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:53:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:53:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:53:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:53:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:53:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:53:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:53:15] Production.INFO: ==2330== Releasing lock... [2025-03-09 15:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:53:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:53:17] Production.INFO: count ==989 [2025-03-09 15:53:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:53:05 - End Time 2025-03-09 15:53:05 [2025-03-09 15:53:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643229', 'tblTempUsageDetail_20' ) start [2025-03-09 15:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643229', 'tblTempUsageDetail_20' ) end [2025-03-09 15:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643229', 'tblTempVendorCDR_20' ) start [2025-03-09 15:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643229', 'tblTempVendorCDR_20' ) end [2025-03-09 15:53:18] Production.INFO: ProcessCDR(1,14643229,1,1,2) [2025-03-09 15:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643229', 'tblTempUsageDetail_20' ) start [2025-03-09 15:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643229', 'tblTempUsageDetail_20' ) end [2025-03-09 15:53:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:53:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:53:21] Production.INFO: ==2338== Releasing lock... [2025-03-09 15:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:53:21] Production.INFO: 36 MB #Memory Used# [2025-03-09 19:54:01] Production.INFO: ==2397== Lock acquired, processing the job... [2025-03-09 19:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:54:01] Production.INFO: neon service started [2025-03-09 19:54:01] Production.INFO: neon service started [2025-03-09 19:54:01] Production.INFO: ==2397== Releasing lock... [2025-03-09 19:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:54:02] Production.INFO: ==2399== Lock acquired, processing the job... [2025-03-09 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:54:02] Production.INFO: ==2401== Lock acquired, processing the job... [2025-03-09 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:54:02] Production.INFO: ==2401== Releasing lock... [2025-03-09 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:54:02] Production.INFO: ==2399== Releasing lock... [2025-03-09 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:54:03] Production.INFO: ==2404== Lock acquired, processing the job... [2025-03-09 15:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:54:03] Production.INFO: ==2406== Lock acquired, processing the job... [2025-03-09 15:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:54:03] Production.INFO: ==2408== Lock acquired, processing the job... [2025-03-09 15:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:54:03] Production.INFO: ==2410== Lock acquired, processing the job... [2025-03-09 15:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:54:03] Production.INFO: ==2412== Lock acquired, processing the job... [2025-03-09 15:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:54:03] Production.INFO: Account Balance Start. [2025-03-09 15:54:03] Production.INFO: CreateAllLog Start [2025-03-09 15:54:03] Production.INFO: 117 [2025-03-09 15:54:03] Production.INFO: ==2406== Releasing lock... [2025-03-09 15:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:54:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:54:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:54:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:54:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:54:04] Production.INFO: Total Charge 0 [2025-03-09 15:54:04] Production.INFO: CreateAllLog End [2025-03-09 15:54:04] Production.INFO: ==2414== Lock acquired, processing the job... [2025-03-09 15:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:54:04] Production.INFO: count ==13 [2025-03-09 15:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:54:04] Production.INFO: count ==21 [2025-03-09 15:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643234') start [2025-03-09 15:54:04] Production.INFO: Account Balance End. [2025-03-09 15:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643234') end [2025-03-09 15:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:54:04] Production.INFO: 1 [2025-03-09 15:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:54:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:54:04] Production.INFO: ==2410== Releasing lock... [2025-03-09 15:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:54:04] Production.INFO: ==2414== Releasing lock... [2025-03-09 15:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:54:04] Production.ERROR: done [2025-03-09 15:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:54:04] Production.ERROR: done [2025-03-09 15:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:54:05 [end_date_ymd] => 2025-03-09 15:54:05 [RateCDR] => 1 ) [2025-03-09 15:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:54:05' and `end` < '2025-03-09 15:54:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:54:11] Production.ERROR: CronJobId end10 [2025-03-09 15:54:11] Production.INFO: ==2408== Releasing lock... [2025-03-09 15:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:54:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:54:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:54:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:54:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:54:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:54:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:54:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:54:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:54:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:54:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:54:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:54:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:54:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:54:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:54:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:54:13] Production.INFO: call_cost start [2025-03-09 15:54:13] Production.INFO: call_cost end [2025-03-09 15:54:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:54:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:54:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:54:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:54:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:54:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:54:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:54:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:54:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:54:14] Production.INFO: ==2404== Releasing lock... [2025-03-09 15:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:54:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:54:17] Production.INFO: count ==992 [2025-03-09 15:54:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:54:05 - End Time 2025-03-09 15:54:05 [2025-03-09 15:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643235', 'tblTempUsageDetail_20' ) start [2025-03-09 15:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643235', 'tblTempUsageDetail_20' ) end [2025-03-09 15:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643235', 'tblTempVendorCDR_20' ) start [2025-03-09 15:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643235', 'tblTempVendorCDR_20' ) end [2025-03-09 15:54:18] Production.INFO: ProcessCDR(1,14643235,1,1,2) [2025-03-09 15:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643235', 'tblTempUsageDetail_20' ) start [2025-03-09 15:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643235', 'tblTempUsageDetail_20' ) end [2025-03-09 15:54:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:54:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:54:21] Production.INFO: ==2412== Releasing lock... [2025-03-09 15:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:54:21] Production.INFO: 35.5 MB #Memory Used# [2025-03-09 19:55:02] Production.INFO: ==2470== Lock acquired, processing the job... [2025-03-09 19:55:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:55:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:55:02] Production.INFO: neon service started [2025-03-09 19:55:02] Production.INFO: neon service started [2025-03-09 19:55:02] Production.INFO: ==2470== Releasing lock... [2025-03-09 19:55:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:55:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:55:02] Production.INFO: ==2472== Lock acquired, processing the job... [2025-03-09 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:55:02] Production.INFO: ==2472== Releasing lock... [2025-03-09 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:55:02] Production.INFO: ==2474== Lock acquired, processing the job... [2025-03-09 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:55:03] Production.INFO: ==2474== Releasing lock... [2025-03-09 19:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:55:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:55:03] Production.INFO: ==2483== Lock acquired, processing the job... [2025-03-09 15:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:55:03] Production.INFO: ==2477== Lock acquired, processing the job... [2025-03-09 15:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:55:03] Production.INFO: Account Balance Start. [2025-03-09 15:55:03] Production.INFO: CreateAllLog Start [2025-03-09 15:55:03] Production.INFO: 117 [2025-03-09 15:55:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:55:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:55:03] Production.INFO: ==2487== Lock acquired, processing the job... [2025-03-09 15:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:55:04] Production.INFO: ==2479== Lock acquired, processing the job... [2025-03-09 15:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:55:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:55:04] Production.INFO: ==2481== Lock acquired, processing the job... [2025-03-09 15:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:55:04] Production.INFO: Total Charge 0 [2025-03-09 15:55:04] Production.INFO: CreateAllLog End [2025-03-09 15:55:04] Production.INFO: ==2485== Lock acquired, processing the job... [2025-03-09 15:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 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-09 15:55:04] Production.INFO: count ==13 [2025-03-09 15:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 15:55:04] Production.INFO: count ==21 [2025-03-09 15:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643238') start [2025-03-09 15:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:55:04] Production.INFO: ==2479== Releasing lock... [2025-03-09 15:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643238') end [2025-03-09 15:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:55:04] Production.INFO: 1 [2025-03-09 15:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:55:04] Production.INFO: Account Balance End. [2025-03-09 15:55:04] Production.INFO: ==2487== Releasing lock... [2025-03-09 15:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:55:04] Production.ERROR: done [2025-03-09 15:55:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:55:04] Production.INFO: ==2483== Releasing lock... [2025-03-09 15:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:55:04] Production.ERROR: done [2025-03-09 15:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:55:05 [end_date_ymd] => 2025-03-09 15:55:05 [RateCDR] => 1 ) [2025-03-09 15:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:55:05' and `end` < '2025-03-09 15:55:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:55:12] Production.ERROR: CronJobId end10 [2025-03-09 15:55:12] Production.INFO: ==2481== Releasing lock... [2025-03-09 15:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:55:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:55:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:55:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:55:14] Production.INFO: call_cost start [2025-03-09 15:55:14] Production.INFO: call_cost end [2025-03-09 15:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:55:15] Production.INFO: ==2477== Releasing lock... [2025-03-09 15:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:55:18] Production.INFO: count ==994 [2025-03-09 15:55:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:55:05 - End Time 2025-03-09 15:55:05 [2025-03-09 15:55:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643240', 'tblTempUsageDetail_20' ) start [2025-03-09 15:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643240', 'tblTempUsageDetail_20' ) end [2025-03-09 15:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643240', 'tblTempVendorCDR_20' ) start [2025-03-09 15:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643240', 'tblTempVendorCDR_20' ) end [2025-03-09 15:55:18] Production.INFO: ProcessCDR(1,14643240,1,1,2) [2025-03-09 15:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643240', 'tblTempUsageDetail_20' ) start [2025-03-09 15:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643240', 'tblTempUsageDetail_20' ) end [2025-03-09 15:55:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:55:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:55:21] Production.INFO: ==2485== Releasing lock... [2025-03-09 15:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:55:21] Production.INFO: 36 MB #Memory Used# [2025-03-09 19:56:01] Production.INFO: ==2544== Lock acquired, processing the job... [2025-03-09 19:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:56:01] Production.INFO: neon service started [2025-03-09 19:56:01] Production.INFO: neon service started [2025-03-09 19:56:01] Production.INFO: ==2544== Releasing lock... [2025-03-09 19:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:56:02] Production.INFO: ==2546== Lock acquired, processing the job... [2025-03-09 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:56:02] Production.INFO: ==2548== Lock acquired, processing the job... [2025-03-09 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:56:02] Production.INFO: ==2548== Releasing lock... [2025-03-09 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:56:02] Production.INFO: ==2546== Releasing lock... [2025-03-09 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:56:03] Production.INFO: ==2551== Lock acquired, processing the job... [2025-03-09 15:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:56:03] Production.INFO: ==2555== Lock acquired, processing the job... [2025-03-09 15:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:56:03] Production.INFO: ==2557== Lock acquired, processing the job... [2025-03-09 15:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:56:03] Production.INFO: Account Balance Start. [2025-03-09 15:56:03] Production.INFO: CreateAllLog Start [2025-03-09 15:56:03] Production.INFO: 117 [2025-03-09 15:56:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:56:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:56:03] Production.INFO: Date 2025-03-09 [2025-03-09 15:56:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:56:03] Production.INFO: ==2553== Lock acquired, processing the job... [2025-03-09 15:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:56:03] Production.INFO: Total Charge 0 [2025-03-09 15:56:03] Production.INFO: CreateAllLog End [2025-03-09 15:56:03] Production.INFO: ==2559== Lock acquired, processing the job... [2025-03-09 15:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:56:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:56:04] Production.INFO: ==2561== Lock acquired, processing the job... [2025-03-09 15:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:56:04] Production.INFO: Account Balance End. [2025-03-09 15:56:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:56:04] Production.INFO: ==2557== Releasing lock... [2025-03-09 15:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:56:04] Production.INFO: count ==13 [2025-03-09 15:56:04] Production.ERROR: done [2025-03-09 15:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:56:04] Production.INFO: count ==21 [2025-03-09 15:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643244') start [2025-03-09 15:56:04] Production.INFO: ==2553== Releasing lock... [2025-03-09 15:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643244') end [2025-03-09 15:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:56:04] Production.INFO: 1 [2025-03-09 15:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:56:04] Production.INFO: ==2561== Releasing lock... [2025-03-09 15:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:56:04] Production.ERROR: done [2025-03-09 15:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:56:05 [end_date_ymd] => 2025-03-09 15:56:05 [RateCDR] => 1 ) [2025-03-09 15:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:56:05' and `end` < '2025-03-09 15:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:56:11] Production.ERROR: CronJobId end10 [2025-03-09 15:56:11] Production.INFO: ==2555== Releasing lock... [2025-03-09 15:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:56:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:56:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:56:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:56:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:56:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:56:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:56:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:56:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:56:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:56:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:56:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:56:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:56:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:56:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:56:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:56:13] Production.INFO: call_cost start [2025-03-09 15:56:13] Production.INFO: call_cost end [2025-03-09 15:56:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:56:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:56:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:56:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:56:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:56:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:56:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:56:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:56:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:56:14] Production.INFO: ==2551== Releasing lock... [2025-03-09 15:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:56:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:56:17] Production.INFO: count ==992 [2025-03-09 15:56:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:56:05 - End Time 2025-03-09 15:56:05 [2025-03-09 15:56:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643245', 'tblTempUsageDetail_20' ) start [2025-03-09 15:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643245', 'tblTempUsageDetail_20' ) end [2025-03-09 15:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643245', 'tblTempVendorCDR_20' ) start [2025-03-09 15:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643245', 'tblTempVendorCDR_20' ) end [2025-03-09 15:56:18] Production.INFO: ProcessCDR(1,14643245,1,1,2) [2025-03-09 15:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643245', 'tblTempUsageDetail_20' ) start [2025-03-09 15:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643245', 'tblTempUsageDetail_20' ) end [2025-03-09 15:56:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:56:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:56:22] Production.INFO: ==2559== Releasing lock... [2025-03-09 15:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:56:22] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 19:57:02] Production.INFO: ==2614== Lock acquired, processing the job... [2025-03-09 19:57:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:57:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:57:02] Production.INFO: neon service started [2025-03-09 19:57:02] Production.INFO: neon service started [2025-03-09 19:57:02] Production.INFO: ==2614== Releasing lock... [2025-03-09 19:57:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:57:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:57:02] Production.INFO: ==2616== Lock acquired, processing the job... [2025-03-09 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:57:02] Production.INFO: ==2618== Lock acquired, processing the job... [2025-03-09 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:57:02] Production.INFO: ==2618== Releasing lock... [2025-03-09 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:57:03] Production.INFO: ==2616== Releasing lock... [2025-03-09 15:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:57:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:57:03] Production.INFO: ==2621== Lock acquired, processing the job... [2025-03-09 15:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:57:03] Production.INFO: ==2631== Lock acquired, processing the job... [2025-03-09 15:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:57:04] Production.INFO: count ==13 [2025-03-09 15:57:04] Production.INFO: ==2623== Lock acquired, processing the job... [2025-03-09 15:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:57:04] Production.INFO: count ==21 [2025-03-09 15:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643247') start [2025-03-09 15:57:04] Production.INFO: ==2625== Lock acquired, processing the job... [2025-03-09 15:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:57:04] Production.INFO: ==2627== Lock acquired, processing the job... [2025-03-09 15:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:57:04] Production.INFO: ==2629== Lock acquired, processing the job... [2025-03-09 15:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643247') end [2025-03-09 15:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:57:04] Production.INFO: 1 [2025-03-09 15:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:57:04] Production.INFO: ==2631== Releasing lock... [2025-03-09 15:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:57:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:57:04] Production.INFO: Account Balance Start. [2025-03-09 15:57:04] Production.INFO: CreateAllLog Start [2025-03-09 15:57:04] Production.INFO: 117 [2025-03-09 15:57:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:57:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:57:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:57:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:57:04] Production.INFO: Total Charge 0 [2025-03-09 15:57:04] Production.INFO: CreateAllLog End [2025-03-09 15:57:04] Production.INFO: ==2623== Releasing lock... [2025-03-09 15:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:57:04] Production.ERROR: done [2025-03-09 15:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:57:04] Production.ERROR: done [2025-03-09 15:57:04] Production.INFO: Account Balance End. [2025-03-09 15:57:05] Production.ERROR: CronJobId end 12 [2025-03-09 15:57:05] Production.INFO: ==2627== Releasing lock... [2025-03-09 15:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:57:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:57:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:57:06 [end_date_ymd] => 2025-03-09 15:57:06 [RateCDR] => 1 ) [2025-03-09 15: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-09 12:57:06' and `end` < '2025-03-09 15: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-09 15:57:12] Production.ERROR: CronJobId end10 [2025-03-09 15:57:12] Production.INFO: ==2625== Releasing lock... [2025-03-09 15:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:57:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:57:15] Production.INFO: call_cost start [2025-03-09 15:57:15] Production.INFO: call_cost end [2025-03-09 15:57:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:57:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:57:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:57:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:57:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:57:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:57:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:57:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:57:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:57:16] Production.INFO: ==2621== Releasing lock... [2025-03-09 15:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:57:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:57:18] Production.INFO: count ==998 [2025-03-09 15:57:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:57:06 - End Time 2025-03-09 15:57:06 [2025-03-09 15:57:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643250', 'tblTempUsageDetail_20' ) start [2025-03-09 15:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643250', 'tblTempUsageDetail_20' ) end [2025-03-09 15:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643250', 'tblTempVendorCDR_20' ) start [2025-03-09 15:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643250', 'tblTempVendorCDR_20' ) end [2025-03-09 15:57:18] Production.INFO: ProcessCDR(1,14643250,1,1,2) [2025-03-09 15:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643250', 'tblTempUsageDetail_20' ) start [2025-03-09 15:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643250', 'tblTempUsageDetail_20' ) end [2025-03-09 15:57:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:57:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:57:21] Production.INFO: ==2629== Releasing lock... [2025-03-09 15:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:57:21] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 19:58:01] Production.INFO: ==2683== Lock acquired, processing the job... [2025-03-09 19:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:58:01] Production.INFO: neon service started [2025-03-09 19:58:01] Production.INFO: neon service started [2025-03-09 19:58:01] Production.INFO: ==2683== Releasing lock... [2025-03-09 19:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:58:02] Production.INFO: ==2687== Lock acquired, processing the job... [2025-03-09 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 15:58:02] Production.INFO: ==2685== Lock acquired, processing the job... [2025-03-09 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:58:02] Production.INFO: ==2687== Releasing lock... [2025-03-09 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:58:02] Production.INFO: ==2685== Releasing lock... [2025-03-09 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 15:58:03] Production.INFO: ==2690== Lock acquired, processing the job... [2025-03-09 15:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:58:03] Production.INFO: ==2692== Lock acquired, processing the job... [2025-03-09 15:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:58:03] Production.INFO: ==2698== Lock acquired, processing the job... [2025-03-09 15:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:58:03] Production.INFO: ==2694== Lock acquired, processing the job... [2025-03-09 15:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:58:03] Production.INFO: ==2696== Lock acquired, processing the job... [2025-03-09 15:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:58:03] Production.INFO: ==2700== Lock acquired, processing the job... [2025-03-09 15:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:58:03] Production.INFO: Account Balance Start. [2025-03-09 15:58:03] Production.INFO: CreateAllLog Start [2025-03-09 15:58:03] Production.INFO: 117 [2025-03-09 15:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:58:03] Production.INFO: Date 2025-03-08 [2025-03-09 15:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:58:03] Production.INFO: Reseller ==> 0 [2025-03-09 15:58:03] Production.ERROR: done [2025-03-09 15:58:03] Production.INFO: count ==13 [2025-03-09 15:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:58:03] Production.INFO: ==2692== Releasing lock... [2025-03-09 15:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:58:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:58:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:58:03] Production.INFO: count ==21 [2025-03-09 15:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643254') start [2025-03-09 15:58:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:58:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643254') end [2025-03-09 15:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:58:04] Production.INFO: 1 [2025-03-09 15:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:58:04] Production.ERROR: done [2025-03-09 15:58:04] Production.INFO: Total Charge 0 [2025-03-09 15:58:04] Production.INFO: CreateAllLog End [2025-03-09 15:58:04] Production.INFO: ==2700== Releasing lock... [2025-03-09 15:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:58:04] Production.INFO: Account Balance End. [2025-03-09 15:58:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:58:04] Production.INFO: ==2696== Releasing lock... [2025-03-09 15:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:58:05 [end_date_ymd] => 2025-03-09 15:58:05 [RateCDR] => 1 ) [2025-03-09 15:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:58:05' and `end` < '2025-03-09 15:58:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:58:11] Production.ERROR: CronJobId end10 [2025-03-09 15:58:11] Production.INFO: ==2694== Releasing lock... [2025-03-09 15:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:58:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:58:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:58:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:58:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:58:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:58:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:58:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:58:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:58:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:58:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:58:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:58:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:58:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:58:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:58:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:58:13] Production.INFO: call_cost start [2025-03-09 15:58:13] Production.INFO: call_cost end [2025-03-09 15:58:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:58:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:58:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:58:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:58:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:58:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:58:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:58:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:58:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:58:14] Production.INFO: ==2690== Releasing lock... [2025-03-09 15:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:58:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:58:17] Production.INFO: count ==998 [2025-03-09 15:58:17] Production.ERROR: pbx CDR StartTime 2025-03-09 12:58:05 - End Time 2025-03-09 15:58:05 [2025-03-09 15:58:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643255', 'tblTempUsageDetail_20' ) start [2025-03-09 15:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643255', 'tblTempUsageDetail_20' ) end [2025-03-09 15:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643255', 'tblTempVendorCDR_20' ) start [2025-03-09 15:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643255', 'tblTempVendorCDR_20' ) end [2025-03-09 15:58:17] Production.INFO: ProcessCDR(1,14643255,1,1,2) [2025-03-09 15:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643255', 'tblTempUsageDetail_20' ) start [2025-03-09 15:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643255', 'tblTempUsageDetail_20' ) end [2025-03-09 15:58:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:58:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:58:21] Production.INFO: ==2698== Releasing lock... [2025-03-09 15:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:58:21] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 19:59:01] Production.INFO: ==2756== Lock acquired, processing the job... [2025-03-09 19:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 19:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 19:59:01] Production.INFO: neon service started [2025-03-09 19:59:02] Production.INFO: neon service started [2025-03-09 19:59:02] Production.INFO: ==2756== Releasing lock... [2025-03-09 19:59:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 19:59:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 15:59:02] Production.INFO: ==2758== Lock acquired, processing the job... [2025-03-09 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 15:59:02] Production.INFO: ==2758== Releasing lock... [2025-03-09 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 15:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:59:02] Production.INFO: ==2760== Lock acquired, processing the job... [2025-03-09 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:59:02] Production.INFO: ==2760== Releasing lock... [2025-03-09 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 19:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 15:59:03] Production.INFO: ==2764== Lock acquired, processing the job... [2025-03-09 15:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 15:59:03] Production.INFO: ==2762== Lock acquired, processing the job... [2025-03-09 15:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 15:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 15:59:03] Production.INFO: ==2772== Lock acquired, processing the job... [2025-03-09 15:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 15:59:03] Production.INFO: ==2766== Lock acquired, processing the job... [2025-03-09 15:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 15:59:03] Production.INFO: ==2768== Lock acquired, processing the job... [2025-03-09 15:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 15:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 15:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 15:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 15:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 15:59:03] Production.INFO: ==2770== Lock acquired, processing the job... [2025-03-09 15:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 15:59:03] Production.INFO: count ==13 [2025-03-09 15:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 15:59:03] Production.INFO: count ==21 [2025-03-09 15:59:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 15:59:04] Production.INFO: ==2764== Releasing lock... [2025-03-09 15:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 15:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 15:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643258') start [2025-03-09 15:59:04] Production.INFO: Account Balance Start. [2025-03-09 15:59:04] Production.INFO: CreateAllLog Start [2025-03-09 15:59:04] Production.INFO: 117 [2025-03-09 15:59:04] Production.INFO: Date 2025-03-08 [2025-03-09 15:59:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:59:04] Production.INFO: Date 2025-03-09 [2025-03-09 15:59:04] Production.INFO: Reseller ==> 0 [2025-03-09 15:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643258') end [2025-03-09 15:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 15:59:04] Production.INFO: 1 [2025-03-09 15:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 15:59:04] Production.INFO: Total Charge 0 [2025-03-09 15:59:04] Production.INFO: CreateAllLog End [2025-03-09 15:59:04] Production.INFO: ==2772== Releasing lock... [2025-03-09 15:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 15:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 15:59:04] Production.ERROR: done [2025-03-09 15:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 15:59:04] Production.ERROR: done [2025-03-09 15:59:04] Production.INFO: Account Balance End. [2025-03-09 15:59:04] Production.ERROR: CronJobId end 12 [2025-03-09 15:59:04] Production.INFO: ==2768== Releasing lock... [2025-03-09 15:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 15:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 15:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 12:59:05 [end_date_ymd] => 2025-03-09 15:59:05 [RateCDR] => 1 ) [2025-03-09 15:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 12:59:05' and `end` < '2025-03-09 15:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 15:59:13] Production.ERROR: CronJobId end10 [2025-03-09 15:59:13] Production.INFO: ==2766== Releasing lock... [2025-03-09 15:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 15:59:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 15:59:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 15:59:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 15:59:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 15:59:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 15:59:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 15:59:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 15:59:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 15:59:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 15:59:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 15:59:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 15:59:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 15:59:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 15:59:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 15:59:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 15:59:14] Production.INFO: call_cost start [2025-03-09 15:59:14] Production.INFO: call_cost end [2025-03-09 15:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 15:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 15:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 15:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 15:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 15:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 15:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 15:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 15:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 15:59:15] Production.INFO: ==2762== Releasing lock... [2025-03-09 15:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 15:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 15:59:18] Production.INFO: count ==998 [2025-03-09 15:59:18] Production.ERROR: pbx CDR StartTime 2025-03-09 12:59:05 - End Time 2025-03-09 15:59:05 [2025-03-09 15:59:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 15:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643260', 'tblTempUsageDetail_20' ) start [2025-03-09 15:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643260', 'tblTempUsageDetail_20' ) end [2025-03-09 15:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643260', 'tblTempVendorCDR_20' ) start [2025-03-09 15:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643260', 'tblTempVendorCDR_20' ) end [2025-03-09 15:59:18] Production.INFO: ProcessCDR(1,14643260,1,1,2) [2025-03-09 15:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 15:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 15:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643260', 'tblTempUsageDetail_20' ) start [2025-03-09 15:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643260', 'tblTempUsageDetail_20' ) end [2025-03-09 15:59:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 15:59:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 15:59:21] Production.INFO: ==2770== Releasing lock... [2025-03-09 15:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 15:59:21] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 20:00:01] Production.INFO: ==2832== Lock acquired, processing the job... [2025-03-09 20:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:00:01] Production.INFO: neon service started [2025-03-09 20:00:01] Production.INFO: neon service started [2025-03-09 20:00:01] Production.INFO: ==2832== Releasing lock... [2025-03-09 20:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:00:01] Production.INFO: ==2834== Lock acquired, processing the job... [2025-03-09 16:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 20:00:02] Production.INFO: ==2836== Lock acquired, processing the job... [2025-03-09 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:00:02] Production.INFO: ==2836== Releasing lock... [2025-03-09 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:00:02] Production.INFO: ==2834== Releasing lock... [2025-03-09 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:00:03] Production.INFO: ==2843== Lock acquired, processing the job... [2025-03-09 16:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:00:03] Production.INFO: ==2847== Lock acquired, processing the job... [2025-03-09 16:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:00:03] Production.INFO: ==2853== Lock acquired, processing the job... [2025-03-09 16:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:00:03] Production.INFO: ==2843== Releasing lock... [2025-03-09 16:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:00:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:00:03] Production.INFO: ==2839== Lock acquired, processing the job... [2025-03-09 16:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 16:00:03] Production.INFO: ==2841== Lock acquired, processing the job... [2025-03-09 16:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:00:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 16:00:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:00:03] Production.INFO: Account Balance Start. [2025-03-09 16:00:03] Production.INFO: CreateAllLog Start [2025-03-09 16:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 16:00:03] Production.ERROR: CronJob PID - 2841 [2025-03-09 16:00:03] Production.ERROR: CronJob Title - System Alerts [2025-03-09 16:00:03] Production.ERROR: CronJob ID - 5 [2025-03-09 16:00:03] Production.ERROR: CronJob Last Run Time 2025-03-09 16:00:00 [2025-03-09 16:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 16:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 16:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 16:00:03] Production.ERROR: CronJob PID - 2847 [2025-03-09 16:00:03] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 16:00:03] Production.ERROR: CronJob ID - 12 [2025-03-09 16:00:03] Production.ERROR: CronJob Last Run Time 2025-03-09 16:00:00 [2025-03-09 16:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 16:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 16:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 16:00:03] Production.ERROR: CronJob PID - 2853 [2025-03-09 16:00:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 16:00:03] Production.ERROR: CronJob ID - 19 [2025-03-09 16:00:03] Production.ERROR: CronJob Last Run Time 2025-03-09 16:00:00 [2025-03-09 16:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 16:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 16:00:03] Production.INFO: 117 [2025-03-09 16:00:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:00:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:00:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 16:00:03] Production.INFO: ==2839== Releasing lock... [2025-03-09 16:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 16:00:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 16:00:03] Production.INFO: ==2845== Lock acquired, processing the job... [2025-03-09 16:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:00:03] Production.INFO: count ==13 [2025-03-09 16:00:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:00:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:00:03] Production.INFO: count ==21 [2025-03-09 16:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643262') start [2025-03-09 16:00:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:00:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:00:04] Production.INFO: ==2849== Lock acquired, processing the job... [2025-03-09 16:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:00:04] Production.INFO: Total Charge 0 [2025-03-09 16:00:04] Production.INFO: ==2851== Lock acquired, processing the job... [2025-03-09 16:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 16:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643262') end [2025-03-09 16:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:00:04] Production.INFO: 1 [2025-03-09 16:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:00:04] Production.INFO: CreateAllLog End [2025-03-09 16:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:00:04] Production.INFO: ==2853== Releasing lock... [2025-03-09 16:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:00:04] Production.ERROR: done [2025-03-09 16:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:00:04] Production.ERROR: done [2025-03-09 16:00:04] Production.ERROR: done [2025-03-09 16:00:05] Production.INFO: Account Balance End. [2025-03-09 16:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 16:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643265', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 16:00:05] Production.ERROR: CronJobId end 12 [2025-03-09 16:00:05] Production.INFO: ==2847== Releasing lock... [2025-03-09 16:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:00:06 [end_date_ymd] => 2025-03-09 16:00:06 [RateCDR] => 1 ) [2025-03-09 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-09 13:00:06' and `end` < '2025-03-09 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-09 16:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643265', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 16:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 16:00:09] Production.INFO: ProcessCDR(1,14643265,1,1,2) [2025-03-09 16:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14643265,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14643265,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:00:09] Production.INFO: ==2851== Releasing lock... [2025-03-09 16:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 16:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 16:00:13] Production.ERROR: CronJobId end10 [2025-03-09 16:00:13] Production.INFO: ==2845== Releasing lock... [2025-03-09 16:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:00:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:00:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:00:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:00:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:00:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:00:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:00:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:00:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:00:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:00:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:00:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:00:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:00:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:00:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:00:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:00:16] Production.INFO: call_cost start [2025-03-09 16:00:16] Production.INFO: call_cost end [2025-03-09 16:00:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:00:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:00:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:00:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:00:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:00:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:00:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:00:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:00:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:00:17] Production.INFO: ==2841== Releasing lock... [2025-03-09 16:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:00:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:00:18] Production.INFO: count ==1000 [2025-03-09 16:00:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:00:06 - End Time 2025-03-09 16:00:06 [2025-03-09 16:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643266', 'tblTempUsageDetail_20' ) start [2025-03-09 16:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643266', 'tblTempUsageDetail_20' ) end [2025-03-09 16:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643266', 'tblTempVendorCDR_20' ) start [2025-03-09 16:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643266', 'tblTempVendorCDR_20' ) end [2025-03-09 16:00:18] Production.INFO: ProcessCDR(1,14643266,1,1,2) [2025-03-09 16:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643266', 'tblTempUsageDetail_20' ) start [2025-03-09 16:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643266', 'tblTempUsageDetail_20' ) end [2025-03-09 16:00:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:00:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:00:23] Production.INFO: ==2849== Releasing lock... [2025-03-09 16:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:00:23] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 20:01:01] Production.INFO: ==2921== Lock acquired, processing the job... [2025-03-09 20:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:01:01] Production.INFO: neon service started [2025-03-09 20:01:01] Production.INFO: neon service started [2025-03-09 20:01:01] Production.INFO: ==2921== Releasing lock... [2025-03-09 20:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:01:02] Production.INFO: ==2927== Lock acquired, processing the job... [2025-03-09 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:01:02] Production.INFO: ==2927== Releasing lock... [2025-03-09 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:01:02] Production.INFO: ==2929== Lock acquired, processing the job... [2025-03-09 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:01:02] Production.INFO: ==2929== Releasing lock... [2025-03-09 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:01:03] Production.INFO: ==2937== Lock acquired, processing the job... [2025-03-09 16:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:01:03] Production.INFO: Account Balance Start. [2025-03-09 16:01:03] Production.INFO: CreateAllLog Start [2025-03-09 16:01:03] Production.INFO: 117 [2025-03-09 16:01:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:01:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:01:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:01:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:01:03] Production.INFO: Total Charge 0 [2025-03-09 16:01:03] Production.INFO: CreateAllLog End [2025-03-09 16:01:03] Production.INFO: ==2931== Lock acquired, processing the job... [2025-03-09 16:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:01:03] Production.INFO: Account Balance End. [2025-03-09 16:01:03] Production.INFO: ==2939== Lock acquired, processing the job... [2025-03-09 16:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:01:03] Production.INFO: ==2933== Lock acquired, processing the job... [2025-03-09 16:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:01:03] Production.ERROR: CronJobId end 12 [2025-03-09 16:01:03] Production.INFO: ==2937== Releasing lock... [2025-03-09 16:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:01:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:01:03] Production.INFO: ==2935== Lock acquired, processing the job... [2025-03-09 16:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:01:03] Production.INFO: ==2941== Lock acquired, processing the job... [2025-03-09 16:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:01:03] Production.INFO: count ==13 [2025-03-09 16:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:01:03] Production.INFO: count ==21 [2025-03-09 16:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643270') start [2025-03-09 16:01:03] Production.INFO: ==2933== Releasing lock... [2025-03-09 16:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:01:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:01:04] Production.ERROR: done [2025-03-09 16:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643270') end [2025-03-09 16:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:01:04] Production.INFO: 1 [2025-03-09 16:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:01:04] Production.INFO: ==2941== Releasing lock... [2025-03-09 16:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:01:04] Production.ERROR: done [2025-03-09 16:01:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:01:04 [end_date_ymd] => 2025-03-09 16:01:04 [RateCDR] => 1 ) [2025-03-09 16: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-09 13:01:04' and `end` < '2025-03-09 16: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-09 16:01:11] Production.ERROR: CronJobId end10 [2025-03-09 16:01:11] Production.INFO: ==2935== Releasing lock... [2025-03-09 16:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:01:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:01:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:01:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:01:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:01:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:01:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:01:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:01:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:01:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:01:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:01:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:01:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:01:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:01:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:01:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:01:14] Production.INFO: call_cost start [2025-03-09 16:01:14] Production.INFO: call_cost end [2025-03-09 16:01:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:01:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:01:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:01:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:01:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:01:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:01:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:01:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:01:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:01:15] Production.INFO: ==2931== Releasing lock... [2025-03-09 16:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:01:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:01:16] Production.INFO: count ==1012 [2025-03-09 16:01:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:01:04 - End Time 2025-03-09 16:01:04 [2025-03-09 16:01:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643271', 'tblTempUsageDetail_20' ) start [2025-03-09 16:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643271', 'tblTempUsageDetail_20' ) end [2025-03-09 16:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643271', 'tblTempVendorCDR_20' ) start [2025-03-09 16:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643271', 'tblTempVendorCDR_20' ) end [2025-03-09 16:01:17] Production.INFO: ProcessCDR(1,14643271,1,1,2) [2025-03-09 16:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:01:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643271', 'tblTempUsageDetail_20' ) start [2025-03-09 16:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643271', 'tblTempUsageDetail_20' ) end [2025-03-09 16:01:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:01:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:01:20] Production.INFO: ==2939== Releasing lock... [2025-03-09 16:01:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:01:20] Production.INFO: 36 MB #Memory Used# [2025-03-09 20:02:02] Production.INFO: ==2996== Lock acquired, processing the job... [2025-03-09 20:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:02:02] Production.INFO: neon service started [2025-03-09 20:02:02] Production.INFO: neon service started [2025-03-09 20:02:02] Production.INFO: ==2996== Releasing lock... [2025-03-09 20:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:02:02] Production.INFO: ==2998== Lock acquired, processing the job... [2025-03-09 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 20:02:02] Production.INFO: ==3000== Lock acquired, processing the job... [2025-03-09 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:02:02] Production.INFO: ==3000== Releasing lock... [2025-03-09 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:02:03] Production.INFO: ==2998== Releasing lock... [2025-03-09 16:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:02:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:02:03] Production.INFO: ==3003== Lock acquired, processing the job... [2025-03-09 16:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:02:04] Production.INFO: ==3005== Lock acquired, processing the job... [2025-03-09 16:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:02:04] Production.INFO: ==3009== Lock acquired, processing the job... [2025-03-09 16:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:02:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:02:04] Production.INFO: Account Balance Start. [2025-03-09 16:02:04] Production.INFO: CreateAllLog Start [2025-03-09 16:02:04] Production.INFO: 117 [2025-03-09 16:02:04] Production.INFO: ==3011== Lock acquired, processing the job... [2025-03-09 16:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:02:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:02:04] Production.INFO: ==3007== Lock acquired, processing the job... [2025-03-09 16:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:02:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:02:04] Production.INFO: Total Charge 0 [2025-03-09 16:02:04] Production.INFO: CreateAllLog End [2025-03-09 16:02:04] Production.INFO: ==3013== Lock acquired, processing the job... [2025-03-09 16:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:02:04] Production.INFO: ==3005== Releasing lock... [2025-03-09 16:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:02:04] Production.ERROR: done [2025-03-09 16:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:02:04] Production.INFO: Account Balance End. [2025-03-09 16:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:02:04] Production.INFO: count ==13 [2025-03-09 16:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:02:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:02:04] Production.INFO: ==3009== Releasing lock... [2025-03-09 16:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:02:04] Production.INFO: count ==21 [2025-03-09 16:02:05] Production.ERROR: PBX CALL prc_importPBXExtension('14643275') start [2025-03-09 16:02:05] Production.ERROR: done [2025-03-09 16:02:05] Production.ERROR: PBX CALL prc_importPBXExtension('14643275') end [2025-03-09 16:02:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:02:05] Production.INFO: 1 [2025-03-09 16:02:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:02:05] Production.INFO: ==3013== Releasing lock... [2025-03-09 16:02:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:02:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:02:05 [end_date_ymd] => 2025-03-09 16:02:05 [RateCDR] => 1 ) [2025-03-09 16:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:02:05' and `end` < '2025-03-09 16:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:02:12] Production.ERROR: CronJobId end10 [2025-03-09 16:02:12] Production.INFO: ==3007== Releasing lock... [2025-03-09 16:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:02:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:02:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:02:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:02:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:02:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:02:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:02:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:02:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:02:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:02:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:02:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:02:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:02:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:02:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:02:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:02:15] Production.INFO: call_cost start [2025-03-09 16:02:15] Production.INFO: call_cost end [2025-03-09 16:02:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:02:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:02:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:02:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:02:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:02:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:02:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:02:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:02:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:02:16] Production.INFO: ==3003== Releasing lock... [2025-03-09 16:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:02:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:02:18] Production.INFO: count ==1011 [2025-03-09 16:02:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:02:05 - End Time 2025-03-09 16:02:05 [2025-03-09 16:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643276', 'tblTempUsageDetail_20' ) start [2025-03-09 16:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643276', 'tblTempUsageDetail_20' ) end [2025-03-09 16:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643276', 'tblTempVendorCDR_20' ) start [2025-03-09 16:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643276', 'tblTempVendorCDR_20' ) end [2025-03-09 16:02:18] Production.INFO: ProcessCDR(1,14643276,1,1,2) [2025-03-09 16:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643276', 'tblTempUsageDetail_20' ) start [2025-03-09 16:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643276', 'tblTempUsageDetail_20' ) end [2025-03-09 16:02:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:02:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:02:21] Production.INFO: ==3011== Releasing lock... [2025-03-09 16:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:02:21] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 20:03:01] Production.INFO: ==3070== Lock acquired, processing the job... [2025-03-09 20:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:03:01] Production.INFO: neon service started [2025-03-09 20:03:01] Production.INFO: neon service started [2025-03-09 20:03:01] Production.INFO: ==3070== Releasing lock... [2025-03-09 20:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 20:03:02] Production.INFO: ==3074== Lock acquired, processing the job... [2025-03-09 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:03:02] Production.INFO: ==3074== Releasing lock... [2025-03-09 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:03:02] Production.INFO: ==3072== Lock acquired, processing the job... [2025-03-09 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:03:02] Production.INFO: ==3072== Releasing lock... [2025-03-09 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:03:03] Production.INFO: ==3087== Lock acquired, processing the job... [2025-03-09 16:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:03:03] Production.INFO: ==3083== Lock acquired, processing the job... [2025-03-09 16:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:03:03] Production.INFO: Account Balance Start. [2025-03-09 16:03:03] Production.INFO: CreateAllLog Start [2025-03-09 16:03:03] Production.INFO: 117 [2025-03-09 16:03:03] Production.INFO: ==3076== Lock acquired, processing the job... [2025-03-09 16:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:03:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:03:03] Production.INFO: count ==13 [2025-03-09 16:03:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:03:03] Production.INFO: count ==21 [2025-03-09 16:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:03:03] Production.INFO: ==3078== Lock acquired, processing the job... [2025-03-09 16:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:03:03] Production.INFO: Total Charge 0 [2025-03-09 16:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643278') start [2025-03-09 16:03:03] Production.INFO: ==3080== Lock acquired, processing the job... [2025-03-09 16:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:03:03] Production.INFO: CreateAllLog End [2025-03-09 16:03:04] Production.INFO: ==3085== Lock acquired, processing the job... [2025-03-09 16:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643278') end [2025-03-09 16:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:03:04] Production.INFO: 1 [2025-03-09 16:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:03:04] Production.INFO: ==3087== Releasing lock... [2025-03-09 16:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:03:04] Production.INFO: Account Balance End. [2025-03-09 16:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:03:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:03:04] Production.INFO: ==3083== Releasing lock... [2025-03-09 16:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:03:04] Production.INFO: ==3078== Releasing lock... [2025-03-09 16:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:03:04] Production.ERROR: done [2025-03-09 16:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:03:04] Production.ERROR: done [2025-03-09 16:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:03:05 [end_date_ymd] => 2025-03-09 16:03:05 [RateCDR] => 1 ) [2025-03-09 16:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:03:05' and `end` < '2025-03-09 16:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:03:12] Production.ERROR: CronJobId end10 [2025-03-09 16:03:12] Production.INFO: ==3080== Releasing lock... [2025-03-09 16:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:03:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:03:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:03:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:03:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:03:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:03:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:03:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:03:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:03:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:03:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:03:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:03:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:03:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:03:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:03:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:03:15] Production.INFO: call_cost start [2025-03-09 16:03:15] Production.INFO: call_cost end [2025-03-09 16:03:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:03:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:03:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:03:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:03:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:03:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:03:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:03:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:03:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:03:16] Production.INFO: ==3076== Releasing lock... [2025-03-09 16:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:03:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:03:18] Production.INFO: count ==1006 [2025-03-09 16:03:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:03:05 - End Time 2025-03-09 16:03:05 [2025-03-09 16:03:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643281', 'tblTempUsageDetail_20' ) start [2025-03-09 16:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643281', 'tblTempUsageDetail_20' ) end [2025-03-09 16:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643281', 'tblTempVendorCDR_20' ) start [2025-03-09 16:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643281', 'tblTempVendorCDR_20' ) end [2025-03-09 16:03:18] Production.INFO: ProcessCDR(1,14643281,1,1,2) [2025-03-09 16:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643281', 'tblTempUsageDetail_20' ) start [2025-03-09 16:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643281', 'tblTempUsageDetail_20' ) end [2025-03-09 16:03:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:03:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:03:21] Production.INFO: ==3085== Releasing lock... [2025-03-09 16:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:03:21] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 20:04:02] Production.INFO: ==3144== Lock acquired, processing the job... [2025-03-09 20:04:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:04:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:04:02] Production.INFO: neon service started [2025-03-09 20:04:02] Production.INFO: neon service started [2025-03-09 20:04:02] Production.INFO: ==3144== Releasing lock... [2025-03-09 20:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:04:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 16:04:02] Production.INFO: ==3146== Lock acquired, processing the job... [2025-03-09 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:04:03] Production.INFO: ==3146== Releasing lock... [2025-03-09 16:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:04:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:04:03] Production.INFO: ==3149== Lock acquired, processing the job... [2025-03-09 20:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:04:03] Production.INFO: ==3149== Releasing lock... [2025-03-09 20:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:04:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:04:03] Production.INFO: ==3151== Lock acquired, processing the job... [2025-03-09 16:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:04:03] Production.INFO: ==3157== Lock acquired, processing the job... [2025-03-09 16:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:04:03] Production.INFO: ==3159== Lock acquired, processing the job... [2025-03-09 16:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:04:03] Production.INFO: Account Balance Start. [2025-03-09 16:04:04] Production.INFO: CreateAllLog Start [2025-03-09 16:04:04] Production.INFO: 117 [2025-03-09 16:04:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:04:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:04:04] Production.INFO: Total Charge 0 [2025-03-09 16:04:04] Production.INFO: CreateAllLog End [2025-03-09 16:04:04] Production.INFO: ==3153== Lock acquired, processing the job... [2025-03-09 16:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:04:04] Production.INFO: ==3155== Lock acquired, processing the job... [2025-03-09 16:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:04:04] Production.INFO: ==3161== Lock acquired, processing the job... [2025-03-09 16:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:04:04] Production.ERROR: done [2025-03-09 16:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:04:04] Production.INFO: Account Balance End. [2025-03-09 16:04:04] Production.INFO: count ==13 [2025-03-09 16:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:04:04] Production.INFO: count ==21 [2025-03-09 16:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643285') start [2025-03-09 16:04:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:04:04] Production.INFO: ==3157== Releasing lock... [2025-03-09 16:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:04:04] Production.INFO: ==3153== Releasing lock... [2025-03-09 16:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:04:04] Production.ERROR: done [2025-03-09 16:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643285') end [2025-03-09 16:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:04:04] Production.INFO: 1 [2025-03-09 16:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:04:04] Production.INFO: ==3161== Releasing lock... [2025-03-09 16:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:04:05 [end_date_ymd] => 2025-03-09 16:04:05 [RateCDR] => 1 ) [2025-03-09 16:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:04:05' and `end` < '2025-03-09 16:04:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:04:12] Production.ERROR: CronJobId end10 [2025-03-09 16:04:12] Production.INFO: ==3155== Releasing lock... [2025-03-09 16:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:04:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:04:15] Production.INFO: call_cost start [2025-03-09 16:04:15] Production.INFO: call_cost end [2025-03-09 16:04:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:04:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:04:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:04:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:04:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:04:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:04:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:04:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:04:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:04:16] Production.INFO: ==3151== Releasing lock... [2025-03-09 16:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:04:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:04:17] Production.INFO: count ==989 [2025-03-09 16:04:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:04:05 - End Time 2025-03-09 16:04:05 [2025-03-09 16:04:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643286', 'tblTempUsageDetail_20' ) start [2025-03-09 16:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643286', 'tblTempUsageDetail_20' ) end [2025-03-09 16:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643286', 'tblTempVendorCDR_20' ) start [2025-03-09 16:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643286', 'tblTempVendorCDR_20' ) end [2025-03-09 16:04:18] Production.INFO: ProcessCDR(1,14643286,1,1,2) [2025-03-09 16:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643286', 'tblTempUsageDetail_20' ) start [2025-03-09 16:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643286', 'tblTempUsageDetail_20' ) end [2025-03-09 16:04:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:04:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:04:21] Production.INFO: ==3159== Releasing lock... [2025-03-09 16:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:04:21] Production.INFO: 36 MB #Memory Used# [2025-03-09 20:05:01] Production.INFO: ==3220== Lock acquired, processing the job... [2025-03-09 20:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:05:01] Production.INFO: neon service started [2025-03-09 20:05:01] Production.INFO: neon service started [2025-03-09 20:05:01] Production.INFO: ==3220== Releasing lock... [2025-03-09 20:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:05:02] Production.INFO: ==3222== Lock acquired, processing the job... [2025-03-09 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 20:05:02] Production.INFO: ==3224== Lock acquired, processing the job... [2025-03-09 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:05:02] Production.INFO: ==3224== Releasing lock... [2025-03-09 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:05:02] Production.INFO: ==3222== Releasing lock... [2025-03-09 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:05:03] Production.INFO: ==3229== Lock acquired, processing the job... [2025-03-09 16:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:05:03] Production.INFO: ==3233== Lock acquired, processing the job... [2025-03-09 16:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:05:03] Production.INFO: ==3227== Lock acquired, processing the job... [2025-03-09 16:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:05:03] Production.INFO: ==3231== Lock acquired, processing the job... [2025-03-09 16:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:05:03] Production.INFO: Account Balance Start. [2025-03-09 16:05:03] Production.INFO: CreateAllLog Start [2025-03-09 16:05:03] Production.INFO: 117 [2025-03-09 16:05:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:05:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:05:03] Production.INFO: ==3229== Releasing lock... [2025-03-09 16:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:05:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:05:03] Production.INFO: ==3235== Lock acquired, processing the job... [2025-03-09 16:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:05:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:05:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:05:03] Production.INFO: ==3237== Lock acquired, processing the job... [2025-03-09 16:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:05:03] Production.INFO: Total Charge 0 [2025-03-09 16:05:03] Production.INFO: CreateAllLog End [2025-03-09 16:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:05:04] Production.INFO: count ==13 [2025-03-09 16:05:04] Production.ERROR: done [2025-03-09 16:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:05:04] Production.INFO: count ==21 [2025-03-09 16:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643290') start [2025-03-09 16:05:04] Production.INFO: Account Balance End. [2025-03-09 16:05:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:05:04] Production.INFO: ==3233== Releasing lock... [2025-03-09 16:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:05:04] Production.ERROR: done [2025-03-09 16:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643290') end [2025-03-09 16:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:05:04] Production.INFO: 1 [2025-03-09 16:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:05:04] Production.INFO: ==3237== Releasing lock... [2025-03-09 16:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:05:05 [end_date_ymd] => 2025-03-09 16:05:05 [RateCDR] => 1 ) [2025-03-09 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-09 13:05:05' and `end` < '2025-03-09 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-09 16:05:11] Production.ERROR: CronJobId end10 [2025-03-09 16:05:11] Production.INFO: ==3231== Releasing lock... [2025-03-09 16:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:05:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:05:14] Production.INFO: call_cost start [2025-03-09 16:05:14] Production.INFO: call_cost end [2025-03-09 16:05:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:05:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:05:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:05:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:05:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:05:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:05:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:05:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:05:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:05:15] Production.INFO: ==3227== Releasing lock... [2025-03-09 16:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:05:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:05:17] Production.INFO: count ==978 [2025-03-09 16:05:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:05:05 - End Time 2025-03-09 16:05:05 [2025-03-09 16:05:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643291', 'tblTempUsageDetail_20' ) start [2025-03-09 16:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643291', 'tblTempUsageDetail_20' ) end [2025-03-09 16:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643291', 'tblTempVendorCDR_20' ) start [2025-03-09 16:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643291', 'tblTempVendorCDR_20' ) end [2025-03-09 16:05:17] Production.INFO: ProcessCDR(1,14643291,1,1,2) [2025-03-09 16:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643291', 'tblTempUsageDetail_20' ) start [2025-03-09 16:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643291', 'tblTempUsageDetail_20' ) end [2025-03-09 16:05:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:05:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:05:20] Production.INFO: ==3235== Releasing lock... [2025-03-09 16:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:05:20] Production.INFO: 36 MB #Memory Used# [2025-03-09 20:06:02] Production.INFO: ==3292== Lock acquired, processing the job... [2025-03-09 20:06:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:06:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:06:02] Production.INFO: neon service started [2025-03-09 20:06:02] Production.INFO: neon service started [2025-03-09 20:06:02] Production.INFO: ==3292== Releasing lock... [2025-03-09 20:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:06:02] Production.INFO: ==3294== Lock acquired, processing the job... [2025-03-09 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:06:02] Production.INFO: ==3294== Releasing lock... [2025-03-09 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:06:03] Production.INFO: ==3296== Lock acquired, processing the job... [2025-03-09 20:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:06:03] Production.INFO: ==3296== Releasing lock... [2025-03-09 20:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:06:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:06:03] Production.INFO: ==3306== Lock acquired, processing the job... [2025-03-09 16:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:06:03] Production.INFO: ==3298== Lock acquired, processing the job... [2025-03-09 16:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:06:03] Production.INFO: ==3308== Lock acquired, processing the job... [2025-03-09 16:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:06:03] Production.INFO: ==3300== Lock acquired, processing the job... [2025-03-09 16:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:06:04] Production.INFO: ==3304== Lock acquired, processing the job... [2025-03-09 16:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:06:04] Production.INFO: ==3302== Lock acquired, processing the job... [2025-03-09 16:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:06:04] Production.INFO: Account Balance Start. [2025-03-09 16:06:04] Production.INFO: CreateAllLog Start [2025-03-09 16:06:04] Production.INFO: 117 [2025-03-09 16:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:06:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:06:04] Production.INFO: count ==13 [2025-03-09 16:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:06:04] Production.INFO: count ==21 [2025-03-09 16:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643294') start [2025-03-09 16:06:04] Production.ERROR: done [2025-03-09 16:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:06:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:06:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:06:04] Production.INFO: Total Charge 0 [2025-03-09 16:06:04] Production.INFO: CreateAllLog End [2025-03-09 16:06:04] Production.ERROR: done [2025-03-09 16:06:04] Production.INFO: ==3300== Releasing lock... [2025-03-09 16:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643294') end [2025-03-09 16:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:06:04] Production.INFO: 1 [2025-03-09 16:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:06:04] Production.INFO: ==3308== Releasing lock... [2025-03-09 16:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:06:04] Production.INFO: Account Balance End. [2025-03-09 16:06:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:06:04] Production.INFO: ==3304== Releasing lock... [2025-03-09 16:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:06:05 [end_date_ymd] => 2025-03-09 16:06:05 [RateCDR] => 1 ) [2025-03-09 16:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:06:05' and `end` < '2025-03-09 16:06:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:06:11] Production.ERROR: CronJobId end10 [2025-03-09 16:06:11] Production.INFO: ==3302== Releasing lock... [2025-03-09 16:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:06:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:06:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:06:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:06:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:06:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:06:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:06:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:06:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:06:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:06:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:06:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:06:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:06:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:06:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:06:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:06:15] Production.INFO: call_cost start [2025-03-09 16:06:15] Production.INFO: call_cost end [2025-03-09 16:06:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:06:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:06:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:06:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:06:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:06:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:06:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:06:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:06:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:06:16] Production.INFO: ==3298== Releasing lock... [2025-03-09 16:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:06:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:06:17] Production.INFO: count ==969 [2025-03-09 16:06:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:06:05 - End Time 2025-03-09 16:06:05 [2025-03-09 16:06:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643296', 'tblTempUsageDetail_20' ) start [2025-03-09 16:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643296', 'tblTempUsageDetail_20' ) end [2025-03-09 16:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643296', 'tblTempVendorCDR_20' ) start [2025-03-09 16:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643296', 'tblTempVendorCDR_20' ) end [2025-03-09 16:06:17] Production.INFO: ProcessCDR(1,14643296,1,1,2) [2025-03-09 16:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:06:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:06:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643296', 'tblTempUsageDetail_20' ) start [2025-03-09 16:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643296', 'tblTempUsageDetail_20' ) end [2025-03-09 16:06:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:06:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:06:21] Production.INFO: ==3306== Releasing lock... [2025-03-09 16:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:06:21] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 20:07:01] Production.INFO: ==3361== Lock acquired, processing the job... [2025-03-09 20:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:07:01] Production.INFO: neon service started [2025-03-09 20:07:01] Production.INFO: neon service started [2025-03-09 20:07:01] Production.INFO: ==3361== Releasing lock... [2025-03-09 20:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:07:01] Production.INFO: ==3363== Lock acquired, processing the job... [2025-03-09 16:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 20:07:02] Production.INFO: ==3365== Lock acquired, processing the job... [2025-03-09 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:07:02] Production.INFO: ==3365== Releasing lock... [2025-03-09 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:07:02] Production.INFO: ==3363== Releasing lock... [2025-03-09 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:07:03] Production.INFO: ==3370== Lock acquired, processing the job... [2025-03-09 16:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:07:03] Production.INFO: ==3374== Lock acquired, processing the job... [2025-03-09 16:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:07:03] Production.INFO: Account Balance Start. [2025-03-09 16:07:03] Production.INFO: CreateAllLog Start [2025-03-09 16:07:03] Production.INFO: 117 [2025-03-09 16:07:03] Production.INFO: ==3370== Releasing lock... [2025-03-09 16:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:07:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:07:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:07:03] Production.INFO: ==3378== Lock acquired, processing the job... [2025-03-09 16:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:07:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:07:03] Production.INFO: Total Charge 0 [2025-03-09 16:07:03] Production.INFO: CreateAllLog End [2025-03-09 16:07:03] Production.INFO: ==3368== Lock acquired, processing the job... [2025-03-09 16:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:07:03] Production.INFO: Account Balance End. [2025-03-09 16:07:03] Production.INFO: count ==13 [2025-03-09 16:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:07:03] Production.INFO: count ==21 [2025-03-09 16:07:03] Production.ERROR: CronJobId end 12 [2025-03-09 16:07:03] Production.INFO: ==3374== Releasing lock... [2025-03-09 16:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:07:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643299') start [2025-03-09 16:07:03] Production.INFO: ==3372== Lock acquired, processing the job... [2025-03-09 16:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643299') end [2025-03-09 16:07:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:07:03] Production.INFO: 1 [2025-03-09 16:07:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:07:03] Production.INFO: ==3376== Lock acquired, processing the job... [2025-03-09 16:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:07:03] Production.INFO: ==3378== Releasing lock... [2025-03-09 16:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:07:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:07:03] Production.ERROR: done [2025-03-09 16:07:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:07:04] Production.ERROR: done [2025-03-09 16:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:07:05 [end_date_ymd] => 2025-03-09 16:07:05 [RateCDR] => 1 ) [2025-03-09 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-09 13:07:05' and `end` < '2025-03-09 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-09 16:07:11] Production.ERROR: CronJobId end10 [2025-03-09 16:07:11] Production.INFO: ==3372== Releasing lock... [2025-03-09 16:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:07:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:07:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:07:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:07:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:07:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:07:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:07:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:07:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:07:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:07:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:07:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:07:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:07:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:07:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:07:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:07:13] Production.INFO: call_cost start [2025-03-09 16:07:13] Production.INFO: call_cost end [2025-03-09 16:07:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:07:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:07:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:07:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:07:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:07:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:07:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:07:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:07:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:07:14] Production.INFO: ==3368== Releasing lock... [2025-03-09 16:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:07:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:07:17] Production.INFO: count ==964 [2025-03-09 16:07:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:07:05 - End Time 2025-03-09 16:07:05 [2025-03-09 16:07:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643301', 'tblTempUsageDetail_20' ) start [2025-03-09 16:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643301', 'tblTempUsageDetail_20' ) end [2025-03-09 16:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643301', 'tblTempVendorCDR_20' ) start [2025-03-09 16:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643301', 'tblTempVendorCDR_20' ) end [2025-03-09 16:07:17] Production.INFO: ProcessCDR(1,14643301,1,1,2) [2025-03-09 16:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643301', 'tblTempUsageDetail_20' ) start [2025-03-09 16:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643301', 'tblTempUsageDetail_20' ) end [2025-03-09 16:07:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:07:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:07:22] Production.INFO: ==3376== Releasing lock... [2025-03-09 16:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:07:22] Production.INFO: 36 MB #Memory Used# [2025-03-09 20:08:02] Production.INFO: ==3472== Lock acquired, processing the job... [2025-03-09 20:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:08:02] Production.INFO: neon service started [2025-03-09 20:08:02] Production.INFO: neon service started [2025-03-09 20:08:02] Production.INFO: ==3472== Releasing lock... [2025-03-09 20:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:08:02] Production.INFO: ==3475== Lock acquired, processing the job... [2025-03-09 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:08:02] Production.INFO: ==3475== Releasing lock... [2025-03-09 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:08:02] Production.INFO: ==3477== Lock acquired, processing the job... [2025-03-09 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:08:02] Production.INFO: ==3477== Releasing lock... [2025-03-09 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:08:03] Production.INFO: ==3483== Lock acquired, processing the job... [2025-03-09 16:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:08:03] Production.INFO: ==3487== Lock acquired, processing the job... [2025-03-09 16:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:08:03] Production.INFO: ==3479== Lock acquired, processing the job... [2025-03-09 16:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:08:03] Production.INFO: ==3481== Lock acquired, processing the job... [2025-03-09 16:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:08:03] Production.INFO: ==3485== Lock acquired, processing the job... [2025-03-09 16:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:08:03] Production.INFO: ==3489== Lock acquired, processing the job... [2025-03-09 16:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:08:04] Production.INFO: Account Balance Start. [2025-03-09 16:08:04] Production.INFO: CreateAllLog Start [2025-03-09 16:08:04] Production.INFO: 117 [2025-03-09 16:08:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:08:04] Production.INFO: count ==13 [2025-03-09 16:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:08:04] Production.INFO: count ==21 [2025-03-09 16:08:04] Production.ERROR: done [2025-03-09 16:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:08:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643304') start [2025-03-09 16:08:04] Production.INFO: Total Charge 0 [2025-03-09 16:08:04] Production.INFO: CreateAllLog End [2025-03-09 16:08:04] Production.ERROR: done [2025-03-09 16:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643304') end [2025-03-09 16:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:08:04] Production.INFO: 1 [2025-03-09 16:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:08:04] Production.INFO: ==3489== Releasing lock... [2025-03-09 16:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:08:04] Production.INFO: ==3481== Releasing lock... [2025-03-09 16:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:08:04] Production.INFO: Account Balance End. [2025-03-09 16:08:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:08:04] Production.INFO: ==3485== Releasing lock... [2025-03-09 16:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:08:05 [end_date_ymd] => 2025-03-09 16:08:05 [RateCDR] => 1 ) [2025-03-09 16:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:08:05' and `end` < '2025-03-09 16:08:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:08:11] Production.ERROR: CronJobId end10 [2025-03-09 16:08:11] Production.INFO: ==3483== Releasing lock... [2025-03-09 16:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:08:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:08:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:08:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:08:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:08:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:08:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:08:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:08:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:08:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:08:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:08:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:08:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:08:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:08:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:08:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:08:15] Production.INFO: call_cost start [2025-03-09 16:08:15] Production.INFO: call_cost end [2025-03-09 16:08:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:08:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:08:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:08:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:08:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:08:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:08:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:08:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:08:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:08:15] Production.INFO: ==3479== Releasing lock... [2025-03-09 16:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:08:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:08:17] Production.INFO: count ==959 [2025-03-09 16:08:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:08:05 - End Time 2025-03-09 16:08:05 [2025-03-09 16:08:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643306', 'tblTempUsageDetail_20' ) start [2025-03-09 16:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643306', 'tblTempUsageDetail_20' ) end [2025-03-09 16:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643306', 'tblTempVendorCDR_20' ) start [2025-03-09 16:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643306', 'tblTempVendorCDR_20' ) end [2025-03-09 16:08:18] Production.INFO: ProcessCDR(1,14643306,1,1,2) [2025-03-09 16:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643306', 'tblTempUsageDetail_20' ) start [2025-03-09 16:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643306', 'tblTempUsageDetail_20' ) end [2025-03-09 16:08:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:08:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:08:22] Production.INFO: ==3487== Releasing lock... [2025-03-09 16:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:08:22] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 20:09:01] Production.INFO: ==3541== Lock acquired, processing the job... [2025-03-09 20:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:09:01] Production.INFO: neon service started [2025-03-09 20:09:01] Production.INFO: neon service started [2025-03-09 20:09:01] Production.INFO: ==3541== Releasing lock... [2025-03-09 20:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:09:01] Production.INFO: ==3543== Lock acquired, processing the job... [2025-03-09 16:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:09:02] Production.INFO: ==3543== Releasing lock... [2025-03-09 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:09:02] Production.INFO: ==3545== Lock acquired, processing the job... [2025-03-09 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:09:02] Production.INFO: ==3545== Releasing lock... [2025-03-09 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:09:02] Production.INFO: ==3549== Lock acquired, processing the job... [2025-03-09 16:09:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:09:03] Production.INFO: ==3558== Lock acquired, processing the job... [2025-03-09 16:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:09:03] Production.INFO: ==3547== Lock acquired, processing the job... [2025-03-09 16:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:09:03] Production.INFO: ==3552== Lock acquired, processing the job... [2025-03-09 16:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:09:03] Production.INFO: count ==13 [2025-03-09 16:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:09:03] Production.INFO: count ==21 [2025-03-09 16:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643308') start [2025-03-09 16:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:09:03] Production.INFO: ==3549== Releasing lock... [2025-03-09 16:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:09:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:09:03] Production.INFO: ==3554== Lock acquired, processing the job... [2025-03-09 16:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643308') end [2025-03-09 16:09:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:09:03] Production.INFO: 1 [2025-03-09 16:09:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:09:03] Production.INFO: ==3556== Lock acquired, processing the job... [2025-03-09 16:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:09:03] Production.INFO: ==3558== Releasing lock... [2025-03-09 16:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:09:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:09:03] Production.INFO: Account Balance Start. [2025-03-09 16:09:03] Production.INFO: CreateAllLog Start [2025-03-09 16:09:03] Production.INFO: 117 [2025-03-09 16:09:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:09:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:09:03] Production.INFO: Total Charge 0 [2025-03-09 16:09:03] Production.INFO: CreateAllLog End [2025-03-09 16:09:03] Production.ERROR: done [2025-03-09 16:09:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:09:04] Production.INFO: Account Balance End. [2025-03-09 16:09:04] Production.ERROR: done [2025-03-09 16:09:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:09:04] Production.INFO: ==3554== Releasing lock... [2025-03-09 16:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:09:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:09:04 [end_date_ymd] => 2025-03-09 16:09:04 [RateCDR] => 1 ) [2025-03-09 16:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:09:04' and `end` < '2025-03-09 16:09:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:09:11] Production.ERROR: CronJobId end10 [2025-03-09 16:09:11] Production.INFO: ==3552== Releasing lock... [2025-03-09 16:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:09:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:09:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:09:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:09:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:09:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:09:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:09:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:09:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:09:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:09:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:09:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:09:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:09:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:09:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:09:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:09:13] Production.INFO: call_cost start [2025-03-09 16:09:13] Production.INFO: call_cost end [2025-03-09 16:09:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:09:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:09:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:09:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:09:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:09:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:09:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:09:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:09:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:09:14] Production.INFO: ==3547== Releasing lock... [2025-03-09 16:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:09:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:09:16] Production.INFO: count ==955 [2025-03-09 16:09:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:09:04 - End Time 2025-03-09 16:09:04 [2025-03-09 16:09:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643311', 'tblTempUsageDetail_20' ) start [2025-03-09 16:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643311', 'tblTempUsageDetail_20' ) end [2025-03-09 16:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643311', 'tblTempVendorCDR_20' ) start [2025-03-09 16:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643311', 'tblTempVendorCDR_20' ) end [2025-03-09 16:09:17] Production.INFO: ProcessCDR(1,14643311,1,1,2) [2025-03-09 16:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:09:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643311', 'tblTempUsageDetail_20' ) start [2025-03-09 16:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643311', 'tblTempUsageDetail_20' ) end [2025-03-09 16:09:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:09:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:09:20] Production.INFO: ==3556== Releasing lock... [2025-03-09 16:09:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:09:20] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 20:10:02] Production.INFO: ==3611== Lock acquired, processing the job... [2025-03-09 20:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:10:02] Production.INFO: neon service started [2025-03-09 20:10:02] Production.INFO: neon service started [2025-03-09 20:10:02] Production.INFO: ==3611== Releasing lock... [2025-03-09 20:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:10:02] Production.INFO: ==3613== Lock acquired, processing the job... [2025-03-09 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 20:10:02] Production.INFO: ==3615== Lock acquired, processing the job... [2025-03-09 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:10:02] Production.INFO: ==3615== Releasing lock... [2025-03-09 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:10:02] Production.INFO: ==3613== Releasing lock... [2025-03-09 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:10:03] Production.INFO: ==3617== Lock acquired, processing the job... [2025-03-09 16:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 16:10:03] Production.INFO: ==3619== Lock acquired, processing the job... [2025-03-09 16:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:10:03] Production.INFO: ==3621== Lock acquired, processing the job... [2025-03-09 16:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:10:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 16:10:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 16:10:03] Production.ERROR: CronJob PID - 3619 [2025-03-09 16:10:03] Production.ERROR: CronJob Title - System Alerts [2025-03-09 16:10:03] Production.ERROR: CronJob ID - 5 [2025-03-09 16:10:03] Production.ERROR: CronJob Last Run Time 2025-03-09 16:10:00 [2025-03-09 16:10:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 16:10:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 16:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 16:10:04] Production.INFO: ==3617== Releasing lock... [2025-03-09 16:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 16:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 16:10:04] Production.INFO: ==3625== Lock acquired, processing the job... [2025-03-09 16:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:10:04] Production.INFO: ==3623== Lock acquired, processing the job... [2025-03-09 16:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:10:04] Production.INFO: ==3627== Lock acquired, processing the job... [2025-03-09 16:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:10:04] Production.INFO: ==3632== Lock acquired, processing the job... [2025-03-09 16:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:10:04] Production.INFO: Account Balance Start. [2025-03-09 16:10:04] Production.INFO: CreateAllLog Start [2025-03-09 16:10:04] Production.INFO: 117 [2025-03-09 16:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:10:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:10:04] Production.INFO: ==3629== Lock acquired, processing the job... [2025-03-09 16:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 16:10:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:10:04] Production.INFO: Total Charge 0 [2025-03-09 16:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:10:04] Production.INFO: CreateAllLog End [2025-03-09 16:10:04] Production.INFO: count ==13 [2025-03-09 16:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:10:04] Production.INFO: ==3621== Releasing lock... [2025-03-09 16:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:10:04] Production.INFO: count ==21 [2025-03-09 16:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643315') start [2025-03-09 16:10:04] Production.INFO: Account Balance End. [2025-03-09 16:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643315') end [2025-03-09 16:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:10:04] Production.INFO: 1 [2025-03-09 16:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:10:04] Production.INFO: ==3632== Releasing lock... [2025-03-09 16:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:10:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:10:04] Production.INFO: ==3625== Releasing lock... [2025-03-09 16:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:10:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:10:04] Production.ERROR: done [2025-03-09 16:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:10:05] Production.ERROR: done [2025-03-09 16:10:05] Production.ERROR: done [2025-03-09 16:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 16:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643317', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 16:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:10:06 [end_date_ymd] => 2025-03-09 16:10:06 [RateCDR] => 1 ) [2025-03-09 16:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:10:06' and `end` < '2025-03-09 16:10:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643317', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 16:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 16:10:09] Production.INFO: ProcessCDR(1,14643317,1,1,2) [2025-03-09 16:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14643317,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14643317,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:10:09] Production.INFO: ==3629== Releasing lock... [2025-03-09 16:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 16:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 16:10:14] Production.ERROR: CronJobId end10 [2025-03-09 16:10:14] Production.INFO: ==3623== Releasing lock... [2025-03-09 16:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:10:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:10:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:10:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:10:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:10:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:10:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:10:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:10:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:10:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:10:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:10:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:10:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:10:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:10:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:10:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:10:17] Production.INFO: call_cost start [2025-03-09 16:10:17] Production.INFO: call_cost end [2025-03-09 16:10:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:10:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:10:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:10:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:10:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:10:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:10:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:10:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:10:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:10:18] Production.INFO: ==3619== Releasing lock... [2025-03-09 16:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:10:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:10:18] Production.INFO: count ==956 [2025-03-09 16:10:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:10:06 - End Time 2025-03-09 16:10:06 [2025-03-09 16:10:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643316', 'tblTempUsageDetail_20' ) start [2025-03-09 16:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643316', 'tblTempUsageDetail_20' ) end [2025-03-09 16:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643316', 'tblTempVendorCDR_20' ) start [2025-03-09 16:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643316', 'tblTempVendorCDR_20' ) end [2025-03-09 16:10:18] Production.INFO: ProcessCDR(1,14643316,1,1,2) [2025-03-09 16:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643316', 'tblTempUsageDetail_20' ) start [2025-03-09 16:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643316', 'tblTempUsageDetail_20' ) end [2025-03-09 16:10:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:10:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:10:23] Production.INFO: ==3627== Releasing lock... [2025-03-09 16:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:10:23] Production.INFO: 36 MB #Memory Used# [2025-03-09 20:11:01] Production.INFO: ==3689== Lock acquired, processing the job... [2025-03-09 20:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:11:01] Production.INFO: neon service started [2025-03-09 20:11:01] Production.INFO: neon service started [2025-03-09 20:11:01] Production.INFO: ==3689== Releasing lock... [2025-03-09 20:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:11:01] Production.INFO: ==3691== Lock acquired, processing the job... [2025-03-09 16:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:11:02] Production.INFO: ==3691== Releasing lock... [2025-03-09 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:11:02] Production.INFO: ==3693== Lock acquired, processing the job... [2025-03-09 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:11:02] Production.INFO: ==3693== Releasing lock... [2025-03-09 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:11:02] Production.INFO: ==3703== Lock acquired, processing the job... [2025-03-09 16:11:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:11:02] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:11:03] Production.INFO: ==3695== Lock acquired, processing the job... [2025-03-09 16:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:11:03] Production.INFO: ==3701== Lock acquired, processing the job... [2025-03-09 16:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:11:03] Production.ERROR: done [2025-03-09 16:11:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:11:03] Production.INFO: ==3697== Lock acquired, processing the job... [2025-03-09 16:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:11:03] Production.INFO: ==3699== Lock acquired, processing the job... [2025-03-09 16:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:11:03] Production.INFO: ==3705== Lock acquired, processing the job... [2025-03-09 16:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:11:03] Production.INFO: Account Balance Start. [2025-03-09 16:11:03] Production.INFO: CreateAllLog Start [2025-03-09 16:11:03] Production.INFO: 117 [2025-03-09 16:11:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:11:03] Production.ERROR: done [2025-03-09 16:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 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-09 16:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:11:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:11:03] Production.INFO: count ==13 [2025-03-09 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-09 16:11:03] Production.INFO: count ==21 [2025-03-09 16:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643321') start [2025-03-09 16:11:03] Production.INFO: Total Charge 0 [2025-03-09 16:11:03] Production.INFO: CreateAllLog End [2025-03-09 16:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643321') end [2025-03-09 16:11:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:11:03] Production.INFO: 1 [2025-03-09 16:11:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:11:03] Production.INFO: ==3697== Releasing lock... [2025-03-09 16:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:11:03] Production.INFO: ==3705== Releasing lock... [2025-03-09 16:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:11:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:11:04] Production.INFO: Account Balance End. [2025-03-09 16:11:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:11:04] Production.INFO: ==3701== Releasing lock... [2025-03-09 16:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:11:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:11:04 [end_date_ymd] => 2025-03-09 16:11:04 [RateCDR] => 1 ) [2025-03-09 16:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:11:04' and `end` < '2025-03-09 16:11:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:11:11] Production.ERROR: CronJobId end10 [2025-03-09 16:11:11] Production.INFO: ==3699== Releasing lock... [2025-03-09 16:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:11:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:11:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:11:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:11:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:11:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:11:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:11:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:11:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:11:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:11:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:11:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:11:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:11:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:11:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:11:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:11:13] Production.INFO: call_cost start [2025-03-09 16:11:13] Production.INFO: call_cost end [2025-03-09 16:11:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:11:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:11:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:11:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:11:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:11:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:11:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:11:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:11:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:11:14] Production.INFO: ==3695== Releasing lock... [2025-03-09 16:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:11:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:11:16] Production.INFO: count ==950 [2025-03-09 16:11:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:11:04 - End Time 2025-03-09 16:11:04 [2025-03-09 16:11:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643322', 'tblTempUsageDetail_20' ) start [2025-03-09 16:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643322', 'tblTempUsageDetail_20' ) end [2025-03-09 16:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643322', 'tblTempVendorCDR_20' ) start [2025-03-09 16:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643322', 'tblTempVendorCDR_20' ) end [2025-03-09 16:11:17] Production.INFO: ProcessCDR(1,14643322,1,1,2) [2025-03-09 16:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643322', 'tblTempUsageDetail_20' ) start [2025-03-09 16:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643322', 'tblTempUsageDetail_20' ) end [2025-03-09 16:11:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:11:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:11:22] Production.INFO: ==3703== Releasing lock... [2025-03-09 16:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:11:22] Production.INFO: 36 MB #Memory Used# [2025-03-09 20:12:01] Production.INFO: ==3767== Lock acquired, processing the job... [2025-03-09 20:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:12:01] Production.INFO: neon service started [2025-03-09 20:12:01] Production.INFO: neon service started [2025-03-09 20:12:01] Production.INFO: ==3767== Releasing lock... [2025-03-09 20:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 20:12:02] Production.INFO: ==3771== Lock acquired, processing the job... [2025-03-09 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:12:02] Production.INFO: ==3769== Lock acquired, processing the job... [2025-03-09 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 20:12:02] Production.INFO: ==3771== Releasing lock... [2025-03-09 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:12:02] Production.INFO: ==3769== Releasing lock... [2025-03-09 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:12:03] Production.INFO: ==3776== Lock acquired, processing the job... [2025-03-09 16:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:12:03] Production.INFO: ==3780== Lock acquired, processing the job... [2025-03-09 16:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:12:03] Production.INFO: ==3784== Lock acquired, processing the job... [2025-03-09 16:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:12:03] Production.INFO: Account Balance Start. [2025-03-09 16:12:03] Production.INFO: CreateAllLog Start [2025-03-09 16:12:03] Production.INFO: 117 [2025-03-09 16:12:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:12:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:12:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:12:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:12:04] Production.INFO: count ==13 [2025-03-09 16:12:04] Production.INFO: ==3774== Lock acquired, processing the job... [2025-03-09 16:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 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-09 16:12:04] Production.INFO: Total Charge 0 [2025-03-09 16:12:04] Production.INFO: count ==21 [2025-03-09 16:12:04] Production.INFO: ==3776== Releasing lock... [2025-03-09 16:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643325') start [2025-03-09 16:12:04] Production.INFO: CreateAllLog End [2025-03-09 16:12:04] Production.INFO: ==3778== Lock acquired, processing the job... [2025-03-09 16:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:12:04] Production.INFO: ==3782== Lock acquired, processing the job... [2025-03-09 16:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643325') end [2025-03-09 16:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:12:04] Production.INFO: 1 [2025-03-09 16:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:12:04] Production.INFO: Account Balance End. [2025-03-09 16:12:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:12:04] Production.INFO: ==3784== Releasing lock... [2025-03-09 16:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:12:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:12:04] Production.INFO: ==3780== Releasing lock... [2025-03-09 16:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:12:04] Production.ERROR: done [2025-03-09 16:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:12:04] Production.ERROR: done [2025-03-09 16:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:12:05 [end_date_ymd] => 2025-03-09 16:12:05 [RateCDR] => 1 ) [2025-03-09 16:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:12:05' and `end` < '2025-03-09 16:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:12:11] Production.ERROR: CronJobId end10 [2025-03-09 16:12:11] Production.INFO: ==3778== Releasing lock... [2025-03-09 16:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:12:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:12:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:12:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:12:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:12:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:12:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:12:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:12:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:12:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:12:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:12:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:12:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:12:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:12:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:12:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:12:15] Production.INFO: call_cost start [2025-03-09 16:12:15] Production.INFO: call_cost end [2025-03-09 16:12:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:12:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:12:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:12:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:12:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:12:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:12:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:12:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:12:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:12:15] Production.INFO: ==3774== Releasing lock... [2025-03-09 16:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:12:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:12:17] Production.INFO: count ==947 [2025-03-09 16:12:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:12:05 - End Time 2025-03-09 16:12:05 [2025-03-09 16:12:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643327', 'tblTempUsageDetail_20' ) start [2025-03-09 16:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643327', 'tblTempUsageDetail_20' ) end [2025-03-09 16:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643327', 'tblTempVendorCDR_20' ) start [2025-03-09 16:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643327', 'tblTempVendorCDR_20' ) end [2025-03-09 16:12:17] Production.INFO: ProcessCDR(1,14643327,1,1,2) [2025-03-09 16:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643327', 'tblTempUsageDetail_20' ) start [2025-03-09 16:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643327', 'tblTempUsageDetail_20' ) end [2025-03-09 16:12:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:12:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:12:21] Production.INFO: ==3782== Releasing lock... [2025-03-09 16:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:12:21] Production.INFO: 35.5 MB #Memory Used# [2025-03-09 20:13:01] Production.INFO: ==3838== Lock acquired, processing the job... [2025-03-09 20:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:13:01] Production.INFO: neon service started [2025-03-09 20:13:01] Production.INFO: neon service started [2025-03-09 20:13:01] Production.INFO: ==3838== Releasing lock... [2025-03-09 20:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:13:01] Production.INFO: ==3840== Lock acquired, processing the job... [2025-03-09 16:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:13:02] Production.INFO: ==3840== Releasing lock... [2025-03-09 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:13:02] Production.INFO: ==3842== Lock acquired, processing the job... [2025-03-09 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:13:02] Production.INFO: ==3842== Releasing lock... [2025-03-09 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:13:03] Production.INFO: ==3850== Lock acquired, processing the job... [2025-03-09 16:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:13:03] Production.INFO: ==3854== Lock acquired, processing the job... [2025-03-09 16:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:13:03] Production.INFO: Account Balance Start. [2025-03-09 16:13:03] Production.INFO: CreateAllLog Start [2025-03-09 16:13:03] Production.INFO: 117 [2025-03-09 16:13:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:13:03] Production.INFO: ==3844== Lock acquired, processing the job... [2025-03-09 16:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:13:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:13:03] Production.INFO: count ==13 [2025-03-09 16:13:03] Production.INFO: ==3848== Lock acquired, processing the job... [2025-03-09 16:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:13:03] Production.INFO: ==3846== Lock acquired, processing the job... [2025-03-09 16:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:13:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:13:03] Production.INFO: count ==21 [2025-03-09 16:13:03] Production.INFO: ==3852== Lock acquired, processing the job... [2025-03-09 16:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:13:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643329') start [2025-03-09 16:13:03] Production.INFO: Total Charge 0 [2025-03-09 16:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643329') end [2025-03-09 16:13:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:13:03] Production.INFO: 1 [2025-03-09 16:13:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:13:03] Production.INFO: CreateAllLog End [2025-03-09 16:13:03] Production.INFO: ==3854== Releasing lock... [2025-03-09 16:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:13:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:13:03] Production.INFO: Account Balance End. [2025-03-09 16:13:03] Production.INFO: ==3846== Releasing lock... [2025-03-09 16:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:13:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:13:03] Production.ERROR: CronJobId end 12 [2025-03-09 16:13:03] Production.INFO: ==3850== Releasing lock... [2025-03-09 16:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:13:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:13:03] Production.ERROR: done [2025-03-09 16:13:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:13:04] Production.ERROR: done [2025-03-09 16:13:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:13:04 [end_date_ymd] => 2025-03-09 16:13:04 [RateCDR] => 1 ) [2025-03-09 16:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:13:04' and `end` < '2025-03-09 16:13:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:13:10] Production.ERROR: CronJobId end10 [2025-03-09 16:13:10] Production.INFO: ==3848== Releasing lock... [2025-03-09 16:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:13:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:13:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:13:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:13:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:13:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:13:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:13:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:13:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:13:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:13:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:13:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:13:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:13:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:13:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:13:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:13:14] Production.INFO: call_cost start [2025-03-09 16:13:14] Production.INFO: call_cost end [2025-03-09 16:13:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:13:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:13:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:13:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:13:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:13:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:13:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:13:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:13:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:13:15] Production.INFO: ==3844== Releasing lock... [2025-03-09 16:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:13:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:13:17] Production.INFO: count ==943 [2025-03-09 16:13:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:13:04 - End Time 2025-03-09 16:13:04 [2025-03-09 16:13:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643332', 'tblTempUsageDetail_20' ) start [2025-03-09 16:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643332', 'tblTempUsageDetail_20' ) end [2025-03-09 16:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643332', 'tblTempVendorCDR_20' ) start [2025-03-09 16:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643332', 'tblTempVendorCDR_20' ) end [2025-03-09 16:13:17] Production.INFO: ProcessCDR(1,14643332,1,1,2) [2025-03-09 16:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643332', 'tblTempUsageDetail_20' ) start [2025-03-09 16:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643332', 'tblTempUsageDetail_20' ) end [2025-03-09 16:13:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:13:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:13:20] Production.INFO: ==3852== Releasing lock... [2025-03-09 16:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:13:20] Production.INFO: 35 MB #Memory Used# [2025-03-09 20:14:01] Production.INFO: ==3917== Lock acquired, processing the job... [2025-03-09 20:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:14:01] Production.INFO: neon service started [2025-03-09 20:14:01] Production.INFO: neon service started [2025-03-09 20:14:01] Production.INFO: ==3917== Releasing lock... [2025-03-09 20:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:14:02] Production.INFO: ==3919== Lock acquired, processing the job... [2025-03-09 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:14:02] Production.INFO: ==3919== Releasing lock... [2025-03-09 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:14:02] Production.INFO: ==3921== Lock acquired, processing the job... [2025-03-09 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:14:02] Production.INFO: ==3921== Releasing lock... [2025-03-09 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:14:03] Production.INFO: ==3923== Lock acquired, processing the job... [2025-03-09 16:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:14:03] Production.INFO: ==3925== Lock acquired, processing the job... [2025-03-09 16:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:14:03] Production.INFO: ==3929== Lock acquired, processing the job... [2025-03-09 16:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:14:03] Production.INFO: Account Balance Start. [2025-03-09 16:14:03] Production.INFO: CreateAllLog Start [2025-03-09 16:14:03] Production.INFO: 117 [2025-03-09 16:14:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:14:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:14:03] Production.INFO: Total Charge 0 [2025-03-09 16:14:03] Production.INFO: CreateAllLog End [2025-03-09 16:14:03] Production.INFO: ==3927== Lock acquired, processing the job... [2025-03-09 16:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:14:03] Production.INFO: ==3925== Releasing lock... [2025-03-09 16:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:14:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:14:03] Production.INFO: Account Balance End. [2025-03-09 16:14:03] Production.INFO: ==3931== Lock acquired, processing the job... [2025-03-09 16:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:14:03] Production.ERROR: CronJobId end 12 [2025-03-09 16:14:03] Production.INFO: ==3929== Releasing lock... [2025-03-09 16:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:14:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:14:03] Production.INFO: ==3934== Lock acquired, processing the job... [2025-03-09 16:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:14:04] Production.ERROR: done [2025-03-09 16:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 16:14:04] Production.INFO: count ==13 [2025-03-09 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-09 16:14:04] Production.INFO: count ==21 [2025-03-09 16:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643336') start [2025-03-09 16:14:04] Production.ERROR: done [2025-03-09 16:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643336') end [2025-03-09 16:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:14:04] Production.INFO: 1 [2025-03-09 16:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:14:04] Production.INFO: ==3934== Releasing lock... [2025-03-09 16:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:14:05 [end_date_ymd] => 2025-03-09 16:14:05 [RateCDR] => 1 ) [2025-03-09 16:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:14:05' and `end` < '2025-03-09 16:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:14:12] Production.ERROR: CronJobId end10 [2025-03-09 16:14:12] Production.INFO: ==3927== Releasing lock... [2025-03-09 16:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:14:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:14:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:14:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:14:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:14:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:14:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:14:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:14:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:14:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:14:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:14:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:14:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:14:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:14:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:14:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:14:14] Production.INFO: call_cost start [2025-03-09 16:14:14] Production.INFO: call_cost end [2025-03-09 16:14:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:14:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:14:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:14:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:14:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:14:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:14:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:14:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:14:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:14:15] Production.INFO: ==3923== Releasing lock... [2025-03-09 16:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:14:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:14:17] Production.INFO: count ==945 [2025-03-09 16:14:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:14:05 - End Time 2025-03-09 16:14:05 [2025-03-09 16:14:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643337', 'tblTempUsageDetail_20' ) start [2025-03-09 16:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643337', 'tblTempUsageDetail_20' ) end [2025-03-09 16:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643337', 'tblTempVendorCDR_20' ) start [2025-03-09 16:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643337', 'tblTempVendorCDR_20' ) end [2025-03-09 16:14:17] Production.INFO: ProcessCDR(1,14643337,1,1,2) [2025-03-09 16:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643337', 'tblTempUsageDetail_20' ) start [2025-03-09 16:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643337', 'tblTempUsageDetail_20' ) end [2025-03-09 16:14:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:14:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:14:22] Production.INFO: ==3931== Releasing lock... [2025-03-09 16:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:14:22] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 20:15:02] Production.INFO: ==3989== Lock acquired, processing the job... [2025-03-09 20:15:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:15:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:15:02] Production.INFO: neon service started [2025-03-09 20:15:02] Production.INFO: neon service started [2025-03-09 20:15:02] Production.INFO: ==3989== Releasing lock... [2025-03-09 20:15:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:15:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:15:02] Production.INFO: ==3991== Lock acquired, processing the job... [2025-03-09 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:15:02] Production.INFO: ==3991== Releasing lock... [2025-03-09 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:15:03] Production.INFO: ==3993== Lock acquired, processing the job... [2025-03-09 20:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:15:03] Production.INFO: ==3993== Releasing lock... [2025-03-09 20:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:15:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:15:03] Production.INFO: ==3995== Lock acquired, processing the job... [2025-03-09 16:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:15:03] Production.INFO: ==3999== Lock acquired, processing the job... [2025-03-09 16:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:15:03] Production.INFO: ==3997== Lock acquired, processing the job... [2025-03-09 16:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:15:04] Production.INFO: ==4001== Lock acquired, processing the job... [2025-03-09 16:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:15:04] Production.INFO: ==4005== Lock acquired, processing the job... [2025-03-09 16:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:15:04] Production.INFO: ==4003== Lock acquired, processing the job... [2025-03-09 16:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:15:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:15:04] Production.INFO: Account Balance Start. [2025-03-09 16:15:04] Production.INFO: CreateAllLog Start [2025-03-09 16:15:04] Production.INFO: 117 [2025-03-09 16:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:15:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:15:04] Production.INFO: count ==13 [2025-03-09 16:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:15:04] Production.INFO: count ==21 [2025-03-09 16:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643341') start [2025-03-09 16:15:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:15:04] Production.INFO: ==3997== Releasing lock... [2025-03-09 16:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:15:04] Production.INFO: Total Charge 0 [2025-03-09 16:15:04] Production.INFO: CreateAllLog End [2025-03-09 16:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643341') end [2025-03-09 16:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:15:04] Production.INFO: 1 [2025-03-09 16:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:15:04] Production.ERROR: done [2025-03-09 16:15:04] Production.INFO: ==4005== Releasing lock... [2025-03-09 16:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:15:04] Production.INFO: Account Balance End. [2025-03-09 16:15:04] Production.ERROR: done [2025-03-09 16:15:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:15:04] Production.INFO: ==4001== Releasing lock... [2025-03-09 16:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:15:05 [end_date_ymd] => 2025-03-09 16:15:05 [RateCDR] => 1 ) [2025-03-09 16:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:15:05' and `end` < '2025-03-09 16:15:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:15:12] Production.ERROR: CronJobId end10 [2025-03-09 16:15:12] Production.INFO: ==3999== Releasing lock... [2025-03-09 16:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:15:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:15:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:15:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:15:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:15:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:15:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:15:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:15:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:15:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:15:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:15:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:15:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:15:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:15:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:15:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:15:15] Production.INFO: call_cost start [2025-03-09 16:15:15] Production.INFO: call_cost end [2025-03-09 16:15:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:15:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:15:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:15:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:15:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:15:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:15:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:15:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:15:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:15:16] Production.INFO: ==3995== Releasing lock... [2025-03-09 16:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:15:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:15:17] Production.INFO: count ==950 [2025-03-09 16:15:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:15:05 - End Time 2025-03-09 16:15:05 [2025-03-09 16:15:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643342', 'tblTempUsageDetail_20' ) start [2025-03-09 16:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643342', 'tblTempUsageDetail_20' ) end [2025-03-09 16:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643342', 'tblTempVendorCDR_20' ) start [2025-03-09 16:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643342', 'tblTempVendorCDR_20' ) end [2025-03-09 16:15:18] Production.INFO: ProcessCDR(1,14643342,1,1,2) [2025-03-09 16:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643342', 'tblTempUsageDetail_20' ) start [2025-03-09 16:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643342', 'tblTempUsageDetail_20' ) end [2025-03-09 16:15:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:15:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:15:21] Production.INFO: ==4003== Releasing lock... [2025-03-09 16:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:15:21] Production.INFO: 35.5 MB #Memory Used# [2025-03-09 20:16:01] Production.INFO: ==4062== Lock acquired, processing the job... [2025-03-09 20:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:16:01] Production.INFO: neon service started [2025-03-09 20:16:01] Production.INFO: neon service started [2025-03-09 20:16:01] Production.INFO: ==4062== Releasing lock... [2025-03-09 20:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 20:16:02] Production.INFO: ==4066== Lock acquired, processing the job... [2025-03-09 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:16:02] Production.INFO: ==4066== Releasing lock... [2025-03-09 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:16:02] Production.INFO: ==4064== Lock acquired, processing the job... [2025-03-09 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:16:02] Production.INFO: ==4064== Releasing lock... [2025-03-09 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:16:03] Production.INFO: ==4074== Lock acquired, processing the job... [2025-03-09 16:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:16:03] Production.INFO: ==4079== Lock acquired, processing the job... [2025-03-09 16:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:16:03] Production.INFO: Account Balance Start. [2025-03-09 16:16:03] Production.INFO: CreateAllLog Start [2025-03-09 16:16:03] Production.INFO: 117 [2025-03-09 16:16:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:16:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:16:03] Production.INFO: count ==13 [2025-03-09 16:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:16:03] Production.INFO: count ==21 [2025-03-09 16:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643344') start [2025-03-09 16:16:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:16:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:16:03] Production.INFO: ==4068== Lock acquired, processing the job... [2025-03-09 16:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:16:03] Production.INFO: Total Charge 0 [2025-03-09 16:16:03] Production.INFO: ==4072== Lock acquired, processing the job... [2025-03-09 16:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:16:03] Production.INFO: CreateAllLog End [2025-03-09 16:16:03] Production.INFO: ==4070== Lock acquired, processing the job... [2025-03-09 16:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:16:03] Production.INFO: ==4077== Lock acquired, processing the job... [2025-03-09 16:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643344') end [2025-03-09 16:16:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:16:03] Production.INFO: 1 [2025-03-09 16:16:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:16:03] Production.INFO: ==4079== Releasing lock... [2025-03-09 16:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:16:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:16:04] Production.INFO: Account Balance End. [2025-03-09 16:16:04] Production.ERROR: done [2025-03-09 16:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:16:04] Production.INFO: ==4070== Releasing lock... [2025-03-09 16:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:16:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:16:04] Production.INFO: ==4074== Releasing lock... [2025-03-09 16:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:16:04] Production.ERROR: done [2025-03-09 16:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:16:05 [end_date_ymd] => 2025-03-09 16:16:05 [RateCDR] => 1 ) [2025-03-09 16:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:16:05' and `end` < '2025-03-09 16:16:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:16:12] Production.ERROR: CronJobId end10 [2025-03-09 16:16:12] Production.INFO: ==4072== Releasing lock... [2025-03-09 16:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:16:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:16:14] Production.INFO: call_cost start [2025-03-09 16:16:14] Production.INFO: call_cost end [2025-03-09 16:16:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:16:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:16:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:16:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:16:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:16:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:16:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:16:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:16:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:16:15] Production.INFO: ==4068== Releasing lock... [2025-03-09 16:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:16:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:16:17] Production.INFO: count ==948 [2025-03-09 16:16:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:16:05 - End Time 2025-03-09 16:16:05 [2025-03-09 16:16:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643347', 'tblTempUsageDetail_20' ) start [2025-03-09 16:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643347', 'tblTempUsageDetail_20' ) end [2025-03-09 16:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643347', 'tblTempVendorCDR_20' ) start [2025-03-09 16:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643347', 'tblTempVendorCDR_20' ) end [2025-03-09 16:16:17] Production.INFO: ProcessCDR(1,14643347,1,1,2) [2025-03-09 16:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:16:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643347', 'tblTempUsageDetail_20' ) start [2025-03-09 16:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643347', 'tblTempUsageDetail_20' ) end [2025-03-09 16:16:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:16:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:16:20] Production.INFO: ==4077== Releasing lock... [2025-03-09 16:16:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:16:20] Production.INFO: 35.5 MB #Memory Used# [2025-03-09 20:17:02] Production.INFO: ==4133== Lock acquired, processing the job... [2025-03-09 20:17:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:17:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:17:02] Production.INFO: neon service started [2025-03-09 20:17:02] Production.INFO: neon service started [2025-03-09 20:17:02] Production.INFO: ==4133== Releasing lock... [2025-03-09 20:17:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:17:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 20:17:02] Production.INFO: ==4137== Lock acquired, processing the job... [2025-03-09 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:17:02] Production.INFO: ==4137== Releasing lock... [2025-03-09 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:17:02] Production.INFO: ==4135== Lock acquired, processing the job... [2025-03-09 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:17:03] Production.INFO: ==4135== Releasing lock... [2025-03-09 16:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:17:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:17:04] Production.INFO: ==4140== Lock acquired, processing the job... [2025-03-09 16:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:17:04] Production.INFO: ==4146== Lock acquired, processing the job... [2025-03-09 16:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:17:04] Production.INFO: ==4150== Lock acquired, processing the job... [2025-03-09 16:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:17:04] Production.INFO: ==4142== Lock acquired, processing the job... [2025-03-09 16:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:17:04] Production.INFO: ==4144== Lock acquired, processing the job... [2025-03-09 16:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:17:04] Production.INFO: Account Balance Start. [2025-03-09 16:17:04] Production.INFO: CreateAllLog Start [2025-03-09 16:17:04] Production.INFO: 117 [2025-03-09 16:17:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:17:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:17:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:17:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:17:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:17:04] Production.INFO: Total Charge 0 [2025-03-09 16:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:17:04] Production.INFO: CreateAllLog End [2025-03-09 16:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:17:04] Production.INFO: count ==13 [2025-03-09 16:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:17:04] Production.INFO: count ==21 [2025-03-09 16:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643350') start [2025-03-09 16:17:04] Production.INFO: ==4148== Lock acquired, processing the job... [2025-03-09 16:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643350') end [2025-03-09 16:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:17:04] Production.INFO: 1 [2025-03-09 16:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:17:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:17:04] Production.INFO: Account Balance End. [2025-03-09 16:17:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:17:04] Production.INFO: ==4146== Releasing lock... [2025-03-09 16:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:17:04] Production.INFO: ==4150== Releasing lock... [2025-03-09 16:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:17:04] Production.INFO: ==4142== Releasing lock... [2025-03-09 16:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:17:04] Production.ERROR: done [2025-03-09 16:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:17:05] Production.ERROR: done [2025-03-09 16:17:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:17:06 [end_date_ymd] => 2025-03-09 16:17:06 [RateCDR] => 1 ) [2025-03-09 16:17:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:17:06' and `end` < '2025-03-09 16:17:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:17:13] Production.ERROR: CronJobId end10 [2025-03-09 16:17:13] Production.INFO: ==4144== Releasing lock... [2025-03-09 16:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:17:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:17:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:17:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:17:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:17:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:17:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:17:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:17:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:17:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:17:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:17:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:17:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:17:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:17:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:17:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:17:15] Production.INFO: call_cost start [2025-03-09 16:17:15] Production.INFO: call_cost end [2025-03-09 16:17:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:17:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:17:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:17:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:17:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:17:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:17:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:17:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:17:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:17:16] Production.INFO: ==4140== Releasing lock... [2025-03-09 16:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:17:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:17:18] Production.INFO: count ==947 [2025-03-09 16:17:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:17:06 - End Time 2025-03-09 16:17:06 [2025-03-09 16:17:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643352', 'tblTempUsageDetail_20' ) start [2025-03-09 16:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643352', 'tblTempUsageDetail_20' ) end [2025-03-09 16:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643352', 'tblTempVendorCDR_20' ) start [2025-03-09 16:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643352', 'tblTempVendorCDR_20' ) end [2025-03-09 16:17:18] Production.INFO: ProcessCDR(1,14643352,1,1,2) [2025-03-09 16:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643352', 'tblTempUsageDetail_20' ) start [2025-03-09 16:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643352', 'tblTempUsageDetail_20' ) end [2025-03-09 16:17:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:17:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:17:21] Production.INFO: ==4148== Releasing lock... [2025-03-09 16:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:17:21] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 20:18:01] Production.INFO: ==4205== Lock acquired, processing the job... [2025-03-09 20:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:18:01] Production.INFO: neon service started [2025-03-09 20:18:01] Production.INFO: neon service started [2025-03-09 20:18:01] Production.INFO: ==4205== Releasing lock... [2025-03-09 20:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:18:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:18:02] Production.INFO: ==4207== Lock acquired, processing the job... [2025-03-09 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:18:02] Production.INFO: ==4207== Releasing lock... [2025-03-09 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:18:02] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 20:18:02] Production.INFO: ==4209== Lock acquired, processing the job... [2025-03-09 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:18:02] Production.INFO: ==4209== Releasing lock... [2025-03-09 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:18:03] Production.INFO: ==4212== Lock acquired, processing the job... [2025-03-09 16:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:18:03] Production.INFO: ==4222== Lock acquired, processing the job... [2025-03-09 16:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:18:03] Production.INFO: ==4214== Lock acquired, processing the job... [2025-03-09 16:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:18:03] Production.INFO: ==4216== Lock acquired, processing the job... [2025-03-09 16:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:18:03] Production.INFO: ==4218== Lock acquired, processing the job... [2025-03-09 16:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:18:03] Production.INFO: ==4220== Lock acquired, processing the job... [2025-03-09 16:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:18:03] Production.INFO: count ==13 [2025-03-09 16:18:03] Production.INFO: Account Balance Start. [2025-03-09 16:18:03] Production.INFO: CreateAllLog Start [2025-03-09 16:18:03] Production.INFO: 117 [2025-03-09 16:18:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:18:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:18:03] Production.INFO: count ==21 [2025-03-09 16:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643355') start [2025-03-09 16:18:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:18:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643355') end [2025-03-09 16:18:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:18:03] Production.INFO: 1 [2025-03-09 16:18:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:18:03] Production.INFO: Total Charge 0 [2025-03-09 16:18:03] Production.INFO: CreateAllLog End [2025-03-09 16:18:03] Production.INFO: ==4222== Releasing lock... [2025-03-09 16:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:18:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:18:03] Production.INFO: ==4214== Releasing lock... [2025-03-09 16:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:18:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:18:04] Production.ERROR: done [2025-03-09 16:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:18:04] Production.INFO: Account Balance End. [2025-03-09 16:18:04] Production.ERROR: done [2025-03-09 16:18:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:18:04] Production.INFO: ==4218== Releasing lock... [2025-03-09 16:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:18:05 [end_date_ymd] => 2025-03-09 16:18:05 [RateCDR] => 1 ) [2025-03-09 16:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:18:05' and `end` < '2025-03-09 16:18:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:18:12] Production.ERROR: CronJobId end10 [2025-03-09 16:18:12] Production.INFO: ==4216== Releasing lock... [2025-03-09 16:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:18:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:18:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:18:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:18:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:18:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:18:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:18:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:18:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:18:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:18:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:18:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:18:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:18:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:18:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:18:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:18:13] Production.INFO: call_cost start [2025-03-09 16:18:13] Production.INFO: call_cost end [2025-03-09 16:18:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:18:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:18:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:18:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:18:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:18:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:18:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:18:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:18:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:18:14] Production.INFO: ==4212== Releasing lock... [2025-03-09 16:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:18:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:18:17] Production.INFO: count ==946 [2025-03-09 16:18:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:18:05 - End Time 2025-03-09 16:18:05 [2025-03-09 16:18:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643357', 'tblTempUsageDetail_20' ) start [2025-03-09 16:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643357', 'tblTempUsageDetail_20' ) end [2025-03-09 16:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643357', 'tblTempVendorCDR_20' ) start [2025-03-09 16:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643357', 'tblTempVendorCDR_20' ) end [2025-03-09 16:18:17] Production.INFO: ProcessCDR(1,14643357,1,1,2) [2025-03-09 16:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643357', 'tblTempUsageDetail_20' ) start [2025-03-09 16:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643357', 'tblTempUsageDetail_20' ) end [2025-03-09 16:18:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:18:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:18:20] Production.INFO: ==4220== Releasing lock... [2025-03-09 16:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:18:20] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 20:19:02] Production.INFO: ==4277== Lock acquired, processing the job... [2025-03-09 20:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:19:02] Production.INFO: neon service started [2025-03-09 20:19:02] Production.INFO: neon service started [2025-03-09 20:19:02] Production.INFO: ==4277== Releasing lock... [2025-03-09 20:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 20:19:02] Production.INFO: ==4281== Lock acquired, processing the job... [2025-03-09 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:19:02] Production.INFO: ==4281== Releasing lock... [2025-03-09 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:19:02] Production.INFO: ==4279== Lock acquired, processing the job... [2025-03-09 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:19:03] Production.INFO: ==4279== Releasing lock... [2025-03-09 16:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:19:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:19:04] Production.INFO: ==4286== Lock acquired, processing the job... [2025-03-09 16:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:19:04] Production.INFO: ==4288== Lock acquired, processing the job... [2025-03-09 16:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:19:04] Production.INFO: ==4290== Lock acquired, processing the job... [2025-03-09 16:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:19:04] Production.INFO: ==4284== Lock acquired, processing the job... [2025-03-09 16:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:19:04] Production.INFO: ==4286== Releasing lock... [2025-03-09 16:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:19:04] Production.INFO: Account Balance Start. [2025-03-09 16:19:04] Production.INFO: CreateAllLog Start [2025-03-09 16:19:04] Production.INFO: 117 [2025-03-09 16:19:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:19:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:19:04] Production.INFO: ==4292== Lock acquired, processing the job... [2025-03-09 16:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:19:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:19:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:19:04] Production.INFO: Total Charge 0 [2025-03-09 16:19:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:19:04] Production.INFO: CreateAllLog End [2025-03-09 16:19:04] Production.INFO: ==4294== Lock acquired, processing the job... [2025-03-09 16:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:19:04] Production.INFO: count ==13 [2025-03-09 16:19:04] Production.ERROR: done [2025-03-09 16:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:19:04] Production.INFO: count ==21 [2025-03-09 16:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643361') start [2025-03-09 16:19:04] Production.INFO: Account Balance End. [2025-03-09 16:19:05] Production.ERROR: PBX CALL prc_importPBXExtension('14643361') end [2025-03-09 16:19:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:19:05] Production.INFO: 1 [2025-03-09 16:19:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:19:05] Production.ERROR: CronJobId end 12 [2025-03-09 16:19:05] Production.INFO: ==4290== Releasing lock... [2025-03-09 16:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:19:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:19:05] Production.INFO: ==4294== Releasing lock... [2025-03-09 16:19:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:19:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:19:05] Production.ERROR: done [2025-03-09 16:19:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:19:06 [end_date_ymd] => 2025-03-09 16:19:06 [RateCDR] => 1 ) [2025-03-09 16: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-09 13:19:06' and `end` < '2025-03-09 16: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-09 16:19:13] Production.ERROR: CronJobId end10 [2025-03-09 16:19:13] Production.INFO: ==4288== Releasing lock... [2025-03-09 16:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:19:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:19:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:19:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:19:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:19:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:19:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:19:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:19:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:19:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:19:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:19:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:19:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:19:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:19:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:19:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:19:16] Production.INFO: call_cost start [2025-03-09 16:19:16] Production.INFO: call_cost end [2025-03-09 16:19:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:19:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:19:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:19:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:19:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:19:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:19:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:19:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:19:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:19:17] Production.INFO: ==4284== Releasing lock... [2025-03-09 16:19:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:19:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:19:18] Production.INFO: count ==947 [2025-03-09 16:19:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:19:06 - End Time 2025-03-09 16:19:06 [2025-03-09 16:19:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643362', 'tblTempUsageDetail_20' ) start [2025-03-09 16:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643362', 'tblTempUsageDetail_20' ) end [2025-03-09 16:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643362', 'tblTempVendorCDR_20' ) start [2025-03-09 16:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643362', 'tblTempVendorCDR_20' ) end [2025-03-09 16:19:18] Production.INFO: ProcessCDR(1,14643362,1,1,2) [2025-03-09 16:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643362', 'tblTempUsageDetail_20' ) start [2025-03-09 16:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643362', 'tblTempUsageDetail_20' ) end [2025-03-09 16:19:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:19:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:19:22] Production.INFO: ==4292== Releasing lock... [2025-03-09 16:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:19:22] Production.INFO: 35.5 MB #Memory Used# [2025-03-09 20:20:01] Production.INFO: ==4348== Lock acquired, processing the job... [2025-03-09 20:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:20:01] Production.INFO: neon service started [2025-03-09 20:20:01] Production.INFO: neon service started [2025-03-09 20:20:01] Production.INFO: ==4348== Releasing lock... [2025-03-09 20:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 20:20:02] Production.INFO: ==4352== Lock acquired, processing the job... [2025-03-09 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:20:02] Production.INFO: ==4352== Releasing lock... [2025-03-09 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:20:02] Production.INFO: ==4350== Lock acquired, processing the job... [2025-03-09 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:20:02] Production.INFO: ==4350== Releasing lock... [2025-03-09 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:20:03] Production.INFO: ==4355== Lock acquired, processing the job... [2025-03-09 16:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 16:20:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 16:20:03] Production.INFO: ==4357== Lock acquired, processing the job... [2025-03-09 16:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:20:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 16:20:03] Production.INFO: ==4355== Releasing lock... [2025-03-09 16:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 16:20:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 16:20:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:20:03] Production.INFO: ==4361== Lock acquired, processing the job... [2025-03-09 16:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:20:03] Production.INFO: ==4363== Lock acquired, processing the job... [2025-03-09 16:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:20:03] Production.INFO: ==4359== Lock acquired, processing the job... [2025-03-09 16:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:20:03] Production.INFO: Account Balance Start. [2025-03-09 16:20:03] Production.INFO: CreateAllLog Start [2025-03-09 16:20:03] Production.INFO: 117 [2025-03-09 16:20:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:20:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:20:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:20:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:20:03] Production.INFO: Total Charge 0 [2025-03-09 16:20:03] Production.INFO: CreateAllLog End [2025-03-09 16:20:04] Production.INFO: Account Balance End. [2025-03-09 16:20:04] Production.INFO: ==4359== Releasing lock... [2025-03-09 16:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:20:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:20:04] Production.INFO: ==4363== Releasing lock... [2025-03-09 16:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:20:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:20:04] Production.INFO: ==4367== Lock acquired, processing the job... [2025-03-09 16:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 16:20:04] Production.INFO: ==4365== Lock acquired, processing the job... [2025-03-09 16:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:20:04] Production.INFO: ==4369== Lock acquired, processing the job... [2025-03-09 16:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 16:20:04] Production.INFO: count ==13 [2025-03-09 16:20:04] Production.ERROR: done [2025-03-09 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-09 16:20:04] Production.INFO: count ==21 [2025-03-09 16:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643366') start [2025-03-09 16:20:04] Production.ERROR: done [2025-03-09 16:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 16:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643367', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 16:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643366') end [2025-03-09 16:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:20:04] Production.INFO: 1 [2025-03-09 16:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:20:04] Production.INFO: ==4369== Releasing lock... [2025-03-09 16:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:20:04] Production.ERROR: done [2025-03-09 16:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:20:06 [end_date_ymd] => 2025-03-09 16:20:06 [RateCDR] => 1 ) [2025-03-09 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-09 13:20:06' and `end` < '2025-03-09 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-09 16:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643367', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 16:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 16:20:09] Production.INFO: ProcessCDR(1,14643367,1,1,2) [2025-03-09 16:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14643367,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14643367,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:20:09] Production.INFO: ==4367== Releasing lock... [2025-03-09 16:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 16:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 16:20:12] Production.ERROR: CronJobId end10 [2025-03-09 16:20:12] Production.INFO: ==4361== Releasing lock... [2025-03-09 16:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:20:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:20:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:20:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:20:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:20:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:20:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:20:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:20:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:20:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:20:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:20:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:20:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:20:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:20:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:20:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:20:15] Production.INFO: call_cost start [2025-03-09 16:20:15] Production.INFO: call_cost end [2025-03-09 16:20:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:20:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:20:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:20:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:20:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:20:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:20:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:20:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:20:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:20:16] Production.INFO: ==4357== Releasing lock... [2025-03-09 16:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:20:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:20:18] Production.INFO: count ==950 [2025-03-09 16:20:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:20:06 - End Time 2025-03-09 16:20:06 [2025-03-09 16:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643368', 'tblTempUsageDetail_20' ) start [2025-03-09 16:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643368', 'tblTempUsageDetail_20' ) end [2025-03-09 16:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643368', 'tblTempVendorCDR_20' ) start [2025-03-09 16:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643368', 'tblTempVendorCDR_20' ) end [2025-03-09 16:20:18] Production.INFO: ProcessCDR(1,14643368,1,1,2) [2025-03-09 16:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643368', 'tblTempUsageDetail_20' ) start [2025-03-09 16:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643368', 'tblTempUsageDetail_20' ) end [2025-03-09 16:20:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:20:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:20:23] Production.INFO: ==4365== Releasing lock... [2025-03-09 16:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:20:23] Production.INFO: 35.5 MB #Memory Used# [2025-03-09 20:21:02] Production.INFO: ==4424== Lock acquired, processing the job... [2025-03-09 20:21:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:21:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:21:02] Production.INFO: neon service started [2025-03-09 20:21:02] Production.INFO: neon service started [2025-03-09 20:21:02] Production.INFO: ==4424== Releasing lock... [2025-03-09 20:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 20:21:02] Production.INFO: ==4429== Lock acquired, processing the job... [2025-03-09 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:21:02] Production.INFO: ==4429== Releasing lock... [2025-03-09 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:21:02] Production.INFO: ==4427== Lock acquired, processing the job... [2025-03-09 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:21:02] Production.INFO: ==4427== Releasing lock... [2025-03-09 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:21:03] Production.INFO: ==4431== Lock acquired, processing the job... [2025-03-09 16:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:21:03] Production.INFO: ==4433== Lock acquired, processing the job... [2025-03-09 16:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:21:03] Production.INFO: ==4435== Lock acquired, processing the job... [2025-03-09 16:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:21:03] Production.INFO: ==4437== Lock acquired, processing the job... [2025-03-09 16:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:21:04] Production.INFO: Account Balance Start. [2025-03-09 16:21:04] Production.INFO: ==4441== Lock acquired, processing the job... [2025-03-09 16:21:04] Production.INFO: CreateAllLog Start [2025-03-09 16:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:21:04] Production.INFO: 117 [2025-03-09 16:21:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:21:04] Production.INFO: ==4439== Lock acquired, processing the job... [2025-03-09 16:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:21:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:21:04] Production.INFO: ==4433== Releasing lock... [2025-03-09 16:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:21:04] Production.INFO: Total Charge 0 [2025-03-09 16:21:04] Production.INFO: CreateAllLog End [2025-03-09 16:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 16:21:04] Production.INFO: count ==13 [2025-03-09 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-09 16:21:04] Production.INFO: count ==21 [2025-03-09 16:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643372') start [2025-03-09 16:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643372') end [2025-03-09 16:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:21:04] Production.INFO: 1 [2025-03-09 16:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:21:04] Production.INFO: Account Balance End. [2025-03-09 16:21:04] Production.INFO: ==4441== Releasing lock... [2025-03-09 16:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:21:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:21:04] Production.INFO: ==4437== Releasing lock... [2025-03-09 16:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:21:04] Production.ERROR: done [2025-03-09 16:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:21:04] Production.ERROR: done [2025-03-09 16:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:21:05 [end_date_ymd] => 2025-03-09 16:21:05 [RateCDR] => 1 ) [2025-03-09 16:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:21:05' and `end` < '2025-03-09 16:21:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:21: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-09 16:21:11] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:21:11] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:21:11] Production.ERROR: CronJobId end10 [2025-03-09 16:21:11] Production.INFO: ==4435== Releasing lock... [2025-03-09 16:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:21:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:21:11] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:21:11] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:21:11] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:21:11] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:21:11] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:21:11] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:21:11] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:21:11] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:21:11] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:21:11] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:21:11] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:21:11] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:21:12] Production.INFO: call_cost start [2025-03-09 16:21:12] Production.INFO: call_cost end [2025-03-09 16:21:12] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:21:12] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:21:12] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:21:12] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:21:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:21:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:21:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:21:13] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:21:13] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:21:13] Production.INFO: ==4431== Releasing lock... [2025-03-09 16:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:21:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:21:17] Production.INFO: count ==988 [2025-03-09 16:21:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:21:05 - End Time 2025-03-09 16:21:05 [2025-03-09 16:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643373', 'tblTempUsageDetail_20' ) start [2025-03-09 16:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643373', 'tblTempUsageDetail_20' ) end [2025-03-09 16:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643373', 'tblTempVendorCDR_20' ) start [2025-03-09 16:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643373', 'tblTempVendorCDR_20' ) end [2025-03-09 16:21:18] Production.INFO: ProcessCDR(1,14643373,1,1,2) [2025-03-09 16:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643373', 'tblTempUsageDetail_20' ) start [2025-03-09 16:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643373', 'tblTempUsageDetail_20' ) end [2025-03-09 16:21:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:21:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:21:23] Production.INFO: ==4439== Releasing lock... [2025-03-09 16:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:21:23] Production.INFO: 36 MB #Memory Used# [2025-03-09 20:22:01] Production.INFO: ==4496== Lock acquired, processing the job... [2025-03-09 20:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:22:01] Production.INFO: neon service started [2025-03-09 20:22:01] Production.INFO: neon service started [2025-03-09 20:22:01] Production.INFO: ==4496== Releasing lock... [2025-03-09 20:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:22:01] Production.INFO: ==4498== Lock acquired, processing the job... [2025-03-09 16:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 20:22:02] Production.INFO: ==4500== Lock acquired, processing the job... [2025-03-09 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:22:02] Production.INFO: ==4498== Releasing lock... [2025-03-09 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:22:02] Production.INFO: ==4500== Releasing lock... [2025-03-09 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:22:03] Production.INFO: ==4507== Lock acquired, processing the job... [2025-03-09 16:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:22:03] Production.INFO: ==4511== Lock acquired, processing the job... [2025-03-09 16:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:22:03] Production.INFO: ==4503== Lock acquired, processing the job... [2025-03-09 16:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:22:03] Production.INFO: ==4505== Lock acquired, processing the job... [2025-03-09 16:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:22:03] Production.INFO: ==4509== Lock acquired, processing the job... [2025-03-09 16:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:22:03] Production.INFO: ==4513== Lock acquired, processing the job... [2025-03-09 16:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:22:03] Production.INFO: Account Balance Start. [2025-03-09 16:22:03] Production.INFO: CreateAllLog Start [2025-03-09 16:22:03] Production.INFO: 117 [2025-03-09 16:22:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:22:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:22:03] Production.ERROR: done [2025-03-09 16:22:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:22:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:22:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:22:03] Production.INFO: count ==13 [2025-03-09 16:22:03] Production.INFO: Total Charge 0 [2025-03-09 16:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:22:03] Production.INFO: count ==21 [2025-03-09 16:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643377') start [2025-03-09 16:22:03] Production.INFO: CreateAllLog End [2025-03-09 16:22:03] Production.ERROR: done [2025-03-09 16:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643377') end [2025-03-09 16:22:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:22:03] Production.INFO: 1 [2025-03-09 16:22:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:22:03] Production.INFO: ==4505== Releasing lock... [2025-03-09 16:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:22:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:22:03] Production.INFO: ==4513== Releasing lock... [2025-03-09 16:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:22:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:22:04] Production.INFO: Account Balance End. [2025-03-09 16:22:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:22:04] Production.INFO: ==4509== Releasing lock... [2025-03-09 16:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:22:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:22:04 [end_date_ymd] => 2025-03-09 16:22:04 [RateCDR] => 1 ) [2025-03-09 16:22:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:22:04' and `end` < '2025-03-09 16:22:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:22:10] Production.ERROR: CronJobId end10 [2025-03-09 16:22:10] Production.INFO: ==4507== Releasing lock... [2025-03-09 16:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:22:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:22:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:22:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:22:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:22:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:22:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:22:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:22:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:22:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:22:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:22:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:22:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:22:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:22:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:22:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:22:14] Production.INFO: call_cost start [2025-03-09 16:22:14] Production.INFO: call_cost end [2025-03-09 16:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:22:15] Production.INFO: ==4503== Releasing lock... [2025-03-09 16:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:22:17] Production.INFO: count ==978 [2025-03-09 16:22:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:22:04 - End Time 2025-03-09 16:22:04 [2025-03-09 16:22:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643378', 'tblTempUsageDetail_20' ) start [2025-03-09 16:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643378', 'tblTempUsageDetail_20' ) end [2025-03-09 16:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643378', 'tblTempVendorCDR_20' ) start [2025-03-09 16:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643378', 'tblTempVendorCDR_20' ) end [2025-03-09 16:22:17] Production.INFO: ProcessCDR(1,14643378,1,1,2) [2025-03-09 16:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:22:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643378', 'tblTempUsageDetail_20' ) start [2025-03-09 16:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643378', 'tblTempUsageDetail_20' ) end [2025-03-09 16:22:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:22:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:22:20] Production.INFO: ==4511== Releasing lock... [2025-03-09 16:22:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:22:20] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 20:23:01] Production.INFO: ==4568== Lock acquired, processing the job... [2025-03-09 20:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:23:01] Production.INFO: neon service started [2025-03-09 20:23:01] Production.INFO: neon service started [2025-03-09 20:23:01] Production.INFO: ==4568== Releasing lock... [2025-03-09 20:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:23:02] Production.INFO: ==4570== Lock acquired, processing the job... [2025-03-09 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:23:02] Production.INFO: ==4570== Releasing lock... [2025-03-09 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:23:02] Production.INFO: ==4572== Lock acquired, processing the job... [2025-03-09 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:23:02] Production.INFO: ==4572== Releasing lock... [2025-03-09 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:23:03] Production.INFO: ==4590== Lock acquired, processing the job... [2025-03-09 16:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:23:03] Production.INFO: ==4592== Lock acquired, processing the job... [2025-03-09 16:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:23:03] Production.INFO: ==4582== Lock acquired, processing the job... [2025-03-09 16:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:23:03] Production.INFO: count ==13 [2025-03-09 16:23:03] Production.INFO: ==4584== Lock acquired, processing the job... [2025-03-09 16:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:23:03] Production.INFO: ==4586== Lock acquired, processing the job... [2025-03-09 16:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:23:03] Production.INFO: count ==21 [2025-03-09 16:23:03] Production.INFO: ==4588== Lock acquired, processing the job... [2025-03-09 16:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643379') start [2025-03-09 16:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:23:03] Production.ERROR: done [2025-03-09 16:23:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:23:03] Production.INFO: Account Balance Start. [2025-03-09 16:23:03] Production.INFO: CreateAllLog Start [2025-03-09 16:23:04] Production.INFO: 117 [2025-03-09 16:23:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:23:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643379') end [2025-03-09 16:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:23:04] Production.INFO: 1 [2025-03-09 16:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:23:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:23:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:23:04] Production.INFO: Total Charge 0 [2025-03-09 16:23:04] Production.INFO: CreateAllLog End [2025-03-09 16:23:04] Production.INFO: ==4592== Releasing lock... [2025-03-09 16:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:23:04] Production.ERROR: done [2025-03-09 16:23:04] Production.INFO: ==4584== Releasing lock... [2025-03-09 16:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:23:04] Production.INFO: Account Balance End. [2025-03-09 16:23:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:23:04] Production.INFO: ==4588== Releasing lock... [2025-03-09 16:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:23:05 [end_date_ymd] => 2025-03-09 16:23:05 [RateCDR] => 1 ) [2025-03-09 16:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:23:05' and `end` < '2025-03-09 16:23:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:23:11] Production.ERROR: CronJobId end10 [2025-03-09 16:23:11] Production.INFO: ==4586== Releasing lock... [2025-03-09 16:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:23:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:23:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:23:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:23:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:23:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:23:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:23:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:23:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:23:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:23:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:23:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:23:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:23:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:23:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:23:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:23:14] Production.INFO: call_cost start [2025-03-09 16:23:14] Production.INFO: call_cost end [2025-03-09 16:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:23:15] Production.INFO: ==4582== Releasing lock... [2025-03-09 16:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:23:17] Production.INFO: count ==980 [2025-03-09 16:23:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:23:05 - End Time 2025-03-09 16:23:05 [2025-03-09 16:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643383', 'tblTempUsageDetail_20' ) start [2025-03-09 16:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643383', 'tblTempUsageDetail_20' ) end [2025-03-09 16:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643383', 'tblTempVendorCDR_20' ) start [2025-03-09 16:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643383', 'tblTempVendorCDR_20' ) end [2025-03-09 16:23:17] Production.INFO: ProcessCDR(1,14643383,1,1,2) [2025-03-09 16:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643383', 'tblTempUsageDetail_20' ) start [2025-03-09 16:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643383', 'tblTempUsageDetail_20' ) end [2025-03-09 16:23:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:23:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:23:22] Production.INFO: ==4590== Releasing lock... [2025-03-09 16:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:23:22] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 20:24:01] Production.INFO: ==4689== Lock acquired, processing the job... [2025-03-09 20:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:24:01] Production.INFO: neon service started [2025-03-09 20:24:01] Production.INFO: neon service started [2025-03-09 20:24:01] Production.INFO: ==4689== Releasing lock... [2025-03-09 20:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:24:01] Production.INFO: ==4691== Lock acquired, processing the job... [2025-03-09 16:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:24:02] Production.INFO: ==4691== Releasing lock... [2025-03-09 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:24:02] Production.INFO: ==4693== Lock acquired, processing the job... [2025-03-09 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:24:02] Production.INFO: ==4693== Releasing lock... [2025-03-09 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:24:02] Production.INFO: ==4695== Lock acquired, processing the job... [2025-03-09 16:24:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:24:03] Production.INFO: ==4697== Lock acquired, processing the job... [2025-03-09 16:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:24:03] Production.INFO: ==4703== Lock acquired, processing the job... [2025-03-09 16:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:24:03] Production.INFO: ==4699== Lock acquired, processing the job... [2025-03-09 16:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:24:03] Production.INFO: ==4701== Lock acquired, processing the job... [2025-03-09 16:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:24:03] Production.INFO: ==4697== Releasing lock... [2025-03-09 16:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:24:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:24:03] Production.INFO: ==4705== Lock acquired, processing the job... [2025-03-09 16:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 16:24:03] Production.INFO: Account Balance Start. [2025-03-09 16:24:03] Production.INFO: CreateAllLog Start [2025-03-09 16:24:03] Production.INFO: 117 [2025-03-09 16:24:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:24:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:24:03] Production.INFO: count ==13 [2025-03-09 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-09 16:24:03] Production.INFO: count ==21 [2025-03-09 16:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643386') start [2025-03-09 16:24:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:24:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:24:03] Production.ERROR: done [2025-03-09 16:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643386') end [2025-03-09 16:24:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:24:03] Production.INFO: 1 [2025-03-09 16:24:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:24:03] Production.INFO: Total Charge 0 [2025-03-09 16:24:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:24:03] Production.INFO: CreateAllLog End [2025-03-09 16:24:03] Production.INFO: ==4705== Releasing lock... [2025-03-09 16:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:24:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:24:04] Production.ERROR: done [2025-03-09 16:24:04] Production.INFO: Account Balance End. [2025-03-09 16:24:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:24:04] Production.INFO: ==4701== Releasing lock... [2025-03-09 16:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:24:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:24:04 [end_date_ymd] => 2025-03-09 16:24:04 [RateCDR] => 1 ) [2025-03-09 16:24:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:24:04' and `end` < '2025-03-09 16:24:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:24:12] Production.ERROR: CronJobId end10 [2025-03-09 16:24:12] Production.INFO: ==4699== Releasing lock... [2025-03-09 16:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:24:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:24:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:24:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:24:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:24:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:24:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:24:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:24:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:24:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:24:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:24:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:24:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:24:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:24:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:24:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:24:14] Production.INFO: call_cost start [2025-03-09 16:24:14] Production.INFO: call_cost end [2025-03-09 16:24:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:24:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:24:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:24:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:24:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:24:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:24:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:24:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:24:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:24:14] Production.INFO: ==4695== Releasing lock... [2025-03-09 16:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:24:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:24:16] Production.INFO: count ==986 [2025-03-09 16:24:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:24:04 - End Time 2025-03-09 16:24:04 [2025-03-09 16:24:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643388', 'tblTempUsageDetail_20' ) start [2025-03-09 16:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643388', 'tblTempUsageDetail_20' ) end [2025-03-09 16:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643388', 'tblTempVendorCDR_20' ) start [2025-03-09 16:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643388', 'tblTempVendorCDR_20' ) end [2025-03-09 16:24:17] Production.INFO: ProcessCDR(1,14643388,1,1,2) [2025-03-09 16:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643388', 'tblTempUsageDetail_20' ) start [2025-03-09 16:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643388', 'tblTempUsageDetail_20' ) end [2025-03-09 16:24:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:24:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:24:21] Production.INFO: ==4703== Releasing lock... [2025-03-09 16:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:24:21] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 20:25:01] Production.INFO: ==4760== Lock acquired, processing the job... [2025-03-09 20:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:25:01] Production.INFO: neon service started [2025-03-09 20:25:01] Production.INFO: neon service started [2025-03-09 20:25:01] Production.INFO: ==4760== Releasing lock... [2025-03-09 20:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:25:02] Production.INFO: ==4762== Lock acquired, processing the job... [2025-03-09 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:25:02] Production.INFO: ==4762== Releasing lock... [2025-03-09 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:25:02] Production.INFO: ==4764== Lock acquired, processing the job... [2025-03-09 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:25:02] Production.INFO: ==4764== Releasing lock... [2025-03-09 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:25:03] Production.INFO: ==4770== Lock acquired, processing the job... [2025-03-09 16:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:25:03] Production.INFO: ==4766== Lock acquired, processing the job... [2025-03-09 16:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:25:03] Production.INFO: ==4776== Lock acquired, processing the job... [2025-03-09 16:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:25:03] Production.INFO: ==4768== Lock acquired, processing the job... [2025-03-09 16:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:25:03] Production.INFO: ==4772== Lock acquired, processing the job... [2025-03-09 16:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:25:03] Production.INFO: count ==13 [2025-03-09 16:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:25:03] Production.INFO: count ==21 [2025-03-09 16:25:03] Production.INFO: Account Balance Start. [2025-03-09 16:25:03] Production.INFO: CreateAllLog Start [2025-03-09 16:25:03] Production.INFO: ==4774== Lock acquired, processing the job... [2025-03-09 16:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:25:03] Production.INFO: 117 [2025-03-09 16:25:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643390') start [2025-03-09 16:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:25:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:25:03] Production.INFO: Total Charge 0 [2025-03-09 16:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643390') end [2025-03-09 16:25:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:25:03] Production.INFO: 1 [2025-03-09 16:25:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:25:03] Production.INFO: CreateAllLog End [2025-03-09 16:25:04] Production.INFO: ==4776== Releasing lock... [2025-03-09 16:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:25:04] Production.ERROR: done [2025-03-09 16:25:04] Production.INFO: ==4768== Releasing lock... [2025-03-09 16:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:25:04] Production.ERROR: done [2025-03-09 16:25:04] Production.INFO: Account Balance End. [2025-03-09 16:25:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:25:04] Production.INFO: ==4772== Releasing lock... [2025-03-09 16:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:25:05 [end_date_ymd] => 2025-03-09 16:25:05 [RateCDR] => 1 ) [2025-03-09 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-09 13:25:05' and `end` < '2025-03-09 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-09 16:25:11] Production.ERROR: CronJobId end10 [2025-03-09 16:25:11] Production.INFO: ==4770== Releasing lock... [2025-03-09 16:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:25:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:25:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:25:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:25:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:25:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:25:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:25:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:25:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:25:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:25:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:25:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:25:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:25:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:25:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:25:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:25:13] Production.INFO: call_cost start [2025-03-09 16:25:13] Production.INFO: call_cost end [2025-03-09 16:25:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:25:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:25:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:25:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:25:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:25:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:25:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:25:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:25:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:25:14] Production.INFO: ==4766== Releasing lock... [2025-03-09 16:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:25:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:25:17] Production.INFO: count ==988 [2025-03-09 16:25:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:25:05 - End Time 2025-03-09 16:25:05 [2025-03-09 16:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643393', 'tblTempUsageDetail_20' ) start [2025-03-09 16:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643393', 'tblTempUsageDetail_20' ) end [2025-03-09 16:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643393', 'tblTempVendorCDR_20' ) start [2025-03-09 16:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643393', 'tblTempVendorCDR_20' ) end [2025-03-09 16:25:17] Production.INFO: ProcessCDR(1,14643393,1,1,2) [2025-03-09 16:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643393', 'tblTempUsageDetail_20' ) start [2025-03-09 16:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643393', 'tblTempUsageDetail_20' ) end [2025-03-09 16:25:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:25:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:25:22] Production.INFO: ==4774== Releasing lock... [2025-03-09 16:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:25:22] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 20:26:02] Production.INFO: ==4834== Lock acquired, processing the job... [2025-03-09 20:26:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:26:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:26:02] Production.INFO: neon service started [2025-03-09 20:26:02] Production.INFO: neon service started [2025-03-09 20:26:02] Production.INFO: ==4834== Releasing lock... [2025-03-09 20:26:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:26:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:26:02] Production.INFO: ==4836== Lock acquired, processing the job... [2025-03-09 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:26:02] Production.INFO: ==4836== Releasing lock... [2025-03-09 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:26:02] Production.INFO: ==4838== Lock acquired, processing the job... [2025-03-09 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:26:02] Production.INFO: ==4838== Releasing lock... [2025-03-09 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:26:03] Production.INFO: ==4843== Lock acquired, processing the job... [2025-03-09 16:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:26:03] Production.INFO: ==4841== Lock acquired, processing the job... [2025-03-09 16:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:26:03] Production.INFO: ==4852== Lock acquired, processing the job... [2025-03-09 16:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 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-09 16:26:03] Production.INFO: count ==13 [2025-03-09 16:26:03] Production.INFO: ==4845== Lock acquired, processing the job... [2025-03-09 16:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 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-09 16:26:03] Production.INFO: count ==21 [2025-03-09 16:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643396') start [2025-03-09 16:26:04] Production.INFO: ==4847== Lock acquired, processing the job... [2025-03-09 16:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643396') end [2025-03-09 16:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:26:04] Production.INFO: 1 [2025-03-09 16:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:26:04] Production.INFO: ==4852== Releasing lock... [2025-03-09 16:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:26:04] Production.INFO: ==4849== Lock acquired, processing the job... [2025-03-09 16:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:26:04] Production.INFO: Account Balance Start. [2025-03-09 16:26:04] Production.INFO: CreateAllLog Start [2025-03-09 16:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:26:04] Production.INFO: 117 [2025-03-09 16:26:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:26:04] Production.INFO: ==4843== Releasing lock... [2025-03-09 16:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:26:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:26:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:26:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:26:04] Production.INFO: Total Charge 0 [2025-03-09 16:26:04] Production.INFO: CreateAllLog End [2025-03-09 16:26:04] Production.ERROR: done [2025-03-09 16:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:26:04] Production.INFO: Account Balance End. [2025-03-09 16:26:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:26:04] Production.INFO: ==4847== Releasing lock... [2025-03-09 16:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:26:04] Production.ERROR: done [2025-03-09 16:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:26:05 [end_date_ymd] => 2025-03-09 16:26:05 [RateCDR] => 1 ) [2025-03-09 16:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:26:05' and `end` < '2025-03-09 16:26:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:26:11] Production.ERROR: CronJobId end10 [2025-03-09 16:26:11] Production.INFO: ==4845== Releasing lock... [2025-03-09 16:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:26:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:26:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:26:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:26:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:26:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:26:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:26:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:26:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:26:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:26:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:26:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:26:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:26:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:26:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:26:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:26:13] Production.INFO: call_cost start [2025-03-09 16:26:13] Production.INFO: call_cost end [2025-03-09 16:26:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:26:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:26:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:26:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:26:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:26:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:26:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:26:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:26:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:26:14] Production.INFO: ==4841== Releasing lock... [2025-03-09 16:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:26:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:26:17] Production.INFO: count ==993 [2025-03-09 16:26:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:26:05 - End Time 2025-03-09 16:26:05 [2025-03-09 16:26:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643398', 'tblTempUsageDetail_20' ) start [2025-03-09 16:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643398', 'tblTempUsageDetail_20' ) end [2025-03-09 16:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643398', 'tblTempVendorCDR_20' ) start [2025-03-09 16:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643398', 'tblTempVendorCDR_20' ) end [2025-03-09 16:26:18] Production.INFO: ProcessCDR(1,14643398,1,1,2) [2025-03-09 16:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643398', 'tblTempUsageDetail_20' ) start [2025-03-09 16:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643398', 'tblTempUsageDetail_20' ) end [2025-03-09 16:26:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:26:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:26:22] Production.INFO: ==4849== Releasing lock... [2025-03-09 16:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:26:22] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 20:27:01] Production.INFO: ==4908== Lock acquired, processing the job... [2025-03-09 20:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:27:01] Production.INFO: neon service started [2025-03-09 20:27:01] Production.INFO: neon service started [2025-03-09 20:27:01] Production.INFO: ==4908== Releasing lock... [2025-03-09 20:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 20:27:02] Production.INFO: ==4912== Lock acquired, processing the job... [2025-03-09 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:27:02] Production.INFO: ==4912== Releasing lock... [2025-03-09 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:27:02] Production.INFO: ==4910== Lock acquired, processing the job... [2025-03-09 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:27:02] Production.INFO: ==4910== Releasing lock... [2025-03-09 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:27:03] Production.INFO: ==4915== Lock acquired, processing the job... [2025-03-09 16:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:27:03] Production.INFO: ==4923== Lock acquired, processing the job... [2025-03-09 16:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:27:03] Production.INFO: ==4917== Lock acquired, processing the job... [2025-03-09 16:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:27:03] Production.INFO: ==4919== Lock acquired, processing the job... [2025-03-09 16:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:27:03] Production.INFO: ==4921== Lock acquired, processing the job... [2025-03-09 16:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:27:03] Production.INFO: ==4925== Lock acquired, processing the job... [2025-03-09 16:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:27:03] Production.INFO: Account Balance Start. [2025-03-09 16:27:03] Production.INFO: CreateAllLog Start [2025-03-09 16:27:03] Production.INFO: 117 [2025-03-09 16:27:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:27:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:27:03] Production.INFO: count ==13 [2025-03-09 16:27:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:27:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:27:03] Production.INFO: count ==21 [2025-03-09 16:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643401') start [2025-03-09 16:27:03] Production.INFO: Total Charge 0 [2025-03-09 16:27:03] Production.ERROR: done [2025-03-09 16:27:03] Production.INFO: ==4917== Releasing lock... [2025-03-09 16:27:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:27:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:27:03] Production.INFO: CreateAllLog End [2025-03-09 16:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643401') end [2025-03-09 16:27:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:27:03] Production.INFO: 1 [2025-03-09 16:27:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:27:04] Production.ERROR: done [2025-03-09 16:27:04] Production.INFO: ==4925== Releasing lock... [2025-03-09 16:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:27:04] Production.INFO: Account Balance End. [2025-03-09 16:27:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:27:04] Production.INFO: ==4921== Releasing lock... [2025-03-09 16:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:27:05 [end_date_ymd] => 2025-03-09 16:27:05 [RateCDR] => 1 ) [2025-03-09 16:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:27:05' and `end` < '2025-03-09 16:27:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:27:12] Production.ERROR: CronJobId end10 [2025-03-09 16:27:12] Production.INFO: ==4919== Releasing lock... [2025-03-09 16:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:27:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:27:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:27:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:27:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:27:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:27:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:27:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:27:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:27:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:27:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:27:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:27:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:27:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:27:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:27:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:27:14] Production.INFO: call_cost start [2025-03-09 16:27:14] Production.INFO: call_cost end [2025-03-09 16:27:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:27:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:27:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:27:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:27:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:27:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:27:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:27:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:27:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:27:15] Production.INFO: ==4915== Releasing lock... [2025-03-09 16:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:27:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:27:17] Production.INFO: count ==989 [2025-03-09 16:27:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:27:05 - End Time 2025-03-09 16:27:05 [2025-03-09 16:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643403', 'tblTempUsageDetail_20' ) start [2025-03-09 16:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643403', 'tblTempUsageDetail_20' ) end [2025-03-09 16:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643403', 'tblTempVendorCDR_20' ) start [2025-03-09 16:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643403', 'tblTempVendorCDR_20' ) end [2025-03-09 16:27:17] Production.INFO: ProcessCDR(1,14643403,1,1,2) [2025-03-09 16:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643403', 'tblTempUsageDetail_20' ) start [2025-03-09 16:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643403', 'tblTempUsageDetail_20' ) end [2025-03-09 16:27:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:27:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:27:22] Production.INFO: ==4923== Releasing lock... [2025-03-09 16:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:27:22] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 20:28:02] Production.INFO: ==4983== Lock acquired, processing the job... [2025-03-09 20:28:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:28:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:28:02] Production.INFO: neon service started [2025-03-09 20:28:02] Production.INFO: neon service started [2025-03-09 20:28:02] Production.INFO: ==4983== Releasing lock... [2025-03-09 20:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:28:02] Production.INFO: ==4985== Lock acquired, processing the job... [2025-03-09 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:28:02] Production.INFO: ==4985== Releasing lock... [2025-03-09 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:28:02] Production.INFO: ==4987== Lock acquired, processing the job... [2025-03-09 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:28:02] Production.INFO: ==4987== Releasing lock... [2025-03-09 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:28:03] Production.INFO: ==4990== Lock acquired, processing the job... [2025-03-09 16:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:28:03] Production.INFO: ==4994== Lock acquired, processing the job... [2025-03-09 16:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:28:03] Production.INFO: ==5000== Lock acquired, processing the job... [2025-03-09 16:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:28:03] Production.INFO: ==4992== Lock acquired, processing the job... [2025-03-09 16:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:28:03] Production.INFO: ==4996== Lock acquired, processing the job... [2025-03-09 16:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:28:03] Production.INFO: ==4998== Lock acquired, processing the job... [2025-03-09 16:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:28:04] Production.INFO: count ==13 [2025-03-09 16:28:04] Production.INFO: Account Balance Start. [2025-03-09 16:28:04] Production.INFO: CreateAllLog Start [2025-03-09 16:28:04] Production.INFO: 117 [2025-03-09 16:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:28:04] Production.INFO: count ==21 [2025-03-09 16:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643405') start [2025-03-09 16:28:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:28:04] Production.INFO: ==4992== Releasing lock... [2025-03-09 16:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643405') end [2025-03-09 16:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:28:04] Production.INFO: 1 [2025-03-09 16:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:28:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:28:04] Production.INFO: Total Charge 0 [2025-03-09 16:28:04] Production.INFO: CreateAllLog End [2025-03-09 16:28:04] Production.INFO: ==5000== Releasing lock... [2025-03-09 16:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:28:04] Production.ERROR: done [2025-03-09 16:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:28:04] Production.INFO: Account Balance End. [2025-03-09 16:28:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:28:04] Production.INFO: ==4996== Releasing lock... [2025-03-09 16:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:28:04] Production.ERROR: done [2025-03-09 16:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:28:05 [end_date_ymd] => 2025-03-09 16:28:05 [RateCDR] => 1 ) [2025-03-09 16:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:28:05' and `end` < '2025-03-09 16:28:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:28:11] Production.ERROR: CronJobId end10 [2025-03-09 16:28:11] Production.INFO: ==4994== Releasing lock... [2025-03-09 16:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:28:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:28:15] Production.INFO: call_cost start [2025-03-09 16:28:15] Production.INFO: call_cost end [2025-03-09 16:28:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:28:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:28:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:28:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:28:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:28:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:28:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:28:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:28:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:28:16] Production.INFO: ==4990== Releasing lock... [2025-03-09 16:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:28:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:28:17] Production.INFO: count ==993 [2025-03-09 16:28:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:28:05 - End Time 2025-03-09 16:28:05 [2025-03-09 16:28:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643408', 'tblTempUsageDetail_20' ) start [2025-03-09 16:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643408', 'tblTempUsageDetail_20' ) end [2025-03-09 16:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643408', 'tblTempVendorCDR_20' ) start [2025-03-09 16:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643408', 'tblTempVendorCDR_20' ) end [2025-03-09 16:28:18] Production.INFO: ProcessCDR(1,14643408,1,1,2) [2025-03-09 16:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643408', 'tblTempUsageDetail_20' ) start [2025-03-09 16:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643408', 'tblTempUsageDetail_20' ) end [2025-03-09 16:28:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:28:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:28:23] Production.INFO: ==4998== Releasing lock... [2025-03-09 16:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:28:23] Production.INFO: 36 MB #Memory Used# [2025-03-09 20:29:01] Production.INFO: ==5053== Lock acquired, processing the job... [2025-03-09 20:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:29:01] Production.INFO: neon service started [2025-03-09 20:29:01] Production.INFO: neon service started [2025-03-09 20:29:01] Production.INFO: ==5053== Releasing lock... [2025-03-09 20:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:29:01] Production.INFO: ==5055== Lock acquired, processing the job... [2025-03-09 16:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:29:02] Production.INFO: ==5055== Releasing lock... [2025-03-09 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:29:02] Production.INFO: ==5057== Lock acquired, processing the job... [2025-03-09 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:29:02] Production.INFO: ==5057== Releasing lock... [2025-03-09 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:29:03] Production.INFO: ==5060== Lock acquired, processing the job... [2025-03-09 16:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:29:03] Production.INFO: ==5066== Lock acquired, processing the job... [2025-03-09 16:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:29:03] Production.INFO: ==5064== Lock acquired, processing the job... [2025-03-09 16:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:29:03] Production.INFO: ==5062== Lock acquired, processing the job... [2025-03-09 16:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:29:03] Production.INFO: ==5068== Lock acquired, processing the job... [2025-03-09 16:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:29:03] Production.INFO: Account Balance Start. [2025-03-09 16:29:03] Production.INFO: CreateAllLog Start [2025-03-09 16:29:03] Production.INFO: 117 [2025-03-09 16:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:29:03] Production.INFO: ==5070== Lock acquired, processing the job... [2025-03-09 16:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:29:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:29:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:29:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:29:03] Production.INFO: Total Charge 0 [2025-03-09 16:29:03] Production.INFO: CreateAllLog End [2025-03-09 16:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:29:03] Production.INFO: ==5062== Releasing lock... [2025-03-09 16:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:29:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:29:03] Production.ERROR: done [2025-03-09 16:29:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:29:03] Production.INFO: count ==13 [2025-03-09 16:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:29:03] Production.INFO: count ==21 [2025-03-09 16:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643412') start [2025-03-09 16:29:03] Production.ERROR: done [2025-03-09 16:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643412') end [2025-03-09 16:29:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:29:03] Production.INFO: 1 [2025-03-09 16:29:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:29:03] Production.INFO: ==5070== Releasing lock... [2025-03-09 16:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:29:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:29:03] Production.INFO: Account Balance End. [2025-03-09 16:29:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:29:04] Production.INFO: ==5066== Releasing lock... [2025-03-09 16:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:29:05 [end_date_ymd] => 2025-03-09 16:29:05 [RateCDR] => 1 ) [2025-03-09 16:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:29:05' and `end` < '2025-03-09 16:29:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:29:11] Production.ERROR: CronJobId end10 [2025-03-09 16:29:11] Production.INFO: ==5064== Releasing lock... [2025-03-09 16:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:29:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:29:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:29:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:29:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:29:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:29:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:29:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:29:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:29:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:29:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:29:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:29:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:29:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:29:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:29:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:29:14] Production.INFO: call_cost start [2025-03-09 16:29:14] Production.INFO: call_cost end [2025-03-09 16:29:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:29:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:29:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:29:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:29:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:29:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:29:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:29:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:29:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:29:15] Production.INFO: ==5060== Releasing lock... [2025-03-09 16:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:29:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:29:17] Production.INFO: count ==991 [2025-03-09 16:29:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:29:05 - End Time 2025-03-09 16:29:05 [2025-03-09 16:29:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643413', 'tblTempUsageDetail_20' ) start [2025-03-09 16:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643413', 'tblTempUsageDetail_20' ) end [2025-03-09 16:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643413', 'tblTempVendorCDR_20' ) start [2025-03-09 16:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643413', 'tblTempVendorCDR_20' ) end [2025-03-09 16:29:17] Production.INFO: ProcessCDR(1,14643413,1,1,2) [2025-03-09 16:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643413', 'tblTempUsageDetail_20' ) start [2025-03-09 16:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643413', 'tblTempUsageDetail_20' ) end [2025-03-09 16:29:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:29:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:29:22] Production.INFO: ==5068== Releasing lock... [2025-03-09 16:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:29:22] Production.INFO: 36 MB #Memory Used# [2025-03-09 20:30:02] Production.INFO: ==5126== Lock acquired, processing the job... [2025-03-09 20:30:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:30:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:30:02] Production.INFO: neon service started [2025-03-09 20:30:02] Production.INFO: neon service started [2025-03-09 20:30:02] Production.INFO: ==5126== Releasing lock... [2025-03-09 20:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:30:02] Production.INFO: ==5129== Lock acquired, processing the job... [2025-03-09 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:30:02] Production.INFO: ==5129== Releasing lock... [2025-03-09 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:30:03] Production.INFO: ==5131== Lock acquired, processing the job... [2025-03-09 20:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:30:03] Production.INFO: ==5131== Releasing lock... [2025-03-09 20:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:30:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:30:03] Production.INFO: ==5137== Lock acquired, processing the job... [2025-03-09 16:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:30:04] Production.INFO: ==5145== Lock acquired, processing the job... [2025-03-09 16:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 16:30:04] Production.INFO: ==5147== Lock acquired, processing the job... [2025-03-09 16:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:30:04] Production.INFO: ==5133== Lock acquired, processing the job... [2025-03-09 16:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 16:30:04] Production.INFO: ==5135== Lock acquired, processing the job... [2025-03-09 16:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 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-09 16:30:04] Production.INFO: count ==13 [2025-03-09 16:30:04] Production.INFO: ==5143== Lock acquired, processing the job... [2025-03-09 16:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 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-09 16:30:04] Production.INFO: count ==21 [2025-03-09 16:30:04] Production.INFO: ==5139== Lock acquired, processing the job... [2025-03-09 16:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:30:04] Production.INFO: ==5141== Lock acquired, processing the job... [2025-03-09 16:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:30:04] Production.INFO: ==5137== Releasing lock... [2025-03-09 16:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643415') start [2025-03-09 16:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 16:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 16:30:04] Production.ERROR: CronJob PID - 5135 [2025-03-09 16:30:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 16:30:04] Production.ERROR: CronJob ID - 5 [2025-03-09 16:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 16:30:00 [2025-03-09 16:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 16:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 16:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 16:30:04] Production.ERROR: CronJob PID - 5139 [2025-03-09 16:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 16:30:04] Production.ERROR: CronJob ID - 10 [2025-03-09 16:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 16:30:00 [2025-03-09 16:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 16:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 16:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 16:30:04] Production.ERROR: CronJob PID - 5141 [2025-03-09 16:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 16:30:04] Production.ERROR: CronJob ID - 12 [2025-03-09 16:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 16:30:00 [2025-03-09 16:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 16:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 16:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 16:30:04] Production.ERROR: CronJob PID - 5143 [2025-03-09 16:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 16:30:04] Production.ERROR: CronJob ID - 16 [2025-03-09 16:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 16:30:00 [2025-03-09 16:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 16:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 16:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 16:30:04] Production.ERROR: CronJob PID - 5145 [2025-03-09 16:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-09 16:30:04] Production.ERROR: CronJob ID - 17 [2025-03-09 16:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 16:30:00 [2025-03-09 16:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 16:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 16:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 16:30:04] Production.ERROR: CronJob PID - 5147 [2025-03-09 16:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 16:30:04] Production.ERROR: CronJob ID - 19 [2025-03-09 16:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 16:30:00 [2025-03-09 16:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 16:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 16:30:04] Production.INFO: Account Balance Start. [2025-03-09 16:30:04] Production.INFO: CreateAllLog Start [2025-03-09 16:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643415') end [2025-03-09 16:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:30:04] Production.INFO: 1 [2025-03-09 16:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:30:04] Production.INFO: 117 [2025-03-09 16:30:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:30:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:30:04] Production.INFO: Total Charge 0 [2025-03-09 16:30:04] Production.INFO: CreateAllLog End [2025-03-09 16:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 16:30:04] Production.INFO: ==5133== Releasing lock... [2025-03-09 16:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 16:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 16:30:04] Production.INFO: ==5147== Releasing lock... [2025-03-09 16:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:30:04] Production.ERROR: done [2025-03-09 16:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 16:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643418', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 16:30:04] Production.ERROR: done [2025-03-09 16:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:30:04] Production.INFO: Account Balance End. [2025-03-09 16:30:05] Production.ERROR: CronJobId end 12 [2025-03-09 16:30:05] Production.INFO: ==5141== Releasing lock... [2025-03-09 16:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:30:05] Production.ERROR: done [2025-03-09 16:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:30:06 [end_date_ymd] => 2025-03-09 16:30:06 [RateCDR] => 1 ) [2025-03-09 16:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:30:06' and `end` < '2025-03-09 16:30:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643418', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 16:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 16:30:09] Production.INFO: ProcessCDR(1,14643418,1,1,2) [2025-03-09 16:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14643418,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14643418,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:30:09] Production.INFO: ==5145== Releasing lock... [2025-03-09 16:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 16:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 16:30:14] Production.ERROR: CronJobId end10 [2025-03-09 16:30:14] Production.INFO: ==5139== Releasing lock... [2025-03-09 16:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:30:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:30:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:30:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:30:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:30:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:30:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:30:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:30:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:30:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:30:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:30:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:30:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:30:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:30:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:30:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:30:16] Production.INFO: call_cost start [2025-03-09 16:30:16] Production.INFO: call_cost end [2025-03-09 16:30:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:30:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:30:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:30:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:30:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:30:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:30:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:30:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:30:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:30:17] Production.INFO: ==5135== Releasing lock... [2025-03-09 16:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:30:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:30:18] Production.INFO: count ==997 [2025-03-09 16:30:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:30:06 - End Time 2025-03-09 16:30:06 [2025-03-09 16:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643419', 'tblTempUsageDetail_20' ) start [2025-03-09 16:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643419', 'tblTempUsageDetail_20' ) end [2025-03-09 16:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643419', 'tblTempVendorCDR_20' ) start [2025-03-09 16:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643419', 'tblTempVendorCDR_20' ) end [2025-03-09 16:30:18] Production.INFO: ProcessCDR(1,14643419,1,1,2) [2025-03-09 16:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643419', 'tblTempUsageDetail_20' ) start [2025-03-09 16:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643419', 'tblTempUsageDetail_20' ) end [2025-03-09 16:30:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:30:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:30:23] Production.INFO: ==5143== Releasing lock... [2025-03-09 16:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:30:23] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 20:31:01] Production.INFO: ==5203== Lock acquired, processing the job... [2025-03-09 20:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:31:01] Production.INFO: neon service started [2025-03-09 20:31:01] Production.INFO: neon service started [2025-03-09 20:31:01] Production.INFO: ==5203== Releasing lock... [2025-03-09 20:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:31:01] Production.INFO: ==5205== Lock acquired, processing the job... [2025-03-09 16:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 20:31:02] Production.INFO: ==5207== Lock acquired, processing the job... [2025-03-09 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:31:02] Production.INFO: ==5207== Releasing lock... [2025-03-09 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:31:02] Production.INFO: ==5205== Releasing lock... [2025-03-09 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:31:03] Production.INFO: ==5215== Lock acquired, processing the job... [2025-03-09 16:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:31:03] Production.INFO: ==5209== Lock acquired, processing the job... [2025-03-09 16:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:31:03] Production.INFO: ==5219== Lock acquired, processing the job... [2025-03-09 16:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:31:03] Production.INFO: Account Balance Start. [2025-03-09 16:31:03] Production.INFO: CreateAllLog Start [2025-03-09 16:31:03] Production.INFO: 117 [2025-03-09 16:31:03] Production.INFO: ==5211== Lock acquired, processing the job... [2025-03-09 16:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:31:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:31:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:31:03] Production.INFO: ==5213== Lock acquired, processing the job... [2025-03-09 16:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:31:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:31:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:31:03] Production.INFO: Total Charge 0 [2025-03-09 16:31:03] Production.INFO: CreateAllLog End [2025-03-09 16:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:31:03] Production.INFO: count ==13 [2025-03-09 16:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:31:03] Production.INFO: ==5217== Lock acquired, processing the job... [2025-03-09 16:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:31:03] Production.INFO: Account Balance End. [2025-03-09 16:31:03] Production.INFO: count ==21 [2025-03-09 16:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643422') start [2025-03-09 16:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:31:03] Production.INFO: ==5211== Releasing lock... [2025-03-09 16:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:31:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:31:03] Production.ERROR: CronJobId end 12 [2025-03-09 16:31:03] Production.INFO: ==5215== Releasing lock... [2025-03-09 16:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:31:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643422') end [2025-03-09 16:31:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:31:03] Production.INFO: 1 [2025-03-09 16:31:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:31:03] Production.INFO: ==5219== Releasing lock... [2025-03-09 16:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:31:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:31:04] Production.ERROR: done [2025-03-09 16:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:31:04] Production.ERROR: done [2025-03-09 16:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:31:05 [end_date_ymd] => 2025-03-09 16:31:05 [RateCDR] => 1 ) [2025-03-09 16:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:31:05' and `end` < '2025-03-09 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-09 16:31:12] Production.ERROR: CronJobId end10 [2025-03-09 16:31:12] Production.INFO: ==5213== Releasing lock... [2025-03-09 16:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:31:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:31:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:31:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:31:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:31:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:31:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:31:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:31:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:31:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:31:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:31:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:31:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:31:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:31:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:31:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:31:14] Production.INFO: call_cost start [2025-03-09 16:31:14] Production.INFO: call_cost end [2025-03-09 16:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:31:15] Production.INFO: ==5209== Releasing lock... [2025-03-09 16:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:31:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:31:17] Production.INFO: count ==961 [2025-03-09 16:31:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:31:05 - End Time 2025-03-09 16:31:05 [2025-03-09 16:31:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643424', 'tblTempUsageDetail_20' ) start [2025-03-09 16:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643424', 'tblTempUsageDetail_20' ) end [2025-03-09 16:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643424', 'tblTempVendorCDR_20' ) start [2025-03-09 16:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643424', 'tblTempVendorCDR_20' ) end [2025-03-09 16:31:17] Production.INFO: ProcessCDR(1,14643424,1,1,2) [2025-03-09 16:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643424', 'tblTempUsageDetail_20' ) start [2025-03-09 16:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643424', 'tblTempUsageDetail_20' ) end [2025-03-09 16:31:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:31:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:31:22] Production.INFO: ==5217== Releasing lock... [2025-03-09 16:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:31:22] Production.INFO: 36 MB #Memory Used# [2025-03-09 20:32:01] Production.INFO: ==5280== Lock acquired, processing the job... [2025-03-09 20:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:32:01] Production.INFO: neon service started [2025-03-09 20:32:01] Production.INFO: neon service started [2025-03-09 20:32:01] Production.INFO: ==5280== Releasing lock... [2025-03-09 20:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 20:32:02] Production.INFO: ==5284== Lock acquired, processing the job... [2025-03-09 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:32:02] Production.INFO: ==5284== Releasing lock... [2025-03-09 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:32:02] Production.INFO: ==5282== Lock acquired, processing the job... [2025-03-09 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:32:02] Production.INFO: ==5282== Releasing lock... [2025-03-09 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:32:03] Production.INFO: ==5287== Lock acquired, processing the job... [2025-03-09 16:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:32:03] Production.INFO: ==5291== Lock acquired, processing the job... [2025-03-09 16:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:32:03] Production.INFO: ==5289== Lock acquired, processing the job... [2025-03-09 16:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:32:03] Production.INFO: ==5293== Lock acquired, processing the job... [2025-03-09 16:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:32:03] Production.INFO: ==5297== Lock acquired, processing the job... [2025-03-09 16:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:32:03] Production.INFO: ==5289== Releasing lock... [2025-03-09 16:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:32:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:32:03] Production.INFO: ==5295== Lock acquired, processing the job... [2025-03-09 16:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:32:03] Production.INFO: Account Balance Start. [2025-03-09 16:32:03] Production.INFO: CreateAllLog Start [2025-03-09 16:32:03] Production.INFO: 117 [2025-03-09 16:32:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:32:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:32:03] Production.INFO: count ==13 [2025-03-09 16:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:32:03] Production.INFO: count ==21 [2025-03-09 16:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643428') start [2025-03-09 16:32:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:32:04] Production.INFO: Total Charge 0 [2025-03-09 16:32:04] Production.INFO: CreateAllLog End [2025-03-09 16:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643428') end [2025-03-09 16:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:32:04] Production.INFO: 1 [2025-03-09 16:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:32:04] Production.INFO: ==5297== Releasing lock... [2025-03-09 16:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:32:04] Production.ERROR: done [2025-03-09 16:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:32:04] Production.INFO: Account Balance End. [2025-03-09 16:32:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:32:04] Production.INFO: ==5293== Releasing lock... [2025-03-09 16:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:32:04] Production.ERROR: done [2025-03-09 16:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:32:05 [end_date_ymd] => 2025-03-09 16:32:05 [RateCDR] => 1 ) [2025-03-09 16:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:32:05' and `end` < '2025-03-09 16:32:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:32:13] Production.ERROR: CronJobId end10 [2025-03-09 16:32:13] Production.INFO: ==5291== Releasing lock... [2025-03-09 16:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:32:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:32:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:32:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:32:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:32:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:32:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:32:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:32:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:32:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:32:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:32:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:32:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:32:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:32:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:32:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:32:15] Production.INFO: call_cost start [2025-03-09 16:32:15] Production.INFO: call_cost end [2025-03-09 16:32:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:32:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:32:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:32:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:32:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:32:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:32:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:32:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:32:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:32:15] Production.INFO: ==5287== Releasing lock... [2025-03-09 16:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:32:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:32:17] Production.INFO: count ==954 [2025-03-09 16:32:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:32:05 - End Time 2025-03-09 16:32:05 [2025-03-09 16:32:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643429', 'tblTempUsageDetail_20' ) start [2025-03-09 16:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643429', 'tblTempUsageDetail_20' ) end [2025-03-09 16:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643429', 'tblTempVendorCDR_20' ) start [2025-03-09 16:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643429', 'tblTempVendorCDR_20' ) end [2025-03-09 16:32:18] Production.INFO: ProcessCDR(1,14643429,1,1,2) [2025-03-09 16:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643429', 'tblTempUsageDetail_20' ) start [2025-03-09 16:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643429', 'tblTempUsageDetail_20' ) end [2025-03-09 16:32:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:32:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:32:23] Production.INFO: ==5295== Releasing lock... [2025-03-09 16:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:32:23] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 20:33:02] Production.INFO: ==5354== Lock acquired, processing the job... [2025-03-09 20:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:33:02] Production.INFO: neon service started [2025-03-09 20:33:02] Production.INFO: neon service started [2025-03-09 20:33:02] Production.INFO: ==5354== Releasing lock... [2025-03-09 20:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:33:02] Production.INFO: ==5356== Lock acquired, processing the job... [2025-03-09 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:33:02] Production.INFO: ==5356== Releasing lock... [2025-03-09 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:33:03] Production.INFO: ==5358== Lock acquired, processing the job... [2025-03-09 20:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:33:03] Production.INFO: ==5358== Releasing lock... [2025-03-09 20:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:33:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:33:03] Production.INFO: ==5360== Lock acquired, processing the job... [2025-03-09 16:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:33:03] Production.INFO: ==5362== Lock acquired, processing the job... [2025-03-09 16:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:33:03] Production.INFO: ==5366== Lock acquired, processing the job... [2025-03-09 16:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:33:03] Production.INFO: ==5368== Lock acquired, processing the job... [2025-03-09 16:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:33:04] Production.INFO: Account Balance Start. [2025-03-09 16:33:04] Production.INFO: CreateAllLog Start [2025-03-09 16:33:04] Production.INFO: 117 [2025-03-09 16:33:04] Production.INFO: ==5364== Lock acquired, processing the job... [2025-03-09 16:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:33:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:33:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:33:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:33:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:33:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:33:04] Production.INFO: ==5370== Lock acquired, processing the job... [2025-03-09 16:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:33:04] Production.INFO: Total Charge 0 [2025-03-09 16:33:04] Production.INFO: CreateAllLog End [2025-03-09 16:33:04] Production.INFO: ==5362== Releasing lock... [2025-03-09 16:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:33:04] Production.INFO: count ==13 [2025-03-09 16:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:33:04] Production.INFO: count ==21 [2025-03-09 16:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643433') start [2025-03-09 16:33:04] Production.INFO: Account Balance End. [2025-03-09 16:33:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:33:04] Production.INFO: ==5366== Releasing lock... [2025-03-09 16:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:33:04] Production.ERROR: done [2025-03-09 16:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643433') end [2025-03-09 16:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:33:04] Production.INFO: 1 [2025-03-09 16:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:33:04] Production.INFO: ==5370== Releasing lock... [2025-03-09 16:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:33:04] Production.ERROR: done [2025-03-09 16:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:33:05 [end_date_ymd] => 2025-03-09 16:33:05 [RateCDR] => 1 ) [2025-03-09 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-09 13:33:05' and `end` < '2025-03-09 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-09 16:33:13] Production.ERROR: CronJobId end10 [2025-03-09 16:33:13] Production.INFO: ==5364== Releasing lock... [2025-03-09 16:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:33:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:33:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:33:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:33:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:33:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:33:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:33:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:33:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:33:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:33:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:33:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:33:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:33:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:33:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:33:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:33:14] Production.INFO: call_cost start [2025-03-09 16:33:14] Production.INFO: call_cost end [2025-03-09 16:33:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:33:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:33:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:33:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:33:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:33:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:33:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:33:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:33:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:33:15] Production.INFO: ==5360== Releasing lock... [2025-03-09 16:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:33:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:33:17] Production.INFO: count ==955 [2025-03-09 16:33:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:33:05 - End Time 2025-03-09 16:33:05 [2025-03-09 16:33:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643434', 'tblTempUsageDetail_20' ) start [2025-03-09 16:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643434', 'tblTempUsageDetail_20' ) end [2025-03-09 16:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643434', 'tblTempVendorCDR_20' ) start [2025-03-09 16:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643434', 'tblTempVendorCDR_20' ) end [2025-03-09 16:33:17] Production.INFO: ProcessCDR(1,14643434,1,1,2) [2025-03-09 16:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643434', 'tblTempUsageDetail_20' ) start [2025-03-09 16:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643434', 'tblTempUsageDetail_20' ) end [2025-03-09 16:33:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:33:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:33:22] Production.INFO: ==5368== Releasing lock... [2025-03-09 16:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:33:22] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 20:34:01] Production.INFO: ==5425== Lock acquired, processing the job... [2025-03-09 20:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:34:01] Production.INFO: neon service started [2025-03-09 20:34:01] Production.INFO: neon service started [2025-03-09 20:34:01] Production.INFO: ==5425== Releasing lock... [2025-03-09 20:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:34:02] Production.INFO: ==5427== Lock acquired, processing the job... [2025-03-09 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 20:34:02] Production.INFO: ==5429== Lock acquired, processing the job... [2025-03-09 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:34:02] Production.INFO: ==5427== Releasing lock... [2025-03-09 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:34:02] Production.INFO: ==5429== Releasing lock... [2025-03-09 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:34:03] Production.INFO: ==5438== Lock acquired, processing the job... [2025-03-09 16:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:34:03] Production.INFO: Account Balance Start. [2025-03-09 16:34:03] Production.INFO: CreateAllLog Start [2025-03-09 16:34:03] Production.INFO: 117 [2025-03-09 16:34:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:34:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:34:03] Production.INFO: ==5442== Lock acquired, processing the job... [2025-03-09 16:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:34:03] Production.INFO: ==5432== Lock acquired, processing the job... [2025-03-09 16:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:34:03] Production.INFO: ==5434== Lock acquired, processing the job... [2025-03-09 16:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:34:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:34:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:34:03] Production.INFO: ==5436== Lock acquired, processing the job... [2025-03-09 16:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:34:03] Production.INFO: Total Charge 0 [2025-03-09 16:34:03] Production.INFO: CreateAllLog End [2025-03-09 16:34:03] Production.INFO: ==5440== Lock acquired, processing the job... [2025-03-09 16:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:34:03] Production.INFO: count ==13 [2025-03-09 16:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:34:03] Production.INFO: count ==21 [2025-03-09 16:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643437') start [2025-03-09 16:34:03] Production.INFO: ==5434== Releasing lock... [2025-03-09 16:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:34:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:34:03] Production.INFO: Account Balance End. [2025-03-09 16:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643437') end [2025-03-09 16:34:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:34:03] Production.INFO: 1 [2025-03-09 16:34:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:34:03] Production.ERROR: CronJobId end 12 [2025-03-09 16:34:03] Production.INFO: ==5438== Releasing lock... [2025-03-09 16:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:34:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:34:04] Production.INFO: ==5442== Releasing lock... [2025-03-09 16:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:34:04] Production.ERROR: done [2025-03-09 16:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:34:04] Production.ERROR: done [2025-03-09 16:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:34:05 [end_date_ymd] => 2025-03-09 16:34:05 [RateCDR] => 1 ) [2025-03-09 16:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:34:05' and `end` < '2025-03-09 16:34:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:34:11] Production.ERROR: CronJobId end10 [2025-03-09 16:34:11] Production.INFO: ==5436== Releasing lock... [2025-03-09 16:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:34:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:34:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:34:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:34:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:34:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:34:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:34:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:34:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:34:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:34:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:34:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:34:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:34:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:34:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:34:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:34:14] Production.INFO: call_cost start [2025-03-09 16:34:14] Production.INFO: call_cost end [2025-03-09 16:34:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:34:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:34:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:34:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:34:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:34:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:34:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:34:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:34:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:34:15] Production.INFO: ==5432== Releasing lock... [2025-03-09 16:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:34:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:34:17] Production.INFO: count ==956 [2025-03-09 16:34:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:34:05 - End Time 2025-03-09 16:34:05 [2025-03-09 16:34:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643439', 'tblTempUsageDetail_20' ) start [2025-03-09 16:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643439', 'tblTempUsageDetail_20' ) end [2025-03-09 16:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643439', 'tblTempVendorCDR_20' ) start [2025-03-09 16:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643439', 'tblTempVendorCDR_20' ) end [2025-03-09 16:34:17] Production.INFO: ProcessCDR(1,14643439,1,1,2) [2025-03-09 16:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643439', 'tblTempUsageDetail_20' ) start [2025-03-09 16:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643439', 'tblTempUsageDetail_20' ) end [2025-03-09 16:34:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:34:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:34:21] Production.INFO: ==5440== Releasing lock... [2025-03-09 16:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:34:21] Production.INFO: 36 MB #Memory Used# [2025-03-09 20:35:02] Production.INFO: ==5494== Lock acquired, processing the job... [2025-03-09 20:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:35:02] Production.INFO: neon service started [2025-03-09 20:35:02] Production.INFO: neon service started [2025-03-09 20:35:02] Production.INFO: ==5494== Releasing lock... [2025-03-09 20:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 20:35:02] Production.INFO: ==5498== Lock acquired, processing the job... [2025-03-09 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:35:02] Production.INFO: ==5498== Releasing lock... [2025-03-09 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:35:02] Production.INFO: ==5496== Lock acquired, processing the job... [2025-03-09 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:35:03] Production.INFO: ==5496== Releasing lock... [2025-03-09 16:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:35:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:35:03] Production.INFO: ==5501== Lock acquired, processing the job... [2025-03-09 16:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:35:04] Production.INFO: ==5511== Lock acquired, processing the job... [2025-03-09 16:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:35:04] Production.INFO: ==5505== Lock acquired, processing the job... [2025-03-09 16:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:35:04] Production.INFO: ==5509== Lock acquired, processing the job... [2025-03-09 16:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:35:04] Production.INFO: ==5503== Lock acquired, processing the job... [2025-03-09 16:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:35:04] Production.INFO: ==5507== Lock acquired, processing the job... [2025-03-09 16:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:35:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 16:35:04] Production.INFO: Account Balance Start. [2025-03-09 16:35:04] Production.INFO: CreateAllLog Start [2025-03-09 16:35:04] Production.INFO: 117 [2025-03-09 16:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:35:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:35:04] Production.INFO: count ==13 [2025-03-09 16:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 16:35:04] Production.INFO: count ==21 [2025-03-09 16:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643441') start [2025-03-09 16:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643441') end [2025-03-09 16:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:35:04] Production.INFO: 1 [2025-03-09 16:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:35:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:35:04] Production.INFO: Total Charge 0 [2025-03-09 16:35:04] Production.INFO: CreateAllLog End [2025-03-09 16:35:04] Production.INFO: ==5511== Releasing lock... [2025-03-09 16:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:35:04] Production.INFO: ==5503== Releasing lock... [2025-03-09 16:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:35:04] Production.ERROR: done [2025-03-09 16:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:35:04] Production.INFO: Account Balance End. [2025-03-09 16:35:05] Production.ERROR: CronJobId end 12 [2025-03-09 16:35:05] Production.INFO: ==5507== Releasing lock... [2025-03-09 16:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:35:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:35:05] Production.ERROR: done [2025-03-09 16:35:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:35:06 [end_date_ymd] => 2025-03-09 16:35:06 [RateCDR] => 1 ) [2025-03-09 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-09 13:35:06' and `end` < '2025-03-09 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-09 16:35:13] Production.ERROR: CronJobId end10 [2025-03-09 16:35:13] Production.INFO: ==5505== Releasing lock... [2025-03-09 16:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:35:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:35:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:35:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:35:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:35:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:35:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:35:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:35:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:35:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:35:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:35:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:35:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:35:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:35:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:35:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:35:14] Production.INFO: call_cost start [2025-03-09 16:35:14] Production.INFO: call_cost end [2025-03-09 16:35:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:35:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:35:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:35:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:35:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:35:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:35:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:35:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:35:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:35:15] Production.INFO: ==5501== Releasing lock... [2025-03-09 16:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:35:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:35:18] Production.INFO: count ==959 [2025-03-09 16:35:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:35:06 - End Time 2025-03-09 16:35:06 [2025-03-09 16:35:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643444', 'tblTempUsageDetail_20' ) start [2025-03-09 16:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643444', 'tblTempUsageDetail_20' ) end [2025-03-09 16:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643444', 'tblTempVendorCDR_20' ) start [2025-03-09 16:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643444', 'tblTempVendorCDR_20' ) end [2025-03-09 16:35:18] Production.INFO: ProcessCDR(1,14643444,1,1,2) [2025-03-09 16:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643444', 'tblTempUsageDetail_20' ) start [2025-03-09 16:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643444', 'tblTempUsageDetail_20' ) end [2025-03-09 16:35:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:35:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:35:23] Production.INFO: ==5509== Releasing lock... [2025-03-09 16:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:35:23] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 20:36:01] Production.INFO: ==5569== Lock acquired, processing the job... [2025-03-09 20:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:36:01] Production.INFO: neon service started [2025-03-09 20:36:01] Production.INFO: neon service started [2025-03-09 20:36:01] Production.INFO: ==5569== Releasing lock... [2025-03-09 20:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:36:02] Production.INFO: ==5572== Lock acquired, processing the job... [2025-03-09 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 20:36:02] Production.INFO: ==5574== Lock acquired, processing the job... [2025-03-09 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:36:02] Production.INFO: ==5572== Releasing lock... [2025-03-09 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:36:02] Production.INFO: ==5574== Releasing lock... [2025-03-09 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:36:03] Production.INFO: ==5584== Lock acquired, processing the job... [2025-03-09 16:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:36:03] Production.INFO: ==5586== Lock acquired, processing the job... [2025-03-09 16:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:36:03] Production.INFO: ==5576== Lock acquired, processing the job... [2025-03-09 16:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:36:03] Production.INFO: ==5578== Lock acquired, processing the job... [2025-03-09 16:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:36:03] Production.INFO: count ==13 [2025-03-09 16:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:36:03] Production.INFO: count ==21 [2025-03-09 16:36:03] Production.INFO: ==5580== Lock acquired, processing the job... [2025-03-09 16:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643445') start [2025-03-09 16:36:03] Production.INFO: ==5582== Lock acquired, processing the job... [2025-03-09 16:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:36:03] Production.ERROR: done [2025-03-09 16:36:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:36:03] Production.INFO: Account Balance Start. [2025-03-09 16:36:03] Production.INFO: CreateAllLog Start [2025-03-09 16:36:03] Production.INFO: 117 [2025-03-09 16:36:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:36:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643445') end [2025-03-09 16:36:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:36:03] Production.INFO: 1 [2025-03-09 16:36:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:36:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:36:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:36:03] Production.INFO: Total Charge 0 [2025-03-09 16:36:03] Production.INFO: CreateAllLog End [2025-03-09 16:36:03] Production.INFO: ==5586== Releasing lock... [2025-03-09 16:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:36:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:36:03] Production.ERROR: done [2025-03-09 16:36:03] Production.INFO: Account Balance End. [2025-03-09 16:36:03] Production.INFO: ==5578== Releasing lock... [2025-03-09 16:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:36:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:36:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:36:04] Production.INFO: ==5582== Releasing lock... [2025-03-09 16:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:36:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:36:04 [end_date_ymd] => 2025-03-09 16:36:04 [RateCDR] => 1 ) [2025-03-09 16: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-09 13:36:04' and `end` < '2025-03-09 16: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-09 16:36:11] Production.ERROR: CronJobId end10 [2025-03-09 16:36:11] Production.INFO: ==5580== Releasing lock... [2025-03-09 16:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:36:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:36:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:36:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:36:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:36:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:36:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:36:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:36:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:36:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:36:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:36:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:36:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:36:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:36:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:36:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:36:13] Production.INFO: call_cost start [2025-03-09 16:36:13] Production.INFO: call_cost end [2025-03-09 16:36:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:36:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:36:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:36:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:36:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:36:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:36:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:36:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:36:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:36:14] Production.INFO: ==5576== Releasing lock... [2025-03-09 16:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:36:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:36:16] Production.INFO: count ==959 [2025-03-09 16:36:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:36:04 - End Time 2025-03-09 16:36:04 [2025-03-09 16:36:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643449', 'tblTempUsageDetail_20' ) start [2025-03-09 16:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643449', 'tblTempUsageDetail_20' ) end [2025-03-09 16:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643449', 'tblTempVendorCDR_20' ) start [2025-03-09 16:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643449', 'tblTempVendorCDR_20' ) end [2025-03-09 16:36:17] Production.INFO: ProcessCDR(1,14643449,1,1,2) [2025-03-09 16:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643449', 'tblTempUsageDetail_20' ) start [2025-03-09 16:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643449', 'tblTempUsageDetail_20' ) end [2025-03-09 16:36:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:36:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:36:22] Production.INFO: ==5584== Releasing lock... [2025-03-09 16:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:36:22] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 20:37:02] Production.INFO: ==5641== Lock acquired, processing the job... [2025-03-09 20:37:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:37:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:37:02] Production.INFO: neon service started [2025-03-09 20:37:02] Production.INFO: neon service started [2025-03-09 20:37:02] Production.INFO: ==5641== Releasing lock... [2025-03-09 20:37:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:37:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:37:02] Production.INFO: ==5644== Lock acquired, processing the job... [2025-03-09 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:37:02] Production.INFO: ==5644== Releasing lock... [2025-03-09 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:37:02] Production.INFO: ==5646== Lock acquired, processing the job... [2025-03-09 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:37:02] Production.INFO: ==5646== Releasing lock... [2025-03-09 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:37:03] Production.INFO: ==5648== Lock acquired, processing the job... [2025-03-09 16:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:37:03] Production.INFO: ==5650== Lock acquired, processing the job... [2025-03-09 16:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:37:03] Production.INFO: ==5652== Lock acquired, processing the job... [2025-03-09 16:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:37:03] Production.INFO: ==5654== Lock acquired, processing the job... [2025-03-09 16:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:37:04] Production.INFO: ==5650== Releasing lock... [2025-03-09 16:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:37:04] Production.INFO: ==5658== Lock acquired, processing the job... [2025-03-09 16:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:37:04] Production.INFO: ==5656== Lock acquired, processing the job... [2025-03-09 16:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:37:04] Production.INFO: Account Balance Start. [2025-03-09 16:37:04] Production.INFO: CreateAllLog Start [2025-03-09 16:37:04] Production.INFO: 117 [2025-03-09 16:37:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:37:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:37:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:37:04] Production.INFO: Total Charge 0 [2025-03-09 16:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:37:04] Production.INFO: CreateAllLog End [2025-03-09 16:37:04] Production.INFO: count ==13 [2025-03-09 16:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:37:04] Production.INFO: count ==21 [2025-03-09 16:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643453') start [2025-03-09 16:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643453') end [2025-03-09 16:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:37:04] Production.INFO: 1 [2025-03-09 16:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:37:04] Production.ERROR: done [2025-03-09 16:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:37:04] Production.INFO: ==5658== Releasing lock... [2025-03-09 16:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:37:04] Production.ERROR: done [2025-03-09 16:37:04] Production.INFO: Account Balance End. [2025-03-09 16:37:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:37:04] Production.INFO: ==5654== Releasing lock... [2025-03-09 16:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:37:05 [end_date_ymd] => 2025-03-09 16:37:05 [RateCDR] => 1 ) [2025-03-09 16:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:37:05' and `end` < '2025-03-09 16:37:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:37:12] Production.ERROR: CronJobId end10 [2025-03-09 16:37:12] Production.INFO: ==5652== Releasing lock... [2025-03-09 16:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:37:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:37:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:37:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:37:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:37:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:37:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:37:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:37:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:37:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:37:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:37:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:37:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:37:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:37:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:37:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:37:14] Production.INFO: call_cost start [2025-03-09 16:37:14] Production.INFO: call_cost end [2025-03-09 16:37:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:37:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:37:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:37:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:37:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:37:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:37:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:37:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:37:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:37:15] Production.INFO: ==5648== Releasing lock... [2025-03-09 16:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:37:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:37:17] Production.INFO: count ==960 [2025-03-09 16:37:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:37:05 - End Time 2025-03-09 16:37:05 [2025-03-09 16:37:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643454', 'tblTempUsageDetail_20' ) start [2025-03-09 16:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643454', 'tblTempUsageDetail_20' ) end [2025-03-09 16:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643454', 'tblTempVendorCDR_20' ) start [2025-03-09 16:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643454', 'tblTempVendorCDR_20' ) end [2025-03-09 16:37:18] Production.INFO: ProcessCDR(1,14643454,1,1,2) [2025-03-09 16:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643454', 'tblTempUsageDetail_20' ) start [2025-03-09 16:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643454', 'tblTempUsageDetail_20' ) end [2025-03-09 16:37:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:37:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:37:23] Production.INFO: ==5656== Releasing lock... [2025-03-09 16:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:37:23] Production.INFO: 36 MB #Memory Used# [2025-03-09 20:38:01] Production.INFO: ==5712== Lock acquired, processing the job... [2025-03-09 20:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:38:01] Production.INFO: neon service started [2025-03-09 20:38:01] Production.INFO: neon service started [2025-03-09 20:38:01] Production.INFO: ==5712== Releasing lock... [2025-03-09 20:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:38:01] Production.INFO: ==5715== Lock acquired, processing the job... [2025-03-09 16:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:38:02] Production.INFO: ==5715== Releasing lock... [2025-03-09 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:38:02] Production.INFO: ==5717== Lock acquired, processing the job... [2025-03-09 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:38:02] Production.INFO: ==5717== Releasing lock... [2025-03-09 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:38:03] Production.INFO: ==5725== Lock acquired, processing the job... [2025-03-09 16:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:38:03] Production.INFO: ==5719== Lock acquired, processing the job... [2025-03-09 16:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:38:03] Production.INFO: ==5729== Lock acquired, processing the job... [2025-03-09 16:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:38:03] Production.INFO: ==5721== Lock acquired, processing the job... [2025-03-09 16:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:38:03] Production.INFO: Account Balance Start. [2025-03-09 16:38:03] Production.INFO: CreateAllLog Start [2025-03-09 16:38:03] Production.INFO: 117 [2025-03-09 16:38:03] Production.INFO: ==5723== Lock acquired, processing the job... [2025-03-09 16:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:38:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:38:03] Production.INFO: ==5727== Lock acquired, processing the job... [2025-03-09 16:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 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-09 16:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:38:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:38:03] Production.INFO: count ==13 [2025-03-09 16:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:38:03] Production.INFO: Total Charge 0 [2025-03-09 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-09 16:38:03] Production.INFO: count ==21 [2025-03-09 16:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643456') start [2025-03-09 16:38:03] Production.INFO: CreateAllLog End [2025-03-09 16:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643456') end [2025-03-09 16:38:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:38:03] Production.INFO: 1 [2025-03-09 16:38:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:38:04] Production.INFO: ==5729== Releasing lock... [2025-03-09 16:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:38:04] Production.ERROR: done [2025-03-09 16:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:38:04] Production.INFO: ==5721== Releasing lock... [2025-03-09 16:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:38:04] Production.INFO: Account Balance End. [2025-03-09 16:38:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:38:04] Production.INFO: ==5725== Releasing lock... [2025-03-09 16:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:38:04] Production.ERROR: done [2025-03-09 16:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:38:05 [end_date_ymd] => 2025-03-09 16:38:05 [RateCDR] => 1 ) [2025-03-09 16:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:38:05' and `end` < '2025-03-09 16:38:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:38:12] Production.ERROR: CronJobId end10 [2025-03-09 16:38:12] Production.INFO: ==5723== Releasing lock... [2025-03-09 16:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:38:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:38:14] Production.INFO: call_cost start [2025-03-09 16:38:14] Production.INFO: call_cost end [2025-03-09 16:38:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:38:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:38:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:38:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:38:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:38:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:38:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:38:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:38:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:38:15] Production.INFO: ==5719== Releasing lock... [2025-03-09 16:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:38:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:38:17] Production.INFO: count ==957 [2025-03-09 16:38:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:38:05 - End Time 2025-03-09 16:38:05 [2025-03-09 16:38:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643459', 'tblTempUsageDetail_20' ) start [2025-03-09 16:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643459', 'tblTempUsageDetail_20' ) end [2025-03-09 16:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643459', 'tblTempVendorCDR_20' ) start [2025-03-09 16:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643459', 'tblTempVendorCDR_20' ) end [2025-03-09 16:38:17] Production.INFO: ProcessCDR(1,14643459,1,1,2) [2025-03-09 16:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643459', 'tblTempUsageDetail_20' ) start [2025-03-09 16:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643459', 'tblTempUsageDetail_20' ) end [2025-03-09 16:38:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:38:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:38:21] Production.INFO: ==5727== Releasing lock... [2025-03-09 16:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:38:21] Production.INFO: 36 MB #Memory Used# [2025-03-09 20:39:02] Production.INFO: ==5821== Lock acquired, processing the job... [2025-03-09 20:39:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:39:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:39:02] Production.INFO: neon service started [2025-03-09 20:39:02] Production.INFO: neon service started [2025-03-09 20:39:02] Production.INFO: ==5821== Releasing lock... [2025-03-09 20:39:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:39:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:39:02] Production.INFO: ==5823== Lock acquired, processing the job... [2025-03-09 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 20:39:02] Production.INFO: ==5825== Lock acquired, processing the job... [2025-03-09 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:39:02] Production.INFO: ==5825== Releasing lock... [2025-03-09 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:39:02] Production.INFO: ==5823== Releasing lock... [2025-03-09 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:39:03] Production.INFO: ==5828== Lock acquired, processing the job... [2025-03-09 16:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:39:03] Production.INFO: ==5830== Lock acquired, processing the job... [2025-03-09 16:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:39:03] Production.INFO: ==5836== Lock acquired, processing the job... [2025-03-09 16:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:39:03] Production.INFO: ==5832== Lock acquired, processing the job... [2025-03-09 16:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:39:03] Production.INFO: ==5834== Lock acquired, processing the job... [2025-03-09 16:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:39:03] Production.INFO: ==5830== Releasing lock... [2025-03-09 16:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:39:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:39:03] Production.INFO: ==5838== Lock acquired, processing the job... [2025-03-09 16:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:39:04] Production.INFO: Account Balance Start. [2025-03-09 16:39:04] Production.INFO: CreateAllLog Start [2025-03-09 16:39:04] Production.INFO: 117 [2025-03-09 16:39:04] Production.INFO: Date 2025-03-08 [2025-03-09 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-09 16:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:39:04] Production.INFO: count ==13 [2025-03-09 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-09 16:39:04] Production.INFO: count ==21 [2025-03-09 16:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643463') start [2025-03-09 16:39:04] Production.ERROR: done [2025-03-09 16:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:39:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:39:04] Production.INFO: Total Charge 0 [2025-03-09 16:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643463') end [2025-03-09 16:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:39:04] Production.INFO: 1 [2025-03-09 16:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:39:04] Production.INFO: CreateAllLog End [2025-03-09 16:39:04] Production.ERROR: done [2025-03-09 16:39:04] Production.INFO: ==5838== Releasing lock... [2025-03-09 16:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:39:04] Production.INFO: Account Balance End. [2025-03-09 16:39:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:39:04] Production.INFO: ==5834== Releasing lock... [2025-03-09 16:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:39:05 [end_date_ymd] => 2025-03-09 16:39:05 [RateCDR] => 1 ) [2025-03-09 16:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:39:05' and `end` < '2025-03-09 16:39:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:39:12] Production.ERROR: CronJobId end10 [2025-03-09 16:39:12] Production.INFO: ==5832== Releasing lock... [2025-03-09 16:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:39:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:39:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:39:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:39:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:39:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:39:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:39:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:39:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:39:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:39:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:39:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:39:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:39:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:39:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:39:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:39:14] Production.INFO: call_cost start [2025-03-09 16:39:14] Production.INFO: call_cost end [2025-03-09 16:39:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:39:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:39:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:39:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:39:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:39:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:39:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:39:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:39:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:39:15] Production.INFO: ==5828== Releasing lock... [2025-03-09 16:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:39:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:39:17] Production.INFO: count ==953 [2025-03-09 16:39:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:39:05 - End Time 2025-03-09 16:39:05 [2025-03-09 16:39:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643464', 'tblTempUsageDetail_20' ) start [2025-03-09 16:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643464', 'tblTempUsageDetail_20' ) end [2025-03-09 16:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643464', 'tblTempVendorCDR_20' ) start [2025-03-09 16:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643464', 'tblTempVendorCDR_20' ) end [2025-03-09 16:39:17] Production.INFO: ProcessCDR(1,14643464,1,1,2) [2025-03-09 16:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643464', 'tblTempUsageDetail_20' ) start [2025-03-09 16:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643464', 'tblTempUsageDetail_20' ) end [2025-03-09 16:39:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:39:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:39:20] Production.INFO: ==5836== Releasing lock... [2025-03-09 16:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:39:20] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 20:40:01] Production.INFO: ==5894== Lock acquired, processing the job... [2025-03-09 20:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:40:01] Production.INFO: neon service started [2025-03-09 20:40:01] Production.INFO: neon service started [2025-03-09 20:40:01] Production.INFO: ==5894== Releasing lock... [2025-03-09 20:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 20:40:01] Production.INFO: ==5898== Lock acquired, processing the job... [2025-03-09 20:40:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:40:01] Production.INFO: ==5898== Releasing lock... [2025-03-09 20:40:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:40:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:40:02] Production.INFO: ==5896== Lock acquired, processing the job... [2025-03-09 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:40:02] Production.INFO: ==5896== Releasing lock... [2025-03-09 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:40:03] Production.INFO: ==5901== Lock acquired, processing the job... [2025-03-09 16:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 16:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 16:40:03] Production.INFO: ==5903== Lock acquired, processing the job... [2025-03-09 16:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:40:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 16:40:03] Production.INFO: ==5901== Releasing lock... [2025-03-09 16:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 16:40:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 16:40:03] Production.INFO: ==5905== Lock acquired, processing the job... [2025-03-09 16:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:40:03] Production.INFO: ==5911== Lock acquired, processing the job... [2025-03-09 16:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:40:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:40:03] Production.INFO: ==5907== Lock acquired, processing the job... [2025-03-09 16:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:40:04] Production.INFO: ==5909== Lock acquired, processing the job... [2025-03-09 16:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:40:04] Production.INFO: ==5905== Releasing lock... [2025-03-09 16:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:40:04] Production.INFO: ==5913== Lock acquired, processing the job... [2025-03-09 16:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 16:40:04] Production.INFO: ==5915== Lock acquired, processing the job... [2025-03-09 16:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:40:04] Production.INFO: Account Balance Start. [2025-03-09 16:40:04] Production.INFO: CreateAllLog Start [2025-03-09 16:40:04] Production.INFO: 117 [2025-03-09 16:40:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:40:04] Production.ERROR: done [2025-03-09 16:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:40:04] Production.INFO: count ==13 [2025-03-09 16:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:40:04] Production.INFO: count ==21 [2025-03-09 16:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643468') start [2025-03-09 16:40:04] Production.ERROR: done [2025-03-09 16:40:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:40:04] Production.INFO: Total Charge 0 [2025-03-09 16:40:04] Production.INFO: CreateAllLog End [2025-03-09 16:40:04] Production.ERROR: done [2025-03-09 16:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643468') end [2025-03-09 16:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:40:04] Production.INFO: 1 [2025-03-09 16:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:40:04] Production.INFO: ==5915== Releasing lock... [2025-03-09 16:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:40:04] Production.INFO: Account Balance End. [2025-03-09 16:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 16:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643470', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 16:40:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:40:04] Production.INFO: ==5909== Releasing lock... [2025-03-09 16:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:40:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:40:06 [end_date_ymd] => 2025-03-09 16:40:06 [RateCDR] => 1 ) [2025-03-09 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-09 13:40:06' and `end` < '2025-03-09 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-09 16:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643470', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 16:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 16:40:09] Production.INFO: ProcessCDR(1,14643470,1,1,2) [2025-03-09 16:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14643470,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14643470,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:40:09] Production.INFO: ==5913== Releasing lock... [2025-03-09 16:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 16:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 16:40:14] Production.ERROR: CronJobId end10 [2025-03-09 16:40:14] Production.INFO: ==5907== Releasing lock... [2025-03-09 16:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:40:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:40:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:40:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:40:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:40:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:40:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:40:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:40:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:40:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:40:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:40:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:40:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:40:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:40:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:40:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:40:16] Production.INFO: call_cost start [2025-03-09 16:40:16] Production.INFO: call_cost end [2025-03-09 16:40:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:40:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:40:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:40:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:40:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:40:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:40:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:40:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:40:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:40:17] Production.INFO: ==5903== Releasing lock... [2025-03-09 16:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:40:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:40:18] Production.INFO: count ==955 [2025-03-09 16:40:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:40:06 - End Time 2025-03-09 16:40:06 [2025-03-09 16:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643469', 'tblTempUsageDetail_20' ) start [2025-03-09 16:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643469', 'tblTempUsageDetail_20' ) end [2025-03-09 16:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643469', 'tblTempVendorCDR_20' ) start [2025-03-09 16:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643469', 'tblTempVendorCDR_20' ) end [2025-03-09 16:40:18] Production.INFO: ProcessCDR(1,14643469,1,1,2) [2025-03-09 16:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643469', 'tblTempUsageDetail_20' ) start [2025-03-09 16:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643469', 'tblTempUsageDetail_20' ) end [2025-03-09 16:40:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:40:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:40:21] Production.INFO: ==5911== Releasing lock... [2025-03-09 16:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:40:21] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 20:41:01] Production.INFO: ==5974== Lock acquired, processing the job... [2025-03-09 20:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:41:01] Production.INFO: neon service started [2025-03-09 20:41:01] Production.INFO: neon service started [2025-03-09 20:41:01] Production.INFO: ==5974== Releasing lock... [2025-03-09 20:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:41:02] Production.INFO: ==5976== Lock acquired, processing the job... [2025-03-09 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 20:41:02] Production.INFO: ==5978== Lock acquired, processing the job... [2025-03-09 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:41:02] Production.INFO: ==5978== Releasing lock... [2025-03-09 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:41:02] Production.INFO: ==5976== Releasing lock... [2025-03-09 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:41:03] Production.INFO: ==5983== Lock acquired, processing the job... [2025-03-09 16:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:41:03] Production.INFO: ==5987== Lock acquired, processing the job... [2025-03-09 16:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:41:03] Production.INFO: ==5989== Lock acquired, processing the job... [2025-03-09 16:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:41:03] Production.INFO: Account Balance Start. [2025-03-09 16:41:03] Production.INFO: CreateAllLog Start [2025-03-09 16:41:03] Production.INFO: 117 [2025-03-09 16:41:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:41:03] Production.INFO: ==5981== Lock acquired, processing the job... [2025-03-09 16:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:41:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:41:03] Production.INFO: Total Charge 0 [2025-03-09 16:41:03] Production.INFO: CreateAllLog End [2025-03-09 16:41:03] Production.INFO: ==5983== Releasing lock... [2025-03-09 16:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:41:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:41:03] Production.INFO: ==5985== Lock acquired, processing the job... [2025-03-09 16:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:41:03] Production.INFO: ==5991== Lock acquired, processing the job... [2025-03-09 16:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:41:03] Production.INFO: Account Balance End. [2025-03-09 16:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:41:03] Production.ERROR: CronJobId end 12 [2025-03-09 16:41:03] Production.INFO: ==5987== Releasing lock... [2025-03-09 16:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:41:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:41:03] Production.ERROR: done [2025-03-09 16:41:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:41:04] Production.INFO: count ==13 [2025-03-09 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-09 16:41:04] Production.INFO: count ==21 [2025-03-09 16:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643474') start [2025-03-09 16:41:04] Production.ERROR: done [2025-03-09 16:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643474') end [2025-03-09 16:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:41:04] Production.INFO: 1 [2025-03-09 16:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:41:04] Production.INFO: ==5991== Releasing lock... [2025-03-09 16:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:41:05 [end_date_ymd] => 2025-03-09 16:41:05 [RateCDR] => 1 ) [2025-03-09 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-09 13:41:05' and `end` < '2025-03-09 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-09 16:41:12] Production.ERROR: CronJobId end10 [2025-03-09 16:41:12] Production.INFO: ==5985== Releasing lock... [2025-03-09 16:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:41:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:41:15] Production.INFO: call_cost start [2025-03-09 16:41:15] Production.INFO: call_cost end [2025-03-09 16:41:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:41:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:41:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:41:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:41:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:41:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:41:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:41:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:41:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:41:16] Production.INFO: ==5981== Releasing lock... [2025-03-09 16:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:41:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:41:17] Production.INFO: count ==1008 [2025-03-09 16:41:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:41:05 - End Time 2025-03-09 16:41:05 [2025-03-09 16:41:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643475', 'tblTempUsageDetail_20' ) start [2025-03-09 16:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643475', 'tblTempUsageDetail_20' ) end [2025-03-09 16:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643475', 'tblTempVendorCDR_20' ) start [2025-03-09 16:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643475', 'tblTempVendorCDR_20' ) end [2025-03-09 16:41:17] Production.INFO: ProcessCDR(1,14643475,1,1,2) [2025-03-09 16:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643475', 'tblTempUsageDetail_20' ) start [2025-03-09 16:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643475', 'tblTempUsageDetail_20' ) end [2025-03-09 16:41:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:41:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:41:22] Production.INFO: ==5989== Releasing lock... [2025-03-09 16:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:41:22] Production.INFO: 35.75 MB #Memory Used# [2025-03-09 20:42:02] Production.INFO: ==6050== Lock acquired, processing the job... [2025-03-09 20:42:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:42:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:42:02] Production.INFO: neon service started [2025-03-09 20:42:02] Production.INFO: neon service started [2025-03-09 20:42:02] Production.INFO: ==6050== Releasing lock... [2025-03-09 20:42:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:42:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:42:02] Production.INFO: ==6052== Lock acquired, processing the job... [2025-03-09 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:42:02] Production.INFO: ==6052== Releasing lock... [2025-03-09 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:42:03] Production.INFO: ==6054== Lock acquired, processing the job... [2025-03-09 20:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:42:03] Production.INFO: ==6054== Releasing lock... [2025-03-09 20:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:42:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:42:03] Production.INFO: ==6059== Lock acquired, processing the job... [2025-03-09 16:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:42:04] Production.INFO: ==6057== Lock acquired, processing the job... [2025-03-09 16:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:42:04] Production.INFO: ==6067== Lock acquired, processing the job... [2025-03-09 16:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:42:04] Production.INFO: ==6061== Lock acquired, processing the job... [2025-03-09 16:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:42:04] Production.INFO: ==6063== Lock acquired, processing the job... [2025-03-09 16:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:42:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:42:04] Production.INFO: ==6065== Lock acquired, processing the job... [2025-03-09 16:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:42:04] Production.INFO: Account Balance Start. [2025-03-09 16:42:04] Production.INFO: CreateAllLog Start [2025-03-09 16:42:04] Production.INFO: 117 [2025-03-09 16:42:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:42:04] Production.INFO: count ==13 [2025-03-09 16:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:42:04] Production.INFO: ==6059== Releasing lock... [2025-03-09 16:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:42:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:42:04] Production.INFO: count ==21 [2025-03-09 16:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643478') start [2025-03-09 16:42:04] Production.INFO: Total Charge 0 [2025-03-09 16:42:04] Production.INFO: CreateAllLog End [2025-03-09 16:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643478') end [2025-03-09 16:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:42:04] Production.INFO: 1 [2025-03-09 16:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:42:04] Production.INFO: ==6067== Releasing lock... [2025-03-09 16:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:42:04] Production.ERROR: done [2025-03-09 16:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:42:04] Production.ERROR: done [2025-03-09 16:42:04] Production.INFO: Account Balance End. [2025-03-09 16:42:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:42:04] Production.INFO: ==6063== Releasing lock... [2025-03-09 16:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:42:05 [end_date_ymd] => 2025-03-09 16:42:05 [RateCDR] => 1 ) [2025-03-09 16:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:42:05' and `end` < '2025-03-09 16:42:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:42:12] Production.ERROR: CronJobId end10 [2025-03-09 16:42:12] Production.INFO: ==6061== Releasing lock... [2025-03-09 16:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:42:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:42:14] Production.INFO: call_cost start [2025-03-09 16:42:14] Production.INFO: call_cost end [2025-03-09 16:42:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:42:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:42:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:42:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:42:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:42:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:42:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:42:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:42:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:42:15] Production.INFO: ==6057== Releasing lock... [2025-03-09 16:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:42:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:42:17] Production.INFO: count ==1012 [2025-03-09 16:42:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:42:05 - End Time 2025-03-09 16:42:05 [2025-03-09 16:42:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643480', 'tblTempUsageDetail_20' ) start [2025-03-09 16:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643480', 'tblTempUsageDetail_20' ) end [2025-03-09 16:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643480', 'tblTempVendorCDR_20' ) start [2025-03-09 16:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643480', 'tblTempVendorCDR_20' ) end [2025-03-09 16:42:18] Production.INFO: ProcessCDR(1,14643480,1,1,2) [2025-03-09 16:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643480', 'tblTempUsageDetail_20' ) start [2025-03-09 16:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643480', 'tblTempUsageDetail_20' ) end [2025-03-09 16:42:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:42:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:42:22] Production.INFO: ==6065== Releasing lock... [2025-03-09 16:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:42:22] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 20:43:01] Production.INFO: ==6121== Lock acquired, processing the job... [2025-03-09 20:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:43:01] Production.INFO: neon service started [2025-03-09 20:43:01] Production.INFO: neon service started [2025-03-09 20:43:01] Production.INFO: ==6121== Releasing lock... [2025-03-09 20:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:43:02] Production.INFO: ==6123== Lock acquired, processing the job... [2025-03-09 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 20:43:02] Production.INFO: ==6125== Lock acquired, processing the job... [2025-03-09 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:43:02] Production.INFO: ==6125== Releasing lock... [2025-03-09 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:43:02] Production.INFO: ==6123== Releasing lock... [2025-03-09 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:43:03] Production.INFO: ==6128== Lock acquired, processing the job... [2025-03-09 16:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:43:03] Production.INFO: ==6132== Lock acquired, processing the job... [2025-03-09 16:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:43:03] Production.INFO: ==6134== Lock acquired, processing the job... [2025-03-09 16:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:43:03] Production.INFO: ==6130== Lock acquired, processing the job... [2025-03-09 16:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:43:03] Production.INFO: ==6136== Lock acquired, processing the job... [2025-03-09 16:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:43:03] Production.INFO: ==6138== Lock acquired, processing the job... [2025-03-09 16:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:43:03] Production.INFO: Account Balance Start. [2025-03-09 16:43:03] Production.INFO: CreateAllLog Start [2025-03-09 16:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:43:03] Production.INFO: 117 [2025-03-09 16:43:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 16:43:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:43:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:43:04] Production.INFO: ==6130== Releasing lock... [2025-03-09 16:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:43:04] Production.INFO: count ==13 [2025-03-09 16:43:04] Production.INFO: Total Charge 0 [2025-03-09 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-09 16:43:04] Production.INFO: count ==21 [2025-03-09 16:43:04] Production.INFO: CreateAllLog End [2025-03-09 16:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643484') start [2025-03-09 16:43:04] Production.ERROR: done [2025-03-09 16:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643484') end [2025-03-09 16:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:43:04] Production.INFO: 1 [2025-03-09 16:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:43:04] Production.INFO: ==6138== Releasing lock... [2025-03-09 16:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:43:04] Production.ERROR: done [2025-03-09 16:43:04] Production.INFO: Account Balance End. [2025-03-09 16:43:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:43:04] Production.INFO: ==6134== Releasing lock... [2025-03-09 16:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:43:05 [end_date_ymd] => 2025-03-09 16:43:05 [RateCDR] => 1 ) [2025-03-09 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-09 13:43:05' and `end` < '2025-03-09 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-09 16:43:12] Production.ERROR: CronJobId end10 [2025-03-09 16:43:12] Production.INFO: ==6132== Releasing lock... [2025-03-09 16:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:43:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:43:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:43:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:43:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:43:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:43:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:43:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:43:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:43:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:43:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:43:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:43:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:43:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:43:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:43:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:43:13] Production.INFO: call_cost start [2025-03-09 16:43:13] Production.INFO: call_cost end [2025-03-09 16:43:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:43:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:43:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:43:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:43:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:43:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:43:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:43:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:43:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:43:14] Production.INFO: ==6128== Releasing lock... [2025-03-09 16:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:43:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:43:17] Production.INFO: count ==1012 [2025-03-09 16:43:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:43:05 - End Time 2025-03-09 16:43:05 [2025-03-09 16:43:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643485', 'tblTempUsageDetail_20' ) start [2025-03-09 16:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643485', 'tblTempUsageDetail_20' ) end [2025-03-09 16:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643485', 'tblTempVendorCDR_20' ) start [2025-03-09 16:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643485', 'tblTempVendorCDR_20' ) end [2025-03-09 16:43:18] Production.INFO: ProcessCDR(1,14643485,1,1,2) [2025-03-09 16:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643485', 'tblTempUsageDetail_20' ) start [2025-03-09 16:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643485', 'tblTempUsageDetail_20' ) end [2025-03-09 16:43:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:43:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:43:21] Production.INFO: ==6136== Releasing lock... [2025-03-09 16:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:43:21] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 20:44:02] Production.INFO: ==6195== Lock acquired, processing the job... [2025-03-09 20:44:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:44:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:44:02] Production.INFO: neon service started [2025-03-09 20:44:02] Production.INFO: neon service started [2025-03-09 20:44:02] Production.INFO: ==6195== Releasing lock... [2025-03-09 20:44:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:44:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:44:02] Production.INFO: ==6197== Lock acquired, processing the job... [2025-03-09 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:44:02] Production.INFO: ==6197== Releasing lock... [2025-03-09 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:44:02] Production.INFO: ==6199== Lock acquired, processing the job... [2025-03-09 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:44:03] Production.INFO: ==6199== Releasing lock... [2025-03-09 20:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:44:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:44:03] Production.INFO: ==6201== Lock acquired, processing the job... [2025-03-09 16:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:44:03] Production.INFO: ==6211== Lock acquired, processing the job... [2025-03-09 16:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:44:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:44:04] Production.INFO: ==6203== Lock acquired, processing the job... [2025-03-09 16:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:44:04] Production.INFO: ==6205== Lock acquired, processing the job... [2025-03-09 16:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:44:04] Production.INFO: ==6207== Lock acquired, processing the job... [2025-03-09 16:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:44:04] Production.INFO: count ==13 [2025-03-09 16:44:04] Production.INFO: ==6209== Lock acquired, processing the job... [2025-03-09 16:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:44:04] Production.INFO: count ==21 [2025-03-09 16:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643487') start [2025-03-09 16:44:04] Production.INFO: Account Balance Start. [2025-03-09 16:44:04] Production.INFO: CreateAllLog Start [2025-03-09 16:44:04] Production.INFO: 117 [2025-03-09 16:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:44:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643487') end [2025-03-09 16:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:44:04] Production.INFO: 1 [2025-03-09 16:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:44:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:44:04] Production.INFO: Total Charge 0 [2025-03-09 16:44:04] Production.INFO: CreateAllLog End [2025-03-09 16:44:04] Production.INFO: ==6211== Releasing lock... [2025-03-09 16:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:44:04] Production.INFO: ==6203== Releasing lock... [2025-03-09 16:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:44:04] Production.INFO: Account Balance End. [2025-03-09 16:44:04] Production.ERROR: done [2025-03-09 16:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:44:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:44:04] Production.INFO: ==6207== Releasing lock... [2025-03-09 16:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:44:04] Production.ERROR: done [2025-03-09 16:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:44:05 [end_date_ymd] => 2025-03-09 16:44:05 [RateCDR] => 1 ) [2025-03-09 16:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:44:05' and `end` < '2025-03-09 16:44:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:44:11] Production.ERROR: CronJobId end10 [2025-03-09 16:44:11] Production.INFO: ==6205== Releasing lock... [2025-03-09 16:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:44:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:44:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:44:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:44:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:44:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:44:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:44:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:44:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:44:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:44:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:44:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:44:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:44:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:44:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:44:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:44:14] Production.INFO: call_cost start [2025-03-09 16:44:14] Production.INFO: call_cost end [2025-03-09 16:44:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:44:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:44:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:44:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:44:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:44:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:44:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:44:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:44:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:44:15] Production.INFO: ==6201== Releasing lock... [2025-03-09 16:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:44:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:44:18] Production.INFO: count ==1013 [2025-03-09 16:44:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:44:05 - End Time 2025-03-09 16:44:05 [2025-03-09 16:44:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643490', 'tblTempUsageDetail_20' ) start [2025-03-09 16:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643490', 'tblTempUsageDetail_20' ) end [2025-03-09 16:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643490', 'tblTempVendorCDR_20' ) start [2025-03-09 16:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643490', 'tblTempVendorCDR_20' ) end [2025-03-09 16:44:18] Production.INFO: ProcessCDR(1,14643490,1,1,2) [2025-03-09 16:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643490', 'tblTempUsageDetail_20' ) start [2025-03-09 16:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643490', 'tblTempUsageDetail_20' ) end [2025-03-09 16:44:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:44:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:44:23] Production.INFO: ==6209== Releasing lock... [2025-03-09 16:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:44:23] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 20:45:01] Production.INFO: ==6265== Lock acquired, processing the job... [2025-03-09 20:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:45:01] Production.INFO: neon service started [2025-03-09 20:45:01] Production.INFO: neon service started [2025-03-09 20:45:01] Production.INFO: ==6265== Releasing lock... [2025-03-09 20:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:45:02] Production.INFO: ==6267== Lock acquired, processing the job... [2025-03-09 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:45:02] Production.INFO: ==6267== Releasing lock... [2025-03-09 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:45:02] Production.INFO: ==6269== Lock acquired, processing the job... [2025-03-09 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:45:02] Production.INFO: ==6269== Releasing lock... [2025-03-09 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:45:03] Production.INFO: ==6275== Lock acquired, processing the job... [2025-03-09 16:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:45:03] Production.INFO: ==6271== Lock acquired, processing the job... [2025-03-09 16:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:45:03] Production.INFO: ==6273== Lock acquired, processing the job... [2025-03-09 16:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:45:03] Production.INFO: ==6281== Lock acquired, processing the job... [2025-03-09 16:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:45:03] Production.INFO: ==6277== Lock acquired, processing the job... [2025-03-09 16:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:45:03] Production.INFO: ==6279== Lock acquired, processing the job... [2025-03-09 16:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:45:03] Production.INFO: Account Balance Start. [2025-03-09 16:45:03] Production.INFO: CreateAllLog Start [2025-03-09 16:45:03] Production.INFO: 117 [2025-03-09 16:45:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:45:03] Production.INFO: Reseller ==> 0 [2025-03-09 16: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-09 16:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:45:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:45:03] Production.INFO: count ==13 [2025-03-09 16:45:03] Production.INFO: Reseller ==> 0 [2025-03-09 16: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-09 16:45:03] Production.INFO: count ==21 [2025-03-09 16:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643494') start [2025-03-09 16:45:03] Production.INFO: Total Charge 0 [2025-03-09 16:45:03] Production.INFO: CreateAllLog End [2025-03-09 16:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643494') end [2025-03-09 16:45:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:45:03] Production.INFO: 1 [2025-03-09 16:45:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:45:03] Production.INFO: ==6273== Releasing lock... [2025-03-09 16:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:45:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:45:04] Production.INFO: ==6281== Releasing lock... [2025-03-09 16:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:45:04] Production.INFO: Account Balance End. [2025-03-09 16:45:04] Production.ERROR: done [2025-03-09 16:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:45:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:45:04] Production.INFO: ==6277== Releasing lock... [2025-03-09 16:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:45:04] Production.ERROR: done [2025-03-09 16:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:45:05 [end_date_ymd] => 2025-03-09 16:45:05 [RateCDR] => 1 ) [2025-03-09 16:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:45:05' and `end` < '2025-03-09 16:45:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:45:12] Production.ERROR: CronJobId end10 [2025-03-09 16:45:12] Production.INFO: ==6275== Releasing lock... [2025-03-09 16:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:45:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:45:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:45:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:45:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:45:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:45:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:45:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:45:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:45:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:45:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:45:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:45:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:45:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:45:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:45:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:45:14] Production.INFO: call_cost start [2025-03-09 16:45:14] Production.INFO: call_cost end [2025-03-09 16:45:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:45:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:45:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:45:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:45:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:45:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:45:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:45:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:45:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:45:15] Production.INFO: ==6271== Releasing lock... [2025-03-09 16:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:45:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:45:17] Production.INFO: count ==1014 [2025-03-09 16:45:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:45:05 - End Time 2025-03-09 16:45:05 [2025-03-09 16:45:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643495', 'tblTempUsageDetail_20' ) start [2025-03-09 16:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643495', 'tblTempUsageDetail_20' ) end [2025-03-09 16:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643495', 'tblTempVendorCDR_20' ) start [2025-03-09 16:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643495', 'tblTempVendorCDR_20' ) end [2025-03-09 16:45:18] Production.INFO: ProcessCDR(1,14643495,1,1,2) [2025-03-09 16:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643495', 'tblTempUsageDetail_20' ) start [2025-03-09 16:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643495', 'tblTempUsageDetail_20' ) end [2025-03-09 16:45:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:45:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:45:23] Production.INFO: ==6279== Releasing lock... [2025-03-09 16:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:45:23] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 20:46:02] Production.INFO: ==6337== Lock acquired, processing the job... [2025-03-09 20:46:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:46:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:46:02] Production.INFO: neon service started [2025-03-09 20:46:02] Production.INFO: neon service started [2025-03-09 20:46:02] Production.INFO: ==6337== Releasing lock... [2025-03-09 20:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:46:02] Production.INFO: ==6339== Lock acquired, processing the job... [2025-03-09 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:46:02] Production.INFO: ==6339== Releasing lock... [2025-03-09 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:46:02] Production.INFO: ==6341== Lock acquired, processing the job... [2025-03-09 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:46:02] Production.INFO: ==6341== Releasing lock... [2025-03-09 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:46:03] Production.INFO: ==6346== Lock acquired, processing the job... [2025-03-09 16:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:46:03] Production.INFO: ==6344== Lock acquired, processing the job... [2025-03-09 16:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:46:03] Production.INFO: ==6354== Lock acquired, processing the job... [2025-03-09 16:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:46:03] Production.INFO: ==6348== Lock acquired, processing the job... [2025-03-09 16:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:46:03] Production.INFO: ==6350== Lock acquired, processing the job... [2025-03-09 16:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16: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-09 16:46:04] Production.INFO: ==6352== Lock acquired, processing the job... [2025-03-09 16:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:46:04] Production.INFO: count ==13 [2025-03-09 16:46:04] Production.INFO: ==6346== Releasing lock... [2025-03-09 16:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:46:04] Production.INFO: Account Balance Start. [2025-03-09 16:46:04] Production.INFO: CreateAllLog Start [2025-03-09 16: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-09 16:46:04] Production.INFO: 117 [2025-03-09 16:46:04] Production.INFO: count ==21 [2025-03-09 16:46:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:46:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643498') start [2025-03-09 16:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:46:04] Production.INFO: Total Charge 0 [2025-03-09 16:46:04] Production.INFO: CreateAllLog End [2025-03-09 16:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643498') end [2025-03-09 16:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:46:04] Production.INFO: 1 [2025-03-09 16:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:46:04] Production.INFO: ==6354== Releasing lock... [2025-03-09 16:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:46:04] Production.INFO: Account Balance End. [2025-03-09 16:46:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:46:04] Production.INFO: ==6350== Releasing lock... [2025-03-09 16:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:46:04] Production.ERROR: done [2025-03-09 16:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:46:04] Production.ERROR: done [2025-03-09 16:46:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:46:06 [end_date_ymd] => 2025-03-09 16:46:06 [RateCDR] => 1 ) [2025-03-09 16: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-09 13:46:06' and `end` < '2025-03-09 16: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-09 16:46:11] Production.ERROR: CronJobId end10 [2025-03-09 16:46:11] Production.INFO: ==6348== Releasing lock... [2025-03-09 16:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:46:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:46:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:46:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:46:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:46:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:46:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:46:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:46:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:46:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:46:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:46:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:46:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:46:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:46:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:46:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:46:13] Production.INFO: call_cost start [2025-03-09 16:46:13] Production.INFO: call_cost end [2025-03-09 16:46:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:46:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:46:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:46:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:46:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:46:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:46:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:46:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:46:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:46:14] Production.INFO: ==6344== Releasing lock... [2025-03-09 16:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:46:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:46:18] Production.INFO: count ==1014 [2025-03-09 16:46:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:46:06 - End Time 2025-03-09 16:46:06 [2025-03-09 16:46:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643500', 'tblTempUsageDetail_20' ) start [2025-03-09 16:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643500', 'tblTempUsageDetail_20' ) end [2025-03-09 16:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643500', 'tblTempVendorCDR_20' ) start [2025-03-09 16:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643500', 'tblTempVendorCDR_20' ) end [2025-03-09 16:46:18] Production.INFO: ProcessCDR(1,14643500,1,1,2) [2025-03-09 16:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643500', 'tblTempUsageDetail_20' ) start [2025-03-09 16:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643500', 'tblTempUsageDetail_20' ) end [2025-03-09 16:46:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:46:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:46:22] Production.INFO: ==6352== Releasing lock... [2025-03-09 16:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:46:22] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 20:47:01] Production.INFO: ==6409== Lock acquired, processing the job... [2025-03-09 20:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:47:01] Production.INFO: neon service started [2025-03-09 20:47:01] Production.INFO: neon service started [2025-03-09 20:47:01] Production.INFO: ==6409== Releasing lock... [2025-03-09 20:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:47:02] Production.INFO: ==6411== Lock acquired, processing the job... [2025-03-09 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 20:47:02] Production.INFO: ==6413== Lock acquired, processing the job... [2025-03-09 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:47:02] Production.INFO: ==6413== Releasing lock... [2025-03-09 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:47:02] Production.INFO: ==6411== Releasing lock... [2025-03-09 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:47:03] Production.INFO: ==6416== Lock acquired, processing the job... [2025-03-09 16:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:47:03] Production.INFO: ==6418== Lock acquired, processing the job... [2025-03-09 16:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:47:03] Production.INFO: ==6426== Lock acquired, processing the job... [2025-03-09 16:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16: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-09 16:47:03] Production.INFO: ==6420== Lock acquired, processing the job... [2025-03-09 16:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:47:03] Production.INFO: ==6422== Lock acquired, processing the job... [2025-03-09 16:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:47:03] Production.INFO: count ==13 [2025-03-09 16:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:47:03] Production.INFO: ==6424== Lock acquired, processing the job... [2025-03-09 16:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16: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-09 16:47:03] Production.INFO: count ==21 [2025-03-09 16:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643502') start [2025-03-09 16:47:03] Production.INFO: Account Balance Start. [2025-03-09 16:47:03] Production.INFO: CreateAllLog Start [2025-03-09 16:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:47:03] Production.INFO: 117 [2025-03-09 16:47:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:47:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:47:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:47:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643502') end [2025-03-09 16:47:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:47:03] Production.INFO: 1 [2025-03-09 16:47:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:47:03] Production.INFO: Total Charge 0 [2025-03-09 16:47:03] Production.INFO: CreateAllLog End [2025-03-09 16:47:03] Production.INFO: ==6426== Releasing lock... [2025-03-09 16:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:47:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:47:03] Production.INFO: ==6418== Releasing lock... [2025-03-09 16:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:47:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:47:04] Production.ERROR: done [2025-03-09 16:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:47:04] Production.INFO: Account Balance End. [2025-03-09 16:47:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:47:04] Production.INFO: ==6422== Releasing lock... [2025-03-09 16:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:47:04] Production.ERROR: done [2025-03-09 16:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:47:05 [end_date_ymd] => 2025-03-09 16:47:05 [RateCDR] => 1 ) [2025-03-09 16:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:47:05' and `end` < '2025-03-09 16:47:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:47:10] Production.ERROR: CronJobId end10 [2025-03-09 16:47:10] Production.INFO: ==6420== Releasing lock... [2025-03-09 16:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:47:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:47:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:47:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:47:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:47:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:47:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:47:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:47:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:47:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:47:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:47:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:47:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:47:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:47:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:47:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:47:13] Production.INFO: call_cost start [2025-03-09 16:47:13] Production.INFO: call_cost end [2025-03-09 16:47:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:47:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:47:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:47:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:47:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:47:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:47:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:47:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:47:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:47:14] Production.INFO: ==6416== Releasing lock... [2025-03-09 16:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:47:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:47:17] Production.INFO: count ==1012 [2025-03-09 16:47:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:47:05 - End Time 2025-03-09 16:47:05 [2025-03-09 16:47:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643505', 'tblTempUsageDetail_20' ) start [2025-03-09 16:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643505', 'tblTempUsageDetail_20' ) end [2025-03-09 16:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643505', 'tblTempVendorCDR_20' ) start [2025-03-09 16:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643505', 'tblTempVendorCDR_20' ) end [2025-03-09 16:47:17] Production.INFO: ProcessCDR(1,14643505,1,1,2) [2025-03-09 16:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643505', 'tblTempUsageDetail_20' ) start [2025-03-09 16:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643505', 'tblTempUsageDetail_20' ) end [2025-03-09 16:47:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:47:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:47:22] Production.INFO: ==6424== Releasing lock... [2025-03-09 16:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:47:22] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 20:48:01] Production.INFO: ==6486== Lock acquired, processing the job... [2025-03-09 20:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:48:01] Production.INFO: neon service started [2025-03-09 20:48:01] Production.INFO: neon service started [2025-03-09 20:48:01] Production.INFO: ==6486== Releasing lock... [2025-03-09 20:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 20:48:02] Production.INFO: ==6490== Lock acquired, processing the job... [2025-03-09 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:48:02] Production.INFO: ==6490== Releasing lock... [2025-03-09 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:48:02] Production.INFO: ==6488== Lock acquired, processing the job... [2025-03-09 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:48:02] Production.INFO: ==6488== Releasing lock... [2025-03-09 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:48:03] Production.INFO: ==6493== Lock acquired, processing the job... [2025-03-09 16:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:48:03] Production.INFO: ==6501== Lock acquired, processing the job... [2025-03-09 16:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:48:03] Production.INFO: ==6499== Lock acquired, processing the job... [2025-03-09 16:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:48:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:48:03] Production.INFO: Account Balance Start. [2025-03-09 16:48:03] Production.INFO: ==6495== Lock acquired, processing the job... [2025-03-09 16:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:48:03] Production.INFO: CreateAllLog Start [2025-03-09 16:48:03] Production.INFO: 117 [2025-03-09 16:48:03] Production.INFO: ==6497== Lock acquired, processing the job... [2025-03-09 16:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:48:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:48:03] Production.INFO: ==6503== Lock acquired, processing the job... [2025-03-09 16:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:48:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:48:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:48:04] Production.INFO: Total Charge 0 [2025-03-09 16:48:04] Production.INFO: CreateAllLog End [2025-03-09 16:48:04] Production.ERROR: done [2025-03-09 16:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:48:04] Production.INFO: count ==13 [2025-03-09 16:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:48:04] Production.INFO: Account Balance End. [2025-03-09 16:48:04] Production.INFO: ==6495== Releasing lock... [2025-03-09 16:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:48:04] Production.INFO: count ==21 [2025-03-09 16:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643509') start [2025-03-09 16:48:04] Production.ERROR: done [2025-03-09 16:48:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:48:04] Production.INFO: ==6499== Releasing lock... [2025-03-09 16:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643509') end [2025-03-09 16:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:48:04] Production.INFO: 1 [2025-03-09 16:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:48:04] Production.INFO: ==6503== Releasing lock... [2025-03-09 16:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:48:05 [end_date_ymd] => 2025-03-09 16:48:05 [RateCDR] => 1 ) [2025-03-09 16:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:48:05' and `end` < '2025-03-09 16:48:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:48:11] Production.ERROR: CronJobId end10 [2025-03-09 16:48:11] Production.INFO: ==6497== Releasing lock... [2025-03-09 16:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:48:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:48:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:48:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:48:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:48:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:48:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:48:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:48:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:48:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:48:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:48:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:48:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:48:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:48:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:48:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:48:14] Production.INFO: call_cost start [2025-03-09 16:48:14] Production.INFO: call_cost end [2025-03-09 16:48:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:48:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:48:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:48:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:48:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:48:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:48:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:48:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:48:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:48:15] Production.INFO: ==6493== Releasing lock... [2025-03-09 16:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:48:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:48:17] Production.INFO: count ==1011 [2025-03-09 16:48:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:48:05 - End Time 2025-03-09 16:48:05 [2025-03-09 16:48:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643510', 'tblTempUsageDetail_20' ) start [2025-03-09 16:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643510', 'tblTempUsageDetail_20' ) end [2025-03-09 16:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643510', 'tblTempVendorCDR_20' ) start [2025-03-09 16:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643510', 'tblTempVendorCDR_20' ) end [2025-03-09 16:48:17] Production.INFO: ProcessCDR(1,14643510,1,1,2) [2025-03-09 16:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:48:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643510', 'tblTempUsageDetail_20' ) start [2025-03-09 16:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643510', 'tblTempUsageDetail_20' ) end [2025-03-09 16:48:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:48:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:48:20] Production.INFO: ==6501== Releasing lock... [2025-03-09 16:48:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:48:20] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 20:49:01] Production.INFO: ==6558== Lock acquired, processing the job... [2025-03-09 20:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:49:01] Production.INFO: neon service started [2025-03-09 20:49:01] Production.INFO: neon service started [2025-03-09 20:49:01] Production.INFO: ==6558== Releasing lock... [2025-03-09 20:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:49:01] Production.INFO: ==6560== Lock acquired, processing the job... [2025-03-09 16:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:49:01] Production.INFO: ==6560== Releasing lock... [2025-03-09 16:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:49:01] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:49:02] Production.INFO: ==6562== Lock acquired, processing the job... [2025-03-09 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:49:02] Production.INFO: ==6562== Releasing lock... [2025-03-09 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:49:02] Production.INFO: ==6570== Lock acquired, processing the job... [2025-03-09 16:49:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:49:03] Production.INFO: Account Balance Start. [2025-03-09 16:49:03] Production.INFO: CreateAllLog Start [2025-03-09 16:49:03] Production.INFO: 117 [2025-03-09 16:49:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:49:03] Production.INFO: ==6575== Lock acquired, processing the job... [2025-03-09 16:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:49:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:49:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:49:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:49:03] Production.INFO: ==6564== Lock acquired, processing the job... [2025-03-09 16:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:49:03] Production.INFO: Total Charge 0 [2025-03-09 16:49:03] Production.INFO: CreateAllLog End [2025-03-09 16:49:03] Production.INFO: ==6566== Lock acquired, processing the job... [2025-03-09 16:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:49:03] Production.INFO: count ==13 [2025-03-09 16:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:49:03] Production.INFO: ==6568== Lock acquired, processing the job... [2025-03-09 16:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:49:03] Production.INFO: count ==21 [2025-03-09 16:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643512') start [2025-03-09 16:49:03] Production.INFO: ==6573== Lock acquired, processing the job... [2025-03-09 16:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643512') end [2025-03-09 16:49:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:49:03] Production.INFO: 1 [2025-03-09 16:49:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:49:03] Production.INFO: Account Balance End. [2025-03-09 16:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:49:03] Production.ERROR: CronJobId end 12 [2025-03-09 16:49:03] Production.INFO: ==6570== Releasing lock... [2025-03-09 16:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:49:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:49:03] Production.INFO: ==6575== Releasing lock... [2025-03-09 16:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:49:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:49:03] Production.INFO: ==6566== Releasing lock... [2025-03-09 16:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:49:03] Production.ERROR: done [2025-03-09 16:49:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:49:03] Production.ERROR: done [2025-03-09 16:49:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:49:04 [end_date_ymd] => 2025-03-09 16:49:04 [RateCDR] => 1 ) [2025-03-09 16: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-09 13:49:04' and `end` < '2025-03-09 16: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-09 16:49:11] Production.ERROR: CronJobId end10 [2025-03-09 16:49:11] Production.INFO: ==6568== Releasing lock... [2025-03-09 16:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:49:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:49:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:49:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:49:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:49:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:49:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:49:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:49:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:49:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:49:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:49:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:49:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:49:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:49:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:49:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:49:13] Production.INFO: call_cost start [2025-03-09 16:49:13] Production.INFO: call_cost end [2025-03-09 16:49:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:49:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:49:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:49:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:49:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:49:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:49:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:49:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:49:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:49:14] Production.INFO: ==6564== Releasing lock... [2025-03-09 16:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:49:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:49:16] Production.INFO: count ==1012 [2025-03-09 16:49:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:49:04 - End Time 2025-03-09 16:49:04 [2025-03-09 16:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643515', 'tblTempUsageDetail_20' ) start [2025-03-09 16:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643515', 'tblTempUsageDetail_20' ) end [2025-03-09 16:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643515', 'tblTempVendorCDR_20' ) start [2025-03-09 16:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643515', 'tblTempVendorCDR_20' ) end [2025-03-09 16:49:17] Production.INFO: ProcessCDR(1,14643515,1,1,2) [2025-03-09 16:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643515', 'tblTempUsageDetail_20' ) start [2025-03-09 16:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643515', 'tblTempUsageDetail_20' ) end [2025-03-09 16:49:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:49:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:49:22] Production.INFO: ==6573== Releasing lock... [2025-03-09 16:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:49:22] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 20:50:01] Production.INFO: ==6631== Lock acquired, processing the job... [2025-03-09 20:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:50:01] Production.INFO: neon service started [2025-03-09 20:50:01] Production.INFO: neon service started [2025-03-09 20:50:01] Production.INFO: ==6631== Releasing lock... [2025-03-09 20:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:50:02] Production.INFO: ==6634== Lock acquired, processing the job... [2025-03-09 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:50:02] Production.INFO: ==6634== Releasing lock... [2025-03-09 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:50:02] Production.INFO: ==6636== Lock acquired, processing the job... [2025-03-09 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:50:02] Production.INFO: ==6636== Releasing lock... [2025-03-09 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:50:03] Production.INFO: ==6638== Lock acquired, processing the job... [2025-03-09 16:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 16:50:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 16:50:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 16:50:03] Production.INFO: ==6638== Releasing lock... [2025-03-09 16:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 16:50:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 16:50:03] Production.INFO: ==6640== Lock acquired, processing the job... [2025-03-09 16:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:50:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:50:03] Production.INFO: ==6644== Lock acquired, processing the job... [2025-03-09 16:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:50:03] Production.INFO: ==6642== Lock acquired, processing the job... [2025-03-09 16:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:50:03] Production.INFO: ==6648== Lock acquired, processing the job... [2025-03-09 16:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:50:03] Production.INFO: ==6646== Lock acquired, processing the job... [2025-03-09 16:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:50:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:50:03] Production.INFO: ==6650== Lock acquired, processing the job... [2025-03-09 16:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 16:50:03] Production.INFO: Account Balance Start. [2025-03-09 16:50:03] Production.INFO: CreateAllLog Start [2025-03-09 16:50:03] Production.INFO: 117 [2025-03-09 16:50:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:50:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:50:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:50:04] Production.INFO: ==6652== Lock acquired, processing the job... [2025-03-09 16:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:50:04] Production.INFO: Total Charge 0 [2025-03-09 16:50:04] Production.INFO: CreateAllLog End [2025-03-09 16:50:04] Production.INFO: ==6642== Releasing lock... [2025-03-09 16:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:50:04] Production.INFO: count ==13 [2025-03-09 16:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:50:04] Production.INFO: count ==21 [2025-03-09 16:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643519') start [2025-03-09 16:50:04] Production.ERROR: done [2025-03-09 16:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:50:04] Production.ERROR: done [2025-03-09 16:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643519') end [2025-03-09 16:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:50:04] Production.INFO: 1 [2025-03-09 16:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:50:04] Production.ERROR: done [2025-03-09 16:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 16:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643520', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 16:50:04] Production.INFO: Account Balance End. [2025-03-09 16:50:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:50:04] Production.INFO: ==6646== Releasing lock... [2025-03-09 16:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:50:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:50:04] Production.INFO: ==6652== Releasing lock... [2025-03-09 16:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:50:06 [end_date_ymd] => 2025-03-09 16:50:06 [RateCDR] => 1 ) [2025-03-09 16:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:50:06' and `end` < '2025-03-09 16:50:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643520', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 16:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 16:50:09] Production.INFO: ProcessCDR(1,14643520,1,1,2) [2025-03-09 16:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14643520,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14643520,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:50:09] Production.INFO: ==6650== Releasing lock... [2025-03-09 16:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 16:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 16:50:14] Production.ERROR: CronJobId end10 [2025-03-09 16:50:14] Production.INFO: ==6644== Releasing lock... [2025-03-09 16:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:50:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:50:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:50:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:50:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:50:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:50:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:50:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:50:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:50:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:50:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:50:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:50:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:50:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:50:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:50:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:50:15] Production.INFO: call_cost start [2025-03-09 16:50:15] Production.INFO: call_cost end [2025-03-09 16:50:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:50:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:50:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:50:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:50:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:50:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:50:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:50:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:50:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:50:16] Production.INFO: ==6640== Releasing lock... [2025-03-09 16:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:50:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:50:18] Production.INFO: count ==1010 [2025-03-09 16:50:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:50:06 - End Time 2025-03-09 16:50:06 [2025-03-09 16:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643521', 'tblTempUsageDetail_20' ) start [2025-03-09 16:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643521', 'tblTempUsageDetail_20' ) end [2025-03-09 16:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643521', 'tblTempVendorCDR_20' ) start [2025-03-09 16:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643521', 'tblTempVendorCDR_20' ) end [2025-03-09 16:50:18] Production.INFO: ProcessCDR(1,14643521,1,1,2) [2025-03-09 16:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643521', 'tblTempUsageDetail_20' ) start [2025-03-09 16:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643521', 'tblTempUsageDetail_20' ) end [2025-03-09 16:50:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:50:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:50:21] Production.INFO: ==6648== Releasing lock... [2025-03-09 16:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:50:21] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 20:51:02] Production.INFO: ==6745== Lock acquired, processing the job... [2025-03-09 20:51:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:51:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:51:02] Production.INFO: neon service started [2025-03-09 20:51:02] Production.INFO: neon service started [2025-03-09 20:51:02] Production.INFO: ==6745== Releasing lock... [2025-03-09 20:51:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:51:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:51:02] Production.INFO: ==6747== Lock acquired, processing the job... [2025-03-09 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 20:51:03] Production.INFO: ==6749== Lock acquired, processing the job... [2025-03-09 20:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:51:03] Production.INFO: ==6749== Releasing lock... [2025-03-09 20:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:51:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:51:03] Production.INFO: ==6747== Releasing lock... [2025-03-09 16:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:51:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:51:04] Production.INFO: ==6752== Lock acquired, processing the job... [2025-03-09 16:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:51:04] Production.INFO: ==6754== Lock acquired, processing the job... [2025-03-09 16:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:51:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:51:04] Production.INFO: ==6762== Lock acquired, processing the job... [2025-03-09 16:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:51:04] Production.INFO: ==6756== Lock acquired, processing the job... [2025-03-09 16:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16: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-09 16:51:04] Production.INFO: ==6758== Lock acquired, processing the job... [2025-03-09 16:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:51:04] Production.INFO: count ==13 [2025-03-09 16: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-09 16:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:51:04] Production.INFO: count ==21 [2025-03-09 16:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643524') start [2025-03-09 16:51:04] Production.INFO: ==6760== Lock acquired, processing the job... [2025-03-09 16:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:51:04] Production.INFO: ==6754== Releasing lock... [2025-03-09 16:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:51:04] Production.INFO: Account Balance Start. [2025-03-09 16:51:04] Production.INFO: CreateAllLog Start [2025-03-09 16:51:04] Production.INFO: 117 [2025-03-09 16:51:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643524') end [2025-03-09 16:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:51:04] Production.INFO: 1 [2025-03-09 16:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:51:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:51:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:51:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:51:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:51:04] Production.INFO: ==6762== Releasing lock... [2025-03-09 16:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:51:04] Production.INFO: Total Charge 0 [2025-03-09 16:51:04] Production.INFO: CreateAllLog End [2025-03-09 16:51:05] Production.INFO: Account Balance End. [2025-03-09 16:51:05] Production.ERROR: done [2025-03-09 16:51:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:51:05] Production.ERROR: CronJobId end 12 [2025-03-09 16:51:05] Production.INFO: ==6758== Releasing lock... [2025-03-09 16:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:51:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:51:05] Production.ERROR: done [2025-03-09 16:51:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:51:06 [end_date_ymd] => 2025-03-09 16:51:06 [RateCDR] => 1 ) [2025-03-09 16: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-09 13:51:06' and `end` < '2025-03-09 16: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-09 16:51:13] Production.ERROR: CronJobId end10 [2025-03-09 16:51:13] Production.INFO: ==6756== Releasing lock... [2025-03-09 16:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:51:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:51:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:51:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:51:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:51:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:51:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:51:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:51:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:51:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:51:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:51:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:51:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:51:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:51:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:51:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:51:14] Production.INFO: call_cost start [2025-03-09 16:51:14] Production.INFO: call_cost end [2025-03-09 16:51:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:51:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:51:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:51:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:51:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:51:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:51:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:51:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:51:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:51:15] Production.INFO: ==6752== Releasing lock... [2025-03-09 16:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:51:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:51:18] Production.INFO: count ==1019 [2025-03-09 16:51:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:51:06 - End Time 2025-03-09 16:51:06 [2025-03-09 16:51:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643526', 'tblTempUsageDetail_20' ) start [2025-03-09 16:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643526', 'tblTempUsageDetail_20' ) end [2025-03-09 16:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643526', 'tblTempVendorCDR_20' ) start [2025-03-09 16:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643526', 'tblTempVendorCDR_20' ) end [2025-03-09 16:51:18] Production.INFO: ProcessCDR(1,14643526,1,1,2) [2025-03-09 16:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643526', 'tblTempUsageDetail_20' ) start [2025-03-09 16:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643526', 'tblTempUsageDetail_20' ) end [2025-03-09 16:51:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:51:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:51:22] Production.INFO: ==6760== Releasing lock... [2025-03-09 16:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:51:22] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 20:52:01] Production.INFO: ==6815== Lock acquired, processing the job... [2025-03-09 20:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:52:01] Production.INFO: neon service started [2025-03-09 20:52:01] Production.INFO: neon service started [2025-03-09 20:52:01] Production.INFO: ==6815== Releasing lock... [2025-03-09 20:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:52:02] Production.INFO: ==6817== Lock acquired, processing the job... [2025-03-09 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:52:02] Production.INFO: ==6817== Releasing lock... [2025-03-09 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:52:02] Production.INFO: ==6820== Lock acquired, processing the job... [2025-03-09 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:52:02] Production.INFO: ==6820== Releasing lock... [2025-03-09 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:52:03] Production.INFO: ==6824== Lock acquired, processing the job... [2025-03-09 16:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:52:03] Production.INFO: ==6832== Lock acquired, processing the job... [2025-03-09 16:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:52:03] Production.INFO: ==6822== Lock acquired, processing the job... [2025-03-09 16:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:52:03] Production.INFO: count ==13 [2025-03-09 16:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:52:03] Production.INFO: count ==21 [2025-03-09 16:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643528') start [2025-03-09 16:52:03] Production.INFO: ==6824== Releasing lock... [2025-03-09 16:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:52:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:52:03] Production.INFO: ==6826== Lock acquired, processing the job... [2025-03-09 16:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:52:03] Production.INFO: ==6828== Lock acquired, processing the job... [2025-03-09 16:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:52:03] Production.INFO: ==6830== Lock acquired, processing the job... [2025-03-09 16:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643528') end [2025-03-09 16:52:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:52:03] Production.INFO: 1 [2025-03-09 16:52:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:52:03] Production.INFO: ==6832== Releasing lock... [2025-03-09 16:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:52:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:52:03] Production.INFO: Account Balance Start. [2025-03-09 16:52:03] Production.INFO: CreateAllLog Start [2025-03-09 16:52:03] Production.INFO: 117 [2025-03-09 16:52:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:52:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:52:04] Production.INFO: Total Charge 0 [2025-03-09 16:52:04] Production.INFO: CreateAllLog End [2025-03-09 16:52:04] Production.INFO: Account Balance End. [2025-03-09 16:52:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:52:04] Production.INFO: ==6828== Releasing lock... [2025-03-09 16:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:52:04] Production.ERROR: done [2025-03-09 16:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:52:04] Production.ERROR: done [2025-03-09 16:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:52:05 [end_date_ymd] => 2025-03-09 16:52:05 [RateCDR] => 1 ) [2025-03-09 16: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-09 13:52:05' and `end` < '2025-03-09 16: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-09 16:52:12] Production.ERROR: CronJobId end10 [2025-03-09 16:52:12] Production.INFO: ==6826== Releasing lock... [2025-03-09 16:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:52:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:52:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:52:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:52:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:52:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:52:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:52:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:52:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:52:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:52:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:52:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:52:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:52:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:52:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:52:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:52:13] Production.INFO: call_cost start [2025-03-09 16:52:13] Production.INFO: call_cost end [2025-03-09 16:52:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:52:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:52:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:52:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:52:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:52:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:52:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:52:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:52:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:52:14] Production.INFO: ==6822== Releasing lock... [2025-03-09 16:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:52:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:52:17] Production.INFO: count ==1016 [2025-03-09 16:52:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:52:05 - End Time 2025-03-09 16:52:05 [2025-03-09 16:52:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643531', 'tblTempUsageDetail_20' ) start [2025-03-09 16:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643531', 'tblTempUsageDetail_20' ) end [2025-03-09 16:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643531', 'tblTempVendorCDR_20' ) start [2025-03-09 16:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643531', 'tblTempVendorCDR_20' ) end [2025-03-09 16:52:17] Production.INFO: ProcessCDR(1,14643531,1,1,2) [2025-03-09 16:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643531', 'tblTempUsageDetail_20' ) start [2025-03-09 16:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643531', 'tblTempUsageDetail_20' ) end [2025-03-09 16:52:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:52:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:52:21] Production.INFO: ==6830== Releasing lock... [2025-03-09 16:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:52:21] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 20:53:02] Production.INFO: ==6893== Lock acquired, processing the job... [2025-03-09 20:53:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:53:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:53:02] Production.INFO: neon service started [2025-03-09 20:53:02] Production.INFO: neon service started [2025-03-09 20:53:02] Production.INFO: ==6893== Releasing lock... [2025-03-09 20:53:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:53:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 20:53:02] Production.INFO: ==6897== Lock acquired, processing the job... [2025-03-09 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 16:53:02] Production.INFO: ==6895== Lock acquired, processing the job... [2025-03-09 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 20:53:03] Production.INFO: ==6897== Releasing lock... [2025-03-09 20:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:53:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:53:03] Production.INFO: ==6895== Releasing lock... [2025-03-09 16:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:53:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:53:04] Production.INFO: ==6902== Lock acquired, processing the job... [2025-03-09 16:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:53:04] Production.INFO: ==6908== Lock acquired, processing the job... [2025-03-09 16:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:53:04] Production.INFO: ==6904== Lock acquired, processing the job... [2025-03-09 16:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:53:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:53:04] Production.INFO: ==6900== Lock acquired, processing the job... [2025-03-09 16:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:53:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:53:04] Production.INFO: ==6906== Lock acquired, processing the job... [2025-03-09 16:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:53:04] Production.INFO: ==6910== Lock acquired, processing the job... [2025-03-09 16:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:53:04] Production.INFO: ==6902== Releasing lock... [2025-03-09 16:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:53:04] Production.INFO: Account Balance Start. [2025-03-09 16:53:04] Production.INFO: CreateAllLog Start [2025-03-09 16:53:04] Production.INFO: 117 [2025-03-09 16:53:04] Production.INFO: Date 2025-03-08 [2025-03-09 16: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-09 16:53:04] Production.ERROR: done [2025-03-09 16:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:53:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:53:04] Production.INFO: count ==13 [2025-03-09 16:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:53:04] Production.INFO: count ==21 [2025-03-09 16:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643535') start [2025-03-09 16:53:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:53:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:53:04] Production.INFO: Total Charge 0 [2025-03-09 16:53:04] Production.INFO: CreateAllLog End [2025-03-09 16:53:04] Production.ERROR: done [2025-03-09 16:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643535') end [2025-03-09 16:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:53:04] Production.INFO: 1 [2025-03-09 16:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:53:04] Production.INFO: ==6910== Releasing lock... [2025-03-09 16:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:53:04] Production.INFO: Account Balance End. [2025-03-09 16:53:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:53:04] Production.INFO: ==6906== Releasing lock... [2025-03-09 16:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:53:05 [end_date_ymd] => 2025-03-09 16:53:05 [RateCDR] => 1 ) [2025-03-09 16:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:53:05' and `end` < '2025-03-09 16:53:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:53:12] Production.ERROR: CronJobId end10 [2025-03-09 16:53:12] Production.INFO: ==6904== Releasing lock... [2025-03-09 16:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:53:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:53:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:53:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:53:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:53:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:53:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:53:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:53:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:53:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:53:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:53:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:53:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:53:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:53:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:53:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:53:15] Production.INFO: call_cost start [2025-03-09 16:53:15] Production.INFO: call_cost end [2025-03-09 16:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:53:16] Production.INFO: ==6900== Releasing lock... [2025-03-09 16:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:53:17] Production.INFO: count ==1023 [2025-03-09 16:53:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:53:05 - End Time 2025-03-09 16:53:05 [2025-03-09 16:53:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643536', 'tblTempUsageDetail_20' ) start [2025-03-09 16:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643536', 'tblTempUsageDetail_20' ) end [2025-03-09 16:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643536', 'tblTempVendorCDR_20' ) start [2025-03-09 16:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643536', 'tblTempVendorCDR_20' ) end [2025-03-09 16:53:18] Production.INFO: ProcessCDR(1,14643536,1,1,2) [2025-03-09 16:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643536', 'tblTempUsageDetail_20' ) start [2025-03-09 16:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643536', 'tblTempUsageDetail_20' ) end [2025-03-09 16:53:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:53:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:53:22] Production.INFO: ==6908== Releasing lock... [2025-03-09 16:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:53:22] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 20:54:01] Production.INFO: ==6970== Lock acquired, processing the job... [2025-03-09 20:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:54:01] Production.INFO: neon service started [2025-03-09 20:54:01] Production.INFO: neon service started [2025-03-09 20:54:01] Production.INFO: ==6970== Releasing lock... [2025-03-09 20:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:54:02] Production.INFO: ==6972== Lock acquired, processing the job... [2025-03-09 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 20:54:02] Production.INFO: ==6974== Lock acquired, processing the job... [2025-03-09 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:54:02] Production.INFO: ==6974== Releasing lock... [2025-03-09 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:54:02] Production.INFO: ==6972== Releasing lock... [2025-03-09 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:54:03] Production.INFO: ==6977== Lock acquired, processing the job... [2025-03-09 16:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:54:03] Production.INFO: ==6979== Lock acquired, processing the job... [2025-03-09 16:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:54:03] Production.INFO: ==6981== Lock acquired, processing the job... [2025-03-09 16:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:54:04] Production.INFO: ==6983== Lock acquired, processing the job... [2025-03-09 16:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:54:04] Production.INFO: ==6985== Lock acquired, processing the job... [2025-03-09 16:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:54:04] Production.INFO: ==6979== Releasing lock... [2025-03-09 16:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:54:04] Production.INFO: ==6987== Lock acquired, processing the job... [2025-03-09 16:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:54:04] Production.INFO: Account Balance Start. [2025-03-09 16:54:04] Production.INFO: CreateAllLog Start [2025-03-09 16:54:04] Production.INFO: 117 [2025-03-09 16:54:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:54:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:54:04] Production.INFO: Total Charge 0 [2025-03-09 16:54:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 16:54:04] Production.INFO: count ==13 [2025-03-09 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-09 16:54:04] Production.INFO: count ==21 [2025-03-09 16:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643540') start [2025-03-09 16:54:04] Production.ERROR: done [2025-03-09 16:54:04] Production.INFO: Account Balance End. [2025-03-09 16:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643540') end [2025-03-09 16:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:54:04] Production.INFO: 1 [2025-03-09 16:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:54:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:54:04] Production.INFO: ==6983== Releasing lock... [2025-03-09 16:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:54:04] Production.INFO: ==6987== Releasing lock... [2025-03-09 16:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:54:04] Production.ERROR: done [2025-03-09 16:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:54:05 [end_date_ymd] => 2025-03-09 16:54:05 [RateCDR] => 1 ) [2025-03-09 16:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:54:05' and `end` < '2025-03-09 16:54:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:54:12] Production.ERROR: CronJobId end10 [2025-03-09 16:54:12] Production.INFO: ==6981== Releasing lock... [2025-03-09 16:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:54:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:54:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:54:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:54:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:54:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:54:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:54:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:54:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:54:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:54:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:54:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:54:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:54:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:54:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:54:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:54:14] Production.INFO: call_cost start [2025-03-09 16:54:14] Production.INFO: call_cost end [2025-03-09 16:54:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:54:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:54:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:54:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:54:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:54:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:54:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:54:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:54:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:54:14] Production.INFO: ==6977== Releasing lock... [2025-03-09 16:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:54:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:54:17] Production.INFO: count ==1020 [2025-03-09 16:54:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:54:05 - End Time 2025-03-09 16:54:05 [2025-03-09 16:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643541', 'tblTempUsageDetail_20' ) start [2025-03-09 16:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643541', 'tblTempUsageDetail_20' ) end [2025-03-09 16:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643541', 'tblTempVendorCDR_20' ) start [2025-03-09 16:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643541', 'tblTempVendorCDR_20' ) end [2025-03-09 16:54:18] Production.INFO: ProcessCDR(1,14643541,1,1,2) [2025-03-09 16:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643541', 'tblTempUsageDetail_20' ) start [2025-03-09 16:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643541', 'tblTempUsageDetail_20' ) end [2025-03-09 16:54:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:54:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:54:21] Production.INFO: ==6985== Releasing lock... [2025-03-09 16:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:54:21] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 20:55:02] Production.INFO: ==7079== Lock acquired, processing the job... [2025-03-09 20:55:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:55:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:55:02] Production.INFO: neon service started [2025-03-09 20:55:02] Production.INFO: neon service started [2025-03-09 20:55:02] Production.INFO: ==7079== Releasing lock... [2025-03-09 20:55:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:55:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 20:55:02] Production.INFO: ==7084== Lock acquired, processing the job... [2025-03-09 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:55:02] Production.INFO: ==7084== Releasing lock... [2025-03-09 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:55:02] Production.INFO: ==7082== Lock acquired, processing the job... [2025-03-09 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:55:03] Production.INFO: ==7082== Releasing lock... [2025-03-09 16:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:55:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:55:03] Production.INFO: ==7086== Lock acquired, processing the job... [2025-03-09 16:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:55:03] Production.INFO: ==7088== Lock acquired, processing the job... [2025-03-09 16:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:55:04] Production.INFO: ==7096== Lock acquired, processing the job... [2025-03-09 16:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:55:04] Production.INFO: ==7088== Releasing lock... [2025-03-09 16:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:55:04] Production.INFO: ==7090== Lock acquired, processing the job... [2025-03-09 16:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:55:04] Production.INFO: count ==13 [2025-03-09 16:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:55:04] Production.INFO: count ==21 [2025-03-09 16:55:04] Production.INFO: ==7092== Lock acquired, processing the job... [2025-03-09 16:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643544') start [2025-03-09 16:55:04] Production.INFO: ==7094== Lock acquired, processing the job... [2025-03-09 16:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643544') end [2025-03-09 16:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:55:04] Production.INFO: 1 [2025-03-09 16:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:55:04] Production.INFO: Account Balance Start. [2025-03-09 16:55:04] Production.INFO: CreateAllLog Start [2025-03-09 16:55:04] Production.INFO: 117 [2025-03-09 16:55:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:55:04] Production.INFO: ==7096== Releasing lock... [2025-03-09 16:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:55:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:55:04] Production.INFO: Total Charge 0 [2025-03-09 16:55:04] Production.INFO: CreateAllLog End [2025-03-09 16:55:04] Production.ERROR: done [2025-03-09 16:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:55:05] Production.INFO: Account Balance End. [2025-03-09 16:55:05] Production.ERROR: CronJobId end 12 [2025-03-09 16:55:05] Production.INFO: ==7092== Releasing lock... [2025-03-09 16:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:55:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:55:05] Production.ERROR: done [2025-03-09 16:55:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:55:06 [end_date_ymd] => 2025-03-09 16:55:06 [RateCDR] => 1 ) [2025-03-09 16: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-09 13:55:06' and `end` < '2025-03-09 16: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-09 16:55:13] Production.ERROR: CronJobId end10 [2025-03-09 16:55:13] Production.INFO: ==7090== Releasing lock... [2025-03-09 16:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:55:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:55:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:55:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:55:14] Production.INFO: call_cost start [2025-03-09 16:55:14] Production.INFO: call_cost end [2025-03-09 16:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:55:15] Production.INFO: ==7086== Releasing lock... [2025-03-09 16:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:55:18] Production.INFO: count ==1021 [2025-03-09 16:55:18] Production.ERROR: pbx CDR StartTime 2025-03-09 13:55:06 - End Time 2025-03-09 16:55:06 [2025-03-09 16:55:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643546', 'tblTempUsageDetail_20' ) start [2025-03-09 16:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643546', 'tblTempUsageDetail_20' ) end [2025-03-09 16:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643546', 'tblTempVendorCDR_20' ) start [2025-03-09 16:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643546', 'tblTempVendorCDR_20' ) end [2025-03-09 16:55:18] Production.INFO: ProcessCDR(1,14643546,1,1,2) [2025-03-09 16:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643546', 'tblTempUsageDetail_20' ) start [2025-03-09 16:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643546', 'tblTempUsageDetail_20' ) end [2025-03-09 16:55:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:55:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:55:21] Production.INFO: ==7094== Releasing lock... [2025-03-09 16:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:55:21] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 20:56:01] Production.INFO: ==7156== Lock acquired, processing the job... [2025-03-09 20:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:56:01] Production.INFO: neon service started [2025-03-09 20:56:01] Production.INFO: neon service started [2025-03-09 20:56:01] Production.INFO: ==7156== Releasing lock... [2025-03-09 20:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:56:02] Production.INFO: ==7158== Lock acquired, processing the job... [2025-03-09 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 20:56:02] Production.INFO: ==7160== Lock acquired, processing the job... [2025-03-09 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:56:02] Production.INFO: ==7160== Releasing lock... [2025-03-09 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:56:02] Production.INFO: ==7158== Releasing lock... [2025-03-09 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:56:03] Production.INFO: ==7163== Lock acquired, processing the job... [2025-03-09 16:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:56:03] Production.INFO: ==7165== Lock acquired, processing the job... [2025-03-09 16:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:56:03] Production.INFO: ==7171== Lock acquired, processing the job... [2025-03-09 16:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:56:03] Production.INFO: ==7167== Lock acquired, processing the job... [2025-03-09 16:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:56:03] Production.INFO: ==7169== Lock acquired, processing the job... [2025-03-09 16:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:56:04] Production.INFO: ==7165== Releasing lock... [2025-03-09 16:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:56:04] Production.INFO: ==7173== Lock acquired, processing the job... [2025-03-09 16:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:56:04] Production.ERROR: done [2025-03-09 16:56:04] Production.INFO: Account Balance Start. [2025-03-09 16:56:04] Production.INFO: CreateAllLog Start [2025-03-09 16:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:56:04] Production.INFO: 117 [2025-03-09 16:56:04] Production.INFO: Date 2025-03-08 [2025-03-09 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-09 16:56:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:56:04] Production.INFO: count ==13 [2025-03-09 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-09 16:56:04] Production.INFO: count ==21 [2025-03-09 16:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643550') start [2025-03-09 16:56:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:56:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:56:04] Production.INFO: Total Charge 0 [2025-03-09 16:56:04] Production.INFO: CreateAllLog End [2025-03-09 16:56:04] Production.ERROR: done [2025-03-09 16:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643550') end [2025-03-09 16:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:56:04] Production.INFO: 1 [2025-03-09 16:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:56:04] Production.INFO: ==7173== Releasing lock... [2025-03-09 16:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:56:04] Production.INFO: Account Balance End. [2025-03-09 16:56:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:56:04] Production.INFO: ==7169== Releasing lock... [2025-03-09 16:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:56:05 [end_date_ymd] => 2025-03-09 16:56:05 [RateCDR] => 1 ) [2025-03-09 16:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:56:05' and `end` < '2025-03-09 16:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:56:11] Production.ERROR: CronJobId end10 [2025-03-09 16:56:11] Production.INFO: ==7167== Releasing lock... [2025-03-09 16:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:56:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:56:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:56:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:56:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:56:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:56:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:56:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:56:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:56:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:56:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:56:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:56:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:56:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:56:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:56:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:56:14] Production.INFO: call_cost start [2025-03-09 16:56:14] Production.INFO: call_cost end [2025-03-09 16:56:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:56:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:56:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:56:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:56:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:56:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:56:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:56:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:56:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:56:15] Production.INFO: ==7163== Releasing lock... [2025-03-09 16:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:56:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:56:17] Production.INFO: count ==1024 [2025-03-09 16:56:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:56:05 - End Time 2025-03-09 16:56:05 [2025-03-09 16:56:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643551', 'tblTempUsageDetail_20' ) start [2025-03-09 16:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643551', 'tblTempUsageDetail_20' ) end [2025-03-09 16:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643551', 'tblTempVendorCDR_20' ) start [2025-03-09 16:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643551', 'tblTempVendorCDR_20' ) end [2025-03-09 16:56:17] Production.INFO: ProcessCDR(1,14643551,1,1,2) [2025-03-09 16:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643551', 'tblTempUsageDetail_20' ) start [2025-03-09 16:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643551', 'tblTempUsageDetail_20' ) end [2025-03-09 16:56:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:56:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:56:22] Production.INFO: ==7171== Releasing lock... [2025-03-09 16:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:56:22] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 20:57:02] Production.INFO: ==7227== Lock acquired, processing the job... [2025-03-09 20:57:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:57:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:57:02] Production.INFO: neon service started [2025-03-09 20:57:02] Production.INFO: neon service started [2025-03-09 20:57:02] Production.INFO: ==7227== Releasing lock... [2025-03-09 20:57:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:57:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 16:57:02] Production.INFO: ==7229== Lock acquired, processing the job... [2025-03-09 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:57:02] Production.INFO: ==7229== Releasing lock... [2025-03-09 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 20:57:03] Production.INFO: ==7231== Lock acquired, processing the job... [2025-03-09 20:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:57:03] Production.INFO: ==7231== Releasing lock... [2025-03-09 20:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:57:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:57:03] Production.INFO: ==7235== Lock acquired, processing the job... [2025-03-09 16:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:57:03] Production.INFO: ==7237== Lock acquired, processing the job... [2025-03-09 16:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:57:03] Production.INFO: ==7239== Lock acquired, processing the job... [2025-03-09 16:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:57:03] Production.INFO: ==7233== Lock acquired, processing the job... [2025-03-09 16:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:57:03] Production.INFO: Account Balance Start. [2025-03-09 16:57:03] Production.INFO: CreateAllLog Start [2025-03-09 16:57:03] Production.INFO: ==7241== Lock acquired, processing the job... [2025-03-09 16:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:57:04] Production.INFO: 117 [2025-03-09 16:57:04] Production.INFO: ==7243== Lock acquired, processing the job... [2025-03-09 16:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:57:04] Production.INFO: ==7235== Releasing lock... [2025-03-09 16:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:57:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:57:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:57:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:57:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:57:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:57:04] Production.INFO: Total Charge 0 [2025-03-09 16:57:04] Production.INFO: CreateAllLog End [2025-03-09 16: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-09 16:57:04] Production.INFO: count ==13 [2025-03-09 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-09 16:57:04] Production.INFO: count ==21 [2025-03-09 16:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643555') start [2025-03-09 16:57:04] Production.ERROR: done [2025-03-09 16:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:57:04] Production.ERROR: done [2025-03-09 16:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643555') end [2025-03-09 16:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:57:04] Production.INFO: 1 [2025-03-09 16:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:57:04] Production.INFO: Account Balance End. [2025-03-09 16:57:04] Production.INFO: ==7243== Releasing lock... [2025-03-09 16:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:57:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:57:04] Production.INFO: ==7239== Releasing lock... [2025-03-09 16:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:57:05 [end_date_ymd] => 2025-03-09 16:57:05 [RateCDR] => 1 ) [2025-03-09 16:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:57:05' and `end` < '2025-03-09 16:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:57:11] Production.ERROR: CronJobId end10 [2025-03-09 16:57:11] Production.INFO: ==7237== Releasing lock... [2025-03-09 16:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:57:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:57:14] Production.INFO: call_cost start [2025-03-09 16:57:14] Production.INFO: call_cost end [2025-03-09 16:57:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:57:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:57:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:57:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:57:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:57:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:57:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:57:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:57:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:57:15] Production.INFO: ==7233== Releasing lock... [2025-03-09 16:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:57:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:57:17] Production.INFO: count ==1020 [2025-03-09 16:57:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:57:05 - End Time 2025-03-09 16:57:05 [2025-03-09 16:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643556', 'tblTempUsageDetail_20' ) start [2025-03-09 16:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643556', 'tblTempUsageDetail_20' ) end [2025-03-09 16:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643556', 'tblTempVendorCDR_20' ) start [2025-03-09 16:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643556', 'tblTempVendorCDR_20' ) end [2025-03-09 16:57:18] Production.INFO: ProcessCDR(1,14643556,1,1,2) [2025-03-09 16:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643556', 'tblTempUsageDetail_20' ) start [2025-03-09 16:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643556', 'tblTempUsageDetail_20' ) end [2025-03-09 16:57:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:57:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:57:22] Production.INFO: ==7241== Releasing lock... [2025-03-09 16:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:57:22] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 20:58:01] Production.INFO: ==7297== Lock acquired, processing the job... [2025-03-09 20:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:58:01] Production.INFO: neon service started [2025-03-09 20:58:01] Production.INFO: neon service started [2025-03-09 20:58:01] Production.INFO: ==7297== Releasing lock... [2025-03-09 20:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 20:58:02] Production.INFO: ==7301== Lock acquired, processing the job... [2025-03-09 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:58:02] Production.INFO: ==7301== Releasing lock... [2025-03-09 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:58:02] Production.INFO: ==7299== Lock acquired, processing the job... [2025-03-09 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:58:02] Production.INFO: ==7299== Releasing lock... [2025-03-09 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:58:03] Production.INFO: ==7309== Lock acquired, processing the job... [2025-03-09 16:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:58:03] Production.INFO: ==7303== Lock acquired, processing the job... [2025-03-09 16:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:58:03] Production.INFO: ==7305== Lock acquired, processing the job... [2025-03-09 16:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:58:03] Production.INFO: Account Balance Start. [2025-03-09 16:58:03] Production.INFO: CreateAllLog Start [2025-03-09 16:58:03] Production.INFO: 117 [2025-03-09 16:58:03] Production.INFO: ==7307== Lock acquired, processing the job... [2025-03-09 16:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:58:03] Production.INFO: Date 2025-03-08 [2025-03-09 16:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:58:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:58:03] Production.INFO: ==7314== Lock acquired, processing the job... [2025-03-09 16:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:58:03] Production.INFO: ==7311== Lock acquired, processing the job... [2025-03-09 16:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:58:03] Production.INFO: Date 2025-03-09 [2025-03-09 16:58:03] Production.INFO: Reseller ==> 0 [2025-03-09 16:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:58:03] Production.INFO: Total Charge 0 [2025-03-09 16:58:03] Production.INFO: count ==13 [2025-03-09 16:58:03] Production.INFO: CreateAllLog End [2025-03-09 16:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:58:03] Production.INFO: count ==21 [2025-03-09 16:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643560') start [2025-03-09 16:58:04] Production.INFO: ==7305== Releasing lock... [2025-03-09 16:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643560') end [2025-03-09 16:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:58:04] Production.INFO: 1 [2025-03-09 16:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:58:04] Production.ERROR: done [2025-03-09 16:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:58:04] Production.INFO: ==7314== Releasing lock... [2025-03-09 16:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:58:04] Production.INFO: Account Balance End. [2025-03-09 16:58:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:58:04] Production.INFO: ==7309== Releasing lock... [2025-03-09 16:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:58:04] Production.ERROR: done [2025-03-09 16:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:58:05 [end_date_ymd] => 2025-03-09 16:58:05 [RateCDR] => 1 ) [2025-03-09 16:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:58:05' and `end` < '2025-03-09 16:58:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:58:12] Production.ERROR: CronJobId end10 [2025-03-09 16:58:12] Production.INFO: ==7307== Releasing lock... [2025-03-09 16:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:58:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:58:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:58:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:58:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:58:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:58:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:58:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:58:15] Production.INFO: call_cost start [2025-03-09 16:58:15] Production.INFO: call_cost end [2025-03-09 16:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:58:16] Production.INFO: ==7303== Releasing lock... [2025-03-09 16:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:58:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:58:17] Production.INFO: count ==1016 [2025-03-09 16:58:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:58:05 - End Time 2025-03-09 16:58:05 [2025-03-09 16:58:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643561', 'tblTempUsageDetail_20' ) start [2025-03-09 16:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643561', 'tblTempUsageDetail_20' ) end [2025-03-09 16:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643561', 'tblTempVendorCDR_20' ) start [2025-03-09 16:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643561', 'tblTempVendorCDR_20' ) end [2025-03-09 16:58:17] Production.INFO: ProcessCDR(1,14643561,1,1,2) [2025-03-09 16:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643561', 'tblTempUsageDetail_20' ) start [2025-03-09 16:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643561', 'tblTempUsageDetail_20' ) end [2025-03-09 16:58:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:58:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:58:22] Production.INFO: ==7311== Releasing lock... [2025-03-09 16:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:58:22] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 20:59:02] Production.INFO: ==7367== Lock acquired, processing the job... [2025-03-09 20:59:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 20:59:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 20:59:02] Production.INFO: neon service started [2025-03-09 20:59:02] Production.INFO: neon service started [2025-03-09 20:59:02] Production.INFO: ==7367== Releasing lock... [2025-03-09 20:59:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 20:59:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 20:59:02] Production.INFO: ==7371== Lock acquired, processing the job... [2025-03-09 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 20:59:02] Production.INFO: ==7371== Releasing lock... [2025-03-09 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 20:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 16:59:02] Production.INFO: ==7369== Lock acquired, processing the job... [2025-03-09 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 16:59:02] Production.INFO: ==7369== Releasing lock... [2025-03-09 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 16:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 16:59:03] Production.INFO: ==7382== Lock acquired, processing the job... [2025-03-09 16:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 16:59:03] Production.INFO: ==7374== Lock acquired, processing the job... [2025-03-09 16:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 16:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 16:59:03] Production.INFO: ==7384== Lock acquired, processing the job... [2025-03-09 16:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 16:59:03] Production.INFO: ==7376== Lock acquired, processing the job... [2025-03-09 16:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 16:59:03] Production.INFO: ==7378== Lock acquired, processing the job... [2025-03-09 16:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 16:59:04] Production.INFO: ==7380== Lock acquired, processing the job... [2025-03-09 16:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 16:59:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 16:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 16:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 16:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 16:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 16:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:59:04] Production.INFO: Account Balance Start. [2025-03-09 16:59:04] Production.INFO: CreateAllLog Start [2025-03-09 16:59:04] Production.INFO: 117 [2025-03-09 16:59:04] Production.INFO: count ==13 [2025-03-09 16:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 16:59:04] Production.INFO: count ==21 [2025-03-09 16:59:04] Production.INFO: Date 2025-03-08 [2025-03-09 16:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643562') start [2025-03-09 16:59:04] Production.ERROR: done [2025-03-09 16:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 16:59:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:59:04] Production.INFO: Date 2025-03-09 [2025-03-09 16:59:04] Production.INFO: Reseller ==> 0 [2025-03-09 16:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643562') end [2025-03-09 16:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 16:59:04] Production.INFO: 1 [2025-03-09 16:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 16:59:04] Production.ERROR: done [2025-03-09 16:59:04] Production.INFO: ==7376== Releasing lock... [2025-03-09 16:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 16:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 16:59:04] Production.INFO: ==7384== Releasing lock... [2025-03-09 16:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 16:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 16:59:04] Production.INFO: Total Charge 0 [2025-03-09 16:59:04] Production.INFO: CreateAllLog End [2025-03-09 16:59:04] Production.INFO: Account Balance End. [2025-03-09 16:59:04] Production.ERROR: CronJobId end 12 [2025-03-09 16:59:04] Production.INFO: ==7380== Releasing lock... [2025-03-09 16:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 16:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 16:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 13:59:05 [end_date_ymd] => 2025-03-09 16:59:05 [RateCDR] => 1 ) [2025-03-09 16:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 13:59:05' and `end` < '2025-03-09 16:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 16:59:12] Production.ERROR: CronJobId end10 [2025-03-09 16:59:12] Production.INFO: ==7378== Releasing lock... [2025-03-09 16:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 16:59:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 16:59:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 16:59:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 16:59:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 16:59:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 16:59:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 16:59:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 16:59:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 16:59:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 16:59:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 16:59:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 16:59:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 16:59:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 16:59:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 16:59:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 16:59:15] Production.INFO: call_cost start [2025-03-09 16:59:15] Production.INFO: call_cost end [2025-03-09 16:59:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 16:59:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 16:59:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 16:59:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 16:59:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 16:59:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 16:59:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 16:59:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 16:59:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 16:59:16] Production.INFO: ==7374== Releasing lock... [2025-03-09 16:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 16:59:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 16:59:17] Production.INFO: count ==1018 [2025-03-09 16:59:17] Production.ERROR: pbx CDR StartTime 2025-03-09 13:59:05 - End Time 2025-03-09 16:59:05 [2025-03-09 16:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 16:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643566', 'tblTempUsageDetail_20' ) start [2025-03-09 16:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643566', 'tblTempUsageDetail_20' ) end [2025-03-09 16:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643566', 'tblTempVendorCDR_20' ) start [2025-03-09 16:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643566', 'tblTempVendorCDR_20' ) end [2025-03-09 16:59:17] Production.INFO: ProcessCDR(1,14643566,1,1,2) [2025-03-09 16:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 16:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 16:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643566', 'tblTempUsageDetail_20' ) start [2025-03-09 16:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643566', 'tblTempUsageDetail_20' ) end [2025-03-09 16:59:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 16:59:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 16:59:21] Production.INFO: ==7382== Releasing lock... [2025-03-09 16:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 16:59:21] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 21:00:01] Production.INFO: ==7438== Lock acquired, processing the job... [2025-03-09 21:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:00:01] Production.INFO: neon service started [2025-03-09 21:00:01] Production.INFO: neon service started [2025-03-09 21:00:01] Production.INFO: ==7438== Releasing lock... [2025-03-09 21:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 21:00:02] Production.INFO: ==7442== Lock acquired, processing the job... [2025-03-09 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:00:02] Production.INFO: ==7442== Releasing lock... [2025-03-09 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:00:02] Production.INFO: ==7440== Lock acquired, processing the job... [2025-03-09 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:00:02] Production.INFO: ==7440== Releasing lock... [2025-03-09 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:00:03] Production.INFO: ==7445== Lock acquired, processing the job... [2025-03-09 17:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 17:00:03] Production.INFO: ==7449== Lock acquired, processing the job... [2025-03-09 17:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:00:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 17:00:03] Production.INFO: ==7455== Lock acquired, processing the job... [2025-03-09 17:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:00:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 17:00:03] Production.INFO: ==7445== Releasing lock... [2025-03-09 17:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 17:00:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 17:00:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:00:03] Production.INFO: ==7447== Lock acquired, processing the job... [2025-03-09 17:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:00:03] Production.INFO: ==7451== Lock acquired, processing the job... [2025-03-09 17:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:00:04] Production.INFO: ==7453== Lock acquired, processing the job... [2025-03-09 17:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:00:04] Production.INFO: ==7459== Lock acquired, processing the job... [2025-03-09 17:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:00:04] Production.INFO: ==7457== Lock acquired, processing the job... [2025-03-09 17:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 17:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:00:04] Production.INFO: Account Balance Start. [2025-03-09 17:00:04] Production.INFO: CreateAllLog Start [2025-03-09 17:00:04] Production.INFO: 117 [2025-03-09 17:00:04] Production.ERROR: done [2025-03-09 17:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:00:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:00:04] Production.INFO: ==7449== Releasing lock... [2025-03-09 17:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:00:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 17:00:04] Production.INFO: count ==13 [2025-03-09 17:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 17:00:04] Production.INFO: count ==21 [2025-03-09 17:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643570') start [2025-03-09 17:00:04] Production.INFO: Total Charge 0 [2025-03-09 17:00:04] Production.ERROR: done [2025-03-09 17:00:04] Production.INFO: CreateAllLog End [2025-03-09 17:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643570') end [2025-03-09 17:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:00:04] Production.INFO: 1 [2025-03-09 17:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:00:04] Production.INFO: ==7459== Releasing lock... [2025-03-09 17:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:00:04] Production.ERROR: done [2025-03-09 17:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 17:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643572', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 17:00:04] Production.INFO: Account Balance End. [2025-03-09 17:00:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:00:04] Production.INFO: ==7453== Releasing lock... [2025-03-09 17:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:00:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:00:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:00:05 [end_date_ymd] => 2025-03-09 17:00:05 [RateCDR] => 1 ) [2025-03-09 17:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 14:00:05' and `end` < '2025-03-09 17:00:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 17:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643572', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 17:00:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 17:00:08] Production.INFO: ProcessCDR(1,14643572,1,1,2) [2025-03-09 17:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14643572,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14643572,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:00:09] Production.INFO: ==7457== Releasing lock... [2025-03-09 17:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 17:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 17:00:13] Production.ERROR: CronJobId end10 [2025-03-09 17:00:13] Production.INFO: ==7451== Releasing lock... [2025-03-09 17:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:00:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:00:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:00:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:00:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:00:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:00:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:00:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:00:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:00:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:00:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:00:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:00:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:00:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:00:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:00:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:00:15] Production.INFO: call_cost start [2025-03-09 17:00:15] Production.INFO: call_cost end [2025-03-09 17:00:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:00:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:00:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:00:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:00:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:00:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:00:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:00:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:00:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:00:16] Production.INFO: ==7447== Releasing lock... [2025-03-09 17:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:00:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:00:18] Production.INFO: count ==1016 [2025-03-09 17:00:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:00:05 - End Time 2025-03-09 17:00:05 [2025-03-09 17:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643571', 'tblTempUsageDetail_20' ) start [2025-03-09 17:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643571', 'tblTempUsageDetail_20' ) end [2025-03-09 17:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643571', 'tblTempVendorCDR_20' ) start [2025-03-09 17:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643571', 'tblTempVendorCDR_20' ) end [2025-03-09 17:00:18] Production.INFO: ProcessCDR(1,14643571,1,1,2) [2025-03-09 17:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643571', 'tblTempUsageDetail_20' ) start [2025-03-09 17:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643571', 'tblTempUsageDetail_20' ) end [2025-03-09 17:00:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:00:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:00:21] Production.INFO: ==7455== Releasing lock... [2025-03-09 17:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:00:21] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 21:01:01] Production.INFO: ==7524== Lock acquired, processing the job... [2025-03-09 21:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:01:01] Production.INFO: neon service started [2025-03-09 21:01:01] Production.INFO: neon service started [2025-03-09 21:01:01] Production.INFO: ==7524== Releasing lock... [2025-03-09 21:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:01:02] Production.INFO: ==7538== Lock acquired, processing the job... [2025-03-09 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:01:02] Production.INFO: ==7538== Releasing lock... [2025-03-09 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:01:02] Production.INFO: ==7540== Lock acquired, processing the job... [2025-03-09 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:01:02] Production.INFO: ==7540== Releasing lock... [2025-03-09 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:01:03] Production.INFO: ==7548== Lock acquired, processing the job... [2025-03-09 17:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:01:03] Production.INFO: ==7542== Lock acquired, processing the job... [2025-03-09 17:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:01:03] Production.INFO: Account Balance Start. [2025-03-09 17:01:03] Production.INFO: CreateAllLog Start [2025-03-09 17:01:03] Production.INFO: 117 [2025-03-09 17:01:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:01:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:01:03] Production.INFO: ==7552== Lock acquired, processing the job... [2025-03-09 17:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:01:03] Production.INFO: ==7544== Lock acquired, processing the job... [2025-03-09 17:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:01:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:01:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:01:03] Production.INFO: Total Charge 0 [2025-03-09 17:01:03] Production.INFO: ==7546== Lock acquired, processing the job... [2025-03-09 17:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:01:03] Production.INFO: CreateAllLog End [2025-03-09 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-09 17:01:03] Production.INFO: ==7550== Lock acquired, processing the job... [2025-03-09 17:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:01:03] Production.INFO: count ==13 [2025-03-09 17:01:03] Production.INFO: Account Balance End. [2025-03-09 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-09 17:01:03] Production.INFO: count ==21 [2025-03-09 17:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643575') start [2025-03-09 17:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:01:03] Production.ERROR: CronJobId end 12 [2025-03-09 17:01:03] Production.INFO: ==7548== Releasing lock... [2025-03-09 17:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:01:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643575') end [2025-03-09 17:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:01:04] Production.INFO: 1 [2025-03-09 17:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:01:04] Production.INFO: ==7552== Releasing lock... [2025-03-09 17:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:01:04] Production.INFO: ==7544== Releasing lock... [2025-03-09 17:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:01:04] Production.ERROR: done [2025-03-09 17:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:01:04] Production.ERROR: done [2025-03-09 17:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:01:05 [end_date_ymd] => 2025-03-09 17:01:05 [RateCDR] => 1 ) [2025-03-09 17:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 14:01:05' and `end` < '2025-03-09 17:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 17:01:12] Production.ERROR: CronJobId end10 [2025-03-09 17:01:12] Production.INFO: ==7546== Releasing lock... [2025-03-09 17:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:01:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:01:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:01:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:01:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:01:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:01:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:01:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:01:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:01:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:01:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:01:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:01:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:01:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:01:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:01:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:01:14] Production.INFO: call_cost start [2025-03-09 17:01:14] Production.INFO: call_cost end [2025-03-09 17:01:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:01:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:01:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:01:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:01:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:01:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:01:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:01:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:01:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:01:15] Production.INFO: ==7542== Releasing lock... [2025-03-09 17:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:01:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:01:18] Production.INFO: count ==1061 [2025-03-09 17:01:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:01:05 - End Time 2025-03-09 17:01:05 [2025-03-09 17:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643577', 'tblTempUsageDetail_20' ) start [2025-03-09 17:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643577', 'tblTempUsageDetail_20' ) end [2025-03-09 17:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643577', 'tblTempVendorCDR_20' ) start [2025-03-09 17:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643577', 'tblTempVendorCDR_20' ) end [2025-03-09 17:01:18] Production.INFO: ProcessCDR(1,14643577,1,1,2) [2025-03-09 17:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643577', 'tblTempUsageDetail_20' ) start [2025-03-09 17:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643577', 'tblTempUsageDetail_20' ) end [2025-03-09 17:01:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:01:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:01:23] Production.INFO: ==7550== Releasing lock... [2025-03-09 17:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:01:23] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 21:02:02] Production.INFO: ==7611== Lock acquired, processing the job... [2025-03-09 21:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:02:02] Production.INFO: neon service started [2025-03-09 21:02:02] Production.INFO: neon service started [2025-03-09 21:02:02] Production.INFO: ==7611== Releasing lock... [2025-03-09 21:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:02:02] Production.INFO: ==7613== Lock acquired, processing the job... [2025-03-09 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:02:03] Production.INFO: ==7613== Releasing lock... [2025-03-09 17:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:02:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:02:03] Production.INFO: ==7615== Lock acquired, processing the job... [2025-03-09 21:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:02:03] Production.INFO: ==7615== Releasing lock... [2025-03-09 21:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:02:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:02:03] Production.INFO: ==7618== Lock acquired, processing the job... [2025-03-09 17:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:02:03] Production.INFO: ==7620== Lock acquired, processing the job... [2025-03-09 17:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:02:03] Production.INFO: ==7626== Lock acquired, processing the job... [2025-03-09 17:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:02:04] Production.INFO: ==7620== Releasing lock... [2025-03-09 17:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:02:04] Production.INFO: ==7622== Lock acquired, processing the job... [2025-03-09 17:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:02:04] Production.INFO: ==7628== Lock acquired, processing the job... [2025-03-09 17:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:02:04] Production.INFO: ==7624== Lock acquired, processing the job... [2025-03-09 17:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:02:04] Production.ERROR: done [2025-03-09 17:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:02:04] Production.INFO: Account Balance Start. [2025-03-09 17:02:04] Production.INFO: CreateAllLog Start [2025-03-09 17:02:04] Production.INFO: 117 [2025-03-09 17:02:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 17:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:02:04] Production.INFO: count ==13 [2025-03-09 17:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 17:02:04] Production.INFO: count ==21 [2025-03-09 17:02:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643580') start [2025-03-09 17:02:04] Production.ERROR: done [2025-03-09 17:02:04] Production.INFO: Total Charge 0 [2025-03-09 17:02:04] Production.INFO: CreateAllLog End [2025-03-09 17:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643580') end [2025-03-09 17:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:02:04] Production.INFO: 1 [2025-03-09 17:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:02:04] Production.INFO: ==7628== Releasing lock... [2025-03-09 17:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:02:04] Production.INFO: Account Balance End. [2025-03-09 17:02:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:02:04] Production.INFO: ==7624== Releasing lock... [2025-03-09 17:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:02:05 [end_date_ymd] => 2025-03-09 17:02:05 [RateCDR] => 1 ) [2025-03-09 17:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 14:02:05' and `end` < '2025-03-09 17:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 17:02:12] Production.ERROR: CronJobId end10 [2025-03-09 17:02:12] Production.INFO: ==7622== Releasing lock... [2025-03-09 17:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:02:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:02:14] Production.INFO: call_cost start [2025-03-09 17:02:14] Production.INFO: call_cost end [2025-03-09 17:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:02:15] Production.INFO: ==7618== Releasing lock... [2025-03-09 17:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:02:17] Production.INFO: count ==1062 [2025-03-09 17:02:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:02:05 - End Time 2025-03-09 17:02:05 [2025-03-09 17:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643582', 'tblTempUsageDetail_20' ) start [2025-03-09 17:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643582', 'tblTempUsageDetail_20' ) end [2025-03-09 17:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643582', 'tblTempVendorCDR_20' ) start [2025-03-09 17:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643582', 'tblTempVendorCDR_20' ) end [2025-03-09 17:02:17] Production.INFO: ProcessCDR(1,14643582,1,1,2) [2025-03-09 17:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643582', 'tblTempUsageDetail_20' ) start [2025-03-09 17:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643582', 'tblTempUsageDetail_20' ) end [2025-03-09 17:02:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:02:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:02:22] Production.INFO: ==7626== Releasing lock... [2025-03-09 17:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:02:22] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 21:03:01] Production.INFO: ==7680== Lock acquired, processing the job... [2025-03-09 21:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:03:01] Production.INFO: neon service started [2025-03-09 21:03:01] Production.INFO: neon service started [2025-03-09 21:03:01] Production.INFO: ==7680== Releasing lock... [2025-03-09 21:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:03:02] Production.INFO: ==7683== Lock acquired, processing the job... [2025-03-09 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 21:03:02] Production.INFO: ==7685== Lock acquired, processing the job... [2025-03-09 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:03:02] Production.INFO: ==7685== Releasing lock... [2025-03-09 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:03:02] Production.INFO: ==7683== Releasing lock... [2025-03-09 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:03:03] Production.INFO: ==7691== Lock acquired, processing the job... [2025-03-09 17:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:03:03] Production.INFO: ==7697== Lock acquired, processing the job... [2025-03-09 17:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:03:03] Production.INFO: ==7687== Lock acquired, processing the job... [2025-03-09 17:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:03:03] Production.INFO: ==7689== Lock acquired, processing the job... [2025-03-09 17:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 17:03:03] Production.INFO: ==7693== Lock acquired, processing the job... [2025-03-09 17:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:03:03] Production.INFO: count ==13 [2025-03-09 17:03:03] Production.INFO: ==7695== Lock acquired, processing the job... [2025-03-09 17:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 17:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:03:03] Production.INFO: count ==21 [2025-03-09 17:03:03] Production.INFO: Account Balance Start. [2025-03-09 17:03:03] Production.INFO: CreateAllLog Start [2025-03-09 17:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643583') start [2025-03-09 17:03:03] Production.INFO: 117 [2025-03-09 17:03:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:03:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:03:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643583') end [2025-03-09 17:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:03:04] Production.INFO: 1 [2025-03-09 17:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:03:04] Production.INFO: Total Charge 0 [2025-03-09 17:03:04] Production.INFO: CreateAllLog End [2025-03-09 17:03:04] Production.INFO: ==7697== Releasing lock... [2025-03-09 17:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:03:04] Production.INFO: ==7689== Releasing lock... [2025-03-09 17:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:03:04] Production.ERROR: done [2025-03-09 17:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:03:04] Production.INFO: Account Balance End. [2025-03-09 17:03:04] Production.ERROR: done [2025-03-09 17:03:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:03:04] Production.INFO: ==7693== Releasing lock... [2025-03-09 17:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:03:05 [end_date_ymd] => 2025-03-09 17:03:05 [RateCDR] => 1 ) [2025-03-09 17:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 14:03:05' and `end` < '2025-03-09 17:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 17:03:11] Production.ERROR: CronJobId end10 [2025-03-09 17:03:11] Production.INFO: ==7691== Releasing lock... [2025-03-09 17:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:03:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:03:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:03:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:03:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:03:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:03:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:03:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:03:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:03:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:03:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:03:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:03:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:03:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:03:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:03:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:03:15] Production.INFO: call_cost start [2025-03-09 17:03:15] Production.INFO: call_cost end [2025-03-09 17:03:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:03:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:03:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:03:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:03:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:03:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:03:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:03:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:03:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:03:16] Production.INFO: ==7687== Releasing lock... [2025-03-09 17:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:03:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:03:17] Production.INFO: count ==1065 [2025-03-09 17:03:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:03:05 - End Time 2025-03-09 17:03:05 [2025-03-09 17:03:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643587', 'tblTempUsageDetail_20' ) start [2025-03-09 17:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643587', 'tblTempUsageDetail_20' ) end [2025-03-09 17:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643587', 'tblTempVendorCDR_20' ) start [2025-03-09 17:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643587', 'tblTempVendorCDR_20' ) end [2025-03-09 17:03:18] Production.INFO: ProcessCDR(1,14643587,1,1,2) [2025-03-09 17:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643587', 'tblTempUsageDetail_20' ) start [2025-03-09 17:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643587', 'tblTempUsageDetail_20' ) end [2025-03-09 17:03:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:03:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:03:23] Production.INFO: ==7695== Releasing lock... [2025-03-09 17:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:03:23] Production.INFO: 37 MB #Memory Used# [2025-03-09 21:04:02] Production.INFO: ==7752== Lock acquired, processing the job... [2025-03-09 21:04:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:04:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:04:02] Production.INFO: neon service started [2025-03-09 21:04:02] Production.INFO: neon service started [2025-03-09 21:04:02] Production.INFO: ==7752== Releasing lock... [2025-03-09 21:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:04:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 17:04:02] Production.INFO: ==7754== Lock acquired, processing the job... [2025-03-09 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 21:04:02] Production.INFO: ==7757== Lock acquired, processing the job... [2025-03-09 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:04:02] Production.INFO: ==7757== Releasing lock... [2025-03-09 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:04:03] Production.INFO: ==7754== Releasing lock... [2025-03-09 17:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:04:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:04:04] Production.INFO: ==7759== Lock acquired, processing the job... [2025-03-09 17:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:04:04] Production.INFO: ==7761== Lock acquired, processing the job... [2025-03-09 17:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:04:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:04:04] Production.INFO: ==7765== Lock acquired, processing the job... [2025-03-09 17:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:04:04] Production.INFO: ==7767== Lock acquired, processing the job... [2025-03-09 17:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:04:04] Production.INFO: ==7763== Lock acquired, processing the job... [2025-03-09 17:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:04:04] Production.INFO: Account Balance Start. [2025-03-09 17:04:04] Production.INFO: CreateAllLog Start [2025-03-09 17:04:04] Production.INFO: 117 [2025-03-09 17:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:04:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:04:04] Production.INFO: ==7769== Lock acquired, processing the job... [2025-03-09 17:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:04:04] Production.INFO: ==7761== Releasing lock... [2025-03-09 17:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:04:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:04:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 17:04:04] Production.INFO: count ==13 [2025-03-09 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-09 17:04:04] Production.INFO: count ==21 [2025-03-09 17:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643591') start [2025-03-09 17:04:04] Production.ERROR: done [2025-03-09 17:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643591') end [2025-03-09 17:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:04:04] Production.INFO: 1 [2025-03-09 17:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:04:04] Production.INFO: ==7769== Releasing lock... [2025-03-09 17:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:04:04] Production.INFO: Total Charge 0 [2025-03-09 17:04:05] Production.INFO: CreateAllLog End [2025-03-09 17:04:05] Production.ERROR: done [2025-03-09 17:04:05] Production.INFO: Account Balance End. [2025-03-09 17:04:05] Production.ERROR: CronJobId end 12 [2025-03-09 17:04:05] Production.INFO: ==7765== Releasing lock... [2025-03-09 17:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:04:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:04:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:04:06 [end_date_ymd] => 2025-03-09 17:04:06 [RateCDR] => 1 ) [2025-03-09 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-09 14:04:06' and `end` < '2025-03-09 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-09 17:04:12] Production.ERROR: CronJobId end10 [2025-03-09 17:04:12] Production.INFO: ==7763== Releasing lock... [2025-03-09 17:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:04:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:04:14] Production.INFO: call_cost start [2025-03-09 17:04:14] Production.INFO: call_cost end [2025-03-09 17:04:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:04:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:04:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:04:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:04:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:04:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:04:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:04:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:04:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:04:15] Production.INFO: ==7759== Releasing lock... [2025-03-09 17:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:04:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:04:18] Production.INFO: count ==1064 [2025-03-09 17:04:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:04:06 - End Time 2025-03-09 17:04:06 [2025-03-09 17:04:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643592', 'tblTempUsageDetail_20' ) start [2025-03-09 17:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643592', 'tblTempUsageDetail_20' ) end [2025-03-09 17:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643592', 'tblTempVendorCDR_20' ) start [2025-03-09 17:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643592', 'tblTempVendorCDR_20' ) end [2025-03-09 17:04:18] Production.INFO: ProcessCDR(1,14643592,1,1,2) [2025-03-09 17:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643592', 'tblTempUsageDetail_20' ) start [2025-03-09 17:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643592', 'tblTempUsageDetail_20' ) end [2025-03-09 17:04:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:04:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:04:21] Production.INFO: ==7767== Releasing lock... [2025-03-09 17:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:04:21] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 21:05:01] Production.INFO: ==7821== Lock acquired, processing the job... [2025-03-09 21:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:05:01] Production.INFO: neon service started [2025-03-09 21:05:01] Production.INFO: neon service started [2025-03-09 21:05:01] Production.INFO: ==7821== Releasing lock... [2025-03-09 21:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:05:02] Production.INFO: ==7823== Lock acquired, processing the job... [2025-03-09 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:05:02] Production.INFO: ==7823== Releasing lock... [2025-03-09 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:05:02] Production.INFO: ==7825== Lock acquired, processing the job... [2025-03-09 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:05:02] Production.INFO: ==7825== Releasing lock... [2025-03-09 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:05:03] Production.INFO: ==7828== Lock acquired, processing the job... [2025-03-09 17:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:05:03] Production.INFO: ==7836== Lock acquired, processing the job... [2025-03-09 17:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:05:03] Production.INFO: ==7830== Lock acquired, processing the job... [2025-03-09 17:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:05:03] Production.INFO: ==7838== Lock acquired, processing the job... [2025-03-09 17:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:05:03] Production.INFO: ==7832== Lock acquired, processing the job... [2025-03-09 17:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:05:03] Production.INFO: ==7834== Lock acquired, processing the job... [2025-03-09 17:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 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-09 17:05:03] Production.INFO: Account Balance Start. [2025-03-09 17:05:03] Production.INFO: CreateAllLog Start [2025-03-09 17:05:03] Production.INFO: 117 [2025-03-09 17:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:05:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:05:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:05:03] Production.INFO: count ==13 [2025-03-09 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-09 17:05:03] Production.INFO: count ==21 [2025-03-09 17:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643594') start [2025-03-09 17:05:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:05:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:05:03] Production.ERROR: done [2025-03-09 17:05:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:05:03] Production.INFO: Total Charge 0 [2025-03-09 17:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643594') end [2025-03-09 17:05:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:05:03] Production.INFO: 1 [2025-03-09 17:05:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:05:03] Production.INFO: CreateAllLog End [2025-03-09 17:05:03] Production.INFO: ==7838== Releasing lock... [2025-03-09 17:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:05:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:05:03] Production.INFO: ==7830== Releasing lock... [2025-03-09 17:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:05:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:05:04] Production.ERROR: done [2025-03-09 17:05:04] Production.INFO: Account Balance End. [2025-03-09 17:05:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:05:04] Production.INFO: ==7834== Releasing lock... [2025-03-09 17:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:05:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:05:04 [end_date_ymd] => 2025-03-09 17:05:04 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:05:04' and `end` < '2025-03-09 17: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-09 17:05:11] Production.ERROR: CronJobId end10 [2025-03-09 17:05:11] Production.INFO: ==7832== Releasing lock... [2025-03-09 17:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:05:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:05:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:05:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:05:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:05:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:05:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:05:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:05:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:05:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:05:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:05:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:05:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:05:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:05:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:05:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:05:14] Production.INFO: call_cost start [2025-03-09 17:05:14] Production.INFO: call_cost end [2025-03-09 17:05:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:05:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:05:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:05:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:05:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:05:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:05:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:05:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:05:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:05:14] Production.INFO: ==7828== Releasing lock... [2025-03-09 17:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:05:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:05:17] Production.INFO: count ==1066 [2025-03-09 17:05:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:05:04 - End Time 2025-03-09 17:05:04 [2025-03-09 17:05:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643597', 'tblTempUsageDetail_20' ) start [2025-03-09 17:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643597', 'tblTempUsageDetail_20' ) end [2025-03-09 17:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643597', 'tblTempVendorCDR_20' ) start [2025-03-09 17:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643597', 'tblTempVendorCDR_20' ) end [2025-03-09 17:05:17] Production.INFO: ProcessCDR(1,14643597,1,1,2) [2025-03-09 17:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643597', 'tblTempUsageDetail_20' ) start [2025-03-09 17:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643597', 'tblTempUsageDetail_20' ) end [2025-03-09 17:05:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:05:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:05:20] Production.INFO: ==7836== Releasing lock... [2025-03-09 17:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:05:20] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 21:06:02] Production.INFO: ==7896== Lock acquired, processing the job... [2025-03-09 21:06:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:06:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:06:02] Production.INFO: neon service started [2025-03-09 21:06:02] Production.INFO: neon service started [2025-03-09 21:06:02] Production.INFO: ==7896== Releasing lock... [2025-03-09 21:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:06:02] Production.INFO: ==7898== Lock acquired, processing the job... [2025-03-09 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:06:02] Production.INFO: ==7898== Releasing lock... [2025-03-09 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:06:02] Production.INFO: ==7900== Lock acquired, processing the job... [2025-03-09 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:06:02] Production.INFO: ==7900== Releasing lock... [2025-03-09 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:06:03] Production.INFO: ==7908== Lock acquired, processing the job... [2025-03-09 17:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:06:03] Production.INFO: ==7912== Lock acquired, processing the job... [2025-03-09 17:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:06:03] Production.INFO: Account Balance Start. [2025-03-09 17:06:03] Production.INFO: CreateAllLog Start [2025-03-09 17:06:03] Production.INFO: 117 [2025-03-09 17:06:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:06:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:06:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:06:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:06:03] Production.INFO: Total Charge 0 [2025-03-09 17: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-09 17:06:03] Production.INFO: CreateAllLog End [2025-03-09 17:06:03] Production.INFO: ==7902== Lock acquired, processing the job... [2025-03-09 17:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:06:03] Production.INFO: ==7904== Lock acquired, processing the job... [2025-03-09 17:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:06:03] Production.INFO: count ==13 [2025-03-09 17: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-09 17:06:03] Production.INFO: count ==21 [2025-03-09 17:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643599') start [2025-03-09 17:06:04] Production.INFO: ==7906== Lock acquired, processing the job... [2025-03-09 17:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:06:04] Production.INFO: Account Balance End. [2025-03-09 17:06:04] Production.INFO: ==7910== Lock acquired, processing the job... [2025-03-09 17:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:06:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:06:04] Production.INFO: ==7908== Releasing lock... [2025-03-09 17:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643599') end [2025-03-09 17:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:06:04] Production.INFO: 1 [2025-03-09 17:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:06:04] Production.INFO: ==7912== Releasing lock... [2025-03-09 17:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:06:04] Production.INFO: ==7904== Releasing lock... [2025-03-09 17:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:06:04] Production.ERROR: done [2025-03-09 17:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:06:04] Production.ERROR: done [2025-03-09 17:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:06:05 [end_date_ymd] => 2025-03-09 17:06:05 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:06:05' and `end` < '2025-03-09 17: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-09 17:06:11] Production.ERROR: CronJobId end10 [2025-03-09 17:06:11] Production.INFO: ==7906== Releasing lock... [2025-03-09 17:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:06:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:06:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:06:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:06:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:06:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:06:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:06:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:06:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:06:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:06:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:06:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:06:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:06:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:06:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:06:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:06:14] Production.INFO: call_cost start [2025-03-09 17:06:14] Production.INFO: call_cost end [2025-03-09 17:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:06:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:06:15] Production.INFO: ==7902== Releasing lock... [2025-03-09 17:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:06:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:06:17] Production.INFO: count ==1065 [2025-03-09 17:06:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:06:05 - End Time 2025-03-09 17:06:05 [2025-03-09 17:06:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643602', 'tblTempUsageDetail_20' ) start [2025-03-09 17:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643602', 'tblTempUsageDetail_20' ) end [2025-03-09 17:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643602', 'tblTempVendorCDR_20' ) start [2025-03-09 17:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643602', 'tblTempVendorCDR_20' ) end [2025-03-09 17:06:17] Production.INFO: ProcessCDR(1,14643602,1,1,2) [2025-03-09 17:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643602', 'tblTempUsageDetail_20' ) start [2025-03-09 17:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643602', 'tblTempUsageDetail_20' ) end [2025-03-09 17:06:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:06:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:06:22] Production.INFO: ==7910== Releasing lock... [2025-03-09 17:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:06:22] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 21:07:01] Production.INFO: ==7968== Lock acquired, processing the job... [2025-03-09 21:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:07:01] Production.INFO: neon service started [2025-03-09 21:07:01] Production.INFO: neon service started [2025-03-09 21:07:01] Production.INFO: ==7968== Releasing lock... [2025-03-09 21:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 21:07:01] Production.INFO: ==7973== Lock acquired, processing the job... [2025-03-09 21:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:07:01] Production.INFO: ==7973== Releasing lock... [2025-03-09 21:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:07:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:07:02] Production.INFO: ==7971== Lock acquired, processing the job... [2025-03-09 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:07:02] Production.INFO: ==7971== Releasing lock... [2025-03-09 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:07:03] Production.INFO: ==7980== Lock acquired, processing the job... [2025-03-09 17:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:07:03] Production.INFO: ==7975== Lock acquired, processing the job... [2025-03-09 17:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:07:03] Production.INFO: ==7977== Lock acquired, processing the job... [2025-03-09 17:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:07:03] Production.INFO: ==7982== Lock acquired, processing the job... [2025-03-09 17:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:07:03] Production.INFO: ==7986== Lock acquired, processing the job... [2025-03-09 17:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:07:03] Production.INFO: ==7984== Lock acquired, processing the job... [2025-03-09 17:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:07:03] Production.INFO: Account Balance Start. [2025-03-09 17:07:03] Production.INFO: CreateAllLog Start [2025-03-09 17:07:03] Production.INFO: 117 [2025-03-09 17:07:03] Production.INFO: Date 2025-03-08 [2025-03-09 17: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-09 17:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:07:03] Production.INFO: count ==13 [2025-03-09 17: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-09 17:07:03] Production.INFO: count ==21 [2025-03-09 17:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643606') start [2025-03-09 17:07:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643606') end [2025-03-09 17:07:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:07:03] Production.INFO: 1 [2025-03-09 17:07:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:07:03] Production.INFO: Total Charge 0 [2025-03-09 17:07:04] Production.INFO: CreateAllLog End [2025-03-09 17:07:04] Production.INFO: ==7986== Releasing lock... [2025-03-09 17:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:07:04] Production.INFO: ==7977== Releasing lock... [2025-03-09 17:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:07:04] Production.ERROR: done [2025-03-09 17:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:07:04] Production.INFO: Account Balance End. [2025-03-09 17:07:04] Production.ERROR: done [2025-03-09 17:07:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:07:04] Production.INFO: ==7982== Releasing lock... [2025-03-09 17:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:07:05 [end_date_ymd] => 2025-03-09 17:07:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:07:05' and `end` < '2025-03-09 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-09 17:07:12] Production.ERROR: CronJobId end10 [2025-03-09 17:07:12] Production.INFO: ==7980== Releasing lock... [2025-03-09 17:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:07:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:07:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:07:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:07:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:07:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:07:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:07:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:07:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:07:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:07:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:07:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:07:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:07:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:07:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:07:14] Production.INFO: call_cost start [2025-03-09 17:07:14] Production.INFO: call_cost end [2025-03-09 17:07:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:07:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:07:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:07:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:07:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:07:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:07:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:07:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:07:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:07:15] Production.INFO: ==7975== Releasing lock... [2025-03-09 17:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:07:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:07:17] Production.INFO: count ==1067 [2025-03-09 17:07:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:07:05 - End Time 2025-03-09 17:07:05 [2025-03-09 17:07:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643607', 'tblTempUsageDetail_20' ) start [2025-03-09 17:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643607', 'tblTempUsageDetail_20' ) end [2025-03-09 17:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643607', 'tblTempVendorCDR_20' ) start [2025-03-09 17:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643607', 'tblTempVendorCDR_20' ) end [2025-03-09 17:07:17] Production.INFO: ProcessCDR(1,14643607,1,1,2) [2025-03-09 17:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643607', 'tblTempUsageDetail_20' ) start [2025-03-09 17:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643607', 'tblTempUsageDetail_20' ) end [2025-03-09 17:07:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:07:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:07:22] Production.INFO: ==7984== Releasing lock... [2025-03-09 17:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:07:22] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 21:08:02] Production.INFO: ==8044== Lock acquired, processing the job... [2025-03-09 21:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:08:02] Production.INFO: neon service started [2025-03-09 21:08:02] Production.INFO: neon service started [2025-03-09 21:08:02] Production.INFO: ==8044== Releasing lock... [2025-03-09 21:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 21:08:02] Production.INFO: ==8049== Lock acquired, processing the job... [2025-03-09 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:08:02] Production.INFO: ==8049== Releasing lock... [2025-03-09 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:08:02] Production.INFO: ==8046== Lock acquired, processing the job... [2025-03-09 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:08:02] Production.INFO: ==8046== Releasing lock... [2025-03-09 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:08:03] Production.INFO: ==8051== Lock acquired, processing the job... [2025-03-09 17:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:08:03] Production.INFO: ==8055== Lock acquired, processing the job... [2025-03-09 17:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:08:03] Production.INFO: ==8057== Lock acquired, processing the job... [2025-03-09 17:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:08:03] Production.INFO: Account Balance Start. [2025-03-09 17:08:03] Production.INFO: CreateAllLog Start [2025-03-09 17:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:08:03] Production.INFO: 117 [2025-03-09 17:08:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:08:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:08:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:08:04] Production.INFO: Total Charge 0 [2025-03-09 17:08:04] Production.INFO: CreateAllLog End [2025-03-09 17:08:04] Production.INFO: ==8053== Lock acquired, processing the job... [2025-03-09 17:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:08:04] Production.INFO: ==8059== Lock acquired, processing the job... [2025-03-09 17:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:08:04] Production.INFO: ==8061== Lock acquired, processing the job... [2025-03-09 17:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:08:04] Production.INFO: Account Balance End. [2025-03-09 17:08:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:08:04] Production.INFO: ==8057== Releasing lock... [2025-03-09 17:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 17:08:04] Production.INFO: count ==13 [2025-03-09 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-09 17:08:04] Production.INFO: count ==21 [2025-03-09 17:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643611') start [2025-03-09 17:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643611') end [2025-03-09 17:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:08:04] Production.INFO: 1 [2025-03-09 17:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:08:04] Production.INFO: ==8053== Releasing lock... [2025-03-09 17:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:08:04] Production.INFO: ==8061== Releasing lock... [2025-03-09 17:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:08:04] Production.ERROR: done [2025-03-09 17:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:08:04] Production.ERROR: done [2025-03-09 17:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:08:05 [end_date_ymd] => 2025-03-09 17:08:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:08:05' and `end` < '2025-03-09 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-09 17:08:12] Production.ERROR: CronJobId end10 [2025-03-09 17:08:12] Production.INFO: ==8055== Releasing lock... [2025-03-09 17:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:08:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:08:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:08:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:08:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:08:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:08:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:08:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:08:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:08:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:08:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:08:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:08:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:08:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:08:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:08:14] Production.INFO: call_cost start [2025-03-09 17:08:14] Production.INFO: call_cost end [2025-03-09 17:08:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:08:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:08:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:08:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:08:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:08:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:08:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:08:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:08:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:08:15] Production.INFO: ==8051== Releasing lock... [2025-03-09 17:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:08:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:08:18] Production.INFO: count ==1068 [2025-03-09 17:08:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:08:05 - End Time 2025-03-09 17:08:05 [2025-03-09 17:08:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643612', 'tblTempUsageDetail_20' ) start [2025-03-09 17:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643612', 'tblTempUsageDetail_20' ) end [2025-03-09 17:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643612', 'tblTempVendorCDR_20' ) start [2025-03-09 17:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643612', 'tblTempVendorCDR_20' ) end [2025-03-09 17:08:18] Production.INFO: ProcessCDR(1,14643612,1,1,2) [2025-03-09 17:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643612', 'tblTempUsageDetail_20' ) start [2025-03-09 17:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643612', 'tblTempUsageDetail_20' ) end [2025-03-09 17:08:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:08:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:08:23] Production.INFO: ==8059== Releasing lock... [2025-03-09 17:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:08:23] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 21:09:01] Production.INFO: ==8119== Lock acquired, processing the job... [2025-03-09 21:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:09:01] Production.INFO: neon service started [2025-03-09 21:09:01] Production.INFO: neon service started [2025-03-09 21:09:01] Production.INFO: ==8119== Releasing lock... [2025-03-09 21:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:09:01] Production.INFO: ==8121== Lock acquired, processing the job... [2025-03-09 17:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:09:02] Production.INFO: ==8121== Releasing lock... [2025-03-09 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:09:02] Production.INFO: ==8123== Lock acquired, processing the job... [2025-03-09 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:09:02] Production.INFO: ==8123== Releasing lock... [2025-03-09 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:09:02] Production.INFO: ==8125== Lock acquired, processing the job... [2025-03-09 17:09:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:09:03] Production.INFO: ==8127== Lock acquired, processing the job... [2025-03-09 17:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:09:03] Production.INFO: ==8131== Lock acquired, processing the job... [2025-03-09 17:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:09:03] Production.INFO: ==8129== Lock acquired, processing the job... [2025-03-09 17:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:09:03] Production.INFO: ==8127== Releasing lock... [2025-03-09 17:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:09:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:09:03] Production.INFO: Account Balance Start. [2025-03-09 17:09:03] Production.INFO: CreateAllLog Start [2025-03-09 17:09:03] Production.INFO: 117 [2025-03-09 17:09:03] Production.INFO: ==8133== Lock acquired, processing the job... [2025-03-09 17:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:09:03] Production.INFO: ==8135== Lock acquired, processing the job... [2025-03-09 17:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:09:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:09:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:09:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17: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-09 17:09:03] Production.INFO: Total Charge 0 [2025-03-09 17:09:03] Production.INFO: count ==13 [2025-03-09 17:09:03] Production.INFO: CreateAllLog End [2025-03-09 17: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-09 17:09:03] Production.INFO: count ==21 [2025-03-09 17:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643616') start [2025-03-09 17:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643616') end [2025-03-09 17:09:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:09:03] Production.INFO: 1 [2025-03-09 17:09:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:09:03] Production.INFO: ==8135== Releasing lock... [2025-03-09 17:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:09:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:09:03] Production.ERROR: done [2025-03-09 17:09:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:09:04] Production.ERROR: done [2025-03-09 17:09:04] Production.INFO: Account Balance End. [2025-03-09 17:09:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:09:04] Production.INFO: ==8131== Releasing lock... [2025-03-09 17:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:09:05 [end_date_ymd] => 2025-03-09 17:09:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:09:05' and `end` < '2025-03-09 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-09 17:09:11] Production.ERROR: CronJobId end10 [2025-03-09 17:09:11] Production.INFO: ==8129== Releasing lock... [2025-03-09 17:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:09:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:09:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:09:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:09:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:09:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:09:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:09:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:09:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:09:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:09:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:09:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:09:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:09:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:09:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:09:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:09:14] Production.INFO: call_cost start [2025-03-09 17:09:14] Production.INFO: call_cost end [2025-03-09 17:09:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:09:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:09:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:09:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:09:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:09:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:09:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:09:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:09:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:09:14] Production.INFO: ==8125== Releasing lock... [2025-03-09 17:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:09:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:09:17] Production.INFO: count ==1054 [2025-03-09 17:09:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:09:05 - End Time 2025-03-09 17:09:05 [2025-03-09 17:09:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643617', 'tblTempUsageDetail_20' ) start [2025-03-09 17:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643617', 'tblTempUsageDetail_20' ) end [2025-03-09 17:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643617', 'tblTempVendorCDR_20' ) start [2025-03-09 17:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643617', 'tblTempVendorCDR_20' ) end [2025-03-09 17:09:17] Production.INFO: ProcessCDR(1,14643617,1,1,2) [2025-03-09 17:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643617', 'tblTempUsageDetail_20' ) start [2025-03-09 17:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643617', 'tblTempUsageDetail_20' ) end [2025-03-09 17:09:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:09:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:09:21] Production.INFO: ==8133== Releasing lock... [2025-03-09 17:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:09:21] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 21:10:01] Production.INFO: ==8235== Lock acquired, processing the job... [2025-03-09 21:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:10:01] Production.INFO: neon service started [2025-03-09 21:10:01] Production.INFO: neon service started [2025-03-09 21:10:01] Production.INFO: ==8235== Releasing lock... [2025-03-09 21:10:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:10:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:10:02] Production.INFO: ==8237== Lock acquired, processing the job... [2025-03-09 17:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 21:10:02] Production.INFO: ==8239== Lock acquired, processing the job... [2025-03-09 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:10:02] Production.INFO: ==8237== Releasing lock... [2025-03-09 17:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:10:02] Production.INFO: ==8239== Releasing lock... [2025-03-09 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:10:03] Production.INFO: ==8241== Lock acquired, processing the job... [2025-03-09 17:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 17:10:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 17:10:03] Production.INFO: ==8243== Lock acquired, processing the job... [2025-03-09 17:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:10:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 17:10:03] Production.INFO: ==8241== Releasing lock... [2025-03-09 17:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 17:10:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 17:10:04] Production.INFO: ==8245== Lock acquired, processing the job... [2025-03-09 17:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:10:04] Production.INFO: ==8247== Lock acquired, processing the job... [2025-03-09 17:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:10:04] Production.INFO: ==8249== Lock acquired, processing the job... [2025-03-09 17:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:10:04] Production.INFO: ==8251== Lock acquired, processing the job... [2025-03-09 17:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:10:04] Production.INFO: ==8253== Lock acquired, processing the job... [2025-03-09 17:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 17:10:04] Production.INFO: Account Balance Start. [2025-03-09 17:10:04] Production.INFO: CreateAllLog Start [2025-03-09 17:10:04] Production.INFO: 117 [2025-03-09 17:10:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:10:04] Production.INFO: ==8255== Lock acquired, processing the job... [2025-03-09 17:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:10:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:10:04] Production.INFO: ==8245== Releasing lock... [2025-03-09 17:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:10:04] Production.INFO: Total Charge 0 [2025-03-09 17:10:04] Production.INFO: CreateAllLog End [2025-03-09 17: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-09 17:10:04] Production.INFO: count ==13 [2025-03-09 17: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-09 17:10:04] Production.ERROR: done [2025-03-09 17:10:04] Production.INFO: count ==21 [2025-03-09 17:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643621') start [2025-03-09 17:10:05] Production.ERROR: done [2025-03-09 17:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14643621') end [2025-03-09 17:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:10:05] Production.INFO: 1 [2025-03-09 17:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:10:05] Production.ERROR: done [2025-03-09 17:10:05] Production.INFO: ==8255== Releasing lock... [2025-03-09 17:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:10:05] Production.INFO: Account Balance End. [2025-03-09 17:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 17:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643622', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 17:10:05] Production.ERROR: CronJobId end 12 [2025-03-09 17:10:05] Production.INFO: ==8249== Releasing lock... [2025-03-09 17:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:10:06 [end_date_ymd] => 2025-03-09 17:10:06 [RateCDR] => 1 ) [2025-03-09 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-09 14:10:06' and `end` < '2025-03-09 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-09 17:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643622', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 17:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 17:10:09] Production.INFO: ProcessCDR(1,14643622,1,1,2) [2025-03-09 17:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14643622,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14643622,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:10:09] Production.INFO: ==8253== Releasing lock... [2025-03-09 17:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 17:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 17:10:13] Production.ERROR: CronJobId end10 [2025-03-09 17:10:13] Production.INFO: ==8247== Releasing lock... [2025-03-09 17:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:10:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:10:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:10:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:10:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:10:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:10:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:10:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:10:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:10:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:10:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:10:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:10:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:10:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:10:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:10:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:10:16] Production.INFO: call_cost start [2025-03-09 17:10:16] Production.INFO: call_cost end [2025-03-09 17:10:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:10:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:10:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:10:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:10:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:10:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:10:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:10:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:10:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:10:17] Production.INFO: ==8243== Releasing lock... [2025-03-09 17:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:10:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:10:18] Production.INFO: count ==1051 [2025-03-09 17:10:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:10:06 - End Time 2025-03-09 17:10:06 [2025-03-09 17:10:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643623', 'tblTempUsageDetail_20' ) start [2025-03-09 17:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643623', 'tblTempUsageDetail_20' ) end [2025-03-09 17:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643623', 'tblTempVendorCDR_20' ) start [2025-03-09 17:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643623', 'tblTempVendorCDR_20' ) end [2025-03-09 17:10:18] Production.INFO: ProcessCDR(1,14643623,1,1,2) [2025-03-09 17:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643623', 'tblTempUsageDetail_20' ) start [2025-03-09 17:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643623', 'tblTempUsageDetail_20' ) end [2025-03-09 17:10:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:10:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:10:23] Production.INFO: ==8251== Releasing lock... [2025-03-09 17:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:10:23] Production.INFO: 36.25 MB #Memory Used# [2025-03-09 21:11:02] Production.INFO: ==8310== Lock acquired, processing the job... [2025-03-09 21:11:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:11:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:11:02] Production.INFO: neon service started [2025-03-09 21:11:02] Production.INFO: neon service started [2025-03-09 21:11:02] Production.INFO: ==8310== Releasing lock... [2025-03-09 21:11:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:11:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:11:02] Production.INFO: ==8312== Lock acquired, processing the job... [2025-03-09 17:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:11:02] Production.INFO: ==8312== Releasing lock... [2025-03-09 17:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:11:03] Production.INFO: ==8315== Lock acquired, processing the job... [2025-03-09 21:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:11:03] Production.INFO: ==8315== Releasing lock... [2025-03-09 21:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:11:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:11:03] Production.INFO: ==8317== Lock acquired, processing the job... [2025-03-09 17:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:11:03] Production.INFO: ==8319== Lock acquired, processing the job... [2025-03-09 17:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:11:03] Production.INFO: ==8321== Lock acquired, processing the job... [2025-03-09 17:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:11:03] Production.INFO: ==8323== Lock acquired, processing the job... [2025-03-09 17:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:11:04] Production.INFO: ==8325== Lock acquired, processing the job... [2025-03-09 17:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:11:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:11:04] Production.INFO: ==8327== Lock acquired, processing the job... [2025-03-09 17:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:11:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:11:04] Production.INFO: Account Balance Start. [2025-03-09 17:11:04] Production.INFO: CreateAllLog Start [2025-03-09 17:11:04] Production.INFO: 117 [2025-03-09 17:11:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:11:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:11:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:11:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:11:04] Production.INFO: Total Charge 0 [2025-03-09 17:11:04] Production.INFO: CreateAllLog End [2025-03-09 17: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-09 17:11:04] Production.INFO: count ==13 [2025-03-09 17: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-09 17:11:04] Production.INFO: count ==21 [2025-03-09 17:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643627') start [2025-03-09 17:11:04] Production.INFO: ==8319== Releasing lock... [2025-03-09 17:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:11:04] Production.INFO: Account Balance End. [2025-03-09 17:11:04] Production.ERROR: done [2025-03-09 17:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643627') end [2025-03-09 17:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:11:04] Production.INFO: 1 [2025-03-09 17:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:11:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:11:04] Production.INFO: ==8323== Releasing lock... [2025-03-09 17:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:11:04] Production.ERROR: done [2025-03-09 17:11:04] Production.INFO: ==8327== Releasing lock... [2025-03-09 17:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:11:05 [end_date_ymd] => 2025-03-09 17:11:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:11:05' and `end` < '2025-03-09 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-09 17:11:13] Production.ERROR: CronJobId end10 [2025-03-09 17:11:13] Production.INFO: ==8321== Releasing lock... [2025-03-09 17:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:11:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:11:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:11:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:11:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:11:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:11:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:11:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:11:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:11:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:11:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:11:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:11:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:11:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:11:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:11:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:11:15] Production.INFO: call_cost start [2025-03-09 17:11:15] Production.INFO: call_cost end [2025-03-09 17:11:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:11:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:11:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:11:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:11:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:11:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:11:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:11:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:11:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:11:16] Production.INFO: ==8317== Releasing lock... [2025-03-09 17:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:11:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:11:18] Production.INFO: count ==1077 [2025-03-09 17:11:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:11:05 - End Time 2025-03-09 17:11:05 [2025-03-09 17:11:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643628', 'tblTempUsageDetail_20' ) start [2025-03-09 17:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643628', 'tblTempUsageDetail_20' ) end [2025-03-09 17:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643628', 'tblTempVendorCDR_20' ) start [2025-03-09 17:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643628', 'tblTempVendorCDR_20' ) end [2025-03-09 17:11:18] Production.INFO: ProcessCDR(1,14643628,1,1,2) [2025-03-09 17:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643628', 'tblTempUsageDetail_20' ) start [2025-03-09 17:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643628', 'tblTempUsageDetail_20' ) end [2025-03-09 17:11:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:11:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:11:23] Production.INFO: ==8325== Releasing lock... [2025-03-09 17:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:11:23] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 21:12:01] Production.INFO: ==8383== Lock acquired, processing the job... [2025-03-09 21:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:12:01] Production.INFO: neon service started [2025-03-09 21:12:01] Production.INFO: neon service started [2025-03-09 21:12:01] Production.INFO: ==8383== Releasing lock... [2025-03-09 21:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 21:12:02] Production.INFO: ==8387== Lock acquired, processing the job... [2025-03-09 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:12:02] Production.INFO: ==8387== Releasing lock... [2025-03-09 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:12:02] Production.INFO: ==8385== Lock acquired, processing the job... [2025-03-09 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:12:02] Production.INFO: ==8385== Releasing lock... [2025-03-09 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:12:03] Production.INFO: ==8390== Lock acquired, processing the job... [2025-03-09 17:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:12:03] Production.INFO: ==8392== Lock acquired, processing the job... [2025-03-09 17:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:12:03] Production.INFO: ==8400== Lock acquired, processing the job... [2025-03-09 17:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:12:03] Production.INFO: ==8392== Releasing lock... [2025-03-09 17:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:12:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:12:03] Production.INFO: ==8396== Lock acquired, processing the job... [2025-03-09 17:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17: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-09 17:12:03] Production.INFO: ==8394== Lock acquired, processing the job... [2025-03-09 17:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:12:03] Production.INFO: count ==13 [2025-03-09 17: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-09 17:12:03] Production.INFO: count ==21 [2025-03-09 17:12:03] Production.INFO: ==8398== Lock acquired, processing the job... [2025-03-09 17:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643631') start [2025-03-09 17:12:03] Production.INFO: Account Balance Start. [2025-03-09 17:12:03] Production.INFO: CreateAllLog Start [2025-03-09 17:12:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:12:03] Production.INFO: 117 [2025-03-09 17:12:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:12:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643631') end [2025-03-09 17:12:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:12:03] Production.INFO: 1 [2025-03-09 17:12:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:12:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:12:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:12:03] Production.INFO: Total Charge 0 [2025-03-09 17:12:03] Production.INFO: CreateAllLog End [2025-03-09 17:12:03] Production.INFO: ==8400== Releasing lock... [2025-03-09 17:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:12:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:12:04] Production.INFO: Account Balance End. [2025-03-09 17:12:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:12:04] Production.INFO: ==8396== Releasing lock... [2025-03-09 17:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:12:04] Production.ERROR: done [2025-03-09 17:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:12:04] Production.ERROR: done [2025-03-09 17:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:12:05 [end_date_ymd] => 2025-03-09 17:12:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:12:05' and `end` < '2025-03-09 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-09 17:12:12] Production.ERROR: CronJobId end10 [2025-03-09 17:12:12] Production.INFO: ==8394== Releasing lock... [2025-03-09 17:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:12:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:12:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:12:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:12:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:12:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:12:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:12:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:12:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:12:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:12:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:12:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:12:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:12:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:12:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:12:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:12:14] Production.INFO: call_cost start [2025-03-09 17:12:14] Production.INFO: call_cost end [2025-03-09 17:12:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:12:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:12:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:12:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:12:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:12:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:12:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:12:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:12:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:12:15] Production.INFO: ==8390== Releasing lock... [2025-03-09 17:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:12:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:12:17] Production.INFO: count ==1081 [2025-03-09 17:12:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:12:05 - End Time 2025-03-09 17:12:05 [2025-03-09 17:12:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643633', 'tblTempUsageDetail_20' ) start [2025-03-09 17:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643633', 'tblTempUsageDetail_20' ) end [2025-03-09 17:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643633', 'tblTempVendorCDR_20' ) start [2025-03-09 17:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643633', 'tblTempVendorCDR_20' ) end [2025-03-09 17:12:18] Production.INFO: ProcessCDR(1,14643633,1,1,2) [2025-03-09 17:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643633', 'tblTempUsageDetail_20' ) start [2025-03-09 17:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643633', 'tblTempUsageDetail_20' ) end [2025-03-09 17:12:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:12:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:12:23] Production.INFO: ==8398== Releasing lock... [2025-03-09 17:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:12:23] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 21:13:02] Production.INFO: ==8455== Lock acquired, processing the job... [2025-03-09 21:13:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:13:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:13:02] Production.INFO: neon service started [2025-03-09 21:13:02] Production.INFO: neon service started [2025-03-09 21:13:02] Production.INFO: ==8455== Releasing lock... [2025-03-09 21:13:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:13:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 21:13:02] Production.INFO: ==8459== Lock acquired, processing the job... [2025-03-09 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:13:02] Production.INFO: ==8459== Releasing lock... [2025-03-09 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:13:02] Production.INFO: ==8457== Lock acquired, processing the job... [2025-03-09 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:13:02] Production.INFO: ==8457== Releasing lock... [2025-03-09 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:13:03] Production.INFO: ==8462== Lock acquired, processing the job... [2025-03-09 17:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:13:03] Production.INFO: ==8464== Lock acquired, processing the job... [2025-03-09 17:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:13:03] Production.INFO: ==8472== Lock acquired, processing the job... [2025-03-09 17:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 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-09 17:13:04] Production.INFO: ==8468== Lock acquired, processing the job... [2025-03-09 17:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:13:04] Production.INFO: count ==13 [2025-03-09 17: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-09 17:13:04] Production.INFO: ==8466== Lock acquired, processing the job... [2025-03-09 17:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:13:04] Production.INFO: count ==21 [2025-03-09 17:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643636') start [2025-03-09 17:13:04] Production.INFO: ==8470== Lock acquired, processing the job... [2025-03-09 17:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:13:04] Production.INFO: Account Balance Start. [2025-03-09 17:13:04] Production.INFO: CreateAllLog Start [2025-03-09 17:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643636') end [2025-03-09 17:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:13:04] Production.INFO: 1 [2025-03-09 17:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:13:04] Production.INFO: 117 [2025-03-09 17:13:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:13:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:13:04] Production.INFO: ==8472== Releasing lock... [2025-03-09 17:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:13:04] Production.INFO: ==8464== Releasing lock... [2025-03-09 17:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:13:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:13:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:13:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:13:04] Production.INFO: Total Charge 0 [2025-03-09 17:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:13:04] Production.INFO: CreateAllLog End [2025-03-09 17:13:04] Production.INFO: Account Balance End. [2025-03-09 17:13:04] Production.ERROR: done [2025-03-09 17:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:13:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:13:04] Production.INFO: ==8468== Releasing lock... [2025-03-09 17:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:13:04] Production.ERROR: done [2025-03-09 17:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:13:05 [end_date_ymd] => 2025-03-09 17:13:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:13:05' and `end` < '2025-03-09 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-09 17:13:12] Production.ERROR: CronJobId end10 [2025-03-09 17:13:12] Production.INFO: ==8466== Releasing lock... [2025-03-09 17:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:13:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:13:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:13:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:13:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:13:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:13:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:13:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:13:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:13:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:13:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:13:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:13:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:13:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:13:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:13:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:13:13] Production.INFO: call_cost start [2025-03-09 17:13:13] Production.INFO: call_cost end [2025-03-09 17:13:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:13:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:13:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:13:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:13:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:13:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:13:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:13:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:13:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:13:14] Production.INFO: ==8462== Releasing lock... [2025-03-09 17:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:13:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:13:17] Production.INFO: count ==1081 [2025-03-09 17:13:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:13:05 - End Time 2025-03-09 17:13:05 [2025-03-09 17:13:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643638', 'tblTempUsageDetail_20' ) start [2025-03-09 17:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643638', 'tblTempUsageDetail_20' ) end [2025-03-09 17:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643638', 'tblTempVendorCDR_20' ) start [2025-03-09 17:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643638', 'tblTempVendorCDR_20' ) end [2025-03-09 17:13:17] Production.INFO: ProcessCDR(1,14643638,1,1,2) [2025-03-09 17:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643638', 'tblTempUsageDetail_20' ) start [2025-03-09 17:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643638', 'tblTempUsageDetail_20' ) end [2025-03-09 17:13:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:13:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:13:21] Production.INFO: ==8470== Releasing lock... [2025-03-09 17:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:13:21] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 21:14:01] Production.INFO: ==8524== Lock acquired, processing the job... [2025-03-09 21:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:14:01] Production.INFO: neon service started [2025-03-09 21:14:01] Production.INFO: neon service started [2025-03-09 21:14:01] Production.INFO: ==8524== Releasing lock... [2025-03-09 21:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:14:01] Production.INFO: ==8526== Lock acquired, processing the job... [2025-03-09 17:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:14:02] Production.INFO: ==8526== Releasing lock... [2025-03-09 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:14:02] Production.INFO: ==8528== Lock acquired, processing the job... [2025-03-09 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:14:02] Production.INFO: ==8528== Releasing lock... [2025-03-09 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:14:03] Production.INFO: ==8541== Lock acquired, processing the job... [2025-03-09 17:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:14:03] Production.INFO: ==8539== Lock acquired, processing the job... [2025-03-09 17:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17: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-09 17:14:03] Production.INFO: count ==13 [2025-03-09 17: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-09 17:14:03] Production.INFO: count ==21 [2025-03-09 17:14:03] Production.INFO: ==8530== Lock acquired, processing the job... [2025-03-09 17:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643639') start [2025-03-09 17:14:03] Production.INFO: ==8532== Lock acquired, processing the job... [2025-03-09 17:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:14:03] Production.INFO: ==8534== Lock acquired, processing the job... [2025-03-09 17:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:14:03] Production.INFO: ==8537== Lock acquired, processing the job... [2025-03-09 17:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643639') end [2025-03-09 17:14:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:14:03] Production.INFO: 1 [2025-03-09 17:14:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:14:03] Production.INFO: Account Balance Start. [2025-03-09 17:14:03] Production.INFO: CreateAllLog Start [2025-03-09 17:14:03] Production.INFO: 117 [2025-03-09 17:14:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:14:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:14:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:14:03] Production.INFO: Total Charge 0 [2025-03-09 17:14:03] Production.INFO: ==8541== Releasing lock... [2025-03-09 17:14:03] Production.INFO: CreateAllLog End [2025-03-09 17:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:14:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:14:03] Production.ERROR: done [2025-03-09 17:14:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:14:03] Production.INFO: Account Balance End. [2025-03-09 17:14:04] Production.ERROR: done [2025-03-09 17:14:04] Production.INFO: ==8532== Releasing lock... [2025-03-09 17:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:14:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:14:04] Production.INFO: ==8537== Releasing lock... [2025-03-09 17:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:14:05 [end_date_ymd] => 2025-03-09 17:14:05 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:14:05' and `end` < '2025-03-09 17: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-09 17:14:11] Production.ERROR: CronJobId end10 [2025-03-09 17:14:11] Production.INFO: ==8534== Releasing lock... [2025-03-09 17:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:14:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:14:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:14:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:14:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:14:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:14:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:14:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:14:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:14:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:14:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:14:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:14:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:14:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:14:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:14:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:14:13] Production.INFO: call_cost start [2025-03-09 17:14:13] Production.INFO: call_cost end [2025-03-09 17:14:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:14:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:14:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:14:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:14:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:14:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:14:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:14:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:14:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:14:14] Production.INFO: ==8530== Releasing lock... [2025-03-09 17:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:14:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:14:17] Production.INFO: count ==1078 [2025-03-09 17:14:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:14:05 - End Time 2025-03-09 17:14:05 [2025-03-09 17:14:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643643', 'tblTempUsageDetail_20' ) start [2025-03-09 17:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643643', 'tblTempUsageDetail_20' ) end [2025-03-09 17:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643643', 'tblTempVendorCDR_20' ) start [2025-03-09 17:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643643', 'tblTempVendorCDR_20' ) end [2025-03-09 17:14:17] Production.INFO: ProcessCDR(1,14643643,1,1,2) [2025-03-09 17:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643643', 'tblTempUsageDetail_20' ) start [2025-03-09 17:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643643', 'tblTempUsageDetail_20' ) end [2025-03-09 17:14:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:14:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:14:22] Production.INFO: ==8539== Releasing lock... [2025-03-09 17:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:14:22] Production.INFO: 37 MB #Memory Used# [2025-03-09 21:15:01] Production.INFO: ==8595== Lock acquired, processing the job... [2025-03-09 21:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:15:01] Production.INFO: neon service started [2025-03-09 21:15:01] Production.INFO: neon service started [2025-03-09 21:15:01] Production.INFO: ==8595== Releasing lock... [2025-03-09 21:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 21:15:02] Production.INFO: ==8599== Lock acquired, processing the job... [2025-03-09 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:15:02] Production.INFO: ==8599== Releasing lock... [2025-03-09 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:15:02] Production.INFO: ==8597== Lock acquired, processing the job... [2025-03-09 17:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:15:02] Production.INFO: ==8597== Releasing lock... [2025-03-09 17:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:15:03] Production.INFO: ==8606== Lock acquired, processing the job... [2025-03-09 17:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:15:03] Production.INFO: ==8610== Lock acquired, processing the job... [2025-03-09 17:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:15:03] Production.INFO: ==8602== Lock acquired, processing the job... [2025-03-09 17:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:15:03] Production.INFO: ==8604== Lock acquired, processing the job... [2025-03-09 17:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:15:03] Production.INFO: ==8608== Lock acquired, processing the job... [2025-03-09 17:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:15:03] Production.INFO: ==8612== Lock acquired, processing the job... [2025-03-09 17:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:15:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:15:04] Production.INFO: Account Balance Start. [2025-03-09 17:15:04] Production.INFO: CreateAllLog Start [2025-03-09 17:15:04] Production.INFO: 117 [2025-03-09 17:15:04] Production.ERROR: done [2025-03-09 17:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:15:04] Production.INFO: Date 2025-03-08 [2025-03-09 17: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-09 17:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:15:04] Production.INFO: count ==13 [2025-03-09 17: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-09 17:15:04] Production.INFO: count ==21 [2025-03-09 17:15:04] Production.ERROR: done [2025-03-09 17:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643647') start [2025-03-09 17:15:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:15:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:15:04] Production.INFO: Total Charge 0 [2025-03-09 17:15:04] Production.INFO: CreateAllLog End [2025-03-09 17:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643647') end [2025-03-09 17:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:15:04] Production.INFO: 1 [2025-03-09 17:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:15:04] Production.INFO: ==8604== Releasing lock... [2025-03-09 17:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:15:04] Production.INFO: Account Balance End. [2025-03-09 17:15:04] Production.INFO: ==8612== Releasing lock... [2025-03-09 17:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:15:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:15:04] Production.INFO: ==8608== Releasing lock... [2025-03-09 17:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:15:05 [end_date_ymd] => 2025-03-09 17:15:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:15:05' and `end` < '2025-03-09 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-09 17:15:11] Production.ERROR: CronJobId end10 [2025-03-09 17:15:11] Production.INFO: ==8606== Releasing lock... [2025-03-09 17:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:15:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:15:14] Production.INFO: call_cost start [2025-03-09 17:15:14] Production.INFO: call_cost end [2025-03-09 17:15:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:15:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:15:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:15:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:15:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:15:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:15:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:15:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:15:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:15:15] Production.INFO: ==8602== Releasing lock... [2025-03-09 17:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:15:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:15:17] Production.INFO: count ==1078 [2025-03-09 17:15:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:15:05 - End Time 2025-03-09 17:15:05 [2025-03-09 17:15:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643648', 'tblTempUsageDetail_20' ) start [2025-03-09 17:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643648', 'tblTempUsageDetail_20' ) end [2025-03-09 17:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643648', 'tblTempVendorCDR_20' ) start [2025-03-09 17:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643648', 'tblTempVendorCDR_20' ) end [2025-03-09 17:15:17] Production.INFO: ProcessCDR(1,14643648,1,1,2) [2025-03-09 17:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643648', 'tblTempUsageDetail_20' ) start [2025-03-09 17:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643648', 'tblTempUsageDetail_20' ) end [2025-03-09 17:15:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:15:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:15:22] Production.INFO: ==8610== Releasing lock... [2025-03-09 17:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:15:22] Production.INFO: 37 MB #Memory Used# [2025-03-09 21:16:02] Production.INFO: ==8668== Lock acquired, processing the job... [2025-03-09 21:16:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:16:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:16:02] Production.INFO: neon service started [2025-03-09 21:16:02] Production.INFO: neon service started [2025-03-09 21:16:02] Production.INFO: ==8668== Releasing lock... [2025-03-09 21:16:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:16:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:16:02] Production.INFO: ==8670== Lock acquired, processing the job... [2025-03-09 17:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 21:16:03] Production.INFO: ==8672== Lock acquired, processing the job... [2025-03-09 21:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:16:03] Production.INFO: ==8670== Releasing lock... [2025-03-09 17:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:16:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:16:03] Production.INFO: ==8672== Releasing lock... [2025-03-09 21:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:16:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:16:03] Production.INFO: ==8675== Lock acquired, processing the job... [2025-03-09 17:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:16:04] Production.INFO: ==8677== Lock acquired, processing the job... [2025-03-09 17:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:16:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:16:04] Production.INFO: ==8679== Lock acquired, processing the job... [2025-03-09 17:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:16:04] Production.INFO: ==8681== Lock acquired, processing the job... [2025-03-09 17:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:16:04] Production.INFO: ==8683== Lock acquired, processing the job... [2025-03-09 17:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:16:04] Production.INFO: Account Balance Start. [2025-03-09 17:16:04] Production.INFO: CreateAllLog Start [2025-03-09 17:16:04] Production.INFO: 117 [2025-03-09 17:16:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:16:04] Production.INFO: ==8685== Lock acquired, processing the job... [2025-03-09 17:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:16:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:16:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:16:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:16:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:16:04] Production.INFO: Total Charge 0 [2025-03-09 17:16:04] Production.INFO: ==8677== Releasing lock... [2025-03-09 17:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:16:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 17:16:04] Production.INFO: count ==13 [2025-03-09 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-09 17:16:04] Production.INFO: count ==21 [2025-03-09 17:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643652') start [2025-03-09 17:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643652') end [2025-03-09 17:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:16:04] Production.INFO: 1 [2025-03-09 17:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:16:04] Production.INFO: ==8685== Releasing lock... [2025-03-09 17:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:16:04] Production.ERROR: done [2025-03-09 17:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:16:05] Production.INFO: Account Balance End. [2025-03-09 17:16:05] Production.ERROR: CronJobId end 12 [2025-03-09 17:16:05] Production.INFO: ==8681== Releasing lock... [2025-03-09 17:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:16:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:16:05] Production.ERROR: done [2025-03-09 17:16:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:16:06 [end_date_ymd] => 2025-03-09 17:16:06 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:16:06' and `end` < '2025-03-09 17: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-09 17:16:11] Production.ERROR: CronJobId end10 [2025-03-09 17:16:11] Production.INFO: ==8679== Releasing lock... [2025-03-09 17:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:16:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:16:14] Production.INFO: call_cost start [2025-03-09 17:16:14] Production.INFO: call_cost end [2025-03-09 17:16:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:16:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:16:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:16:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:16:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:16:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:16:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:16:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:16:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:16:15] Production.INFO: ==8675== Releasing lock... [2025-03-09 17:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:16:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:16:18] Production.INFO: count ==1077 [2025-03-09 17:16:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:16:06 - End Time 2025-03-09 17:16:06 [2025-03-09 17:16:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643653', 'tblTempUsageDetail_20' ) start [2025-03-09 17:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643653', 'tblTempUsageDetail_20' ) end [2025-03-09 17:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643653', 'tblTempVendorCDR_20' ) start [2025-03-09 17:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643653', 'tblTempVendorCDR_20' ) end [2025-03-09 17:16:18] Production.INFO: ProcessCDR(1,14643653,1,1,2) [2025-03-09 17:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643653', 'tblTempUsageDetail_20' ) start [2025-03-09 17:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643653', 'tblTempUsageDetail_20' ) end [2025-03-09 17:16:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:16:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:16:21] Production.INFO: ==8683== Releasing lock... [2025-03-09 17:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:16:21] Production.INFO: 37 MB #Memory Used# [2025-03-09 21:17:01] Production.INFO: ==8740== Lock acquired, processing the job... [2025-03-09 21:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:17:01] Production.INFO: neon service started [2025-03-09 21:17:01] Production.INFO: neon service started [2025-03-09 21:17:01] Production.INFO: ==8740== Releasing lock... [2025-03-09 21:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:17:02] Production.INFO: ==8742== Lock acquired, processing the job... [2025-03-09 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:17:02] Production.INFO: ==8742== Releasing lock... [2025-03-09 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:17:02] Production.INFO: ==8744== Lock acquired, processing the job... [2025-03-09 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:17:02] Production.INFO: ==8744== Releasing lock... [2025-03-09 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:17:03] Production.INFO: ==8752== Lock acquired, processing the job... [2025-03-09 17:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:17:03] Production.INFO: ==8756== Lock acquired, processing the job... [2025-03-09 17:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 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-09 17:17:03] Production.INFO: Account Balance Start. [2025-03-09 17:17:03] Production.INFO: CreateAllLog Start [2025-03-09 17:17:03] Production.INFO: 117 [2025-03-09 17:17:03] Production.INFO: count ==13 [2025-03-09 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-09 17:17:03] Production.INFO: count ==21 [2025-03-09 17:17:03] Production.INFO: ==8746== Lock acquired, processing the job... [2025-03-09 17:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:17:03] Production.INFO: ==8750== Lock acquired, processing the job... [2025-03-09 17:17:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:17:03] Production.INFO: ==8748== Lock acquired, processing the job... [2025-03-09 17:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:17:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643655') start [2025-03-09 17:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:17:03] Production.INFO: ==8754== Lock acquired, processing the job... [2025-03-09 17:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:17:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:17:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643655') end [2025-03-09 17:17:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:17:03] Production.INFO: 1 [2025-03-09 17:17:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:17:03] Production.INFO: Total Charge 0 [2025-03-09 17:17:03] Production.INFO: CreateAllLog End [2025-03-09 17:17:04] Production.INFO: ==8756== Releasing lock... [2025-03-09 17:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:17:04] Production.INFO: ==8748== Releasing lock... [2025-03-09 17:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:17:04] Production.ERROR: done [2025-03-09 17:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:17:04] Production.INFO: Account Balance End. [2025-03-09 17:17:04] Production.ERROR: done [2025-03-09 17:17:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:17:04] Production.INFO: ==8752== Releasing lock... [2025-03-09 17:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:17:05 [end_date_ymd] => 2025-03-09 17:17:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:17:05' and `end` < '2025-03-09 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-09 17:17:11] Production.ERROR: CronJobId end10 [2025-03-09 17:17:11] Production.INFO: ==8750== Releasing lock... [2025-03-09 17:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:17:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:17:14] Production.INFO: call_cost start [2025-03-09 17:17:14] Production.INFO: call_cost end [2025-03-09 17:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:17:15] Production.INFO: ==8746== Releasing lock... [2025-03-09 17:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:17:17] Production.INFO: count ==1079 [2025-03-09 17:17:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:17:05 - End Time 2025-03-09 17:17:05 [2025-03-09 17:17:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643658', 'tblTempUsageDetail_20' ) start [2025-03-09 17:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643658', 'tblTempUsageDetail_20' ) end [2025-03-09 17:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643658', 'tblTempVendorCDR_20' ) start [2025-03-09 17:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643658', 'tblTempVendorCDR_20' ) end [2025-03-09 17:17:17] Production.INFO: ProcessCDR(1,14643658,1,1,2) [2025-03-09 17:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643658', 'tblTempUsageDetail_20' ) start [2025-03-09 17:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643658', 'tblTempUsageDetail_20' ) end [2025-03-09 17:17:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:17:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:17:22] Production.INFO: ==8754== Releasing lock... [2025-03-09 17:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:17:22] Production.INFO: 37 MB #Memory Used# [2025-03-09 21:18:02] Production.INFO: ==8825== Lock acquired, processing the job... [2025-03-09 21:18:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:18:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:18:02] Production.INFO: neon service started [2025-03-09 21:18:02] Production.INFO: neon service started [2025-03-09 21:18:02] Production.INFO: ==8825== Releasing lock... [2025-03-09 21:18:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:18:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 17:18:02] Production.INFO: ==8827== Lock acquired, processing the job... [2025-03-09 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:18:02] Production.INFO: ==8827== Releasing lock... [2025-03-09 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:18:03] Production.INFO: ==8829== Lock acquired, processing the job... [2025-03-09 21:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:18:03] Production.INFO: ==8829== Releasing lock... [2025-03-09 21:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:18:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:18:03] Production.INFO: ==8837== Lock acquired, processing the job... [2025-03-09 17:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:18:03] Production.INFO: ==8831== Lock acquired, processing the job... [2025-03-09 17:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:18:04] Production.INFO: ==8841== Lock acquired, processing the job... [2025-03-09 17:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:18:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:18:04] Production.INFO: ==8833== Lock acquired, processing the job... [2025-03-09 17:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:18:04] Production.INFO: Account Balance Start. [2025-03-09 17:18:04] Production.INFO: CreateAllLog Start [2025-03-09 17:18:04] Production.INFO: 117 [2025-03-09 17:18:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:18:04] Production.INFO: ==8835== Lock acquired, processing the job... [2025-03-09 17:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:18:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:18:04] Production.INFO: ==8839== Lock acquired, processing the job... [2025-03-09 17:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17: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-09 17:18:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:18:04] Production.INFO: count ==13 [2025-03-09 17:18:04] Production.INFO: Total Charge 0 [2025-03-09 17: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-09 17:18:04] Production.INFO: CreateAllLog End [2025-03-09 17:18:04] Production.INFO: count ==21 [2025-03-09 17:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643661') start [2025-03-09 17:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:18:04] Production.INFO: ==8833== Releasing lock... [2025-03-09 17:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643661') end [2025-03-09 17:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:18:04] Production.INFO: 1 [2025-03-09 17:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:18:04] Production.INFO: ==8841== Releasing lock... [2025-03-09 17:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:18:04] Production.INFO: Account Balance End. [2025-03-09 17:18:04] Production.ERROR: done [2025-03-09 17:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:18:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:18:04] Production.INFO: ==8837== Releasing lock... [2025-03-09 17:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:18:05] Production.ERROR: done [2025-03-09 17:18:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:18:06 [end_date_ymd] => 2025-03-09 17:18:06 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:18:06' and `end` < '2025-03-09 17: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-09 17:18:12] Production.ERROR: CronJobId end10 [2025-03-09 17:18:12] Production.INFO: ==8835== Releasing lock... [2025-03-09 17:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:18:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:18:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:18:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:18:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:18:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:18:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:18:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:18:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:18:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:18:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:18:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:18:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:18:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:18:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:18:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:18:14] Production.INFO: call_cost start [2025-03-09 17:18:14] Production.INFO: call_cost end [2025-03-09 17:18:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:18:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:18:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:18:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:18:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:18:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:18:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:18:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:18:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:18:15] Production.INFO: ==8831== Releasing lock... [2025-03-09 17:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:18:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:18:18] Production.INFO: count ==1089 [2025-03-09 17:18:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:18:06 - End Time 2025-03-09 17:18:06 [2025-03-09 17:18:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643663', 'tblTempUsageDetail_20' ) start [2025-03-09 17:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643663', 'tblTempUsageDetail_20' ) end [2025-03-09 17:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643663', 'tblTempVendorCDR_20' ) start [2025-03-09 17:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643663', 'tblTempVendorCDR_20' ) end [2025-03-09 17:18:18] Production.INFO: ProcessCDR(1,14643663,1,1,2) [2025-03-09 17:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643663', 'tblTempUsageDetail_20' ) start [2025-03-09 17:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643663', 'tblTempUsageDetail_20' ) end [2025-03-09 17:18:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:18:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:18:23] Production.INFO: ==8839== Releasing lock... [2025-03-09 17:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:18:23] Production.INFO: 36.5 MB #Memory Used# [2025-03-09 21:19:01] Production.INFO: ==8907== Lock acquired, processing the job... [2025-03-09 21:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:19:01] Production.INFO: neon service started [2025-03-09 21:19:01] Production.INFO: neon service started [2025-03-09 21:19:01] Production.INFO: ==8907== Releasing lock... [2025-03-09 21:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:19:02] Production.INFO: ==8909== Lock acquired, processing the job... [2025-03-09 17:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:19:02] Production.INFO: ==8909== Releasing lock... [2025-03-09 17:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:19:02] Production.INFO: ==8911== Lock acquired, processing the job... [2025-03-09 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:19:02] Production.INFO: ==8911== Releasing lock... [2025-03-09 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:19:03] Production.INFO: ==8917== Lock acquired, processing the job... [2025-03-09 17:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:19:03] Production.INFO: ==8925== Lock acquired, processing the job... [2025-03-09 17:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:19:03] Production.INFO: ==8914== Lock acquired, processing the job... [2025-03-09 17:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:19:03] Production.INFO: ==8917== Releasing lock... [2025-03-09 17:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:19:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17: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-09 17:19:03] Production.INFO: ==8919== Lock acquired, processing the job... [2025-03-09 17:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:19:03] Production.INFO: count ==13 [2025-03-09 17: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-09 17:19:03] Production.INFO: count ==21 [2025-03-09 17:19:03] Production.INFO: ==8921== Lock acquired, processing the job... [2025-03-09 17:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643665') start [2025-03-09 17:19:03] Production.INFO: ==8923== Lock acquired, processing the job... [2025-03-09 17:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643665') end [2025-03-09 17:19:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:19:03] Production.INFO: 1 [2025-03-09 17:19:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:19:03] Production.INFO: ==8925== Releasing lock... [2025-03-09 17:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:19:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:19:03] Production.INFO: Account Balance Start. [2025-03-09 17:19:03] Production.INFO: CreateAllLog Start [2025-03-09 17:19:03] Production.INFO: 117 [2025-03-09 17:19:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:19:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:19:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:19:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:19:03] Production.INFO: Total Charge 0 [2025-03-09 17:19:03] Production.INFO: CreateAllLog End [2025-03-09 17:19:03] Production.ERROR: done [2025-03-09 17:19:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:19:04] Production.INFO: Account Balance End. [2025-03-09 17:19:04] Production.ERROR: done [2025-03-09 17:19:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:19:04] Production.INFO: ==8921== Releasing lock... [2025-03-09 17:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:19:05 [end_date_ymd] => 2025-03-09 17:19:05 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:19:05' and `end` < '2025-03-09 17: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-09 17:19:12] Production.ERROR: CronJobId end10 [2025-03-09 17:19:12] Production.INFO: ==8919== Releasing lock... [2025-03-09 17:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:19:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:19:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:19:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:19:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:19:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:19:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:19:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:19:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:19:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:19:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:19:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:19:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:19:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:19:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:19:13] Production.INFO: call_cost start [2025-03-09 17:19:13] Production.INFO: call_cost end [2025-03-09 17:19:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:19:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:19:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:19:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:19:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:19:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:19:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:19:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:19:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:19:14] Production.INFO: ==8914== Releasing lock... [2025-03-09 17:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:19:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:19:17] Production.INFO: count ==1091 [2025-03-09 17:19:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:19:05 - End Time 2025-03-09 17:19:05 [2025-03-09 17:19:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643668', 'tblTempUsageDetail_20' ) start [2025-03-09 17:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643668', 'tblTempUsageDetail_20' ) end [2025-03-09 17:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643668', 'tblTempVendorCDR_20' ) start [2025-03-09 17:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643668', 'tblTempVendorCDR_20' ) end [2025-03-09 17:19:17] Production.INFO: ProcessCDR(1,14643668,1,1,2) [2025-03-09 17:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643668', 'tblTempUsageDetail_20' ) start [2025-03-09 17:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643668', 'tblTempUsageDetail_20' ) end [2025-03-09 17:19:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:19:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:19:22] Production.INFO: ==8923== Releasing lock... [2025-03-09 17:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:19:22] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 21:20:02] Production.INFO: ==8992== Lock acquired, processing the job... [2025-03-09 21:20:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:20:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:20:02] Production.INFO: neon service started [2025-03-09 21:20:02] Production.INFO: neon service started [2025-03-09 21:20:02] Production.INFO: ==8992== Releasing lock... [2025-03-09 21:20:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:20:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:20:02] Production.INFO: ==8994== Lock acquired, processing the job... [2025-03-09 17:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 21:20:02] Production.INFO: ==8996== Lock acquired, processing the job... [2025-03-09 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:20:02] Production.INFO: ==8996== Releasing lock... [2025-03-09 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:20:03] Production.INFO: ==8994== Releasing lock... [2025-03-09 17:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:20:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:20:04] Production.INFO: ==8999== Lock acquired, processing the job... [2025-03-09 17:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 17:20:04] Production.INFO: ==9001== Lock acquired, processing the job... [2025-03-09 17:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:20:04] Production.INFO: ==9003== Lock acquired, processing the job... [2025-03-09 17:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:20:04] Production.INFO: ==9005== Lock acquired, processing the job... [2025-03-09 17:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 17:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 17:20:04] Production.ERROR: CronJob PID - 9001 [2025-03-09 17:20:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 17:20:04] Production.ERROR: CronJob ID - 5 [2025-03-09 17:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 17:20:00 [2025-03-09 17:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 17:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 17:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 17:20:04] Production.ERROR: CronJob PID - 9003 [2025-03-09 17:20:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 17:20:04] Production.ERROR: CronJob ID - 7 [2025-03-09 17:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 17:20:00 [2025-03-09 17:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 17:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 17:20:04] Production.INFO: ==9007== Lock acquired, processing the job... [2025-03-09 17:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 17:20:04] Production.INFO: ==8999== Releasing lock... [2025-03-09 17:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 17:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 17:20:04] Production.INFO: ==9009== Lock acquired, processing the job... [2025-03-09 17:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:20:04] Production.INFO: ==9011== Lock acquired, processing the job... [2025-03-09 17:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 17:20:04] Production.INFO: Account Balance Start. [2025-03-09 17:20:04] Production.INFO: CreateAllLog Start [2025-03-09 17:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:20:04] Production.INFO: 117 [2025-03-09 17:20:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:20:04] Production.INFO: ==9013== Lock acquired, processing the job... [2025-03-09 17:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:20:04] Production.INFO: ==9003== Releasing lock... [2025-03-09 17:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:20:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 17:20:04] Production.ERROR: done [2025-03-09 17:20:04] Production.INFO: count ==13 [2025-03-09 17: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-09 17:20:05] Production.INFO: Total Charge 0 [2025-03-09 17:20:05] Production.INFO: count ==21 [2025-03-09 17:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14643672') start [2025-03-09 17:20:05] Production.ERROR: done [2025-03-09 17:20:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:20:05] Production.INFO: CreateAllLog End [2025-03-09 17:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14643672') end [2025-03-09 17:20:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:20:05] Production.INFO: 1 [2025-03-09 17:20:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 17:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643673', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 17:20:05] Production.ERROR: done [2025-03-09 17:20:05] Production.INFO: ==9013== Releasing lock... [2025-03-09 17:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:20:05] Production.INFO: Account Balance End. [2025-03-09 17:20:05] Production.ERROR: CronJobId end 12 [2025-03-09 17:20:05] Production.INFO: ==9007== Releasing lock... [2025-03-09 17:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:20:06 [end_date_ymd] => 2025-03-09 17:20:06 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:20:06' and `end` < '2025-03-09 17: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-09 17:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643673', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 17:20:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 17:20:10] Production.INFO: ProcessCDR(1,14643673,1,1,2) [2025-03-09 17:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14643673,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14643673,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:20:10] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:20:10] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:20:10] Production.INFO: ==9011== Releasing lock... [2025-03-09 17:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 17:20:10] Production.INFO: 26 MB #Memory Used# [2025-03-09 17:20:14] Production.ERROR: CronJobId end10 [2025-03-09 17:20:14] Production.INFO: ==9005== Releasing lock... [2025-03-09 17:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:20:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:20:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:20:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:20:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:20:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:20:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:20:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:20:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:20:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:20:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:20:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:20:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:20:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:20:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:20:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:20:16] Production.INFO: call_cost start [2025-03-09 17:20:16] Production.INFO: call_cost end [2025-03-09 17:20:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:20:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:20:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:20:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:20:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:20:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:20:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:20:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:20:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:20:17] Production.INFO: ==9001== Releasing lock... [2025-03-09 17:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:20:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:20:18] Production.INFO: count ==1097 [2025-03-09 17:20:19] Production.ERROR: pbx CDR StartTime 2025-03-09 14:20:06 - End Time 2025-03-09 17:20:06 [2025-03-09 17:20:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643674', 'tblTempUsageDetail_20' ) start [2025-03-09 17:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643674', 'tblTempUsageDetail_20' ) end [2025-03-09 17:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643674', 'tblTempVendorCDR_20' ) start [2025-03-09 17:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643674', 'tblTempVendorCDR_20' ) end [2025-03-09 17:20:19] Production.INFO: ProcessCDR(1,14643674,1,1,2) [2025-03-09 17:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643674', 'tblTempUsageDetail_20' ) start [2025-03-09 17:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643674', 'tblTempUsageDetail_20' ) end [2025-03-09 17:20:24] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:20:24] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:20:24] Production.INFO: ==9009== Releasing lock... [2025-03-09 17:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:20:24] Production.INFO: 37 MB #Memory Used# [2025-03-09 21:21:01] Production.INFO: ==9083== Lock acquired, processing the job... [2025-03-09 21:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:21:01] Production.INFO: neon service started [2025-03-09 21:21:01] Production.INFO: neon service started [2025-03-09 21:21:01] Production.INFO: ==9083== Releasing lock... [2025-03-09 21:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:21:02] Production.INFO: ==9086== Lock acquired, processing the job... [2025-03-09 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 21:21:02] Production.INFO: ==9088== Lock acquired, processing the job... [2025-03-09 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:21:02] Production.INFO: ==9088== Releasing lock... [2025-03-09 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:21:02] Production.INFO: ==9086== Releasing lock... [2025-03-09 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:21:03] Production.INFO: ==9090== Lock acquired, processing the job... [2025-03-09 17:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:21:03] Production.INFO: ==9092== Lock acquired, processing the job... [2025-03-09 17:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:21:03] Production.INFO: ==9099== Lock acquired, processing the job... [2025-03-09 17:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:21:03] Production.INFO: ==9094== Lock acquired, processing the job... [2025-03-09 17:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:21:03] Production.INFO: ==9096== Lock acquired, processing the job... [2025-03-09 17:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:21:03] Production.INFO: ==9092== Releasing lock... [2025-03-09 17:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:21:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:21:03] Production.INFO: ==9101== Lock acquired, processing the job... [2025-03-09 17:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:21:03] Production.ERROR: done [2025-03-09 17:21:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:21:04] Production.INFO: Account Balance Start. [2025-03-09 17:21:04] Production.INFO: CreateAllLog Start [2025-03-09 17:21:04] Production.INFO: 117 [2025-03-09 17:21:04] Production.INFO: Date 2025-03-08 [2025-03-09 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-09 17:21:04] Production.ERROR: done [2025-03-09 17:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:21:04] Production.INFO: count ==13 [2025-03-09 17:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 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-09 17:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:21:04] Production.INFO: count ==21 [2025-03-09 17:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643678') start [2025-03-09 17:21:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:21:04] Production.INFO: Total Charge 0 [2025-03-09 17:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643678') end [2025-03-09 17:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:21:04] Production.INFO: 1 [2025-03-09 17:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:21:04] Production.INFO: CreateAllLog End [2025-03-09 17:21:04] Production.INFO: ==9101== Releasing lock... [2025-03-09 17:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:21:04] Production.INFO: Account Balance End. [2025-03-09 17:21:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:21:04] Production.INFO: ==9096== Releasing lock... [2025-03-09 17:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:21:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:21:04 [end_date_ymd] => 2025-03-09 17:21:04 [RateCDR] => 1 ) [2025-03-09 17:21:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 14:21:04' and `end` < '2025-03-09 17:21:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 17:21:12] Production.ERROR: CronJobId end10 [2025-03-09 17:21:12] Production.INFO: ==9094== Releasing lock... [2025-03-09 17:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:21:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:21:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:21:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:21:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:21:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:21:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:21:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:21:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:21:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:21:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:21:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:21:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:21:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:21:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:21:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:21:14] Production.INFO: call_cost start [2025-03-09 17:21:14] Production.INFO: call_cost end [2025-03-09 17:21:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:21:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:21:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:21:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:21:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:21:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:21:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:21:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:21:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:21:15] Production.INFO: ==9090== Releasing lock... [2025-03-09 17:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:21:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:21:17] Production.INFO: count ==1132 [2025-03-09 17:21:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:21:04 - End Time 2025-03-09 17:21:04 [2025-03-09 17:21:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643679', 'tblTempUsageDetail_20' ) start [2025-03-09 17:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643679', 'tblTempUsageDetail_20' ) end [2025-03-09 17:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643679', 'tblTempVendorCDR_20' ) start [2025-03-09 17:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643679', 'tblTempVendorCDR_20' ) end [2025-03-09 17:21:17] Production.INFO: ProcessCDR(1,14643679,1,1,2) [2025-03-09 17:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643679', 'tblTempUsageDetail_20' ) start [2025-03-09 17:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643679', 'tblTempUsageDetail_20' ) end [2025-03-09 17:21:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:21:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:21:22] Production.INFO: ==9099== Releasing lock... [2025-03-09 17:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:21:22] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 21:22:02] Production.INFO: ==9157== Lock acquired, processing the job... [2025-03-09 21:22:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:22:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:22:02] Production.INFO: neon service started [2025-03-09 21:22:02] Production.INFO: neon service started [2025-03-09 21:22:02] Production.INFO: ==9157== Releasing lock... [2025-03-09 21:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:22:02] Production.INFO: ==9160== Lock acquired, processing the job... [2025-03-09 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 21:22:02] Production.INFO: ==9162== Lock acquired, processing the job... [2025-03-09 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:22:02] Production.INFO: ==9160== Releasing lock... [2025-03-09 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:22:02] Production.INFO: ==9162== Releasing lock... [2025-03-09 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:22:03] Production.INFO: ==9164== Lock acquired, processing the job... [2025-03-09 17:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:22:03] Production.INFO: ==9168== Lock acquired, processing the job... [2025-03-09 17:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:22:03] Production.INFO: ==9172== Lock acquired, processing the job... [2025-03-09 17:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:22:03] Production.INFO: ==9166== Lock acquired, processing the job... [2025-03-09 17:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:22:03] Production.INFO: ==9170== Lock acquired, processing the job... [2025-03-09 17:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:22:04] Production.INFO: ==9174== Lock acquired, processing the job... [2025-03-09 17:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:22:04] Production.INFO: Account Balance Start. [2025-03-09 17:22:04] Production.INFO: CreateAllLog Start [2025-03-09 17:22:04] Production.INFO: 117 [2025-03-09 17:22:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:22:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:22:04] Production.INFO: ==9166== Releasing lock... [2025-03-09 17:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:22:04] Production.ERROR: done [2025-03-09 17:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17: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-09 17:22:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:22:04] Production.INFO: count ==13 [2025-03-09 17:22:04] Production.INFO: Reseller ==> 0 [2025-03-09 17: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-09 17:22:04] Production.INFO: count ==21 [2025-03-09 17:22:04] Production.INFO: Total Charge 0 [2025-03-09 17:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643683') start [2025-03-09 17:22:04] Production.INFO: CreateAllLog End [2025-03-09 17:22:04] Production.ERROR: done [2025-03-09 17:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643683') end [2025-03-09 17:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:22:04] Production.INFO: 1 [2025-03-09 17:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:22:04] Production.INFO: Account Balance End. [2025-03-09 17:22:04] Production.INFO: ==9174== Releasing lock... [2025-03-09 17:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:22:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:22:04] Production.INFO: ==9170== Releasing lock... [2025-03-09 17:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:22:05 [end_date_ymd] => 2025-03-09 17:22:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:22:05' and `end` < '2025-03-09 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-09 17:22:12] Production.ERROR: CronJobId end10 [2025-03-09 17:22:12] Production.INFO: ==9168== Releasing lock... [2025-03-09 17:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:22:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:22:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:22:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:22:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:22:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:22:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:22:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:22:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:22:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:22:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:22:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:22:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:22:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:22:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:22:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:22:14] Production.INFO: call_cost start [2025-03-09 17:22:14] Production.INFO: call_cost end [2025-03-09 17:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:22:15] Production.INFO: ==9164== Releasing lock... [2025-03-09 17:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:22:17] Production.INFO: count ==1133 [2025-03-09 17:22:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:22:05 - End Time 2025-03-09 17:22:05 [2025-03-09 17:22:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643684', 'tblTempUsageDetail_20' ) start [2025-03-09 17:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643684', 'tblTempUsageDetail_20' ) end [2025-03-09 17:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643684', 'tblTempVendorCDR_20' ) start [2025-03-09 17:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643684', 'tblTempVendorCDR_20' ) end [2025-03-09 17:22:18] Production.INFO: ProcessCDR(1,14643684,1,1,2) [2025-03-09 17:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643684', 'tblTempUsageDetail_20' ) start [2025-03-09 17:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643684', 'tblTempUsageDetail_20' ) end [2025-03-09 17:22:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:22:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:22:22] Production.INFO: ==9172== Releasing lock... [2025-03-09 17:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:22:22] Production.INFO: 37 MB #Memory Used# [2025-03-09 21:23:01] Production.INFO: ==9236== Lock acquired, processing the job... [2025-03-09 21:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:23:01] Production.INFO: neon service started [2025-03-09 21:23:01] Production.INFO: neon service started [2025-03-09 21:23:01] Production.INFO: ==9236== Releasing lock... [2025-03-09 21:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 21:23:01] Production.INFO: ==9240== Lock acquired, processing the job... [2025-03-09 21:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:23:01] Production.INFO: ==9240== Releasing lock... [2025-03-09 21:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:23:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:23:02] Production.INFO: ==9238== Lock acquired, processing the job... [2025-03-09 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:23:02] Production.INFO: ==9238== Releasing lock... [2025-03-09 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:23:03] Production.INFO: ==9243== Lock acquired, processing the job... [2025-03-09 17:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:23:03] Production.INFO: ==9245== Lock acquired, processing the job... [2025-03-09 17:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:23:03] Production.INFO: ==9253== Lock acquired, processing the job... [2025-03-09 17:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17: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-09 17:23:03] Production.INFO: ==9247== Lock acquired, processing the job... [2025-03-09 17:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:23:03] Production.INFO: count ==13 [2025-03-09 17: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-09 17:23:03] Production.INFO: ==9249== Lock acquired, processing the job... [2025-03-09 17:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:23:03] Production.INFO: count ==21 [2025-03-09 17:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643686') start [2025-03-09 17:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:23:03] Production.INFO: Account Balance Start. [2025-03-09 17:23:03] Production.INFO: CreateAllLog Start [2025-03-09 17:23:03] Production.INFO: 117 [2025-03-09 17:23:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:23:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:23:03] Production.INFO: ==9251== Lock acquired, processing the job... [2025-03-09 17:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:23:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:23:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:23:03] Production.INFO: ==9245== Releasing lock... [2025-03-09 17:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:23:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643686') end [2025-03-09 17:23:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:23:03] Production.INFO: 1 [2025-03-09 17:23:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:23:03] Production.INFO: Total Charge 0 [2025-03-09 17:23:03] Production.INFO: CreateAllLog End [2025-03-09 17:23:04] Production.INFO: ==9253== Releasing lock... [2025-03-09 17:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:23:04] Production.INFO: Account Balance End. [2025-03-09 17:23:04] Production.ERROR: done [2025-03-09 17:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:23:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:23:04] Production.INFO: ==9249== Releasing lock... [2025-03-09 17:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:23:04] Production.ERROR: done [2025-03-09 17:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:23:05 [end_date_ymd] => 2025-03-09 17:23:05 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:23:05' and `end` < '2025-03-09 17: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-09 17:23:12] Production.ERROR: CronJobId end10 [2025-03-09 17:23:12] Production.INFO: ==9247== Releasing lock... [2025-03-09 17:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:23:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:23:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:23:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:23:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:23:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:23:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:23:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:23:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:23:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:23:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:23:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:23:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:23:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:23:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:23:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:23:14] Production.INFO: call_cost start [2025-03-09 17:23:14] Production.INFO: call_cost end [2025-03-09 17:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:23:15] Production.INFO: ==9243== Releasing lock... [2025-03-09 17:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:23:17] Production.INFO: count ==1133 [2025-03-09 17:23:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:23:05 - End Time 2025-03-09 17:23:05 [2025-03-09 17:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643689', 'tblTempUsageDetail_20' ) start [2025-03-09 17:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643689', 'tblTempUsageDetail_20' ) end [2025-03-09 17:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643689', 'tblTempVendorCDR_20' ) start [2025-03-09 17:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643689', 'tblTempVendorCDR_20' ) end [2025-03-09 17:23:17] Production.INFO: ProcessCDR(1,14643689,1,1,2) [2025-03-09 17:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643689', 'tblTempUsageDetail_20' ) start [2025-03-09 17:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643689', 'tblTempUsageDetail_20' ) end [2025-03-09 17:23:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:23:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:23:22] Production.INFO: ==9251== Releasing lock... [2025-03-09 17:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:23:22] Production.INFO: 37 MB #Memory Used# [2025-03-09 21:24:02] Production.INFO: ==9308== Lock acquired, processing the job... [2025-03-09 21:24:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:24:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:24:02] Production.INFO: neon service started [2025-03-09 21:24:02] Production.INFO: neon service started [2025-03-09 21:24:02] Production.INFO: ==9308== Releasing lock... [2025-03-09 21:24:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:24:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:24:02] Production.INFO: ==9310== Lock acquired, processing the job... [2025-03-09 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 21:24:02] Production.INFO: ==9312== Lock acquired, processing the job... [2025-03-09 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:24:02] Production.INFO: ==9312== Releasing lock... [2025-03-09 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:24:03] Production.INFO: ==9310== Releasing lock... [2025-03-09 17:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:24:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:24:03] Production.INFO: ==9319== Lock acquired, processing the job... [2025-03-09 17:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:24:04] Production.INFO: ==9323== Lock acquired, processing the job... [2025-03-09 17:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:24:04] Production.INFO: ==9315== Lock acquired, processing the job... [2025-03-09 17:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:24:04] Production.INFO: ==9317== Lock acquired, processing the job... [2025-03-09 17:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:24:04] Production.INFO: ==9321== Lock acquired, processing the job... [2025-03-09 17:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:24:04] Production.INFO: ==9325== Lock acquired, processing the job... [2025-03-09 17:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:24:04] Production.INFO: Account Balance Start. [2025-03-09 17:24:04] Production.INFO: CreateAllLog Start [2025-03-09 17:24:04] Production.INFO: 117 [2025-03-09 17:24:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:24:04] Production.INFO: Reseller ==> 0 [2025-03-09 17: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-09 17:24:04] Production.INFO: count ==13 [2025-03-09 17: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-09 17:24:04] Production.INFO: count ==21 [2025-03-09 17:24:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:24:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643692') start [2025-03-09 17:24:04] Production.INFO: Total Charge 0 [2025-03-09 17:24:04] Production.INFO: CreateAllLog End [2025-03-09 17:24:04] Production.ERROR: done [2025-03-09 17:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14643692') end [2025-03-09 17:24:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:24:05] Production.INFO: 1 [2025-03-09 17:24:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:24:05] Production.INFO: ==9317== Releasing lock... [2025-03-09 17:24:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:24:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:24:05] Production.INFO: ==9325== Releasing lock... [2025-03-09 17:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:24:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:24:05] Production.ERROR: done [2025-03-09 17:24:05] Production.INFO: Account Balance End. [2025-03-09 17:24:05] Production.ERROR: CronJobId end 12 [2025-03-09 17:24:05] Production.INFO: ==9321== Releasing lock... [2025-03-09 17:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:24:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:24:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:24:06 [end_date_ymd] => 2025-03-09 17:24:06 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:24:06' and `end` < '2025-03-09 17: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-09 17:24:13] Production.ERROR: CronJobId end10 [2025-03-09 17:24:13] Production.INFO: ==9319== Releasing lock... [2025-03-09 17:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:24:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:24:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:24:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:24:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:24:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:24:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:24:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:24:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:24:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:24:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:24:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:24:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:24:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:24:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:24:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:24:15] Production.INFO: call_cost start [2025-03-09 17:24:15] Production.INFO: call_cost end [2025-03-09 17:24:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:24:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:24:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:24:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:24:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:24:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:24:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:24:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:24:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:24:16] Production.INFO: ==9315== Releasing lock... [2025-03-09 17:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:24:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:24:18] Production.INFO: count ==1142 [2025-03-09 17:24:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:24:06 - End Time 2025-03-09 17:24:06 [2025-03-09 17:24:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643694', 'tblTempUsageDetail_20' ) start [2025-03-09 17:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643694', 'tblTempUsageDetail_20' ) end [2025-03-09 17:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643694', 'tblTempVendorCDR_20' ) start [2025-03-09 17:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643694', 'tblTempVendorCDR_20' ) end [2025-03-09 17:24:18] Production.INFO: ProcessCDR(1,14643694,1,1,2) [2025-03-09 17:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643694', 'tblTempUsageDetail_20' ) start [2025-03-09 17:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643694', 'tblTempUsageDetail_20' ) end [2025-03-09 17:24:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:24:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:24:23] Production.INFO: ==9323== Releasing lock... [2025-03-09 17:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:24:23] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 21:25:01] Production.INFO: ==9388== Lock acquired, processing the job... [2025-03-09 21:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:25:01] Production.INFO: neon service started [2025-03-09 21:25:01] Production.INFO: neon service started [2025-03-09 21:25:01] Production.INFO: ==9388== Releasing lock... [2025-03-09 21:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:25:01] Production.INFO: ==9390== Lock acquired, processing the job... [2025-03-09 17:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:25:02] Production.INFO: ==9390== Releasing lock... [2025-03-09 17:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:25:02] Production.INFO: ==9392== Lock acquired, processing the job... [2025-03-09 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:25:02] Production.INFO: ==9392== Releasing lock... [2025-03-09 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:25:03] Production.INFO: ==9401== Lock acquired, processing the job... [2025-03-09 17:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:25:03] Production.INFO: ==9397== Lock acquired, processing the job... [2025-03-09 17:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:25:03] Production.INFO: ==9405== Lock acquired, processing the job... [2025-03-09 17:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:25:03] Production.INFO: Account Balance Start. [2025-03-09 17:25:03] Production.INFO: CreateAllLog Start [2025-03-09 17:25:03] Production.INFO: 117 [2025-03-09 17:25:03] Production.INFO: Date 2025-03-08 [2025-03-09 17: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-09 17:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:25:03] Production.INFO: count ==13 [2025-03-09 17: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-09 17:25:03] Production.INFO: count ==21 [2025-03-09 17:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643696') start [2025-03-09 17:25:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:25:03] Production.INFO: Total Charge 0 [2025-03-09 17:25:03] Production.INFO: ==9394== Lock acquired, processing the job... [2025-03-09 17:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:25:03] Production.INFO: CreateAllLog End [2025-03-09 17:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643696') end [2025-03-09 17:25:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:25:03] Production.INFO: 1 [2025-03-09 17:25:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:25:03] Production.INFO: ==9399== Lock acquired, processing the job... [2025-03-09 17:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:25:03] Production.INFO: ==9405== Releasing lock... [2025-03-09 17:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:25:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:25:03] Production.INFO: Account Balance End. [2025-03-09 17:25:03] Production.INFO: ==9403== Lock acquired, processing the job... [2025-03-09 17:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:25:03] Production.INFO: ==9397== Releasing lock... [2025-03-09 17:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:25:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:25:03] Production.ERROR: CronJobId end 12 [2025-03-09 17:25:03] Production.INFO: ==9401== Releasing lock... [2025-03-09 17:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:25:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:25:03] Production.ERROR: done [2025-03-09 17:25:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:25:04] Production.ERROR: done [2025-03-09 17:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:25:05 [end_date_ymd] => 2025-03-09 17:25:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:25:05' and `end` < '2025-03-09 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-09 17:25:13] Production.ERROR: CronJobId end10 [2025-03-09 17:25:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:25:13] Production.INFO: ==9399== Releasing lock... [2025-03-09 17:25:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:25:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:25:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:25:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:25:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:25:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:25:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:25:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:25:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:25:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:25:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:25:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:25:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:25:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:25:13] Production.INFO: call_cost start [2025-03-09 17:25:13] Production.INFO: call_cost end [2025-03-09 17:25:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:25:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:25:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:25:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:25:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:25:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:25:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:25:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:25:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:25:14] Production.INFO: ==9394== Releasing lock... [2025-03-09 17:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:25:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:25:17] Production.INFO: count ==1147 [2025-03-09 17:25:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:25:05 - End Time 2025-03-09 17:25:05 [2025-03-09 17:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643699', 'tblTempUsageDetail_20' ) start [2025-03-09 17:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643699', 'tblTempUsageDetail_20' ) end [2025-03-09 17:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643699', 'tblTempVendorCDR_20' ) start [2025-03-09 17:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643699', 'tblTempVendorCDR_20' ) end [2025-03-09 17:25:17] Production.INFO: ProcessCDR(1,14643699,1,1,2) [2025-03-09 17:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643699', 'tblTempUsageDetail_20' ) start [2025-03-09 17:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643699', 'tblTempUsageDetail_20' ) end [2025-03-09 17:25:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:25:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:25:22] Production.INFO: ==9403== Releasing lock... [2025-03-09 17:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:25:22] Production.INFO: 37 MB #Memory Used# [2025-03-09 21:26:01] Production.INFO: ==9514== Lock acquired, processing the job... [2025-03-09 21:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:26:01] Production.INFO: neon service started [2025-03-09 21:26:01] Production.INFO: neon service started [2025-03-09 21:26:01] Production.INFO: ==9514== Releasing lock... [2025-03-09 21:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 21:26:02] Production.INFO: ==9518== Lock acquired, processing the job... [2025-03-09 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:26:02] Production.INFO: ==9518== Releasing lock... [2025-03-09 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:26:02] Production.INFO: ==9516== Lock acquired, processing the job... [2025-03-09 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:26:02] Production.INFO: ==9516== Releasing lock... [2025-03-09 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:26:03] Production.INFO: ==9525== Lock acquired, processing the job... [2025-03-09 17:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:26:03] Production.INFO: ==9531== Lock acquired, processing the job... [2025-03-09 17:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:26:03] Production.INFO: ==9521== Lock acquired, processing the job... [2025-03-09 17:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:26:03] Production.INFO: ==9523== Lock acquired, processing the job... [2025-03-09 17:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17: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-09 17:26:03] Production.INFO: ==9527== Lock acquired, processing the job... [2025-03-09 17:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:26:03] Production.INFO: count ==13 [2025-03-09 17:26:03] Production.INFO: ==9529== Lock acquired, processing the job... [2025-03-09 17:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17: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-09 17:26:03] Production.INFO: count ==21 [2025-03-09 17:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643700') start [2025-03-09 17:26:04] Production.INFO: Account Balance Start. [2025-03-09 17:26:04] Production.INFO: CreateAllLog Start [2025-03-09 17:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:26:04] Production.INFO: 117 [2025-03-09 17:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643700') end [2025-03-09 17:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:26:04] Production.INFO: 1 [2025-03-09 17:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:26:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:26:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:26:04] Production.INFO: ==9523== Releasing lock... [2025-03-09 17:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:26:04] Production.INFO: ==9531== Releasing lock... [2025-03-09 17:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:26:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:26:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:26:04] Production.INFO: Total Charge 0 [2025-03-09 17:26:04] Production.INFO: CreateAllLog End [2025-03-09 17:26:04] Production.ERROR: done [2025-03-09 17:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:26:04] Production.ERROR: done [2025-03-09 17:26:04] Production.INFO: Account Balance End. [2025-03-09 17:26:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:26:04] Production.INFO: ==9527== Releasing lock... [2025-03-09 17:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:26:05 [end_date_ymd] => 2025-03-09 17:26:05 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:26:05' and `end` < '2025-03-09 17: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-09 17:26:12] Production.ERROR: CronJobId end10 [2025-03-09 17:26:12] Production.INFO: ==9525== Releasing lock... [2025-03-09 17:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:26:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:26:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:26:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:26:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:26:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:26:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:26:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:26:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:26:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:26:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:26:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:26:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:26:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:26:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:26:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:26:15] Production.INFO: call_cost start [2025-03-09 17:26:15] Production.INFO: call_cost end [2025-03-09 17:26:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:26:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:26:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:26:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:26:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:26:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:26:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:26:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:26:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:26:16] Production.INFO: ==9521== Releasing lock... [2025-03-09 17:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:26:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:26:17] Production.INFO: count ==1154 [2025-03-09 17:26:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:26:05 - End Time 2025-03-09 17:26:05 [2025-03-09 17:26:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643704', 'tblTempUsageDetail_20' ) start [2025-03-09 17:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643704', 'tblTempUsageDetail_20' ) end [2025-03-09 17:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643704', 'tblTempVendorCDR_20' ) start [2025-03-09 17:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643704', 'tblTempVendorCDR_20' ) end [2025-03-09 17:26:17] Production.INFO: ProcessCDR(1,14643704,1,1,2) [2025-03-09 17:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643704', 'tblTempUsageDetail_20' ) start [2025-03-09 17:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643704', 'tblTempUsageDetail_20' ) end [2025-03-09 17:26:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:26:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:26:22] Production.INFO: ==9529== Releasing lock... [2025-03-09 17:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:26:22] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 21:27:02] Production.INFO: ==9587== Lock acquired, processing the job... [2025-03-09 21:27:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:27:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:27:02] Production.INFO: neon service started [2025-03-09 21:27:02] Production.INFO: neon service started [2025-03-09 21:27:02] Production.INFO: ==9587== Releasing lock... [2025-03-09 21:27:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:27:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 21:27:02] Production.INFO: ==9591== Lock acquired, processing the job... [2025-03-09 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:27:02] Production.INFO: ==9591== Releasing lock... [2025-03-09 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:27:02] Production.INFO: ==9589== Lock acquired, processing the job... [2025-03-09 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:27:03] Production.INFO: ==9589== Releasing lock... [2025-03-09 17:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:27:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:27:03] Production.INFO: ==9597== Lock acquired, processing the job... [2025-03-09 17:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:27:04] Production.INFO: ==9593== Lock acquired, processing the job... [2025-03-09 17:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:27:04] Production.INFO: ==9604== Lock acquired, processing the job... [2025-03-09 17:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:27:04] Production.INFO: ==9595== Lock acquired, processing the job... [2025-03-09 17:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:27:04] Production.INFO: ==9602== Lock acquired, processing the job... [2025-03-09 17:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:27:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:27:04] Production.INFO: ==9599== Lock acquired, processing the job... [2025-03-09 17:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:27:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 17:27:04] Production.INFO: count ==13 [2025-03-09 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-09 17:27:04] Production.INFO: count ==21 [2025-03-09 17:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643705') start [2025-03-09 17:27:04] Production.INFO: Account Balance Start. [2025-03-09 17:27:04] Production.INFO: CreateAllLog Start [2025-03-09 17:27:04] Production.INFO: 117 [2025-03-09 17:27:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:27:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643705') end [2025-03-09 17:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:27:04] Production.INFO: 1 [2025-03-09 17:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:27:04] Production.INFO: ==9604== Releasing lock... [2025-03-09 17:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:27:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:27:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:27:04] Production.ERROR: done [2025-03-09 17:27:04] Production.INFO: Total Charge 0 [2025-03-09 17:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:27:04] Production.INFO: ==9595== Releasing lock... [2025-03-09 17:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:27:04] Production.INFO: CreateAllLog End [2025-03-09 17:27:04] Production.ERROR: done [2025-03-09 17:27:04] Production.INFO: Account Balance End. [2025-03-09 17:27:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:27:04] Production.INFO: ==9599== Releasing lock... [2025-03-09 17:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:27:05 [end_date_ymd] => 2025-03-09 17:27:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:27:05' and `end` < '2025-03-09 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-09 17:27:12] Production.ERROR: CronJobId end10 [2025-03-09 17:27:12] Production.INFO: ==9597== Releasing lock... [2025-03-09 17:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:27:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:27:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:27:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:27:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:27:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:27:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:27:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:27:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:27:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:27:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:27:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:27:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:27:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:27:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:27:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:27:14] Production.INFO: call_cost start [2025-03-09 17:27:14] Production.INFO: call_cost end [2025-03-09 17:27:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:27:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:27:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:27:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:27:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:27:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:27:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:27:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:27:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:27:15] Production.INFO: ==9593== Releasing lock... [2025-03-09 17:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:27:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:27:18] Production.INFO: count ==1156 [2025-03-09 17:27:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:27:05 - End Time 2025-03-09 17:27:05 [2025-03-09 17:27:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643709', 'tblTempUsageDetail_20' ) start [2025-03-09 17:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643709', 'tblTempUsageDetail_20' ) end [2025-03-09 17:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643709', 'tblTempVendorCDR_20' ) start [2025-03-09 17:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643709', 'tblTempVendorCDR_20' ) end [2025-03-09 17:27:18] Production.INFO: ProcessCDR(1,14643709,1,1,2) [2025-03-09 17:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:27:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643709', 'tblTempUsageDetail_20' ) start [2025-03-09 17:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643709', 'tblTempUsageDetail_20' ) end [2025-03-09 17:27:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:27:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:27:23] Production.INFO: ==9602== Releasing lock... [2025-03-09 17:27:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:27:23] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 21:28:01] Production.INFO: ==9656== Lock acquired, processing the job... [2025-03-09 21:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:28:01] Production.INFO: neon service started [2025-03-09 21:28:01] Production.INFO: neon service started [2025-03-09 21:28:01] Production.INFO: ==9656== Releasing lock... [2025-03-09 21:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:28:02] Production.INFO: ==9658== Lock acquired, processing the job... [2025-03-09 17:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 21:28:02] Production.INFO: ==9660== Lock acquired, processing the job... [2025-03-09 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:28:02] Production.INFO: ==9660== Releasing lock... [2025-03-09 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:28:02] Production.INFO: ==9658== Releasing lock... [2025-03-09 17:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:28:03] Production.INFO: ==9663== Lock acquired, processing the job... [2025-03-09 17:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:28:03] Production.INFO: ==9669== Lock acquired, processing the job... [2025-03-09 17:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:28:03] Production.INFO: ==9671== Lock acquired, processing the job... [2025-03-09 17:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:28:03] Production.INFO: Account Balance Start. [2025-03-09 17:28:03] Production.INFO: CreateAllLog Start [2025-03-09 17:28:03] Production.INFO: 117 [2025-03-09 17:28:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:28:03] Production.INFO: ==9673== Lock acquired, processing the job... [2025-03-09 17:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:28:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:28:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:28:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:28:03] Production.INFO: ==9665== Lock acquired, processing the job... [2025-03-09 17:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:28:03] Production.INFO: ==9667== Lock acquired, processing the job... [2025-03-09 17:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:28:03] Production.INFO: Total Charge 0 [2025-03-09 17:28:03] Production.INFO: CreateAllLog End [2025-03-09 17: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-09 17:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:28:03] Production.INFO: count ==13 [2025-03-09 17:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17: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-09 17:28:03] Production.INFO: count ==21 [2025-03-09 17:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643712') start [2025-03-09 17:28:03] Production.INFO: Account Balance End. [2025-03-09 17:28:03] Production.ERROR: CronJobId end 12 [2025-03-09 17:28:03] Production.INFO: ==9669== Releasing lock... [2025-03-09 17:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:28:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:28:03] Production.ERROR: done [2025-03-09 17:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643712') end [2025-03-09 17:28:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:28:03] Production.INFO: 1 [2025-03-09 17:28:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:28:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:28:04] Production.INFO: ==9673== Releasing lock... [2025-03-09 17:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:28:04] Production.ERROR: done [2025-03-09 17:28:04] Production.INFO: ==9665== Releasing lock... [2025-03-09 17:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:28:05 [end_date_ymd] => 2025-03-09 17:28:05 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:28:05' and `end` < '2025-03-09 17: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-09 17:28:12] Production.ERROR: CronJobId end10 [2025-03-09 17:28:12] Production.INFO: ==9667== Releasing lock... [2025-03-09 17:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:28:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:28:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:28:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:28:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:28:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:28:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:28:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:28:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:28:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:28:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:28:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:28:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:28:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:28:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:28:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:28:13] Production.INFO: call_cost start [2025-03-09 17:28:13] Production.INFO: call_cost end [2025-03-09 17:28:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:28:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:28:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:28:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:28:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:28:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:28:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:28:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:28:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:28:14] Production.INFO: ==9663== Releasing lock... [2025-03-09 17:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:28:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:28:17] Production.INFO: count ==1158 [2025-03-09 17:28:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:28:05 - End Time 2025-03-09 17:28:05 [2025-03-09 17:28:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643714', 'tblTempUsageDetail_20' ) start [2025-03-09 17:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643714', 'tblTempUsageDetail_20' ) end [2025-03-09 17:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643714', 'tblTempVendorCDR_20' ) start [2025-03-09 17:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643714', 'tblTempVendorCDR_20' ) end [2025-03-09 17:28:17] Production.INFO: ProcessCDR(1,14643714,1,1,2) [2025-03-09 17:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643714', 'tblTempUsageDetail_20' ) start [2025-03-09 17:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643714', 'tblTempUsageDetail_20' ) end [2025-03-09 17:28:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:28:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:28:22] Production.INFO: ==9671== Releasing lock... [2025-03-09 17:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:28:22] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 21:29:02] Production.INFO: ==9730== Lock acquired, processing the job... [2025-03-09 21:29:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:29:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:29:02] Production.INFO: neon service started [2025-03-09 21:29:02] Production.INFO: neon service started [2025-03-09 21:29:02] Production.INFO: ==9730== Releasing lock... [2025-03-09 21:29:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:29:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 21:29:02] Production.INFO: ==9734== Lock acquired, processing the job... [2025-03-09 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:29:02] Production.INFO: ==9732== Lock acquired, processing the job... [2025-03-09 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 21:29:02] Production.INFO: ==9734== Releasing lock... [2025-03-09 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:29:03] Production.INFO: ==9732== Releasing lock... [2025-03-09 17:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:29:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:29:04] Production.INFO: ==9745== Lock acquired, processing the job... [2025-03-09 17:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:29:04] Production.INFO: ==9743== Lock acquired, processing the job... [2025-03-09 17:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:29:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:29:04] Production.INFO: ==9737== Lock acquired, processing the job... [2025-03-09 17:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:29:04] Production.INFO: Account Balance Start. [2025-03-09 17:29:04] Production.INFO: CreateAllLog Start [2025-03-09 17:29:04] Production.INFO: 117 [2025-03-09 17:29:04] Production.INFO: ==9739== Lock acquired, processing the job... [2025-03-09 17:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:29:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:29:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:29:04] Production.INFO: ==9741== Lock acquired, processing the job... [2025-03-09 17:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:29:04] Production.INFO: ==9747== Lock acquired, processing the job... [2025-03-09 17:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:29:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:29:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:29:04] Production.INFO: Total Charge 0 [2025-03-09 17:29:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:29:04] Production.INFO: CreateAllLog End [2025-03-09 17:29:04] Production.ERROR: done [2025-03-09 17:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:29:04] Production.INFO: ==9739== Releasing lock... [2025-03-09 17:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17: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-09 17:29:04] Production.INFO: count ==13 [2025-03-09 17:29:04] Production.ERROR: done [2025-03-09 17: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-09 17:29:04] Production.INFO: count ==21 [2025-03-09 17:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643718') start [2025-03-09 17:29:04] Production.INFO: Account Balance End. [2025-03-09 17:29:05] Production.ERROR: CronJobId end 12 [2025-03-09 17:29:05] Production.INFO: ==9743== Releasing lock... [2025-03-09 17:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:29:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:29:05] Production.ERROR: PBX CALL prc_importPBXExtension('14643718') end [2025-03-09 17:29:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:29:05] Production.INFO: 1 [2025-03-09 17:29:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:29:05] Production.INFO: ==9747== Releasing lock... [2025-03-09 17:29:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:29:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:29:05 [end_date_ymd] => 2025-03-09 17:29:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:29:05' and `end` < '2025-03-09 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-09 17:29:13] Production.ERROR: CronJobId end10 [2025-03-09 17:29:13] Production.INFO: ==9741== Releasing lock... [2025-03-09 17:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:29:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:29:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:29:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:29:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:29:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:29:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:29:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:29:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:29:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:29:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:29:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:29:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:29:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:29:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:29:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:29:15] Production.INFO: call_cost start [2025-03-09 17:29:15] Production.INFO: call_cost end [2025-03-09 17:29:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:29:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:29:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:29:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:29:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:29:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:29:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:29:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:29:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:29:16] Production.INFO: ==9737== Releasing lock... [2025-03-09 17:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:29:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:29:18] Production.INFO: count ==1158 [2025-03-09 17:29:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:29:05 - End Time 2025-03-09 17:29:05 [2025-03-09 17:29:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643719', 'tblTempUsageDetail_20' ) start [2025-03-09 17:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643719', 'tblTempUsageDetail_20' ) end [2025-03-09 17:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643719', 'tblTempVendorCDR_20' ) start [2025-03-09 17:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643719', 'tblTempVendorCDR_20' ) end [2025-03-09 17:29:18] Production.INFO: ProcessCDR(1,14643719,1,1,2) [2025-03-09 17:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643719', 'tblTempUsageDetail_20' ) start [2025-03-09 17:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643719', 'tblTempUsageDetail_20' ) end [2025-03-09 17:29:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:29:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:29:21] Production.INFO: ==9745== Releasing lock... [2025-03-09 17:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:29:21] Production.INFO: 36.75 MB #Memory Used# [2025-03-09 21:30:01] Production.INFO: ==9806== Lock acquired, processing the job... [2025-03-09 21:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:30:01] Production.INFO: neon service started [2025-03-09 21:30:01] Production.INFO: neon service started [2025-03-09 21:30:01] Production.INFO: ==9806== Releasing lock... [2025-03-09 21:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:30:02] Production.INFO: ==9808== Lock acquired, processing the job... [2025-03-09 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:30:02] Production.INFO: ==9808== Releasing lock... [2025-03-09 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:30:02] Production.INFO: ==9810== Lock acquired, processing the job... [2025-03-09 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:30:02] Production.INFO: ==9810== Releasing lock... [2025-03-09 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:30:03] Production.INFO: ==9822== Lock acquired, processing the job... [2025-03-09 17:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:30:03] Production.INFO: ==9820== Lock acquired, processing the job... [2025-03-09 17:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:30:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:30:03] Production.INFO: Account Balance Start. [2025-03-09 17:30:03] Production.INFO: CreateAllLog Start [2025-03-09 17:30:03] Production.INFO: ==9827== Lock acquired, processing the job... [2025-03-09 17:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:30:03] Production.INFO: 117 [2025-03-09 17:30:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:30:03] Production.INFO: ==9818== Lock acquired, processing the job... [2025-03-09 17:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:30:04] Production.INFO: ==9812== Lock acquired, processing the job... [2025-03-09 17:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 17:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17: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-09 17:30:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:30:04] Production.INFO: count ==13 [2025-03-09 17:30:04] Production.INFO: ==9816== Lock acquired, processing the job... [2025-03-09 17:30:04] Production.INFO: ==9814== Lock acquired, processing the job... [2025-03-09 17:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17: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-09 17:30:04] Production.INFO: count ==21 [2025-03-09 17:30:04] Production.INFO: Total Charge 0 [2025-03-09 17:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643721') start [2025-03-09 17:30:04] Production.INFO: ==9824== Lock acquired, processing the job... [2025-03-09 17:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 17:30:04] Production.INFO: CreateAllLog End [2025-03-09 17:30:04] Production.ERROR: done [2025-03-09 17:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 17:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 17:30:04] Production.ERROR: CronJob PID - 9814 [2025-03-09 17:30:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 17:30:04] Production.ERROR: CronJob ID - 5 [2025-03-09 17:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 17:30:00 [2025-03-09 17:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 17:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 17:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 17:30:04] Production.ERROR: CronJob PID - 9816 [2025-03-09 17:30:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 17:30:04] Production.ERROR: CronJob ID - 7 [2025-03-09 17:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 17:30:00 [2025-03-09 17:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 17:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 17:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 17:30:04] Production.ERROR: CronJob PID - 9818 [2025-03-09 17:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 17:30:04] Production.ERROR: CronJob ID - 10 [2025-03-09 17:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 17:30:00 [2025-03-09 17:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 17:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 17:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 17:30:04] Production.ERROR: CronJob PID - 9820 [2025-03-09 17:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 17:30:04] Production.ERROR: CronJob ID - 12 [2025-03-09 17:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 17:30:00 [2025-03-09 17:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 17:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 17:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 17:30:04] Production.ERROR: CronJob PID - 9822 [2025-03-09 17:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 17:30:04] Production.ERROR: CronJob ID - 16 [2025-03-09 17:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 17:30:00 [2025-03-09 17:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 17:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 17:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 17:30:04] Production.ERROR: CronJob PID - 9824 [2025-03-09 17:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-09 17:30:04] Production.ERROR: CronJob ID - 17 [2025-03-09 17:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 17:30:00 [2025-03-09 17:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 17:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 17:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 17:30:04] Production.ERROR: CronJob PID - 9827 [2025-03-09 17:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 17:30:04] Production.ERROR: CronJob ID - 19 [2025-03-09 17:30:04] Production.ERROR: CronJob Last Run Time 2025-03-09 17:30:00 [2025-03-09 17:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 17:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 17:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643721') end [2025-03-09 17:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:30:04] Production.INFO: 1 [2025-03-09 17:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:30:04] Production.INFO: ==9827== Releasing lock... [2025-03-09 17:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 17:30:04] Production.INFO: ==9812== Releasing lock... [2025-03-09 17:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 17:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 17:30:04] Production.ERROR: done [2025-03-09 17:30:04] Production.INFO: ==9816== Releasing lock... [2025-03-09 17:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:30:04] Production.INFO: Account Balance End. [2025-03-09 17:30:04] Production.ERROR: done [2025-03-09 17:30:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:30:04] Production.INFO: ==9820== Releasing lock... [2025-03-09 17:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:30:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 17:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643725', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 17:30:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:30:05 [end_date_ymd] => 2025-03-09 17:30:05 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:30:05' and `end` < '2025-03-09 17: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-09 17:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643725', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 17:30:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 17:30:08] Production.INFO: ProcessCDR(1,14643725,1,1,2) [2025-03-09 17:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14643725,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14643725,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:30:09] Production.INFO: ==9824== Releasing lock... [2025-03-09 17:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 17:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 17:30:13] Production.ERROR: CronJobId end10 [2025-03-09 17:30:13] Production.INFO: ==9818== Releasing lock... [2025-03-09 17:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:30:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:30:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:30:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:30:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:30:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:30:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:30:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:30:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:30:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:30:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:30:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:30:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:30:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:30:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:30:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:30:16] Production.INFO: call_cost start [2025-03-09 17:30:16] Production.INFO: call_cost end [2025-03-09 17:30:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:30:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:30:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:30:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:30:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:30:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:30:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:30:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:30:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:30:17] Production.INFO: ==9814== Releasing lock... [2025-03-09 17:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:30:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:30:17] Production.INFO: count ==1170 [2025-03-09 17:30:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:30:05 - End Time 2025-03-09 17:30:05 [2025-03-09 17:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643724', 'tblTempUsageDetail_20' ) start [2025-03-09 17:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643724', 'tblTempUsageDetail_20' ) end [2025-03-09 17:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643724', 'tblTempVendorCDR_20' ) start [2025-03-09 17:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643724', 'tblTempVendorCDR_20' ) end [2025-03-09 17:30:18] Production.INFO: ProcessCDR(1,14643724,1,1,2) [2025-03-09 17:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643724', 'tblTempUsageDetail_20' ) start [2025-03-09 17:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643724', 'tblTempUsageDetail_20' ) end [2025-03-09 17:30:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:30:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:30:23] Production.INFO: ==9822== Releasing lock... [2025-03-09 17:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:30:23] Production.INFO: 37 MB #Memory Used# [2025-03-09 21:31:02] Production.INFO: ==9882== Lock acquired, processing the job... [2025-03-09 21:31:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:31:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:31:02] Production.INFO: neon service started [2025-03-09 21:31:02] Production.INFO: neon service started [2025-03-09 21:31:02] Production.INFO: ==9882== Releasing lock... [2025-03-09 21:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:31:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:31:02] Production.INFO: ==9884== Lock acquired, processing the job... [2025-03-09 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:31:02] Production.INFO: ==9884== Releasing lock... [2025-03-09 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:31:03] Production.INFO: ==9886== Lock acquired, processing the job... [2025-03-09 21:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:31:03] Production.INFO: ==9886== Releasing lock... [2025-03-09 21:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:31:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:31:03] Production.INFO: ==9888== Lock acquired, processing the job... [2025-03-09 17:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:31:03] Production.INFO: ==9890== Lock acquired, processing the job... [2025-03-09 17:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:31:03] Production.INFO: ==9894== Lock acquired, processing the job... [2025-03-09 17:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:31:03] Production.INFO: Account Balance Start. [2025-03-09 17:31:03] Production.INFO: CreateAllLog Start [2025-03-09 17:31:03] Production.INFO: 117 [2025-03-09 17:31:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:31:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:31:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:31:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:31:03] Production.INFO: Total Charge 0 [2025-03-09 17:31:03] Production.INFO: CreateAllLog End [2025-03-09 17:31:03] Production.INFO: ==9892== Lock acquired, processing the job... [2025-03-09 17:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:31:04] Production.INFO: ==9890== Releasing lock... [2025-03-09 17:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:31:04] Production.INFO: Account Balance End. [2025-03-09 17:31:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:31:04] Production.INFO: ==9894== Releasing lock... [2025-03-09 17:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:31:04] Production.INFO: ==9896== Lock acquired, processing the job... [2025-03-09 17:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:31:04] Production.INFO: ==9898== Lock acquired, processing the job... [2025-03-09 17:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:31:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17: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-09 17:31:04] Production.INFO: count ==13 [2025-03-09 17: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-09 17:31:04] Production.INFO: count ==21 [2025-03-09 17:31:04] Production.ERROR: done [2025-03-09 17:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643729') start [2025-03-09 17:31:04] Production.ERROR: done [2025-03-09 17:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643729') end [2025-03-09 17:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:31:04] Production.INFO: 1 [2025-03-09 17:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:31:04] Production.INFO: ==9898== Releasing lock... [2025-03-09 17:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:31:05 [end_date_ymd] => 2025-03-09 17:31:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:31:05' and `end` < '2025-03-09 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-09 17:31:11] Production.ERROR: CronJobId end10 [2025-03-09 17:31:11] Production.INFO: ==9892== Releasing lock... [2025-03-09 17:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:31:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:31:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:31:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:31:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:31:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:31:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:31:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:31:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:31:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:31:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:31:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:31:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:31:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:31:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:31:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:31:14] Production.INFO: call_cost start [2025-03-09 17:31:14] Production.INFO: call_cost end [2025-03-09 17:31:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:31:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:31:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:31:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:31:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:31:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:31:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:31:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:31:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:31:14] Production.INFO: ==9888== Releasing lock... [2025-03-09 17:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:31:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:31:17] Production.INFO: count ==1200 [2025-03-09 17:31:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:31:05 - End Time 2025-03-09 17:31:05 [2025-03-09 17:31:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643730', 'tblTempUsageDetail_20' ) start [2025-03-09 17:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643730', 'tblTempUsageDetail_20' ) end [2025-03-09 17:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643730', 'tblTempVendorCDR_20' ) start [2025-03-09 17:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643730', 'tblTempVendorCDR_20' ) end [2025-03-09 17:31:18] Production.INFO: ProcessCDR(1,14643730,1,1,2) [2025-03-09 17:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643730', 'tblTempUsageDetail_20' ) start [2025-03-09 17:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643730', 'tblTempUsageDetail_20' ) end [2025-03-09 17:31:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:31:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:31:21] Production.INFO: ==9896== Releasing lock... [2025-03-09 17:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:31:21] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 21:32:01] Production.INFO: ==9952== Lock acquired, processing the job... [2025-03-09 21:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:32:01] Production.INFO: neon service started [2025-03-09 21:32:01] Production.INFO: neon service started [2025-03-09 21:32:01] Production.INFO: ==9952== Releasing lock... [2025-03-09 21:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:32:01] Production.INFO: ==9954== Lock acquired, processing the job... [2025-03-09 17:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:32:02] Production.INFO: ==9954== Releasing lock... [2025-03-09 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:32:02] Production.INFO: ==9956== Lock acquired, processing the job... [2025-03-09 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:32:02] Production.INFO: ==9956== Releasing lock... [2025-03-09 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:32:03] Production.INFO: ==9966== Lock acquired, processing the job... [2025-03-09 17:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:32:03] Production.INFO: ==9962== Lock acquired, processing the job... [2025-03-09 17:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:32:03] Production.INFO: ==9958== Lock acquired, processing the job... [2025-03-09 17:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:32:03] Production.INFO: ==9960== Lock acquired, processing the job... [2025-03-09 17:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:32:03] Production.INFO: ==9964== Lock acquired, processing the job... [2025-03-09 17:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:32:03] Production.INFO: ==9968== Lock acquired, processing the job... [2025-03-09 17:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:32:03] Production.INFO: Account Balance Start. [2025-03-09 17:32:03] Production.INFO: CreateAllLog Start [2025-03-09 17:32:03] Production.INFO: 117 [2025-03-09 17:32:03] Production.INFO: Date 2025-03-08 [2025-03-09 17: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-09 17:32:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:32:03] Production.INFO: count ==13 [2025-03-09 17: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-09 17:32:03] Production.INFO: count ==21 [2025-03-09 17:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643734') start [2025-03-09 17:32:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:32:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:32:03] Production.INFO: Total Charge 0 [2025-03-09 17:32:03] Production.INFO: CreateAllLog End [2025-03-09 17:32:03] Production.ERROR: done [2025-03-09 17:32:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:32:04] Production.INFO: ==9960== Releasing lock... [2025-03-09 17:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643734') end [2025-03-09 17:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:32:04] Production.INFO: 1 [2025-03-09 17:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:32:04] Production.INFO: ==9968== Releasing lock... [2025-03-09 17:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:32:04] Production.INFO: Account Balance End. [2025-03-09 17:32:04] Production.ERROR: done [2025-03-09 17:32:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:32:04] Production.INFO: ==9964== Releasing lock... [2025-03-09 17:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:32:05 [end_date_ymd] => 2025-03-09 17:32:05 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:32:05' and `end` < '2025-03-09 17: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-09 17:32:12] Production.ERROR: CronJobId end10 [2025-03-09 17:32:12] Production.INFO: ==9962== Releasing lock... [2025-03-09 17:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:32:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:32:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:32:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:32:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:32:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:32:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:32:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:32:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:32:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:32:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:32:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:32:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:32:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:32:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:32:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:32:14] Production.INFO: call_cost start [2025-03-09 17:32:14] Production.INFO: call_cost end [2025-03-09 17:32:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:32:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:32:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:32:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:32:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:32:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:32:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:32:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:32:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:32:15] Production.INFO: ==9958== Releasing lock... [2025-03-09 17:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:32:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:32:17] Production.INFO: count ==1197 [2025-03-09 17:32:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:32:05 - End Time 2025-03-09 17:32:05 [2025-03-09 17:32:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643735', 'tblTempUsageDetail_20' ) start [2025-03-09 17:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643735', 'tblTempUsageDetail_20' ) end [2025-03-09 17:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643735', 'tblTempVendorCDR_20' ) start [2025-03-09 17:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643735', 'tblTempVendorCDR_20' ) end [2025-03-09 17:32:17] Production.INFO: ProcessCDR(1,14643735,1,1,2) [2025-03-09 17:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643735', 'tblTempUsageDetail_20' ) start [2025-03-09 17:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643735', 'tblTempUsageDetail_20' ) end [2025-03-09 17:32:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:32:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:32:22] Production.INFO: ==9966== Releasing lock... [2025-03-09 17:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:32:22] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 21:33:02] Production.INFO: ==10022== Lock acquired, processing the job... [2025-03-09 21:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:33:02] Production.INFO: neon service started [2025-03-09 21:33:02] Production.INFO: neon service started [2025-03-09 21:33:02] Production.INFO: ==10022== Releasing lock... [2025-03-09 21:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:33:02] Production.INFO: ==10024== Lock acquired, processing the job... [2025-03-09 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:33:02] Production.INFO: ==10024== Releasing lock... [2025-03-09 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:33:02] Production.INFO: ==10026== Lock acquired, processing the job... [2025-03-09 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:33:02] Production.INFO: ==10026== Releasing lock... [2025-03-09 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:33:03] Production.INFO: ==10037== Lock acquired, processing the job... [2025-03-09 17:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:33:03] Production.INFO: ==10039== Lock acquired, processing the job... [2025-03-09 17:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:33:03] Production.INFO: ==10031== Lock acquired, processing the job... [2025-03-09 17:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:33:03] Production.INFO: ==10029== Lock acquired, processing the job... [2025-03-09 17:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 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-09 17:33:03] Production.INFO: ==10035== Lock acquired, processing the job... [2025-03-09 17:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:33:03] Production.INFO: ==10033== Lock acquired, processing the job... [2025-03-09 17:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:33:03] Production.INFO: count ==13 [2025-03-09 17: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-09 17:33:03] Production.INFO: count ==21 [2025-03-09 17:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643737') start [2025-03-09 17:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:33:03] Production.INFO: Account Balance Start. [2025-03-09 17:33:03] Production.INFO: CreateAllLog Start [2025-03-09 17:33:03] Production.INFO: 117 [2025-03-09 17:33:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:33:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643737') end [2025-03-09 17:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:33:04] Production.INFO: 1 [2025-03-09 17:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:33:04] Production.ERROR: done [2025-03-09 17:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:33:04] Production.INFO: ==10039== Releasing lock... [2025-03-09 17:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:33:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:33:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:33:04] Production.INFO: Total Charge 0 [2025-03-09 17:33:04] Production.INFO: CreateAllLog End [2025-03-09 17:33:04] Production.INFO: ==10031== Releasing lock... [2025-03-09 17:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:33:04] Production.ERROR: done [2025-03-09 17:33:04] Production.INFO: Account Balance End. [2025-03-09 17:33:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:33:04] Production.INFO: ==10035== Releasing lock... [2025-03-09 17:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:33:05 [end_date_ymd] => 2025-03-09 17:33:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:33:05' and `end` < '2025-03-09 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-09 17:33:12] Production.ERROR: CronJobId end10 [2025-03-09 17:33:12] Production.INFO: ==10033== Releasing lock... [2025-03-09 17:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:33:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:33:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:33:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:33:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:33:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:33:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:33:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:33:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:33:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:33:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:33:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:33:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:33:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:33:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:33:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:33:14] Production.INFO: call_cost start [2025-03-09 17:33:14] Production.INFO: call_cost end [2025-03-09 17:33:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:33:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:33:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:33:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:33:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:33:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:33:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:33:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:33:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:33:15] Production.INFO: ==10029== Releasing lock... [2025-03-09 17:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:33:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:33:17] Production.INFO: count ==1199 [2025-03-09 17:33:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:33:05 - End Time 2025-03-09 17:33:05 [2025-03-09 17:33:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643740', 'tblTempUsageDetail_20' ) start [2025-03-09 17:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643740', 'tblTempUsageDetail_20' ) end [2025-03-09 17:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643740', 'tblTempVendorCDR_20' ) start [2025-03-09 17:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643740', 'tblTempVendorCDR_20' ) end [2025-03-09 17:33:17] Production.INFO: ProcessCDR(1,14643740,1,1,2) [2025-03-09 17:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643740', 'tblTempUsageDetail_20' ) start [2025-03-09 17:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643740', 'tblTempUsageDetail_20' ) end [2025-03-09 17:33:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:33:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:33:22] Production.INFO: ==10037== Releasing lock... [2025-03-09 17:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:33:22] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 21:34:01] Production.INFO: ==10099== Lock acquired, processing the job... [2025-03-09 21:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:34:01] Production.INFO: neon service started [2025-03-09 21:34:01] Production.INFO: neon service started [2025-03-09 21:34:01] Production.INFO: ==10099== Releasing lock... [2025-03-09 21:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:34:01] Production.INFO: ==10101== Lock acquired, processing the job... [2025-03-09 17:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:34:02] Production.INFO: ==10101== Releasing lock... [2025-03-09 17:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:34:02] Production.INFO: ==10103== Lock acquired, processing the job... [2025-03-09 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:34:02] Production.INFO: ==10103== Releasing lock... [2025-03-09 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:34:03] Production.INFO: ==10106== Lock acquired, processing the job... [2025-03-09 17:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:34:03] Production.INFO: ==10108== Lock acquired, processing the job... [2025-03-09 17:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:34:03] Production.INFO: ==10110== Lock acquired, processing the job... [2025-03-09 17:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:34:03] Production.INFO: ==10112== Lock acquired, processing the job... [2025-03-09 17:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:34:03] Production.INFO: ==10114== Lock acquired, processing the job... [2025-03-09 17:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:34:03] Production.INFO: Account Balance Start. [2025-03-09 17:34:03] Production.INFO: CreateAllLog Start [2025-03-09 17:34:03] Production.INFO: 117 [2025-03-09 17:34:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:34:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:34:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:34:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:34:03] Production.INFO: ==10116== Lock acquired, processing the job... [2025-03-09 17:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:34:03] Production.INFO: Total Charge 0 [2025-03-09 17:34:03] Production.INFO: CreateAllLog End [2025-03-09 17:34:03] Production.INFO: ==10108== Releasing lock... [2025-03-09 17:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:34:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17: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-09 17:34:03] Production.INFO: Account Balance End. [2025-03-09 17:34:03] Production.INFO: count ==13 [2025-03-09 17: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-09 17:34:03] Production.INFO: count ==21 [2025-03-09 17:34:03] Production.ERROR: done [2025-03-09 17:34:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:34:03] Production.ERROR: CronJobId end 12 [2025-03-09 17:34:03] Production.INFO: ==10112== Releasing lock... [2025-03-09 17:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:34:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643744') start [2025-03-09 17:34:04] Production.ERROR: done [2025-03-09 17:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643744') end [2025-03-09 17:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:34:04] Production.INFO: 1 [2025-03-09 17:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:34:04] Production.INFO: ==10116== Releasing lock... [2025-03-09 17:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:34:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:34:04 [end_date_ymd] => 2025-03-09 17:34:04 [RateCDR] => 1 ) [2025-03-09 17:34:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 14:34:04' and `end` < '2025-03-09 17:34:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 17:34:11] Production.ERROR: CronJobId end10 [2025-03-09 17:34:11] Production.INFO: ==10110== Releasing lock... [2025-03-09 17:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:34:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:34:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:34:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:34:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:34:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:34:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:34:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:34:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:34:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:34:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:34:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:34:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:34:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:34:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:34:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:34:14] Production.INFO: call_cost start [2025-03-09 17:34:14] Production.INFO: call_cost end [2025-03-09 17:34:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:34:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:34:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:34:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:34:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:34:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:34:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:34:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:34:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:34:15] Production.INFO: ==10106== Releasing lock... [2025-03-09 17:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:34:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:34:17] Production.INFO: count ==1199 [2025-03-09 17:34:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:34:04 - End Time 2025-03-09 17:34:04 [2025-03-09 17:34:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643745', 'tblTempUsageDetail_20' ) start [2025-03-09 17:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643745', 'tblTempUsageDetail_20' ) end [2025-03-09 17:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643745', 'tblTempVendorCDR_20' ) start [2025-03-09 17:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643745', 'tblTempVendorCDR_20' ) end [2025-03-09 17:34:17] Production.INFO: ProcessCDR(1,14643745,1,1,2) [2025-03-09 17:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:34:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643745', 'tblTempUsageDetail_20' ) start [2025-03-09 17:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643745', 'tblTempUsageDetail_20' ) end [2025-03-09 17:34:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:34:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:34:20] Production.INFO: ==10114== Releasing lock... [2025-03-09 17:34:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:34:20] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 21:35:01] Production.INFO: ==10171== Lock acquired, processing the job... [2025-03-09 21:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:35:01] Production.INFO: neon service started [2025-03-09 21:35:02] Production.INFO: neon service started [2025-03-09 21:35:02] Production.INFO: ==10171== Releasing lock... [2025-03-09 21:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:35:02] Production.INFO: ==10173== Lock acquired, processing the job... [2025-03-09 17:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 21:35:02] Production.INFO: ==10175== Lock acquired, processing the job... [2025-03-09 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:35:02] Production.INFO: ==10175== Releasing lock... [2025-03-09 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:35:03] Production.INFO: ==10173== Releasing lock... [2025-03-09 17:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:35:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:35:03] Production.INFO: ==10180== Lock acquired, processing the job... [2025-03-09 17:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:35:03] Production.INFO: ==10186== Lock acquired, processing the job... [2025-03-09 17:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:35:04] Production.INFO: ==10178== Lock acquired, processing the job... [2025-03-09 17:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:35:04] Production.INFO: ==10180== Releasing lock... [2025-03-09 17:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:35:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:35:04] Production.INFO: ==10182== Lock acquired, processing the job... [2025-03-09 17:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:35:04] Production.INFO: ==10184== Lock acquired, processing the job... [2025-03-09 17:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:35:04] Production.INFO: ==10188== Lock acquired, processing the job... [2025-03-09 17:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:35:04] Production.INFO: Account Balance Start. [2025-03-09 17:35:04] Production.INFO: CreateAllLog Start [2025-03-09 17:35:04] Production.INFO: 117 [2025-03-09 17:35:04] Production.INFO: Date 2025-03-08 [2025-03-09 17: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-09 17:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:35:04] Production.INFO: count ==13 [2025-03-09 17: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-09 17:35:04] Production.INFO: count ==21 [2025-03-09 17:35:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643748') start [2025-03-09 17:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:35:04] Production.ERROR: done [2025-03-09 17:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:35:04] Production.INFO: Total Charge 0 [2025-03-09 17:35:04] Production.INFO: CreateAllLog End [2025-03-09 17:35:04] Production.ERROR: done [2025-03-09 17:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643748') end [2025-03-09 17:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:35:04] Production.INFO: 1 [2025-03-09 17:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:35:04] Production.INFO: ==10188== Releasing lock... [2025-03-09 17:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:35:04] Production.INFO: Account Balance End. [2025-03-09 17:35:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:35:04] Production.INFO: ==10184== Releasing lock... [2025-03-09 17:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:35:05 [end_date_ymd] => 2025-03-09 17:35:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:35:05' and `end` < '2025-03-09 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-09 17:35:12] Production.ERROR: CronJobId end10 [2025-03-09 17:35:12] Production.INFO: ==10182== Releasing lock... [2025-03-09 17:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:35:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:35:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:35:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:35:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:35:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:35:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:35:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:35:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:35:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:35:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:35:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:35:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:35:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:35:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:35:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:35:15] Production.INFO: call_cost start [2025-03-09 17:35:15] Production.INFO: call_cost end [2025-03-09 17:35:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:35:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:35:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:35:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:35:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:35:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:35:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:35:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:35:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:35:16] Production.INFO: ==10178== Releasing lock... [2025-03-09 17:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:35:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:35:17] Production.INFO: count ==1197 [2025-03-09 17:35:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:35:05 - End Time 2025-03-09 17:35:05 [2025-03-09 17:35:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643750', 'tblTempUsageDetail_20' ) start [2025-03-09 17:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643750', 'tblTempUsageDetail_20' ) end [2025-03-09 17:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643750', 'tblTempVendorCDR_20' ) start [2025-03-09 17:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643750', 'tblTempVendorCDR_20' ) end [2025-03-09 17:35:18] Production.INFO: ProcessCDR(1,14643750,1,1,2) [2025-03-09 17:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643750', 'tblTempUsageDetail_20' ) start [2025-03-09 17:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643750', 'tblTempUsageDetail_20' ) end [2025-03-09 17:35:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:35:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:35:21] Production.INFO: ==10186== Releasing lock... [2025-03-09 17:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:35:21] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 21:36:01] Production.INFO: ==10243== Lock acquired, processing the job... [2025-03-09 21:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:36:01] Production.INFO: neon service started [2025-03-09 21:36:01] Production.INFO: neon service started [2025-03-09 21:36:01] Production.INFO: ==10243== Releasing lock... [2025-03-09 21:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:36:02] Production.INFO: ==10245== Lock acquired, processing the job... [2025-03-09 17:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 21:36:02] Production.INFO: ==10247== Lock acquired, processing the job... [2025-03-09 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:36:02] Production.INFO: ==10247== Releasing lock... [2025-03-09 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:36:02] Production.INFO: ==10245== Releasing lock... [2025-03-09 17:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:36:03] Production.INFO: ==10250== Lock acquired, processing the job... [2025-03-09 17:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:36:03] Production.INFO: ==10260== Lock acquired, processing the job... [2025-03-09 17:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 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-09 17:36:03] Production.INFO: count ==13 [2025-03-09 17: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-09 17:36:03] Production.INFO: count ==21 [2025-03-09 17:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643752') start [2025-03-09 17:36:03] Production.INFO: ==10252== Lock acquired, processing the job... [2025-03-09 17:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643752') end [2025-03-09 17:36:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:36:03] Production.INFO: 1 [2025-03-09 17:36:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:36:03] Production.INFO: ==10256== Lock acquired, processing the job... [2025-03-09 17:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:36:03] Production.INFO: ==10254== Lock acquired, processing the job... [2025-03-09 17:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:36:03] Production.INFO: ==10260== Releasing lock... [2025-03-09 17:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:36:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:36:03] Production.INFO: ==10258== Lock acquired, processing the job... [2025-03-09 17:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:36:03] Production.INFO: Account Balance Start. [2025-03-09 17:36:03] Production.INFO: CreateAllLog Start [2025-03-09 17:36:03] Production.INFO: 117 [2025-03-09 17:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:36:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:36:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:36:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:36:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:36:04] Production.INFO: Total Charge 0 [2025-03-09 17:36:04] Production.INFO: CreateAllLog End [2025-03-09 17:36:04] Production.INFO: ==10252== Releasing lock... [2025-03-09 17:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:36:04] Production.ERROR: done [2025-03-09 17:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:36:04] Production.ERROR: done [2025-03-09 17:36:04] Production.INFO: Account Balance End. [2025-03-09 17:36:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:36:04] Production.INFO: ==10256== Releasing lock... [2025-03-09 17:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:36:05 [end_date_ymd] => 2025-03-09 17:36:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:36:05' and `end` < '2025-03-09 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-09 17:36:11] Production.ERROR: CronJobId end10 [2025-03-09 17:36:11] Production.INFO: ==10254== Releasing lock... [2025-03-09 17:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:36:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:36:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:36:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:36:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:36:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:36:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:36:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:36:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:36:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:36:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:36:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:36:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:36:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:36:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:36:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:36:14] Production.INFO: call_cost start [2025-03-09 17:36:14] Production.INFO: call_cost end [2025-03-09 17:36:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:36:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:36:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:36:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:36:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:36:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:36:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:36:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:36:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:36:15] Production.INFO: ==10250== Releasing lock... [2025-03-09 17:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:36:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:36:17] Production.INFO: count ==1197 [2025-03-09 17:36:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:36:05 - End Time 2025-03-09 17:36:05 [2025-03-09 17:36:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643755', 'tblTempUsageDetail_20' ) start [2025-03-09 17:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643755', 'tblTempUsageDetail_20' ) end [2025-03-09 17:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643755', 'tblTempVendorCDR_20' ) start [2025-03-09 17:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643755', 'tblTempVendorCDR_20' ) end [2025-03-09 17:36:17] Production.INFO: ProcessCDR(1,14643755,1,1,2) [2025-03-09 17:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643755', 'tblTempUsageDetail_20' ) start [2025-03-09 17:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643755', 'tblTempUsageDetail_20' ) end [2025-03-09 17:36:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:36:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:36:20] Production.INFO: ==10258== Releasing lock... [2025-03-09 17:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:36:20] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 21:37:01] Production.INFO: ==10318== Lock acquired, processing the job... [2025-03-09 21:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:37:01] Production.INFO: neon service started [2025-03-09 21:37:01] Production.INFO: neon service started [2025-03-09 21:37:01] Production.INFO: ==10318== Releasing lock... [2025-03-09 21:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 21:37:02] Production.INFO: ==10322== Lock acquired, processing the job... [2025-03-09 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:37:02] Production.INFO: ==10322== Releasing lock... [2025-03-09 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:37:02] Production.INFO: ==10320== Lock acquired, processing the job... [2025-03-09 17:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:37:02] Production.INFO: ==10320== Releasing lock... [2025-03-09 17:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:37:03] Production.INFO: ==10330== Lock acquired, processing the job... [2025-03-09 17:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:37:03] Production.INFO: ==10334== Lock acquired, processing the job... [2025-03-09 17:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:37:03] Production.INFO: Account Balance Start. [2025-03-09 17:37:03] Production.INFO: CreateAllLog Start [2025-03-09 17:37:03] Production.INFO: 117 [2025-03-09 17:37:03] Production.INFO: ==10324== Lock acquired, processing the job... [2025-03-09 17:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:37:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:37:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:37:03] Production.INFO: ==10326== Lock acquired, processing the job... [2025-03-09 17:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:37:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:37:03] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 17:37:03] Production.INFO: count ==13 [2025-03-09 17:37:03] Production.INFO: Total Charge 0 [2025-03-09 17:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:37:03] Production.INFO: ==10328== Lock acquired, processing the job... [2025-03-09 17:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 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-09 17:37:03] Production.INFO: CreateAllLog End [2025-03-09 17:37:03] Production.INFO: count ==21 [2025-03-09 17:37:04] Production.INFO: ==10332== Lock acquired, processing the job... [2025-03-09 17:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643757') start [2025-03-09 17:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:37:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643757') end [2025-03-09 17:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:37:04] Production.INFO: 1 [2025-03-09 17:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:37:04] Production.INFO: Account Balance End. [2025-03-09 17:37:04] Production.INFO: ==10334== Releasing lock... [2025-03-09 17:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:37:04] Production.INFO: ==10326== Releasing lock... [2025-03-09 17:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:37:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:37:04] Production.INFO: ==10330== Releasing lock... [2025-03-09 17:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:37:04] Production.ERROR: done [2025-03-09 17:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:37:04] Production.ERROR: done [2025-03-09 17:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:37:05 [end_date_ymd] => 2025-03-09 17:37:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:37:05' and `end` < '2025-03-09 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-09 17:37:11] Production.ERROR: CronJobId end10 [2025-03-09 17:37:11] Production.INFO: ==10328== Releasing lock... [2025-03-09 17:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:37:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:37:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:37:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:37:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:37:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:37:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:37:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:37:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:37:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:37:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:37:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:37:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:37:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:37:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:37:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:37:14] Production.INFO: call_cost start [2025-03-09 17:37:14] Production.INFO: call_cost end [2025-03-09 17:37:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:37:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:37:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:37:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:37:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:37:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:37:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:37:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:37:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:37:15] Production.INFO: ==10324== Releasing lock... [2025-03-09 17:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:37:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:37:17] Production.INFO: count ==1197 [2025-03-09 17:37:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:37:05 - End Time 2025-03-09 17:37:05 [2025-03-09 17:37:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643760', 'tblTempUsageDetail_20' ) start [2025-03-09 17:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643760', 'tblTempUsageDetail_20' ) end [2025-03-09 17:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643760', 'tblTempVendorCDR_20' ) start [2025-03-09 17:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643760', 'tblTempVendorCDR_20' ) end [2025-03-09 17:37:18] Production.INFO: ProcessCDR(1,14643760,1,1,2) [2025-03-09 17:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643760', 'tblTempUsageDetail_20' ) start [2025-03-09 17:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643760', 'tblTempUsageDetail_20' ) end [2025-03-09 17:37:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:37:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:37:21] Production.INFO: ==10332== Releasing lock... [2025-03-09 17:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:37:21] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 21:38:01] Production.INFO: ==10390== Lock acquired, processing the job... [2025-03-09 21:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:38:01] Production.INFO: neon service started [2025-03-09 21:38:01] Production.INFO: neon service started [2025-03-09 21:38:01] Production.INFO: ==10390== Releasing lock... [2025-03-09 21:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:38:01] Production.INFO: ==10392== Lock acquired, processing the job... [2025-03-09 17:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 21:38:02] Production.INFO: ==10394== Lock acquired, processing the job... [2025-03-09 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:38:02] Production.INFO: ==10394== Releasing lock... [2025-03-09 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:38:02] Production.INFO: ==10392== Releasing lock... [2025-03-09 17:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:38:03] Production.INFO: ==10398== Lock acquired, processing the job... [2025-03-09 17:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:38:03] Production.INFO: ==10400== Lock acquired, processing the job... [2025-03-09 17:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:38:03] Production.INFO: ==10396== Lock acquired, processing the job... [2025-03-09 17:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:38:03] Production.INFO: ==10398== Releasing lock... [2025-03-09 17:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:38:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:38:03] Production.INFO: ==10403== Lock acquired, processing the job... [2025-03-09 17:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:38:03] Production.INFO: Account Balance Start. [2025-03-09 17:38:03] Production.INFO: CreateAllLog Start [2025-03-09 17:38:03] Production.INFO: 117 [2025-03-09 17:38:03] Production.INFO: ==10405== Lock acquired, processing the job... [2025-03-09 17:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:38:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:38:03] Production.INFO: ==10407== Lock acquired, processing the job... [2025-03-09 17:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:38:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 17:38:04] Production.INFO: count ==13 [2025-03-09 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-09 17:38:04] Production.INFO: count ==21 [2025-03-09 17:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643764') start [2025-03-09 17:38:04] Production.INFO: Total Charge 0 [2025-03-09 17:38:04] Production.INFO: CreateAllLog End [2025-03-09 17:38:04] Production.ERROR: done [2025-03-09 17:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643764') end [2025-03-09 17:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:38:04] Production.INFO: 1 [2025-03-09 17:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:38:04] Production.INFO: ==10407== Releasing lock... [2025-03-09 17:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:38:04] Production.ERROR: done [2025-03-09 17:38:04] Production.INFO: Account Balance End. [2025-03-09 17:38:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:38:04] Production.INFO: ==10403== Releasing lock... [2025-03-09 17:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:38:05 [end_date_ymd] => 2025-03-09 17:38:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:38:05' and `end` < '2025-03-09 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-09 17:38:11] Production.ERROR: CronJobId end10 [2025-03-09 17:38:11] Production.INFO: ==10400== Releasing lock... [2025-03-09 17:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:38:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:38:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:38:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:38:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:38:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:38:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:38:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:38:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:38:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:38:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:38:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:38:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:38:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:38:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:38:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:38:14] Production.INFO: call_cost start [2025-03-09 17:38:14] Production.INFO: call_cost end [2025-03-09 17:38:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:38:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:38:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:38:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:38:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:38:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:38:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:38:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:38:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:38:14] Production.INFO: ==10396== Releasing lock... [2025-03-09 17:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:38:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:38:17] Production.INFO: count ==1197 [2025-03-09 17:38:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:38:05 - End Time 2025-03-09 17:38:05 [2025-03-09 17:38:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643765', 'tblTempUsageDetail_20' ) start [2025-03-09 17:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643765', 'tblTempUsageDetail_20' ) end [2025-03-09 17:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643765', 'tblTempVendorCDR_20' ) start [2025-03-09 17:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643765', 'tblTempVendorCDR_20' ) end [2025-03-09 17:38:18] Production.INFO: ProcessCDR(1,14643765,1,1,2) [2025-03-09 17:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643765', 'tblTempUsageDetail_20' ) start [2025-03-09 17:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643765', 'tblTempUsageDetail_20' ) end [2025-03-09 17:38:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:38:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:38:21] Production.INFO: ==10405== Releasing lock... [2025-03-09 17:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:38:21] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 21:39:01] Production.INFO: ==10526== Lock acquired, processing the job... [2025-03-09 21:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:39:02] Production.INFO: neon service started [2025-03-09 21:39:02] Production.INFO: neon service started [2025-03-09 21:39:02] Production.INFO: ==10526== Releasing lock... [2025-03-09 21:39:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:39:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:39:02] Production.INFO: ==10531== Lock acquired, processing the job... [2025-03-09 17:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:39:02] Production.INFO: ==10531== Releasing lock... [2025-03-09 17:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:39:03] Production.INFO: ==10533== Lock acquired, processing the job... [2025-03-09 21:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:39:03] Production.INFO: ==10533== Releasing lock... [2025-03-09 21:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:39:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:39:03] Production.INFO: ==10535== Lock acquired, processing the job... [2025-03-09 17:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:39:03] Production.INFO: ==10537== Lock acquired, processing the job... [2025-03-09 17:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:39:03] Production.INFO: ==10539== Lock acquired, processing the job... [2025-03-09 17:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:39:03] Production.INFO: ==10543== Lock acquired, processing the job... [2025-03-09 17:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:39:03] Production.INFO: ==10541== Lock acquired, processing the job... [2025-03-09 17:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:39:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:39:04] Production.INFO: Account Balance Start. [2025-03-09 17:39:04] Production.INFO: CreateAllLog Start [2025-03-09 17:39:04] Production.INFO: 117 [2025-03-09 17:39:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:39:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:39:04] Production.INFO: ==10545== Lock acquired, processing the job... [2025-03-09 17:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:39:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:39:04] Production.INFO: Total Charge 0 [2025-03-09 17:39:04] Production.INFO: CreateAllLog End [2025-03-09 17:39:04] Production.INFO: ==10537== Releasing lock... [2025-03-09 17:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:39:04] Production.INFO: Account Balance End. [2025-03-09 17:39:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:39:04] Production.INFO: ==10541== Releasing lock... [2025-03-09 17:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:39:04] Production.ERROR: done [2025-03-09 17:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17: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-09 17:39:04] Production.INFO: count ==13 [2025-03-09 17:39:04] Production.ERROR: done [2025-03-09 17: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-09 17:39:04] Production.INFO: count ==21 [2025-03-09 17:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643769') start [2025-03-09 17:39:05] Production.ERROR: PBX CALL prc_importPBXExtension('14643769') end [2025-03-09 17:39:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:39:05] Production.INFO: 1 [2025-03-09 17:39:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:39:05] Production.INFO: ==10545== Releasing lock... [2025-03-09 17:39:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:39:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:39:05 [end_date_ymd] => 2025-03-09 17:39:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:39:05' and `end` < '2025-03-09 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-09 17:39:15] Production.ERROR: CronJobId end10 [2025-03-09 17:39:15] Production.INFO: ==10539== Releasing lock... [2025-03-09 17:39:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:39:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:39:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:39:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:39:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:39:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:39:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:39:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:39:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:39:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:39:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:39:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:39:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:39:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:39:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:39:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:39:16] Production.INFO: call_cost start [2025-03-09 17:39:16] Production.INFO: call_cost end [2025-03-09 17:39:17] Production.INFO: count ==1198 [2025-03-09 17:39:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:39:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:39:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:39:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:39:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:39:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:39:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:39:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:39:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:39:17] Production.INFO: ==10535== Releasing lock... [2025-03-09 17:39:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:39:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:39:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:39:05 - End Time 2025-03-09 17:39:05 [2025-03-09 17:39:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643770', 'tblTempUsageDetail_20' ) start [2025-03-09 17:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643770', 'tblTempUsageDetail_20' ) end [2025-03-09 17:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643770', 'tblTempVendorCDR_20' ) start [2025-03-09 17:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643770', 'tblTempVendorCDR_20' ) end [2025-03-09 17:39:18] Production.INFO: ProcessCDR(1,14643770,1,1,2) [2025-03-09 17:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643770', 'tblTempUsageDetail_20' ) start [2025-03-09 17:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643770', 'tblTempUsageDetail_20' ) end [2025-03-09 17:39:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:39:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:39:21] Production.INFO: ==10543== Releasing lock... [2025-03-09 17:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:39:21] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 21:40:01] Production.INFO: ==10602== Lock acquired, processing the job... [2025-03-09 21:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:40:01] Production.INFO: neon service started [2025-03-09 21:40:01] Production.INFO: neon service started [2025-03-09 21:40:01] Production.INFO: ==10602== Releasing lock... [2025-03-09 21:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:40:01] Production.INFO: ==10604== Lock acquired, processing the job... [2025-03-09 17:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:40:02] Production.INFO: ==10604== Releasing lock... [2025-03-09 17:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:40:02] Production.INFO: ==10606== Lock acquired, processing the job... [2025-03-09 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:40:02] Production.INFO: ==10606== Releasing lock... [2025-03-09 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:40:03] Production.INFO: ==10608== Lock acquired, processing the job... [2025-03-09 17:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 17:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 17:40:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 17:40:03] Production.INFO: ==10608== Releasing lock... [2025-03-09 17:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 17:40:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 17:40:03] Production.INFO: ==10612== Lock acquired, processing the job... [2025-03-09 17:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:40:03] Production.INFO: ==10610== Lock acquired, processing the job... [2025-03-09 17:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:40:03] Production.INFO: ==10614== Lock acquired, processing the job... [2025-03-09 17:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:40:03] Production.INFO: ==10616== Lock acquired, processing the job... [2025-03-09 17:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:40:03] Production.INFO: ==10620== Lock acquired, processing the job... [2025-03-09 17:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 17:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:40:03] Production.INFO: Account Balance Start. [2025-03-09 17:40:03] Production.INFO: CreateAllLog Start [2025-03-09 17:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:40:03] Production.INFO: 117 [2025-03-09 17:40:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:40:03] Production.INFO: ==10618== Lock acquired, processing the job... [2025-03-09 17:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:40:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:40:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:40:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:40:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:40:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:40:03] Production.INFO: ==10623== Lock acquired, processing the job... [2025-03-09 17:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:40:03] Production.INFO: Total Charge 0 [2025-03-09 17:40:03] Production.INFO: CreateAllLog End [2025-03-09 17:40:04] Production.INFO: ==10612== Releasing lock... [2025-03-09 17:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 17:40:04] Production.INFO: Account Balance End. [2025-03-09 17:40:04] Production.INFO: count ==13 [2025-03-09 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-09 17:40:04] Production.INFO: count ==21 [2025-03-09 17:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643774') start [2025-03-09 17:40:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:40:04] Production.INFO: ==10616== Releasing lock... [2025-03-09 17:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:40:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:40:04] Production.ERROR: done [2025-03-09 17:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:40:04] Production.ERROR: done [2025-03-09 17:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643774') end [2025-03-09 17:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:40:04] Production.INFO: 1 [2025-03-09 17:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 17:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643775', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 17:40:04] Production.INFO: ==10623== Releasing lock... [2025-03-09 17:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:40:04] Production.ERROR: done [2025-03-09 17:40:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:40:05 [end_date_ymd] => 2025-03-09 17:40:05 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:40:05' and `end` < '2025-03-09 17: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-09 17:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643775', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 17:40:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 17:40:08] Production.INFO: ProcessCDR(1,14643775,1,1,2) [2025-03-09 17:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14643775,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14643775,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:40:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:40:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:40:08] Production.INFO: ==10620== Releasing lock... [2025-03-09 17:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 17:40:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 17:40:12] Production.ERROR: CronJobId end10 [2025-03-09 17:40:12] Production.INFO: ==10614== Releasing lock... [2025-03-09 17:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:40:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:40:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:40:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:40:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:40:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:40:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:40:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:40:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:40:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:40:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:40:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:40:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:40:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:40:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:40:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:40:15] Production.INFO: call_cost start [2025-03-09 17:40:15] Production.INFO: call_cost end [2025-03-09 17:40:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:40:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:40:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:40:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:40:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:40:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:40:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:40:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:40:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:40:16] Production.INFO: ==10610== Releasing lock... [2025-03-09 17:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:40:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:40:18] Production.INFO: count ==1196 [2025-03-09 17:40:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:40:05 - End Time 2025-03-09 17:40:05 [2025-03-09 17:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643776', 'tblTempUsageDetail_20' ) start [2025-03-09 17:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643776', 'tblTempUsageDetail_20' ) end [2025-03-09 17:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643776', 'tblTempVendorCDR_20' ) start [2025-03-09 17:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643776', 'tblTempVendorCDR_20' ) end [2025-03-09 17:40:18] Production.INFO: ProcessCDR(1,14643776,1,1,2) [2025-03-09 17:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643776', 'tblTempUsageDetail_20' ) start [2025-03-09 17:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643776', 'tblTempUsageDetail_20' ) end [2025-03-09 17:40:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:40:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:40:21] Production.INFO: ==10618== Releasing lock... [2025-03-09 17:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:40:21] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 21:41:01] Production.INFO: ==10719== Lock acquired, processing the job... [2025-03-09 21:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:41:01] Production.INFO: neon service started [2025-03-09 21:41:01] Production.INFO: neon service started [2025-03-09 21:41:01] Production.INFO: ==10719== Releasing lock... [2025-03-09 21:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:41:02] Production.INFO: ==10721== Lock acquired, processing the job... [2025-03-09 17:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:41:02] Production.INFO: ==10721== Releasing lock... [2025-03-09 17:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:41:02] Production.INFO: ==10723== Lock acquired, processing the job... [2025-03-09 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:41:02] Production.INFO: ==10723== Releasing lock... [2025-03-09 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:41:03] Production.INFO: ==10728== Lock acquired, processing the job... [2025-03-09 17:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:41:03] Production.INFO: ==10726== Lock acquired, processing the job... [2025-03-09 17:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:41:03] Production.INFO: ==10732== Lock acquired, processing the job... [2025-03-09 17:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:41:03] Production.INFO: ==10736== Lock acquired, processing the job... [2025-03-09 17:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:41:03] Production.INFO: ==10730== Lock acquired, processing the job... [2025-03-09 17:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:41:03] Production.INFO: ==10734== Lock acquired, processing the job... [2025-03-09 17:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:41:03] Production.INFO: Account Balance Start. [2025-03-09 17:41:03] Production.INFO: CreateAllLog Start [2025-03-09 17:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 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-09 17:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:41:03] Production.INFO: 117 [2025-03-09 17:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:41:03] Production.INFO: count ==13 [2025-03-09 17:41:03] Production.INFO: ==10728== Releasing lock... [2025-03-09 17:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:41:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 17:41:03] Production.INFO: count ==21 [2025-03-09 17:41:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643779') start [2025-03-09 17:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:41:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:41:03] Production.INFO: Total Charge 0 [2025-03-09 17:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643779') end [2025-03-09 17:41:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:41:03] Production.INFO: 1 [2025-03-09 17:41:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:41:03] Production.INFO: CreateAllLog End [2025-03-09 17:41:04] Production.INFO: ==10736== Releasing lock... [2025-03-09 17:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:41:04] Production.ERROR: done [2025-03-09 17:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:41:04] Production.INFO: Account Balance End. [2025-03-09 17:41:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:41:04] Production.INFO: ==10732== Releasing lock... [2025-03-09 17:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:41:04] Production.ERROR: done [2025-03-09 17:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:41:05 [end_date_ymd] => 2025-03-09 17:41:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:41:05' and `end` < '2025-03-09 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-09 17:41:11] Production.ERROR: CronJobId end10 [2025-03-09 17:41:11] Production.INFO: ==10730== Releasing lock... [2025-03-09 17:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:41:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:41:14] Production.INFO: call_cost start [2025-03-09 17:41:14] Production.INFO: call_cost end [2025-03-09 17:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:41:15] Production.INFO: ==10726== Releasing lock... [2025-03-09 17:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:41:17] Production.INFO: count ==1224 [2025-03-09 17:41:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:41:05 - End Time 2025-03-09 17:41:05 [2025-03-09 17:41:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643781', 'tblTempUsageDetail_20' ) start [2025-03-09 17:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643781', 'tblTempUsageDetail_20' ) end [2025-03-09 17:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643781', 'tblTempVendorCDR_20' ) start [2025-03-09 17:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643781', 'tblTempVendorCDR_20' ) end [2025-03-09 17:41:17] Production.INFO: ProcessCDR(1,14643781,1,1,2) [2025-03-09 17:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643781', 'tblTempUsageDetail_20' ) start [2025-03-09 17:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643781', 'tblTempUsageDetail_20' ) end [2025-03-09 17:41:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:41:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:41:21] Production.INFO: ==10734== Releasing lock... [2025-03-09 17:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:41:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 21:42:02] Production.INFO: ==10793== Lock acquired, processing the job... [2025-03-09 21:42:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:42:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:42:02] Production.INFO: neon service started [2025-03-09 21:42:02] Production.INFO: neon service started [2025-03-09 21:42:02] Production.INFO: ==10793== Releasing lock... [2025-03-09 21:42:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:42:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:42:03] Production.INFO: ==10795== Lock acquired, processing the job... [2025-03-09 17:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 21:42:03] Production.INFO: ==10797== Lock acquired, processing the job... [2025-03-09 21:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:42:03] Production.INFO: ==10797== Releasing lock... [2025-03-09 21:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:42:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:42:03] Production.INFO: ==10795== Releasing lock... [2025-03-09 17:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:42:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:42:04] Production.INFO: ==10802== Lock acquired, processing the job... [2025-03-09 17:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:42:04] Production.INFO: ==10804== Lock acquired, processing the job... [2025-03-09 17:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:42:04] Production.INFO: ==10810== Lock acquired, processing the job... [2025-03-09 17:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:42:04] Production.INFO: ==10800== Lock acquired, processing the job... [2025-03-09 17:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:42:04] Production.INFO: ==10806== Lock acquired, processing the job... [2025-03-09 17:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:42:04] Production.INFO: ==10808== Lock acquired, processing the job... [2025-03-09 17:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 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-09 17:42:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:42:04] Production.INFO: count ==13 [2025-03-09 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-09 17:42:04] Production.INFO: count ==21 [2025-03-09 17:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:42:04] Production.INFO: ==10802== Releasing lock... [2025-03-09 17:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:42:04] Production.INFO: Account Balance Start. [2025-03-09 17:42:04] Production.INFO: CreateAllLog Start [2025-03-09 17:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643783') start [2025-03-09 17:42:04] Production.INFO: 117 [2025-03-09 17:42:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643783') end [2025-03-09 17:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:42:04] Production.INFO: 1 [2025-03-09 17:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:42:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:42:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:42:04] Production.INFO: Total Charge 0 [2025-03-09 17:42:04] Production.INFO: CreateAllLog End [2025-03-09 17:42:04] Production.INFO: ==10810== Releasing lock... [2025-03-09 17:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:42:05] Production.ERROR: done [2025-03-09 17:42:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:42:05] Production.ERROR: done [2025-03-09 17:42:05] Production.INFO: Account Balance End. [2025-03-09 17:42:05] Production.ERROR: CronJobId end 12 [2025-03-09 17:42:05] Production.INFO: ==10806== Releasing lock... [2025-03-09 17:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:42:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:42:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:42:06 [end_date_ymd] => 2025-03-09 17:42:06 [RateCDR] => 1 ) [2025-03-09 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-09 14:42:06' and `end` < '2025-03-09 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-09 17:42:13] Production.ERROR: CronJobId end10 [2025-03-09 17:42:13] Production.INFO: ==10804== Releasing lock... [2025-03-09 17:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:42:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:42:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:42:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:42:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:42:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:42:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:42:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:42:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:42:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:42:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:42:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:42:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:42:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:42:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:42:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:42:16] Production.INFO: call_cost start [2025-03-09 17:42:16] Production.INFO: call_cost end [2025-03-09 17:42:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:42:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:42:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:42:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:42:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:42:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:42:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:42:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:42:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:42:17] Production.INFO: ==10800== Releasing lock... [2025-03-09 17:42:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:42:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:42:18] Production.INFO: count ==1225 [2025-03-09 17:42:19] Production.ERROR: pbx CDR StartTime 2025-03-09 14:42:06 - End Time 2025-03-09 17:42:06 [2025-03-09 17:42:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643786', 'tblTempUsageDetail_20' ) start [2025-03-09 17:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643786', 'tblTempUsageDetail_20' ) end [2025-03-09 17:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643786', 'tblTempVendorCDR_20' ) start [2025-03-09 17:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643786', 'tblTempVendorCDR_20' ) end [2025-03-09 17:42:19] Production.INFO: ProcessCDR(1,14643786,1,1,2) [2025-03-09 17:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643786', 'tblTempUsageDetail_20' ) start [2025-03-09 17:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643786', 'tblTempUsageDetail_20' ) end [2025-03-09 17:42:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:42:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:42:22] Production.INFO: ==10808== Releasing lock... [2025-03-09 17:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:42:22] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 21:43:01] Production.INFO: ==10864== Lock acquired, processing the job... [2025-03-09 21:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:43:01] Production.INFO: neon service started [2025-03-09 21:43:01] Production.INFO: neon service started [2025-03-09 21:43:01] Production.INFO: ==10864== Releasing lock... [2025-03-09 21:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 21:43:02] Production.INFO: ==10868== Lock acquired, processing the job... [2025-03-09 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:43:02] Production.INFO: ==10868== Releasing lock... [2025-03-09 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:43:02] Production.INFO: ==10866== Lock acquired, processing the job... [2025-03-09 17:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:43:02] Production.INFO: ==10866== Releasing lock... [2025-03-09 17:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:43:03] Production.INFO: ==10872== Lock acquired, processing the job... [2025-03-09 17:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:43:03] Production.INFO: ==10876== Lock acquired, processing the job... [2025-03-09 17:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:43:03] Production.INFO: Account Balance Start. [2025-03-09 17:43:03] Production.INFO: CreateAllLog Start [2025-03-09 17:43:03] Production.INFO: 117 [2025-03-09 17:43:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:43:03] Production.INFO: ==10870== Lock acquired, processing the job... [2025-03-09 17:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:43:03] Production.INFO: ==10872== Releasing lock... [2025-03-09 17:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:43:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:43:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:43:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:43:03] Production.INFO: Total Charge 0 [2025-03-09 17:43:03] Production.INFO: ==10874== Lock acquired, processing the job... [2025-03-09 17:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:43:03] Production.INFO: CreateAllLog End [2025-03-09 17:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:43:04] Production.INFO: ==10878== Lock acquired, processing the job... [2025-03-09 17:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:43:04] Production.INFO: Account Balance End. [2025-03-09 17:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:43:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:43:04] Production.INFO: ==10876== Releasing lock... [2025-03-09 17:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:43:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:43:04] Production.INFO: ==10880== Lock acquired, processing the job... [2025-03-09 17:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17: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-09 17:43:04] Production.INFO: count ==13 [2025-03-09 17: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-09 17:43:04] Production.INFO: count ==21 [2025-03-09 17:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643790') start [2025-03-09 17:43:04] Production.ERROR: done [2025-03-09 17:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643790') end [2025-03-09 17:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:43:04] Production.INFO: 1 [2025-03-09 17:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:43:04] Production.ERROR: done [2025-03-09 17:43:04] Production.INFO: ==10880== Releasing lock... [2025-03-09 17:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:43:05 [end_date_ymd] => 2025-03-09 17:43:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:43:05' and `end` < '2025-03-09 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-09 17:43:12] Production.ERROR: CronJobId end10 [2025-03-09 17:43:12] Production.INFO: ==10874== Releasing lock... [2025-03-09 17:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:43:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:43:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:43:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:43:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:43:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:43:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:43:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:43:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:43:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:43:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:43:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:43:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:43:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:43:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:43:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:43:15] Production.INFO: call_cost start [2025-03-09 17:43:15] Production.INFO: call_cost end [2025-03-09 17:43:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:43:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:43:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:43:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:43:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:43:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:43:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:43:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:43:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:43:16] Production.INFO: ==10870== Releasing lock... [2025-03-09 17:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:43:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:43:17] Production.INFO: count ==1228 [2025-03-09 17:43:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:43:05 - End Time 2025-03-09 17:43:05 [2025-03-09 17:43:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643791', 'tblTempUsageDetail_20' ) start [2025-03-09 17:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643791', 'tblTempUsageDetail_20' ) end [2025-03-09 17:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643791', 'tblTempVendorCDR_20' ) start [2025-03-09 17:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643791', 'tblTempVendorCDR_20' ) end [2025-03-09 17:43:18] Production.INFO: ProcessCDR(1,14643791,1,1,2) [2025-03-09 17:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643791', 'tblTempUsageDetail_20' ) start [2025-03-09 17:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643791', 'tblTempUsageDetail_20' ) end [2025-03-09 17:43:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:43:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:43:21] Production.INFO: ==10878== Releasing lock... [2025-03-09 17:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:43:21] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 21:44:02] Production.INFO: ==10935== Lock acquired, processing the job... [2025-03-09 21:44:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:44:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:44:02] Production.INFO: neon service started [2025-03-09 21:44:02] Production.INFO: neon service started [2025-03-09 21:44:02] Production.INFO: ==10935== Releasing lock... [2025-03-09 21:44:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:44:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:44:02] Production.INFO: ==10937== Lock acquired, processing the job... [2025-03-09 17:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 21:44:02] Production.INFO: ==10940== Lock acquired, processing the job... [2025-03-09 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:44:02] Production.INFO: ==10940== Releasing lock... [2025-03-09 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:44:03] Production.INFO: ==10937== Releasing lock... [2025-03-09 17:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:44:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:44:03] Production.INFO: ==10942== Lock acquired, processing the job... [2025-03-09 17:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:44:03] Production.INFO: ==10946== Lock acquired, processing the job... [2025-03-09 17:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:44:04] Production.INFO: ==10950== Lock acquired, processing the job... [2025-03-09 17:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:44:04] Production.INFO: ==10944== Lock acquired, processing the job... [2025-03-09 17:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:44:04] Production.INFO: ==10948== Lock acquired, processing the job... [2025-03-09 17:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:44:04] Production.INFO: ==10952== Lock acquired, processing the job... [2025-03-09 17:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:44:04] Production.INFO: Account Balance Start. [2025-03-09 17:44:04] Production.INFO: CreateAllLog Start [2025-03-09 17:44:04] Production.INFO: 117 [2025-03-09 17:44:04] Production.INFO: Date 2025-03-08 [2025-03-09 17: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-09 17:44:04] Production.ERROR: done [2025-03-09 17:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:44:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:44:04] Production.INFO: count ==13 [2025-03-09 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-09 17:44:04] Production.INFO: count ==21 [2025-03-09 17:44:04] Production.INFO: Total Charge 0 [2025-03-09 17:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643795') start [2025-03-09 17:44:04] Production.INFO: CreateAllLog End [2025-03-09 17:44:04] Production.INFO: ==10944== Releasing lock... [2025-03-09 17:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:44:04] Production.ERROR: done [2025-03-09 17:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643795') end [2025-03-09 17:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:44:04] Production.INFO: 1 [2025-03-09 17:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:44:04] Production.INFO: ==10952== Releasing lock... [2025-03-09 17:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:44:04] Production.INFO: Account Balance End. [2025-03-09 17:44:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:44:04] Production.INFO: ==10948== Releasing lock... [2025-03-09 17:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:44:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:44:05 [end_date_ymd] => 2025-03-09 17:44:05 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:44:05' and `end` < '2025-03-09 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-09 17:44:15] Production.ERROR: CronJobId end10 [2025-03-09 17:44:15] Production.INFO: ==10946== Releasing lock... [2025-03-09 17:44:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:44:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:44:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:44:17] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:44:17] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:44:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:44:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:44:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:44:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:44:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:44:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:44:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:44:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:44:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:44:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:44:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:44:17] Production.INFO: call_cost start [2025-03-09 17:44:17] Production.INFO: call_cost end [2025-03-09 17:44:18] Production.INFO: count ==1231 [2025-03-09 17:44:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:44:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:44:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:44:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:44:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:44:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:44:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:44:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:44:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:44:18] Production.INFO: ==10942== Releasing lock... [2025-03-09 17:44:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:44:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:44:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:44:05 - End Time 2025-03-09 17:44:05 [2025-03-09 17:44:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643796', 'tblTempUsageDetail_20' ) start [2025-03-09 17:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643796', 'tblTempUsageDetail_20' ) end [2025-03-09 17:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643796', 'tblTempVendorCDR_20' ) start [2025-03-09 17:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643796', 'tblTempVendorCDR_20' ) end [2025-03-09 17:44:18] Production.INFO: ProcessCDR(1,14643796,1,1,2) [2025-03-09 17:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643796', 'tblTempUsageDetail_20' ) start [2025-03-09 17:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643796', 'tblTempUsageDetail_20' ) end [2025-03-09 17:44:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:44:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:44:22] Production.INFO: ==10950== Releasing lock... [2025-03-09 17:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:44:22] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 21:45:01] Production.INFO: ==11007== Lock acquired, processing the job... [2025-03-09 21:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:45:01] Production.INFO: neon service started [2025-03-09 21:45:01] Production.INFO: neon service started [2025-03-09 21:45:01] Production.INFO: ==11007== Releasing lock... [2025-03-09 21:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:45:02] Production.INFO: ==11009== Lock acquired, processing the job... [2025-03-09 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:45:02] Production.INFO: ==11009== Releasing lock... [2025-03-09 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:45:02] Production.INFO: ==11011== Lock acquired, processing the job... [2025-03-09 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:45:02] Production.INFO: ==11011== Releasing lock... [2025-03-09 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:45:03] Production.INFO: ==11018== Lock acquired, processing the job... [2025-03-09 17:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:45:03] Production.INFO: ==11014== Lock acquired, processing the job... [2025-03-09 17:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:45:03] Production.INFO: ==11016== Lock acquired, processing the job... [2025-03-09 17:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:45:03] Production.INFO: ==11024== Lock acquired, processing the job... [2025-03-09 17:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:45:03] Production.INFO: ==11020== Lock acquired, processing the job... [2025-03-09 17:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:45:03] Production.INFO: ==11022== Lock acquired, processing the job... [2025-03-09 17:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17: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-09 17:45:03] Production.INFO: count ==13 [2025-03-09 17:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17: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-09 17:45:03] Production.INFO: Account Balance Start. [2025-03-09 17:45:03] Production.INFO: CreateAllLog Start [2025-03-09 17:45:03] Production.INFO: 117 [2025-03-09 17:45:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:45:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:45:03] Production.INFO: ==11016== Releasing lock... [2025-03-09 17:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:45:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:45:03] Production.INFO: count ==21 [2025-03-09 17:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643799') start [2025-03-09 17:45:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:45:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:45:03] Production.INFO: Total Charge 0 [2025-03-09 17:45:03] Production.INFO: CreateAllLog End [2025-03-09 17:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643799') end [2025-03-09 17:45:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:45:03] Production.INFO: 1 [2025-03-09 17:45:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:45:04] Production.INFO: Account Balance End. [2025-03-09 17:45:04] Production.INFO: ==11024== Releasing lock... [2025-03-09 17:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:45:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:45:04] Production.INFO: ==11020== Releasing lock... [2025-03-09 17:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:45:04] Production.ERROR: done [2025-03-09 17:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:45:04] Production.ERROR: done [2025-03-09 17:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:45:05 [end_date_ymd] => 2025-03-09 17:45:05 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:45:05' and `end` < '2025-03-09 17: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-09 17:45:12] Production.ERROR: CronJobId end10 [2025-03-09 17:45:12] Production.INFO: ==11018== Releasing lock... [2025-03-09 17:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:45:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:45:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:45:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:45:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:45:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:45:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:45:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:45:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:45:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:45:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:45:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:45:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:45:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:45:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:45:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:45:15] Production.INFO: call_cost start [2025-03-09 17:45:15] Production.INFO: call_cost end [2025-03-09 17:45:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:45:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:45:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:45:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:45:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:45:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:45:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:45:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:45:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:45:15] Production.INFO: ==11014== Releasing lock... [2025-03-09 17:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:45:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:45:17] Production.INFO: count ==1231 [2025-03-09 17:45:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:45:05 - End Time 2025-03-09 17:45:05 [2025-03-09 17:45:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643801', 'tblTempUsageDetail_20' ) start [2025-03-09 17:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643801', 'tblTempUsageDetail_20' ) end [2025-03-09 17:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643801', 'tblTempVendorCDR_20' ) start [2025-03-09 17:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643801', 'tblTempVendorCDR_20' ) end [2025-03-09 17:45:17] Production.INFO: ProcessCDR(1,14643801,1,1,2) [2025-03-09 17:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643801', 'tblTempUsageDetail_20' ) start [2025-03-09 17:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643801', 'tblTempUsageDetail_20' ) end [2025-03-09 17:45:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:45:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:45:20] Production.INFO: ==11022== Releasing lock... [2025-03-09 17:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:45:20] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 21:46:02] Production.INFO: ==11080== Lock acquired, processing the job... [2025-03-09 21:46:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:46:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:46:02] Production.INFO: neon service started [2025-03-09 21:46:02] Production.INFO: neon service started [2025-03-09 21:46:02] Production.INFO: ==11080== Releasing lock... [2025-03-09 21:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 21:46:02] Production.INFO: ==11084== Lock acquired, processing the job... [2025-03-09 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:46:02] Production.INFO: ==11084== Releasing lock... [2025-03-09 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:46:02] Production.INFO: ==11082== Lock acquired, processing the job... [2025-03-09 17:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:46:03] Production.INFO: ==11082== Releasing lock... [2025-03-09 17:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:46:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:46:03] Production.INFO: ==11086== Lock acquired, processing the job... [2025-03-09 17:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:46:03] Production.INFO: ==11088== Lock acquired, processing the job... [2025-03-09 17:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:46:04] Production.INFO: ==11095== Lock acquired, processing the job... [2025-03-09 17:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:46:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:46:04] Production.INFO: ==11091== Lock acquired, processing the job... [2025-03-09 17:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:46:04] Production.INFO: ==11097== Lock acquired, processing the job... [2025-03-09 17:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:46:04] Production.INFO: ==11093== Lock acquired, processing the job... [2025-03-09 17:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:46:04] Production.INFO: ==11088== Releasing lock... [2025-03-09 17:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:46:04] Production.ERROR: done [2025-03-09 17:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:46:04] Production.INFO: Account Balance Start. [2025-03-09 17:46:04] Production.INFO: CreateAllLog Start [2025-03-09 17:46:04] Production.INFO: 117 [2025-03-09 17:46:04] Production.INFO: Date 2025-03-08 [2025-03-09 17: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-09 17:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:46:04] Production.INFO: count ==13 [2025-03-09 17: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-09 17:46:04] Production.INFO: count ==21 [2025-03-09 17:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643805') start [2025-03-09 17:46:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:46:04] Production.ERROR: done [2025-03-09 17:46:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:46:04] Production.INFO: Total Charge 0 [2025-03-09 17:46:04] Production.INFO: CreateAllLog End [2025-03-09 17:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643805') end [2025-03-09 17:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:46:04] Production.INFO: 1 [2025-03-09 17:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:46:04] Production.INFO: ==11097== Releasing lock... [2025-03-09 17:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:46:04] Production.INFO: Account Balance End. [2025-03-09 17:46:05] Production.ERROR: CronJobId end 12 [2025-03-09 17:46:05] Production.INFO: ==11093== Releasing lock... [2025-03-09 17:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:46:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:46:05 [end_date_ymd] => 2025-03-09 17:46:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:46:05' and `end` < '2025-03-09 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-09 17:46:12] Production.ERROR: CronJobId end10 [2025-03-09 17:46:12] Production.INFO: ==11091== Releasing lock... [2025-03-09 17:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:46:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:46:14] Production.INFO: call_cost start [2025-03-09 17:46:14] Production.INFO: call_cost end [2025-03-09 17:46:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:46:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:46:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:46:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:46:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:46:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:46:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:46:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:46:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:46:15] Production.INFO: ==11086== Releasing lock... [2025-03-09 17:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:46:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:46:17] Production.INFO: count ==1231 [2025-03-09 17:46:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:46:05 - End Time 2025-03-09 17:46:05 [2025-03-09 17:46:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643806', 'tblTempUsageDetail_20' ) start [2025-03-09 17:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643806', 'tblTempUsageDetail_20' ) end [2025-03-09 17:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643806', 'tblTempVendorCDR_20' ) start [2025-03-09 17:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643806', 'tblTempVendorCDR_20' ) end [2025-03-09 17:46:18] Production.INFO: ProcessCDR(1,14643806,1,1,2) [2025-03-09 17:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643806', 'tblTempUsageDetail_20' ) start [2025-03-09 17:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643806', 'tblTempUsageDetail_20' ) end [2025-03-09 17:46:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:46:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:46:21] Production.INFO: ==11095== Releasing lock... [2025-03-09 17:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:46:21] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 21:47:01] Production.INFO: ==11152== Lock acquired, processing the job... [2025-03-09 21:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:47:01] Production.INFO: neon service started [2025-03-09 21:47:01] Production.INFO: neon service started [2025-03-09 21:47:01] Production.INFO: ==11152== Releasing lock... [2025-03-09 21:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:47:02] Production.INFO: ==11154== Lock acquired, processing the job... [2025-03-09 17:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:47:02] Production.INFO: ==11154== Releasing lock... [2025-03-09 17:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:47:02] Production.INFO: ==11156== Lock acquired, processing the job... [2025-03-09 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:47:02] Production.INFO: ==11156== Releasing lock... [2025-03-09 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:47:03] Production.INFO: ==11165== Lock acquired, processing the job... [2025-03-09 17:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:47:03] Production.INFO: ==11169== Lock acquired, processing the job... [2025-03-09 17:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:47:03] Production.INFO: ==11159== Lock acquired, processing the job... [2025-03-09 17:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:47:03] Production.INFO: Account Balance Start. [2025-03-09 17:47:03] Production.INFO: CreateAllLog Start [2025-03-09 17:47:03] Production.INFO: 117 [2025-03-09 17:47:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:47:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:47:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:47:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:47:03] Production.INFO: Total Charge 0 [2025-03-09 17: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-09 17:47:03] Production.INFO: ==11163== Lock acquired, processing the job... [2025-03-09 17:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:47:03] Production.INFO: ==11161== Lock acquired, processing the job... [2025-03-09 17:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:47:03] Production.INFO: CreateAllLog End [2025-03-09 17:47:03] Production.INFO: count ==13 [2025-03-09 17: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-09 17:47:03] Production.INFO: ==11167== Lock acquired, processing the job... [2025-03-09 17:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:47:03] Production.INFO: count ==21 [2025-03-09 17:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643808') start [2025-03-09 17:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643808') end [2025-03-09 17:47:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:47:03] Production.INFO: 1 [2025-03-09 17:47:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:47:03] Production.INFO: Account Balance End. [2025-03-09 17:47:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:47:04] Production.INFO: ==11165== Releasing lock... [2025-03-09 17:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:47:04] Production.INFO: ==11169== Releasing lock... [2025-03-09 17:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:47:04] Production.INFO: ==11161== Releasing lock... [2025-03-09 17:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:47:04] Production.ERROR: done [2025-03-09 17:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:47:04] Production.ERROR: done [2025-03-09 17:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:47:05 [end_date_ymd] => 2025-03-09 17:47:05 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:47:05' and `end` < '2025-03-09 17: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-09 17:47:12] Production.ERROR: CronJobId end10 [2025-03-09 17:47:12] Production.INFO: ==11163== Releasing lock... [2025-03-09 17:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:47:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:47:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:47:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:47:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:47:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:47:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:47:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:47:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:47:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:47:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:47:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:47:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:47:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:47:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:47:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:47:15] Production.INFO: call_cost start [2025-03-09 17:47:15] Production.INFO: call_cost end [2025-03-09 17:47:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:47:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:47:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:47:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:47:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:47:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:47:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:47:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:47:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:47:16] Production.INFO: ==11159== Releasing lock... [2025-03-09 17:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:47:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:47:17] Production.INFO: count ==1231 [2025-03-09 17:47:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:47:05 - End Time 2025-03-09 17:47:05 [2025-03-09 17:47:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643811', 'tblTempUsageDetail_20' ) start [2025-03-09 17:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643811', 'tblTempUsageDetail_20' ) end [2025-03-09 17:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643811', 'tblTempVendorCDR_20' ) start [2025-03-09 17:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643811', 'tblTempVendorCDR_20' ) end [2025-03-09 17:47:18] Production.INFO: ProcessCDR(1,14643811,1,1,2) [2025-03-09 17:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643811', 'tblTempUsageDetail_20' ) start [2025-03-09 17:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643811', 'tblTempUsageDetail_20' ) end [2025-03-09 17:47:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:47:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:47:21] Production.INFO: ==11167== Releasing lock... [2025-03-09 17:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:47:21] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 21:48:02] Production.INFO: ==11228== Lock acquired, processing the job... [2025-03-09 21:48:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:48:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:48:02] Production.INFO: neon service started [2025-03-09 21:48:02] Production.INFO: neon service started [2025-03-09 21:48:02] Production.INFO: ==11228== Releasing lock... [2025-03-09 21:48:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:48:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:48:02] Production.INFO: ==11230== Lock acquired, processing the job... [2025-03-09 17:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 21:48:03] Production.INFO: ==11232== Lock acquired, processing the job... [2025-03-09 21:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:48:03] Production.INFO: ==11230== Releasing lock... [2025-03-09 17:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:48:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:48:03] Production.INFO: ==11232== Releasing lock... [2025-03-09 21:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:48:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:48:03] Production.INFO: ==11235== Lock acquired, processing the job... [2025-03-09 17:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:48:03] Production.INFO: ==11241== Lock acquired, processing the job... [2025-03-09 17:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:48:03] Production.INFO: Account Balance Start. [2025-03-09 17:48:03] Production.INFO: CreateAllLog Start [2025-03-09 17:48:04] Production.INFO: 117 [2025-03-09 17:48:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:48:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:48:04] Production.INFO: ==11245== Lock acquired, processing the job... [2025-03-09 17:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:48:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:48:04] Production.INFO: ==11237== Lock acquired, processing the job... [2025-03-09 17:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:48:04] Production.INFO: Total Charge 0 [2025-03-09 17:48:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 17:48:04] Production.INFO: ==11239== Lock acquired, processing the job... [2025-03-09 17:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:48:04] Production.INFO: count ==13 [2025-03-09 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-09 17:48:04] Production.INFO: count ==21 [2025-03-09 17:48:04] Production.INFO: Account Balance End. [2025-03-09 17:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643814') start [2025-03-09 17:48:04] Production.INFO: ==11243== Lock acquired, processing the job... [2025-03-09 17:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:48:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:48:04] Production.INFO: ==11241== Releasing lock... [2025-03-09 17:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643814') end [2025-03-09 17:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:48:04] Production.INFO: 1 [2025-03-09 17:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:48:04] Production.INFO: ==11245== Releasing lock... [2025-03-09 17:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:48:04] Production.INFO: ==11237== Releasing lock... [2025-03-09 17:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:48:04] Production.ERROR: done [2025-03-09 17:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:48:04] Production.ERROR: done [2025-03-09 17:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:48:05 [end_date_ymd] => 2025-03-09 17:48:05 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:48:05' and `end` < '2025-03-09 17: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-09 17:48:12] Production.ERROR: CronJobId end10 [2025-03-09 17:48:12] Production.INFO: ==11239== Releasing lock... [2025-03-09 17:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:48:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:48:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:48:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:48:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:48:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:48:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:48:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:48:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:48:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:48:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:48:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:48:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:48:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:48:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:48:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:48:14] Production.INFO: call_cost start [2025-03-09 17:48:14] Production.INFO: call_cost end [2025-03-09 17:48:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:48:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:48:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:48:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:48:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:48:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:48:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:48:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:48:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:48:15] Production.INFO: ==11235== Releasing lock... [2025-03-09 17:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:48:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:48:18] Production.INFO: count ==1230 [2025-03-09 17:48:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:48:05 - End Time 2025-03-09 17:48:05 [2025-03-09 17:48:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643816', 'tblTempUsageDetail_20' ) start [2025-03-09 17:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643816', 'tblTempUsageDetail_20' ) end [2025-03-09 17:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643816', 'tblTempVendorCDR_20' ) start [2025-03-09 17:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643816', 'tblTempVendorCDR_20' ) end [2025-03-09 17:48:18] Production.INFO: ProcessCDR(1,14643816,1,1,2) [2025-03-09 17:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643816', 'tblTempUsageDetail_20' ) start [2025-03-09 17:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643816', 'tblTempUsageDetail_20' ) end [2025-03-09 17:48:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:48:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:48:23] Production.INFO: ==11243== Releasing lock... [2025-03-09 17:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:48:23] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 21:49:01] Production.INFO: ==11305== Lock acquired, processing the job... [2025-03-09 21:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:49:01] Production.INFO: neon service started [2025-03-09 21:49:01] Production.INFO: neon service started [2025-03-09 21:49:01] Production.INFO: ==11305== Releasing lock... [2025-03-09 21:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:49:02] Production.INFO: ==11307== Lock acquired, processing the job... [2025-03-09 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:49:02] Production.INFO: ==11307== Releasing lock... [2025-03-09 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:49:02] Production.INFO: ==11309== Lock acquired, processing the job... [2025-03-09 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:49:02] Production.INFO: ==11309== Releasing lock... [2025-03-09 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:49:03] Production.INFO: ==11320== Lock acquired, processing the job... [2025-03-09 17:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:49:03] Production.INFO: ==11314== Lock acquired, processing the job... [2025-03-09 17:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:49:03] Production.INFO: ==11312== Lock acquired, processing the job... [2025-03-09 17:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:49:03] Production.INFO: ==11316== Lock acquired, processing the job... [2025-03-09 17:49:03] Production.INFO: ==11322== Lock acquired, processing the job... [2025-03-09 17:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:49:03] Production.INFO: ==11318== Lock acquired, processing the job... [2025-03-09 17:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17: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-09 17:49:03] Production.INFO: Account Balance Start. [2025-03-09 17:49:03] Production.INFO: CreateAllLog Start [2025-03-09 17:49:03] Production.INFO: 117 [2025-03-09 17:49:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:49:03] Production.INFO: count ==13 [2025-03-09 17: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-09 17:49:03] Production.INFO: count ==21 [2025-03-09 17:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643817') start [2025-03-09 17:49:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:49:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:49:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:49:03] Production.ERROR: done [2025-03-09 17:49:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:49:03] Production.INFO: Total Charge 0 [2025-03-09 17:49:03] Production.INFO: CreateAllLog End [2025-03-09 17:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643817') end [2025-03-09 17:49:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:49:03] Production.INFO: 1 [2025-03-09 17:49:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:49:04] Production.INFO: ==11322== Releasing lock... [2025-03-09 17:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:49:04] Production.INFO: ==11314== Releasing lock... [2025-03-09 17:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:49:04] Production.ERROR: done [2025-03-09 17:49:04] Production.INFO: Account Balance End. [2025-03-09 17:49:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:49:04] Production.INFO: ==11318== Releasing lock... [2025-03-09 17:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:49:05 [end_date_ymd] => 2025-03-09 17:49:05 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:49:05' and `end` < '2025-03-09 17: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-09 17:49:12] Production.ERROR: CronJobId end10 [2025-03-09 17:49:12] Production.INFO: ==11316== Releasing lock... [2025-03-09 17:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:49:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:49:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:49:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:49:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:49:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:49:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:49:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:49:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:49:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:49:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:49:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:49:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:49:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:49:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:49:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:49:14] Production.INFO: call_cost start [2025-03-09 17:49:14] Production.INFO: call_cost end [2025-03-09 17:49:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:49:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:49:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:49:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:49:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:49:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:49:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:49:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:49:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:49:15] Production.INFO: ==11312== Releasing lock... [2025-03-09 17:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:49:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:49:17] Production.INFO: count ==1231 [2025-03-09 17:49:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:49:05 - End Time 2025-03-09 17:49:05 [2025-03-09 17:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643821', 'tblTempUsageDetail_20' ) start [2025-03-09 17:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643821', 'tblTempUsageDetail_20' ) end [2025-03-09 17:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643821', 'tblTempVendorCDR_20' ) start [2025-03-09 17:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643821', 'tblTempVendorCDR_20' ) end [2025-03-09 17:49:17] Production.INFO: ProcessCDR(1,14643821,1,1,2) [2025-03-09 17:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643821', 'tblTempUsageDetail_20' ) start [2025-03-09 17:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643821', 'tblTempUsageDetail_20' ) end [2025-03-09 17:49:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:49:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:49:22] Production.INFO: ==11320== Releasing lock... [2025-03-09 17:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:49:22] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 21:50:02] Production.INFO: ==11379== Lock acquired, processing the job... [2025-03-09 21:50:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:50:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:50:02] Production.INFO: neon service started [2025-03-09 21:50:02] Production.INFO: neon service started [2025-03-09 21:50:02] Production.INFO: ==11379== Releasing lock... [2025-03-09 21:50:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:50:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 21:50:02] Production.INFO: ==11383== Lock acquired, processing the job... [2025-03-09 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 17:50:02] Production.INFO: ==11381== Lock acquired, processing the job... [2025-03-09 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 21:50:02] Production.INFO: ==11383== Releasing lock... [2025-03-09 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:50:03] Production.INFO: ==11381== Releasing lock... [2025-03-09 17:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:50:04] Production.INFO: ==11392== Lock acquired, processing the job... [2025-03-09 17:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:50:04] Production.INFO: ==11394== Lock acquired, processing the job... [2025-03-09 17:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:50:04] Production.INFO: ==11386== Lock acquired, processing the job... [2025-03-09 17:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 17:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:50:04] Production.INFO: ==11388== Lock acquired, processing the job... [2025-03-09 17:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 17:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 17:50:04] Production.ERROR: CronJob PID - 11392 [2025-03-09 17:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 17:50:04] Production.ERROR: CronJob ID - 10 [2025-03-09 17:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 17:50:00 [2025-03-09 17:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 17:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 17:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 17:50:04] Production.ERROR: CronJob PID - 11394 [2025-03-09 17:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 17:50:04] Production.ERROR: CronJob ID - 12 [2025-03-09 17:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 17:50:00 [2025-03-09 17:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 17:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 17:50:04] Production.INFO: Account Balance Start. [2025-03-09 17:50:04] Production.INFO: CreateAllLog Start [2025-03-09 17:50:04] Production.INFO: 117 [2025-03-09 17:50:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 17:50:04] Production.INFO: ==11386== Releasing lock... [2025-03-09 17:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 17:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 17:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:50:04] Production.INFO: ==11398== Lock acquired, processing the job... [2025-03-09 17:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 17:50:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:50:04] Production.INFO: ==11390== Lock acquired, processing the job... [2025-03-09 17:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:50:04] Production.INFO: Total Charge 0 [2025-03-09 17:50:04] Production.INFO: CreateAllLog End [2025-03-09 17:50:04] Production.INFO: ==11396== Lock acquired, processing the job... [2025-03-09 17:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:50:04] Production.INFO: ==11400== Lock acquired, processing the job... [2025-03-09 17:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:50:04] Production.INFO: Account Balance End. [2025-03-09 17:50:05] Production.ERROR: done [2025-03-09 17:50:05] Production.ERROR: CronJobId end 12 [2025-03-09 17:50:05] Production.INFO: ==11394== Releasing lock... [2025-03-09 17:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 17:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643826', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 17: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-09 17:50:05] Production.INFO: count ==13 [2025-03-09 17: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-09 17:50:05] Production.INFO: count ==21 [2025-03-09 17:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14643825') start [2025-03-09 17:50:05] Production.ERROR: done [2025-03-09 17:50:05] Production.INFO: ==11390== Releasing lock... [2025-03-09 17:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:50:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14643825') end [2025-03-09 17:50:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:50:05] Production.INFO: 1 [2025-03-09 17:50:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:50:05] Production.INFO: ==11400== Releasing lock... [2025-03-09 17:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:50:05] Production.ERROR: done [2025-03-09 17:50:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:50:07 [end_date_ymd] => 2025-03-09 17:50:07 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:50:07' and `end` < '2025-03-09 17: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-09 17:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643826', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 17:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 17:50:09] Production.INFO: ProcessCDR(1,14643826,1,1,2) [2025-03-09 17:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14643826,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14643826,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:50:10] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:50:10] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:50:10] Production.INFO: ==11398== Releasing lock... [2025-03-09 17:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 17:50:10] Production.INFO: 26 MB #Memory Used# [2025-03-09 17:50:14] Production.ERROR: CronJobId end10 [2025-03-09 17:50:14] Production.INFO: ==11392== Releasing lock... [2025-03-09 17:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:50:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:50:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:50:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:50:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:50:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:50:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:50:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:50:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:50:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:50:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:50:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:50:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:50:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:50:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:50:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:50:17] Production.INFO: call_cost start [2025-03-09 17:50:17] Production.INFO: call_cost end [2025-03-09 17:50:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:50:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:50:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:50:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:50:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:50:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:50:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:50:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:50:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:50:18] Production.INFO: ==11388== Releasing lock... [2025-03-09 17:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:50:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:50:19] Production.INFO: count ==1228 [2025-03-09 17:50:19] Production.ERROR: pbx CDR StartTime 2025-03-09 14:50:07 - End Time 2025-03-09 17:50:07 [2025-03-09 17:50:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643827', 'tblTempUsageDetail_20' ) start [2025-03-09 17:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643827', 'tblTempUsageDetail_20' ) end [2025-03-09 17:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643827', 'tblTempVendorCDR_20' ) start [2025-03-09 17:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643827', 'tblTempVendorCDR_20' ) end [2025-03-09 17:50:19] Production.INFO: ProcessCDR(1,14643827,1,1,2) [2025-03-09 17:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:50:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:50:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643827', 'tblTempUsageDetail_20' ) start [2025-03-09 17:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643827', 'tblTempUsageDetail_20' ) end [2025-03-09 17:50:24] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:50:24] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:50:24] Production.INFO: ==11396== Releasing lock... [2025-03-09 17:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:50:24] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 21:51:01] Production.INFO: ==11455== Lock acquired, processing the job... [2025-03-09 21:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:51:01] Production.INFO: neon service started [2025-03-09 21:51:01] Production.INFO: neon service started [2025-03-09 21:51:01] Production.INFO: ==11455== Releasing lock... [2025-03-09 21:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:51:02] Production.INFO: ==11457== Lock acquired, processing the job... [2025-03-09 17:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 21:51:02] Production.INFO: ==11459== Lock acquired, processing the job... [2025-03-09 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:51:02] Production.INFO: ==11459== Releasing lock... [2025-03-09 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:51:02] Production.INFO: ==11457== Releasing lock... [2025-03-09 17:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:51:03] Production.INFO: ==11462== Lock acquired, processing the job... [2025-03-09 17:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:51:03] Production.INFO: ==11472== Lock acquired, processing the job... [2025-03-09 17:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:51:03] Production.INFO: ==11464== Lock acquired, processing the job... [2025-03-09 17:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17: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-09 17:51:03] Production.INFO: count ==13 [2025-03-09 17:51:03] Production.INFO: ==11466== Lock acquired, processing the job... [2025-03-09 17:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17: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-09 17:51:03] Production.INFO: count ==21 [2025-03-09 17:51:03] Production.INFO: ==11468== Lock acquired, processing the job... [2025-03-09 17:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:51:03] Production.INFO: ==11470== Lock acquired, processing the job... [2025-03-09 17:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643829') start [2025-03-09 17:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:51:03] Production.INFO: Account Balance Start. [2025-03-09 17:51:03] Production.INFO: CreateAllLog Start [2025-03-09 17:51:03] Production.INFO: 117 [2025-03-09 17:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643829') end [2025-03-09 17:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:51:04] Production.INFO: 1 [2025-03-09 17:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:51:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:51:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:51:04] Production.INFO: ==11472== Releasing lock... [2025-03-09 17:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:51:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:51:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:51:04] Production.INFO: ==11464== Releasing lock... [2025-03-09 17:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:51:04] Production.INFO: Total Charge 0 [2025-03-09 17:51:04] Production.INFO: CreateAllLog End [2025-03-09 17:51:04] Production.ERROR: done [2025-03-09 17:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:51:04] Production.INFO: Account Balance End. [2025-03-09 17:51:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:51:04] Production.INFO: ==11468== Releasing lock... [2025-03-09 17:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:51:04] Production.ERROR: done [2025-03-09 17:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:51:05 [end_date_ymd] => 2025-03-09 17:51:05 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:51:05' and `end` < '2025-03-09 17: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-09 17:51:12] Production.ERROR: CronJobId end10 [2025-03-09 17:51:12] Production.INFO: ==11466== Releasing lock... [2025-03-09 17:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:51:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:51:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:51:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:51:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:51:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:51:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:51:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:51:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:51:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:51:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:51:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:51:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:51:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:51:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:51:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:51:14] Production.INFO: call_cost start [2025-03-09 17:51:14] Production.INFO: call_cost end [2025-03-09 17:51:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:51:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:51:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:51:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:51:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:51:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:51:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:51:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:51:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:51:15] Production.INFO: ==11462== Releasing lock... [2025-03-09 17:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:51:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:51:17] Production.INFO: count ==1250 [2025-03-09 17:51:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:51:05 - End Time 2025-03-09 17:51:05 [2025-03-09 17:51:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643832', 'tblTempUsageDetail_20' ) start [2025-03-09 17:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643832', 'tblTempUsageDetail_20' ) end [2025-03-09 17:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643832', 'tblTempVendorCDR_20' ) start [2025-03-09 17:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643832', 'tblTempVendorCDR_20' ) end [2025-03-09 17:51:18] Production.INFO: ProcessCDR(1,14643832,1,1,2) [2025-03-09 17:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643832', 'tblTempUsageDetail_20' ) start [2025-03-09 17:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643832', 'tblTempUsageDetail_20' ) end [2025-03-09 17:51:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:51:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:51:22] Production.INFO: ==11470== Releasing lock... [2025-03-09 17:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:51:22] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 21:52:02] Production.INFO: ==11526== Lock acquired, processing the job... [2025-03-09 21:52:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:52:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:52:02] Production.INFO: neon service started [2025-03-09 21:52:02] Production.INFO: neon service started [2025-03-09 21:52:02] Production.INFO: ==11526== Releasing lock... [2025-03-09 21:52:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:52:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:52:02] Production.INFO: ==11529== Lock acquired, processing the job... [2025-03-09 17:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:52:02] Production.INFO: ==11529== Releasing lock... [2025-03-09 17:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:52:02] Production.INFO: ==11531== Lock acquired, processing the job... [2025-03-09 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:52:02] Production.INFO: ==11531== Releasing lock... [2025-03-09 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:52:03] Production.INFO: ==11539== Lock acquired, processing the job... [2025-03-09 17:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:52:03] Production.INFO: ==11541== Lock acquired, processing the job... [2025-03-09 17:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:52:03] Production.INFO: ==11533== Lock acquired, processing the job... [2025-03-09 17:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:52:03] Production.INFO: Account Balance Start. [2025-03-09 17:52:03] Production.INFO: CreateAllLog Start [2025-03-09 17:52:03] Production.INFO: 117 [2025-03-09 17:52:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:52:04] Production.INFO: ==11543== Lock acquired, processing the job... [2025-03-09 17:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:52:04] Production.INFO: ==11535== Lock acquired, processing the job... [2025-03-09 17:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:52:04] Production.INFO: ==11537== Lock acquired, processing the job... [2025-03-09 17:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:52:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:52:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:52:04] Production.INFO: Total Charge 0 [2025-03-09 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-09 17:52:04] Production.INFO: CreateAllLog End [2025-03-09 17:52:04] Production.INFO: count ==13 [2025-03-09 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-09 17:52:04] Production.INFO: count ==21 [2025-03-09 17:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643835') start [2025-03-09 17:52:04] Production.ERROR: done [2025-03-09 17:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643835') end [2025-03-09 17:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:52:04] Production.INFO: 1 [2025-03-09 17:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:52:04] Production.INFO: ==11543== Releasing lock... [2025-03-09 17:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:52:04] Production.ERROR: done [2025-03-09 17:52:04] Production.INFO: Account Balance End. [2025-03-09 17:52:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:52:04] Production.INFO: ==11539== Releasing lock... [2025-03-09 17:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:52:04] Production.INFO: ==11535== Releasing lock... [2025-03-09 17:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:52:05 [end_date_ymd] => 2025-03-09 17:52:05 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:52:05' and `end` < '2025-03-09 17: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-09 17:52:12] Production.ERROR: CronJobId end10 [2025-03-09 17:52:12] Production.INFO: ==11537== Releasing lock... [2025-03-09 17:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:52:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:52:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:52:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:52:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:52:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:52:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:52:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:52:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:52:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:52:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:52:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:52:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:52:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:52:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:52:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:52:14] Production.INFO: call_cost start [2025-03-09 17:52:14] Production.INFO: call_cost end [2025-03-09 17:52:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:52:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:52:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:52:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:52:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:52:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:52:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:52:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:52:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:52:15] Production.INFO: ==11533== Releasing lock... [2025-03-09 17:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:52:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:52:17] Production.INFO: count ==1251 [2025-03-09 17:52:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:52:05 - End Time 2025-03-09 17:52:05 [2025-03-09 17:52:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643837', 'tblTempUsageDetail_20' ) start [2025-03-09 17:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643837', 'tblTempUsageDetail_20' ) end [2025-03-09 17:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643837', 'tblTempVendorCDR_20' ) start [2025-03-09 17:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643837', 'tblTempVendorCDR_20' ) end [2025-03-09 17:52:18] Production.INFO: ProcessCDR(1,14643837,1,1,2) [2025-03-09 17:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643837', 'tblTempUsageDetail_20' ) start [2025-03-09 17:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643837', 'tblTempUsageDetail_20' ) end [2025-03-09 17:52:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:52:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:52:23] Production.INFO: ==11541== Releasing lock... [2025-03-09 17:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:52:23] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 21:53:01] Production.INFO: ==11599== Lock acquired, processing the job... [2025-03-09 21:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:53:01] Production.INFO: neon service started [2025-03-09 21:53:01] Production.INFO: neon service started [2025-03-09 21:53:01] Production.INFO: ==11599== Releasing lock... [2025-03-09 21:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:53:02] Production.INFO: ==11601== Lock acquired, processing the job... [2025-03-09 17:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 21:53:02] Production.INFO: ==11603== Lock acquired, processing the job... [2025-03-09 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:53:02] Production.INFO: ==11603== Releasing lock... [2025-03-09 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:53:02] Production.INFO: ==11601== Releasing lock... [2025-03-09 17:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:53:03] Production.INFO: ==11606== Lock acquired, processing the job... [2025-03-09 17:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:53:03] Production.INFO: ==11608== Lock acquired, processing the job... [2025-03-09 17:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:53:03] Production.INFO: ==11614== Lock acquired, processing the job... [2025-03-09 17:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:53:03] Production.INFO: ==11610== Lock acquired, processing the job... [2025-03-09 17:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:53:03] Production.INFO: ==11608== Releasing lock... [2025-03-09 17:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:53:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:53:04] Production.INFO: ==11612== Lock acquired, processing the job... [2025-03-09 17:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:53:04] Production.INFO: ==11616== Lock acquired, processing the job... [2025-03-09 17:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:53:04] Production.INFO: Account Balance Start. [2025-03-09 17:53:04] Production.INFO: CreateAllLog Start [2025-03-09 17:53:04] Production.INFO: 117 [2025-03-09 17:53:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:53:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:53:04] Production.ERROR: done [2025-03-09 17:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:53:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:53:04] Production.INFO: Reseller ==> 0 [2025-03-09 17: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-09 17:53:04] Production.INFO: Total Charge 0 [2025-03-09 17:53:04] Production.INFO: CreateAllLog End [2025-03-09 17:53:04] Production.INFO: count ==13 [2025-03-09 17: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-09 17:53:04] Production.INFO: count ==21 [2025-03-09 17:53:04] Production.ERROR: done [2025-03-09 17:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643841') start [2025-03-09 17:53:04] Production.INFO: Account Balance End. [2025-03-09 17:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643841') end [2025-03-09 17:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:53:04] Production.INFO: 1 [2025-03-09 17:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:53:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:53:04] Production.INFO: ==11612== Releasing lock... [2025-03-09 17:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:53:04] Production.INFO: ==11616== Releasing lock... [2025-03-09 17:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:53:05 [end_date_ymd] => 2025-03-09 17:53:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:53:05' and `end` < '2025-03-09 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-09 17:53:13] Production.ERROR: CronJobId end10 [2025-03-09 17:53:13] Production.INFO: ==11610== Releasing lock... [2025-03-09 17:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:53:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:53:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:53:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:53:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:53:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:53:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:53:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:53:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:53:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:53:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:53:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:53:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:53:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:53:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:53:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:53:14] Production.INFO: call_cost start [2025-03-09 17:53:14] Production.INFO: call_cost end [2025-03-09 17:53:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:53:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:53:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:53:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:53:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:53:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:53:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:53:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:53:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:53:15] Production.INFO: ==11606== Releasing lock... [2025-03-09 17:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:53:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:53:17] Production.INFO: count ==1252 [2025-03-09 17:53:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:53:05 - End Time 2025-03-09 17:53:05 [2025-03-09 17:53:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643842', 'tblTempUsageDetail_20' ) start [2025-03-09 17:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643842', 'tblTempUsageDetail_20' ) end [2025-03-09 17:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643842', 'tblTempVendorCDR_20' ) start [2025-03-09 17:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643842', 'tblTempVendorCDR_20' ) end [2025-03-09 17:53:18] Production.INFO: ProcessCDR(1,14643842,1,1,2) [2025-03-09 17:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643842', 'tblTempUsageDetail_20' ) start [2025-03-09 17:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643842', 'tblTempUsageDetail_20' ) end [2025-03-09 17:53:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:53:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:53:21] Production.INFO: ==11614== Releasing lock... [2025-03-09 17:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:53:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 21:54:02] Production.INFO: ==11669== Lock acquired, processing the job... [2025-03-09 21:54:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:54:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:54:02] Production.INFO: neon service started [2025-03-09 21:54:02] Production.INFO: neon service started [2025-03-09 21:54:02] Production.INFO: ==11669== Releasing lock... [2025-03-09 21:54:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:54:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 21:54:02] Production.INFO: ==11673== Lock acquired, processing the job... [2025-03-09 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:54:02] Production.INFO: ==11673== Releasing lock... [2025-03-09 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:54:02] Production.INFO: ==11671== Lock acquired, processing the job... [2025-03-09 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:54:02] Production.INFO: ==11671== Releasing lock... [2025-03-09 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:54:03] Production.INFO: ==11676== Lock acquired, processing the job... [2025-03-09 17:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:54:03] Production.INFO: ==11678== Lock acquired, processing the job... [2025-03-09 17:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:54:03] Production.INFO: ==11682== Lock acquired, processing the job... [2025-03-09 17:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:54:04] Production.INFO: ==11680== Lock acquired, processing the job... [2025-03-09 17:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:54:04] Production.INFO: Account Balance Start. [2025-03-09 17:54:04] Production.INFO: CreateAllLog Start [2025-03-09 17:54:04] Production.INFO: 117 [2025-03-09 17:54:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:54:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:54:04] Production.INFO: Total Charge 0 [2025-03-09 17:54:04] Production.INFO: CreateAllLog End [2025-03-09 17:54:04] Production.INFO: ==11686== Lock acquired, processing the job... [2025-03-09 17:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:54:04] Production.INFO: ==11684== Lock acquired, processing the job... [2025-03-09 17:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:54:04] Production.INFO: ==11678== Releasing lock... [2025-03-09 17:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:54:04] Production.INFO: Account Balance End. [2025-03-09 17:54:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:54:04] Production.INFO: ==11682== Releasing lock... [2025-03-09 17:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 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-09 17:54:04] Production.INFO: count ==13 [2025-03-09 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-09 17:54:04] Production.INFO: count ==21 [2025-03-09 17:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643846') start [2025-03-09 17:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643846') end [2025-03-09 17:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:54:04] Production.INFO: 1 [2025-03-09 17:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:54:04] Production.ERROR: done [2025-03-09 17:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:54:05] Production.INFO: ==11686== Releasing lock... [2025-03-09 17:54:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:54:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:54:05] Production.ERROR: done [2025-03-09 17:54:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:54:06 [end_date_ymd] => 2025-03-09 17:54:06 [RateCDR] => 1 ) [2025-03-09 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-09 14:54:06' and `end` < '2025-03-09 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-09 17:54:11] Production.ERROR: CronJobId end10 [2025-03-09 17:54:11] Production.INFO: ==11680== Releasing lock... [2025-03-09 17:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:54:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:54:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:54:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:54:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:54:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:54:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:54:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:54:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:54:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:54:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:54:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:54:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:54:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:54:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:54:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:54:13] Production.INFO: call_cost start [2025-03-09 17:54:13] Production.INFO: call_cost end [2025-03-09 17:54:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:54:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:54:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:54:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:54:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:54:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:54:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:54:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:54:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:54:14] Production.INFO: ==11676== Releasing lock... [2025-03-09 17:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:54:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:54:18] Production.INFO: count ==1250 [2025-03-09 17:54:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:54:06 - End Time 2025-03-09 17:54:06 [2025-03-09 17:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643847', 'tblTempUsageDetail_20' ) start [2025-03-09 17:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643847', 'tblTempUsageDetail_20' ) end [2025-03-09 17:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643847', 'tblTempVendorCDR_20' ) start [2025-03-09 17:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643847', 'tblTempVendorCDR_20' ) end [2025-03-09 17:54:18] Production.INFO: ProcessCDR(1,14643847,1,1,2) [2025-03-09 17:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643847', 'tblTempUsageDetail_20' ) start [2025-03-09 17:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643847', 'tblTempUsageDetail_20' ) end [2025-03-09 17:54:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:54:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:54:22] Production.INFO: ==11684== Releasing lock... [2025-03-09 17:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:54:22] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 21:55:01] Production.INFO: ==11741== Lock acquired, processing the job... [2025-03-09 21:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:55:01] Production.INFO: neon service started [2025-03-09 21:55:01] Production.INFO: neon service started [2025-03-09 21:55:01] Production.INFO: ==11741== Releasing lock... [2025-03-09 21:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:55:01] Production.INFO: ==11743== Lock acquired, processing the job... [2025-03-09 17:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:55:02] Production.INFO: ==11743== Releasing lock... [2025-03-09 17:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:55:02] Production.INFO: ==11745== Lock acquired, processing the job... [2025-03-09 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:55:02] Production.INFO: ==11745== Releasing lock... [2025-03-09 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:55:03] Production.INFO: ==11756== Lock acquired, processing the job... [2025-03-09 17:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:55:03] Production.INFO: ==11754== Lock acquired, processing the job... [2025-03-09 17:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:55:03] Production.INFO: ==11748== Lock acquired, processing the job... [2025-03-09 17:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:55:03] Production.INFO: ==11750== Lock acquired, processing the job... [2025-03-09 17:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:55:03] Production.INFO: ==11752== Lock acquired, processing the job... [2025-03-09 17:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:55:03] Production.INFO: ==11758== Lock acquired, processing the job... [2025-03-09 17:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:55:03] Production.ERROR: done [2025-03-09 17:55:03] Production.INFO: Account Balance Start. [2025-03-09 17:55:03] Production.INFO: CreateAllLog Start [2025-03-09 17:55:03] Production.INFO: 117 [2025-03-09 17:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:55:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:55:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:55:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:55:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:55:03] Production.INFO: Reseller ==> 0 [2025-03-09 17: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-09 17:55:03] Production.INFO: Total Charge 0 [2025-03-09 17:55:03] Production.INFO: count ==13 [2025-03-09 17:55:03] Production.INFO: CreateAllLog End [2025-03-09 17: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-09 17:55:03] Production.INFO: count ==21 [2025-03-09 17:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643851') start [2025-03-09 17:55:04] Production.INFO: ==11750== Releasing lock... [2025-03-09 17:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:55:04] Production.ERROR: done [2025-03-09 17:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643851') end [2025-03-09 17:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:55:04] Production.INFO: 1 [2025-03-09 17:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:55:04] Production.INFO: Account Balance End. [2025-03-09 17:55:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:55:04] Production.INFO: ==11754== Releasing lock... [2025-03-09 17:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:55:04] Production.INFO: ==11758== Releasing lock... [2025-03-09 17:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:55:05 [end_date_ymd] => 2025-03-09 17:55:05 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:55:05' and `end` < '2025-03-09 17: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-09 17:55:11] Production.ERROR: CronJobId end10 [2025-03-09 17:55:11] Production.INFO: ==11752== Releasing lock... [2025-03-09 17:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:55:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:55:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:55:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:55:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:55:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:55:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:55:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:55:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:55:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:55:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:55:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:55:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:55:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:55:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:55:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:55:14] Production.INFO: call_cost start [2025-03-09 17:55:14] Production.INFO: call_cost end [2025-03-09 17:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:55:15] Production.INFO: ==11748== Releasing lock... [2025-03-09 17:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:55:17] Production.INFO: count ==1246 [2025-03-09 17:55:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:55:05 - End Time 2025-03-09 17:55:05 [2025-03-09 17:55:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643852', 'tblTempUsageDetail_20' ) start [2025-03-09 17:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643852', 'tblTempUsageDetail_20' ) end [2025-03-09 17:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643852', 'tblTempVendorCDR_20' ) start [2025-03-09 17:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643852', 'tblTempVendorCDR_20' ) end [2025-03-09 17:55:17] Production.INFO: ProcessCDR(1,14643852,1,1,2) [2025-03-09 17:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:55:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643852', 'tblTempUsageDetail_20' ) start [2025-03-09 17:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643852', 'tblTempUsageDetail_20' ) end [2025-03-09 17:55:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:55:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:55:20] Production.INFO: ==11756== Releasing lock... [2025-03-09 17:55:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:55:20] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 21:56:01] Production.INFO: ==11861== Lock acquired, processing the job... [2025-03-09 21:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:56:01] Production.INFO: neon service started [2025-03-09 21:56:01] Production.INFO: neon service started [2025-03-09 21:56:01] Production.INFO: ==11861== Releasing lock... [2025-03-09 21:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:56:02] Production.INFO: ==11863== Lock acquired, processing the job... [2025-03-09 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:56:02] Production.INFO: ==11863== Releasing lock... [2025-03-09 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:56:02] Production.INFO: ==11865== Lock acquired, processing the job... [2025-03-09 21:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:56:02] Production.INFO: ==11865== Releasing lock... [2025-03-09 21:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:56:03] Production.INFO: ==11869== Lock acquired, processing the job... [2025-03-09 17:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:56:03] Production.INFO: ==11867== Lock acquired, processing the job... [2025-03-09 17:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:56:03] Production.INFO: ==11878== Lock acquired, processing the job... [2025-03-09 17:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:56:03] Production.INFO: ==11871== Lock acquired, processing the job... [2025-03-09 17:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17: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-09 17:56:03] Production.INFO: ==11869== Releasing lock... [2025-03-09 17:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:56:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:56:03] Production.INFO: ==11874== Lock acquired, processing the job... [2025-03-09 17:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:56:03] Production.INFO: count ==13 [2025-03-09 17:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17: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-09 17:56:03] Production.INFO: ==11876== Lock acquired, processing the job... [2025-03-09 17:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:56:03] Production.INFO: count ==21 [2025-03-09 17:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643855') start [2025-03-09 17:56:04] Production.INFO: Account Balance Start. [2025-03-09 17:56:04] Production.INFO: CreateAllLog Start [2025-03-09 17:56:04] Production.INFO: 117 [2025-03-09 17:56:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:56:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:56:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:56:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:56:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643855') end [2025-03-09 17:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:56:04] Production.INFO: 1 [2025-03-09 17:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:56:04] Production.INFO: Total Charge 0 [2025-03-09 17:56:04] Production.INFO: CreateAllLog End [2025-03-09 17:56:04] Production.INFO: ==11878== Releasing lock... [2025-03-09 17:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:56:04] Production.ERROR: done [2025-03-09 17:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:56:04] Production.INFO: Account Balance End. [2025-03-09 17:56:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:56:04] Production.INFO: ==11874== Releasing lock... [2025-03-09 17:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:56:04] Production.ERROR: done [2025-03-09 17:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:56:05 [end_date_ymd] => 2025-03-09 17:56:05 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:56:05' and `end` < '2025-03-09 17: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-09 17:56:12] Production.ERROR: CronJobId end10 [2025-03-09 17:56:12] Production.INFO: ==11871== Releasing lock... [2025-03-09 17:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:56:14] Production.INFO: call_cost start [2025-03-09 17:56:14] Production.INFO: call_cost end [2025-03-09 17:56:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:56:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:56:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:56:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:56:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:56:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:56:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:56:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:56:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:56:15] Production.INFO: ==11867== Releasing lock... [2025-03-09 17:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:56:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:56:17] Production.INFO: count ==1252 [2025-03-09 17:56:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:56:05 - End Time 2025-03-09 17:56:05 [2025-03-09 17:56:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643857', 'tblTempUsageDetail_20' ) start [2025-03-09 17:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643857', 'tblTempUsageDetail_20' ) end [2025-03-09 17:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643857', 'tblTempVendorCDR_20' ) start [2025-03-09 17:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643857', 'tblTempVendorCDR_20' ) end [2025-03-09 17:56:18] Production.INFO: ProcessCDR(1,14643857,1,1,2) [2025-03-09 17:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643857', 'tblTempUsageDetail_20' ) start [2025-03-09 17:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643857', 'tblTempUsageDetail_20' ) end [2025-03-09 17:56:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:56:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:56:22] Production.INFO: ==11876== Releasing lock... [2025-03-09 17:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:56:22] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 21:57:01] Production.INFO: ==11931== Lock acquired, processing the job... [2025-03-09 21:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:57:01] Production.INFO: neon service started [2025-03-09 21:57:01] Production.INFO: neon service started [2025-03-09 21:57:01] Production.INFO: ==11931== Releasing lock... [2025-03-09 21:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:57:01] Production.INFO: ==11933== Lock acquired, processing the job... [2025-03-09 17:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:57:02] Production.INFO: ==11933== Releasing lock... [2025-03-09 17:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 21:57:02] Production.INFO: ==11935== Lock acquired, processing the job... [2025-03-09 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:57:02] Production.INFO: ==11935== Releasing lock... [2025-03-09 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:57:02] Production.INFO: ==11939== Lock acquired, processing the job... [2025-03-09 17:57:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:57:03] Production.INFO: ==11948== Lock acquired, processing the job... [2025-03-09 17:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17: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-09 17:57:03] Production.INFO: count ==13 [2025-03-09 17: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-09 17:57:03] Production.INFO: count ==21 [2025-03-09 17:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643858') start [2025-03-09 17:57:03] Production.INFO: ==11937== Lock acquired, processing the job... [2025-03-09 17:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643858') end [2025-03-09 17:57:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:57:03] Production.INFO: 1 [2025-03-09 17:57:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:57:03] Production.INFO: ==11941== Lock acquired, processing the job... [2025-03-09 17:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:57:03] Production.INFO: ==11948== Releasing lock... [2025-03-09 17:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:57:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:57:03] Production.INFO: ==11943== Lock acquired, processing the job... [2025-03-09 17:57:03] Production.INFO: ==11945== Lock acquired, processing the job... [2025-03-09 17:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:57:03] Production.INFO: ==11939== Releasing lock... [2025-03-09 17:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:57:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:57:03] Production.INFO: Account Balance Start. [2025-03-09 17:57:03] Production.INFO: CreateAllLog Start [2025-03-09 17:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:57:03] Production.INFO: 117 [2025-03-09 17:57:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:57:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:57:03] Production.INFO: Total Charge 0 [2025-03-09 17:57:03] Production.INFO: CreateAllLog End [2025-03-09 17:57:03] Production.INFO: Account Balance End. [2025-03-09 17:57:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:57:04] Production.INFO: ==11943== Releasing lock... [2025-03-09 17:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:57:04] Production.ERROR: done [2025-03-09 17:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:57:04] Production.ERROR: done [2025-03-09 17:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:57:05 [end_date_ymd] => 2025-03-09 17:57:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:57:05' and `end` < '2025-03-09 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-09 17:57:12] Production.ERROR: CronJobId end10 [2025-03-09 17:57:12] Production.INFO: ==11941== Releasing lock... [2025-03-09 17:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:57:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:57:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:57:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:57:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:57:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:57:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:57:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:57:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:57:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:57:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:57:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:57:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:57:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:57:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:57:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:57:15] Production.INFO: call_cost start [2025-03-09 17:57:15] Production.INFO: call_cost end [2025-03-09 17:57:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:57:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:57:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:57:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:57:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:57:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:57:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:57:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:57:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:57:16] Production.INFO: ==11937== Releasing lock... [2025-03-09 17:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:57:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:57:17] Production.INFO: count ==1250 [2025-03-09 17:57:17] Production.ERROR: pbx CDR StartTime 2025-03-09 14:57:05 - End Time 2025-03-09 17:57:05 [2025-03-09 17:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643862', 'tblTempUsageDetail_20' ) start [2025-03-09 17:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643862', 'tblTempUsageDetail_20' ) end [2025-03-09 17:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643862', 'tblTempVendorCDR_20' ) start [2025-03-09 17:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643862', 'tblTempVendorCDR_20' ) end [2025-03-09 17:57:17] Production.INFO: ProcessCDR(1,14643862,1,1,2) [2025-03-09 17:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643862', 'tblTempUsageDetail_20' ) start [2025-03-09 17:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643862', 'tblTempUsageDetail_20' ) end [2025-03-09 17:57:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:57:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:57:22] Production.INFO: ==11945== Releasing lock... [2025-03-09 17:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:57:22] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 21:58:01] Production.INFO: ==12001== Lock acquired, processing the job... [2025-03-09 21:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:58:01] Production.INFO: neon service started [2025-03-09 21:58:01] Production.INFO: neon service started [2025-03-09 21:58:01] Production.INFO: ==12001== Releasing lock... [2025-03-09 21:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 21:58:02] Production.INFO: ==12005== Lock acquired, processing the job... [2025-03-09 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:58:02] Production.INFO: ==12005== Releasing lock... [2025-03-09 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:58:02] Production.INFO: ==12003== Lock acquired, processing the job... [2025-03-09 17:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 17:58:02] Production.INFO: ==12003== Releasing lock... [2025-03-09 17:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:58:03] Production.INFO: ==12012== Lock acquired, processing the job... [2025-03-09 17:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:58:03] Production.INFO: ==12010== Lock acquired, processing the job... [2025-03-09 17:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:58:03] Production.INFO: ==12014== Lock acquired, processing the job... [2025-03-09 17:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 17:58:03] Production.INFO: Account Balance Start. [2025-03-09 17:58:03] Production.INFO: CreateAllLog Start [2025-03-09 17:58:03] Production.INFO: 117 [2025-03-09 17:58:03] Production.INFO: Date 2025-03-08 [2025-03-09 17:58:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:58:03] Production.INFO: ==12016== Lock acquired, processing the job... [2025-03-09 17:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:58:03] Production.INFO: ==12008== Lock acquired, processing the job... [2025-03-09 17:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:58:03] Production.INFO: Date 2025-03-09 [2025-03-09 17:58:03] Production.INFO: Reseller ==> 0 [2025-03-09 17:58:03] Production.INFO: ==12018== Lock acquired, processing the job... [2025-03-09 17:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:58:03] Production.INFO: Total Charge 0 [2025-03-09 17:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:58:03] Production.INFO: CreateAllLog End [2025-03-09 17:58:03] Production.INFO: ==12010== Releasing lock... [2025-03-09 17:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:58:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 17:58:04] Production.INFO: Account Balance End. [2025-03-09 17:58:04] Production.INFO: count ==13 [2025-03-09 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-09 17:58:04] Production.INFO: count ==21 [2025-03-09 17:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643866') start [2025-03-09 17:58:04] Production.ERROR: CronJobId end 12 [2025-03-09 17:58:04] Production.INFO: ==12014== Releasing lock... [2025-03-09 17:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:58:04] Production.ERROR: done [2025-03-09 17:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643866') end [2025-03-09 17:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:58:04] Production.INFO: 1 [2025-03-09 17:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:58:04] Production.INFO: ==12018== Releasing lock... [2025-03-09 17:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:58:04] Production.ERROR: done [2025-03-09 17:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:58:05 [end_date_ymd] => 2025-03-09 17:58:05 [RateCDR] => 1 ) [2025-03-09 17: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-09 14:58:05' and `end` < '2025-03-09 17: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-09 17:58:12] Production.ERROR: CronJobId end10 [2025-03-09 17:58:12] Production.INFO: ==12012== Releasing lock... [2025-03-09 17:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:58:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:58:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:58:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:58:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:58:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:58:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:58:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:58:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:58:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:58:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:58:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:58:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:58:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:58:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:58:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:58:14] Production.INFO: call_cost start [2025-03-09 17:58:14] Production.INFO: call_cost end [2025-03-09 17:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:58:15] Production.INFO: ==12008== Releasing lock... [2025-03-09 17:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:58:18] Production.INFO: count ==1256 [2025-03-09 17:58:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:58:05 - End Time 2025-03-09 17:58:05 [2025-03-09 17:58:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643867', 'tblTempUsageDetail_20' ) start [2025-03-09 17:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643867', 'tblTempUsageDetail_20' ) end [2025-03-09 17:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643867', 'tblTempVendorCDR_20' ) start [2025-03-09 17:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643867', 'tblTempVendorCDR_20' ) end [2025-03-09 17:58:18] Production.INFO: ProcessCDR(1,14643867,1,1,2) [2025-03-09 17:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643867', 'tblTempUsageDetail_20' ) start [2025-03-09 17:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643867', 'tblTempUsageDetail_20' ) end [2025-03-09 17:58:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:58:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:58:22] Production.INFO: ==12016== Releasing lock... [2025-03-09 17:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:58:22] Production.INFO: 38 MB #Memory Used# [2025-03-09 21:59:02] Production.INFO: ==12073== Lock acquired, processing the job... [2025-03-09 21:59:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 21:59:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 21:59:02] Production.INFO: neon service started [2025-03-09 21:59:02] Production.INFO: neon service started [2025-03-09 21:59:02] Production.INFO: ==12073== Releasing lock... [2025-03-09 21:59:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 21:59:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 17:59:02] Production.INFO: ==12075== Lock acquired, processing the job... [2025-03-09 17:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 21:59:02] Production.INFO: ==12077== Lock acquired, processing the job... [2025-03-09 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 21:59:02] Production.INFO: ==12077== Releasing lock... [2025-03-09 21:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 21:59:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 17:59:03] Production.INFO: ==12075== Releasing lock... [2025-03-09 17:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 17:59:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 17:59:03] Production.INFO: ==12080== Lock acquired, processing the job... [2025-03-09 17:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 17:59:04] Production.INFO: ==12082== Lock acquired, processing the job... [2025-03-09 17:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 17:59:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 17:59:04] Production.INFO: ==12088== Lock acquired, processing the job... [2025-03-09 17:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 17:59:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 17:59:04] Production.INFO: ==12084== Lock acquired, processing the job... [2025-03-09 17:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 17:59:04] Production.INFO: ==12086== Lock acquired, processing the job... [2025-03-09 17:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 17:59:04] Production.INFO: ==12090== Lock acquired, processing the job... [2025-03-09 17:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 17:59:04] Production.INFO: ==12082== Releasing lock... [2025-03-09 17:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 17:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 17:59:04] Production.ERROR: done [2025-03-09 17:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 17:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 17:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 17:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 17:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 17:59:04] Production.INFO: count ==13 [2025-03-09 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-09 17:59:04] Production.INFO: count ==21 [2025-03-09 17:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643870') start [2025-03-09 17:59:04] Production.INFO: Account Balance Start. [2025-03-09 17:59:04] Production.INFO: CreateAllLog Start [2025-03-09 17:59:04] Production.INFO: 117 [2025-03-09 17:59:04] Production.ERROR: done [2025-03-09 17:59:04] Production.INFO: Date 2025-03-08 [2025-03-09 17:59:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643870') end [2025-03-09 17:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 17:59:04] Production.INFO: 1 [2025-03-09 17:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 17:59:04] Production.INFO: Date 2025-03-09 [2025-03-09 17:59:04] Production.INFO: Reseller ==> 0 [2025-03-09 17:59:04] Production.INFO: Total Charge 0 [2025-03-09 17:59:04] Production.INFO: CreateAllLog End [2025-03-09 17:59:04] Production.INFO: ==12090== Releasing lock... [2025-03-09 17:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 17:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 17:59:05] Production.INFO: Account Balance End. [2025-03-09 17:59:05] Production.ERROR: CronJobId end 12 [2025-03-09 17:59:05] Production.INFO: ==12086== Releasing lock... [2025-03-09 17:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 17:59:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 17:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 14:59:05 [end_date_ymd] => 2025-03-09 17:59:05 [RateCDR] => 1 ) [2025-03-09 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-09 14:59:05' and `end` < '2025-03-09 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-09 17:59:11] Production.ERROR: CronJobId end10 [2025-03-09 17:59:11] Production.INFO: ==12084== Releasing lock... [2025-03-09 17:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 17:59:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 17:59:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 17:59:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 17:59:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 17:59:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 17:59:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 17:59:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 17:59:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 17:59:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 17:59:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 17:59:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 17:59:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 17:59:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 17:59:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 17:59:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 17:59:13] Production.INFO: call_cost start [2025-03-09 17:59:13] Production.INFO: call_cost end [2025-03-09 17:59:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 17:59:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 17:59:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 17:59:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 17:59:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 17:59:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 17:59:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 17:59:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 17:59:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 17:59:14] Production.INFO: ==12080== Releasing lock... [2025-03-09 17:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 17:59:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 17:59:18] Production.INFO: count ==1249 [2025-03-09 17:59:18] Production.ERROR: pbx CDR StartTime 2025-03-09 14:59:05 - End Time 2025-03-09 17:59:05 [2025-03-09 17:59:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 17:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643872', 'tblTempUsageDetail_20' ) start [2025-03-09 17:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643872', 'tblTempUsageDetail_20' ) end [2025-03-09 17:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643872', 'tblTempVendorCDR_20' ) start [2025-03-09 17:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643872', 'tblTempVendorCDR_20' ) end [2025-03-09 17:59:18] Production.INFO: ProcessCDR(1,14643872,1,1,2) [2025-03-09 17:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 17:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 17:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643872', 'tblTempUsageDetail_20' ) start [2025-03-09 17:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643872', 'tblTempUsageDetail_20' ) end [2025-03-09 17:59:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 17:59:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 17:59:22] Production.INFO: ==12088== Releasing lock... [2025-03-09 17:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 17:59:22] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 22:00:01] Production.INFO: ==12148== Lock acquired, processing the job... [2025-03-09 22:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:00:01] Production.INFO: neon service started [2025-03-09 22:00:01] Production.INFO: neon service started [2025-03-09 22:00:01] Production.INFO: ==12148== Releasing lock... [2025-03-09 22:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:00:02] Production.INFO: ==12150== Lock acquired, processing the job... [2025-03-09 18:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:00:02] Production.INFO: ==12150== Releasing lock... [2025-03-09 18:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:00:02] Production.INFO: ==12152== Lock acquired, processing the job... [2025-03-09 22:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:00:02] Production.INFO: ==12152== Releasing lock... [2025-03-09 22:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:00:03] Production.INFO: ==12163== Lock acquired, processing the job... [2025-03-09 18:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:00:03] Production.INFO: ==12165== Lock acquired, processing the job... [2025-03-09 18:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:00:03] Production.INFO: ==12155== Lock acquired, processing the job... [2025-03-09 18:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 18:00:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:00:03] Production.INFO: Account Balance Start. [2025-03-09 18:00:03] Production.INFO: CreateAllLog Start [2025-03-09 18:00:03] Production.INFO: 117 [2025-03-09 18:00:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:00:03] Production.INFO: ==12169== Lock acquired, processing the job... [2025-03-09 18:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:00:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:00:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:00:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:00:03] Production.INFO: ==12157== Lock acquired, processing the job... [2025-03-09 18:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:00:03] Production.INFO: Total Charge 0 [2025-03-09 18:00:03] Production.INFO: CreateAllLog End [2025-03-09 18:00:03] Production.INFO: ==12159== Lock acquired, processing the job... [2025-03-09 18:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:00:03] Production.INFO: ==12161== Lock acquired, processing the job... [2025-03-09 18:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:00:03] Production.INFO: ==12167== Lock acquired, processing the job... [2025-03-09 18:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 18:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 18:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:00:04] Production.ERROR: CronJob PID - 12157 [2025-03-09 18:00:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 18:00:04] Production.ERROR: CronJob ID - 5 [2025-03-09 18:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 18:00:00 [2025-03-09 18:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:00:04] Production.ERROR: CronJob PID - 12159 [2025-03-09 18:00:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 18:00:04] Production.ERROR: CronJob ID - 7 [2025-03-09 18:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 18:00:00 [2025-03-09 18:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:00:04] Production.ERROR: CronJob PID - 12161 [2025-03-09 18:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 18:00:04] Production.ERROR: CronJob ID - 10 [2025-03-09 18:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 18:00:00 [2025-03-09 18:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:00:04] Production.ERROR: CronJob PID - 12163 [2025-03-09 18:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 18:00:04] Production.ERROR: CronJob ID - 12 [2025-03-09 18:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 18:00:00 [2025-03-09 18:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:00:04] Production.ERROR: CronJob PID - 12165 [2025-03-09 18:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 18:00:04] Production.ERROR: CronJob ID - 16 [2025-03-09 18:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 18:00:00 [2025-03-09 18:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:00:04] Production.ERROR: CronJob PID - 12169 [2025-03-09 18:00:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 18:00:04] Production.ERROR: CronJob ID - 19 [2025-03-09 18:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 18:00:00 [2025-03-09 18:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18: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-09 18:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:00:04] Production.INFO: count ==13 [2025-03-09 18: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-09 18:00:04] Production.INFO: count ==21 [2025-03-09 18:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 18:00:04] Production.INFO: ==12155== Releasing lock... [2025-03-09 18:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 18:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 18:00:04] Production.INFO: Account Balance End. [2025-03-09 18:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643874') start [2025-03-09 18:00:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:00:04] Production.INFO: ==12163== Releasing lock... [2025-03-09 18:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:00:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:00:04] Production.ERROR: done [2025-03-09 18:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643874') end [2025-03-09 18:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:00:04] Production.INFO: 1 [2025-03-09 18:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:00:04] Production.INFO: ==12169== Releasing lock... [2025-03-09 18:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:00:04] Production.INFO: ==12159== Releasing lock... [2025-03-09 18:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:00:04] Production.ERROR: done [2025-03-09 18:00:04] Production.ERROR: done [2025-03-09 18:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 18:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643877', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 18:00:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:00:05 [end_date_ymd] => 2025-03-09 18:00:05 [RateCDR] => 1 ) [2025-03-09 18: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-09 15:00:05' and `end` < '2025-03-09 18: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-09 18:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643877', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 18:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 18:00:09] Production.INFO: ProcessCDR(1,14643877,1,1,2) [2025-03-09 18:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14643877,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14643877,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:00:09] Production.INFO: ==12167== Releasing lock... [2025-03-09 18:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 18:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 18:00:14] Production.ERROR: CronJobId end10 [2025-03-09 18:00:14] Production.INFO: ==12161== Releasing lock... [2025-03-09 18:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:00:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:00:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:00:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:00:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:00:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:00:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:00:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:00:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:00:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:00:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:00:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:00:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:00:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:00:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:00:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:00:16] Production.INFO: call_cost start [2025-03-09 18:00:16] Production.INFO: call_cost end [2025-03-09 18:00:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:00:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:00:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:00:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:00:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:00:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:00:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:00:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:00:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:00:17] Production.INFO: ==12157== Releasing lock... [2025-03-09 18:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:00:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:00:17] Production.INFO: count ==1240 [2025-03-09 18:00:18] Production.ERROR: pbx CDR StartTime 2025-03-09 15:00:05 - End Time 2025-03-09 18:00:05 [2025-03-09 18:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643878', 'tblTempUsageDetail_20' ) start [2025-03-09 18:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643878', 'tblTempUsageDetail_20' ) end [2025-03-09 18:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643878', 'tblTempVendorCDR_20' ) start [2025-03-09 18:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643878', 'tblTempVendorCDR_20' ) end [2025-03-09 18:00:18] Production.INFO: ProcessCDR(1,14643878,1,1,2) [2025-03-09 18:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643878', 'tblTempUsageDetail_20' ) start [2025-03-09 18:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643878', 'tblTempUsageDetail_20' ) end [2025-03-09 18:00:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:00:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:00:23] Production.INFO: ==12165== Releasing lock... [2025-03-09 18:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:00:23] Production.INFO: 37 MB #Memory Used# [2025-03-09 22:01:02] Production.INFO: ==12229== Lock acquired, processing the job... [2025-03-09 22:01:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:01:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:01:02] Production.INFO: neon service started [2025-03-09 22:01:02] Production.INFO: neon service started [2025-03-09 22:01:02] Production.INFO: ==12229== Releasing lock... [2025-03-09 22:01:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:01:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:01:02] Production.INFO: ==12240== Lock acquired, processing the job... [2025-03-09 18:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:01:02] Production.INFO: ==12240== Releasing lock... [2025-03-09 18:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:01:03] Production.INFO: ==12242== Lock acquired, processing the job... [2025-03-09 22:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:01:03] Production.INFO: ==12242== Releasing lock... [2025-03-09 22:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:01:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:01:03] Production.INFO: ==12245== Lock acquired, processing the job... [2025-03-09 18:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:01:03] Production.INFO: ==12247== Lock acquired, processing the job... [2025-03-09 18:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:01:03] Production.INFO: ==12251== Lock acquired, processing the job... [2025-03-09 18:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:01:03] Production.INFO: ==12249== Lock acquired, processing the job... [2025-03-09 18:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:01:03] Production.INFO: ==12255== Lock acquired, processing the job... [2025-03-09 18:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:01:04] Production.INFO: ==12253== Lock acquired, processing the job... [2025-03-09 18:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:01:04] Production.INFO: Account Balance Start. [2025-03-09 18:01:04] Production.INFO: CreateAllLog Start [2025-03-09 18:01:04] Production.INFO: 117 [2025-03-09 18:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:01:04] Production.INFO: Date 2025-03-08 [2025-03-09 18:01:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 18:01:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:01:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:01:04] Production.INFO: count ==13 [2025-03-09 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-09 18:01:04] Production.INFO: count ==21 [2025-03-09 18:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643882') start [2025-03-09 18:01:04] Production.INFO: Total Charge 0 [2025-03-09 18:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643882') end [2025-03-09 18:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:01:04] Production.INFO: 1 [2025-03-09 18:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:01:04] Production.INFO: CreateAllLog End [2025-03-09 18:01:04] Production.INFO: ==12255== Releasing lock... [2025-03-09 18:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:01:04] Production.INFO: ==12247== Releasing lock... [2025-03-09 18:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:01:04] Production.ERROR: done [2025-03-09 18:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:01:04] Production.ERROR: done [2025-03-09 18:01:04] Production.INFO: Account Balance End. [2025-03-09 18:01:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:01:04] Production.INFO: ==12251== Releasing lock... [2025-03-09 18:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:01:05 [end_date_ymd] => 2025-03-09 18:01:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:01:05' and `end` < '2025-03-09 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-09 18:01:12] Production.ERROR: CronJobId end10 [2025-03-09 18:01:12] Production.INFO: ==12249== Releasing lock... [2025-03-09 18:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:01:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:01:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:01:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:01:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:01:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:01:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:01:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:01:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:01:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:01:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:01:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:01:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:01:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:01:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:01:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:01:14] Production.INFO: call_cost start [2025-03-09 18:01:14] Production.INFO: call_cost end [2025-03-09 18:01:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:01:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:01:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:01:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:01:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:01:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:01:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:01:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:01:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:01:15] Production.INFO: ==12245== Releasing lock... [2025-03-09 18:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:01:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:01:18] Production.INFO: count ==1247 [2025-03-09 18:01:18] Production.ERROR: pbx CDR StartTime 2025-03-09 15:01:05 - End Time 2025-03-09 18:01:05 [2025-03-09 18:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643883', 'tblTempUsageDetail_20' ) start [2025-03-09 18:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643883', 'tblTempUsageDetail_20' ) end [2025-03-09 18:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643883', 'tblTempVendorCDR_20' ) start [2025-03-09 18:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643883', 'tblTempVendorCDR_20' ) end [2025-03-09 18:01:18] Production.INFO: ProcessCDR(1,14643883,1,1,2) [2025-03-09 18:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643883', 'tblTempUsageDetail_20' ) start [2025-03-09 18:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643883', 'tblTempUsageDetail_20' ) end [2025-03-09 18:01:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:01:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:01:21] Production.INFO: ==12253== Releasing lock... [2025-03-09 18:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:01:21] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 22:02:01] Production.INFO: ==12309== Lock acquired, processing the job... [2025-03-09 22:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:02:01] Production.INFO: neon service started [2025-03-09 22:02:01] Production.INFO: neon service started [2025-03-09 22:02:01] Production.INFO: ==12309== Releasing lock... [2025-03-09 22:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 22:02:01] Production.INFO: ==12314== Lock acquired, processing the job... [2025-03-09 22:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:02:01] Production.INFO: ==12314== Releasing lock... [2025-03-09 22:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:02:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:02:02] Production.INFO: ==12312== Lock acquired, processing the job... [2025-03-09 18:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:02:02] Production.INFO: ==12312== Releasing lock... [2025-03-09 18:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:02:03] Production.INFO: ==12316== Lock acquired, processing the job... [2025-03-09 18:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:02:03] Production.INFO: ==12318== Lock acquired, processing the job... [2025-03-09 18:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:02:03] Production.INFO: ==12320== Lock acquired, processing the job... [2025-03-09 18:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:02:03] Production.INFO: ==12322== Lock acquired, processing the job... [2025-03-09 18:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:02:03] Production.INFO: ==12326== Lock acquired, processing the job... [2025-03-09 18:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:02:03] Production.INFO: Account Balance Start. [2025-03-09 18:02:03] Production.INFO: CreateAllLog Start [2025-03-09 18:02:03] Production.INFO: 117 [2025-03-09 18:02:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:02:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:02:03] Production.INFO: ==12318== Releasing lock... [2025-03-09 18:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:02:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:02:03] Production.INFO: ==12324== Lock acquired, processing the job... [2025-03-09 18:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:02:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:02:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:02:03] Production.INFO: Total Charge 0 [2025-03-09 18: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-09 18:02:04] Production.INFO: CreateAllLog End [2025-03-09 18:02:04] Production.INFO: count ==13 [2025-03-09 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-09 18:02:04] Production.INFO: count ==21 [2025-03-09 18:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643887') start [2025-03-09 18:02:04] Production.ERROR: done [2025-03-09 18:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:02:04] Production.INFO: Account Balance End. [2025-03-09 18:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643887') end [2025-03-09 18:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:02:04] Production.INFO: 1 [2025-03-09 18:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:02:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:02:04] Production.INFO: ==12322== Releasing lock... [2025-03-09 18:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:02:04] Production.INFO: ==12326== Releasing lock... [2025-03-09 18:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:02:04] Production.ERROR: done [2025-03-09 18:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:02:05 [end_date_ymd] => 2025-03-09 18:02:05 [RateCDR] => 1 ) [2025-03-09 18: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-09 15:02:05' and `end` < '2025-03-09 18: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-09 18:02:11] Production.ERROR: CronJobId end10 [2025-03-09 18:02:11] Production.INFO: ==12320== Releasing lock... [2025-03-09 18:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:02:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:02:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:02:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:02:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:02:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:02:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:02:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:02:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:02:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:02:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:02:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:02:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:02:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:02:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:02:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:02:14] Production.INFO: call_cost start [2025-03-09 18:02:14] Production.INFO: call_cost end [2025-03-09 18:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:02:15] Production.INFO: ==12316== Releasing lock... [2025-03-09 18:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:02:17] Production.INFO: count ==1249 [2025-03-09 18:02:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:02:05 - End Time 2025-03-09 18:02:05 [2025-03-09 18:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643888', 'tblTempUsageDetail_20' ) start [2025-03-09 18:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643888', 'tblTempUsageDetail_20' ) end [2025-03-09 18:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643888', 'tblTempVendorCDR_20' ) start [2025-03-09 18:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643888', 'tblTempVendorCDR_20' ) end [2025-03-09 18:02:17] Production.INFO: ProcessCDR(1,14643888,1,1,2) [2025-03-09 18:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643888', 'tblTempUsageDetail_20' ) start [2025-03-09 18:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643888', 'tblTempUsageDetail_20' ) end [2025-03-09 18:02:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:02:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:02:22] Production.INFO: ==12324== Releasing lock... [2025-03-09 18:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:02:22] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 22:03:02] Production.INFO: ==12381== Lock acquired, processing the job... [2025-03-09 22:03:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:03:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:03:02] Production.INFO: neon service started [2025-03-09 22:03:02] Production.INFO: neon service started [2025-03-09 22:03:02] Production.INFO: ==12381== Releasing lock... [2025-03-09 22:03:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:03:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:03:02] Production.INFO: ==12384== Lock acquired, processing the job... [2025-03-09 18:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:03:02] Production.INFO: ==12384== Releasing lock... [2025-03-09 18:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:03:02] Production.INFO: ==12386== Lock acquired, processing the job... [2025-03-09 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:03:02] Production.INFO: ==12386== Releasing lock... [2025-03-09 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:03:03] Production.INFO: ==12390== Lock acquired, processing the job... [2025-03-09 18:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:03:03] Production.INFO: ==12388== Lock acquired, processing the job... [2025-03-09 18:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:03:03] Production.INFO: ==12394== Lock acquired, processing the job... [2025-03-09 18:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:03:03] Production.INFO: Account Balance Start. [2025-03-09 18:03:03] Production.INFO: CreateAllLog Start [2025-03-09 18:03:03] Production.INFO: 117 [2025-03-09 18:03:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:03:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:03:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:03:03] Production.INFO: Total Charge 0 [2025-03-09 18:03:03] Production.INFO: ==12390== Releasing lock... [2025-03-09 18:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:03:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:03:03] Production.INFO: CreateAllLog End [2025-03-09 18:03:03] Production.INFO: ==12392== Lock acquired, processing the job... [2025-03-09 18:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:03:04] Production.INFO: ==12396== Lock acquired, processing the job... [2025-03-09 18:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:03:04] Production.INFO: ==12398== Lock acquired, processing the job... [2025-03-09 18:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:03:04] Production.INFO: Account Balance End. [2025-03-09 18:03:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:03:04] Production.INFO: ==12394== Releasing lock... [2025-03-09 18:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 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-09 18:03:04] Production.INFO: count ==13 [2025-03-09 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-09 18:03:04] Production.INFO: count ==21 [2025-03-09 18:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643892') start [2025-03-09 18:03:04] Production.ERROR: done [2025-03-09 18:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643892') end [2025-03-09 18:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:03:04] Production.INFO: 1 [2025-03-09 18:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:03:04] Production.INFO: ==12398== Releasing lock... [2025-03-09 18:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:03:04] Production.ERROR: done [2025-03-09 18:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:03:05 [end_date_ymd] => 2025-03-09 18:03:05 [RateCDR] => 1 ) [2025-03-09 18: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-09 15:03:05' and `end` < '2025-03-09 18: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-09 18:03:11] Production.ERROR: CronJobId end10 [2025-03-09 18:03:11] Production.INFO: ==12392== Releasing lock... [2025-03-09 18:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:03:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:03:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:03:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:03:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:03:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:03:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:03:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:03:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:03:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:03:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:03:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:03:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:03:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:03:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:03:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:03:13] Production.INFO: call_cost start [2025-03-09 18:03:13] Production.INFO: call_cost end [2025-03-09 18:03:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:03:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:03:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:03:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:03:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:03:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:03:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:03:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:03:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:03:14] Production.INFO: ==12388== Releasing lock... [2025-03-09 18:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:03:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:03:17] Production.INFO: count ==1257 [2025-03-09 18:03:18] Production.ERROR: pbx CDR StartTime 2025-03-09 15:03:05 - End Time 2025-03-09 18:03:05 [2025-03-09 18:03:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643893', 'tblTempUsageDetail_20' ) start [2025-03-09 18:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643893', 'tblTempUsageDetail_20' ) end [2025-03-09 18:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643893', 'tblTempVendorCDR_20' ) start [2025-03-09 18:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643893', 'tblTempVendorCDR_20' ) end [2025-03-09 18:03:18] Production.INFO: ProcessCDR(1,14643893,1,1,2) [2025-03-09 18:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643893', 'tblTempUsageDetail_20' ) start [2025-03-09 18:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643893', 'tblTempUsageDetail_20' ) end [2025-03-09 18:03:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:03:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:03:22] Production.INFO: ==12396== Releasing lock... [2025-03-09 18:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:03:22] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 22:04:01] Production.INFO: ==12451== Lock acquired, processing the job... [2025-03-09 22:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:04:01] Production.INFO: neon service started [2025-03-09 22:04:01] Production.INFO: neon service started [2025-03-09 22:04:01] Production.INFO: ==12451== Releasing lock... [2025-03-09 22:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 22:04:01] Production.INFO: ==12455== Lock acquired, processing the job... [2025-03-09 22:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:04:01] Production.INFO: ==12455== Releasing lock... [2025-03-09 22:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:04:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:04:02] Production.INFO: ==12453== Lock acquired, processing the job... [2025-03-09 18:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:04:02] Production.INFO: ==12453== Releasing lock... [2025-03-09 18:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:04:03] Production.INFO: ==12458== Lock acquired, processing the job... [2025-03-09 18:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:04:03] Production.INFO: ==12460== Lock acquired, processing the job... [2025-03-09 18:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:04:03] Production.INFO: ==12466== Lock acquired, processing the job... [2025-03-09 18:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:04:03] Production.INFO: ==12462== Lock acquired, processing the job... [2025-03-09 18:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:04:03] Production.INFO: ==12468== Lock acquired, processing the job... [2025-03-09 18:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:04:03] Production.INFO: ==12464== Lock acquired, processing the job... [2025-03-09 18:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:04:03] Production.INFO: ==12460== Releasing lock... [2025-03-09 18:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:04:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 18:04:03] Production.INFO: Account Balance Start. [2025-03-09 18:04:03] Production.INFO: CreateAllLog Start [2025-03-09 18:04:03] Production.INFO: 117 [2025-03-09 18:04:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:04:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:04:03] Production.INFO: count ==13 [2025-03-09 18:04:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:04:03] Production.ERROR: done [2025-03-09 18:04:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:04:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 18:04:03] Production.INFO: count ==21 [2025-03-09 18:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643896') start [2025-03-09 18:04:03] Production.INFO: Total Charge 0 [2025-03-09 18:04:03] Production.INFO: CreateAllLog End [2025-03-09 18:04:03] Production.ERROR: done [2025-03-09 18:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643896') end [2025-03-09 18:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:04:04] Production.INFO: 1 [2025-03-09 18:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:04:04] Production.INFO: Account Balance End. [2025-03-09 18:04:04] Production.INFO: ==12468== Releasing lock... [2025-03-09 18:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:04:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:04:04] Production.INFO: ==12464== Releasing lock... [2025-03-09 18:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:04:05 [end_date_ymd] => 2025-03-09 18:04:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:04:05' and `end` < '2025-03-09 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-09 18:04:11] Production.ERROR: CronJobId end10 [2025-03-09 18:04:11] Production.INFO: ==12462== Releasing lock... [2025-03-09 18:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:04:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:04:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:04:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:04:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:04:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:04:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:04:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:04:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:04:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:04:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:04:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:04:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:04:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:04:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:04:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:04:14] Production.INFO: call_cost start [2025-03-09 18:04:14] Production.INFO: call_cost end [2025-03-09 18:04:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:04:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:04:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:04:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:04:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:04:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:04:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:04:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:04:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:04:15] Production.INFO: ==12458== Releasing lock... [2025-03-09 18:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:04:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:04:17] Production.INFO: count ==1260 [2025-03-09 18:04:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:04:05 - End Time 2025-03-09 18:04:05 [2025-03-09 18:04:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643898', 'tblTempUsageDetail_20' ) start [2025-03-09 18:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643898', 'tblTempUsageDetail_20' ) end [2025-03-09 18:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643898', 'tblTempVendorCDR_20' ) start [2025-03-09 18:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643898', 'tblTempVendorCDR_20' ) end [2025-03-09 18:04:17] Production.INFO: ProcessCDR(1,14643898,1,1,2) [2025-03-09 18:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643898', 'tblTempUsageDetail_20' ) start [2025-03-09 18:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643898', 'tblTempUsageDetail_20' ) end [2025-03-09 18:04:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:04:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:04:22] Production.INFO: ==12466== Releasing lock... [2025-03-09 18:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:04:22] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 22:05:01] Production.INFO: ==12526== Lock acquired, processing the job... [2025-03-09 22:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:05:01] Production.INFO: neon service started [2025-03-09 22:05:02] Production.INFO: neon service started [2025-03-09 22:05:02] Production.INFO: ==12526== Releasing lock... [2025-03-09 22:05:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:05:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 18:05:02] Production.INFO: ==12528== Lock acquired, processing the job... [2025-03-09 18:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:05:02] Production.INFO: ==12530== Lock acquired, processing the job... [2025-03-09 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:05:02] Production.INFO: ==12530== Releasing lock... [2025-03-09 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:05:03] Production.INFO: ==12528== Releasing lock... [2025-03-09 18:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:05:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:05:03] Production.INFO: ==12533== Lock acquired, processing the job... [2025-03-09 18:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:05:03] Production.INFO: ==12537== Lock acquired, processing the job... [2025-03-09 18:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:05:04] Production.INFO: ==12541== Lock acquired, processing the job... [2025-03-09 18:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:05:04] Production.INFO: ==12535== Lock acquired, processing the job... [2025-03-09 18:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:05:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:05:04] Production.INFO: ==12539== Lock acquired, processing the job... [2025-03-09 18:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:05:04] Production.INFO: ==12543== Lock acquired, processing the job... [2025-03-09 18:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:05:04] Production.INFO: Account Balance Start. [2025-03-09 18:05:04] Production.INFO: CreateAllLog Start [2025-03-09 18:05:04] Production.INFO: 117 [2025-03-09 18:05:04] Production.INFO: Date 2025-03-08 [2025-03-09 18:05:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:05:04] Production.ERROR: done [2025-03-09 18:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18: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-09 18:05:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:05:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:05:04] Production.INFO: count ==13 [2025-03-09 18: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-09 18:05:04] Production.INFO: count ==21 [2025-03-09 18:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643901') start [2025-03-09 18:05:04] Production.INFO: Total Charge 0 [2025-03-09 18:05:04] Production.INFO: CreateAllLog End [2025-03-09 18:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643901') end [2025-03-09 18:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:05:04] Production.INFO: 1 [2025-03-09 18:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:05:04] Production.ERROR: done [2025-03-09 18:05:04] Production.INFO: ==12535== Releasing lock... [2025-03-09 18:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:05:04] Production.INFO: ==12543== Releasing lock... [2025-03-09 18:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:05:04] Production.INFO: Account Balance End. [2025-03-09 18:05:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:05:04] Production.INFO: ==12539== Releasing lock... [2025-03-09 18:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:05:05 [end_date_ymd] => 2025-03-09 18:05:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:05:05' and `end` < '2025-03-09 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-09 18:05:12] Production.ERROR: CronJobId end10 [2025-03-09 18:05:12] Production.INFO: ==12537== Releasing lock... [2025-03-09 18:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:05:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:05:14] Production.INFO: call_cost start [2025-03-09 18:05:14] Production.INFO: call_cost end [2025-03-09 18:05:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:05:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:05:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:05:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:05:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:05:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:05:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:05:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:05:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:05:15] Production.INFO: ==12533== Releasing lock... [2025-03-09 18:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:05:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:05:17] Production.INFO: count ==1263 [2025-03-09 18:05:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:05:05 - End Time 2025-03-09 18:05:05 [2025-03-09 18:05:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643903', 'tblTempUsageDetail_20' ) start [2025-03-09 18:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643903', 'tblTempUsageDetail_20' ) end [2025-03-09 18:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643903', 'tblTempVendorCDR_20' ) start [2025-03-09 18:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643903', 'tblTempVendorCDR_20' ) end [2025-03-09 18:05:18] Production.INFO: ProcessCDR(1,14643903,1,1,2) [2025-03-09 18:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643903', 'tblTempUsageDetail_20' ) start [2025-03-09 18:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643903', 'tblTempUsageDetail_20' ) end [2025-03-09 18:05:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:05:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:05:21] Production.INFO: ==12541== Releasing lock... [2025-03-09 18:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:05:21] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 22:06:01] Production.INFO: ==12601== Lock acquired, processing the job... [2025-03-09 22:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:06:01] Production.INFO: neon service started [2025-03-09 22:06:01] Production.INFO: neon service started [2025-03-09 22:06:01] Production.INFO: ==12601== Releasing lock... [2025-03-09 22:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:06:01] Production.INFO: ==12603== Lock acquired, processing the job... [2025-03-09 18:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:06:02] Production.INFO: ==12603== Releasing lock... [2025-03-09 18:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:06:02] Production.INFO: ==12605== Lock acquired, processing the job... [2025-03-09 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:06:02] Production.INFO: ==12605== Releasing lock... [2025-03-09 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:06:03] Production.INFO: ==12615== Lock acquired, processing the job... [2025-03-09 18:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:06:03] Production.INFO: ==12617== Lock acquired, processing the job... [2025-03-09 18:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:06:03] Production.INFO: ==12607== Lock acquired, processing the job... [2025-03-09 18:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:06:03] Production.INFO: ==12609== Lock acquired, processing the job... [2025-03-09 18:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:06:03] Production.INFO: ==12611== Lock acquired, processing the job... [2025-03-09 18:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 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-09 18:06:03] Production.INFO: ==12613== Lock acquired, processing the job... [2025-03-09 18:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:06:03] Production.INFO: count ==13 [2025-03-09 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-09 18:06:03] Production.INFO: count ==21 [2025-03-09 18:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643904') start [2025-03-09 18:06:03] Production.INFO: Account Balance Start. [2025-03-09 18:06:03] Production.INFO: CreateAllLog Start [2025-03-09 18:06:03] Production.INFO: 117 [2025-03-09 18:06:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:06:03] Production.ERROR: done [2025-03-09 18:06:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:06:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:06:03] Production.INFO: ==12609== Releasing lock... [2025-03-09 18:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:06:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643904') end [2025-03-09 18:06:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:06:03] Production.INFO: 1 [2025-03-09 18:06:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:06:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:06:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:06:03] Production.ERROR: done [2025-03-09 18:06:03] Production.INFO: ==12617== Releasing lock... [2025-03-09 18:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:06:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:06:03] Production.INFO: Total Charge 0 [2025-03-09 18:06:03] Production.INFO: CreateAllLog End [2025-03-09 18:06:03] Production.INFO: Account Balance End. [2025-03-09 18:06:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:06:04] Production.INFO: ==12613== Releasing lock... [2025-03-09 18:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:06:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:06:04 [end_date_ymd] => 2025-03-09 18:06:04 [RateCDR] => 1 ) [2025-03-09 18:06:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 15:06:04' and `end` < '2025-03-09 18:06:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 18:06:11] Production.ERROR: CronJobId end10 [2025-03-09 18:06:11] Production.INFO: ==12611== Releasing lock... [2025-03-09 18:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:06:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:06:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:06:12] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:06:12] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:06:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:06:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:06:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:06:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:06:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:06:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:06:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:06:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:06:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:06:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:06:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:06:12] Production.INFO: call_cost start [2025-03-09 18:06:12] Production.INFO: call_cost end [2025-03-09 18:06:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:06:13] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:06:13] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:06:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:06:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:06:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:06:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:06:13] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:06:13] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:06:13] Production.INFO: ==12607== Releasing lock... [2025-03-09 18:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:06:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:06:17] Production.INFO: count ==1256 [2025-03-09 18:06:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:06:04 - End Time 2025-03-09 18:06:04 [2025-03-09 18:06:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643908', 'tblTempUsageDetail_20' ) start [2025-03-09 18:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643908', 'tblTempUsageDetail_20' ) end [2025-03-09 18:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643908', 'tblTempVendorCDR_20' ) start [2025-03-09 18:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643908', 'tblTempVendorCDR_20' ) end [2025-03-09 18:06:17] Production.INFO: ProcessCDR(1,14643908,1,1,2) [2025-03-09 18:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643908', 'tblTempUsageDetail_20' ) start [2025-03-09 18:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643908', 'tblTempUsageDetail_20' ) end [2025-03-09 18:06:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:06:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:06:22] Production.INFO: ==12615== Releasing lock... [2025-03-09 18:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:06:22] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 22:07:01] Production.INFO: ==12675== Lock acquired, processing the job... [2025-03-09 22:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:07:01] Production.INFO: neon service started [2025-03-09 22:07:01] Production.INFO: neon service started [2025-03-09 22:07:01] Production.INFO: ==12675== Releasing lock... [2025-03-09 22:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:07:02] Production.INFO: ==12677== Lock acquired, processing the job... [2025-03-09 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:07:02] Production.INFO: ==12677== Releasing lock... [2025-03-09 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:07:02] Production.INFO: ==12679== Lock acquired, processing the job... [2025-03-09 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:07:02] Production.INFO: ==12679== Releasing lock... [2025-03-09 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:07:03] Production.INFO: ==12685== Lock acquired, processing the job... [2025-03-09 18:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:07:03] Production.INFO: ==12687== Lock acquired, processing the job... [2025-03-09 18:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:07:03] Production.INFO: ==12681== Lock acquired, processing the job... [2025-03-09 18:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:07:03] Production.INFO: Account Balance Start. [2025-03-09 18:07:03] Production.INFO: CreateAllLog Start [2025-03-09 18:07:03] Production.INFO: 117 [2025-03-09 18:07:03] Production.INFO: ==12683== Lock acquired, processing the job... [2025-03-09 18:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:07:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:07:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:07:03] Production.INFO: Total Charge 0 [2025-03-09 18:07:03] Production.INFO: ==12689== Lock acquired, processing the job... [2025-03-09 18:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:07:03] Production.INFO: CreateAllLog End [2025-03-09 18:07:03] Production.INFO: ==12691== Lock acquired, processing the job... [2025-03-09 18:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:07:03] Production.INFO: Account Balance End. [2025-03-09 18: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-09 18:07:03] Production.ERROR: CronJobId end 12 [2025-03-09 18:07:03] Production.INFO: ==12687== Releasing lock... [2025-03-09 18:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:07:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:07:03] Production.INFO: count ==13 [2025-03-09 18: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-09 18:07:03] Production.INFO: count ==21 [2025-03-09 18:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643912') start [2025-03-09 18:07:04] Production.INFO: ==12683== Releasing lock... [2025-03-09 18:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643912') end [2025-03-09 18:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:07:04] Production.INFO: 1 [2025-03-09 18:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:07:04] Production.INFO: ==12691== Releasing lock... [2025-03-09 18:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:07:04] Production.ERROR: done [2025-03-09 18:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:07:04] Production.ERROR: done [2025-03-09 18:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:07:05 [end_date_ymd] => 2025-03-09 18:07:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:07:05' and `end` < '2025-03-09 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-09 18:07:11] Production.ERROR: CronJobId end10 [2025-03-09 18:07:11] Production.INFO: ==12685== Releasing lock... [2025-03-09 18:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:07:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:07:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:07:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:07:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:07:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:07:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:07:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:07:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:07:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:07:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:07:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:07:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:07:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:07:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:07:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:07:13] Production.INFO: call_cost start [2025-03-09 18:07:13] Production.INFO: call_cost end [2025-03-09 18:07:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:07:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:07:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:07:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:07:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:07:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:07:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:07:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:07:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:07:14] Production.INFO: ==12681== Releasing lock... [2025-03-09 18:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:07:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:07:17] Production.INFO: count ==1255 [2025-03-09 18:07:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:07:05 - End Time 2025-03-09 18:07:05 [2025-03-09 18:07:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643913', 'tblTempUsageDetail_20' ) start [2025-03-09 18:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643913', 'tblTempUsageDetail_20' ) end [2025-03-09 18:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643913', 'tblTempVendorCDR_20' ) start [2025-03-09 18:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643913', 'tblTempVendorCDR_20' ) end [2025-03-09 18:07:18] Production.INFO: ProcessCDR(1,14643913,1,1,2) [2025-03-09 18:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643913', 'tblTempUsageDetail_20' ) start [2025-03-09 18:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643913', 'tblTempUsageDetail_20' ) end [2025-03-09 18:07:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:07:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:07:21] Production.INFO: ==12689== Releasing lock... [2025-03-09 18:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:07:21] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 22:08:02] Production.INFO: ==12747== Lock acquired, processing the job... [2025-03-09 22:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:08:02] Production.INFO: neon service started [2025-03-09 22:08:02] Production.INFO: neon service started [2025-03-09 22:08:02] Production.INFO: ==12747== Releasing lock... [2025-03-09 22:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:08:02] Production.INFO: ==12750== Lock acquired, processing the job... [2025-03-09 18:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:08:03] Production.INFO: ==12750== Releasing lock... [2025-03-09 18:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:08:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:08:03] Production.INFO: ==12752== Lock acquired, processing the job... [2025-03-09 22:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:08:03] Production.INFO: ==12752== Releasing lock... [2025-03-09 22:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:08:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:08:04] Production.INFO: ==12764== Lock acquired, processing the job... [2025-03-09 18:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:08:04] Production.INFO: ==12762== Lock acquired, processing the job... [2025-03-09 18:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:08:04] Production.INFO: ==12754== Lock acquired, processing the job... [2025-03-09 18:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:08:04] Production.INFO: ==12756== Lock acquired, processing the job... [2025-03-09 18:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 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-09 18:08:04] Production.INFO: ==12758== Lock acquired, processing the job... [2025-03-09 18:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:08:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:08:04] Production.INFO: count ==13 [2025-03-09 18:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 18:08:04] Production.INFO: count ==21 [2025-03-09 18:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643914') start [2025-03-09 18:08:04] Production.INFO: ==12760== Lock acquired, processing the job... [2025-03-09 18:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:08:04] Production.INFO: Account Balance Start. [2025-03-09 18:08:04] Production.INFO: CreateAllLog Start [2025-03-09 18:08:04] Production.INFO: 117 [2025-03-09 18:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:08:04] Production.INFO: Date 2025-03-08 [2025-03-09 18:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:08:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643914') end [2025-03-09 18:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:08:04] Production.INFO: 1 [2025-03-09 18:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:08:04] Production.INFO: ==12764== Releasing lock... [2025-03-09 18:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:08:04] Production.ERROR: done [2025-03-09 18:08:04] Production.INFO: ==12756== Releasing lock... [2025-03-09 18:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:08:04] Production.INFO: Total Charge 0 [2025-03-09 18:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:08:04] Production.INFO: CreateAllLog End [2025-03-09 18:08:04] Production.ERROR: done [2025-03-09 18:08:04] Production.INFO: Account Balance End. [2025-03-09 18:08:05] Production.ERROR: CronJobId end 12 [2025-03-09 18:08:05] Production.INFO: ==12760== Releasing lock... [2025-03-09 18:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:08:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:08:05 [end_date_ymd] => 2025-03-09 18:08:05 [RateCDR] => 1 ) [2025-03-09 18: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-09 15:08:05' and `end` < '2025-03-09 18: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-09 18:08:12] Production.ERROR: CronJobId end10 [2025-03-09 18:08:12] Production.INFO: ==12758== Releasing lock... [2025-03-09 18:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:08:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:08:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:08:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:08:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:08:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:08:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:08:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:08:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:08:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:08:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:08:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:08:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:08:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:08:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:08:14] Production.INFO: call_cost start [2025-03-09 18:08:14] Production.INFO: call_cost end [2025-03-09 18:08:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:08:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:08:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:08:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:08:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:08:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:08:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:08:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:08:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:08:15] Production.INFO: ==12754== Releasing lock... [2025-03-09 18:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:08:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:08:18] Production.INFO: count ==1259 [2025-03-09 18:08:18] Production.ERROR: pbx CDR StartTime 2025-03-09 15:08:05 - End Time 2025-03-09 18:08:05 [2025-03-09 18:08:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643918', 'tblTempUsageDetail_20' ) start [2025-03-09 18:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643918', 'tblTempUsageDetail_20' ) end [2025-03-09 18:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643918', 'tblTempVendorCDR_20' ) start [2025-03-09 18:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643918', 'tblTempVendorCDR_20' ) end [2025-03-09 18:08:18] Production.INFO: ProcessCDR(1,14643918,1,1,2) [2025-03-09 18:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643918', 'tblTempUsageDetail_20' ) start [2025-03-09 18:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643918', 'tblTempUsageDetail_20' ) end [2025-03-09 18:08:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:08:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:08:23] Production.INFO: ==12762== Releasing lock... [2025-03-09 18:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:08:23] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 22:09:01] Production.INFO: ==12823== Lock acquired, processing the job... [2025-03-09 22:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:09:01] Production.INFO: neon service started [2025-03-09 22:09:01] Production.INFO: neon service started [2025-03-09 22:09:01] Production.INFO: ==12823== Releasing lock... [2025-03-09 22:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:09:02] Production.INFO: ==12825== Lock acquired, processing the job... [2025-03-09 18:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:09:02] Production.INFO: ==12827== Lock acquired, processing the job... [2025-03-09 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:09:02] Production.INFO: ==12827== Releasing lock... [2025-03-09 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:09:02] Production.INFO: ==12825== Releasing lock... [2025-03-09 18:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:09:03] Production.INFO: ==12834== Lock acquired, processing the job... [2025-03-09 18:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:09:03] Production.INFO: ==12840== Lock acquired, processing the job... [2025-03-09 18:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:09:03] Production.INFO: ==12830== Lock acquired, processing the job... [2025-03-09 18:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18: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-09 18:09:03] Production.INFO: count ==13 [2025-03-09 18:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18: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-09 18:09:03] Production.INFO: count ==21 [2025-03-09 18:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643919') start [2025-03-09 18:09:03] Production.INFO: ==12832== Lock acquired, processing the job... [2025-03-09 18:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:09:03] Production.INFO: ==12836== Lock acquired, processing the job... [2025-03-09 18:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643919') end [2025-03-09 18:09:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:09:03] Production.INFO: 1 [2025-03-09 18:09:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:09:03] Production.INFO: ==12838== Lock acquired, processing the job... [2025-03-09 18:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:09:04] Production.INFO: ==12840== Releasing lock... [2025-03-09 18:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:09:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:09:04] Production.INFO: Account Balance Start. [2025-03-09 18:09:04] Production.INFO: CreateAllLog Start [2025-03-09 18:09:04] Production.INFO: 117 [2025-03-09 18:09:04] Production.INFO: Date 2025-03-08 [2025-03-09 18:09:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:09:04] Production.ERROR: done [2025-03-09 18:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:09:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:09:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:09:04] Production.INFO: ==12832== Releasing lock... [2025-03-09 18:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:09:04] Production.INFO: Total Charge 0 [2025-03-09 18:09:04] Production.INFO: CreateAllLog End [2025-03-09 18:09:04] Production.ERROR: done [2025-03-09 18:09:04] Production.INFO: Account Balance End. [2025-03-09 18:09:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:09:04] Production.INFO: ==12836== Releasing lock... [2025-03-09 18:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:09:05 [end_date_ymd] => 2025-03-09 18:09:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:09:05' and `end` < '2025-03-09 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-09 18:09:11] Production.ERROR: CronJobId end10 [2025-03-09 18:09:11] Production.INFO: ==12834== Releasing lock... [2025-03-09 18:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:09:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:09:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:09:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:09:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:09:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:09:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:09:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:09:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:09:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:09:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:09:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:09:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:09:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:09:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:09:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:09:14] Production.INFO: call_cost start [2025-03-09 18:09:14] Production.INFO: call_cost end [2025-03-09 18:09:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:09:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:09:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:09:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:09:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:09:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:09:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:09:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:09:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:09:15] Production.INFO: ==12830== Releasing lock... [2025-03-09 18:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:09:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:09:17] Production.INFO: count ==1264 [2025-03-09 18:09:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:09:05 - End Time 2025-03-09 18:09:05 [2025-03-09 18:09:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643923', 'tblTempUsageDetail_20' ) start [2025-03-09 18:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643923', 'tblTempUsageDetail_20' ) end [2025-03-09 18:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643923', 'tblTempVendorCDR_20' ) start [2025-03-09 18:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643923', 'tblTempVendorCDR_20' ) end [2025-03-09 18:09:17] Production.INFO: ProcessCDR(1,14643923,1,1,2) [2025-03-09 18:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:09:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643923', 'tblTempUsageDetail_20' ) start [2025-03-09 18:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643923', 'tblTempUsageDetail_20' ) end [2025-03-09 18:09:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:09:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:09:21] Production.INFO: ==12838== Releasing lock... [2025-03-09 18:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:09:21] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 22:10:02] Production.INFO: ==12896== Lock acquired, processing the job... [2025-03-09 22:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:10:02] Production.INFO: neon service started [2025-03-09 22:10:02] Production.INFO: neon service started [2025-03-09 22:10:02] Production.INFO: ==12896== Releasing lock... [2025-03-09 22:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:10:02] Production.INFO: ==12898== Lock acquired, processing the job... [2025-03-09 18:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:10:03] Production.INFO: ==12898== Releasing lock... [2025-03-09 18:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:10:03] Production.INFO: ==12900== Lock acquired, processing the job... [2025-03-09 22:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:10:03] Production.INFO: ==12900== Releasing lock... [2025-03-09 22:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:10:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:10:04] Production.INFO: ==12907== Lock acquired, processing the job... [2025-03-09 18:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:10:04] Production.INFO: ==12909== Lock acquired, processing the job... [2025-03-09 18:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:10:04] Production.INFO: ==12903== Lock acquired, processing the job... [2025-03-09 18:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 18:10:04] Production.INFO: ==12915== Lock acquired, processing the job... [2025-03-09 18:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 18:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 18:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:10:04] Production.ERROR: CronJob PID - 12907 [2025-03-09 18:10:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 18:10:04] Production.ERROR: CronJob ID - 7 [2025-03-09 18:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 18:10:00 [2025-03-09 18:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:10:04] Production.ERROR: CronJob PID - 12909 [2025-03-09 18:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 18:10:04] Production.ERROR: CronJob ID - 10 [2025-03-09 18:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 18:10:00 [2025-03-09 18:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 18:10:04] Production.INFO: ==12903== Releasing lock... [2025-03-09 18:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 18:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 18:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:10:04] Production.INFO: ==12905== Lock acquired, processing the job... [2025-03-09 18:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:10:04] Production.INFO: ==12917== Lock acquired, processing the job... [2025-03-09 18:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:10:04] Production.INFO: ==12911== Lock acquired, processing the job... [2025-03-09 18:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:10:04] Production.INFO: ==12913== Lock acquired, processing the job... [2025-03-09 18:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:10:04] Production.INFO: ==12907== Releasing lock... [2025-03-09 18:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 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-09 18:10:04] Production.INFO: count ==13 [2025-03-09 18: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-09 18:10:04] Production.INFO: count ==21 [2025-03-09 18:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643926') start [2025-03-09 18:10:04] Production.INFO: Account Balance Start. [2025-03-09 18:10:04] Production.INFO: CreateAllLog Start [2025-03-09 18:10:04] Production.INFO: 117 [2025-03-09 18:10:04] Production.ERROR: done [2025-03-09 18:10:05] Production.INFO: Date 2025-03-08 [2025-03-09 18:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 18:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643928', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 18:10:05] Production.INFO: Reseller ==> 0 [2025-03-09 18:10:05] Production.INFO: Date 2025-03-09 [2025-03-09 18:10:05] Production.INFO: Reseller ==> 0 [2025-03-09 18:10:05] Production.INFO: Total Charge 0 [2025-03-09 18:10:05] Production.INFO: CreateAllLog End [2025-03-09 18:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14643926') end [2025-03-09 18:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:10:05] Production.INFO: 1 [2025-03-09 18:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:10:05] Production.INFO: ==12917== Releasing lock... [2025-03-09 18:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:10:05] Production.ERROR: done [2025-03-09 18:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:10:05] Production.INFO: Account Balance End. [2025-03-09 18:10:05] Production.ERROR: done [2025-03-09 18:10:05] Production.ERROR: CronJobId end 12 [2025-03-09 18:10:05] Production.INFO: ==12911== Releasing lock... [2025-03-09 18:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:10:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:10:07 [end_date_ymd] => 2025-03-09 18:10:07 [RateCDR] => 1 ) [2025-03-09 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-09 15:10:07' and `end` < '2025-03-09 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-09 18:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643928', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 18:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 18:10:09] Production.INFO: ProcessCDR(1,14643928,1,1,2) [2025-03-09 18:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14643928,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14643928,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:10:09] Production.INFO: ==12915== Releasing lock... [2025-03-09 18:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 18:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 18:10:13] Production.ERROR: CronJobId end10 [2025-03-09 18:10:13] Production.INFO: ==12909== Releasing lock... [2025-03-09 18:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:10:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:10:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:10:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:10:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:10:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:10:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:10:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:10:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:10:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:10:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:10:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:10:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:10:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:10:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:10:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:10:16] Production.INFO: call_cost start [2025-03-09 18:10:16] Production.INFO: call_cost end [2025-03-09 18:10:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:10:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:10:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:10:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:10:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:10:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:10:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:10:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:10:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:10:17] Production.INFO: ==12905== Releasing lock... [2025-03-09 18:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:10:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:10:19] Production.INFO: count ==1262 [2025-03-09 18:10:19] Production.ERROR: pbx CDR StartTime 2025-03-09 15:10:07 - End Time 2025-03-09 18:10:07 [2025-03-09 18:10:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643929', 'tblTempUsageDetail_20' ) start [2025-03-09 18:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643929', 'tblTempUsageDetail_20' ) end [2025-03-09 18:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643929', 'tblTempVendorCDR_20' ) start [2025-03-09 18:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643929', 'tblTempVendorCDR_20' ) end [2025-03-09 18:10:19] Production.INFO: ProcessCDR(1,14643929,1,1,2) [2025-03-09 18:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643929', 'tblTempUsageDetail_20' ) start [2025-03-09 18:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643929', 'tblTempUsageDetail_20' ) end [2025-03-09 18:10:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:10:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:10:23] Production.INFO: ==12913== Releasing lock... [2025-03-09 18:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:10:23] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 22:11:01] Production.INFO: ==12971== Lock acquired, processing the job... [2025-03-09 22:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:11:01] Production.INFO: neon service started [2025-03-09 22:11:01] Production.INFO: neon service started [2025-03-09 22:11:01] Production.INFO: ==12971== Releasing lock... [2025-03-09 22:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:11:02] Production.INFO: ==12973== Lock acquired, processing the job... [2025-03-09 18:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:11:02] Production.INFO: ==12973== Releasing lock... [2025-03-09 18:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:11:02] Production.INFO: ==12975== Lock acquired, processing the job... [2025-03-09 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:11:02] Production.INFO: ==12975== Releasing lock... [2025-03-09 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:11:03] Production.INFO: ==12981== Lock acquired, processing the job... [2025-03-09 18:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:11:03] Production.INFO: ==12988== Lock acquired, processing the job... [2025-03-09 18:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:11:03] Production.INFO: ==12977== Lock acquired, processing the job... [2025-03-09 18:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:11:03] Production.INFO: ==12979== Lock acquired, processing the job... [2025-03-09 18:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 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-09 18:11:03] Production.INFO: ==12983== Lock acquired, processing the job... [2025-03-09 18:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:11:03] Production.INFO: count ==13 [2025-03-09 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-09 18:11:03] Production.INFO: count ==21 [2025-03-09 18:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643930') start [2025-03-09 18:11:03] Production.INFO: ==12985== Lock acquired, processing the job... [2025-03-09 18:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:11:03] Production.INFO: Account Balance Start. [2025-03-09 18:11:03] Production.INFO: CreateAllLog Start [2025-03-09 18:11:03] Production.INFO: 117 [2025-03-09 18:11:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643930') end [2025-03-09 18:11:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:11:03] Production.INFO: 1 [2025-03-09 18:11:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:11:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:11:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:11:03] Production.INFO: ==12988== Releasing lock... [2025-03-09 18:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:11:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:11:03] Production.INFO: Total Charge 0 [2025-03-09 18:11:03] Production.INFO: CreateAllLog End [2025-03-09 18:11:03] Production.INFO: ==12979== Releasing lock... [2025-03-09 18:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:11:04] Production.ERROR: done [2025-03-09 18:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:11:04] Production.INFO: Account Balance End. [2025-03-09 18:11:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:11:04] Production.INFO: ==12983== Releasing lock... [2025-03-09 18:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:11:04] Production.ERROR: done [2025-03-09 18:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:11:05 [end_date_ymd] => 2025-03-09 18:11:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:11:05' and `end` < '2025-03-09 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-09 18:11:11] Production.ERROR: CronJobId end10 [2025-03-09 18:11:11] Production.INFO: ==12981== Releasing lock... [2025-03-09 18:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:11:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:11:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:11:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:11:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:11:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:11:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:11:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:11:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:11:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:11:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:11:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:11:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:11:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:11:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:11:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:11:14] Production.INFO: call_cost start [2025-03-09 18:11:14] Production.INFO: call_cost end [2025-03-09 18:11:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:11:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:11:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:11:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:11:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:11:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:11:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:11:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:11:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:11:15] Production.INFO: ==12977== Releasing lock... [2025-03-09 18:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:11:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:11:17] Production.INFO: count ==1323 [2025-03-09 18:11:18] Production.ERROR: pbx CDR StartTime 2025-03-09 15:11:05 - End Time 2025-03-09 18:11:05 [2025-03-09 18:11:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643934', 'tblTempUsageDetail_20' ) start [2025-03-09 18:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643934', 'tblTempUsageDetail_20' ) end [2025-03-09 18:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643934', 'tblTempVendorCDR_20' ) start [2025-03-09 18:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643934', 'tblTempVendorCDR_20' ) end [2025-03-09 18:11:18] Production.INFO: ProcessCDR(1,14643934,1,1,2) [2025-03-09 18:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643934', 'tblTempUsageDetail_20' ) start [2025-03-09 18:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643934', 'tblTempUsageDetail_20' ) end [2025-03-09 18:11:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:11:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:11:23] Production.INFO: ==12985== Releasing lock... [2025-03-09 18:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:11:23] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 22:12:02] Production.INFO: ==13081== Lock acquired, processing the job... [2025-03-09 22:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:12:02] Production.INFO: neon service started [2025-03-09 22:12:02] Production.INFO: neon service started [2025-03-09 22:12:02] Production.INFO: ==13081== Releasing lock... [2025-03-09 22:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 22:12:02] Production.INFO: ==13085== Lock acquired, processing the job... [2025-03-09 22:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:12:02] Production.INFO: ==13085== Releasing lock... [2025-03-09 22:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:12:02] Production.INFO: ==13083== Lock acquired, processing the job... [2025-03-09 18:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:12:03] Production.INFO: ==13083== Releasing lock... [2025-03-09 18:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:12:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:12:03] Production.INFO: ==13090== Lock acquired, processing the job... [2025-03-09 18:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:12:03] Production.INFO: ==13092== Lock acquired, processing the job... [2025-03-09 18:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:12:04] Production.INFO: ==13096== Lock acquired, processing the job... [2025-03-09 18:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:12:04] Production.INFO: ==13090== Releasing lock... [2025-03-09 18:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:12:04] Production.INFO: ==13088== Lock acquired, processing the job... [2025-03-09 18:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:12:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:12:04] Production.INFO: ==13094== Lock acquired, processing the job... [2025-03-09 18:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:12:04] Production.INFO: ==13098== Lock acquired, processing the job... [2025-03-09 18:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 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-09 18:12:04] Production.INFO: Account Balance Start. [2025-03-09 18:12:04] Production.INFO: CreateAllLog Start [2025-03-09 18:12:04] Production.INFO: 117 [2025-03-09 18:12:04] Production.INFO: count ==13 [2025-03-09 18:12:04] Production.ERROR: done [2025-03-09 18:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 18:12:04] Production.INFO: Date 2025-03-08 [2025-03-09 18:12:04] Production.INFO: count ==21 [2025-03-09 18:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643938') start [2025-03-09 18:12:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:12:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:12:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:12:04] Production.INFO: Total Charge 0 [2025-03-09 18:12:04] Production.INFO: CreateAllLog End [2025-03-09 18:12:04] Production.ERROR: done [2025-03-09 18:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643938') end [2025-03-09 18:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:12:04] Production.INFO: 1 [2025-03-09 18:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:12:04] Production.INFO: ==13098== Releasing lock... [2025-03-09 18:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:12:04] Production.INFO: Account Balance End. [2025-03-09 18:12:05] Production.ERROR: CronJobId end 12 [2025-03-09 18:12:05] Production.INFO: ==13094== Releasing lock... [2025-03-09 18:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:12:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:12:05 [end_date_ymd] => 2025-03-09 18:12:05 [RateCDR] => 1 ) [2025-03-09 18: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-09 15:12:05' and `end` < '2025-03-09 18: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-09 18:12:12] Production.ERROR: CronJobId end10 [2025-03-09 18:12:12] Production.INFO: ==13092== Releasing lock... [2025-03-09 18:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:12:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:12:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:12:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:12:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:12:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:12:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:12:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:12:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:12:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:12:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:12:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:12:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:12:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:12:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:12:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:12:15] Production.INFO: call_cost start [2025-03-09 18:12:15] Production.INFO: call_cost end [2025-03-09 18:12:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:12:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:12:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:12:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:12:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:12:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:12:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:12:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:12:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:12:16] Production.INFO: ==13088== Releasing lock... [2025-03-09 18:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:12:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:12:18] Production.INFO: count ==1343 [2025-03-09 18:12:18] Production.ERROR: pbx CDR StartTime 2025-03-09 15:12:05 - End Time 2025-03-09 18:12:05 [2025-03-09 18:12:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643939', 'tblTempUsageDetail_20' ) start [2025-03-09 18:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643939', 'tblTempUsageDetail_20' ) end [2025-03-09 18:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643939', 'tblTempVendorCDR_20' ) start [2025-03-09 18:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643939', 'tblTempVendorCDR_20' ) end [2025-03-09 18:12:18] Production.INFO: ProcessCDR(1,14643939,1,1,2) [2025-03-09 18:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643939', 'tblTempUsageDetail_20' ) start [2025-03-09 18:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643939', 'tblTempUsageDetail_20' ) end [2025-03-09 18:12:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:12:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:12:23] Production.INFO: ==13096== Releasing lock... [2025-03-09 18:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:12:23] Production.INFO: 38 MB #Memory Used# [2025-03-09 22:13:01] Production.INFO: ==13151== Lock acquired, processing the job... [2025-03-09 22:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:13:01] Production.INFO: neon service started [2025-03-09 22:13:01] Production.INFO: neon service started [2025-03-09 22:13:01] Production.INFO: ==13151== Releasing lock... [2025-03-09 22:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 22:13:02] Production.INFO: ==13155== Lock acquired, processing the job... [2025-03-09 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:13:02] Production.INFO: ==13155== Releasing lock... [2025-03-09 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:13:02] Production.INFO: ==13153== Lock acquired, processing the job... [2025-03-09 18:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:13:02] Production.INFO: ==13153== Releasing lock... [2025-03-09 18:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:13:03] Production.INFO: ==13158== Lock acquired, processing the job... [2025-03-09 18:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:13:03] Production.INFO: ==13160== Lock acquired, processing the job... [2025-03-09 18:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:13:03] Production.INFO: ==13162== Lock acquired, processing the job... [2025-03-09 18:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:13:03] Production.INFO: ==13160== Releasing lock... [2025-03-09 18:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:13:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:13:03] Production.INFO: ==13164== Lock acquired, processing the job... [2025-03-09 18:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:13:03] Production.INFO: ==13166== Lock acquired, processing the job... [2025-03-09 18:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:13:03] Production.INFO: Account Balance Start. [2025-03-09 18:13:03] Production.INFO: CreateAllLog Start [2025-03-09 18:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:13:03] Production.INFO: 117 [2025-03-09 18:13:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:13:03] Production.INFO: ==13168== Lock acquired, processing the job... [2025-03-09 18:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:13:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:13:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:13:03] Production.INFO: Reseller ==> 0 [2025-03-09 18: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-09 18:13:03] Production.INFO: Total Charge 0 [2025-03-09 18:13:03] Production.INFO: CreateAllLog End [2025-03-09 18:13:03] Production.INFO: count ==13 [2025-03-09 18: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-09 18:13:04] Production.INFO: count ==21 [2025-03-09 18:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643943') start [2025-03-09 18:13:04] Production.INFO: Account Balance End. [2025-03-09 18:13:04] Production.ERROR: done [2025-03-09 18:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:13:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:13:04] Production.INFO: ==13164== Releasing lock... [2025-03-09 18:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643943') end [2025-03-09 18:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:13:04] Production.INFO: 1 [2025-03-09 18:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:13:04] Production.INFO: ==13168== Releasing lock... [2025-03-09 18:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:13:04] Production.ERROR: done [2025-03-09 18:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:13:05 [end_date_ymd] => 2025-03-09 18:13:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:13:05' and `end` < '2025-03-09 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-09 18:13:12] Production.ERROR: CronJobId end10 [2025-03-09 18:13:12] Production.INFO: ==13162== Releasing lock... [2025-03-09 18:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:13:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:13:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:13:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:13:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:13:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:13:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:13:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:13:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:13:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:13:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:13:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:13:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:13:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:13:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:13:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:13:14] Production.INFO: call_cost start [2025-03-09 18:13:14] Production.INFO: call_cost end [2025-03-09 18:13:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:13:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:13:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:13:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:13:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:13:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:13:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:13:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:13:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:13:15] Production.INFO: ==13158== Releasing lock... [2025-03-09 18:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:13:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:13:17] Production.INFO: count ==1350 [2025-03-09 18:13:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:13:05 - End Time 2025-03-09 18:13:05 [2025-03-09 18:13:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643944', 'tblTempUsageDetail_20' ) start [2025-03-09 18:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643944', 'tblTempUsageDetail_20' ) end [2025-03-09 18:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643944', 'tblTempVendorCDR_20' ) start [2025-03-09 18:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643944', 'tblTempVendorCDR_20' ) end [2025-03-09 18:13:17] Production.INFO: ProcessCDR(1,14643944,1,1,2) [2025-03-09 18:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643944', 'tblTempUsageDetail_20' ) start [2025-03-09 18:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643944', 'tblTempUsageDetail_20' ) end [2025-03-09 18:13:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:13:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:13:23] Production.INFO: ==13166== Releasing lock... [2025-03-09 18:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:13:23] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 22:14:02] Production.INFO: ==13228== Lock acquired, processing the job... [2025-03-09 22:14:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:14:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:14:02] Production.INFO: neon service started [2025-03-09 22:14:02] Production.INFO: neon service started [2025-03-09 22:14:02] Production.INFO: ==13228== Releasing lock... [2025-03-09 22:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:14:02] Production.INFO: ==13230== Lock acquired, processing the job... [2025-03-09 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:14:02] Production.INFO: ==13232== Lock acquired, processing the job... [2025-03-09 22:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:14:02] Production.INFO: ==13230== Releasing lock... [2025-03-09 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:14:02] Production.INFO: ==13232== Releasing lock... [2025-03-09 22:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:14:03] Production.INFO: ==13234== Lock acquired, processing the job... [2025-03-09 18:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:14:03] Production.INFO: ==13236== Lock acquired, processing the job... [2025-03-09 18:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:14:03] Production.INFO: ==13238== Lock acquired, processing the job... [2025-03-09 18:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:14:03] Production.INFO: ==13240== Lock acquired, processing the job... [2025-03-09 18:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:14:03] Production.INFO: ==13242== Lock acquired, processing the job... [2025-03-09 18:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:14:04] Production.INFO: Account Balance Start. [2025-03-09 18:14:04] Production.INFO: CreateAllLog Start [2025-03-09 18:14:04] Production.INFO: 117 [2025-03-09 18:14:04] Production.INFO: Date 2025-03-08 [2025-03-09 18:14:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:14:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:14:04] Production.INFO: ==13245== Lock acquired, processing the job... [2025-03-09 18:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:14:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:14:04] Production.INFO: Total Charge 0 [2025-03-09 18:14:04] Production.INFO: CreateAllLog End [2025-03-09 18:14:04] Production.INFO: ==13236== Releasing lock... [2025-03-09 18:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 18:14:04] Production.INFO: count ==13 [2025-03-09 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-09 18:14:04] Production.INFO: count ==21 [2025-03-09 18:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643948') start [2025-03-09 18:14:04] Production.ERROR: done [2025-03-09 18:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643948') end [2025-03-09 18:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:14:04] Production.INFO: 1 [2025-03-09 18:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:14:04] Production.INFO: ==13245== Releasing lock... [2025-03-09 18:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:14:04] Production.ERROR: done [2025-03-09 18:14:04] Production.INFO: Account Balance End. [2025-03-09 18:14:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:14:04] Production.INFO: ==13240== Releasing lock... [2025-03-09 18:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:14:05 [end_date_ymd] => 2025-03-09 18:14:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:14:05' and `end` < '2025-03-09 18: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-09 18:14:11] Production.ERROR: CronJobId end10 [2025-03-09 18:14:11] Production.INFO: ==13238== Releasing lock... [2025-03-09 18:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:14:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:14:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:14:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:14:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:14:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:14:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:14:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:14:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:14:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:14:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:14:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:14:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:14:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:14:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:14:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:14:14] Production.INFO: call_cost start [2025-03-09 18:14:14] Production.INFO: call_cost end [2025-03-09 18:14:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:14:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:14:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:14:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:14:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:14:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:14:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:14:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:14:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:14:15] Production.INFO: ==13234== Releasing lock... [2025-03-09 18:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:14:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:14:18] Production.INFO: count ==1350 [2025-03-09 18:14:18] Production.ERROR: pbx CDR StartTime 2025-03-09 15:14:05 - End Time 2025-03-09 18:14:05 [2025-03-09 18:14:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643949', 'tblTempUsageDetail_20' ) start [2025-03-09 18:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643949', 'tblTempUsageDetail_20' ) end [2025-03-09 18:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643949', 'tblTempVendorCDR_20' ) start [2025-03-09 18:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643949', 'tblTempVendorCDR_20' ) end [2025-03-09 18:14:18] Production.INFO: ProcessCDR(1,14643949,1,1,2) [2025-03-09 18:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643949', 'tblTempUsageDetail_20' ) start [2025-03-09 18:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643949', 'tblTempUsageDetail_20' ) end [2025-03-09 18:14:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:14:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:14:21] Production.INFO: ==13242== Releasing lock... [2025-03-09 18:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:14:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 22:15:01] Production.INFO: ==13301== Lock acquired, processing the job... [2025-03-09 22:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:15:01] Production.INFO: neon service started [2025-03-09 22:15:01] Production.INFO: neon service started [2025-03-09 22:15:01] Production.INFO: ==13301== Releasing lock... [2025-03-09 22:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 22:15:01] Production.INFO: ==13305== Lock acquired, processing the job... [2025-03-09 22:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:15:01] Production.INFO: ==13305== Releasing lock... [2025-03-09 22:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:15:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:15:02] Production.INFO: ==13303== Lock acquired, processing the job... [2025-03-09 18:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:15:02] Production.INFO: ==13303== Releasing lock... [2025-03-09 18:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:15:03] Production.INFO: ==13313== Lock acquired, processing the job... [2025-03-09 18:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:15:03] Production.INFO: ==13316== Lock acquired, processing the job... [2025-03-09 18:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:15:03] Production.INFO: ==13307== Lock acquired, processing the job... [2025-03-09 18:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:15:03] Production.INFO: ==13309== Lock acquired, processing the job... [2025-03-09 18:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:15:03] Production.INFO: Account Balance Start. [2025-03-09 18:15:03] Production.INFO: CreateAllLog Start [2025-03-09 18:15:03] Production.INFO: 117 [2025-03-09 18:15:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:15:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:15:03] Production.INFO: ==13311== Lock acquired, processing the job... [2025-03-09 18:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:15:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:15:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:15:03] Production.INFO: Total Charge 0 [2025-03-09 18:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:15:03] Production.INFO: ==13318== Lock acquired, processing the job... [2025-03-09 18:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:15:03] Production.INFO: CreateAllLog End [2025-03-09 18:15:03] Production.INFO: ==13309== Releasing lock... [2025-03-09 18:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:15:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18: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-09 18:15:03] Production.INFO: Account Balance End. [2025-03-09 18:15:03] Production.INFO: count ==13 [2025-03-09 18:15:03] Production.ERROR: done [2025-03-09 18:15:03] Production.ERROR: CronJobId end 12 [2025-03-09 18:15:03] Production.INFO: ==13313== Releasing lock... [2025-03-09 18:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:15:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:15:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18: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-09 18:15:03] Production.INFO: count ==21 [2025-03-09 18:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643953') start [2025-03-09 18:15:03] Production.ERROR: done [2025-03-09 18:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643953') end [2025-03-09 18:15:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:15:03] Production.INFO: 1 [2025-03-09 18:15:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:15:04] Production.INFO: ==13318== Releasing lock... [2025-03-09 18:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:15:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:15:04 [end_date_ymd] => 2025-03-09 18:15:04 [RateCDR] => 1 ) [2025-03-09 18: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-09 15:15:04' and `end` < '2025-03-09 18: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-09 18:15:12] Production.ERROR: CronJobId end10 [2025-03-09 18:15:12] Production.INFO: ==13311== Releasing lock... [2025-03-09 18:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:15:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:15:15] Production.INFO: call_cost start [2025-03-09 18:15:15] Production.INFO: call_cost end [2025-03-09 18:15:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:15:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:15:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:15:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:15:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:15:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:15:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:15:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:15:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:15:15] Production.INFO: ==13307== Releasing lock... [2025-03-09 18:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:15:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:15:17] Production.INFO: count ==1352 [2025-03-09 18:15:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:15:04 - End Time 2025-03-09 18:15:04 [2025-03-09 18:15:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643954', 'tblTempUsageDetail_20' ) start [2025-03-09 18:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643954', 'tblTempUsageDetail_20' ) end [2025-03-09 18:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643954', 'tblTempVendorCDR_20' ) start [2025-03-09 18:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643954', 'tblTempVendorCDR_20' ) end [2025-03-09 18:15:17] Production.INFO: ProcessCDR(1,14643954,1,1,2) [2025-03-09 18:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:15:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643954', 'tblTempUsageDetail_20' ) start [2025-03-09 18:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643954', 'tblTempUsageDetail_20' ) end [2025-03-09 18:15:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:15:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:15:20] Production.INFO: ==13316== Releasing lock... [2025-03-09 18:15:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:15:20] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 22:16:01] Production.INFO: ==13375== Lock acquired, processing the job... [2025-03-09 22:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:16:01] Production.INFO: neon service started [2025-03-09 22:16:01] Production.INFO: neon service started [2025-03-09 22:16:01] Production.INFO: ==13375== Releasing lock... [2025-03-09 22:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:16:02] Production.INFO: ==13377== Lock acquired, processing the job... [2025-03-09 18:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:16:02] Production.INFO: ==13377== Releasing lock... [2025-03-09 18:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:16:02] Production.INFO: ==13379== Lock acquired, processing the job... [2025-03-09 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:16:02] Production.INFO: ==13379== Releasing lock... [2025-03-09 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:16:03] Production.INFO: ==13384== Lock acquired, processing the job... [2025-03-09 18:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:16:03] Production.INFO: ==13390== Lock acquired, processing the job... [2025-03-09 18:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:16:03] Production.INFO: ==13382== Lock acquired, processing the job... [2025-03-09 18:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:16:03] Production.INFO: ==13386== Lock acquired, processing the job... [2025-03-09 18:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:16:03] Production.INFO: ==13384== Releasing lock... [2025-03-09 18:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:16:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:16:03] Production.INFO: ==13388== Lock acquired, processing the job... [2025-03-09 18:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:16:03] Production.INFO: ==13392== Lock acquired, processing the job... [2025-03-09 18:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:16:04] Production.ERROR: done [2025-03-09 18:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:16:04] Production.INFO: Account Balance Start. [2025-03-09 18:16:04] Production.INFO: CreateAllLog Start [2025-03-09 18:16:04] Production.INFO: 117 [2025-03-09 18: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-09 18:16:04] Production.INFO: Date 2025-03-08 [2025-03-09 18:16:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:16:04] Production.INFO: count ==13 [2025-03-09 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-09 18:16:04] Production.INFO: count ==21 [2025-03-09 18:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643957') start [2025-03-09 18:16:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:16:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:16:04] Production.ERROR: done [2025-03-09 18:16:04] Production.INFO: Total Charge 0 [2025-03-09 18:16:04] Production.INFO: CreateAllLog End [2025-03-09 18:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643957') end [2025-03-09 18:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:16:04] Production.INFO: 1 [2025-03-09 18:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:16:04] Production.INFO: ==13392== Releasing lock... [2025-03-09 18:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:16:04] Production.INFO: Account Balance End. [2025-03-09 18:16:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:16:04] Production.INFO: ==13388== Releasing lock... [2025-03-09 18:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:16:05 [end_date_ymd] => 2025-03-09 18:16:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:16:05' and `end` < '2025-03-09 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-09 18:16:12] Production.ERROR: CronJobId end10 [2025-03-09 18:16:12] Production.INFO: ==13386== Releasing lock... [2025-03-09 18:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:16:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:16:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:16:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:16:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:16:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:16:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:16:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:16:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:16:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:16:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:16:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:16:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:16:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:16:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:16:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:16:13] Production.INFO: call_cost start [2025-03-09 18:16:13] Production.INFO: call_cost end [2025-03-09 18:16:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:16:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:16:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:16:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:16:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:16:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:16:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:16:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:16:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:16:14] Production.INFO: ==13382== Releasing lock... [2025-03-09 18:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:16:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:16:17] Production.INFO: count ==1353 [2025-03-09 18:16:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:16:05 - End Time 2025-03-09 18:16:05 [2025-03-09 18:16:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643959', 'tblTempUsageDetail_20' ) start [2025-03-09 18:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643959', 'tblTempUsageDetail_20' ) end [2025-03-09 18:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643959', 'tblTempVendorCDR_20' ) start [2025-03-09 18:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643959', 'tblTempVendorCDR_20' ) end [2025-03-09 18:16:17] Production.INFO: ProcessCDR(1,14643959,1,1,2) [2025-03-09 18:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643959', 'tblTempUsageDetail_20' ) start [2025-03-09 18:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643959', 'tblTempUsageDetail_20' ) end [2025-03-09 18:16:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:16:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:16:21] Production.INFO: ==13390== Releasing lock... [2025-03-09 18:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:16:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 22:17:01] Production.INFO: ==13444== Lock acquired, processing the job... [2025-03-09 22:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:17:01] Production.INFO: neon service started [2025-03-09 22:17:01] Production.INFO: neon service started [2025-03-09 22:17:01] Production.INFO: ==13444== Releasing lock... [2025-03-09 22:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 22:17:01] Production.INFO: ==13448== Lock acquired, processing the job... [2025-03-09 22:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:17:01] Production.INFO: ==13448== Releasing lock... [2025-03-09 22:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:17:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:17:02] Production.INFO: ==13446== Lock acquired, processing the job... [2025-03-09 18:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:17:02] Production.INFO: ==13446== Releasing lock... [2025-03-09 18:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:17:03] Production.INFO: ==13457== Lock acquired, processing the job... [2025-03-09 18:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:17:03] Production.INFO: ==13451== Lock acquired, processing the job... [2025-03-09 18:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:17:03] Production.INFO: ==13461== Lock acquired, processing the job... [2025-03-09 18:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:17:03] Production.INFO: Account Balance Start. [2025-03-09 18:17:03] Production.INFO: CreateAllLog Start [2025-03-09 18:17:03] Production.INFO: 117 [2025-03-09 18:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:17:03] Production.INFO: ==13455== Lock acquired, processing the job... [2025-03-09 18:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:17:03] Production.INFO: ==13453== Lock acquired, processing the job... [2025-03-09 18:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:17:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:17:03] Production.INFO: Reseller ==> 0 [2025-03-09 18: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-09 18:17:03] Production.INFO: count ==13 [2025-03-09 18: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-09 18:17:03] Production.INFO: count ==21 [2025-03-09 18:17:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643961') start [2025-03-09 18:17:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:17:03] Production.INFO: Total Charge 0 [2025-03-09 18:17:03] Production.INFO: ==13459== Lock acquired, processing the job... [2025-03-09 18:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:17:03] Production.INFO: CreateAllLog End [2025-03-09 18:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643961') end [2025-03-09 18:17:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:17:03] Production.INFO: 1 [2025-03-09 18:17:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:17:03] Production.INFO: ==13461== Releasing lock... [2025-03-09 18:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:17:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:17:03] Production.INFO: Account Balance End. [2025-03-09 18:17:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:17:04] Production.INFO: ==13457== Releasing lock... [2025-03-09 18:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:17:04] Production.INFO: ==13453== Releasing lock... [2025-03-09 18:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:17:04] Production.ERROR: done [2025-03-09 18:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:17:04] Production.ERROR: done [2025-03-09 18:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:17:05 [end_date_ymd] => 2025-03-09 18:17:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:17:05' and `end` < '2025-03-09 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-09 18:17:12] Production.ERROR: CronJobId end10 [2025-03-09 18:17:12] Production.INFO: ==13455== Releasing lock... [2025-03-09 18:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:17:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:17:15] Production.INFO: call_cost start [2025-03-09 18:17:15] Production.INFO: call_cost end [2025-03-09 18:17:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:17:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:17:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:17:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:17:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:17:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:17:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:17:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:17:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:17:16] Production.INFO: ==13451== Releasing lock... [2025-03-09 18:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:17:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:17:17] Production.INFO: count ==1351 [2025-03-09 18:17:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:17:05 - End Time 2025-03-09 18:17:05 [2025-03-09 18:17:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643964', 'tblTempUsageDetail_20' ) start [2025-03-09 18:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643964', 'tblTempUsageDetail_20' ) end [2025-03-09 18:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643964', 'tblTempVendorCDR_20' ) start [2025-03-09 18:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643964', 'tblTempVendorCDR_20' ) end [2025-03-09 18:17:17] Production.INFO: ProcessCDR(1,14643964,1,1,2) [2025-03-09 18:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643964', 'tblTempUsageDetail_20' ) start [2025-03-09 18:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643964', 'tblTempUsageDetail_20' ) end [2025-03-09 18:17:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:17:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:17:21] Production.INFO: ==13459== Releasing lock... [2025-03-09 18:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:17:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 22:18:01] Production.INFO: ==13518== Lock acquired, processing the job... [2025-03-09 22:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:18:01] Production.INFO: neon service started [2025-03-09 22:18:01] Production.INFO: neon service started [2025-03-09 22:18:01] Production.INFO: ==13518== Releasing lock... [2025-03-09 22:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:18:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:18:02] Production.INFO: ==13520== Lock acquired, processing the job... [2025-03-09 18:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:18:02] Production.INFO: ==13520== Releasing lock... [2025-03-09 18:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:18:02] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 22:18:02] Production.INFO: ==13522== Lock acquired, processing the job... [2025-03-09 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:18:02] Production.INFO: ==13522== Releasing lock... [2025-03-09 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:18:03] Production.INFO: ==13525== Lock acquired, processing the job... [2025-03-09 18:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:18:03] Production.INFO: ==13527== Lock acquired, processing the job... [2025-03-09 18:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:18:03] Production.INFO: ==13529== Lock acquired, processing the job... [2025-03-09 18:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:18:03] Production.INFO: ==13533== Lock acquired, processing the job... [2025-03-09 18:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:18:03] Production.INFO: ==13531== Lock acquired, processing the job... [2025-03-09 18:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:18:03] Production.INFO: ==13535== Lock acquired, processing the job... [2025-03-09 18:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:18:03] Production.INFO: Account Balance Start. [2025-03-09 18:18:03] Production.INFO: CreateAllLog Start [2025-03-09 18: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-09 18:18:03] Production.INFO: 117 [2025-03-09 18:18:04] Production.INFO: count ==13 [2025-03-09 18:18:04] Production.INFO: Date 2025-03-08 [2025-03-09 18:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:18:04] Production.ERROR: done [2025-03-09 18:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 18:18:04] Production.INFO: ==13527== Releasing lock... [2025-03-09 18:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:18:04] Production.INFO: count ==21 [2025-03-09 18:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643968') start [2025-03-09 18:18:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:18:04] Production.INFO: Total Charge 0 [2025-03-09 18:18:04] Production.INFO: CreateAllLog End [2025-03-09 18:18:04] Production.ERROR: done [2025-03-09 18:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643968') end [2025-03-09 18:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:18:04] Production.INFO: 1 [2025-03-09 18:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:18:04] Production.INFO: ==13535== Releasing lock... [2025-03-09 18:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:18:04] Production.INFO: Account Balance End. [2025-03-09 18:18:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:18:04] Production.INFO: ==13531== Releasing lock... [2025-03-09 18:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:18:05 [end_date_ymd] => 2025-03-09 18:18:05 [RateCDR] => 1 ) [2025-03-09 18: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-09 15:18:05' and `end` < '2025-03-09 18: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-09 18:18:13] Production.ERROR: CronJobId end10 [2025-03-09 18:18:13] Production.INFO: ==13529== Releasing lock... [2025-03-09 18:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:18:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:18:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:18:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:18:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:18:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:18:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:18:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:18:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:18:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:18:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:18:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:18:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:18:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:18:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:18:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:18:15] Production.INFO: call_cost start [2025-03-09 18:18:15] Production.INFO: call_cost end [2025-03-09 18:18:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:18:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:18:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:18:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:18:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:18:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:18:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:18:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:18:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:18:16] Production.INFO: ==13525== Releasing lock... [2025-03-09 18:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:18:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:18:17] Production.INFO: count ==1350 [2025-03-09 18:18:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:18:05 - End Time 2025-03-09 18:18:05 [2025-03-09 18:18:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643969', 'tblTempUsageDetail_20' ) start [2025-03-09 18:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643969', 'tblTempUsageDetail_20' ) end [2025-03-09 18:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643969', 'tblTempVendorCDR_20' ) start [2025-03-09 18:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643969', 'tblTempVendorCDR_20' ) end [2025-03-09 18:18:17] Production.INFO: ProcessCDR(1,14643969,1,1,2) [2025-03-09 18:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643969', 'tblTempUsageDetail_20' ) start [2025-03-09 18:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643969', 'tblTempUsageDetail_20' ) end [2025-03-09 18:18:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:18:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:18:21] Production.INFO: ==13533== Releasing lock... [2025-03-09 18:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:18:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 22:19:02] Production.INFO: ==13593== Lock acquired, processing the job... [2025-03-09 22:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:19:02] Production.INFO: neon service started [2025-03-09 22:19:02] Production.INFO: neon service started [2025-03-09 22:19:02] Production.INFO: ==13593== Releasing lock... [2025-03-09 22:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:19:02] Production.INFO: ==13595== Lock acquired, processing the job... [2025-03-09 18:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:19:02] Production.INFO: ==13595== Releasing lock... [2025-03-09 18:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:19:02] Production.INFO: ==13597== Lock acquired, processing the job... [2025-03-09 22:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:19:03] Production.INFO: ==13597== Releasing lock... [2025-03-09 22:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:19:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:19:03] Production.INFO: ==13605== Lock acquired, processing the job... [2025-03-09 18:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:19:03] Production.INFO: Account Balance Start. [2025-03-09 18:19:03] Production.INFO: CreateAllLog Start [2025-03-09 18:19:03] Production.INFO: 117 [2025-03-09 18:19:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:19:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:19:03] Production.INFO: ==13609== Lock acquired, processing the job... [2025-03-09 18:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:19:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:19:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:19:03] Production.INFO: Total Charge 0 [2025-03-09 18:19:03] Production.INFO: CreateAllLog End [2025-03-09 18:19:04] Production.INFO: ==13599== Lock acquired, processing the job... [2025-03-09 18:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18: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-09 18:19:04] Production.INFO: ==13601== Lock acquired, processing the job... [2025-03-09 18:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:19:04] Production.INFO: ==13603== Lock acquired, processing the job... [2025-03-09 18:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:19:04] Production.INFO: count ==13 [2025-03-09 18:19:04] Production.INFO: Account Balance End. [2025-03-09 18:19:04] Production.INFO: ==13607== Lock acquired, processing the job... [2025-03-09 18:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 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-09 18:19:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:19:04] Production.INFO: count ==21 [2025-03-09 18:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643971') start [2025-03-09 18:19:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:19:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:19:04] Production.INFO: ==13605== Releasing lock... [2025-03-09 18:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643971') end [2025-03-09 18:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:19:04] Production.INFO: 1 [2025-03-09 18:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:19:04] Production.INFO: ==13609== Releasing lock... [2025-03-09 18:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:19:04] Production.INFO: ==13601== Releasing lock... [2025-03-09 18:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:19:04] Production.ERROR: done [2025-03-09 18:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:19:04] Production.ERROR: done [2025-03-09 18:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:19:05 [end_date_ymd] => 2025-03-09 18:19:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:19:05' and `end` < '2025-03-09 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-09 18:19:12] Production.ERROR: CronJobId end10 [2025-03-09 18:19:12] Production.INFO: ==13603== Releasing lock... [2025-03-09 18:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:19:14] Production.INFO: call_cost start [2025-03-09 18:19:14] Production.INFO: call_cost end [2025-03-09 18:19:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:19:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:19:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:19:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:19:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:19:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:19:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:19:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:19:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:19:15] Production.INFO: ==13599== Releasing lock... [2025-03-09 18:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:19:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:19:17] Production.INFO: count ==1351 [2025-03-09 18:19:18] Production.ERROR: pbx CDR StartTime 2025-03-09 15:19:05 - End Time 2025-03-09 18:19:05 [2025-03-09 18:19:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643974', 'tblTempUsageDetail_20' ) start [2025-03-09 18:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643974', 'tblTempUsageDetail_20' ) end [2025-03-09 18:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643974', 'tblTempVendorCDR_20' ) start [2025-03-09 18:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643974', 'tblTempVendorCDR_20' ) end [2025-03-09 18:19:18] Production.INFO: ProcessCDR(1,14643974,1,1,2) [2025-03-09 18:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643974', 'tblTempUsageDetail_20' ) start [2025-03-09 18:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643974', 'tblTempUsageDetail_20' ) end [2025-03-09 18:19:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:19:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:19:22] Production.INFO: ==13607== Releasing lock... [2025-03-09 18:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:19:22] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 22:20:01] Production.INFO: ==13663== Lock acquired, processing the job... [2025-03-09 22:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:20:01] Production.INFO: neon service started [2025-03-09 22:20:01] Production.INFO: neon service started [2025-03-09 22:20:01] Production.INFO: ==13663== Releasing lock... [2025-03-09 22:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:20:02] Production.INFO: ==13665== Lock acquired, processing the job... [2025-03-09 18:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:20:02] Production.INFO: ==13667== Lock acquired, processing the job... [2025-03-09 22:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:20:02] Production.INFO: ==13665== Releasing lock... [2025-03-09 18:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:20:02] Production.INFO: ==13667== Releasing lock... [2025-03-09 22:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:20:03] Production.INFO: ==13678== Lock acquired, processing the job... [2025-03-09 18:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:20:03] Production.INFO: ==13680== Lock acquired, processing the job... [2025-03-09 18:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:20:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:20:03] Production.INFO: Account Balance Start. [2025-03-09 18:20:03] Production.INFO: CreateAllLog Start [2025-03-09 18:20:03] Production.INFO: ==13670== Lock acquired, processing the job... [2025-03-09 18:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 18:20:03] Production.INFO: 117 [2025-03-09 18:20:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:20:03] Production.INFO: ==13682== Lock acquired, processing the job... [2025-03-09 18:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 18:20:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:20:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:20:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:20:03] Production.INFO: ==13672== Lock acquired, processing the job... [2025-03-09 18:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:20:03] Production.INFO: ==13674== Lock acquired, processing the job... [2025-03-09 18:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:20:03] Production.INFO: Total Charge 0 [2025-03-09 18:20:03] Production.INFO: ==13676== Lock acquired, processing the job... [2025-03-09 18:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:20:03] Production.INFO: CreateAllLog End [2025-03-09 18:20:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:20:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 18:20:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:20:03] Production.ERROR: CronJob PID - 13672 [2025-03-09 18:20:03] Production.ERROR: CronJob Title - System Alerts [2025-03-09 18:20:03] Production.ERROR: CronJob ID - 5 [2025-03-09 18:20:03] Production.ERROR: CronJob Last Run Time 2025-03-09 18:20:00 [2025-03-09 18:20:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:20:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:20:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:20:03] Production.ERROR: CronJob PID - 13674 [2025-03-09 18:20:03] Production.ERROR: CronJob Title - Account Block [2025-03-09 18:20:03] Production.ERROR: CronJob ID - 7 [2025-03-09 18:20:03] Production.ERROR: CronJob Last Run Time 2025-03-09 18:20:00 [2025-03-09 18:20:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:20:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:20:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:20:03] Production.ERROR: CronJob PID - 13676 [2025-03-09 18:20:03] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 18:20:03] Production.ERROR: CronJob ID - 10 [2025-03-09 18:20:03] Production.ERROR: CronJob Last Run Time 2025-03-09 18:20:00 [2025-03-09 18:20:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:20:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:20:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:20:03] Production.ERROR: CronJob PID - 13678 [2025-03-09 18:20:03] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 18:20:03] Production.ERROR: CronJob ID - 12 [2025-03-09 18:20:03] Production.ERROR: CronJob Last Run Time 2025-03-09 18:20:00 [2025-03-09 18:20:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:20:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:20:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:20:03] Production.ERROR: CronJob PID - 13680 [2025-03-09 18:20:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 18:20:03] Production.ERROR: CronJob ID - 16 [2025-03-09 18:20:03] Production.ERROR: CronJob Last Run Time 2025-03-09 18:20:00 [2025-03-09 18:20:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:20:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:20:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:20:03] Production.ERROR: CronJob PID - 13682 [2025-03-09 18:20:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-09 18:20:03] Production.ERROR: CronJob ID - 17 [2025-03-09 18:20:03] Production.ERROR: CronJob Last Run Time 2025-03-09 18:20:00 [2025-03-09 18:20:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:20:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:20:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:20:04] Production.INFO: ==13684== Lock acquired, processing the job... [2025-03-09 18:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:20:04] Production.INFO: Account Balance End. [2025-03-09 18:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 18:20:04] Production.INFO: ==13670== Releasing lock... [2025-03-09 18:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 18:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 18: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-09 18:20:04] Production.INFO: count ==13 [2025-03-09 18:20:04] Production.ERROR: done [2025-03-09 18: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-09 18:20:04] Production.INFO: count ==21 [2025-03-09 18:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:20:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:20:04] Production.INFO: ==13678== Releasing lock... [2025-03-09 18:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:20:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643978') start [2025-03-09 18:20:04] Production.ERROR: done [2025-03-09 18:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 18:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643979', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 18:20:04] Production.INFO: ==13674== Releasing lock... [2025-03-09 18:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:20:04] Production.ERROR: done [2025-03-09 18:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643978') end [2025-03-09 18:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:20:04] Production.INFO: 1 [2025-03-09 18:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:20:04] Production.INFO: ==13684== Releasing lock... [2025-03-09 18:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:20:05 [end_date_ymd] => 2025-03-09 18:20:05 [RateCDR] => 1 ) [2025-03-09 18: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-09 15:20:05' and `end` < '2025-03-09 18: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-09 18:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14643979', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 18:20:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 18:20:08] Production.INFO: ProcessCDR(1,14643979,1,1,2) [2025-03-09 18:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14643979,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14643979,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:20:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:20:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:20:08] Production.INFO: ==13682== Releasing lock... [2025-03-09 18:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 18:20:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 18:20:13] Production.ERROR: CronJobId end10 [2025-03-09 18:20:13] Production.INFO: ==13676== Releasing lock... [2025-03-09 18:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:20:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:20:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:20:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:20:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:20:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:20:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:20:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:20:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:20:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:20:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:20:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:20:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:20:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:20:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:20:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:20:15] Production.INFO: call_cost start [2025-03-09 18:20:15] Production.INFO: call_cost end [2025-03-09 18:20:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:20:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:20:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:20:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:20:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:20:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:20:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:20:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:20:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:20:16] Production.INFO: ==13672== Releasing lock... [2025-03-09 18:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:20:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:20:18] Production.INFO: count ==1350 [2025-03-09 18:20:18] Production.ERROR: pbx CDR StartTime 2025-03-09 15:20:05 - End Time 2025-03-09 18:20:05 [2025-03-09 18:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643980', 'tblTempUsageDetail_20' ) start [2025-03-09 18:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643980', 'tblTempUsageDetail_20' ) end [2025-03-09 18:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643980', 'tblTempVendorCDR_20' ) start [2025-03-09 18:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643980', 'tblTempVendorCDR_20' ) end [2025-03-09 18:20:18] Production.INFO: ProcessCDR(1,14643980,1,1,2) [2025-03-09 18:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643980', 'tblTempUsageDetail_20' ) start [2025-03-09 18:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643980', 'tblTempUsageDetail_20' ) end [2025-03-09 18:20:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:20:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:20:21] Production.INFO: ==13680== Releasing lock... [2025-03-09 18:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:20:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 22:21:02] Production.INFO: ==13737== Lock acquired, processing the job... [2025-03-09 22:21:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:21:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:21:02] Production.INFO: neon service started [2025-03-09 22:21:02] Production.INFO: neon service started [2025-03-09 22:21:02] Production.INFO: ==13737== Releasing lock... [2025-03-09 22:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:21:02] Production.INFO: ==13739== Lock acquired, processing the job... [2025-03-09 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:21:02] Production.INFO: ==13739== Releasing lock... [2025-03-09 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:21:02] Production.INFO: ==13741== Lock acquired, processing the job... [2025-03-09 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:21:03] Production.INFO: ==13741== Releasing lock... [2025-03-09 22:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:21:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:21:03] Production.INFO: ==13743== Lock acquired, processing the job... [2025-03-09 18:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:21:03] Production.INFO: ==13745== Lock acquired, processing the job... [2025-03-09 18:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:21:03] Production.INFO: ==13751== Lock acquired, processing the job... [2025-03-09 18:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:21:03] Production.INFO: ==13747== Lock acquired, processing the job... [2025-03-09 18:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:21:03] Production.INFO: ==13749== Lock acquired, processing the job... [2025-03-09 18:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:21:04] Production.INFO: ==13753== Lock acquired, processing the job... [2025-03-09 18:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:21:04] Production.INFO: Account Balance Start. [2025-03-09 18:21:04] Production.INFO: CreateAllLog Start [2025-03-09 18:21:04] Production.INFO: 117 [2025-03-09 18:21:04] Production.ERROR: done [2025-03-09 18:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:21:04] Production.INFO: Date 2025-03-08 [2025-03-09 18:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:21:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:21:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 18:21:04] Production.INFO: ==13745== Releasing lock... [2025-03-09 18:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:21:04] Production.INFO: count ==13 [2025-03-09 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-09 18:21:04] Production.INFO: count ==21 [2025-03-09 18:21:04] Production.ERROR: done [2025-03-09 18:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643984') start [2025-03-09 18:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643984') end [2025-03-09 18:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:21:04] Production.INFO: 1 [2025-03-09 18:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:21:04] Production.INFO: Total Charge 0 [2025-03-09 18:21:04] Production.INFO: ==13753== Releasing lock... [2025-03-09 18:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:21:04] Production.INFO: CreateAllLog End [2025-03-09 18:21:05] Production.INFO: Account Balance End. [2025-03-09 18:21:05] Production.ERROR: CronJobId end 12 [2025-03-09 18:21:05] Production.INFO: ==13749== Releasing lock... [2025-03-09 18:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:21:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:21:05 [end_date_ymd] => 2025-03-09 18:21:05 [RateCDR] => 1 ) [2025-03-09 18: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-09 15:21:05' and `end` < '2025-03-09 18: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-09 18:21:11] Production.ERROR: CronJobId end10 [2025-03-09 18:21:11] Production.INFO: ==13747== Releasing lock... [2025-03-09 18:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:21:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:21:14] Production.INFO: call_cost start [2025-03-09 18:21:14] Production.INFO: call_cost end [2025-03-09 18:21:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:21:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:21:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:21:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:21:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:21:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:21:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:21:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:21:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:21:15] Production.INFO: ==13743== Releasing lock... [2025-03-09 18:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:21:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:21:17] Production.INFO: count ==1334 [2025-03-09 18:21:18] Production.ERROR: pbx CDR StartTime 2025-03-09 15:21:05 - End Time 2025-03-09 18:21:05 [2025-03-09 18:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643985', 'tblTempUsageDetail_20' ) start [2025-03-09 18:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643985', 'tblTempUsageDetail_20' ) end [2025-03-09 18:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643985', 'tblTempVendorCDR_20' ) start [2025-03-09 18:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643985', 'tblTempVendorCDR_20' ) end [2025-03-09 18:21:18] Production.INFO: ProcessCDR(1,14643985,1,1,2) [2025-03-09 18:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643985', 'tblTempUsageDetail_20' ) start [2025-03-09 18:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643985', 'tblTempUsageDetail_20' ) end [2025-03-09 18:21:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:21:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:21:21] Production.INFO: ==13751== Releasing lock... [2025-03-09 18:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:21:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 22:22:01] Production.INFO: ==13807== Lock acquired, processing the job... [2025-03-09 22:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:22:01] Production.INFO: neon service started [2025-03-09 22:22:01] Production.INFO: neon service started [2025-03-09 22:22:01] Production.INFO: ==13807== Releasing lock... [2025-03-09 22:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 22:22:01] Production.INFO: ==13811== Lock acquired, processing the job... [2025-03-09 22:22:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:22:01] Production.INFO: ==13811== Releasing lock... [2025-03-09 22:22:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:22:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:22:02] Production.INFO: ==13809== Lock acquired, processing the job... [2025-03-09 18:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:22:02] Production.INFO: ==13809== Releasing lock... [2025-03-09 18:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:22:03] Production.INFO: ==13814== Lock acquired, processing the job... [2025-03-09 18:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:22:03] Production.INFO: ==13820== Lock acquired, processing the job... [2025-03-09 18:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:22:03] Production.INFO: ==13822== Lock acquired, processing the job... [2025-03-09 18:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:22:03] Production.INFO: Account Balance Start. [2025-03-09 18:22:03] Production.INFO: CreateAllLog Start [2025-03-09 18:22:03] Production.INFO: 117 [2025-03-09 18:22:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:22:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:22:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:22:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:22:03] Production.INFO: Total Charge 0 [2025-03-09 18:22:03] Production.INFO: CreateAllLog End [2025-03-09 18:22:03] Production.INFO: ==13816== Lock acquired, processing the job... [2025-03-09 18:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:22:03] Production.INFO: ==13818== Lock acquired, processing the job... [2025-03-09 18:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:22:03] Production.INFO: ==13824== Lock acquired, processing the job... [2025-03-09 18:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:22:03] Production.ERROR: done [2025-03-09 18:22:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18: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-09 18:22:04] Production.INFO: count ==13 [2025-03-09 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-09 18:22:04] Production.INFO: count ==21 [2025-03-09 18:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643989') start [2025-03-09 18:22:04] Production.INFO: Account Balance End. [2025-03-09 18:22:04] Production.INFO: ==13816== Releasing lock... [2025-03-09 18:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:22:04] Production.ERROR: done [2025-03-09 18:22:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:22:04] Production.INFO: ==13820== Releasing lock... [2025-03-09 18:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643989') end [2025-03-09 18:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:22:04] Production.INFO: 1 [2025-03-09 18:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:22:04] Production.INFO: ==13824== Releasing lock... [2025-03-09 18:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:22:05 [end_date_ymd] => 2025-03-09 18:22:05 [RateCDR] => 1 ) [2025-03-09 18: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-09 15:22:05' and `end` < '2025-03-09 18: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-09 18:22:11] Production.ERROR: CronJobId end10 [2025-03-09 18:22:11] Production.INFO: ==13818== Releasing lock... [2025-03-09 18:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:22:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:22:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:22:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:22:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:22:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:22:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:22:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:22:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:22:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:22:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:22:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:22:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:22:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:22:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:22:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:22:14] Production.INFO: call_cost start [2025-03-09 18:22:14] Production.INFO: call_cost end [2025-03-09 18:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:22:15] Production.INFO: ==13814== Releasing lock... [2025-03-09 18:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:22:17] Production.INFO: count ==1335 [2025-03-09 18:22:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:22:05 - End Time 2025-03-09 18:22:05 [2025-03-09 18:22:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643990', 'tblTempUsageDetail_20' ) start [2025-03-09 18:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643990', 'tblTempUsageDetail_20' ) end [2025-03-09 18:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643990', 'tblTempVendorCDR_20' ) start [2025-03-09 18:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643990', 'tblTempVendorCDR_20' ) end [2025-03-09 18:22:17] Production.INFO: ProcessCDR(1,14643990,1,1,2) [2025-03-09 18:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643990', 'tblTempUsageDetail_20' ) start [2025-03-09 18:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643990', 'tblTempUsageDetail_20' ) end [2025-03-09 18:22:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:22:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:22:22] Production.INFO: ==13822== Releasing lock... [2025-03-09 18:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:22:22] Production.INFO: 38 MB #Memory Used# [2025-03-09 22:23:02] Production.INFO: ==13879== Lock acquired, processing the job... [2025-03-09 22:23:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:23:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:23:02] Production.INFO: neon service started [2025-03-09 22:23:02] Production.INFO: neon service started [2025-03-09 22:23:02] Production.INFO: ==13879== Releasing lock... [2025-03-09 22:23:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:23:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:23:02] Production.INFO: ==13881== Lock acquired, processing the job... [2025-03-09 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:23:02] Production.INFO: ==13883== Lock acquired, processing the job... [2025-03-09 22:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:23:02] Production.INFO: ==13883== Releasing lock... [2025-03-09 22:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:23:02] Production.INFO: ==13881== Releasing lock... [2025-03-09 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:23:03] Production.INFO: ==13888== Lock acquired, processing the job... [2025-03-09 18:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:23:03] Production.INFO: ==13890== Lock acquired, processing the job... [2025-03-09 18:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:23:03] Production.INFO: ==13896== Lock acquired, processing the job... [2025-03-09 18:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:23:03] Production.INFO: ==13886== Lock acquired, processing the job... [2025-03-09 18:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:23:03] Production.INFO: ==13888== Releasing lock... [2025-03-09 18:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:23:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18: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-09 18:23:03] Production.INFO: ==13892== Lock acquired, processing the job... [2025-03-09 18:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:23:03] Production.INFO: count ==13 [2025-03-09 18:23:03] Production.INFO: ==13894== Lock acquired, processing the job... [2025-03-09 18:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 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-09 18:23:04] Production.INFO: count ==21 [2025-03-09 18:23:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:23:04] Production.INFO: Account Balance Start. [2025-03-09 18:23:04] Production.INFO: CreateAllLog Start [2025-03-09 18:23:04] Production.INFO: 117 [2025-03-09 18:23:04] Production.INFO: Date 2025-03-08 [2025-03-09 18:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643992') start [2025-03-09 18:23:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:23:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:23:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:23:04] Production.INFO: Total Charge 0 [2025-03-09 18:23:04] Production.INFO: CreateAllLog End [2025-03-09 18:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14643992') end [2025-03-09 18:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:23:04] Production.INFO: 1 [2025-03-09 18:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:23:04] Production.INFO: ==13896== Releasing lock... [2025-03-09 18:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:23:04] Production.ERROR: done [2025-03-09 18:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:23:04] Production.ERROR: done [2025-03-09 18:23:04] Production.INFO: Account Balance End. [2025-03-09 18:23:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:23:04] Production.INFO: ==13892== Releasing lock... [2025-03-09 18:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:23:05 [end_date_ymd] => 2025-03-09 18:23:05 [RateCDR] => 1 ) [2025-03-09 18: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-09 15:23:05' and `end` < '2025-03-09 18: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-09 18:23:11] Production.ERROR: CronJobId end10 [2025-03-09 18:23:11] Production.INFO: ==13890== Releasing lock... [2025-03-09 18:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:23:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:23:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:23:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:23:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:23:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:23:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:23:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:23:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:23:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:23:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:23:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:23:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:23:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:23:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:23:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:23:14] Production.INFO: call_cost start [2025-03-09 18:23:14] Production.INFO: call_cost end [2025-03-09 18:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:23:15] Production.INFO: ==13886== Releasing lock... [2025-03-09 18:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:23:17] Production.INFO: count ==1335 [2025-03-09 18:23:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:23:05 - End Time 2025-03-09 18:23:05 [2025-03-09 18:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643995', 'tblTempUsageDetail_20' ) start [2025-03-09 18:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14643995', 'tblTempUsageDetail_20' ) end [2025-03-09 18:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643995', 'tblTempVendorCDR_20' ) start [2025-03-09 18:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14643995', 'tblTempVendorCDR_20' ) end [2025-03-09 18:23:18] Production.INFO: ProcessCDR(1,14643995,1,1,2) [2025-03-09 18:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14643995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14643995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14643995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14643995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643995', 'tblTempUsageDetail_20' ) start [2025-03-09 18:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14643995', 'tblTempUsageDetail_20' ) end [2025-03-09 18:23:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:23:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:23:21] Production.INFO: ==13894== Releasing lock... [2025-03-09 18:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:23:21] Production.INFO: 38 MB #Memory Used# [2025-03-09 22:24:01] Production.INFO: ==13950== Lock acquired, processing the job... [2025-03-09 22:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:24:01] Production.INFO: neon service started [2025-03-09 22:24:01] Production.INFO: neon service started [2025-03-09 22:24:01] Production.INFO: ==13950== Releasing lock... [2025-03-09 22:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:24:01] Production.INFO: ==13952== Lock acquired, processing the job... [2025-03-09 18:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:24:02] Production.INFO: ==13952== Releasing lock... [2025-03-09 18:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:24:02] Production.INFO: ==13955== Lock acquired, processing the job... [2025-03-09 22:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:24:02] Production.INFO: ==13955== Releasing lock... [2025-03-09 22:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:24:03] Production.INFO: ==13957== Lock acquired, processing the job... [2025-03-09 18:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:24:03] Production.INFO: ==13965== Lock acquired, processing the job... [2025-03-09 18:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:24:03] Production.INFO: ==13967== Lock acquired, processing the job... [2025-03-09 18:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:24:03] Production.INFO: ==13959== Lock acquired, processing the job... [2025-03-09 18:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:24:03] Production.INFO: ==13961== Lock acquired, processing the job... [2025-03-09 18:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18: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-09 18:24:03] Production.INFO: ==13963== Lock acquired, processing the job... [2025-03-09 18:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:24:03] Production.INFO: count ==13 [2025-03-09 18: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-09 18:24:03] Production.INFO: count ==21 [2025-03-09 18:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643998') start [2025-03-09 18:24:03] Production.INFO: Account Balance Start. [2025-03-09 18:24:03] Production.INFO: CreateAllLog Start [2025-03-09 18:24:03] Production.INFO: 117 [2025-03-09 18:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:24:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:24:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14643998') end [2025-03-09 18:24:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:24:03] Production.INFO: 1 [2025-03-09 18:24:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:24:03] Production.INFO: ==13967== Releasing lock... [2025-03-09 18:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:24:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:24:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:24:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:24:03] Production.INFO: ==13959== Releasing lock... [2025-03-09 18:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:24:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:24:03] Production.ERROR: done [2025-03-09 18:24:03] Production.INFO: Total Charge 0 [2025-03-09 18:24:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:24:03] Production.INFO: CreateAllLog End [2025-03-09 18:24:04] Production.ERROR: done [2025-03-09 18:24:04] Production.INFO: Account Balance End. [2025-03-09 18:24:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:24:04] Production.INFO: ==13963== Releasing lock... [2025-03-09 18:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:24:05 [end_date_ymd] => 2025-03-09 18:24:05 [RateCDR] => 1 ) [2025-03-09 18: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-09 15:24:05' and `end` < '2025-03-09 18: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-09 18:24:12] Production.ERROR: CronJobId end10 [2025-03-09 18:24:12] Production.INFO: ==13961== Releasing lock... [2025-03-09 18:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:24:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:24:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:24:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:24:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:24:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:24:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:24:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:24:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:24:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:24:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:24:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:24:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:24:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:24:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:24:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:24:13] Production.INFO: call_cost start [2025-03-09 18:24:13] Production.INFO: call_cost end [2025-03-09 18:24:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:24:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:24:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:24:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:24:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:24:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:24:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:24:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:24:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:24:14] Production.INFO: ==13957== Releasing lock... [2025-03-09 18:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:24:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:24:17] Production.INFO: count ==1336 [2025-03-09 18:24:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:24:05 - End Time 2025-03-09 18:24:05 [2025-03-09 18:24:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644000', 'tblTempUsageDetail_20' ) start [2025-03-09 18:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644000', 'tblTempUsageDetail_20' ) end [2025-03-09 18:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644000', 'tblTempVendorCDR_20' ) start [2025-03-09 18:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644000', 'tblTempVendorCDR_20' ) end [2025-03-09 18:24:17] Production.INFO: ProcessCDR(1,14644000,1,1,2) [2025-03-09 18:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644000', 'tblTempUsageDetail_20' ) start [2025-03-09 18:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644000', 'tblTempUsageDetail_20' ) end [2025-03-09 18:24:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:24:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:24:22] Production.INFO: ==13965== Releasing lock... [2025-03-09 18:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:24:22] Production.INFO: 38 MB #Memory Used# [2025-03-09 22:25:01] Production.INFO: ==14020== Lock acquired, processing the job... [2025-03-09 22:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:25:01] Production.INFO: neon service started [2025-03-09 22:25:01] Production.INFO: neon service started [2025-03-09 22:25:01] Production.INFO: ==14020== Releasing lock... [2025-03-09 22:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:25:02] Production.INFO: ==14022== Lock acquired, processing the job... [2025-03-09 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:25:02] Production.INFO: ==14024== Lock acquired, processing the job... [2025-03-09 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:25:02] Production.INFO: ==14022== Releasing lock... [2025-03-09 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:25:02] Production.INFO: ==14024== Releasing lock... [2025-03-09 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:25:03] Production.INFO: ==14027== Lock acquired, processing the job... [2025-03-09 18:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:25:03] Production.INFO: ==14037== Lock acquired, processing the job... [2025-03-09 18:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18: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-09 18:25:03] Production.INFO: count ==13 [2025-03-09 18: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-09 18:25:03] Production.INFO: count ==21 [2025-03-09 18:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644002') start [2025-03-09 18:25:03] Production.INFO: ==14029== Lock acquired, processing the job... [2025-03-09 18:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:25:03] Production.INFO: ==14031== Lock acquired, processing the job... [2025-03-09 18:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:25:03] Production.INFO: ==14033== Lock acquired, processing the job... [2025-03-09 18:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:25:03] Production.INFO: ==14035== Lock acquired, processing the job... [2025-03-09 18:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644002') end [2025-03-09 18:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:25:04] Production.INFO: 1 [2025-03-09 18:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:25:04] Production.INFO: Account Balance Start. [2025-03-09 18:25:04] Production.INFO: CreateAllLog Start [2025-03-09 18:25:04] Production.INFO: 117 [2025-03-09 18:25:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:25:04] Production.INFO: ==14037== Releasing lock... [2025-03-09 18:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:25:04] Production.INFO: Date 2025-03-08 [2025-03-09 18:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:25:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:25:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:25:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:25:04] Production.INFO: Total Charge 0 [2025-03-09 18:25:04] Production.INFO: CreateAllLog End [2025-03-09 18:25:04] Production.INFO: ==14029== Releasing lock... [2025-03-09 18:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:25:04] Production.INFO: Account Balance End. [2025-03-09 18:25:04] Production.ERROR: done [2025-03-09 18:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:25:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:25:04] Production.INFO: ==14033== Releasing lock... [2025-03-09 18:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:25:04] Production.ERROR: done [2025-03-09 18:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:25:05 [end_date_ymd] => 2025-03-09 18:25:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:25:05' and `end` < '2025-03-09 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-09 18:25:13] Production.ERROR: CronJobId end10 [2025-03-09 18:25:13] Production.INFO: ==14031== Releasing lock... [2025-03-09 18:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:25:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:25:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:25:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:25:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:25:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:25:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:25:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:25:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:25:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:25:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:25:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:25:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:25:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:25:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:25:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:25:15] Production.INFO: call_cost start [2025-03-09 18:25:15] Production.INFO: call_cost end [2025-03-09 18:25:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:25:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:25:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:25:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:25:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:25:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:25:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:25:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:25:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:25:16] Production.INFO: ==14027== Releasing lock... [2025-03-09 18:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:25:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:25:17] Production.INFO: count ==1337 [2025-03-09 18:25:18] Production.ERROR: pbx CDR StartTime 2025-03-09 15:25:05 - End Time 2025-03-09 18:25:05 [2025-03-09 18:25:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644005', 'tblTempUsageDetail_20' ) start [2025-03-09 18:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644005', 'tblTempUsageDetail_20' ) end [2025-03-09 18:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644005', 'tblTempVendorCDR_20' ) start [2025-03-09 18:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644005', 'tblTempVendorCDR_20' ) end [2025-03-09 18:25:18] Production.INFO: ProcessCDR(1,14644005,1,1,2) [2025-03-09 18:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:25:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:25:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644005', 'tblTempUsageDetail_20' ) start [2025-03-09 18:25:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644005', 'tblTempUsageDetail_20' ) end [2025-03-09 18:25:34] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:25:34] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:25:37] Production.INFO: ==14035== Releasing lock... [2025-03-09 18:25:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:25:37] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 22:26:01] Production.INFO: ==14095== Lock acquired, processing the job... [2025-03-09 22:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:26:01] Production.INFO: neon service started [2025-03-09 22:26:01] Production.INFO: neon service started [2025-03-09 22:26:01] Production.INFO: ==14095== Releasing lock... [2025-03-09 22:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:26:02] Production.INFO: ==14097== Lock acquired, processing the job... [2025-03-09 18:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:26:02] Production.INFO: ==14099== Lock acquired, processing the job... [2025-03-09 22:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:26:02] Production.INFO: ==14099== Releasing lock... [2025-03-09 22:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:26:02] Production.INFO: ==14097== Releasing lock... [2025-03-09 18:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:26:03] Production.INFO: ==14104== Lock acquired, processing the job... [2025-03-09 18:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:26:03] Production.INFO: ==14102== Lock acquired, processing the job... [2025-03-09 18:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:26:03] Production.INFO: ==14106== Lock acquired, processing the job... [2025-03-09 18:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:26:03] Production.INFO: ==14108== Lock acquired, processing the job... [2025-03-09 18:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:26:03] Production.INFO: ==14110== Lock acquired, processing the job... [2025-03-09 18:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:26:03] Production.INFO: ==14112== Lock acquired, processing the job... [2025-03-09 18:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:26:06] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:26:06] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:26:06] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:26:06] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:26:06] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:26:06] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 18:26:06] Production.INFO: count ==13 [2025-03-09 18:26:07] Production.INFO: Account Balance Start. [2025-03-09 18:26:07] Production.INFO: CreateAllLog Start [2025-03-09 18:26:07] Production.INFO: 117 [2025-03-09 18:26:07] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 18:26:07] Production.INFO: count ==21 [2025-03-09 18:26:11] Production.ERROR: PBX CALL prc_importPBXExtension('14644007') start [2025-03-09 18:26:12] Production.INFO: Date 2025-03-08 [2025-03-09 18:26:12] Production.INFO: Reseller ==> 0 [2025-03-09 18:26:12] Production.INFO: Date 2025-03-09 [2025-03-09 18:26:12] Production.INFO: Reseller ==> 0 [2025-03-09 18:26:12] Production.INFO: Total Charge 0 [2025-03-09 18:26:14] Production.INFO: CreateAllLog End [2025-03-09 18:26:15] Production.ERROR: done [2025-03-09 18:26:15] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:26:15] Production.ERROR: PBX CALL prc_importPBXExtension('14644007') end [2025-03-09 18:26:15] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:26:15] Production.INFO: 1 [2025-03-09 18:26:15] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:26:16] Production.ERROR: done [2025-03-09 18:26:16] Production.INFO: ==14112== Releasing lock... [2025-03-09 18:26:16] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:26:16] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:26:16] Production.INFO: ==14104== Releasing lock... [2025-03-09 18:26:16] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:26:16] Production.INFO: Account Balance End. [2025-03-09 18:26:16] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:26:16] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:26:16 [end_date_ymd] => 2025-03-09 18:26:16 [RateCDR] => 1 ) [2025-03-09 18:26:16] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 15:26:16' and `end` < '2025-03-09 18:26:16' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 18:26:20] Production.ERROR: CronJobId end 12 [2025-03-09 18:26:20] Production.INFO: ==14108== Releasing lock... [2025-03-09 18:26:20] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:26:20] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:26:28] Production.INFO: count ==1336 [2025-03-09 18:26:36] Production.ERROR: pbx CDR StartTime 2025-03-09 15:26:16 - End Time 2025-03-09 18:26:16 [2025-03-09 18:26:36] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:26:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644010', 'tblTempUsageDetail_20' ) start [2025-03-09 18:26:43] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644010', 'tblTempUsageDetail_20' ) end [2025-03-09 18:26:43] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644010', 'tblTempVendorCDR_20' ) start [2025-03-09 18:26:46] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644010', 'tblTempVendorCDR_20' ) end [2025-03-09 18:26:46] Production.INFO: ProcessCDR(1,14644010,1,1,2) [2025-03-09 18:26:46] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:26:52] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:26:52] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 22:27:01] Production.INFO: ==14205== Lock acquired, processing the job... [2025-03-09 22:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:27:01] Production.INFO: neon service started [2025-03-09 22:27:01] Production.INFO: neon service started [2025-03-09 22:27:01] Production.INFO: ==14205== Releasing lock... [2025-03-09 22:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 22:27:02] Production.INFO: ==14210== Lock acquired, processing the job... [2025-03-09 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:27:02] Production.INFO: ==14208== Lock acquired, processing the job... [2025-03-09 18:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:27:16] Production.INFO: ==14210== Releasing lock... [2025-03-09 22:27:16] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:27:16] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:27:16] Production.INFO: ==14208== Releasing lock... [2025-03-09 18:27:16] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:27:16] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:27:17] Production.INFO: ==14225== Lock acquired, processing the job... [2025-03-09 18:27:17] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:27:17] Production.INFO: ==14229== Lock acquired, processing the job... [2025-03-09 18:27:17] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:27:17] Production.INFO: ==14227== Lock acquired, processing the job... [2025-03-09 18:27:17] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:27:21] Production.INFO: Account Balance Start. [2025-03-09 18:27:22] Production.INFO: CreateAllLog Start [2025-03-09 18:27:22] Production.INFO: 117 [2025-03-09 18:27:22] Production.INFO: Date 2025-03-08 [2025-03-09 18:27:22] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 18:27:22] Production.INFO: count ==13 [2025-03-09 18:27:22] Production.INFO: Date 2025-03-09 [2025-03-09 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-09 18:27:23] Production.INFO: count ==21 [2025-03-09 18:27:24] Production.INFO: Reseller ==> 0 [2025-03-09 18:27:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644010', 'tblTempUsageDetail_20' ) start [2025-03-09 18:27:24] Production.INFO: Total Charge 0 [2025-03-09 18:27:26] Production.ERROR: PBX CALL prc_importPBXExtension('14644011') start [2025-03-09 18:27:26] Production.INFO: CreateAllLog End [2025-03-09 18:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644010', 'tblTempUsageDetail_20' ) end [2025-03-09 18:27:26] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:27:26] Production.ERROR: PBX CALL prc_importPBXExtension('14644011') end [2025-03-09 18:27:26] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:27:26] Production.INFO: 1 [2025-03-09 18:27:26] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:27:26] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:27:27] Production.INFO: ==14110== Releasing lock... [2025-03-09 18:27:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:27:27] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 18:27:27] Production.INFO: ==14229== Releasing lock... [2025-03-09 18:27:27] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:27:27] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:27:27] Production.INFO: Account Balance End. [2025-03-09 18:27:27] Production.INFO: ==14225== Releasing lock... [2025-03-09 18:27:27] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:27:27] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:27:27] Production.ERROR: CronJobId end 12 [2025-03-09 18:27:27] Production.INFO: ==14227== Releasing lock... [2025-03-09 18:27:27] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:27:27] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 22:28:02] Production.INFO: ==14276== Lock acquired, processing the job... [2025-03-09 22:28:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:28:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:28:02] Production.INFO: neon service started [2025-03-09 22:28:02] Production.INFO: neon service started [2025-03-09 22:28:02] Production.INFO: ==14276== Releasing lock... [2025-03-09 22:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:28:03] Production.INFO: ==14278== Lock acquired, processing the job... [2025-03-09 18:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:28:04] Production.INFO: ==14280== Lock acquired, processing the job... [2025-03-09 22:28:04] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:28:04] Production.INFO: ==14280== Releasing lock... [2025-03-09 22:28:04] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:28:04] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:28:04] Production.INFO: ==14278== Releasing lock... [2025-03-09 18:28:04] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:28:04] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:28:05] Production.INFO: ==14286== Lock acquired, processing the job... [2025-03-09 18:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:28:05] Production.INFO: Account Balance Start. [2025-03-09 18:28:05] Production.INFO: CreateAllLog Start [2025-03-09 18:28:05] Production.INFO: 117 [2025-03-09 18:28:05] Production.INFO: Date 2025-03-08 [2025-03-09 18:28:05] Production.INFO: ==14288== Lock acquired, processing the job... [2025-03-09 18:28:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:28:05] Production.INFO: Reseller ==> 0 [2025-03-09 18:28:05] Production.INFO: Date 2025-03-09 [2025-03-09 18:28:05] Production.INFO: Reseller ==> 0 [2025-03-09 18:28:05] Production.INFO: Total Charge 0 [2025-03-09 18:28:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:28:05] Production.INFO: ==14284== Lock acquired, processing the job... [2025-03-09 18:28:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:28:05] Production.INFO: CreateAllLog End [2025-03-09 18:28:05] Production.INFO: ==14290== Lock acquired, processing the job... [2025-03-09 18:28:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:28:06] Production.INFO: Account Balance End. [2025-03-09 18:28:06] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 18:28:06] Production.INFO: count ==13 [2025-03-09 18:28:08] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 18:28:08] Production.INFO: count ==21 [2025-03-09 18:28:12] Production.ERROR: PBX CALL prc_importPBXExtension('14644015') start [2025-03-09 18:28:13] Production.ERROR: CronJobId end 12 [2025-03-09 18:28:13] Production.INFO: ==14286== Releasing lock... [2025-03-09 18:28:13] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:28:13] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:28:16] Production.ERROR: done [2025-03-09 18:28:16] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:28:19] Production.ERROR: PBX CALL prc_importPBXExtension('14644015') end [2025-03-09 18:28:19] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:28:19] Production.INFO: 1 [2025-03-09 18:28:19] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:28:22] Production.ERROR: done [2025-03-09 18:28:22] Production.INFO: ==14290== Releasing lock... [2025-03-09 18:28:22] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:28:22] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:28:23] Production.INFO: ==14284== Releasing lock... [2025-03-09 18:28:23] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:28:23] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:28:23] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:28:23] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:28:23] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:28:23] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:28:23] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:28:23] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:28:23] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:28:23] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:28:23] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:28:23] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:28:23] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:28:23] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:28:23] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:28:23] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:28:24] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:28:24 [end_date_ymd] => 2025-03-09 18:28:24 [RateCDR] => 1 ) [2025-03-09 18:28:24] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 15:28:24' and `end` < '2025-03-09 18:28:24' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 18:28:25] Production.INFO: call_cost start [2025-03-09 18:28:25] Production.INFO: call_cost end [2025-03-09 18:28:27] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:28:27] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:28:27] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:28:27] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:28:27] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:28:27] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:28:27] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:28:27] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:28:27] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:28:29] Production.INFO: ==14102== Releasing lock... [2025-03-09 18:28:29] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:28:29] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:28:36] Production.INFO: count ==1335 [2025-03-09 18:28:42] Production.ERROR: pbx CDR StartTime 2025-03-09 15:28:24 - End Time 2025-03-09 18:28:24 [2025-03-09 18:28:42] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:28:42] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644017', 'tblTempUsageDetail_20' ) start [2025-03-09 18:28:42] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644017', 'tblTempUsageDetail_20' ) end [2025-03-09 18:28:42] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644017', 'tblTempVendorCDR_20' ) start [2025-03-09 18:28:42] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644017', 'tblTempVendorCDR_20' ) end [2025-03-09 18:28:42] Production.INFO: ProcessCDR(1,14644017,1,1,2) [2025-03-09 18:28:42] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:28:45] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:28:45] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:29:00] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:29:00] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644017', 'tblTempUsageDetail_20' ) start [2025-03-09 18:29:00] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644017', 'tblTempUsageDetail_20' ) end [2025-03-09 18:29:00] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:29:00] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:29:00] Production.INFO: ==14288== Releasing lock... [2025-03-09 18:29:00] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:29:00] Production.INFO: 38 MB #Memory Used# [2025-03-09 22:29:01] Production.INFO: ==14343== Lock acquired, processing the job... [2025-03-09 22:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:29:01] Production.INFO: neon service started [2025-03-09 22:29:01] Production.INFO: neon service started [2025-03-09 22:29:01] Production.INFO: ==14343== Releasing lock... [2025-03-09 22:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:29:02] Production.INFO: ==14345== Lock acquired, processing the job... [2025-03-09 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:29:02] Production.INFO: ==14345== Releasing lock... [2025-03-09 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:29:02] Production.INFO: ==14347== Lock acquired, processing the job... [2025-03-09 22:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:29:02] Production.INFO: ==14347== Releasing lock... [2025-03-09 22:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:29:03] Production.INFO: ==14357== Lock acquired, processing the job... [2025-03-09 18:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:29:03] Production.INFO: ==14349== Lock acquired, processing the job... [2025-03-09 18:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:29:03] Production.INFO: ==14351== Lock acquired, processing the job... [2025-03-09 18:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:29:03] Production.INFO: ==14353== Lock acquired, processing the job... [2025-03-09 18:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:29:03] Production.INFO: ==14355== Lock acquired, processing the job... [2025-03-09 18:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:29:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:29:08] Production.ERROR: CronJobId end10 [2025-03-09 18:29:08] Production.INFO: ==14106== Releasing lock... [2025-03-09 18:29:08] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:29:08] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:29:09] Production.INFO: Account Balance Start. [2025-03-09 18:29:09] Production.INFO: CreateAllLog Start [2025-03-09 18:29:09] Production.INFO: 117 [2025-03-09 18:29:09] Production.INFO: Date 2025-03-08 [2025-03-09 18:29:09] Production.INFO: Reseller ==> 0 [2025-03-09 18:29:09] Production.INFO: Date 2025-03-09 [2025-03-09 18:29:09] Production.INFO: Reseller ==> 0 [2025-03-09 18:29:11] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:29:11] Production.INFO: Total Charge 0 [2025-03-09 18:29:11] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 18:29:11] Production.INFO: count ==13 [2025-03-09 18:29:12] Production.INFO: CreateAllLog End [2025-03-09 18:29:12] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 18:29:12] Production.INFO: count ==21 [2025-03-09 18:29:14] Production.ERROR: PBX CALL prc_importPBXExtension('14644019') start [2025-03-09 18:29:17] Production.ERROR: PBX CALL prc_importPBXExtension('14644019') end [2025-03-09 18:29:17] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:29:17] Production.INFO: 1 [2025-03-09 18:29:17] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:29:19] Production.INFO: Account Balance End. [2025-03-09 18:29:19] Production.INFO: ==14357== Releasing lock... [2025-03-09 18:29:19] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:29:19] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:29:19] Production.ERROR: done [2025-03-09 18:29:19] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:29:19] Production.ERROR: CronJobId end 12 [2025-03-09 18:29:19] Production.INFO: ==14353== Releasing lock... [2025-03-09 18:29:19] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:29:19] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:29:19] Production.INFO: ==14351== Releasing lock... [2025-03-09 18:29:19] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:29:19] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:29:19] Production.ERROR: done [2025-03-09 18:29:20] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:29:20 [end_date_ymd] => 2025-03-09 18:29:20 [RateCDR] => 1 ) [2025-03-09 18:29:20] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 15:29:20' and `end` < '2025-03-09 18:29:20' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 18:29:32] Production.INFO: count ==1320 [2025-03-09 18:29:38] Production.ERROR: pbx CDR StartTime 2025-03-09 15:29:20 - End Time 2025-03-09 18:29:20 [2025-03-09 18:29:38] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:29:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644022', 'tblTempUsageDetail_20' ) start [2025-03-09 18:29:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644022', 'tblTempUsageDetail_20' ) end [2025-03-09 18:29:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644022', 'tblTempVendorCDR_20' ) start [2025-03-09 18:29:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644022', 'tblTempVendorCDR_20' ) end [2025-03-09 18:29:38] Production.INFO: ProcessCDR(1,14644022,1,1,2) [2025-03-09 18:29:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:29:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:29:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:29:56] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:29:56] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644022', 'tblTempUsageDetail_20' ) start [2025-03-09 18:29:56] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644022', 'tblTempUsageDetail_20' ) end [2025-03-09 18:29:56] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:29:56] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:29:56] Production.INFO: ==14355== Releasing lock... [2025-03-09 18:29:56] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:29:56] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 22:30:02] Production.INFO: ==14410== Lock acquired, processing the job... [2025-03-09 22:30:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:30:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:30:02] Production.INFO: neon service started [2025-03-09 22:30:02] Production.INFO: neon service started [2025-03-09 22:30:02] Production.INFO: ==14410== Releasing lock... [2025-03-09 22:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:30:02] Production.INFO: ==14412== Lock acquired, processing the job... [2025-03-09 18:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:30:03] Production.INFO: ==14414== Lock acquired, processing the job... [2025-03-09 22:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:30:03] Production.INFO: ==14414== Releasing lock... [2025-03-09 22:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:30:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:30:03] Production.INFO: ==14412== Releasing lock... [2025-03-09 18:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:30:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:30:04] Production.INFO: ==14419== Lock acquired, processing the job... [2025-03-09 18:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:30:04] Production.INFO: ==14417== Lock acquired, processing the job... [2025-03-09 18:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 18:30:04] Production.INFO: ==14423== Lock acquired, processing the job... [2025-03-09 18:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:30:04] Production.INFO: ==14427== Lock acquired, processing the job... [2025-03-09 18:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 18:30:04] Production.INFO: ==14421== Lock acquired, processing the job... [2025-03-09 18:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:30:04] Production.INFO: ==14425== Lock acquired, processing the job... [2025-03-09 18:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:30:04] Production.INFO: ==14429== Lock acquired, processing the job... [2025-03-09 18:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:30:07] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:30:07] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:30:10] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 18:30:10] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:30:10] Production.ERROR: CronJob PID - 14349 [2025-03-09 18:30:10] Production.ERROR: CronJob Title - System Alerts [2025-03-09 18:30:10] Production.ERROR: CronJob ID - 5 [2025-03-09 18:30:10] Production.ERROR: CronJob Last Run Time 2025-03-09 18:29:00 [2025-03-09 18:30:10] Production.ERROR: CronJob Active Minutes 1 [2025-03-09 18:30:10] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:30:10] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:30:10] Production.ERROR: CronJob PID - 14419 [2025-03-09 18:30:10] Production.ERROR: CronJob Title - Account Block [2025-03-09 18:30:10] Production.ERROR: CronJob ID - 7 [2025-03-09 18:30:10] Production.ERROR: CronJob Last Run Time 2025-03-09 18:30:00 [2025-03-09 18:30:10] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:30:10] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:30:10] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:30:10] Production.ERROR: CronJob PID - 14421 [2025-03-09 18:30:10] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 18:30:10] Production.ERROR: CronJob ID - 10 [2025-03-09 18:30:10] Production.ERROR: CronJob Last Run Time 2025-03-09 18:30:00 [2025-03-09 18:30:10] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:30:10] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:30:10] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:30:10] Production.ERROR: CronJob PID - 14423 [2025-03-09 18:30:10] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-09 18:30:10] Production.ERROR: CronJob ID - 12 [2025-03-09 18:30:10] Production.ERROR: CronJob Last Run Time 2025-03-09 18:30:00 [2025-03-09 18:30:10] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:30:10] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:30:10] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:30:10] Production.ERROR: CronJob PID - 14425 [2025-03-09 18:30:10] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 18:30:10] Production.ERROR: CronJob ID - 16 [2025-03-09 18:30:10] Production.ERROR: CronJob Last Run Time 2025-03-09 18:30:00 [2025-03-09 18:30:10] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:30:10] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:30:10] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:30:10] Production.ERROR: CronJob PID - 14427 [2025-03-09 18:30:10] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-09 18:30:10] Production.ERROR: CronJob ID - 17 [2025-03-09 18:30:10] Production.ERROR: CronJob Last Run Time 2025-03-09 18:30:00 [2025-03-09 18:30:10] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:30:10] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:30:10] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:30:10] Production.ERROR: CronJob PID - 14429 [2025-03-09 18:30:10] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-09 18:30:10] Production.ERROR: CronJob ID - 19 [2025-03-09 18:30:10] Production.ERROR: CronJob Last Run Time 2025-03-09 18:30:00 [2025-03-09 18:30:10] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:30:10] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:30:10] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:30:10] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:30:10] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:30:10] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:30:11] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 18:30:11] Production.INFO: count ==13 [2025-03-09 18:30:12] Production.INFO: Account Balance Start. [2025-03-09 18:30:12] Production.INFO: CreateAllLog Start [2025-03-09 18:30:12] Production.INFO: 117 [2025-03-09 18:30:12] Production.INFO: Date 2025-03-08 [2025-03-09 18:30:12] Production.INFO: Reseller ==> 0 [2025-03-09 18:30:12] Production.INFO: Date 2025-03-09 [2025-03-09 18:30:12] Production.INFO: Reseller ==> 0 [2025-03-09 18:30:12] Production.INFO: Total Charge 0 [2025-03-09 18:30:13] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 18:30:13] Production.INFO: count ==21 [2025-03-09 18:30:14] Production.INFO: CreateAllLog End [2025-03-09 18:30:16] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 18:30:16] Production.ERROR: PBX CALL prc_importPBXExtension('14644024') start [2025-03-09 18:30:16] Production.INFO: ==14417== Releasing lock... [2025-03-09 18:30:16] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 18:30:16] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 18:30:17] Production.ERROR: PBX CALL prc_importPBXExtension('14644024') end [2025-03-09 18:30:17] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:30:17] Production.INFO: 1 [2025-03-09 18:30:17] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:30:18] Production.ERROR: done [2025-03-09 18:30:18] Production.INFO: ==14429== Releasing lock... [2025-03-09 18:30:18] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:30:18] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:30:18] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:30:21] Production.ERROR: done [2025-03-09 18:30:29] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 18:30:29] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644026', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 18:30:41] Production.ERROR: done [2025-03-09 18:30:42] Production.INFO: ==14419== Releasing lock... [2025-03-09 18:30:42] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:30:42] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:30:43] Production.INFO: Account Balance End. [2025-03-09 18:30:45] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:30:45 [end_date_ymd] => 2025-03-09 18:30:45 [RateCDR] => 1 ) [2025-03-09 18:30:45] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 15:30:45' and `end` < '2025-03-09 18:30:45' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 18:30:47] Production.ERROR: CronJobId end 12 [2025-03-09 18:30:47] Production.INFO: ==14423== Releasing lock... [2025-03-09 18:30:47] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:30:47] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:30:47] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644026', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 18:30:47] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 18:30:47] Production.INFO: ProcessCDR(1,14644026,1,1,2) [2025-03-09 18:30:47] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14644026,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:30:47] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14644026,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:30:47] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:30:47] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:30:47] Production.INFO: ==14427== Releasing lock... [2025-03-09 18:30:47] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 18:30:47] Production.INFO: 26 MB #Memory Used# [2025-03-09 18:30:47] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:30:47] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:30:47] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:30:47] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:30:47] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:30:47] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:30:47] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:30:47] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:30:47] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:30:47] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:30:47] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:30:47] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:30:47] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:30:47] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:30:55] Production.INFO: call_cost start [2025-03-09 18:30:55] Production.INFO: call_cost end [2025-03-09 18:30:58] Production.INFO: count ==1299 [2025-03-09 18:31:01] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:31:01] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:31:01] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:31:01] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:31:01] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:31:01] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:31:01] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:31:01] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:31:01] Production.INFO: ============== Deal alert END=========== [2025-03-09 22:31:02] Production.INFO: ==14479== Lock acquired, processing the job... [2025-03-09 22:31:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:31:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:31:02] Production.INFO: neon service started [2025-03-09 22:31:02] Production.INFO: neon service started [2025-03-09 22:31:02] Production.INFO: ==14479== Releasing lock... [2025-03-09 22:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:31:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:31:03] Production.INFO: ==14482== Lock acquired, processing the job... [2025-03-09 18:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:31:03] Production.INFO: ==14484== Lock acquired, processing the job... [2025-03-09 22:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:31:03] Production.INFO: ==14484== Releasing lock... [2025-03-09 22:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:31:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:31:03] Production.INFO: ==14482== Releasing lock... [2025-03-09 18:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:31:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:31:04] Production.INFO: ==14491== Lock acquired, processing the job... [2025-03-09 18:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:31:04] Production.INFO: ==14489== Lock acquired, processing the job... [2025-03-09 18:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:31:04] Production.INFO: ==14487== Lock acquired, processing the job... [2025-03-09 18:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:31:13] Production.INFO: ==14349== Releasing lock... [2025-03-09 18:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:31:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:31:17] Production.INFO: Account Balance Start. [2025-03-09 18:31:17] Production.INFO: CreateAllLog Start [2025-03-09 18:31:17] Production.INFO: 117 [2025-03-09 18:31:18] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 18:31:18] Production.INFO: count ==13 [2025-03-09 18:31:20] Production.INFO: Date 2025-03-08 [2025-03-09 18:31:20] Production.INFO: Reseller ==> 0 [2025-03-09 18:31:20] Production.INFO: Date 2025-03-09 [2025-03-09 18:31:20] Production.INFO: Reseller ==> 0 [2025-03-09 18:31:20] Production.INFO: Total Charge 0 [2025-03-09 18:31:23] Production.INFO: CreateAllLog End [2025-03-09 18:31: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-09 18:31:23] Production.INFO: count ==21 [2025-03-09 18:31:24] Production.ERROR: PBX CALL prc_importPBXExtension('14644028') start [2025-03-09 18:31:24] Production.INFO: Account Balance End. [2025-03-09 18:31:24] Production.ERROR: PBX CALL prc_importPBXExtension('14644028') end [2025-03-09 18:31:24] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:31:24] Production.INFO: 1 [2025-03-09 18:31:24] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:31:24] Production.ERROR: CronJobId end 12 [2025-03-09 18:31:24] Production.INFO: ==14489== Releasing lock... [2025-03-09 18:31:24] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:31:24] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:31:24] Production.ERROR: pbx CDR StartTime 2025-03-09 15:30:45 - End Time 2025-03-09 18:30:45 [2025-03-09 18:31:24] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:31:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644027', 'tblTempUsageDetail_20' ) start [2025-03-09 18:31:24] Production.INFO: ==14491== Releasing lock... [2025-03-09 18:31:24] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:31:24] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:31:25] Production.INFO: ==14487== Releasing lock... [2025-03-09 18:31:25] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:31:25] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:31:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644027', 'tblTempUsageDetail_20' ) end [2025-03-09 18:31:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644027', 'tblTempVendorCDR_20' ) start [2025-03-09 18:31:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644027', 'tblTempVendorCDR_20' ) end [2025-03-09 18:31:25] Production.INFO: ProcessCDR(1,14644027,1,1,2) [2025-03-09 18:31:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:31:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:31:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 22:32:01] Production.INFO: ==14547== Lock acquired, processing the job... [2025-03-09 22:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:32:02] Production.INFO: neon service started [2025-03-09 22:32:02] Production.INFO: neon service started [2025-03-09 22:32:02] Production.INFO: ==14547== Releasing lock... [2025-03-09 22:32:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:32:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 22:32:09] Production.INFO: ==14551== Lock acquired, processing the job... [2025-03-09 22:32:09] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:32:09] Production.INFO: ==14549== Lock acquired, processing the job... [2025-03-09 18:32:09] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:32:19] Production.INFO: ==14551== Releasing lock... [2025-03-09 22:32:19] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:32:19] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:32:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:32:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644027', 'tblTempUsageDetail_20' ) start [2025-03-09 18:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644027', 'tblTempUsageDetail_20' ) end [2025-03-09 18:32:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:32:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:32:20] Production.INFO: ==14549== Releasing lock... [2025-03-09 18:32:20] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:32:20] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:32:20] Production.INFO: ==14425== Releasing lock... [2025-03-09 18:32:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:32:20] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 18:32:20] Production.INFO: ==14568== Lock acquired, processing the job... [2025-03-09 18:32:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:32:20] Production.INFO: ==14570== Lock acquired, processing the job... [2025-03-09 18:32:20] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:32:20] Production.INFO: ==14574== Lock acquired, processing the job... [2025-03-09 18:32:20] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:32:20] Production.INFO: ==14572== Lock acquired, processing the job... [2025-03-09 18:32:20] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:32:38] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:32:40] Production.INFO: Account Balance Start. [2025-03-09 18:32:40] Production.INFO: CreateAllLog Start [2025-03-09 18:32:40] Production.INFO: 117 [2025-03-09 18:32:40] Production.INFO: Date 2025-03-08 [2025-03-09 18:32:40] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 18:32:40] Production.INFO: Reseller ==> 0 [2025-03-09 18:32:40] Production.INFO: count ==13 [2025-03-09 18:32:44] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 18:32:44] Production.INFO: count ==21 [2025-03-09 18:32:45] Production.INFO: Date 2025-03-09 [2025-03-09 18:32:45] Production.INFO: Reseller ==> 0 [2025-03-09 18:32:45] Production.INFO: Total Charge 0 [2025-03-09 18:32:49] Production.ERROR: PBX CALL prc_importPBXExtension('14644032') start [2025-03-09 18:32:49] Production.INFO: CreateAllLog End [2025-03-09 18:32:52] Production.ERROR: PBX CALL prc_importPBXExtension('14644032') end [2025-03-09 18:32:52] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:32:52] Production.INFO: 1 [2025-03-09 18:32:52] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:32:56] Production.INFO: Account Balance End. [2025-03-09 18:32:56] Production.INFO: ==14574== Releasing lock... [2025-03-09 18:32:56] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:32:56] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:32:56] Production.ERROR: CronJobId end 12 [2025-03-09 18:32:56] Production.INFO: ==14572== Releasing lock... [2025-03-09 18:32:56] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:32:56] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:32:56] Production.INFO: ==14570== Releasing lock... [2025-03-09 18:32:56] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:32:56] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 22:33:01] Production.INFO: ==14612== Lock acquired, processing the job... [2025-03-09 22:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:33:01] Production.INFO: neon service started [2025-03-09 22:33:01] Production.INFO: neon service started [2025-03-09 22:33:01] Production.INFO: ==14612== Releasing lock... [2025-03-09 22:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 22:33:02] Production.INFO: ==14616== Lock acquired, processing the job... [2025-03-09 22:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:33:02] Production.INFO: ==14614== Lock acquired, processing the job... [2025-03-09 18:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:33:02] Production.INFO: ==14616== Releasing lock... [2025-03-09 22:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:33:02] Production.INFO: ==14614== Releasing lock... [2025-03-09 18:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:33:04] Production.INFO: ==14619== Lock acquired, processing the job... [2025-03-09 18:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:33:04] Production.INFO: ==14621== Lock acquired, processing the job... [2025-03-09 18:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:33:04] Production.INFO: ==14625== Lock acquired, processing the job... [2025-03-09 18:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:33:04] Production.INFO: ==14623== Lock acquired, processing the job... [2025-03-09 18:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:33:06] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:33:11] Production.INFO: Account Balance Start. [2025-03-09 18:33:11] Production.INFO: CreateAllLog Start [2025-03-09 18:33:11] Production.INFO: 117 [2025-03-09 18:33:11] Production.INFO: Date 2025-03-08 [2025-03-09 18:33:11] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 18:33:11] Production.INFO: Reseller ==> 0 [2025-03-09 18:33:11] Production.INFO: count ==13 [2025-03-09 18:33:13] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 18:33:13] Production.INFO: count ==21 [2025-03-09 18:33:19] Production.ERROR: PBX CALL prc_importPBXExtension('14644035') start [2025-03-09 18:33:25] Production.INFO: Date 2025-03-09 [2025-03-09 18:33:34] Production.INFO: Reseller ==> 0 [2025-03-09 18:33:34] Production.INFO: Total Charge 0 [2025-03-09 18:33:36] Production.INFO: CreateAllLog End [2025-03-09 18:33:36] Production.ERROR: PBX CALL prc_importPBXExtension('14644035') end [2025-03-09 18:33:36] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:33:36] Production.INFO: 1 [2025-03-09 18:33:36] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:33:36] Production.ERROR: done [2025-03-09 18:33:36] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:33:36] Production.INFO: Account Balance End. [2025-03-09 18:33:36] Production.INFO: ==14625== Releasing lock... [2025-03-09 18:33:36] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:33:36] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:33:36] Production.INFO: ==14619== Releasing lock... [2025-03-09 18:33:36] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:33:36] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:33:36] Production.ERROR: CronJobId end 12 [2025-03-09 18:33:36] Production.INFO: ==14621== Releasing lock... [2025-03-09 18:33:36] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:33:36] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:33:36] Production.ERROR: done [2025-03-09 18:33:37] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:33:37 [end_date_ymd] => 2025-03-09 18:33:37 [RateCDR] => 1 ) [2025-03-09 18:33:37] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 15:33:37' and `end` < '2025-03-09 18:33:37' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 18:33:49] Production.INFO: count ==1289 [2025-03-09 22:34:01] Production.INFO: ==14676== Lock acquired, processing the job... [2025-03-09 22:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:34:01] Production.INFO: neon service started [2025-03-09 22:34:01] Production.INFO: neon service started [2025-03-09 22:34:01] Production.INFO: ==14676== Releasing lock... [2025-03-09 22:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 22:34:02] Production.INFO: ==14680== Lock acquired, processing the job... [2025-03-09 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:34:02] Production.INFO: ==14680== Releasing lock... [2025-03-09 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:34:02] Production.INFO: ==14678== Lock acquired, processing the job... [2025-03-09 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:34:02] Production.INFO: ==14678== Releasing lock... [2025-03-09 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:34:03] Production.INFO: ==14683== Lock acquired, processing the job... [2025-03-09 18:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:34:03] Production.INFO: ==14687== Lock acquired, processing the job... [2025-03-09 18:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:34:03] Production.INFO: ==14685== Lock acquired, processing the job... [2025-03-09 18:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:34:15] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 18:34:15] Production.INFO: count ==13 [2025-03-09 18:34:16] Production.INFO: Account Balance Start. [2025-03-09 18:34:16] Production.INFO: CreateAllLog Start [2025-03-09 18:34:16] Production.INFO: 117 [2025-03-09 18:34:16] Production.ERROR: pbx CDR StartTime 2025-03-09 15:33:37 - End Time 2025-03-09 18:33:37 [2025-03-09 18:34:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:34:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644038', 'tblTempUsageDetail_20' ) start [2025-03-09 18:34:16] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 18:34:16] Production.INFO: Date 2025-03-08 [2025-03-09 18:34:16] Production.INFO: count ==21 [2025-03-09 18:34:16] Production.INFO: Reseller ==> 0 [2025-03-09 18:34:16] Production.ERROR: PBX CALL prc_importPBXExtension('14644039') start [2025-03-09 18:34:16] Production.INFO: Date 2025-03-09 [2025-03-09 18:34:16] Production.INFO: Reseller ==> 0 [2025-03-09 18:34:16] Production.INFO: Total Charge 0 [2025-03-09 18:34:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644038', 'tblTempUsageDetail_20' ) end [2025-03-09 18:34:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644038', 'tblTempVendorCDR_20' ) start [2025-03-09 18:34:16] Production.INFO: CreateAllLog End [2025-03-09 18:34:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644038', 'tblTempVendorCDR_20' ) end [2025-03-09 18:34:16] Production.INFO: ProcessCDR(1,14644038,1,1,2) [2025-03-09 18:34:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:34:16] Production.ERROR: PBX CALL prc_importPBXExtension('14644039') end [2025-03-09 18:34:16] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:34:16] Production.INFO: 1 [2025-03-09 18:34:16] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:34:16] Production.INFO: ==14683== Releasing lock... [2025-03-09 18:34:16] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:34:16] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:34:16] Production.INFO: Account Balance End. [2025-03-09 18:34:17] Production.INFO: ==14687== Releasing lock... [2025-03-09 18:34:17] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:34:17] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:34:17] Production.ERROR: CronJobId end 12 [2025-03-09 18:34:17] Production.INFO: ==14685== Releasing lock... [2025-03-09 18:34:17] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:34:17] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:34:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:34:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:34:49] Production.ERROR: CronJobId end10 [2025-03-09 18:34:49] Production.INFO: ==14421== Releasing lock... [2025-03-09 18:34:49] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:34:49] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:34:55] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:34:55] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644038', 'tblTempUsageDetail_20' ) start [2025-03-09 18:34:55] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644038', 'tblTempUsageDetail_20' ) end [2025-03-09 18:34:55] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:34:55] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:34:55] Production.INFO: ==14623== Releasing lock... [2025-03-09 18:34:55] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:34:55] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 22:35:02] Production.INFO: ==14745== Lock acquired, processing the job... [2025-03-09 22:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:35:02] Production.INFO: neon service started [2025-03-09 22:35:02] Production.INFO: neon service started [2025-03-09 22:35:02] Production.INFO: ==14745== Releasing lock... [2025-03-09 22:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:35:02] Production.INFO: ==14747== Lock acquired, processing the job... [2025-03-09 18:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:35:02] Production.INFO: ==14749== Lock acquired, processing the job... [2025-03-09 22:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:35:02] Production.INFO: ==14749== Releasing lock... [2025-03-09 22:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:35:02] Production.INFO: ==14747== Releasing lock... [2025-03-09 18:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:35:03] Production.INFO: ==14760== Lock acquired, processing the job... [2025-03-09 18:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:35:03] Production.INFO: ==14758== Lock acquired, processing the job... [2025-03-09 18:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:35:03] Production.INFO: ==14756== Lock acquired, processing the job... [2025-03-09 18:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:35:03] Production.INFO: ==14752== Lock acquired, processing the job... [2025-03-09 18:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:35:03] Production.INFO: ==14754== Lock acquired, processing the job... [2025-03-09 18:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:35:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:35:06] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:35:06] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:35:06] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:35:07] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:35:07] Production.INFO: Account Balance Start. [2025-03-09 18:35:07] Production.INFO: CreateAllLog Start [2025-03-09 18:35:07] Production.INFO: 117 [2025-03-09 18:35:08] Production.INFO: Date 2025-03-08 [2025-03-09 18:35: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-09 18:35:08] Production.INFO: Reseller ==> 0 [2025-03-09 18:35:08] Production.INFO: count ==13 [2025-03-09 18:35:08] Production.INFO: Date 2025-03-09 [2025-03-09 18:35:08] Production.INFO: Reseller ==> 0 [2025-03-09 18:35:08] Production.INFO: Total Charge 0 [2025-03-09 18:35: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-09 18:35:10] Production.INFO: CreateAllLog End [2025-03-09 18:35:10] Production.INFO: count ==21 [2025-03-09 18:35:11] Production.ERROR: PBX CALL prc_importPBXExtension('14644043') start [2025-03-09 18:35:16] Production.ERROR: PBX CALL prc_importPBXExtension('14644043') end [2025-03-09 18:35:16] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:35:16] Production.INFO: 1 [2025-03-09 18:35:16] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:35:20] Production.ERROR: done [2025-03-09 18:35:20] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:35:21] Production.INFO: ==14760== Releasing lock... [2025-03-09 18:35:21] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:35:21] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:35:24] Production.INFO: ==14752== Releasing lock... [2025-03-09 18:35:24] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:35:24] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:35:28] Production.INFO: Account Balance End. [2025-03-09 18:35:34] Production.ERROR: done [2025-03-09 18:35:36] Production.ERROR: CronJobId end 12 [2025-03-09 18:35:36] Production.INFO: ==14756== Releasing lock... [2025-03-09 18:35:36] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:35:36] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:35:37] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:35:37 [end_date_ymd] => 2025-03-09 18:35:37 [RateCDR] => 1 ) [2025-03-09 18:35:37] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 15:35:37' and `end` < '2025-03-09 18:35:37' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 18:35:49] Production.INFO: count ==1289 [2025-03-09 22:36:02] Production.INFO: ==14811== Lock acquired, processing the job... [2025-03-09 22:36:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:36:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:36:02] Production.INFO: neon service started [2025-03-09 22:36:02] Production.INFO: neon service started [2025-03-09 22:36:02] Production.INFO: ==14811== Releasing lock... [2025-03-09 22:36:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:36:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:36:02] Production.INFO: ==14813== Lock acquired, processing the job... [2025-03-09 18:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:36:03] Production.INFO: ==14815== Lock acquired, processing the job... [2025-03-09 22:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:36:04] Production.INFO: ==14815== Releasing lock... [2025-03-09 22:36:04] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:36:04] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:36:04] Production.INFO: ==14813== Releasing lock... [2025-03-09 18:36:04] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:36:04] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:36:05] Production.INFO: ==14819== Lock acquired, processing the job... [2025-03-09 18:36:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:36:05] Production.INFO: ==14823== Lock acquired, processing the job... [2025-03-09 18:36:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:36:05] Production.INFO: ==14821== Lock acquired, processing the job... [2025-03-09 18:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:36:06] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:36:06] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:36:06] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:36:06] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:36:06] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:36:06] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:36:06] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:36:06] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:36:06] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:36:06] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:36:06] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:36:06] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:36:06] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:36:06] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:36:14] Production.INFO: call_cost start [2025-03-09 18:36:14] Production.INFO: Account Balance Start. [2025-03-09 18:36:14] Production.INFO: CreateAllLog Start [2025-03-09 18:36:14] Production.INFO: 117 [2025-03-09 18:36:14] Production.INFO: Date 2025-03-08 [2025-03-09 18:36:14] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 18:36:14] Production.INFO: call_cost end [2025-03-09 18:36:14] Production.INFO: Reseller ==> 0 [2025-03-09 18:36:14] Production.INFO: count ==13 [2025-03-09 18:36:15] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 18:36:15] Production.INFO: count ==21 [2025-03-09 18:36:15] Production.INFO: Date 2025-03-09 [2025-03-09 18:36:15] Production.INFO: Reseller ==> 0 [2025-03-09 18:36:15] Production.ERROR: PBX CALL prc_importPBXExtension('14644046') start [2025-03-09 18:36:15] Production.INFO: Total Charge 0 [2025-03-09 18:36:15] Production.INFO: CreateAllLog End [2025-03-09 18:36:15] Production.ERROR: pbx CDR StartTime 2025-03-09 15:35:37 - End Time 2025-03-09 18:35:37 [2025-03-09 18:36:15] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:36:15] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644045', 'tblTempUsageDetail_20' ) start [2025-03-09 18:36:15] Production.ERROR: PBX CALL prc_importPBXExtension('14644046') end [2025-03-09 18:36:15] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:36:15] Production.INFO: 1 [2025-03-09 18:36:15] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:36:15] Production.INFO: ==14819== Releasing lock... [2025-03-09 18:36:15] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:36:15] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:36:15] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644045', 'tblTempUsageDetail_20' ) end [2025-03-09 18:36:15] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644045', 'tblTempVendorCDR_20' ) start [2025-03-09 18:36:15] Production.INFO: Account Balance End. [2025-03-09 18:36:15] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644045', 'tblTempVendorCDR_20' ) end [2025-03-09 18:36:15] Production.INFO: ProcessCDR(1,14644045,1,1,2) [2025-03-09 18:36:15] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:36:15] Production.INFO: ==14823== Releasing lock... [2025-03-09 18:36:15] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:36:15] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:36:15] Production.ERROR: CronJobId end 12 [2025-03-09 18:36:15] Production.INFO: ==14821== Releasing lock... [2025-03-09 18:36:15] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:36:15] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:36:20] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:36:20] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:36:20] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:36:20] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:36:20] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:36:20] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:36:20] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:36:20] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:36:20] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:36:28] Production.INFO: ==14568== Releasing lock... [2025-03-09 18:36:28] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:36:28] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:36:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:36:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:36:53] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:36:53] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644045', 'tblTempUsageDetail_20' ) start [2025-03-09 18:36:53] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644045', 'tblTempUsageDetail_20' ) end [2025-03-09 18:36:53] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:36:53] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:36:53] Production.INFO: ==14758== Releasing lock... [2025-03-09 18:36:53] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:36:53] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 18:36:54] Production.ERROR: CronJobId end10 [2025-03-09 18:36:54] Production.INFO: ==14754== Releasing lock... [2025-03-09 18:36:54] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:36:54] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 22:37:01] Production.INFO: ==14880== Lock acquired, processing the job... [2025-03-09 22:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:37:01] Production.INFO: neon service started [2025-03-09 22:37:01] Production.INFO: neon service started [2025-03-09 22:37:01] Production.INFO: ==14880== Releasing lock... [2025-03-09 22:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:37:01] Production.INFO: ==14882== Lock acquired, processing the job... [2025-03-09 18:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:37:02] Production.INFO: ==14884== Lock acquired, processing the job... [2025-03-09 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:37:02] Production.INFO: ==14884== Releasing lock... [2025-03-09 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:37:02] Production.INFO: ==14882== Releasing lock... [2025-03-09 18:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:37:03] Production.INFO: ==14889== Lock acquired, processing the job... [2025-03-09 18:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:37:03] Production.INFO: ==14897== Lock acquired, processing the job... [2025-03-09 18:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:37:03] Production.INFO: ==14889== Releasing lock... [2025-03-09 18:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:37:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:37:03] Production.INFO: ==14887== Lock acquired, processing the job... [2025-03-09 18:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 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-09 18:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:37:03] Production.INFO: count ==13 [2025-03-09 18:37:03] Production.INFO: ==14891== Lock acquired, processing the job... [2025-03-09 18:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:37:03] Production.INFO: ==14895== Lock acquired, processing the job... [2025-03-09 18:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 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-09 18:37:03] Production.INFO: count ==21 [2025-03-09 18:37:03] Production.INFO: ==14893== Lock acquired, processing the job... [2025-03-09 18:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644050') start [2025-03-09 18:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644050') end [2025-03-09 18:37:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:37:03] Production.INFO: 1 [2025-03-09 18:37:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:37:03] Production.INFO: Account Balance Start. [2025-03-09 18:37:03] Production.INFO: CreateAllLog Start [2025-03-09 18:37:03] Production.INFO: 117 [2025-03-09 18:37:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:37:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:37:03] Production.INFO: ==14897== Releasing lock... [2025-03-09 18:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:37:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:37:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:37:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:37:03] Production.INFO: Total Charge 0 [2025-03-09 18:37:03] Production.INFO: CreateAllLog End [2025-03-09 18:37:04] Production.ERROR: done [2025-03-09 18:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:37:04] Production.ERROR: done [2025-03-09 18:37:04] Production.INFO: Account Balance End. [2025-03-09 18:37:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:37:04] Production.INFO: ==14893== Releasing lock... [2025-03-09 18:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:37:05 [end_date_ymd] => 2025-03-09 18:37:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:37:05' and `end` < '2025-03-09 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-09 18:37:10] Production.ERROR: CronJobId end10 [2025-03-09 18:37:10] Production.INFO: ==14891== Releasing lock... [2025-03-09 18:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:37:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:37:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:37:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:37:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:37:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:37:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:37:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:37:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:37:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:37:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:37:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:37:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:37:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:37:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:37:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:37:14] Production.INFO: call_cost start [2025-03-09 18:37:14] Production.INFO: call_cost end [2025-03-09 18:37:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:37:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:37:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:37:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:37:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:37:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:37:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:37:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:37:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:37:14] Production.INFO: ==14887== Releasing lock... [2025-03-09 18:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:37:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:37:17] Production.INFO: count ==1288 [2025-03-09 18:37:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:37:05 - End Time 2025-03-09 18:37:05 [2025-03-09 18:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644053', 'tblTempUsageDetail_20' ) start [2025-03-09 18:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644053', 'tblTempUsageDetail_20' ) end [2025-03-09 18:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644053', 'tblTempVendorCDR_20' ) start [2025-03-09 18:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644053', 'tblTempVendorCDR_20' ) end [2025-03-09 18:37:17] Production.INFO: ProcessCDR(1,14644053,1,1,2) [2025-03-09 18:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644053', 'tblTempUsageDetail_20' ) start [2025-03-09 18:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644053', 'tblTempUsageDetail_20' ) end [2025-03-09 18:37:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:37:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:37:21] Production.INFO: ==14895== Releasing lock... [2025-03-09 18:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:37:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 22:38:02] Production.INFO: ==14954== Lock acquired, processing the job... [2025-03-09 22:38:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:38:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:38:02] Production.INFO: neon service started [2025-03-09 22:38:02] Production.INFO: neon service started [2025-03-09 22:38:02] Production.INFO: ==14954== Releasing lock... [2025-03-09 22:38:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:38:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:38:02] Production.INFO: ==14957== Lock acquired, processing the job... [2025-03-09 18:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:38:02] Production.INFO: ==14957== Releasing lock... [2025-03-09 18:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:38:02] Production.INFO: ==14959== Lock acquired, processing the job... [2025-03-09 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:38:02] Production.INFO: ==14959== Releasing lock... [2025-03-09 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:38:03] Production.INFO: ==14961== Lock acquired, processing the job... [2025-03-09 18:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:38:03] Production.INFO: ==14963== Lock acquired, processing the job... [2025-03-09 18:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:38:03] Production.INFO: ==14967== Lock acquired, processing the job... [2025-03-09 18:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:38:03] Production.INFO: ==14965== Lock acquired, processing the job... [2025-03-09 18:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:38:03] Production.INFO: ==14969== Lock acquired, processing the job... [2025-03-09 18:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:38:03] Production.INFO: ==14971== Lock acquired, processing the job... [2025-03-09 18:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:38:03] Production.INFO: Account Balance Start. [2025-03-09 18:38:03] Production.INFO: CreateAllLog Start [2025-03-09 18:38:03] Production.INFO: 117 [2025-03-09 18:38:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:38:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 18: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-09 18:38:04] Production.INFO: Total Charge 0 [2025-03-09 18:38:04] Production.INFO: CreateAllLog End [2025-03-09 18:38:04] Production.INFO: count ==13 [2025-03-09 18: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-09 18:38:04] Production.INFO: count ==21 [2025-03-09 18:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644057') start [2025-03-09 18:38:04] Production.INFO: ==14963== Releasing lock... [2025-03-09 18:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:38:04] Production.ERROR: done [2025-03-09 18:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644057') end [2025-03-09 18:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:38:04] Production.INFO: 1 [2025-03-09 18:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:38:04] Production.INFO: Account Balance End. [2025-03-09 18:38:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:38:04] Production.INFO: ==14967== Releasing lock... [2025-03-09 18:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:38:04] Production.INFO: ==14971== Releasing lock... [2025-03-09 18:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:38:04] Production.ERROR: done [2025-03-09 18:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:38:05 [end_date_ymd] => 2025-03-09 18:38:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:38:05' and `end` < '2025-03-09 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-09 18:38:12] Production.ERROR: CronJobId end10 [2025-03-09 18:38:12] Production.INFO: ==14965== Releasing lock... [2025-03-09 18:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:38:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:38:14] Production.INFO: call_cost start [2025-03-09 18:38:14] Production.INFO: call_cost end [2025-03-09 18:38:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:38:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:38:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:38:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:38:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:38:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:38:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:38:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:38:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:38:15] Production.INFO: ==14961== Releasing lock... [2025-03-09 18:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:38:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:38:17] Production.INFO: count ==1290 [2025-03-09 18:38:18] Production.ERROR: pbx CDR StartTime 2025-03-09 15:38:05 - End Time 2025-03-09 18:38:05 [2025-03-09 18:38:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644058', 'tblTempUsageDetail_20' ) start [2025-03-09 18:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644058', 'tblTempUsageDetail_20' ) end [2025-03-09 18:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644058', 'tblTempVendorCDR_20' ) start [2025-03-09 18:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644058', 'tblTempVendorCDR_20' ) end [2025-03-09 18:38:18] Production.INFO: ProcessCDR(1,14644058,1,1,2) [2025-03-09 18:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644058', 'tblTempUsageDetail_20' ) start [2025-03-09 18:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644058', 'tblTempUsageDetail_20' ) end [2025-03-09 18:38:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:38:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:38:22] Production.INFO: ==14969== Releasing lock... [2025-03-09 18:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:38:22] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 22:39:01] Production.INFO: ==15023== Lock acquired, processing the job... [2025-03-09 22:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:39:01] Production.INFO: neon service started [2025-03-09 22:39:01] Production.INFO: neon service started [2025-03-09 22:39:01] Production.INFO: ==15023== Releasing lock... [2025-03-09 22:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:39:01] Production.INFO: ==15025== Lock acquired, processing the job... [2025-03-09 18:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:39:02] Production.INFO: ==15025== Releasing lock... [2025-03-09 18:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:39:02] Production.INFO: ==15028== Lock acquired, processing the job... [2025-03-09 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:39:02] Production.INFO: ==15028== Releasing lock... [2025-03-09 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:39:03] Production.INFO: ==15036== Lock acquired, processing the job... [2025-03-09 18:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:39:03] Production.INFO: ==15040== Lock acquired, processing the job... [2025-03-09 18:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18: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-09 18:39:03] Production.INFO: Account Balance Start. [2025-03-09 18:39:03] Production.INFO: CreateAllLog Start [2025-03-09 18:39:03] Production.INFO: count ==13 [2025-03-09 18:39:03] Production.INFO: 117 [2025-03-09 18: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-09 18:39:03] Production.INFO: count ==21 [2025-03-09 18:39:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644059') start [2025-03-09 18:39:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:39:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:39:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:39:03] Production.INFO: Total Charge 0 [2025-03-09 18:39:03] Production.INFO: CreateAllLog End [2025-03-09 18:39:03] Production.INFO: ==15030== Lock acquired, processing the job... [2025-03-09 18:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644059') end [2025-03-09 18:39:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:39:03] Production.INFO: 1 [2025-03-09 18:39:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:39:03] Production.INFO: ==15040== Releasing lock... [2025-03-09 18:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:39:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:39:03] Production.INFO: ==15032== Lock acquired, processing the job... [2025-03-09 18:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:39:03] Production.INFO: ==15034== Lock acquired, processing the job... [2025-03-09 18:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:39:03] Production.INFO: Account Balance End. [2025-03-09 18:39:03] Production.INFO: ==15038== Lock acquired, processing the job... [2025-03-09 18:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:39:03] Production.ERROR: CronJobId end 12 [2025-03-09 18:39:03] Production.INFO: ==15036== Releasing lock... [2025-03-09 18:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:39:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:39:03] Production.INFO: ==15032== Releasing lock... [2025-03-09 18:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:39:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:39:04] Production.ERROR: done [2025-03-09 18:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:39:04] Production.ERROR: done [2025-03-09 18:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:39:05 [end_date_ymd] => 2025-03-09 18:39:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:39:05' and `end` < '2025-03-09 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-09 18:39:11] Production.ERROR: CronJobId end10 [2025-03-09 18:39:11] Production.INFO: ==15034== Releasing lock... [2025-03-09 18:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:39:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:39:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:39:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:39:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:39:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:39:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:39:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:39:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:39:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:39:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:39:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:39:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:39:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:39:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:39:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:39:13] Production.INFO: call_cost start [2025-03-09 18:39:13] Production.INFO: call_cost end [2025-03-09 18:39:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:39:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:39:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:39:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:39:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:39:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:39:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:39:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:39:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:39:14] Production.INFO: ==15030== Releasing lock... [2025-03-09 18:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:39:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:39:17] Production.INFO: count ==1290 [2025-03-09 18:39:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:39:05 - End Time 2025-03-09 18:39:05 [2025-03-09 18:39:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644063', 'tblTempUsageDetail_20' ) start [2025-03-09 18:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644063', 'tblTempUsageDetail_20' ) end [2025-03-09 18:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644063', 'tblTempVendorCDR_20' ) start [2025-03-09 18:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644063', 'tblTempVendorCDR_20' ) end [2025-03-09 18:39:17] Production.INFO: ProcessCDR(1,14644063,1,1,2) [2025-03-09 18:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644063', 'tblTempUsageDetail_20' ) start [2025-03-09 18:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644063', 'tblTempUsageDetail_20' ) end [2025-03-09 18:39:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:39:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:39:22] Production.INFO: ==15038== Releasing lock... [2025-03-09 18:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:39:22] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 22:40:01] Production.INFO: ==15100== Lock acquired, processing the job... [2025-03-09 22:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:40:01] Production.INFO: neon service started [2025-03-09 22:40:01] Production.INFO: neon service started [2025-03-09 22:40:01] Production.INFO: ==15100== Releasing lock... [2025-03-09 22:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:40:02] Production.INFO: ==15102== Lock acquired, processing the job... [2025-03-09 18:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:40:02] Production.INFO: ==15104== Lock acquired, processing the job... [2025-03-09 22:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:40:02] Production.INFO: ==15102== Releasing lock... [2025-03-09 18:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:40:02] Production.INFO: ==15104== Releasing lock... [2025-03-09 22:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:40:03] Production.INFO: ==15110== Lock acquired, processing the job... [2025-03-09 18:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:40:03] Production.INFO: ==15106== Lock acquired, processing the job... [2025-03-09 18:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 18:40:04] Production.INFO: ==15118== Lock acquired, processing the job... [2025-03-09 18:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 18:40:04] Production.INFO: ==15120== Lock acquired, processing the job... [2025-03-09 18:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 18:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:40:04] Production.ERROR: CronJob PID - 15110 [2025-03-09 18:40:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 18:40:04] Production.ERROR: CronJob ID - 7 [2025-03-09 18:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 18:40:00 [2025-03-09 18:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 18:40:04] Production.ERROR: CronJob PID - 15118 [2025-03-09 18:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-09 18:40:04] Production.ERROR: CronJob ID - 17 [2025-03-09 18:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 18:40:00 [2025-03-09 18:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 18:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 18:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 18:40:04] Production.INFO: ==15106== Releasing lock... [2025-03-09 18:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 18:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 18:40:04] Production.INFO: ==15108== Lock acquired, processing the job... [2025-03-09 18:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:40:04] Production.INFO: ==15112== Lock acquired, processing the job... [2025-03-09 18:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:40:04] Production.INFO: ==15114== Lock acquired, processing the job... [2025-03-09 18:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:40:04] Production.INFO: ==15116== Lock acquired, processing the job... [2025-03-09 18:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:40:04] Production.ERROR: done [2025-03-09 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-09 18:40:04] Production.INFO: ==15110== Releasing lock... [2025-03-09 18:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 18:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644067', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 18:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:40:04] Production.INFO: count ==13 [2025-03-09 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-09 18:40:04] Production.INFO: count ==21 [2025-03-09 18:40:04] Production.INFO: Account Balance Start. [2025-03-09 18:40:04] Production.INFO: CreateAllLog Start [2025-03-09 18:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644065') start [2025-03-09 18:40:04] Production.INFO: 117 [2025-03-09 18:40:04] Production.INFO: Date 2025-03-08 [2025-03-09 18:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:40:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644065') end [2025-03-09 18:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:40:04] Production.INFO: 1 [2025-03-09 18:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:40:04] Production.INFO: Total Charge 0 [2025-03-09 18:40:04] Production.INFO: CreateAllLog End [2025-03-09 18:40:04] Production.INFO: ==15120== Releasing lock... [2025-03-09 18:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:40:04] Production.ERROR: done [2025-03-09 18:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:40:04] Production.ERROR: done [2025-03-09 18:40:05] Production.INFO: Account Balance End. [2025-03-09 18:40:05] Production.ERROR: CronJobId end 12 [2025-03-09 18:40:05] Production.INFO: ==15114== Releasing lock... [2025-03-09 18:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:40:06 [end_date_ymd] => 2025-03-09 18:40:06 [RateCDR] => 1 ) [2025-03-09 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-09 15:40:06' and `end` < '2025-03-09 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-09 18:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644067', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 18:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 18:40:09] Production.INFO: ProcessCDR(1,14644067,1,1,2) [2025-03-09 18:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14644067,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14644067,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:40:09] Production.INFO: ==15118== Releasing lock... [2025-03-09 18:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 18:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 18:40:14] Production.ERROR: CronJobId end10 [2025-03-09 18:40:14] Production.INFO: ==15112== Releasing lock... [2025-03-09 18:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:40:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:40:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:40:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:40:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:40:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:40:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:40:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:40:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:40:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:40:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:40:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:40:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:40:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:40:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:40:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:40:17] Production.INFO: call_cost start [2025-03-09 18:40:17] Production.INFO: call_cost end [2025-03-09 18:40:18] Production.INFO: count ==1294 [2025-03-09 18:40:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:40:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:40:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:40:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:40:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:40:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:40:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:40:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:40:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:40:18] Production.INFO: ==15108== Releasing lock... [2025-03-09 18:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:40:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:40:18] Production.ERROR: pbx CDR StartTime 2025-03-09 15:40:06 - End Time 2025-03-09 18:40:06 [2025-03-09 18:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644069', 'tblTempUsageDetail_20' ) start [2025-03-09 18:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644069', 'tblTempUsageDetail_20' ) end [2025-03-09 18:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644069', 'tblTempVendorCDR_20' ) start [2025-03-09 18:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644069', 'tblTempVendorCDR_20' ) end [2025-03-09 18:40:18] Production.INFO: ProcessCDR(1,14644069,1,1,2) [2025-03-09 18:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644069', 'tblTempUsageDetail_20' ) start [2025-03-09 18:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644069', 'tblTempUsageDetail_20' ) end [2025-03-09 18:40:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:40:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:40:23] Production.INFO: ==15116== Releasing lock... [2025-03-09 18:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:40:23] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 22:41:01] Production.INFO: ==15179== Lock acquired, processing the job... [2025-03-09 22:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:41:01] Production.INFO: neon service started [2025-03-09 22:41:01] Production.INFO: neon service started [2025-03-09 22:41:01] Production.INFO: ==15179== Releasing lock... [2025-03-09 22:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:41:01] Production.INFO: ==15181== Lock acquired, processing the job... [2025-03-09 18:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:41:02] Production.INFO: ==15181== Releasing lock... [2025-03-09 18:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:41:02] Production.INFO: ==15183== Lock acquired, processing the job... [2025-03-09 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:41:02] Production.INFO: ==15183== Releasing lock... [2025-03-09 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:41:03] Production.INFO: ==15196== Lock acquired, processing the job... [2025-03-09 18:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:41:03] Production.INFO: ==15192== Lock acquired, processing the job... [2025-03-09 18:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:41:03] Production.INFO: ==15186== Lock acquired, processing the job... [2025-03-09 18:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:41:03] Production.INFO: Account Balance Start. [2025-03-09 18:41:03] Production.INFO: CreateAllLog Start [2025-03-09 18:41:03] Production.INFO: 117 [2025-03-09 18:41:03] Production.INFO: ==15188== Lock acquired, processing the job... [2025-03-09 18:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:41:03] Production.INFO: Date 2025-03-08 [2025-03-09 18: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-09 18:41:03] Production.INFO: count ==13 [2025-03-09 18:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18: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-09 18:41:03] Production.INFO: ==15190== Lock acquired, processing the job... [2025-03-09 18:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:41:03] Production.INFO: count ==21 [2025-03-09 18:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644071') start [2025-03-09 18:41:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:41:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:41:03] Production.INFO: ==15194== Lock acquired, processing the job... [2025-03-09 18:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:41:03] Production.INFO: Total Charge 0 [2025-03-09 18:41:03] Production.INFO: CreateAllLog End [2025-03-09 18:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644071') end [2025-03-09 18:41:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:41:03] Production.INFO: 1 [2025-03-09 18:41:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:41:03] Production.INFO: ==15196== Releasing lock... [2025-03-09 18:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:41:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:41:03] Production.INFO: ==15188== Releasing lock... [2025-03-09 18:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:41:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:41:03] Production.ERROR: done [2025-03-09 18:41:03] Production.INFO: Account Balance End. [2025-03-09 18:41:03] Production.ERROR: CronJobId end 12 [2025-03-09 18:41:03] Production.INFO: ==15192== Releasing lock... [2025-03-09 18:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:41:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:41:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:41:04] Production.ERROR: done [2025-03-09 18:41:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:41:04 [end_date_ymd] => 2025-03-09 18:41:04 [RateCDR] => 1 ) [2025-03-09 18: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-09 15:41:04' and `end` < '2025-03-09 18: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-09 18:41:11] Production.ERROR: CronJobId end10 [2025-03-09 18:41:11] Production.INFO: ==15190== Releasing lock... [2025-03-09 18:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:41:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:41:14] Production.INFO: call_cost start [2025-03-09 18:41:14] Production.INFO: call_cost end [2025-03-09 18:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:41:15] Production.INFO: ==15186== Releasing lock... [2025-03-09 18:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:41:17] Production.INFO: count ==1286 [2025-03-09 18:41:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:41:04 - End Time 2025-03-09 18:41:04 [2025-03-09 18:41:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644074', 'tblTempUsageDetail_20' ) start [2025-03-09 18:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644074', 'tblTempUsageDetail_20' ) end [2025-03-09 18:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644074', 'tblTempVendorCDR_20' ) start [2025-03-09 18:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644074', 'tblTempVendorCDR_20' ) end [2025-03-09 18:41:17] Production.INFO: ProcessCDR(1,14644074,1,1,2) [2025-03-09 18:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:41:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644074', 'tblTempUsageDetail_20' ) start [2025-03-09 18:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644074', 'tblTempUsageDetail_20' ) end [2025-03-09 18:41:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:41:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:41:20] Production.INFO: ==15194== Releasing lock... [2025-03-09 18:41:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:41:20] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 22:42:01] Production.INFO: ==15249== Lock acquired, processing the job... [2025-03-09 22:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:42:01] Production.INFO: neon service started [2025-03-09 22:42:01] Production.INFO: neon service started [2025-03-09 22:42:01] Production.INFO: ==15249== Releasing lock... [2025-03-09 22:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:42:02] Production.INFO: ==15252== Lock acquired, processing the job... [2025-03-09 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:42:02] Production.INFO: ==15252== Releasing lock... [2025-03-09 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:42:02] Production.INFO: ==15254== Lock acquired, processing the job... [2025-03-09 22:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:42:02] Production.INFO: ==15254== Releasing lock... [2025-03-09 22:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:42:03] Production.INFO: ==15256== Lock acquired, processing the job... [2025-03-09 18:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:42:03] Production.INFO: ==15260== Lock acquired, processing the job... [2025-03-09 18:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:42:03] Production.INFO: ==15262== Lock acquired, processing the job... [2025-03-09 18:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:42:03] Production.INFO: Account Balance Start. [2025-03-09 18:42:03] Production.INFO: CreateAllLog Start [2025-03-09 18:42:03] Production.INFO: 117 [2025-03-09 18:42:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:42:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:42:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:42:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:42:03] Production.INFO: ==15258== Lock acquired, processing the job... [2025-03-09 18:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:42:03] Production.INFO: Total Charge 0 [2025-03-09 18:42:03] Production.INFO: CreateAllLog End [2025-03-09 18:42:03] Production.INFO: ==15266== Lock acquired, processing the job... [2025-03-09 18:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:42:03] Production.INFO: ==15264== Lock acquired, processing the job... [2025-03-09 18:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18: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-09 18:42:03] Production.INFO: count ==13 [2025-03-09 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-09 18:42:04] Production.INFO: count ==21 [2025-03-09 18:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644077') start [2025-03-09 18:42:04] Production.INFO: Account Balance End. [2025-03-09 18:42:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:42:04] Production.INFO: ==15262== Releasing lock... [2025-03-09 18:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:42:04] Production.ERROR: done [2025-03-09 18:42:04] Production.INFO: ==15258== Releasing lock... [2025-03-09 18:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644077') end [2025-03-09 18:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:42:04] Production.INFO: 1 [2025-03-09 18:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:42:04] Production.ERROR: done [2025-03-09 18:42:04] Production.INFO: ==15266== Releasing lock... [2025-03-09 18:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:42:05 [end_date_ymd] => 2025-03-09 18:42:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:42:05' and `end` < '2025-03-09 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-09 18:42:12] Production.ERROR: CronJobId end10 [2025-03-09 18:42:12] Production.INFO: ==15260== Releasing lock... [2025-03-09 18:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:42:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:42:14] Production.INFO: call_cost start [2025-03-09 18:42:14] Production.INFO: call_cost end [2025-03-09 18:42:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:42:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:42:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:42:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:42:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:42:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:42:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:42:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:42:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:42:15] Production.INFO: ==15256== Releasing lock... [2025-03-09 18:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:42:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:42:17] Production.INFO: count ==1290 [2025-03-09 18:42:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:42:05 - End Time 2025-03-09 18:42:05 [2025-03-09 18:42:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644079', 'tblTempUsageDetail_20' ) start [2025-03-09 18:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644079', 'tblTempUsageDetail_20' ) end [2025-03-09 18:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644079', 'tblTempVendorCDR_20' ) start [2025-03-09 18:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644079', 'tblTempVendorCDR_20' ) end [2025-03-09 18:42:17] Production.INFO: ProcessCDR(1,14644079,1,1,2) [2025-03-09 18:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644079', 'tblTempUsageDetail_20' ) start [2025-03-09 18:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644079', 'tblTempUsageDetail_20' ) end [2025-03-09 18:42:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:42:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:42:22] Production.INFO: ==15264== Releasing lock... [2025-03-09 18:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:42:22] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 22:43:02] Production.INFO: ==15359== Lock acquired, processing the job... [2025-03-09 22:43:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:43:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:43:02] Production.INFO: neon service started [2025-03-09 22:43:02] Production.INFO: neon service started [2025-03-09 22:43:02] Production.INFO: ==15359== Releasing lock... [2025-03-09 22:43:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:43:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:43:02] Production.INFO: ==15361== Lock acquired, processing the job... [2025-03-09 18:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:43:02] Production.INFO: ==15363== Lock acquired, processing the job... [2025-03-09 22:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:43:02] Production.INFO: ==15363== Releasing lock... [2025-03-09 22:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:43:03] Production.INFO: ==15361== Releasing lock... [2025-03-09 18:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:43:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:43:04] Production.INFO: ==15366== Lock acquired, processing the job... [2025-03-09 18:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:43:04] Production.INFO: ==15372== Lock acquired, processing the job... [2025-03-09 18:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:43:04] Production.INFO: ==15374== Lock acquired, processing the job... [2025-03-09 18:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:43:04] Production.INFO: ==15368== Lock acquired, processing the job... [2025-03-09 18:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:43:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:43:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:43:04] Production.INFO: Account Balance Start. [2025-03-09 18:43:04] Production.INFO: CreateAllLog Start [2025-03-09 18:43:04] Production.INFO: 117 [2025-03-09 18:43:04] Production.INFO: Date 2025-03-08 [2025-03-09 18:43:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:43:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:43:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:43:04] Production.INFO: ==15370== Lock acquired, processing the job... [2025-03-09 18:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:43:04] Production.INFO: Total Charge 0 [2025-03-09 18:43:04] Production.INFO: CreateAllLog End [2025-03-09 18:43:04] Production.INFO: ==15376== Lock acquired, processing the job... [2025-03-09 18:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18: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-09 18:43:04] Production.ERROR: done [2025-03-09 18:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:43:04] Production.INFO: ==15368== Releasing lock... [2025-03-09 18:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:43:04] Production.INFO: count ==13 [2025-03-09 18:43:04] Production.INFO: Account Balance End. [2025-03-09 18: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-09 18:43:04] Production.INFO: count ==21 [2025-03-09 18:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644083') start [2025-03-09 18:43:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:43:04] Production.INFO: ==15372== Releasing lock... [2025-03-09 18:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:43:04] Production.ERROR: done [2025-03-09 18:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644083') end [2025-03-09 18:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:43:04] Production.INFO: 1 [2025-03-09 18:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:43:04] Production.INFO: ==15376== Releasing lock... [2025-03-09 18:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:43:05 [end_date_ymd] => 2025-03-09 18:43:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:43:05' and `end` < '2025-03-09 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-09 18:43:11] Production.ERROR: CronJobId end10 [2025-03-09 18:43:11] Production.INFO: ==15370== Releasing lock... [2025-03-09 18:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:43:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:43:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:43:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:43:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:43:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:43:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:43:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:43:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:43:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:43:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:43:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:43:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:43:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:43:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:43:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:43:14] Production.INFO: call_cost start [2025-03-09 18:43:14] Production.INFO: call_cost end [2025-03-09 18:43:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:43:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:43:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:43:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:43:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:43:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:43:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:43:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:43:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:43:15] Production.INFO: ==15366== Releasing lock... [2025-03-09 18:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:43:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:43:17] Production.INFO: count ==1288 [2025-03-09 18:43:18] Production.ERROR: pbx CDR StartTime 2025-03-09 15:43:05 - End Time 2025-03-09 18:43:05 [2025-03-09 18:43:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644084', 'tblTempUsageDetail_20' ) start [2025-03-09 18:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644084', 'tblTempUsageDetail_20' ) end [2025-03-09 18:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644084', 'tblTempVendorCDR_20' ) start [2025-03-09 18:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644084', 'tblTempVendorCDR_20' ) end [2025-03-09 18:43:18] Production.INFO: ProcessCDR(1,14644084,1,1,2) [2025-03-09 18:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644084', 'tblTempUsageDetail_20' ) start [2025-03-09 18:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644084', 'tblTempUsageDetail_20' ) end [2025-03-09 18:43:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:43:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:43:21] Production.INFO: ==15374== Releasing lock... [2025-03-09 18:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:43:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 22:44:01] Production.INFO: ==15429== Lock acquired, processing the job... [2025-03-09 22:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:44:01] Production.INFO: neon service started [2025-03-09 22:44:01] Production.INFO: neon service started [2025-03-09 22:44:01] Production.INFO: ==15429== Releasing lock... [2025-03-09 22:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:44:02] Production.INFO: ==15431== Lock acquired, processing the job... [2025-03-09 18:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:44:02] Production.INFO: ==15431== Releasing lock... [2025-03-09 18:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:44:02] Production.INFO: ==15433== Lock acquired, processing the job... [2025-03-09 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:44:02] Production.INFO: ==15433== Releasing lock... [2025-03-09 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:44:03] Production.INFO: ==15439== Lock acquired, processing the job... [2025-03-09 18:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:44:03] Production.INFO: ==15435== Lock acquired, processing the job... [2025-03-09 18:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:44:03] Production.INFO: ==15443== Lock acquired, processing the job... [2025-03-09 18:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:44:03] Production.INFO: ==15437== Lock acquired, processing the job... [2025-03-09 18:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:44:03] Production.INFO: ==15441== Lock acquired, processing the job... [2025-03-09 18:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:44:03] Production.INFO: ==15445== Lock acquired, processing the job... [2025-03-09 18:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18: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-09 18:44:03] Production.INFO: Account Balance Start. [2025-03-09 18:44:03] Production.INFO: CreateAllLog Start [2025-03-09 18:44:03] Production.INFO: 117 [2025-03-09 18:44:03] Production.INFO: count ==13 [2025-03-09 18:44:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:44:03] Production.INFO: Reseller ==> 0 [2025-03-09 18: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-09 18:44:03] Production.INFO: count ==21 [2025-03-09 18:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644086') start [2025-03-09 18:44:04] Production.ERROR: done [2025-03-09 18:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:44:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:44:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644086') end [2025-03-09 18:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:44:04] Production.INFO: 1 [2025-03-09 18:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:44:04] Production.INFO: Total Charge 0 [2025-03-09 18:44:04] Production.INFO: CreateAllLog End [2025-03-09 18:44:04] Production.INFO: ==15445== Releasing lock... [2025-03-09 18:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:44:04] Production.INFO: ==15437== Releasing lock... [2025-03-09 18:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:44:04] Production.ERROR: done [2025-03-09 18:44:04] Production.INFO: Account Balance End. [2025-03-09 18:44:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:44:04] Production.INFO: ==15441== Releasing lock... [2025-03-09 18:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:44:05 [end_date_ymd] => 2025-03-09 18:44:05 [RateCDR] => 1 ) [2025-03-09 18: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-09 15:44:05' and `end` < '2025-03-09 18: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-09 18:44:12] Production.ERROR: CronJobId end10 [2025-03-09 18:44:12] Production.INFO: ==15439== Releasing lock... [2025-03-09 18:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:44:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:44:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:44:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:44:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:44:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:44:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:44:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:44:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:44:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:44:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:44:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:44:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:44:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:44:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:44:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:44:14] Production.INFO: call_cost start [2025-03-09 18:44:14] Production.INFO: call_cost end [2025-03-09 18:44:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:44:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:44:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:44:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:44:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:44:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:44:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:44:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:44:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:44:15] Production.INFO: ==15435== Releasing lock... [2025-03-09 18:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:44:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:44:17] Production.INFO: count ==1288 [2025-03-09 18:44:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:44:05 - End Time 2025-03-09 18:44:05 [2025-03-09 18:44:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644089', 'tblTempUsageDetail_20' ) start [2025-03-09 18:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644089', 'tblTempUsageDetail_20' ) end [2025-03-09 18:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644089', 'tblTempVendorCDR_20' ) start [2025-03-09 18:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644089', 'tblTempVendorCDR_20' ) end [2025-03-09 18:44:17] Production.INFO: ProcessCDR(1,14644089,1,1,2) [2025-03-09 18:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644089', 'tblTempUsageDetail_20' ) start [2025-03-09 18:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644089', 'tblTempUsageDetail_20' ) end [2025-03-09 18:44:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:44:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:44:22] Production.INFO: ==15443== Releasing lock... [2025-03-09 18:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:44:22] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 22:45:02] Production.INFO: ==15504== Lock acquired, processing the job... [2025-03-09 22:45:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:45:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:45:02] Production.INFO: neon service started [2025-03-09 22:45:02] Production.INFO: neon service started [2025-03-09 22:45:02] Production.INFO: ==15504== Releasing lock... [2025-03-09 22:45:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:45:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:45:02] Production.INFO: ==15506== Lock acquired, processing the job... [2025-03-09 18:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:45:02] Production.INFO: ==15508== Lock acquired, processing the job... [2025-03-09 22:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:45:02] Production.INFO: ==15508== Releasing lock... [2025-03-09 22:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:45:02] Production.INFO: ==15506== Releasing lock... [2025-03-09 18:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:45:03] Production.INFO: ==15510== Lock acquired, processing the job... [2025-03-09 18:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:45:03] Production.INFO: ==15519== Lock acquired, processing the job... [2025-03-09 18:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:45:03] Production.INFO: ==15512== Lock acquired, processing the job... [2025-03-09 18:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:45:03] Production.INFO: ==15521== Lock acquired, processing the job... [2025-03-09 18:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:45:03] Production.INFO: ==15514== Lock acquired, processing the job... [2025-03-09 18:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 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-09 18:45:04] Production.INFO: ==15516== Lock acquired, processing the job... [2025-03-09 18:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:45:04] Production.INFO: count ==13 [2025-03-09 18: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-09 18:45:04] Production.INFO: count ==21 [2025-03-09 18:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644091') start [2025-03-09 18:45:04] Production.INFO: Account Balance Start. [2025-03-09 18:45:04] Production.INFO: CreateAllLog Start [2025-03-09 18:45:04] Production.INFO: 117 [2025-03-09 18:45:04] Production.INFO: ==15512== Releasing lock... [2025-03-09 18:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644091') end [2025-03-09 18:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:45:04] Production.INFO: 1 [2025-03-09 18:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:45:04] Production.INFO: Date 2025-03-08 [2025-03-09 18:45:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:45:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:45:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:45:04] Production.ERROR: done [2025-03-09 18:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:45:04] Production.INFO: ==15521== Releasing lock... [2025-03-09 18:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:45:04] Production.INFO: Total Charge 0 [2025-03-09 18:45:04] Production.INFO: CreateAllLog End [2025-03-09 18:45:04] Production.ERROR: done [2025-03-09 18:45:04] Production.INFO: Account Balance End. [2025-03-09 18:45:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:45:04] Production.INFO: ==15516== Releasing lock... [2025-03-09 18:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:45:05 [end_date_ymd] => 2025-03-09 18:45:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:45:05' and `end` < '2025-03-09 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-09 18:45:11] Production.ERROR: CronJobId end10 [2025-03-09 18:45:11] Production.INFO: ==15514== Releasing lock... [2025-03-09 18:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:45:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:45:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:45:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:45:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:45:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:45:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:45:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:45:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:45:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:45:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:45:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:45:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:45:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:45:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:45:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:45:14] Production.INFO: call_cost start [2025-03-09 18:45:14] Production.INFO: call_cost end [2025-03-09 18:45:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:45:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:45:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:45:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:45:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:45:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:45:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:45:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:45:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:45:15] Production.INFO: ==15510== Releasing lock... [2025-03-09 18:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:45:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:45:17] Production.INFO: count ==1296 [2025-03-09 18:45:18] Production.ERROR: pbx CDR StartTime 2025-03-09 15:45:05 - End Time 2025-03-09 18:45:05 [2025-03-09 18:45:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644094', 'tblTempUsageDetail_20' ) start [2025-03-09 18:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644094', 'tblTempUsageDetail_20' ) end [2025-03-09 18:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644094', 'tblTempVendorCDR_20' ) start [2025-03-09 18:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644094', 'tblTempVendorCDR_20' ) end [2025-03-09 18:45:18] Production.INFO: ProcessCDR(1,14644094,1,1,2) [2025-03-09 18:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644094', 'tblTempUsageDetail_20' ) start [2025-03-09 18:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644094', 'tblTempUsageDetail_20' ) end [2025-03-09 18:45:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:45:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:45:22] Production.INFO: ==15519== Releasing lock... [2025-03-09 18:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:45:22] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 22:46:01] Production.INFO: ==15574== Lock acquired, processing the job... [2025-03-09 22:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:46:01] Production.INFO: neon service started [2025-03-09 22:46:01] Production.INFO: neon service started [2025-03-09 22:46:01] Production.INFO: ==15574== Releasing lock... [2025-03-09 22:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:46:01] Production.INFO: ==15576== Lock acquired, processing the job... [2025-03-09 18:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:46:02] Production.INFO: ==15578== Lock acquired, processing the job... [2025-03-09 22:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:46:02] Production.INFO: ==15578== Releasing lock... [2025-03-09 22:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:46:02] Production.INFO: ==15576== Releasing lock... [2025-03-09 18:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:46:02] Production.INFO: ==15582== Lock acquired, processing the job... [2025-03-09 18:46:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:46:03] Production.INFO: ==15580== Lock acquired, processing the job... [2025-03-09 18:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:46:03] Production.INFO: ==15582== Releasing lock... [2025-03-09 18:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:46:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:46:03] Production.INFO: ==15591== Lock acquired, processing the job... [2025-03-09 18:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:46:03] Production.INFO: ==15584== Lock acquired, processing the job... [2025-03-09 18:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:46:03] Production.INFO: ==15586== Lock acquired, processing the job... [2025-03-09 18:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:46:03] Production.INFO: ==15588== Lock acquired, processing the job... [2025-03-09 18:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18: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-09 18:46:03] Production.INFO: count ==13 [2025-03-09 18: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-09 18:46:03] Production.INFO: Account Balance Start. [2025-03-09 18:46:03] Production.INFO: CreateAllLog Start [2025-03-09 18:46:03] Production.INFO: 117 [2025-03-09 18:46:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:46:03] Production.INFO: count ==21 [2025-03-09 18:46:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644097') start [2025-03-09 18:46:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:46:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:46:03] Production.INFO: Total Charge 0 [2025-03-09 18:46:03] Production.INFO: CreateAllLog End [2025-03-09 18:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644097') end [2025-03-09 18:46:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:46:03] Production.INFO: 1 [2025-03-09 18:46:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:46:03] Production.ERROR: done [2025-03-09 18:46:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:46:04] Production.INFO: ==15591== Releasing lock... [2025-03-09 18:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:46:04] Production.ERROR: done [2025-03-09 18:46:04] Production.INFO: Account Balance End. [2025-03-09 18:46:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:46:04] Production.INFO: ==15586== Releasing lock... [2025-03-09 18:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:46:05 [end_date_ymd] => 2025-03-09 18:46:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:46:05' and `end` < '2025-03-09 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-09 18:46:11] Production.ERROR: CronJobId end10 [2025-03-09 18:46:11] Production.INFO: ==15584== Releasing lock... [2025-03-09 18:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:46:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:46:14] Production.INFO: call_cost start [2025-03-09 18:46:14] Production.INFO: call_cost end [2025-03-09 18:46:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:46:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:46:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:46:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:46:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:46:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:46:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:46:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:46:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:46:15] Production.INFO: ==15580== Releasing lock... [2025-03-09 18:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:46:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:46:17] Production.INFO: count ==1297 [2025-03-09 18:46:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:46:05 - End Time 2025-03-09 18:46:05 [2025-03-09 18:46:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644099', 'tblTempUsageDetail_20' ) start [2025-03-09 18:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644099', 'tblTempUsageDetail_20' ) end [2025-03-09 18:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644099', 'tblTempVendorCDR_20' ) start [2025-03-09 18:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644099', 'tblTempVendorCDR_20' ) end [2025-03-09 18:46:17] Production.INFO: ProcessCDR(1,14644099,1,1,2) [2025-03-09 18:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644099', 'tblTempUsageDetail_20' ) start [2025-03-09 18:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644099', 'tblTempUsageDetail_20' ) end [2025-03-09 18:46:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:46:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:46:22] Production.INFO: ==15588== Releasing lock... [2025-03-09 18:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:46:22] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 22:47:01] Production.INFO: ==15650== Lock acquired, processing the job... [2025-03-09 22:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:47:02] Production.INFO: neon service started [2025-03-09 22:47:02] Production.INFO: neon service started [2025-03-09 22:47:02] Production.INFO: ==15650== Releasing lock... [2025-03-09 22:47:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:47:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 22:47:02] Production.INFO: ==15654== Lock acquired, processing the job... [2025-03-09 22:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:47:02] Production.INFO: ==15654== Releasing lock... [2025-03-09 22:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:47:02] Production.INFO: ==15652== Lock acquired, processing the job... [2025-03-09 18:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:47:02] Production.INFO: ==15652== Releasing lock... [2025-03-09 18:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:47:03] Production.INFO: ==15658== Lock acquired, processing the job... [2025-03-09 18:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:47:03] Production.INFO: ==15656== Lock acquired, processing the job... [2025-03-09 18:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:47:03] Production.INFO: ==15660== Lock acquired, processing the job... [2025-03-09 18:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:47:04] Production.INFO: ==15667== Lock acquired, processing the job... [2025-03-09 18:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:47:04] Production.INFO: ==15658== Releasing lock... [2025-03-09 18:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:47:04] Production.INFO: ==15662== Lock acquired, processing the job... [2025-03-09 18:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:47:04] Production.INFO: ==15665== Lock acquired, processing the job... [2025-03-09 18:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:47:04] Production.INFO: Account Balance Start. [2025-03-09 18:47:04] Production.INFO: CreateAllLog Start [2025-03-09 18:47:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18: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-09 18:47:04] Production.INFO: 117 [2025-03-09 18:47:04] Production.INFO: Date 2025-03-08 [2025-03-09 18:47:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:47:04] Production.INFO: count ==13 [2025-03-09 18: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-09 18:47:04] Production.INFO: count ==21 [2025-03-09 18:47:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:47:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644102') start [2025-03-09 18:47:04] Production.INFO: Total Charge 0 [2025-03-09 18:47:04] Production.INFO: CreateAllLog End [2025-03-09 18:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644102') end [2025-03-09 18:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:47:04] Production.INFO: 1 [2025-03-09 18:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:47:04] Production.INFO: ==15667== Releasing lock... [2025-03-09 18:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:47:04] Production.ERROR: done [2025-03-09 18:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:47:04] Production.ERROR: done [2025-03-09 18:47:04] Production.INFO: Account Balance End. [2025-03-09 18:47:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:47:04] Production.INFO: ==15662== Releasing lock... [2025-03-09 18:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:47:05 [end_date_ymd] => 2025-03-09 18:47:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:47:05' and `end` < '2025-03-09 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-09 18:47:11] Production.ERROR: CronJobId end10 [2025-03-09 18:47:11] Production.INFO: ==15660== Releasing lock... [2025-03-09 18:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:47:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:47:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:47:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:47:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:47:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:47:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:47:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:47:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:47:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:47:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:47:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:47:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:47:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:47:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:47:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:47:14] Production.INFO: call_cost start [2025-03-09 18:47:14] Production.INFO: call_cost end [2025-03-09 18:47:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:47:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:47:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:47:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:47:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:47:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:47:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:47:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:47:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:47:15] Production.INFO: ==15656== Releasing lock... [2025-03-09 18:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:47:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:47:17] Production.INFO: count ==1285 [2025-03-09 18:47:18] Production.ERROR: pbx CDR StartTime 2025-03-09 15:47:05 - End Time 2025-03-09 18:47:05 [2025-03-09 18:47:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644104', 'tblTempUsageDetail_20' ) start [2025-03-09 18:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644104', 'tblTempUsageDetail_20' ) end [2025-03-09 18:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644104', 'tblTempVendorCDR_20' ) start [2025-03-09 18:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644104', 'tblTempVendorCDR_20' ) end [2025-03-09 18:47:18] Production.INFO: ProcessCDR(1,14644104,1,1,2) [2025-03-09 18:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644104', 'tblTempUsageDetail_20' ) start [2025-03-09 18:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644104', 'tblTempUsageDetail_20' ) end [2025-03-09 18:47:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:47:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:47:22] Production.INFO: ==15665== Releasing lock... [2025-03-09 18:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:47:22] Production.INFO: 38 MB #Memory Used# [2025-03-09 22:48:01] Production.INFO: ==15723== Lock acquired, processing the job... [2025-03-09 22:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:48:01] Production.INFO: neon service started [2025-03-09 22:48:01] Production.INFO: neon service started [2025-03-09 22:48:01] Production.INFO: ==15723== Releasing lock... [2025-03-09 22:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 22:48:02] Production.INFO: ==15727== Lock acquired, processing the job... [2025-03-09 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:48:02] Production.INFO: ==15727== Releasing lock... [2025-03-09 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:48:02] Production.INFO: ==15725== Lock acquired, processing the job... [2025-03-09 18:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:48:02] Production.INFO: ==15725== Releasing lock... [2025-03-09 18:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:48:03] Production.INFO: ==15734== Lock acquired, processing the job... [2025-03-09 18:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:48:03] Production.INFO: ==15738== Lock acquired, processing the job... [2025-03-09 18:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:48:03] Production.INFO: ==15730== Lock acquired, processing the job... [2025-03-09 18:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:48:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:48:03] Production.INFO: ==15732== Lock acquired, processing the job... [2025-03-09 18:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:48:03] Production.INFO: ==15736== Lock acquired, processing the job... [2025-03-09 18:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:48:03] Production.INFO: ==15740== Lock acquired, processing the job... [2025-03-09 18:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18: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-09 18:48:03] Production.INFO: count ==13 [2025-03-09 18: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-09 18:48:03] Production.INFO: count ==21 [2025-03-09 18:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644106') start [2025-03-09 18:48:04] Production.ERROR: done [2025-03-09 18:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:48:04] Production.INFO: Account Balance Start. [2025-03-09 18:48:04] Production.INFO: CreateAllLog Start [2025-03-09 18:48:04] Production.INFO: 117 [2025-03-09 18:48:04] Production.INFO: Date 2025-03-08 [2025-03-09 18:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:48:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:48:04] Production.INFO: ==15732== Releasing lock... [2025-03-09 18:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:48:04] Production.ERROR: done [2025-03-09 18:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644106') end [2025-03-09 18:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:48:04] Production.INFO: 1 [2025-03-09 18:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:48:04] Production.INFO: Total Charge 0 [2025-03-09 18:48:04] Production.INFO: CreateAllLog End [2025-03-09 18:48:04] Production.INFO: ==15740== Releasing lock... [2025-03-09 18:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:48:04] Production.INFO: Account Balance End. [2025-03-09 18:48:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:48:04] Production.INFO: ==15736== Releasing lock... [2025-03-09 18:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:48:05 [end_date_ymd] => 2025-03-09 18:48:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:48:05' and `end` < '2025-03-09 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-09 18:48:12] Production.ERROR: CronJobId end10 [2025-03-09 18:48:12] Production.INFO: ==15734== Releasing lock... [2025-03-09 18:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:48:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:48:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:48:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:48:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:48:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:48:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:48:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:48:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:48:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:48:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:48:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:48:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:48:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:48:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:48:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:48:15] Production.INFO: call_cost start [2025-03-09 18:48:15] Production.INFO: call_cost end [2025-03-09 18:48:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:48:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:48:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:48:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:48:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:48:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:48:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:48:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:48:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:48:16] Production.INFO: ==15730== Releasing lock... [2025-03-09 18:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:48:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:48:17] Production.INFO: count ==1289 [2025-03-09 18:48:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:48:05 - End Time 2025-03-09 18:48:05 [2025-03-09 18:48:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644109', 'tblTempUsageDetail_20' ) start [2025-03-09 18:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644109', 'tblTempUsageDetail_20' ) end [2025-03-09 18:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644109', 'tblTempVendorCDR_20' ) start [2025-03-09 18:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644109', 'tblTempVendorCDR_20' ) end [2025-03-09 18:48:17] Production.INFO: ProcessCDR(1,14644109,1,1,2) [2025-03-09 18:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644109', 'tblTempUsageDetail_20' ) start [2025-03-09 18:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644109', 'tblTempUsageDetail_20' ) end [2025-03-09 18:48:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:48:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:48:22] Production.INFO: ==15738== Releasing lock... [2025-03-09 18:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:48:22] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 22:49:01] Production.INFO: ==15803== Lock acquired, processing the job... [2025-03-09 22:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:49:01] Production.INFO: neon service started [2025-03-09 22:49:01] Production.INFO: neon service started [2025-03-09 22:49:01] Production.INFO: ==15803== Releasing lock... [2025-03-09 22:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 22:49:02] Production.INFO: ==15807== Lock acquired, processing the job... [2025-03-09 22:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:49:02] Production.INFO: ==15807== Releasing lock... [2025-03-09 22:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:49:02] Production.INFO: ==15805== Lock acquired, processing the job... [2025-03-09 18:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:49:02] Production.INFO: ==15805== Releasing lock... [2025-03-09 18:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:49:03] Production.INFO: ==15812== Lock acquired, processing the job... [2025-03-09 18:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:49:03] Production.INFO: ==15814== Lock acquired, processing the job... [2025-03-09 18:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:49:03] Production.INFO: ==15818== Lock acquired, processing the job... [2025-03-09 18:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:49:03] Production.INFO: ==15810== Lock acquired, processing the job... [2025-03-09 18:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:49:03] Production.INFO: ==15816== Lock acquired, processing the job... [2025-03-09 18:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:49:03] Production.ERROR: done [2025-03-09 18:49:03] Production.INFO: ==15820== Lock acquired, processing the job... [2025-03-09 18:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:49:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:49:03] Production.INFO: ==15812== Releasing lock... [2025-03-09 18:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:49:03] Production.INFO: Account Balance Start. [2025-03-09 18:49:03] Production.INFO: CreateAllLog Start [2025-03-09 18:49:04] Production.INFO: 117 [2025-03-09 18:49:04] Production.INFO: Date 2025-03-08 [2025-03-09 18: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-09 18:49:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:49:04] Production.INFO: count ==13 [2025-03-09 18: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-09 18:49:04] Production.INFO: count ==21 [2025-03-09 18:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644113') start [2025-03-09 18:49:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:49:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:49:04] Production.INFO: Total Charge 0 [2025-03-09 18:49:04] Production.INFO: CreateAllLog End [2025-03-09 18:49:04] Production.ERROR: done [2025-03-09 18:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644113') end [2025-03-09 18:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:49:04] Production.INFO: 1 [2025-03-09 18:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:49:04] Production.INFO: ==15820== Releasing lock... [2025-03-09 18:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:49:04] Production.INFO: Account Balance End. [2025-03-09 18:49:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:49:04] Production.INFO: ==15816== Releasing lock... [2025-03-09 18:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:49:05 [end_date_ymd] => 2025-03-09 18:49:05 [RateCDR] => 1 ) [2025-03-09 18: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-09 15:49:05' and `end` < '2025-03-09 18: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-09 18:49:12] Production.ERROR: CronJobId end10 [2025-03-09 18:49:12] Production.INFO: ==15814== Releasing lock... [2025-03-09 18:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:49:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:49:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:49:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:49:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:49:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:49:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:49:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:49:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:49:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:49:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:49:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:49:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:49:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:49:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:49:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:49:13] Production.INFO: call_cost start [2025-03-09 18:49:13] Production.INFO: call_cost end [2025-03-09 18:49:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:49:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:49:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:49:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:49:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:49:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:49:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:49:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:49:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:49:14] Production.INFO: ==15810== Releasing lock... [2025-03-09 18:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:49:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:49:17] Production.INFO: count ==1288 [2025-03-09 18:49:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:49:05 - End Time 2025-03-09 18:49:05 [2025-03-09 18:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644114', 'tblTempUsageDetail_20' ) start [2025-03-09 18:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644114', 'tblTempUsageDetail_20' ) end [2025-03-09 18:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644114', 'tblTempVendorCDR_20' ) start [2025-03-09 18:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644114', 'tblTempVendorCDR_20' ) end [2025-03-09 18:49:17] Production.INFO: ProcessCDR(1,14644114,1,1,2) [2025-03-09 18:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644114', 'tblTempUsageDetail_20' ) start [2025-03-09 18:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644114', 'tblTempUsageDetail_20' ) end [2025-03-09 18:49:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:49:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:49:20] Production.INFO: ==15818== Releasing lock... [2025-03-09 18:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:49:20] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 22:50:02] Production.INFO: ==15879== Lock acquired, processing the job... [2025-03-09 22:50:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:50:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:50:02] Production.INFO: neon service started [2025-03-09 22:50:02] Production.INFO: neon service started [2025-03-09 22:50:02] Production.INFO: ==15879== Releasing lock... [2025-03-09 22:50:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:50:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:50:02] Production.INFO: ==15881== Lock acquired, processing the job... [2025-03-09 18:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:50:02] Production.INFO: ==15883== Lock acquired, processing the job... [2025-03-09 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:50:03] Production.INFO: ==15883== Releasing lock... [2025-03-09 22:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:50:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:50:03] Production.INFO: ==15881== Releasing lock... [2025-03-09 18:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:50:04] Production.INFO: ==15886== Lock acquired, processing the job... [2025-03-09 18:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 18:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 18:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 18:50:04] Production.INFO: ==15886== Releasing lock... [2025-03-09 18:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 18:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 18:50:04] Production.INFO: ==15892== Lock acquired, processing the job... [2025-03-09 18:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:50:04] Production.INFO: ==15896== Lock acquired, processing the job... [2025-03-09 18:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:50:04] Production.INFO: ==15898== Lock acquired, processing the job... [2025-03-09 18:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 18:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:50:04] Production.INFO: ==15888== Lock acquired, processing the job... [2025-03-09 18:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:50:04] Production.INFO: ==15890== Lock acquired, processing the job... [2025-03-09 18:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:50:04] Production.INFO: ==15894== Lock acquired, processing the job... [2025-03-09 18:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:50:04] Production.INFO: ==15900== Lock acquired, processing the job... [2025-03-09 18:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:50:04] Production.INFO: Account Balance Start. [2025-03-09 18:50:04] Production.INFO: CreateAllLog Start [2025-03-09 18:50:04] Production.INFO: 117 [2025-03-09 18:50:04] Production.INFO: Date 2025-03-08 [2025-03-09 18:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:50:05] Production.ERROR: done [2025-03-09 18:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:50:05] Production.INFO: Date 2025-03-09 [2025-03-09 18:50:05] Production.ERROR: done [2025-03-09 18:50:05] Production.INFO: Reseller ==> 0 [2025-03-09 18: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-09 18:50:05] Production.INFO: Total Charge 0 [2025-03-09 18:50:05] Production.INFO: CreateAllLog End [2025-03-09 18:50:05] Production.INFO: count ==13 [2025-03-09 18:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 18:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644119', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 18: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-09 18:50:05] Production.INFO: count ==21 [2025-03-09 18:50:05] Production.ERROR: done [2025-03-09 18:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14644118') start [2025-03-09 18:50:05] Production.INFO: ==15890== Releasing lock... [2025-03-09 18:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:50:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14644118') end [2025-03-09 18:50:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:50:05] Production.INFO: 1 [2025-03-09 18:50:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:50:05] Production.INFO: ==15900== Releasing lock... [2025-03-09 18:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:50:05] Production.INFO: Account Balance End. [2025-03-09 18:50:05] Production.ERROR: CronJobId end 12 [2025-03-09 18:50:05] Production.INFO: ==15894== Releasing lock... [2025-03-09 18:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:50:06 [end_date_ymd] => 2025-03-09 18:50:06 [RateCDR] => 1 ) [2025-03-09 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-09 15:50:06' and `end` < '2025-03-09 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-09 18:50:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644119', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 18:50:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 18:50:10] Production.INFO: ProcessCDR(1,14644119,1,1,2) [2025-03-09 18:50:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14644119,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14644119,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:50:10] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:50:10] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:50:10] Production.INFO: ==15898== Releasing lock... [2025-03-09 18:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 18:50:10] Production.INFO: 26 MB #Memory Used# [2025-03-09 18:50:14] Production.ERROR: CronJobId end10 [2025-03-09 18:50:14] Production.INFO: ==15892== Releasing lock... [2025-03-09 18:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:50:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:50:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:50:17] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:50:17] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:50:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:50:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:50:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:50:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:50:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:50:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:50:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:50:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:50:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:50:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:50:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:50:17] Production.INFO: call_cost start [2025-03-09 18:50:17] Production.INFO: call_cost end [2025-03-09 18:50:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:50:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:50:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:50:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:50:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:50:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:50:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:50:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:50:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:50:18] Production.INFO: ==15888== Releasing lock... [2025-03-09 18:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:50:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:50:18] Production.INFO: count ==1284 [2025-03-09 18:50:19] Production.ERROR: pbx CDR StartTime 2025-03-09 15:50:06 - End Time 2025-03-09 18:50:06 [2025-03-09 18:50:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644120', 'tblTempUsageDetail_20' ) start [2025-03-09 18:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644120', 'tblTempUsageDetail_20' ) end [2025-03-09 18:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644120', 'tblTempVendorCDR_20' ) start [2025-03-09 18:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644120', 'tblTempVendorCDR_20' ) end [2025-03-09 18:50:19] Production.INFO: ProcessCDR(1,14644120,1,1,2) [2025-03-09 18:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644120', 'tblTempUsageDetail_20' ) start [2025-03-09 18:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644120', 'tblTempUsageDetail_20' ) end [2025-03-09 18:50:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:50:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:50:22] Production.INFO: ==15896== Releasing lock... [2025-03-09 18:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:50:22] Production.INFO: 38 MB #Memory Used# [2025-03-09 22:51:01] Production.INFO: ==15956== Lock acquired, processing the job... [2025-03-09 22:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:51:01] Production.INFO: neon service started [2025-03-09 22:51:01] Production.INFO: neon service started [2025-03-09 22:51:01] Production.INFO: ==15956== Releasing lock... [2025-03-09 22:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:51:02] Production.INFO: ==15958== Lock acquired, processing the job... [2025-03-09 18:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:51:02] Production.INFO: ==15960== Lock acquired, processing the job... [2025-03-09 22:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:51:02] Production.INFO: ==15958== Releasing lock... [2025-03-09 18:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:51:02] Production.INFO: ==15960== Releasing lock... [2025-03-09 22:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:51:03] Production.INFO: ==15965== Lock acquired, processing the job... [2025-03-09 18:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:51:03] Production.INFO: ==15973== Lock acquired, processing the job... [2025-03-09 18:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:51:03] Production.INFO: ==15963== Lock acquired, processing the job... [2025-03-09 18:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 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-09 18:51:03] Production.INFO: count ==13 [2025-03-09 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-09 18:51:03] Production.INFO: ==15965== Releasing lock... [2025-03-09 18:51:03] Production.INFO: ==15967== Lock acquired, processing the job... [2025-03-09 18:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:51:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:51:03] Production.INFO: count ==21 [2025-03-09 18:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644122') start [2025-03-09 18:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:51:03] Production.INFO: ==15969== Lock acquired, processing the job... [2025-03-09 18:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644122') end [2025-03-09 18:51:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:51:03] Production.INFO: 1 [2025-03-09 18:51:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:51:03] Production.INFO: ==15971== Lock acquired, processing the job... [2025-03-09 18:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:51:03] Production.INFO: ==15973== Releasing lock... [2025-03-09 18:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:51:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:51:03] Production.INFO: Account Balance Start. [2025-03-09 18:51:03] Production.INFO: CreateAllLog Start [2025-03-09 18:51:03] Production.INFO: 117 [2025-03-09 18:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:51:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:51:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:51:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:51:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:51:04] Production.INFO: Total Charge 0 [2025-03-09 18:51:04] Production.INFO: CreateAllLog End [2025-03-09 18:51:04] Production.ERROR: done [2025-03-09 18:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:51:04] Production.ERROR: done [2025-03-09 18:51:04] Production.INFO: Account Balance End. [2025-03-09 18:51:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:51:04] Production.INFO: ==15969== Releasing lock... [2025-03-09 18:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:51:05 [end_date_ymd] => 2025-03-09 18:51:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:51:05' and `end` < '2025-03-09 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-09 18:51:13] Production.ERROR: CronJobId end10 [2025-03-09 18:51:13] Production.INFO: ==15967== Releasing lock... [2025-03-09 18:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:51:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:51:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:51:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:51:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:51:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:51:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:51:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:51:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:51:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:51:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:51:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:51:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:51:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:51:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:51:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:51:14] Production.INFO: call_cost start [2025-03-09 18:51:14] Production.INFO: call_cost end [2025-03-09 18:51:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:51:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:51:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:51:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:51:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:51:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:51:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:51:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:51:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:51:15] Production.INFO: ==15963== Releasing lock... [2025-03-09 18:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:51:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:51:17] Production.INFO: count ==1292 [2025-03-09 18:51:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:51:05 - End Time 2025-03-09 18:51:05 [2025-03-09 18:51:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644125', 'tblTempUsageDetail_20' ) start [2025-03-09 18:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644125', 'tblTempUsageDetail_20' ) end [2025-03-09 18:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644125', 'tblTempVendorCDR_20' ) start [2025-03-09 18:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644125', 'tblTempVendorCDR_20' ) end [2025-03-09 18:51:17] Production.INFO: ProcessCDR(1,14644125,1,1,2) [2025-03-09 18:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644125', 'tblTempUsageDetail_20' ) start [2025-03-09 18:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644125', 'tblTempUsageDetail_20' ) end [2025-03-09 18:51:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:51:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:51:22] Production.INFO: ==15971== Releasing lock... [2025-03-09 18:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:51:22] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 22:52:02] Production.INFO: ==16029== Lock acquired, processing the job... [2025-03-09 22:52:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:52:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:52:02] Production.INFO: neon service started [2025-03-09 22:52:02] Production.INFO: neon service started [2025-03-09 22:52:02] Production.INFO: ==16029== Releasing lock... [2025-03-09 22:52:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:52:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:52:02] Production.INFO: ==16031== Lock acquired, processing the job... [2025-03-09 18:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:52:02] Production.INFO: ==16031== Releasing lock... [2025-03-09 18:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:52:02] Production.INFO: ==16033== Lock acquired, processing the job... [2025-03-09 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:52:03] Production.INFO: ==16033== Releasing lock... [2025-03-09 22:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:52:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:52:03] Production.INFO: ==16043== Lock acquired, processing the job... [2025-03-09 18:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:52:03] Production.INFO: ==16045== Lock acquired, processing the job... [2025-03-09 18:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:52:03] Production.INFO: ==16035== Lock acquired, processing the job... [2025-03-09 18:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 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-09 18:52:04] Production.INFO: ==16037== Lock acquired, processing the job... [2025-03-09 18:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:52:04] Production.INFO: ==16039== Lock acquired, processing the job... [2025-03-09 18:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:52:04] Production.INFO: count ==13 [2025-03-09 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-09 18:52:04] Production.INFO: count ==21 [2025-03-09 18:52:04] Production.INFO: ==16041== Lock acquired, processing the job... [2025-03-09 18:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644126') start [2025-03-09 18:52:04] Production.ERROR: done [2025-03-09 18:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:52:04] Production.INFO: Account Balance Start. [2025-03-09 18:52:04] Production.INFO: CreateAllLog Start [2025-03-09 18:52:04] Production.INFO: 117 [2025-03-09 18:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644126') end [2025-03-09 18:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:52:04] Production.INFO: 1 [2025-03-09 18:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:52:04] Production.INFO: Date 2025-03-08 [2025-03-09 18:52:04] Production.ERROR: done [2025-03-09 18:52:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:52:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:52:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:52:04] Production.INFO: ==16045== Releasing lock... [2025-03-09 18:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:52:04] Production.INFO: Total Charge 0 [2025-03-09 18:52:04] Production.INFO: CreateAllLog End [2025-03-09 18:52:04] Production.INFO: ==16037== Releasing lock... [2025-03-09 18:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:52:04] Production.INFO: Account Balance End. [2025-03-09 18:52:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:52:04] Production.INFO: ==16041== Releasing lock... [2025-03-09 18:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:52:05 [end_date_ymd] => 2025-03-09 18:52:05 [RateCDR] => 1 ) [2025-03-09 18: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-09 15:52:05' and `end` < '2025-03-09 18: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-09 18:52:11] Production.ERROR: CronJobId end10 [2025-03-09 18:52:11] Production.INFO: ==16039== Releasing lock... [2025-03-09 18:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:52:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:52:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:52:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:52:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:52:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:52:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:52:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:52:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:52:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:52:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:52:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:52:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:52:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:52:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:52:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:52:14] Production.INFO: call_cost start [2025-03-09 18:52:14] Production.INFO: call_cost end [2025-03-09 18:52:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:52:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:52:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:52:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:52:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:52:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:52:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:52:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:52:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:52:15] Production.INFO: ==16035== Releasing lock... [2025-03-09 18:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:52:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:52:17] Production.INFO: count ==1287 [2025-03-09 18:52:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:52:05 - End Time 2025-03-09 18:52:05 [2025-03-09 18:52:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644130', 'tblTempUsageDetail_20' ) start [2025-03-09 18:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644130', 'tblTempUsageDetail_20' ) end [2025-03-09 18:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644130', 'tblTempVendorCDR_20' ) start [2025-03-09 18:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644130', 'tblTempVendorCDR_20' ) end [2025-03-09 18:52:17] Production.INFO: ProcessCDR(1,14644130,1,1,2) [2025-03-09 18:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644130', 'tblTempUsageDetail_20' ) start [2025-03-09 18:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644130', 'tblTempUsageDetail_20' ) end [2025-03-09 18:52:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:52:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:52:22] Production.INFO: ==16043== Releasing lock... [2025-03-09 18:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:52:22] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 22:53:01] Production.INFO: ==16100== Lock acquired, processing the job... [2025-03-09 22:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:53:01] Production.INFO: neon service started [2025-03-09 22:53:01] Production.INFO: neon service started [2025-03-09 22:53:01] Production.INFO: ==16100== Releasing lock... [2025-03-09 22:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 22:53:02] Production.INFO: ==16105== Lock acquired, processing the job... [2025-03-09 22:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:53:02] Production.INFO: ==16105== Releasing lock... [2025-03-09 22:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:53:02] Production.INFO: ==16103== Lock acquired, processing the job... [2025-03-09 18:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:53:02] Production.INFO: ==16103== Releasing lock... [2025-03-09 18:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:53:03] Production.INFO: ==16108== Lock acquired, processing the job... [2025-03-09 18:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:53:03] Production.INFO: ==16112== Lock acquired, processing the job... [2025-03-09 18:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:53:03] Production.INFO: ==16110== Lock acquired, processing the job... [2025-03-09 18:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:53:03] Production.INFO: ==16110== Releasing lock... [2025-03-09 18:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:53:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:53:03] Production.INFO: ==16114== Lock acquired, processing the job... [2025-03-09 18:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:53:03] Production.INFO: ==16116== Lock acquired, processing the job... [2025-03-09 18:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:53:03] Production.INFO: Account Balance Start. [2025-03-09 18:53:03] Production.INFO: CreateAllLog Start [2025-03-09 18:53:03] Production.INFO: 117 [2025-03-09 18:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:53:03] Production.INFO: ==16118== Lock acquired, processing the job... [2025-03-09 18:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:53:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:53:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:53:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:53:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:53:03] Production.INFO: Total Charge 0 [2025-03-09 18:53:03] Production.INFO: CreateAllLog End [2025-03-09 18: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-09 18:53:04] Production.INFO: count ==13 [2025-03-09 18: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-09 18:53:04] Production.INFO: count ==21 [2025-03-09 18:53:04] Production.ERROR: done [2025-03-09 18:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644134') start [2025-03-09 18:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:53:04] Production.INFO: Account Balance End. [2025-03-09 18:53:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:53:04] Production.INFO: ==16114== Releasing lock... [2025-03-09 18:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:53:04] Production.ERROR: done [2025-03-09 18:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644134') end [2025-03-09 18:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:53:04] Production.INFO: 1 [2025-03-09 18:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:53:04] Production.INFO: ==16118== Releasing lock... [2025-03-09 18:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:53:05 [end_date_ymd] => 2025-03-09 18:53:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:53:05' and `end` < '2025-03-09 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-09 18:53:12] Production.ERROR: CronJobId end10 [2025-03-09 18:53:12] Production.INFO: ==16112== Releasing lock... [2025-03-09 18:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:53:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:53:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:53:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:53:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:53:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:53:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:53:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:53:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:53:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:53:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:53:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:53:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:53:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:53:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:53:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:53:15] Production.INFO: call_cost start [2025-03-09 18:53:15] Production.INFO: call_cost end [2025-03-09 18:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:53:16] Production.INFO: ==16108== Releasing lock... [2025-03-09 18:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:53:17] Production.INFO: count ==1285 [2025-03-09 18:53:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:53:05 - End Time 2025-03-09 18:53:05 [2025-03-09 18:53:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644135', 'tblTempUsageDetail_20' ) start [2025-03-09 18:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644135', 'tblTempUsageDetail_20' ) end [2025-03-09 18:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644135', 'tblTempVendorCDR_20' ) start [2025-03-09 18:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644135', 'tblTempVendorCDR_20' ) end [2025-03-09 18:53:18] Production.INFO: ProcessCDR(1,14644135,1,1,2) [2025-03-09 18:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644135', 'tblTempUsageDetail_20' ) start [2025-03-09 18:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644135', 'tblTempUsageDetail_20' ) end [2025-03-09 18:53:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:53:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:53:22] Production.INFO: ==16116== Releasing lock... [2025-03-09 18:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:53:22] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 22:54:02] Production.INFO: ==16171== Lock acquired, processing the job... [2025-03-09 22:54:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:54:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:54:02] Production.INFO: neon service started [2025-03-09 22:54:02] Production.INFO: neon service started [2025-03-09 22:54:02] Production.INFO: ==16171== Releasing lock... [2025-03-09 22:54:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:54:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:54:02] Production.INFO: ==16173== Lock acquired, processing the job... [2025-03-09 18:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:54:02] Production.INFO: ==16173== Releasing lock... [2025-03-09 18:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:54:02] Production.INFO: ==16175== Lock acquired, processing the job... [2025-03-09 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:54:02] Production.INFO: ==16175== Releasing lock... [2025-03-09 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:54:03] Production.INFO: ==16186== Lock acquired, processing the job... [2025-03-09 18:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:54:03] Production.ERROR: done [2025-03-09 18:54:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:54:03] Production.ERROR: done [2025-03-09 18:54:04] Production.INFO: ==16178== Lock acquired, processing the job... [2025-03-09 18:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:54:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:54:04] Production.INFO: ==16180== Lock acquired, processing the job... [2025-03-09 18:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:54:04] Production.INFO: ==16182== Lock acquired, processing the job... [2025-03-09 18:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:54:04] Production.INFO: ==16184== Lock acquired, processing the job... [2025-03-09 18:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:54:04] Production.INFO: ==16188== Lock acquired, processing the job... [2025-03-09 18:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:54:04] Production.INFO: Account Balance Start. [2025-03-09 18:54:04] Production.INFO: CreateAllLog Start [2025-03-09 18:54:04] Production.INFO: 117 [2025-03-09 18:54:04] Production.INFO: Date 2025-03-08 [2025-03-09 18:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 18: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-09 18:54:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:54:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:54:04] Production.INFO: count ==13 [2025-03-09 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-09 18:54:04] Production.INFO: count ==21 [2025-03-09 18:54:04] Production.INFO: Total Charge 0 [2025-03-09 18:54:04] Production.INFO: ==16180== Releasing lock... [2025-03-09 18:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644140') start [2025-03-09 18:54:04] Production.INFO: CreateAllLog End [2025-03-09 18:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644140') end [2025-03-09 18:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:54:04] Production.INFO: 1 [2025-03-09 18:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:54:04] Production.INFO: Account Balance End. [2025-03-09 18:54:04] Production.INFO: ==16188== Releasing lock... [2025-03-09 18:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:54:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:54:04] Production.INFO: ==16184== Releasing lock... [2025-03-09 18:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:54:05 [end_date_ymd] => 2025-03-09 18:54:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:54:05' and `end` < '2025-03-09 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-09 18:54:13] Production.ERROR: CronJobId end10 [2025-03-09 18:54:13] Production.INFO: ==16182== Releasing lock... [2025-03-09 18:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:54:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:54:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:54:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:54:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:54:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:54:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:54:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:54:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:54:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:54:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:54:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:54:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:54:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:54:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:54:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:54:15] Production.INFO: call_cost start [2025-03-09 18:54:15] Production.INFO: call_cost end [2025-03-09 18:54:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:54:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:54:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:54:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:54:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:54:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:54:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:54:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:54:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:54:16] Production.INFO: ==16178== Releasing lock... [2025-03-09 18:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:54:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:54:17] Production.INFO: count ==1283 [2025-03-09 18:54:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:54:05 - End Time 2025-03-09 18:54:05 [2025-03-09 18:54:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644136', 'tblTempUsageDetail_20' ) start [2025-03-09 18:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644136', 'tblTempUsageDetail_20' ) end [2025-03-09 18:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644136', 'tblTempVendorCDR_20' ) start [2025-03-09 18:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644136', 'tblTempVendorCDR_20' ) end [2025-03-09 18:54:17] Production.INFO: ProcessCDR(1,14644136,1,1,2) [2025-03-09 18:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:54:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644136', 'tblTempUsageDetail_20' ) start [2025-03-09 18:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644136', 'tblTempUsageDetail_20' ) end [2025-03-09 18:54:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:54:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:54:20] Production.INFO: ==16186== Releasing lock... [2025-03-09 18:54:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:54:20] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 22:55:01] Production.INFO: ==16244== Lock acquired, processing the job... [2025-03-09 22:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:55:01] Production.INFO: neon service started [2025-03-09 22:55:01] Production.INFO: neon service started [2025-03-09 22:55:01] Production.INFO: ==16244== Releasing lock... [2025-03-09 22:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:55:02] Production.INFO: ==16246== Lock acquired, processing the job... [2025-03-09 18:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:55:02] Production.INFO: ==16248== Lock acquired, processing the job... [2025-03-09 22:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:55:02] Production.INFO: ==16248== Releasing lock... [2025-03-09 22:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:55:02] Production.INFO: ==16246== Releasing lock... [2025-03-09 18:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:55:03] Production.INFO: ==16251== Lock acquired, processing the job... [2025-03-09 18:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:55:03] Production.INFO: ==16253== Lock acquired, processing the job... [2025-03-09 18:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:55:03] Production.INFO: ==16261== Lock acquired, processing the job... [2025-03-09 18:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18: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-09 18:55:03] Production.INFO: ==16255== Lock acquired, processing the job... [2025-03-09 18:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:55:03] Production.INFO: count ==13 [2025-03-09 18:55:03] Production.INFO: ==16257== Lock acquired, processing the job... [2025-03-09 18:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18: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-09 18:55:03] Production.INFO: count ==21 [2025-03-09 18:55:03] Production.INFO: ==16259== Lock acquired, processing the job... [2025-03-09 18:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644142') start [2025-03-09 18:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644142') end [2025-03-09 18:55:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:55:03] Production.INFO: 1 [2025-03-09 18:55:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:55:03] Production.INFO: ==16253== Releasing lock... [2025-03-09 18:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:55:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:55:04] Production.INFO: Account Balance Start. [2025-03-09 18:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:55:04] Production.INFO: CreateAllLog Start [2025-03-09 18:55:04] Production.INFO: 117 [2025-03-09 18:55:04] Production.INFO: ==16261== Releasing lock... [2025-03-09 18:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:55:04] Production.INFO: Date 2025-03-08 [2025-03-09 18:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:55:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:55:04] Production.INFO: Total Charge 0 [2025-03-09 18:55:04] Production.INFO: CreateAllLog End [2025-03-09 18:55:04] Production.ERROR: done [2025-03-09 18:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:55:04] Production.INFO: Account Balance End. [2025-03-09 18:55:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:55:04] Production.INFO: ==16257== Releasing lock... [2025-03-09 18:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:55:04] Production.ERROR: done [2025-03-09 18:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:55:05 [end_date_ymd] => 2025-03-09 18:55:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:55:05' and `end` < '2025-03-09 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-09 18:55:12] Production.ERROR: CronJobId end10 [2025-03-09 18:55:12] Production.INFO: ==16255== Releasing lock... [2025-03-09 18:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:55:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:55:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:55:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:55:15] Production.INFO: call_cost start [2025-03-09 18:55:15] Production.INFO: call_cost end [2025-03-09 18:55:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:55:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:55:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:55:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:55:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:55:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:55:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:55:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:55:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:55:16] Production.INFO: ==16251== Releasing lock... [2025-03-09 18:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:55:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:55:17] Production.INFO: count ==1279 [2025-03-09 18:55:18] Production.ERROR: pbx CDR StartTime 2025-03-09 15:55:05 - End Time 2025-03-09 18:55:05 [2025-03-09 18:55:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644145', 'tblTempUsageDetail_20' ) start [2025-03-09 18:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644145', 'tblTempUsageDetail_20' ) end [2025-03-09 18:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644145', 'tblTempVendorCDR_20' ) start [2025-03-09 18:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644145', 'tblTempVendorCDR_20' ) end [2025-03-09 18:55:18] Production.INFO: ProcessCDR(1,14644145,1,1,2) [2025-03-09 18:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644145', 'tblTempUsageDetail_20' ) start [2025-03-09 18:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644145', 'tblTempUsageDetail_20' ) end [2025-03-09 18:55:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:55:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:55:21] Production.INFO: ==16259== Releasing lock... [2025-03-09 18:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:55:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 22:56:01] Production.INFO: ==16318== Lock acquired, processing the job... [2025-03-09 22:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:56:01] Production.INFO: neon service started [2025-03-09 22:56:02] Production.INFO: neon service started [2025-03-09 22:56:02] Production.INFO: ==16318== Releasing lock... [2025-03-09 22:56:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:56:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:56:02] Production.INFO: ==16320== Lock acquired, processing the job... [2025-03-09 18:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:56:02] Production.INFO: ==16320== Releasing lock... [2025-03-09 18:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:56:02] Production.INFO: ==16322== Lock acquired, processing the job... [2025-03-09 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:56:02] Production.INFO: ==16322== Releasing lock... [2025-03-09 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:56:03] Production.INFO: ==16324== Lock acquired, processing the job... [2025-03-09 18:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:56:03] Production.INFO: ==16326== Lock acquired, processing the job... [2025-03-09 18:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:56:03] Production.INFO: ==16328== Lock acquired, processing the job... [2025-03-09 18:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:56:03] Production.INFO: ==16335== Lock acquired, processing the job... [2025-03-09 18:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:56:03] Production.INFO: ==16331== Lock acquired, processing the job... [2025-03-09 18:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 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-09 18:56:03] Production.INFO: ==16333== Lock acquired, processing the job... [2025-03-09 18:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:56:03] Production.INFO: count ==13 [2025-03-09 18:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18: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-09 18:56:03] Production.INFO: Account Balance Start. [2025-03-09 18:56:03] Production.INFO: CreateAllLog Start [2025-03-09 18:56:03] Production.INFO: count ==21 [2025-03-09 18:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644148') start [2025-03-09 18:56:03] Production.INFO: 117 [2025-03-09 18:56:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:56:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:56:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:56:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644148') end [2025-03-09 18:56:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:56:03] Production.INFO: 1 [2025-03-09 18:56:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:56:03] Production.INFO: Total Charge 0 [2025-03-09 18:56:03] Production.INFO: CreateAllLog End [2025-03-09 18:56:03] Production.INFO: ==16335== Releasing lock... [2025-03-09 18:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:56:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:56:04] Production.INFO: ==16326== Releasing lock... [2025-03-09 18:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:56:04] Production.ERROR: done [2025-03-09 18:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:56:04] Production.INFO: Account Balance End. [2025-03-09 18:56:04] Production.ERROR: done [2025-03-09 18:56:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:56:04] Production.INFO: ==16331== Releasing lock... [2025-03-09 18:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:56:05 [end_date_ymd] => 2025-03-09 18:56:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:56:05' and `end` < '2025-03-09 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-09 18:56:12] Production.ERROR: CronJobId end10 [2025-03-09 18:56:12] Production.INFO: ==16328== Releasing lock... [2025-03-09 18:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:56:14] Production.INFO: call_cost start [2025-03-09 18:56:14] Production.INFO: call_cost end [2025-03-09 18:56:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:56:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:56:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:56:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:56:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:56:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:56:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:56:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:56:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:56:15] Production.INFO: ==16324== Releasing lock... [2025-03-09 18:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:56:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:56:17] Production.INFO: count ==1274 [2025-03-09 18:56:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:56:05 - End Time 2025-03-09 18:56:05 [2025-03-09 18:56:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644150', 'tblTempUsageDetail_20' ) start [2025-03-09 18:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644150', 'tblTempUsageDetail_20' ) end [2025-03-09 18:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644150', 'tblTempVendorCDR_20' ) start [2025-03-09 18:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644150', 'tblTempVendorCDR_20' ) end [2025-03-09 18:56:17] Production.INFO: ProcessCDR(1,14644150,1,1,2) [2025-03-09 18:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:56:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644150', 'tblTempUsageDetail_20' ) start [2025-03-09 18:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644150', 'tblTempUsageDetail_20' ) end [2025-03-09 18:56:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:56:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:56:20] Production.INFO: ==16333== Releasing lock... [2025-03-09 18:56:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:56:20] Production.INFO: 37.25 MB #Memory Used# [2025-03-09 22:57:01] Production.INFO: ==16392== Lock acquired, processing the job... [2025-03-09 22:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:57:01] Production.INFO: neon service started [2025-03-09 22:57:01] Production.INFO: neon service started [2025-03-09 22:57:01] Production.INFO: ==16392== Releasing lock... [2025-03-09 22:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:57:01] Production.INFO: ==16394== Lock acquired, processing the job... [2025-03-09 18:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:57:02] Production.INFO: ==16394== Releasing lock... [2025-03-09 18:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:57:02] Production.INFO: ==16396== Lock acquired, processing the job... [2025-03-09 22:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:57:02] Production.INFO: ==16396== Releasing lock... [2025-03-09 22:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:57:02] Production.INFO: ==16398== Lock acquired, processing the job... [2025-03-09 18:57:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:57:02] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:57:02] Production.INFO: ==16400== Lock acquired, processing the job... [2025-03-09 18:57:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:57:02] Production.INFO: ==16404== Lock acquired, processing the job... [2025-03-09 18:57:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:57:03] Production.INFO: Account Balance Start. [2025-03-09 18:57:03] Production.INFO: CreateAllLog Start [2025-03-09 18:57:03] Production.INFO: 117 [2025-03-09 18:57:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:57:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:57:03] Production.INFO: Total Charge 0 [2025-03-09 18:57:03] Production.INFO: CreateAllLog End [2025-03-09 18:57:03] Production.INFO: ==16402== Lock acquired, processing the job... [2025-03-09 18:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:57:03] Production.INFO: ==16400== Releasing lock... [2025-03-09 18:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:57:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:57:03] Production.INFO: Account Balance End. [2025-03-09 18:57:03] Production.INFO: ==16406== Lock acquired, processing the job... [2025-03-09 18:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:57:03] Production.ERROR: CronJobId end 12 [2025-03-09 18:57:03] Production.INFO: ==16404== Releasing lock... [2025-03-09 18:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:57:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:57:03] Production.INFO: ==16408== Lock acquired, processing the job... [2025-03-09 18:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18: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-09 18:57:03] Production.INFO: count ==13 [2025-03-09 18: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-09 18:57:03] Production.INFO: count ==21 [2025-03-09 18:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644154') start [2025-03-09 18:57:03] Production.ERROR: done [2025-03-09 18:57:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644154') end [2025-03-09 18:57:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:57:03] Production.INFO: 1 [2025-03-09 18:57:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:57:04] Production.INFO: ==16408== Releasing lock... [2025-03-09 18:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:57:04] Production.ERROR: done [2025-03-09 18:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:57:05 [end_date_ymd] => 2025-03-09 18:57:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:57:05' and `end` < '2025-03-09 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-09 18:57:11] Production.ERROR: CronJobId end10 [2025-03-09 18:57:11] Production.INFO: ==16402== Releasing lock... [2025-03-09 18:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:57:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:57:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:57:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:57:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:57:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:57:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:57:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:57:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:57:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:57:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:57:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:57:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:57:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:57:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:57:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:57:13] Production.INFO: call_cost start [2025-03-09 18:57:13] Production.INFO: call_cost end [2025-03-09 18:57:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:57:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:57:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:57:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:57:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:57:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:57:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:57:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:57:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:57:14] Production.INFO: ==16398== Releasing lock... [2025-03-09 18:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:57:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:57:17] Production.INFO: count ==1272 [2025-03-09 18:57:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:57:05 - End Time 2025-03-09 18:57:05 [2025-03-09 18:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644155', 'tblTempUsageDetail_20' ) start [2025-03-09 18:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644155', 'tblTempUsageDetail_20' ) end [2025-03-09 18:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644155', 'tblTempVendorCDR_20' ) start [2025-03-09 18:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644155', 'tblTempVendorCDR_20' ) end [2025-03-09 18:57:17] Production.INFO: ProcessCDR(1,14644155,1,1,2) [2025-03-09 18:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644155', 'tblTempUsageDetail_20' ) start [2025-03-09 18:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644155', 'tblTempUsageDetail_20' ) end [2025-03-09 18:57:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:57:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:57:22] Production.INFO: ==16406== Releasing lock... [2025-03-09 18:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:57:22] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 22:58:01] Production.INFO: ==16505== Lock acquired, processing the job... [2025-03-09 22:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:58:01] Production.INFO: neon service started [2025-03-09 22:58:01] Production.INFO: neon service started [2025-03-09 22:58:01] Production.INFO: ==16505== Releasing lock... [2025-03-09 22:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 22:58:02] Production.INFO: ==16509== Lock acquired, processing the job... [2025-03-09 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 22:58:02] Production.INFO: ==16509== Releasing lock... [2025-03-09 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:58:02] Production.INFO: ==16507== Lock acquired, processing the job... [2025-03-09 18:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 18:58:02] Production.INFO: ==16507== Releasing lock... [2025-03-09 18:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 18:58:03] Production.INFO: ==16518== Lock acquired, processing the job... [2025-03-09 18:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:58:03] Production.INFO: ==16522== Lock acquired, processing the job... [2025-03-09 18:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:58:03] Production.INFO: Account Balance Start. [2025-03-09 18:58:03] Production.INFO: CreateAllLog Start [2025-03-09 18:58:03] Production.INFO: 117 [2025-03-09 18:58:03] Production.INFO: Date 2025-03-08 [2025-03-09 18:58:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:58:03] Production.INFO: ==16512== Lock acquired, processing the job... [2025-03-09 18:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:58:03] Production.INFO: Date 2025-03-09 [2025-03-09 18:58:03] Production.INFO: Reseller ==> 0 [2025-03-09 18:58:03] Production.INFO: Total Charge 0 [2025-03-09 18:58:03] Production.INFO: ==16514== Lock acquired, processing the job... [2025-03-09 18:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:58:03] Production.INFO: CreateAllLog End [2025-03-09 18: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-09 18:58:03] Production.INFO: count ==13 [2025-03-09 18:58:03] Production.INFO: ==16516== Lock acquired, processing the job... [2025-03-09 18:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18: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-09 18:58:03] Production.INFO: count ==21 [2025-03-09 18:58:03] Production.INFO: Account Balance End. [2025-03-09 18:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644157') start [2025-03-09 18:58:03] Production.INFO: ==16520== Lock acquired, processing the job... [2025-03-09 18:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:58:03] Production.ERROR: CronJobId end 12 [2025-03-09 18:58:03] Production.INFO: ==16518== Releasing lock... [2025-03-09 18:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:58:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644157') end [2025-03-09 18:58:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:58:03] Production.INFO: 1 [2025-03-09 18:58:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:58:04] Production.INFO: ==16522== Releasing lock... [2025-03-09 18:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:58:04] Production.INFO: ==16514== Releasing lock... [2025-03-09 18:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:58:04] Production.ERROR: done [2025-03-09 18:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:58:04] Production.ERROR: done [2025-03-09 18:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:58:05 [end_date_ymd] => 2025-03-09 18:58:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:58:05' and `end` < '2025-03-09 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-09 18:58:11] Production.ERROR: CronJobId end10 [2025-03-09 18:58:11] Production.INFO: ==16516== Releasing lock... [2025-03-09 18:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:58:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:58:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:58:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:58:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:58:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:58:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:58:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:58:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:58:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:58:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:58:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:58:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:58:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:58:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:58:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:58:14] Production.INFO: call_cost start [2025-03-09 18:58:14] Production.INFO: call_cost end [2025-03-09 18:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:58:15] Production.INFO: ==16512== Releasing lock... [2025-03-09 18:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:58:17] Production.INFO: count ==1291 [2025-03-09 18:58:17] Production.ERROR: pbx CDR StartTime 2025-03-09 15:58:05 - End Time 2025-03-09 18:58:05 [2025-03-09 18:58:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644160', 'tblTempUsageDetail_20' ) start [2025-03-09 18:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644160', 'tblTempUsageDetail_20' ) end [2025-03-09 18:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644160', 'tblTempVendorCDR_20' ) start [2025-03-09 18:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644160', 'tblTempVendorCDR_20' ) end [2025-03-09 18:58:17] Production.INFO: ProcessCDR(1,14644160,1,1,2) [2025-03-09 18:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:58:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644160', 'tblTempUsageDetail_20' ) start [2025-03-09 18:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644160', 'tblTempUsageDetail_20' ) end [2025-03-09 18:58:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:58:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:58:20] Production.INFO: ==16520== Releasing lock... [2025-03-09 18:58:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:58:20] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 22:59:02] Production.INFO: ==16576== Lock acquired, processing the job... [2025-03-09 22:59:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 22:59:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 22:59:02] Production.INFO: neon service started [2025-03-09 22:59:02] Production.INFO: neon service started [2025-03-09 22:59:02] Production.INFO: ==16576== Releasing lock... [2025-03-09 22:59:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 22:59:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 18:59:02] Production.INFO: ==16578== Lock acquired, processing the job... [2025-03-09 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 22:59:02] Production.INFO: ==16580== Lock acquired, processing the job... [2025-03-09 22:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 18:59:02] Production.INFO: ==16578== Releasing lock... [2025-03-09 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 18:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 22:59:02] Production.INFO: ==16580== Releasing lock... [2025-03-09 22:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 22:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 18:59:03] Production.INFO: ==16583== Lock acquired, processing the job... [2025-03-09 18:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 18:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 18:59:03] Production.INFO: ==16585== Lock acquired, processing the job... [2025-03-09 18:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 18:59:03] Production.INFO: ==16587== Lock acquired, processing the job... [2025-03-09 18:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 18:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 18:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 18:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 18:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 18:59:04] Production.INFO: ==16589== Lock acquired, processing the job... [2025-03-09 18:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 18:59:04] Production.INFO: ==16585== Releasing lock... [2025-03-09 18:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 18:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 18:59:04] Production.INFO: Account Balance Start. [2025-03-09 18:59:04] Production.INFO: CreateAllLog Start [2025-03-09 18:59:04] Production.INFO: 117 [2025-03-09 18:59:04] Production.INFO: ==16591== Lock acquired, processing the job... [2025-03-09 18:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 18:59:04] Production.INFO: ==16593== Lock acquired, processing the job... [2025-03-09 18:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 18:59:04] Production.INFO: Date 2025-03-08 [2025-03-09 18:59:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:59:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 18:59:04] Production.INFO: Date 2025-03-09 [2025-03-09 18:59:04] Production.INFO: Reseller ==> 0 [2025-03-09 18:59:04] Production.INFO: Total Charge 0 [2025-03-09 18:59:04] Production.INFO: CreateAllLog End [2025-03-09 18: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-09 18:59:04] Production.INFO: count ==13 [2025-03-09 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-09 18:59:04] Production.INFO: count ==21 [2025-03-09 18:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644164') start [2025-03-09 18:59:04] Production.ERROR: done [2025-03-09 18:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644164') end [2025-03-09 18:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 18:59:04] Production.INFO: 1 [2025-03-09 18:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 18:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 18:59:04] Production.INFO: Account Balance End. [2025-03-09 18:59:04] Production.INFO: ==16593== Releasing lock... [2025-03-09 18:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 18:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 18:59:04] Production.ERROR: CronJobId end 12 [2025-03-09 18:59:04] Production.INFO: ==16589== Releasing lock... [2025-03-09 18:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 18:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 18:59:04] Production.ERROR: done [2025-03-09 18:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 15:59:05 [end_date_ymd] => 2025-03-09 18:59:05 [RateCDR] => 1 ) [2025-03-09 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-09 15:59:05' and `end` < '2025-03-09 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-09 18:59:11] Production.ERROR: CronJobId end10 [2025-03-09 18:59:11] Production.INFO: ==16587== Releasing lock... [2025-03-09 18:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 18:59:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 18:59:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 18:59:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 18:59:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 18:59:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 18:59:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 18:59:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 18:59:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 18:59:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 18:59:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 18:59:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 18:59:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 18:59:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 18:59:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 18:59:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 18:59:14] Production.INFO: call_cost start [2025-03-09 18:59:14] Production.INFO: call_cost end [2025-03-09 18:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 18:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 18:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 18:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 18:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 18:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 18:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 18:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 18:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 18:59:15] Production.INFO: ==16583== Releasing lock... [2025-03-09 18:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 18:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 18:59:17] Production.INFO: count ==1295 [2025-03-09 18:59:18] Production.ERROR: pbx CDR StartTime 2025-03-09 15:59:05 - End Time 2025-03-09 18:59:05 [2025-03-09 18:59:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 18:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644165', 'tblTempUsageDetail_20' ) start [2025-03-09 18:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644165', 'tblTempUsageDetail_20' ) end [2025-03-09 18:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644165', 'tblTempVendorCDR_20' ) start [2025-03-09 18:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644165', 'tblTempVendorCDR_20' ) end [2025-03-09 18:59:18] Production.INFO: ProcessCDR(1,14644165,1,1,2) [2025-03-09 18:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 18:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 18:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644165', 'tblTempUsageDetail_20' ) start [2025-03-09 18:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644165', 'tblTempUsageDetail_20' ) end [2025-03-09 18:59:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 18:59:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 18:59:23] Production.INFO: ==16591== Releasing lock... [2025-03-09 18:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 18:59:23] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 23:00:01] Production.INFO: ==16647== Lock acquired, processing the job... [2025-03-09 23:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:00:01] Production.INFO: neon service started [2025-03-09 23:00:01] Production.INFO: neon service started [2025-03-09 23:00:01] Production.INFO: ==16647== Releasing lock... [2025-03-09 23:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:00:02] Production.INFO: ==16649== Lock acquired, processing the job... [2025-03-09 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 23:00:02] Production.INFO: ==16651== Lock acquired, processing the job... [2025-03-09 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:00:02] Production.INFO: ==16651== Releasing lock... [2025-03-09 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:00:02] Production.INFO: ==16649== Releasing lock... [2025-03-09 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:00:04] Production.INFO: ==16658== Lock acquired, processing the job... [2025-03-09 19:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:00:04] Production.INFO: ==16654== Lock acquired, processing the job... [2025-03-09 19:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 19:00:04] Production.INFO: ==16656== Lock acquired, processing the job... [2025-03-09 19:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:00:04] Production.INFO: ==16664== Lock acquired, processing the job... [2025-03-09 19:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:00:04] Production.INFO: ==16668== Lock acquired, processing the job... [2025-03-09 19:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 19:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 19:00:04] Production.ERROR: CronJob PID - 16656 [2025-03-09 19:00:04] Production.ERROR: CronJob Title - System Alerts [2025-03-09 19:00:04] Production.ERROR: CronJob ID - 5 [2025-03-09 19:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 19:00:00 [2025-03-09 19:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 19:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 19:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 19:00:04] Production.ERROR: CronJob PID - 16658 [2025-03-09 19:00:04] Production.ERROR: CronJob Title - Account Block [2025-03-09 19:00:04] Production.ERROR: CronJob ID - 7 [2025-03-09 19:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 19:00:00 [2025-03-09 19:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 19:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 19:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 19:00:04] Production.ERROR: CronJob PID - 16664 [2025-03-09 19:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-09 19:00:04] Production.ERROR: CronJob ID - 16 [2025-03-09 19:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 19:00:00 [2025-03-09 19:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 19:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 19:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 19:00:04] Production.INFO: ==16654== Releasing lock... [2025-03-09 19:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 19:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 19:00:04] Production.INFO: ==16660== Lock acquired, processing the job... [2025-03-09 19:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:00:04] Production.INFO: ==16662== Lock acquired, processing the job... [2025-03-09 19:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:00:04] Production.INFO: ==16666== Lock acquired, processing the job... [2025-03-09 19:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 19:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:00:04] Production.INFO: Account Balance Start. [2025-03-09 19:00:04] Production.INFO: CreateAllLog Start [2025-03-09 19:00:04] Production.INFO: 117 [2025-03-09 19:00:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:00:04] Production.INFO: ==16658== Releasing lock... [2025-03-09 19:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 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-09 19:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:00:04] Production.INFO: count ==13 [2025-03-09 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-09 19:00:04] Production.INFO: count ==21 [2025-03-09 19:00:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:00:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644168') start [2025-03-09 19:00:04] Production.INFO: Total Charge 0 [2025-03-09 19:00:04] Production.INFO: CreateAllLog End [2025-03-09 19:00:04] Production.ERROR: done [2025-03-09 19:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644168') end [2025-03-09 19:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:00:04] Production.INFO: 1 [2025-03-09 19:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:00:04] Production.INFO: ==16668== Releasing lock... [2025-03-09 19:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:00:04] Production.ERROR: done [2025-03-09 19:00:04] Production.ERROR: done [2025-03-09 19:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 19:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644171', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 19:00:04] Production.INFO: Account Balance End. [2025-03-09 19:00:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:00:04] Production.INFO: ==16662== Releasing lock... [2025-03-09 19:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:00:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:00:06 [end_date_ymd] => 2025-03-09 19:00:06 [RateCDR] => 1 ) [2025-03-09 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-09 16:00:06' and `end` < '2025-03-09 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-09 19:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644171', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 19:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 19:00:09] Production.INFO: ProcessCDR(1,14644171,1,1,2) [2025-03-09 19:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14644171,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14644171,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:00:09] Production.INFO: ==16666== Releasing lock... [2025-03-09 19:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 19:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 19:00:14] Production.ERROR: CronJobId end10 [2025-03-09 19:00:14] Production.INFO: ==16660== Releasing lock... [2025-03-09 19:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:00:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:00:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:00:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:00:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:00:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:00:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:00:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:00:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:00:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:00:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:00:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:00:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:00:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:00:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:00:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:00:16] Production.INFO: call_cost start [2025-03-09 19:00:16] Production.INFO: call_cost end [2025-03-09 19:00:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:00:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:00:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:00:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:00:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:00:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:00:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:00:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:00:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:00:17] Production.INFO: ==16656== Releasing lock... [2025-03-09 19:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:00:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:00:18] Production.INFO: count ==1295 [2025-03-09 19:00:19] Production.ERROR: pbx CDR StartTime 2025-03-09 16:00:06 - End Time 2025-03-09 19:00:06 [2025-03-09 19:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644170', 'tblTempUsageDetail_20' ) start [2025-03-09 19:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644170', 'tblTempUsageDetail_20' ) end [2025-03-09 19:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644170', 'tblTempVendorCDR_20' ) start [2025-03-09 19:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644170', 'tblTempVendorCDR_20' ) end [2025-03-09 19:00:19] Production.INFO: ProcessCDR(1,14644170,1,1,2) [2025-03-09 19:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644170', 'tblTempUsageDetail_20' ) start [2025-03-09 19:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644170', 'tblTempUsageDetail_20' ) end [2025-03-09 19:00:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:00:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:00:23] Production.INFO: ==16664== Releasing lock... [2025-03-09 19:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:00:23] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 23:01:02] Production.INFO: ==16724== Lock acquired, processing the job... [2025-03-09 23:01:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:01:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:01:02] Production.INFO: neon service started [2025-03-09 23:01:02] Production.INFO: neon service started [2025-03-09 23:01:02] Production.INFO: ==16724== Releasing lock... [2025-03-09 23:01:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:01:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:01:02] Production.INFO: ==16737== Lock acquired, processing the job... [2025-03-09 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:01:02] Production.INFO: ==16737== Releasing lock... [2025-03-09 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:01:02] Production.INFO: ==16739== Lock acquired, processing the job... [2025-03-09 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:01:03] Production.INFO: ==16739== Releasing lock... [2025-03-09 23:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:01:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:01:03] Production.INFO: ==16747== Lock acquired, processing the job... [2025-03-09 19:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:01:03] Production.INFO: ==16751== Lock acquired, processing the job... [2025-03-09 19:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:01:03] Production.INFO: Account Balance Start. [2025-03-09 19:01:03] Production.INFO: CreateAllLog Start [2025-03-09 19:01:03] Production.INFO: 117 [2025-03-09 19:01:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:01:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:01:03] Production.INFO: Date 2025-03-09 [2025-03-09 19:01:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:01:04] Production.INFO: Total Charge 0 [2025-03-09 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-09 19:01:04] Production.INFO: CreateAllLog End [2025-03-09 19:01:04] Production.INFO: count ==13 [2025-03-09 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-09 19:01:04] Production.INFO: count ==21 [2025-03-09 19:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644173') start [2025-03-09 19:01:04] Production.INFO: ==16741== Lock acquired, processing the job... [2025-03-09 19:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644173') end [2025-03-09 19:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:01:04] Production.INFO: 1 [2025-03-09 19:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:01:04] Production.INFO: ==16743== Lock acquired, processing the job... [2025-03-09 19:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:01:04] Production.INFO: ==16745== Lock acquired, processing the job... [2025-03-09 19:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:01:04] Production.INFO: Account Balance End. [2025-03-09 19:01:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:01:04] Production.INFO: ==16747== Releasing lock... [2025-03-09 19:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:01:04] Production.INFO: ==16751== Releasing lock... [2025-03-09 19:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:01:04] Production.INFO: ==16749== Lock acquired, processing the job... [2025-03-09 19:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:01:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:01:04] Production.INFO: ==16743== Releasing lock... [2025-03-09 19:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:01:04] Production.ERROR: done [2025-03-09 19:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:01:04] Production.ERROR: done [2025-03-09 19:01:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:01:06 [end_date_ymd] => 2025-03-09 19:01:06 [RateCDR] => 1 ) [2025-03-09 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-09 16:01:06' and `end` < '2025-03-09 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-09 19:01:12] Production.ERROR: CronJobId end10 [2025-03-09 19:01:12] Production.INFO: ==16745== Releasing lock... [2025-03-09 19:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:01:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:01:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:01:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:01:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:01:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:01:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:01:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:01:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:01:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:01:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:01:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:01:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:01:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:01:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:01:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:01:15] Production.INFO: call_cost start [2025-03-09 19:01:15] Production.INFO: call_cost end [2025-03-09 19:01:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:01:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:01:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:01:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:01:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:01:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:01:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:01:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:01:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:01:16] Production.INFO: ==16741== Releasing lock... [2025-03-09 19:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:01:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:01:18] Production.INFO: count ==1293 [2025-03-09 19:01:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:01:06 - End Time 2025-03-09 19:01:06 [2025-03-09 19:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644176', 'tblTempUsageDetail_20' ) start [2025-03-09 19:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644176', 'tblTempUsageDetail_20' ) end [2025-03-09 19:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644176', 'tblTempVendorCDR_20' ) start [2025-03-09 19:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644176', 'tblTempVendorCDR_20' ) end [2025-03-09 19:01:18] Production.INFO: ProcessCDR(1,14644176,1,1,2) [2025-03-09 19:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644176', 'tblTempUsageDetail_20' ) start [2025-03-09 19:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644176', 'tblTempUsageDetail_20' ) end [2025-03-09 19:01:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:01:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:01:23] Production.INFO: ==16749== Releasing lock... [2025-03-09 19:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:01:23] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 23:02:01] Production.INFO: ==16883== Lock acquired, processing the job... [2025-03-09 23:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:02:01] Production.INFO: neon service started [2025-03-09 23:02:01] Production.INFO: neon service started [2025-03-09 23:02:01] Production.INFO: ==16883== Releasing lock... [2025-03-09 23:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:02:02] Production.INFO: ==16885== Lock acquired, processing the job... [2025-03-09 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 23:02:02] Production.INFO: ==16887== Lock acquired, processing the job... [2025-03-09 23:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:02:02] Production.INFO: ==16887== Releasing lock... [2025-03-09 23:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:02:02] Production.INFO: ==16885== Releasing lock... [2025-03-09 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:02:03] Production.INFO: ==16894== Lock acquired, processing the job... [2025-03-09 19:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:02:03] Production.INFO: ==16890== Lock acquired, processing the job... [2025-03-09 19:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:02:03] Production.INFO: ==16898== Lock acquired, processing the job... [2025-03-09 19:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:02:03] Production.INFO: ==16892== Lock acquired, processing the job... [2025-03-09 19:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:02:03] Production.INFO: ==16896== Lock acquired, processing the job... [2025-03-09 19:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:02:03] Production.INFO: ==16900== Lock acquired, processing the job... [2025-03-09 19:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:02:04] Production.INFO: Account Balance Start. [2025-03-09 19:02:04] Production.INFO: CreateAllLog Start [2025-03-09 19:02:04] Production.INFO: 117 [2025-03-09 19:02:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:02:04] Production.INFO: ==16892== Releasing lock... [2025-03-09 19:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:02:04] Production.INFO: count ==13 [2025-03-09 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-09 19:02:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:02:04] Production.INFO: count ==21 [2025-03-09 19:02:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644180') start [2025-03-09 19:02:04] Production.ERROR: done [2025-03-09 19:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:02:04] Production.INFO: Total Charge 0 [2025-03-09 19:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644180') end [2025-03-09 19:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:02:04] Production.INFO: 1 [2025-03-09 19:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:02:04] Production.INFO: CreateAllLog End [2025-03-09 19:02:04] Production.INFO: ==16900== Releasing lock... [2025-03-09 19:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:02:04] Production.ERROR: done [2025-03-09 19:02:04] Production.INFO: Account Balance End. [2025-03-09 19:02:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:02:04] Production.INFO: ==16896== Releasing lock... [2025-03-09 19:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:02:05 [end_date_ymd] => 2025-03-09 19:02:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:02:05' and `end` < '2025-03-09 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-09 19:02:12] Production.ERROR: CronJobId end10 [2025-03-09 19:02:12] Production.INFO: ==16894== Releasing lock... [2025-03-09 19:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:02:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:02:14] Production.INFO: call_cost start [2025-03-09 19:02:14] Production.INFO: call_cost end [2025-03-09 19:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:02:15] Production.INFO: ==16890== Releasing lock... [2025-03-09 19:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:02:17] Production.INFO: count ==1298 [2025-03-09 19:02:17] Production.ERROR: pbx CDR StartTime 2025-03-09 16:02:05 - End Time 2025-03-09 19:02:05 [2025-03-09 19:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644181', 'tblTempUsageDetail_20' ) start [2025-03-09 19:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644181', 'tblTempUsageDetail_20' ) end [2025-03-09 19:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644181', 'tblTempVendorCDR_20' ) start [2025-03-09 19:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644181', 'tblTempVendorCDR_20' ) end [2025-03-09 19:02:17] Production.INFO: ProcessCDR(1,14644181,1,1,2) [2025-03-09 19:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644181', 'tblTempUsageDetail_20' ) start [2025-03-09 19:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644181', 'tblTempUsageDetail_20' ) end [2025-03-09 19:02:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:02:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:02:22] Production.INFO: ==16898== Releasing lock... [2025-03-09 19:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:02:22] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 23:03:02] Production.INFO: ==16955== Lock acquired, processing the job... [2025-03-09 23:03:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:03:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:03:02] Production.INFO: neon service started [2025-03-09 23:03:02] Production.INFO: neon service started [2025-03-09 23:03:02] Production.INFO: ==16955== Releasing lock... [2025-03-09 23:03:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:03:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:03:02] Production.INFO: ==16958== Lock acquired, processing the job... [2025-03-09 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 23:03:02] Production.INFO: ==16960== Lock acquired, processing the job... [2025-03-09 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:03:02] Production.INFO: ==16960== Releasing lock... [2025-03-09 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:03:03] Production.INFO: ==16958== Releasing lock... [2025-03-09 19:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:03:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:03:03] Production.INFO: ==16968== Lock acquired, processing the job... [2025-03-09 19:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:03:03] Production.INFO: ==16970== Lock acquired, processing the job... [2025-03-09 19:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:03:04] Production.INFO: Account Balance Start. [2025-03-09 19:03:04] Production.INFO: ==16962== Lock acquired, processing the job... [2025-03-09 19:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:03:04] Production.INFO: CreateAllLog Start [2025-03-09 19:03:04] Production.INFO: 117 [2025-03-09 19:03:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:03:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:03:04] Production.INFO: ==16964== Lock acquired, processing the job... [2025-03-09 19:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:03:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:03:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:03:04] Production.INFO: ==16966== Lock acquired, processing the job... [2025-03-09 19:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:03:04] Production.INFO: Total Charge 0 [2025-03-09 19:03:04] Production.INFO: ==16972== Lock acquired, processing the job... [2025-03-09 19:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:03:04] Production.INFO: CreateAllLog End [2025-03-09 19:03:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 19:03:04] Production.ERROR: done [2025-03-09 19:03:04] Production.INFO: count ==13 [2025-03-09 19:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 19:03:04] Production.INFO: ==16964== Releasing lock... [2025-03-09 19:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:03:04] Production.INFO: count ==21 [2025-03-09 19:03:04] Production.INFO: Account Balance End. [2025-03-09 19:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644184') start [2025-03-09 19:03:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:03:04] Production.INFO: ==16968== Releasing lock... [2025-03-09 19:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:03:04] Production.ERROR: done [2025-03-09 19:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644184') end [2025-03-09 19:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:03:04] Production.INFO: 1 [2025-03-09 19:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:03:04] Production.INFO: ==16972== Releasing lock... [2025-03-09 19:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:03:05 [end_date_ymd] => 2025-03-09 19:03:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:03:05' and `end` < '2025-03-09 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-09 19:03:13] Production.ERROR: CronJobId end10 [2025-03-09 19:03:13] Production.INFO: ==16966== Releasing lock... [2025-03-09 19:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:03:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:03:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:03:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:03:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:03:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:03:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:03:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:03:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:03:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:03:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:03:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:03:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:03:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:03:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:03:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:03:15] Production.INFO: call_cost start [2025-03-09 19:03:15] Production.INFO: call_cost end [2025-03-09 19:03:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:03:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:03:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:03:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:03:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:03:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:03:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:03:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:03:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:03:16] Production.INFO: ==16962== Releasing lock... [2025-03-09 19:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:03:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:03:17] Production.INFO: count ==1298 [2025-03-09 19:03:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:03:05 - End Time 2025-03-09 19:03:05 [2025-03-09 19:03:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644186', 'tblTempUsageDetail_20' ) start [2025-03-09 19:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644186', 'tblTempUsageDetail_20' ) end [2025-03-09 19:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644186', 'tblTempVendorCDR_20' ) start [2025-03-09 19:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644186', 'tblTempVendorCDR_20' ) end [2025-03-09 19:03:18] Production.INFO: ProcessCDR(1,14644186,1,1,2) [2025-03-09 19:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644186', 'tblTempUsageDetail_20' ) start [2025-03-09 19:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644186', 'tblTempUsageDetail_20' ) end [2025-03-09 19:03:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:03:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:03:21] Production.INFO: ==16970== Releasing lock... [2025-03-09 19:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:03:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 23:04:01] Production.INFO: ==17026== Lock acquired, processing the job... [2025-03-09 23:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:04:01] Production.INFO: neon service started [2025-03-09 23:04:01] Production.INFO: neon service started [2025-03-09 23:04:01] Production.INFO: ==17026== Releasing lock... [2025-03-09 23:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:04:01] Production.INFO: ==17028== Lock acquired, processing the job... [2025-03-09 19:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:04:02] Production.INFO: ==17028== Releasing lock... [2025-03-09 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:04:02] Production.INFO: ==17030== Lock acquired, processing the job... [2025-03-09 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:04:02] Production.INFO: ==17030== Releasing lock... [2025-03-09 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:04:03] Production.INFO: ==17039== Lock acquired, processing the job... [2025-03-09 19:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:04:03] Production.INFO: ==17041== Lock acquired, processing the job... [2025-03-09 19:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:04:03] Production.INFO: ==17033== Lock acquired, processing the job... [2025-03-09 19:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:04:03] Production.INFO: Account Balance Start. [2025-03-09 19:04:03] Production.INFO: CreateAllLog Start [2025-03-09 19:04:03] Production.INFO: 117 [2025-03-09 19:04:03] Production.INFO: ==17035== Lock acquired, processing the job... [2025-03-09 19:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:04:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:04:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:04:03] Production.INFO: ==17037== Lock acquired, processing the job... [2025-03-09 19:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:04:03] Production.INFO: ==17043== Lock acquired, processing the job... [2025-03-09 19:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:04:03] Production.INFO: Date 2025-03-09 [2025-03-09 19:04:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:04:03] Production.INFO: Total Charge 0 [2025-03-09 19:04:03] Production.INFO: CreateAllLog End [2025-03-09 19:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 19:04:03] Production.INFO: count ==13 [2025-03-09 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-09 19:04:03] Production.INFO: count ==21 [2025-03-09 19:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644189') start [2025-03-09 19:04:03] Production.ERROR: done [2025-03-09 19:04:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644189') end [2025-03-09 19:04:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:04:03] Production.INFO: 1 [2025-03-09 19:04:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:04:03] Production.INFO: Account Balance End. [2025-03-09 19:04:03] Production.ERROR: done [2025-03-09 19:04:03] Production.INFO: ==17043== Releasing lock... [2025-03-09 19:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:04:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:04:03] Production.ERROR: CronJobId end 12 [2025-03-09 19:04:03] Production.INFO: ==17039== Releasing lock... [2025-03-09 19:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:04:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:04:03] Production.INFO: ==17035== Releasing lock... [2025-03-09 19:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:04:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:04:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:04:04 [end_date_ymd] => 2025-03-09 19:04:04 [RateCDR] => 1 ) [2025-03-09 19: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-09 16:04:04' and `end` < '2025-03-09 19: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-09 19:04:12] Production.ERROR: CronJobId end10 [2025-03-09 19:04:12] Production.INFO: ==17037== Releasing lock... [2025-03-09 19:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:04:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:04:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:04:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:04:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:04:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:04:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:04:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:04:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:04:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:04:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:04:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:04:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:04:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:04:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:04:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:04:14] Production.INFO: call_cost start [2025-03-09 19:04:14] Production.INFO: call_cost end [2025-03-09 19:04:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:04:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:04:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:04:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:04:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:04:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:04:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:04:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:04:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:04:14] Production.INFO: ==17033== Releasing lock... [2025-03-09 19:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:04:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:04:17] Production.INFO: count ==1300 [2025-03-09 19:04:17] Production.ERROR: pbx CDR StartTime 2025-03-09 16:04:04 - End Time 2025-03-09 19:04:04 [2025-03-09 19:04:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644191', 'tblTempUsageDetail_20' ) start [2025-03-09 19:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644191', 'tblTempUsageDetail_20' ) end [2025-03-09 19:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644191', 'tblTempVendorCDR_20' ) start [2025-03-09 19:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644191', 'tblTempVendorCDR_20' ) end [2025-03-09 19:04:17] Production.INFO: ProcessCDR(1,14644191,1,1,2) [2025-03-09 19:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644191', 'tblTempUsageDetail_20' ) start [2025-03-09 19:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644191', 'tblTempUsageDetail_20' ) end [2025-03-09 19:04:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:04:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:04:22] Production.INFO: ==17041== Releasing lock... [2025-03-09 19:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:04:22] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 23:05:01] Production.INFO: ==17179== Lock acquired, processing the job... [2025-03-09 23:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:05:01] Production.INFO: neon service started [2025-03-09 23:05:01] Production.INFO: neon service started [2025-03-09 23:05:01] Production.INFO: ==17179== Releasing lock... [2025-03-09 23:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 23:05:02] Production.INFO: ==17183== Lock acquired, processing the job... [2025-03-09 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:05:02] Production.INFO: ==17183== Releasing lock... [2025-03-09 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:05:02] Production.INFO: 26 MB #Memory Used# [2025-03-09 19:05:02] Production.INFO: ==17181== Lock acquired, processing the job... [2025-03-09 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:05:02] Production.INFO: ==17181== Releasing lock... [2025-03-09 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:05:03] Production.INFO: ==17188== Lock acquired, processing the job... [2025-03-09 19:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:05:03] Production.INFO: ==17194== Lock acquired, processing the job... [2025-03-09 19:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:05:03] Production.INFO: ==17188== Releasing lock... [2025-03-09 19:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:05:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:05:03] Production.INFO: ==17196== Lock acquired, processing the job... [2025-03-09 19:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:05:03] Production.INFO: ==17186== Lock acquired, processing the job... [2025-03-09 19:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:05:03] Production.INFO: ==17192== Lock acquired, processing the job... [2025-03-09 19:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:05:03] Production.INFO: ==17190== Lock acquired, processing the job... [2025-03-09 19:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:05:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:05:04] Production.INFO: count ==13 [2025-03-09 19:05:04] Production.INFO: Account Balance Start. [2025-03-09 19:05:04] Production.INFO: CreateAllLog Start [2025-03-09 19:05:04] Production.INFO: 117 [2025-03-09 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-09 19:05:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:05:04] Production.INFO: count ==21 [2025-03-09 19:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644193') start [2025-03-09 19:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:05:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:05:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:05:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:05:04] Production.INFO: Total Charge 0 [2025-03-09 19:05:04] Production.INFO: CreateAllLog End [2025-03-09 19:05:04] Production.ERROR: done [2025-03-09 19:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644193') end [2025-03-09 19:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:05:04] Production.INFO: 1 [2025-03-09 19:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:05:04] Production.ERROR: done [2025-03-09 19:05:04] Production.INFO: ==17196== Releasing lock... [2025-03-09 19:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:05:04] Production.INFO: Account Balance End. [2025-03-09 19:05:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:05:04] Production.INFO: ==17192== Releasing lock... [2025-03-09 19:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:05:05 [end_date_ymd] => 2025-03-09 19:05:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:05:05' and `end` < '2025-03-09 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-09 19:05:12] Production.ERROR: CronJobId end10 [2025-03-09 19:05:12] Production.INFO: ==17190== Releasing lock... [2025-03-09 19:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:05:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:05:14] Production.INFO: call_cost start [2025-03-09 19:05:14] Production.INFO: call_cost end [2025-03-09 19:05:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:05:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:05:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:05:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:05:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:05:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:05:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:05:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:05:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:05:15] Production.INFO: ==17186== Releasing lock... [2025-03-09 19:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:05:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:05:17] Production.INFO: count ==1303 [2025-03-09 19:05:17] Production.ERROR: pbx CDR StartTime 2025-03-09 16:05:05 - End Time 2025-03-09 19:05:05 [2025-03-09 19:05:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644196', 'tblTempUsageDetail_20' ) start [2025-03-09 19:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644196', 'tblTempUsageDetail_20' ) end [2025-03-09 19:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644196', 'tblTempVendorCDR_20' ) start [2025-03-09 19:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644196', 'tblTempVendorCDR_20' ) end [2025-03-09 19:05:17] Production.INFO: ProcessCDR(1,14644196,1,1,2) [2025-03-09 19:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644196', 'tblTempUsageDetail_20' ) start [2025-03-09 19:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644196', 'tblTempUsageDetail_20' ) end [2025-03-09 19:05:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:05:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:05:21] Production.INFO: ==17194== Releasing lock... [2025-03-09 19:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:05:21] Production.INFO: 37.5 MB #Memory Used# [2025-03-09 23:06:01] Production.INFO: ==17249== Lock acquired, processing the job... [2025-03-09 23:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:06:01] Production.INFO: neon service started [2025-03-09 23:06:01] Production.INFO: neon service started [2025-03-09 23:06:01] Production.INFO: ==17249== Releasing lock... [2025-03-09 23:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:06:02] Production.INFO: ==17251== Lock acquired, processing the job... [2025-03-09 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 23:06:02] Production.INFO: ==17253== Lock acquired, processing the job... [2025-03-09 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:06:02] Production.INFO: ==17253== Releasing lock... [2025-03-09 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:06:02] Production.INFO: ==17251== Releasing lock... [2025-03-09 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:06:03] Production.INFO: ==17262== Lock acquired, processing the job... [2025-03-09 19:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:06:03] Production.INFO: ==17264== Lock acquired, processing the job... [2025-03-09 19:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:06:03] Production.INFO: Account Balance Start. [2025-03-09 19:06:03] Production.INFO: CreateAllLog Start [2025-03-09 19:06:03] Production.INFO: 117 [2025-03-09 19:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:06:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:06:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:06:03] Production.INFO: Date 2025-03-09 [2025-03-09 19:06:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:06:03] Production.INFO: Total Charge 0 [2025-03-09 19:06:03] Production.INFO: CreateAllLog End [2025-03-09 19:06:03] Production.INFO: ==17256== Lock acquired, processing the job... [2025-03-09 19:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:06:03] Production.INFO: ==17258== Lock acquired, processing the job... [2025-03-09 19:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:06:03] Production.INFO: ==17260== Lock acquired, processing the job... [2025-03-09 19:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:06:03] Production.INFO: ==17266== Lock acquired, processing the job... [2025-03-09 19:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:06:03] Production.INFO: Account Balance End. [2025-03-09 19:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:06:03] Production.ERROR: CronJobId end 12 [2025-03-09 19:06:03] Production.INFO: ==17262== Releasing lock... [2025-03-09 19:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:06:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:06:03] Production.ERROR: done [2025-03-09 19:06:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 19:06:03] Production.INFO: count ==13 [2025-03-09 19:06:04] Production.INFO: ==17258== Releasing lock... [2025-03-09 19:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:06:04] Production.INFO: count ==21 [2025-03-09 19:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644200') start [2025-03-09 19:06:04] Production.ERROR: done [2025-03-09 19:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644200') end [2025-03-09 19:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:06:04] Production.INFO: 1 [2025-03-09 19:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:06:04] Production.INFO: ==17266== Releasing lock... [2025-03-09 19:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:06:05 [end_date_ymd] => 2025-03-09 19:06:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:06:05' and `end` < '2025-03-09 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-09 19:06:11] Production.ERROR: CronJobId end10 [2025-03-09 19:06:11] Production.INFO: ==17260== Releasing lock... [2025-03-09 19:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:06:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:06:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:06:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:06:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:06:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:06:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:06:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:06:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:06:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:06:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:06:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:06:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:06:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:06:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:06:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:06:14] Production.INFO: call_cost start [2025-03-09 19:06:14] Production.INFO: call_cost end [2025-03-09 19:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:06:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:06:15] Production.INFO: ==17256== Releasing lock... [2025-03-09 19:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:06:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:06:17] Production.INFO: count ==1305 [2025-03-09 19:06:17] Production.ERROR: pbx CDR StartTime 2025-03-09 16:06:05 - End Time 2025-03-09 19:06:05 [2025-03-09 19:06:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644201', 'tblTempUsageDetail_20' ) start [2025-03-09 19:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644201', 'tblTempUsageDetail_20' ) end [2025-03-09 19:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644201', 'tblTempVendorCDR_20' ) start [2025-03-09 19:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644201', 'tblTempVendorCDR_20' ) end [2025-03-09 19:06:17] Production.INFO: ProcessCDR(1,14644201,1,1,2) [2025-03-09 19:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:06:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:06:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:06:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:06:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644201', 'tblTempUsageDetail_20' ) start [2025-03-09 19:06:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644201', 'tblTempUsageDetail_20' ) end [2025-03-09 19:06:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:06:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:06:20] Production.INFO: ==17264== Releasing lock... [2025-03-09 19:06:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:06:20] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 23:07:01] Production.INFO: ==17332== Lock acquired, processing the job... [2025-03-09 23:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:07:01] Production.INFO: neon service started [2025-03-09 23:07:01] Production.INFO: neon service started [2025-03-09 23:07:01] Production.INFO: ==17332== Releasing lock... [2025-03-09 23:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:07:02] Production.INFO: ==17334== Lock acquired, processing the job... [2025-03-09 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:07:02] Production.INFO: ==17334== Releasing lock... [2025-03-09 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:07:02] Production.INFO: ==17336== Lock acquired, processing the job... [2025-03-09 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:07:02] Production.INFO: ==17336== Releasing lock... [2025-03-09 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:07:03] Production.INFO: ==17338== Lock acquired, processing the job... [2025-03-09 19:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:07:03] Production.INFO: ==17340== Lock acquired, processing the job... [2025-03-09 19:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:07:03] Production.INFO: ==17344== Lock acquired, processing the job... [2025-03-09 19:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:07:03] Production.INFO: ==17342== Lock acquired, processing the job... [2025-03-09 19:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:07:03] Production.INFO: ==17349== Lock acquired, processing the job... [2025-03-09 19:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:07:03] Production.INFO: Account Balance Start. [2025-03-09 19:07:03] Production.INFO: CreateAllLog Start [2025-03-09 19:07:03] Production.INFO: 117 [2025-03-09 19:07:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:07:03] Production.INFO: ==17346== Lock acquired, processing the job... [2025-03-09 19:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:07:03] Production.INFO: Date 2025-03-09 [2025-03-09 19:07:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:07:03] Production.INFO: Total Charge 0 [2025-03-09 19:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:07:03] Production.INFO: CreateAllLog End [2025-03-09 19:07:03] Production.INFO: ==17340== Releasing lock... [2025-03-09 19:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:07:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:07:03] Production.INFO: count ==13 [2025-03-09 19:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:07:03] Production.INFO: count ==21 [2025-03-09 19:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644205') start [2025-03-09 19:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644205') end [2025-03-09 19:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:07:04] Production.INFO: 1 [2025-03-09 19:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:07:04] Production.INFO: Account Balance End. [2025-03-09 19:07:04] Production.INFO: ==17349== Releasing lock... [2025-03-09 19:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:07:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:07:04] Production.INFO: ==17344== Releasing lock... [2025-03-09 19:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:07:04] Production.ERROR: done [2025-03-09 19:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:07:04] Production.ERROR: done [2025-03-09 19:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:07:05 [end_date_ymd] => 2025-03-09 19:07:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:07:05' and `end` < '2025-03-09 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-09 19:07:12] Production.ERROR: CronJobId end10 [2025-03-09 19:07:12] Production.INFO: ==17342== Releasing lock... [2025-03-09 19:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:07:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:07:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:07:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:07:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:07:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:07:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:07:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:07:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:07:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:07:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:07:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:07:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:07:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:07:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:07:15] Production.INFO: call_cost start [2025-03-09 19:07:15] Production.INFO: call_cost end [2025-03-09 19:07:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:07:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:07:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:07:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:07:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:07:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:07:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:07:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:07:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:07:16] Production.INFO: ==17338== Releasing lock... [2025-03-09 19:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:07:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:07:17] Production.INFO: count ==1301 [2025-03-09 19:07:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:07:05 - End Time 2025-03-09 19:07:05 [2025-03-09 19:07:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644206', 'tblTempUsageDetail_20' ) start [2025-03-09 19:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644206', 'tblTempUsageDetail_20' ) end [2025-03-09 19:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644206', 'tblTempVendorCDR_20' ) start [2025-03-09 19:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644206', 'tblTempVendorCDR_20' ) end [2025-03-09 19:07:18] Production.INFO: ProcessCDR(1,14644206,1,1,2) [2025-03-09 19:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644206', 'tblTempUsageDetail_20' ) start [2025-03-09 19:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644206', 'tblTempUsageDetail_20' ) end [2025-03-09 19:07:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:07:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:07:21] Production.INFO: ==17346== Releasing lock... [2025-03-09 19:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:07:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 23:08:02] Production.INFO: ==17484== Lock acquired, processing the job... [2025-03-09 23:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:08:02] Production.INFO: neon service started [2025-03-09 23:08:02] Production.INFO: neon service started [2025-03-09 23:08:02] Production.INFO: ==17484== Releasing lock... [2025-03-09 23:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:08:02] Production.INFO: ==17486== Lock acquired, processing the job... [2025-03-09 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:08:02] Production.INFO: ==17486== Releasing lock... [2025-03-09 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:08:03] Production.INFO: ==17488== Lock acquired, processing the job... [2025-03-09 23:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:08:03] Production.INFO: ==17488== Releasing lock... [2025-03-09 23:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:08:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:08:03] Production.INFO: ==17493== Lock acquired, processing the job... [2025-03-09 19:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:08:03] Production.INFO: ==17491== Lock acquired, processing the job... [2025-03-09 19:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:08:04] Production.INFO: ==17501== Lock acquired, processing the job... [2025-03-09 19:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:08:04] Production.INFO: ==17495== Lock acquired, processing the job... [2025-03-09 19:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:08:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:08:04] Production.INFO: ==17497== Lock acquired, processing the job... [2025-03-09 19:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:08:04] Production.INFO: ==17499== Lock acquired, processing the job... [2025-03-09 19:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:08:04] Production.INFO: Account Balance Start. [2025-03-09 19:08:04] Production.INFO: CreateAllLog Start [2025-03-09 19:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:08:04] Production.INFO: 117 [2025-03-09 19:08:04] Production.INFO: ==17493== Releasing lock... [2025-03-09 19:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:08:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:08:04] Production.INFO: count ==13 [2025-03-09 19:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:08:04] Production.INFO: count ==21 [2025-03-09 19:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644210') start [2025-03-09 19:08:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:08:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:08:04] Production.INFO: Total Charge 0 [2025-03-09 19:08:04] Production.INFO: CreateAllLog End [2025-03-09 19:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644210') end [2025-03-09 19:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:08:04] Production.INFO: 1 [2025-03-09 19:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:08:04] Production.INFO: ==17501== Releasing lock... [2025-03-09 19:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:08:04] Production.ERROR: done [2025-03-09 19:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:08:04] Production.INFO: Account Balance End. [2025-03-09 19:08:04] Production.ERROR: done [2025-03-09 19:08:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:08:04] Production.INFO: ==17497== Releasing lock... [2025-03-09 19:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:08:05 [end_date_ymd] => 2025-03-09 19:08:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:08:05' and `end` < '2025-03-09 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-09 19:08:13] Production.ERROR: CronJobId end10 [2025-03-09 19:08:13] Production.INFO: ==17495== Releasing lock... [2025-03-09 19:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:08:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:08:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:08:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:08:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:08:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:08:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:08:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:08:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:08:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:08:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:08:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:08:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:08:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:08:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:08:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:08:14] Production.INFO: call_cost start [2025-03-09 19:08:14] Production.INFO: call_cost end [2025-03-09 19:08:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:08:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:08:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:08:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:08:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:08:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:08:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:08:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:08:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:08:15] Production.INFO: ==17491== Releasing lock... [2025-03-09 19:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:08:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:08:17] Production.INFO: count ==1300 [2025-03-09 19:08:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:08:05 - End Time 2025-03-09 19:08:05 [2025-03-09 19:08:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644211', 'tblTempUsageDetail_20' ) start [2025-03-09 19:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644211', 'tblTempUsageDetail_20' ) end [2025-03-09 19:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644211', 'tblTempVendorCDR_20' ) start [2025-03-09 19:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644211', 'tblTempVendorCDR_20' ) end [2025-03-09 19:08:18] Production.INFO: ProcessCDR(1,14644211,1,1,2) [2025-03-09 19:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644211', 'tblTempUsageDetail_20' ) start [2025-03-09 19:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644211', 'tblTempUsageDetail_20' ) end [2025-03-09 19:08:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:08:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:08:21] Production.INFO: ==17499== Releasing lock... [2025-03-09 19:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:08:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 23:09:01] Production.INFO: ==17556== Lock acquired, processing the job... [2025-03-09 23:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:09:01] Production.INFO: neon service started [2025-03-09 23:09:01] Production.INFO: neon service started [2025-03-09 23:09:01] Production.INFO: ==17556== Releasing lock... [2025-03-09 23:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:09:02] Production.INFO: ==17558== Lock acquired, processing the job... [2025-03-09 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:09:02] Production.INFO: ==17558== Releasing lock... [2025-03-09 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:09:02] Production.INFO: ==17560== Lock acquired, processing the job... [2025-03-09 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:09:02] Production.INFO: ==17560== Releasing lock... [2025-03-09 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:09:03] Production.INFO: ==17566== Lock acquired, processing the job... [2025-03-09 19:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:09:03] Production.INFO: ==17570== Lock acquired, processing the job... [2025-03-09 19:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:09:03] Production.INFO: ==17562== Lock acquired, processing the job... [2025-03-09 19:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:09:03] Production.INFO: ==17564== Lock acquired, processing the job... [2025-03-09 19:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:09:03] Production.INFO: ==17568== Lock acquired, processing the job... [2025-03-09 19:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:09:03] Production.INFO: ==17572== Lock acquired, processing the job... [2025-03-09 19:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:09:03] Production.ERROR: done [2025-03-09 19:09:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 19:09:03] Production.INFO: Account Balance Start. [2025-03-09 19:09:03] Production.INFO: count ==13 [2025-03-09 19:09:03] Production.INFO: CreateAllLog Start [2025-03-09 19:09:03] Production.INFO: 117 [2025-03-09 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-09 19:09:04] Production.INFO: count ==21 [2025-03-09 19:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644214') start [2025-03-09 19:09:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:09:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:09:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:09:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:09:04] Production.INFO: ==17564== Releasing lock... [2025-03-09 19:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:09:04] Production.INFO: Total Charge 0 [2025-03-09 19:09:04] Production.ERROR: done [2025-03-09 19:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644214') end [2025-03-09 19:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:09:04] Production.INFO: 1 [2025-03-09 19:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:09:04] Production.INFO: CreateAllLog End [2025-03-09 19:09:04] Production.INFO: ==17572== Releasing lock... [2025-03-09 19:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:09:04] Production.INFO: Account Balance End. [2025-03-09 19:09:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:09:04] Production.INFO: ==17568== Releasing lock... [2025-03-09 19:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:09:05 [end_date_ymd] => 2025-03-09 19:09:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:09:05' and `end` < '2025-03-09 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-09 19:09:11] Production.ERROR: CronJobId end10 [2025-03-09 19:09:11] Production.INFO: ==17566== Releasing lock... [2025-03-09 19:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:09:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:09:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:09:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:09:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:09:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:09:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:09:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:09:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:09:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:09:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:09:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:09:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:09:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:09:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:09:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:09:14] Production.INFO: call_cost start [2025-03-09 19:09:14] Production.INFO: call_cost end [2025-03-09 19:09:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:09:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:09:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:09:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:09:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:09:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:09:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:09:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:09:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:09:15] Production.INFO: ==17562== Releasing lock... [2025-03-09 19:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:09:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:09:17] Production.INFO: count ==1303 [2025-03-09 19:09:17] Production.ERROR: pbx CDR StartTime 2025-03-09 16:09:05 - End Time 2025-03-09 19:09:05 [2025-03-09 19:09:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644216', 'tblTempUsageDetail_20' ) start [2025-03-09 19:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644216', 'tblTempUsageDetail_20' ) end [2025-03-09 19:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644216', 'tblTempVendorCDR_20' ) start [2025-03-09 19:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644216', 'tblTempVendorCDR_20' ) end [2025-03-09 19:09:17] Production.INFO: ProcessCDR(1,14644216,1,1,2) [2025-03-09 19:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644216', 'tblTempUsageDetail_20' ) start [2025-03-09 19:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644216', 'tblTempUsageDetail_20' ) end [2025-03-09 19:09:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:09:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:09:21] Production.INFO: ==17570== Releasing lock... [2025-03-09 19:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:09:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 23:10:02] Production.INFO: ==17625== Lock acquired, processing the job... [2025-03-09 23:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:10:02] Production.INFO: neon service started [2025-03-09 23:10:02] Production.INFO: neon service started [2025-03-09 23:10:02] Production.INFO: ==17625== Releasing lock... [2025-03-09 23:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 23:10:02] Production.INFO: ==17630== Lock acquired, processing the job... [2025-03-09 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:10:02] Production.INFO: ==17630== Releasing lock... [2025-03-09 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:10:02] Production.INFO: ==17628== Lock acquired, processing the job... [2025-03-09 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:10:03] Production.INFO: ==17628== Releasing lock... [2025-03-09 19:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:10:03] Production.INFO: ==17632== Lock acquired, processing the job... [2025-03-09 19:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 19:10:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 19:10:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 19:10:03] Production.INFO: ==17632== Releasing lock... [2025-03-09 19:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 19:10:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 19:10:04] Production.INFO: ==17636== Lock acquired, processing the job... [2025-03-09 19:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:10:04] Production.INFO: ==17640== Lock acquired, processing the job... [2025-03-09 19:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:10:04] Production.INFO: ==17642== Lock acquired, processing the job... [2025-03-09 19:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:10:04] Production.INFO: Account Balance Start. [2025-03-09 19:10:04] Production.INFO: CreateAllLog Start [2025-03-09 19:10:04] Production.INFO: 117 [2025-03-09 19:10:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:10:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:10:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:10:04] Production.INFO: Total Charge 0 [2025-03-09 19:10:04] Production.INFO: CreateAllLog End [2025-03-09 19:10:04] Production.INFO: ==17636== Releasing lock... [2025-03-09 19:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:10:04] Production.INFO: ==17634== Lock acquired, processing the job... [2025-03-09 19:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:10:04] Production.INFO: ==17638== Lock acquired, processing the job... [2025-03-09 19:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:10:04] Production.INFO: ==17646== Lock acquired, processing the job... [2025-03-09 19:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:10:04] Production.INFO: ==17644== Lock acquired, processing the job... [2025-03-09 19:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 19:10:04] Production.ERROR: done [2025-03-09 19:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 19:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:10:04] Production.INFO: count ==13 [2025-03-09 19:10:04] Production.INFO: Account Balance End. [2025-03-09 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-09 19:10:04] Production.INFO: count ==21 [2025-03-09 19:10:04] Production.ERROR: done [2025-03-09 19:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644220') start [2025-03-09 19:10:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:10:04] Production.INFO: ==17640== Releasing lock... [2025-03-09 19:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:10:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644220') end [2025-03-09 19:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:10:04] Production.INFO: 1 [2025-03-09 19:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:10:04] Production.INFO: ==17646== Releasing lock... [2025-03-09 19:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:10:05] Production.ERROR: done [2025-03-09 19:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 19:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644222', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 19:10:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:10:05 [end_date_ymd] => 2025-03-09 19:10:05 [RateCDR] => 1 ) [2025-03-09 19:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 16:10:05' and `end` < '2025-03-09 19:10:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 19:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644222', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 19:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 19:10:09] Production.INFO: ProcessCDR(1,14644222,1,1,2) [2025-03-09 19:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14644222,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14644222,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:10:09] Production.INFO: ==17644== Releasing lock... [2025-03-09 19:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 19:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 19:10:14] Production.ERROR: CronJobId end10 [2025-03-09 19:10:14] Production.INFO: ==17638== Releasing lock... [2025-03-09 19:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:10:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:10:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:10:17] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:10:17] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:10:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:10:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:10:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:10:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:10:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:10:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:10:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:10:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:10:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:10:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:10:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:10:17] Production.INFO: call_cost start [2025-03-09 19:10:17] Production.INFO: call_cost end [2025-03-09 19:10:18] Production.INFO: count ==1306 [2025-03-09 19:10:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:10:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:10:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:10:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:10:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:10:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:10:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:10:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:10:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:10:18] Production.INFO: ==17634== Releasing lock... [2025-03-09 19:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:10:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:10:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:10:05 - End Time 2025-03-09 19:10:05 [2025-03-09 19:10:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644221', 'tblTempUsageDetail_20' ) start [2025-03-09 19:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644221', 'tblTempUsageDetail_20' ) end [2025-03-09 19:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644221', 'tblTempVendorCDR_20' ) start [2025-03-09 19:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644221', 'tblTempVendorCDR_20' ) end [2025-03-09 19:10:18] Production.INFO: ProcessCDR(1,14644221,1,1,2) [2025-03-09 19:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644221', 'tblTempUsageDetail_20' ) start [2025-03-09 19:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644221', 'tblTempUsageDetail_20' ) end [2025-03-09 19:10:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:10:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:10:22] Production.INFO: ==17642== Releasing lock... [2025-03-09 19:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:10:22] Production.INFO: 37.75 MB #Memory Used# [2025-03-09 23:11:01] Production.INFO: ==17700== Lock acquired, processing the job... [2025-03-09 23:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:11:01] Production.INFO: neon service started [2025-03-09 23:11:01] Production.INFO: neon service started [2025-03-09 23:11:01] Production.INFO: ==17700== Releasing lock... [2025-03-09 23:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:11:02] Production.INFO: ==17702== Lock acquired, processing the job... [2025-03-09 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 23:11:02] Production.INFO: ==17705== Lock acquired, processing the job... [2025-03-09 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:11:02] Production.INFO: ==17705== Releasing lock... [2025-03-09 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:11:02] Production.INFO: ==17702== Releasing lock... [2025-03-09 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:11:03] Production.INFO: ==17707== Lock acquired, processing the job... [2025-03-09 19:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:11:03] Production.INFO: ==17709== Lock acquired, processing the job... [2025-03-09 19:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:11:03] Production.INFO: ==17715== Lock acquired, processing the job... [2025-03-09 19:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:11:03] Production.INFO: ==17711== Lock acquired, processing the job... [2025-03-09 19:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:11:03] Production.INFO: ==17713== Lock acquired, processing the job... [2025-03-09 19:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:11:03] Production.INFO: ==17717== Lock acquired, processing the job... [2025-03-09 19:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:11:03] Production.INFO: Account Balance Start. [2025-03-09 19:11:03] Production.INFO: CreateAllLog Start [2025-03-09 19:11:03] Production.INFO: 117 [2025-03-09 19:11:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:11:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:11:04] Production.ERROR: done [2025-03-09 19:11:04] Production.INFO: count ==13 [2025-03-09 19:11:04] Production.INFO: ==17709== Releasing lock... [2025-03-09 19:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:11:04] Production.INFO: count ==21 [2025-03-09 19:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644226') start [2025-03-09 19:11:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:11:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:11:04] Production.INFO: Total Charge 0 [2025-03-09 19:11:04] Production.ERROR: done [2025-03-09 19:11:04] Production.INFO: CreateAllLog End [2025-03-09 19:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644226') end [2025-03-09 19:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:11:04] Production.INFO: 1 [2025-03-09 19:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:11:04] Production.INFO: ==17717== Releasing lock... [2025-03-09 19:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:11:04] Production.INFO: Account Balance End. [2025-03-09 19:11:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:11:04] Production.INFO: ==17713== Releasing lock... [2025-03-09 19:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:11:05 [end_date_ymd] => 2025-03-09 19:11:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:11:05' and `end` < '2025-03-09 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-09 19:11:11] Production.ERROR: CronJobId end10 [2025-03-09 19:11:11] Production.INFO: ==17711== Releasing lock... [2025-03-09 19:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:11:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:11:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:11:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:11:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:11:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:11:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:11:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:11:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:11:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:11:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:11:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:11:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:11:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:11:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:11:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:11:14] Production.INFO: call_cost start [2025-03-09 19:11:14] Production.INFO: call_cost end [2025-03-09 19:11:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:11:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:11:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:11:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:11:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:11:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:11:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:11:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:11:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:11:15] Production.INFO: ==17707== Releasing lock... [2025-03-09 19:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:11:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:11:17] Production.INFO: count ==1350 [2025-03-09 19:11:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:11:05 - End Time 2025-03-09 19:11:05 [2025-03-09 19:11:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644227', 'tblTempUsageDetail_20' ) start [2025-03-09 19:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644227', 'tblTempUsageDetail_20' ) end [2025-03-09 19:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644227', 'tblTempVendorCDR_20' ) start [2025-03-09 19:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644227', 'tblTempVendorCDR_20' ) end [2025-03-09 19:11:18] Production.INFO: ProcessCDR(1,14644227,1,1,2) [2025-03-09 19:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644227', 'tblTempUsageDetail_20' ) start [2025-03-09 19:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644227', 'tblTempUsageDetail_20' ) end [2025-03-09 19:11:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:11:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:11:23] Production.INFO: ==17715== Releasing lock... [2025-03-09 19:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:11:23] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 23:12:02] Production.INFO: ==17853== Lock acquired, processing the job... [2025-03-09 23:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:12:02] Production.INFO: neon service started [2025-03-09 23:12:02] Production.INFO: neon service started [2025-03-09 23:12:02] Production.INFO: ==17853== Releasing lock... [2025-03-09 23:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:12:02] Production.INFO: ==17855== Lock acquired, processing the job... [2025-03-09 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 23:12:02] Production.INFO: ==17857== Lock acquired, processing the job... [2025-03-09 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:12:02] Production.INFO: ==17855== Releasing lock... [2025-03-09 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:12:02] Production.INFO: ==17857== Releasing lock... [2025-03-09 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:12:03] Production.INFO: ==17860== Lock acquired, processing the job... [2025-03-09 19:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:12:03] Production.INFO: ==17862== Lock acquired, processing the job... [2025-03-09 19:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:12:03] Production.INFO: ==17866== Lock acquired, processing the job... [2025-03-09 19:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:12:03] Production.INFO: ==17864== Lock acquired, processing the job... [2025-03-09 19:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:12:03] Production.INFO: ==17862== Releasing lock... [2025-03-09 19:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:12:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:12:03] Production.INFO: Account Balance Start. [2025-03-09 19:12:04] Production.INFO: CreateAllLog Start [2025-03-09 19:12:04] Production.INFO: 117 [2025-03-09 19:12:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:12:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:12:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:12:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:12:04] Production.INFO: Total Charge 0 [2025-03-09 19:12:04] Production.INFO: ==17870== Lock acquired, processing the job... [2025-03-09 19:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:12:04] Production.INFO: CreateAllLog End [2025-03-09 19:12:04] Production.INFO: ==17868== Lock acquired, processing the job... [2025-03-09 19:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:12:04] Production.INFO: Account Balance End. [2025-03-09 19:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:12:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:12:04] Production.INFO: ==17866== Releasing lock... [2025-03-09 19:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 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-09 19:12:04] Production.INFO: count ==13 [2025-03-09 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-09 19:12:04] Production.INFO: count ==21 [2025-03-09 19:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644231') start [2025-03-09 19:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644231') end [2025-03-09 19:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:12:04] Production.INFO: 1 [2025-03-09 19:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:12:04] Production.ERROR: done [2025-03-09 19:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:12:04] Production.INFO: ==17870== Releasing lock... [2025-03-09 19:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:12:04] Production.ERROR: done [2025-03-09 19:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:12:05 [end_date_ymd] => 2025-03-09 19:12:05 [RateCDR] => 1 ) [2025-03-09 19:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 16:12:05' and `end` < '2025-03-09 19:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 19:12:12] Production.ERROR: CronJobId end10 [2025-03-09 19:12:12] Production.INFO: ==17864== Releasing lock... [2025-03-09 19:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:12:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:12:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:12:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:12:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:12:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:12:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:12:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:12:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:12:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:12:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:12:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:12:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:12:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:12:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:12:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:12:15] Production.INFO: call_cost start [2025-03-09 19:12:15] Production.INFO: call_cost end [2025-03-09 19:12:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:12:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:12:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:12:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:12:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:12:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:12:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:12:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:12:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:12:16] Production.INFO: ==17860== Releasing lock... [2025-03-09 19:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:12:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:12:17] Production.INFO: count ==1353 [2025-03-09 19:12:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:12:05 - End Time 2025-03-09 19:12:05 [2025-03-09 19:12:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644232', 'tblTempUsageDetail_20' ) start [2025-03-09 19:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644232', 'tblTempUsageDetail_20' ) end [2025-03-09 19:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644232', 'tblTempVendorCDR_20' ) start [2025-03-09 19:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644232', 'tblTempVendorCDR_20' ) end [2025-03-09 19:12:18] Production.INFO: ProcessCDR(1,14644232,1,1,2) [2025-03-09 19:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644232', 'tblTempUsageDetail_20' ) start [2025-03-09 19:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644232', 'tblTempUsageDetail_20' ) end [2025-03-09 19:12:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:12:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:12:21] Production.INFO: ==17868== Releasing lock... [2025-03-09 19:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:12:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 23:13:01] Production.INFO: ==17925== Lock acquired, processing the job... [2025-03-09 23:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:13:01] Production.INFO: neon service started [2025-03-09 23:13:01] Production.INFO: neon service started [2025-03-09 23:13:01] Production.INFO: ==17925== Releasing lock... [2025-03-09 23:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 23:13:01] Production.INFO: ==17929== Lock acquired, processing the job... [2025-03-09 23:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:13:02] Production.INFO: ==17929== Releasing lock... [2025-03-09 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:13:02] Production.INFO: ==17927== Lock acquired, processing the job... [2025-03-09 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:13:02] Production.INFO: ==17927== Releasing lock... [2025-03-09 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:13:03] Production.INFO: ==17938== Lock acquired, processing the job... [2025-03-09 19:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:13:03] Production.INFO: ==17934== Lock acquired, processing the job... [2025-03-09 19:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:13:03] Production.INFO: Account Balance Start. [2025-03-09 19:13:03] Production.INFO: CreateAllLog Start [2025-03-09 19:13:03] Production.INFO: 117 [2025-03-09 19:13:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:13:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:13:03] Production.INFO: Date 2025-03-09 [2025-03-09 19:13:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:13:03] Production.INFO: Total Charge 0 [2025-03-09 19:13:03] Production.INFO: CreateAllLog End [2025-03-09 19:13:03] Production.INFO: ==17934== Releasing lock... [2025-03-09 19:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:13:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:13:03] Production.INFO: ==17932== Lock acquired, processing the job... [2025-03-09 19:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:13:03] Production.INFO: ==17936== Lock acquired, processing the job... [2025-03-09 19:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:13:03] Production.INFO: Account Balance End. [2025-03-09 19:13:03] Production.INFO: ==17940== Lock acquired, processing the job... [2025-03-09 19:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:13:03] Production.ERROR: CronJobId end 12 [2025-03-09 19:13:03] Production.INFO: ==17938== Releasing lock... [2025-03-09 19:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:13:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:13:03] Production.INFO: ==17942== Lock acquired, processing the job... [2025-03-09 19:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:13:04] Production.INFO: count ==13 [2025-03-09 19:13:04] Production.ERROR: done [2025-03-09 19:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:13:04] Production.INFO: count ==21 [2025-03-09 19:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644236') start [2025-03-09 19:13:04] Production.ERROR: done [2025-03-09 19:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644236') end [2025-03-09 19:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:13:04] Production.INFO: 1 [2025-03-09 19:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:13:04] Production.INFO: ==17942== Releasing lock... [2025-03-09 19:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:13:05 [end_date_ymd] => 2025-03-09 19:13:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:13:05' and `end` < '2025-03-09 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-09 19:13:11] Production.ERROR: CronJobId end10 [2025-03-09 19:13:11] Production.INFO: ==17936== Releasing lock... [2025-03-09 19:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:13:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:13:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:13:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:13:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:13:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:13:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:13:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:13:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:13:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:13:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:13:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:13:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:13:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:13:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:13:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:13:14] Production.INFO: call_cost start [2025-03-09 19:13:14] Production.INFO: call_cost end [2025-03-09 19:13:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:13:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:13:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:13:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:13:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:13:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:13:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:13:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:13:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:13:14] Production.INFO: ==17932== Releasing lock... [2025-03-09 19:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:13:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:13:17] Production.INFO: count ==1384 [2025-03-09 19:13:17] Production.ERROR: pbx CDR StartTime 2025-03-09 16:13:05 - End Time 2025-03-09 19:13:05 [2025-03-09 19:13:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644237', 'tblTempUsageDetail_20' ) start [2025-03-09 19:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644237', 'tblTempUsageDetail_20' ) end [2025-03-09 19:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644237', 'tblTempVendorCDR_20' ) start [2025-03-09 19:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644237', 'tblTempVendorCDR_20' ) end [2025-03-09 19:13:17] Production.INFO: ProcessCDR(1,14644237,1,1,2) [2025-03-09 19:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644237', 'tblTempUsageDetail_20' ) start [2025-03-09 19:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644237', 'tblTempUsageDetail_20' ) end [2025-03-09 19:13:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:13:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:13:21] Production.INFO: ==17940== Releasing lock... [2025-03-09 19:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:13:21] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:14:02] Production.INFO: ==18035== Lock acquired, processing the job... [2025-03-09 23:14:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:14:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:14:02] Production.INFO: neon service started [2025-03-09 23:14:02] Production.INFO: neon service started [2025-03-09 23:14:02] Production.INFO: ==18035== Releasing lock... [2025-03-09 23:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:14:02] Production.INFO: ==18037== Lock acquired, processing the job... [2025-03-09 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 23:14:02] Production.INFO: ==18039== Lock acquired, processing the job... [2025-03-09 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:14:03] Production.INFO: ==18039== Releasing lock... [2025-03-09 23:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:14:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:14:03] Production.INFO: ==18037== Releasing lock... [2025-03-09 19:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:14:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:14:04] Production.INFO: ==18048== Lock acquired, processing the job... [2025-03-09 19:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:14:04] Production.INFO: ==18053== Lock acquired, processing the job... [2025-03-09 19:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:14:04] Production.INFO: Account Balance Start. [2025-03-09 19:14:04] Production.INFO: CreateAllLog Start [2025-03-09 19:14:04] Production.INFO: 117 [2025-03-09 19:14:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:14:04] Production.INFO: ==18042== Lock acquired, processing the job... [2025-03-09 19:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:14:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:14:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:14:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:14:04] Production.INFO: Total Charge 0 [2025-03-09 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-09 19:14:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:14:04] Production.INFO: CreateAllLog End [2025-03-09 19:14:04] Production.INFO: ==18044== Lock acquired, processing the job... [2025-03-09 19:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:14:04] Production.INFO: count ==13 [2025-03-09 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-09 19:14:04] Production.INFO: count ==21 [2025-03-09 19:14:04] Production.INFO: ==18046== Lock acquired, processing the job... [2025-03-09 19:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644239') start [2025-03-09 19:14:04] Production.INFO: ==18050== Lock acquired, processing the job... [2025-03-09 19:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:14:04] Production.INFO: Account Balance End. [2025-03-09 19:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644239') end [2025-03-09 19:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:14:04] Production.INFO: 1 [2025-03-09 19:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:14:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:14:04] Production.INFO: ==18053== Releasing lock... [2025-03-09 19:14:04] Production.INFO: ==18048== Releasing lock... [2025-03-09 19:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:14:04] Production.INFO: ==18044== Releasing lock... [2025-03-09 19:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:14:04] Production.ERROR: done [2025-03-09 19:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:14:05] Production.ERROR: done [2025-03-09 19:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:14:05 [end_date_ymd] => 2025-03-09 19:14:05 [RateCDR] => 1 ) [2025-03-09 19:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 16:14:05' and `end` < '2025-03-09 19:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 19:14:12] Production.ERROR: CronJobId end10 [2025-03-09 19:14:12] Production.INFO: ==18046== Releasing lock... [2025-03-09 19:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:14:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:14:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:14:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:14:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:14:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:14:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:14:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:14:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:14:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:14:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:14:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:14:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:14:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:14:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:14:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:14:14] Production.INFO: call_cost start [2025-03-09 19:14:14] Production.INFO: call_cost end [2025-03-09 19:14:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:14:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:14:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:14:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:14:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:14:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:14:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:14:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:14:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:14:15] Production.INFO: ==18042== Releasing lock... [2025-03-09 19:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:14:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:14:18] Production.INFO: count ==1378 [2025-03-09 19:14:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:14:05 - End Time 2025-03-09 19:14:05 [2025-03-09 19:14:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644242', 'tblTempUsageDetail_20' ) start [2025-03-09 19:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644242', 'tblTempUsageDetail_20' ) end [2025-03-09 19:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644242', 'tblTempVendorCDR_20' ) start [2025-03-09 19:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644242', 'tblTempVendorCDR_20' ) end [2025-03-09 19:14:18] Production.INFO: ProcessCDR(1,14644242,1,1,2) [2025-03-09 19:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644242', 'tblTempUsageDetail_20' ) start [2025-03-09 19:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644242', 'tblTempUsageDetail_20' ) end [2025-03-09 19:14:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:14:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:14:21] Production.INFO: ==18050== Releasing lock... [2025-03-09 19:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:14:21] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:15:01] Production.INFO: ==18186== Lock acquired, processing the job... [2025-03-09 23:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:15:01] Production.INFO: neon service started [2025-03-09 23:15:01] Production.INFO: neon service started [2025-03-09 23:15:01] Production.INFO: ==18186== Releasing lock... [2025-03-09 23:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:15:02] Production.INFO: ==18188== Lock acquired, processing the job... [2025-03-09 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:15:02] Production.INFO: ==18188== Releasing lock... [2025-03-09 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:15:02] Production.INFO: ==18190== Lock acquired, processing the job... [2025-03-09 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:15:02] Production.INFO: ==18190== Releasing lock... [2025-03-09 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:15:03] Production.INFO: ==18193== Lock acquired, processing the job... [2025-03-09 19:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:15:03] Production.INFO: ==18195== Lock acquired, processing the job... [2025-03-09 19:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:15:03] Production.INFO: ==18201== Lock acquired, processing the job... [2025-03-09 19:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:15:03] Production.INFO: ==18197== Lock acquired, processing the job... [2025-03-09 19:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:15:03] Production.INFO: ==18195== Releasing lock... [2025-03-09 19:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:15:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:15:03] Production.INFO: ==18199== Lock acquired, processing the job... [2025-03-09 19:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:15:03] Production.INFO: ==18203== Lock acquired, processing the job... [2025-03-09 19:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:15:03] Production.INFO: Account Balance Start. [2025-03-09 19:15:03] Production.INFO: CreateAllLog Start [2025-03-09 19:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:15:03] Production.INFO: 117 [2025-03-09 19:15:03] Production.ERROR: done [2025-03-09 19:15:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:15:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:15:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:15:03] Production.INFO: Date 2025-03-09 [2025-03-09 19:15:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:15:03] Production.INFO: Total Charge 0 [2025-03-09 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-09 19:15:03] Production.INFO: CreateAllLog End [2025-03-09 19:15:03] Production.INFO: count ==13 [2025-03-09 19:15:03] Production.ERROR: done [2025-03-09 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-09 19:15:04] Production.INFO: count ==21 [2025-03-09 19:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644246') start [2025-03-09 19:15:04] Production.INFO: Account Balance End. [2025-03-09 19:15:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:15:04] Production.INFO: ==18199== Releasing lock... [2025-03-09 19:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644246') end [2025-03-09 19:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:15:04] Production.INFO: 1 [2025-03-09 19:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:15:04] Production.INFO: ==18203== Releasing lock... [2025-03-09 19:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:15:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:15:04 [end_date_ymd] => 2025-03-09 19:15:04 [RateCDR] => 1 ) [2025-03-09 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-09 16:15:04' and `end` < '2025-03-09 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-09 19:15:13] Production.ERROR: CronJobId end10 [2025-03-09 19:15:13] Production.INFO: ==18197== Releasing lock... [2025-03-09 19:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:15:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:15:14] Production.INFO: call_cost start [2025-03-09 19:15:14] Production.INFO: call_cost end [2025-03-09 19:15:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:15:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:15:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:15:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:15:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:15:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:15:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:15:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:15:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:15:15] Production.INFO: ==18193== Releasing lock... [2025-03-09 19:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:15:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:15:17] Production.INFO: count ==1377 [2025-03-09 19:15:17] Production.ERROR: pbx CDR StartTime 2025-03-09 16:15:04 - End Time 2025-03-09 19:15:04 [2025-03-09 19:15:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644247', 'tblTempUsageDetail_20' ) start [2025-03-09 19:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644247', 'tblTempUsageDetail_20' ) end [2025-03-09 19:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644247', 'tblTempVendorCDR_20' ) start [2025-03-09 19:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644247', 'tblTempVendorCDR_20' ) end [2025-03-09 19:15:17] Production.INFO: ProcessCDR(1,14644247,1,1,2) [2025-03-09 19:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644247', 'tblTempUsageDetail_20' ) start [2025-03-09 19:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644247', 'tblTempUsageDetail_20' ) end [2025-03-09 19:15:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:15:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:15:22] Production.INFO: ==18201== Releasing lock... [2025-03-09 19:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:15:22] Production.INFO: 38.75 MB #Memory Used# [2025-03-09 23:16:02] Production.INFO: ==18259== Lock acquired, processing the job... [2025-03-09 23:16:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:16:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:16:02] Production.INFO: neon service started [2025-03-09 23:16:02] Production.INFO: neon service started [2025-03-09 23:16:02] Production.INFO: ==18259== Releasing lock... [2025-03-09 23:16:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:16:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:16:02] Production.INFO: ==18261== Lock acquired, processing the job... [2025-03-09 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:16:02] Production.INFO: ==18261== Releasing lock... [2025-03-09 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:16:03] Production.INFO: ==18263== Lock acquired, processing the job... [2025-03-09 23:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:16:03] Production.INFO: ==18263== Releasing lock... [2025-03-09 23:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:16:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:16:03] Production.INFO: ==18266== Lock acquired, processing the job... [2025-03-09 19:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:16:03] Production.INFO: ==18268== Lock acquired, processing the job... [2025-03-09 19:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:16:03] Production.INFO: ==18270== Lock acquired, processing the job... [2025-03-09 19:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:16:04] Production.INFO: ==18268== Releasing lock... [2025-03-09 19:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:16:04] Production.INFO: ==18276== Lock acquired, processing the job... [2025-03-09 19:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:16:04] Production.INFO: ==18274== Lock acquired, processing the job... [2025-03-09 19:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:16:04] Production.INFO: ==18272== Lock acquired, processing the job... [2025-03-09 19:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:16:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:16:04] Production.INFO: Account Balance Start. [2025-03-09 19:16:04] Production.INFO: CreateAllLog Start [2025-03-09 19:16:04] Production.INFO: 117 [2025-03-09 19:16:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:16:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:16:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:16:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 19:16:04] Production.INFO: count ==13 [2025-03-09 19:16:04] Production.INFO: Total Charge 0 [2025-03-09 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-09 19:16:04] Production.INFO: count ==21 [2025-03-09 19:16:04] Production.INFO: CreateAllLog End [2025-03-09 19:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644251') start [2025-03-09 19:16:05] Production.ERROR: done [2025-03-09 19:16:05] Production.ERROR: PBX CALL prc_importPBXExtension('14644251') end [2025-03-09 19:16:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:16:05] Production.INFO: 1 [2025-03-09 19:16:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:16:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:16:05] Production.INFO: Account Balance End. [2025-03-09 19:16:05] Production.INFO: ==18276== Releasing lock... [2025-03-09 19:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:16:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:16:05] Production.ERROR: CronJobId end 12 [2025-03-09 19:16:05] Production.INFO: ==18272== Releasing lock... [2025-03-09 19:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:16:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:16:05] Production.ERROR: done [2025-03-09 19:16:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:16:06 [end_date_ymd] => 2025-03-09 19:16:06 [RateCDR] => 1 ) [2025-03-09 19:16:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 16:16:06' and `end` < '2025-03-09 19:16:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 19:16:13] Production.ERROR: CronJobId end10 [2025-03-09 19:16:13] Production.INFO: ==18270== Releasing lock... [2025-03-09 19:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:16:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:16:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:16:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:16:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:16:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:16:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:16:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:16:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:16:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:16:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:16:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:16:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:16:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:16:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:16:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:16:16] Production.INFO: call_cost start [2025-03-09 19:16:16] Production.INFO: call_cost end [2025-03-09 19:16:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:16:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:16:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:16:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:16:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:16:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:16:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:16:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:16:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:16:17] Production.INFO: ==18266== Releasing lock... [2025-03-09 19:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:16:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:16:18] Production.INFO: count ==1381 [2025-03-09 19:16:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:16:06 - End Time 2025-03-09 19:16:06 [2025-03-09 19:16:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644252', 'tblTempUsageDetail_20' ) start [2025-03-09 19:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644252', 'tblTempUsageDetail_20' ) end [2025-03-09 19:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644252', 'tblTempVendorCDR_20' ) start [2025-03-09 19:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644252', 'tblTempVendorCDR_20' ) end [2025-03-09 19:16:18] Production.INFO: ProcessCDR(1,14644252,1,1,2) [2025-03-09 19:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644252', 'tblTempUsageDetail_20' ) start [2025-03-09 19:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644252', 'tblTempUsageDetail_20' ) end [2025-03-09 19:16:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:16:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:16:22] Production.INFO: ==18274== Releasing lock... [2025-03-09 19:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:16:22] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:17:01] Production.INFO: ==18332== Lock acquired, processing the job... [2025-03-09 23:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:17:01] Production.INFO: neon service started [2025-03-09 23:17:01] Production.INFO: neon service started [2025-03-09 23:17:01] Production.INFO: ==18332== Releasing lock... [2025-03-09 23:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:17:02] Production.INFO: ==18334== Lock acquired, processing the job... [2025-03-09 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:17:02] Production.INFO: ==18334== Releasing lock... [2025-03-09 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:17:02] Production.INFO: ==18336== Lock acquired, processing the job... [2025-03-09 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:17:02] Production.INFO: ==18336== Releasing lock... [2025-03-09 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:17:03] Production.INFO: ==18338== Lock acquired, processing the job... [2025-03-09 19:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:17:03] Production.INFO: ==18340== Lock acquired, processing the job... [2025-03-09 19:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:17:03] Production.INFO: ==18344== Lock acquired, processing the job... [2025-03-09 19:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:17:03] Production.INFO: ==18349== Lock acquired, processing the job... [2025-03-09 19:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:17:03] Production.INFO: ==18342== Lock acquired, processing the job... [2025-03-09 19:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:17:03] Production.INFO: Account Balance Start. [2025-03-09 19:17:03] Production.INFO: CreateAllLog Start [2025-03-09 19:17:03] Production.INFO: 117 [2025-03-09 19:17:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:17:03] Production.INFO: ==18347== Lock acquired, processing the job... [2025-03-09 19:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:17:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:17:03] Production.INFO: Date 2025-03-09 [2025-03-09 19:17:03] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 19:17:03] Production.INFO: count ==13 [2025-03-09 19:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 19:17:03] Production.INFO: Total Charge 0 [2025-03-09 19:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:17:03] Production.INFO: count ==21 [2025-03-09 19:17:03] Production.INFO: CreateAllLog End [2025-03-09 19:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644254') start [2025-03-09 19:17:03] Production.INFO: ==18340== Releasing lock... [2025-03-09 19:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:17:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644254') end [2025-03-09 19:17:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:17:03] Production.INFO: 1 [2025-03-09 19:17:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:17:03] Production.INFO: Account Balance End. [2025-03-09 19:17:04] Production.ERROR: done [2025-03-09 19:17:04] Production.INFO: ==18349== Releasing lock... [2025-03-09 19:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:17:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:17:04] Production.INFO: ==18344== Releasing lock... [2025-03-09 19:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:17:04] Production.ERROR: done [2025-03-09 19:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:17:05 [end_date_ymd] => 2025-03-09 19:17:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:17:05' and `end` < '2025-03-09 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-09 19:17:11] Production.ERROR: CronJobId end10 [2025-03-09 19:17:11] Production.INFO: ==18342== Releasing lock... [2025-03-09 19:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:17:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:17:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:17:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:17:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:17:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:17:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:17:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:17:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:17:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:17:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:17:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:17:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:17:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:17:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:17:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:17:14] Production.INFO: call_cost start [2025-03-09 19:17:14] Production.INFO: call_cost end [2025-03-09 19:17:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:17:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:17:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:17:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:17:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:17:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:17:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:17:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:17:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:17:14] Production.INFO: ==18338== Releasing lock... [2025-03-09 19:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:17:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:17:17] Production.INFO: count ==1381 [2025-03-09 19:17:17] Production.ERROR: pbx CDR StartTime 2025-03-09 16:17:05 - End Time 2025-03-09 19:17:05 [2025-03-09 19:17:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644257', 'tblTempUsageDetail_20' ) start [2025-03-09 19:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644257', 'tblTempUsageDetail_20' ) end [2025-03-09 19:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644257', 'tblTempVendorCDR_20' ) start [2025-03-09 19:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644257', 'tblTempVendorCDR_20' ) end [2025-03-09 19:17:17] Production.INFO: ProcessCDR(1,14644257,1,1,2) [2025-03-09 19:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644257', 'tblTempUsageDetail_20' ) start [2025-03-09 19:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644257', 'tblTempUsageDetail_20' ) end [2025-03-09 19:17:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:17:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:17:21] Production.INFO: ==18347== Releasing lock... [2025-03-09 19:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:17:21] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:18:02] Production.INFO: ==18402== Lock acquired, processing the job... [2025-03-09 23:18:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:18:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:18:02] Production.INFO: neon service started [2025-03-09 23:18:02] Production.INFO: neon service started [2025-03-09 23:18:02] Production.INFO: ==18402== Releasing lock... [2025-03-09 23:18:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:18:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 23:18:02] Production.INFO: ==18406== Lock acquired, processing the job... [2025-03-09 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:18:02] Production.INFO: ==18406== Releasing lock... [2025-03-09 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:18:02] Production.INFO: ==18404== Lock acquired, processing the job... [2025-03-09 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:18:03] Production.INFO: ==18404== Releasing lock... [2025-03-09 19:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:18:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:18:04] Production.INFO: ==18411== Lock acquired, processing the job... [2025-03-09 19:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:18:04] Production.INFO: ==18413== Lock acquired, processing the job... [2025-03-09 19:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:18:04] Production.INFO: ==18417== Lock acquired, processing the job... [2025-03-09 19:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:18:04] Production.INFO: ==18415== Lock acquired, processing the job... [2025-03-09 19:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:18:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:18:04] Production.INFO: ==18409== Lock acquired, processing the job... [2025-03-09 19:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:18:04] Production.INFO: ==18419== Lock acquired, processing the job... [2025-03-09 19:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:18:04] Production.INFO: Account Balance Start. [2025-03-09 19:18:04] Production.INFO: CreateAllLog Start [2025-03-09 19:18:04] Production.INFO: 117 [2025-03-09 19:18:04] Production.INFO: ==18411== Releasing lock... [2025-03-09 19:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:18:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:18:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 19:18:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:18:04] Production.INFO: count ==13 [2025-03-09 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-09 19:18:04] Production.INFO: count ==21 [2025-03-09 19:18:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644259') start [2025-03-09 19:18:04] Production.INFO: Total Charge 0 [2025-03-09 19:18:04] Production.INFO: CreateAllLog End [2025-03-09 19:18:04] Production.ERROR: done [2025-03-09 19:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644259') end [2025-03-09 19:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:18:04] Production.INFO: 1 [2025-03-09 19:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:18:04] Production.INFO: ==18419== Releasing lock... [2025-03-09 19:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:18:04] Production.ERROR: done [2025-03-09 19:18:05] Production.INFO: Account Balance End. [2025-03-09 19:18:05] Production.ERROR: CronJobId end 12 [2025-03-09 19:18:05] Production.INFO: ==18415== Releasing lock... [2025-03-09 19:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:18:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:18:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:18:06 [end_date_ymd] => 2025-03-09 19:18:06 [RateCDR] => 1 ) [2025-03-09 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-09 16:18:06' and `end` < '2025-03-09 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-09 19:18:12] Production.ERROR: CronJobId end10 [2025-03-09 19:18:12] Production.INFO: ==18413== Releasing lock... [2025-03-09 19:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:18:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:18:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:18:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:18:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:18:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:18:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:18:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:18:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:18:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:18:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:18:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:18:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:18:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:18:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:18:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:18:15] Production.INFO: call_cost start [2025-03-09 19:18:15] Production.INFO: call_cost end [2025-03-09 19:18:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:18:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:18:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:18:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:18:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:18:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:18:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:18:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:18:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:18:16] Production.INFO: ==18409== Releasing lock... [2025-03-09 19:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:18:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:18:18] Production.INFO: count ==1381 [2025-03-09 19:18:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:18:06 - End Time 2025-03-09 19:18:06 [2025-03-09 19:18:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644262', 'tblTempUsageDetail_20' ) start [2025-03-09 19:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644262', 'tblTempUsageDetail_20' ) end [2025-03-09 19:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644262', 'tblTempVendorCDR_20' ) start [2025-03-09 19:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644262', 'tblTempVendorCDR_20' ) end [2025-03-09 19:18:18] Production.INFO: ProcessCDR(1,14644262,1,1,2) [2025-03-09 19:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644262', 'tblTempUsageDetail_20' ) start [2025-03-09 19:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644262', 'tblTempUsageDetail_20' ) end [2025-03-09 19:18:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:18:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:18:21] Production.INFO: ==18417== Releasing lock... [2025-03-09 19:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:18:21] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:19:01] Production.INFO: ==18476== Lock acquired, processing the job... [2025-03-09 23:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:19:01] Production.INFO: neon service started [2025-03-09 23:19:01] Production.INFO: neon service started [2025-03-09 23:19:01] Production.INFO: ==18476== Releasing lock... [2025-03-09 23:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 23:19:02] Production.INFO: ==18480== Lock acquired, processing the job... [2025-03-09 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:19:02] Production.INFO: ==18480== Releasing lock... [2025-03-09 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:19:02] Production.INFO: ==18478== Lock acquired, processing the job... [2025-03-09 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:19:02] Production.INFO: ==18478== Releasing lock... [2025-03-09 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:19:03] Production.INFO: ==18484== Lock acquired, processing the job... [2025-03-09 19:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:19:03] Production.INFO: ==18488== Lock acquired, processing the job... [2025-03-09 19:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:19:03] Production.INFO: ==18486== Lock acquired, processing the job... [2025-03-09 19:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:19:03] Production.INFO: Account Balance Start. [2025-03-09 19:19:03] Production.INFO: CreateAllLog Start [2025-03-09 19:19:03] Production.INFO: 117 [2025-03-09 19:19:03] Production.INFO: ==18482== Lock acquired, processing the job... [2025-03-09 19:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:19:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:19:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:19:03] Production.INFO: ==18490== Lock acquired, processing the job... [2025-03-09 19:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:19:03] Production.INFO: Date 2025-03-09 [2025-03-09 19:19:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:19:03] Production.INFO: Total Charge 0 [2025-03-09 19:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:19:03] Production.INFO: CreateAllLog End [2025-03-09 19:19:03] Production.INFO: ==18484== Releasing lock... [2025-03-09 19:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:19:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:19:03] Production.INFO: ==18492== Lock acquired, processing the job... [2025-03-09 19:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 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-09 19:19:03] Production.INFO: count ==13 [2025-03-09 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-09 19:19:03] Production.INFO: count ==21 [2025-03-09 19:19:03] Production.ERROR: done [2025-03-09 19:19:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644266') start [2025-03-09 19:19:03] Production.INFO: Account Balance End. [2025-03-09 19:19:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:19:04] Production.INFO: ==18488== Releasing lock... [2025-03-09 19:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:19:04] Production.ERROR: done [2025-03-09 19:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644266') end [2025-03-09 19:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:19:04] Production.INFO: 1 [2025-03-09 19:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:19:04] Production.INFO: ==18492== Releasing lock... [2025-03-09 19:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:19:05 [end_date_ymd] => 2025-03-09 19:19:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:19:05' and `end` < '2025-03-09 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-09 19:19:12] Production.ERROR: CronJobId end10 [2025-03-09 19:19:12] Production.INFO: ==18486== Releasing lock... [2025-03-09 19:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:19:14] Production.INFO: call_cost start [2025-03-09 19:19:15] Production.INFO: call_cost end [2025-03-09 19:19:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:19:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:19:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:19:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:19:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:19:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:19:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:19:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:19:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:19:15] Production.INFO: ==18482== Releasing lock... [2025-03-09 19:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:19:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:19:17] Production.INFO: count ==1384 [2025-03-09 19:19:17] Production.ERROR: pbx CDR StartTime 2025-03-09 16:19:05 - End Time 2025-03-09 19:19:05 [2025-03-09 19:19:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644267', 'tblTempUsageDetail_20' ) start [2025-03-09 19:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644267', 'tblTempUsageDetail_20' ) end [2025-03-09 19:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644267', 'tblTempVendorCDR_20' ) start [2025-03-09 19:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644267', 'tblTempVendorCDR_20' ) end [2025-03-09 19:19:17] Production.INFO: ProcessCDR(1,14644267,1,1,2) [2025-03-09 19:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644267', 'tblTempUsageDetail_20' ) start [2025-03-09 19:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644267', 'tblTempUsageDetail_20' ) end [2025-03-09 19:19:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:19:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:19:21] Production.INFO: ==18490== Releasing lock... [2025-03-09 19:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:19:21] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:20:02] Production.INFO: ==18548== Lock acquired, processing the job... [2025-03-09 23:20:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:20:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:20:02] Production.INFO: neon service started [2025-03-09 23:20:02] Production.INFO: neon service started [2025-03-09 23:20:02] Production.INFO: ==18548== Releasing lock... [2025-03-09 23:20:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:20:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 23:20:02] Production.INFO: ==18553== Lock acquired, processing the job... [2025-03-09 23:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:20:02] Production.INFO: ==18553== Releasing lock... [2025-03-09 23:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:20:02] Production.INFO: ==18551== Lock acquired, processing the job... [2025-03-09 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:20:02] Production.INFO: ==18551== Releasing lock... [2025-03-09 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:20:03] Production.INFO: ==18555== Lock acquired, processing the job... [2025-03-09 19:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 19:20:03] Production.INFO: ==18557== Lock acquired, processing the job... [2025-03-09 19:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 19:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 19:20:04] Production.INFO: ==18555== Releasing lock... [2025-03-09 19:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 19:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 19:20:04] Production.INFO: ==18559== Lock acquired, processing the job... [2025-03-09 19:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:20:04] Production.INFO: ==18561== Lock acquired, processing the job... [2025-03-09 19:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:20:04] Production.INFO: ==18563== Lock acquired, processing the job... [2025-03-09 19:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:20:04] Production.INFO: ==18569== Lock acquired, processing the job... [2025-03-09 19:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:20:04] Production.INFO: ==18565== Lock acquired, processing the job... [2025-03-09 19:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:20:04] Production.INFO: Account Balance Start. [2025-03-09 19:20:04] Production.INFO: CreateAllLog Start [2025-03-09 19:20:04] Production.INFO: 117 [2025-03-09 19:20:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:20:04] Production.INFO: ==18567== Lock acquired, processing the job... [2025-03-09 19:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 19:20:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:20:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:20:04] Production.INFO: Total Charge 0 [2025-03-09 19:20:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 19:20:04] Production.INFO: count ==13 [2025-03-09 19:20:04] Production.INFO: ==18559== Releasing lock... [2025-03-09 19:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 19:20:04] Production.INFO: count ==21 [2025-03-09 19:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644271') start [2025-03-09 19:20:04] Production.INFO: Account Balance End. [2025-03-09 19:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644271') end [2025-03-09 19:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:20:04] Production.INFO: 1 [2025-03-09 19:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:20:04] Production.ERROR: done [2025-03-09 19:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:20:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:20:04] Production.INFO: ==18563== Releasing lock... [2025-03-09 19:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:20:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:20:05] Production.INFO: ==18569== Releasing lock... [2025-03-09 19:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:20:05] Production.ERROR: done [2025-03-09 19:20:05] Production.ERROR: done [2025-03-09 19:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 19:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644273', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 19:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:20:06 [end_date_ymd] => 2025-03-09 19:20:06 [RateCDR] => 1 ) [2025-03-09 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-09 16:20:06' and `end` < '2025-03-09 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-09 19:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644273', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 19:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 19:20:09] Production.INFO: ProcessCDR(1,14644273,1,1,2) [2025-03-09 19:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14644273,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14644273,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:20:09] Production.INFO: ==18567== Releasing lock... [2025-03-09 19:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 19:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 19:20:15] Production.ERROR: CronJobId end10 [2025-03-09 19:20:15] Production.INFO: ==18561== Releasing lock... [2025-03-09 19:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:20:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:20:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:20:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:20:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:20:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:20:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:20:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:20:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:20:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:20:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:20:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:20:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:20:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:20:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:20:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:20:17] Production.INFO: call_cost start [2025-03-09 19:20:17] Production.INFO: call_cost end [2025-03-09 19:20:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:20:18] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:20:18] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:20:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:20:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:20:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:20:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:20:18] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:20:18] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:20:18] Production.INFO: ==18557== Releasing lock... [2025-03-09 19:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:20:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:20:18] Production.INFO: count ==1394 [2025-03-09 19:20:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:20:06 - End Time 2025-03-09 19:20:06 [2025-03-09 19:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644272', 'tblTempUsageDetail_20' ) start [2025-03-09 19:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644272', 'tblTempUsageDetail_20' ) end [2025-03-09 19:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644272', 'tblTempVendorCDR_20' ) start [2025-03-09 19:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644272', 'tblTempVendorCDR_20' ) end [2025-03-09 19:20:18] Production.INFO: ProcessCDR(1,14644272,1,1,2) [2025-03-09 19:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644272', 'tblTempUsageDetail_20' ) start [2025-03-09 19:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644272', 'tblTempUsageDetail_20' ) end [2025-03-09 19:20:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:20:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:20:22] Production.INFO: ==18565== Releasing lock... [2025-03-09 19:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:20:22] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:21:01] Production.INFO: ==18626== Lock acquired, processing the job... [2025-03-09 23:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:21:01] Production.INFO: neon service started [2025-03-09 23:21:01] Production.INFO: neon service started [2025-03-09 23:21:01] Production.INFO: ==18626== Releasing lock... [2025-03-09 23:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:21:01] Production.INFO: ==18629== Lock acquired, processing the job... [2025-03-09 19:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:21:02] Production.INFO: ==18629== Releasing lock... [2025-03-09 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:21:02] Production.INFO: ==18631== Lock acquired, processing the job... [2025-03-09 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:21:02] Production.INFO: ==18631== Releasing lock... [2025-03-09 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:21:03] Production.INFO: ==18637== Lock acquired, processing the job... [2025-03-09 19:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:21:03] Production.INFO: ==18639== Lock acquired, processing the job... [2025-03-09 19:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:21:03] Production.INFO: ==18635== Lock acquired, processing the job... [2025-03-09 19:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:21:03] Production.INFO: ==18643== Lock acquired, processing the job... [2025-03-09 19:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:21:03] Production.INFO: ==18633== Lock acquired, processing the job... [2025-03-09 19:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:21:03] Production.INFO: Account Balance Start. [2025-03-09 19:21:03] Production.INFO: CreateAllLog Start [2025-03-09 19:21:03] Production.INFO: 117 [2025-03-09 19:21:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:21:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:21:03] Production.INFO: ==18641== Lock acquired, processing the job... [2025-03-09 19:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:21:03] Production.INFO: Date 2025-03-09 [2025-03-09 19:21:03] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 19:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:21:03] Production.INFO: count ==13 [2025-03-09 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-09 19:21:03] Production.INFO: count ==21 [2025-03-09 19:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644275') start [2025-03-09 19:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:21:03] Production.INFO: Total Charge 0 [2025-03-09 19:21:03] Production.INFO: CreateAllLog End [2025-03-09 19:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644275') end [2025-03-09 19:21:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:21:03] Production.INFO: 1 [2025-03-09 19:21:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:21:03] Production.INFO: ==18643== Releasing lock... [2025-03-09 19:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:21:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:21:03] Production.ERROR: done [2025-03-09 19:21:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:21:03] Production.INFO: ==18635== Releasing lock... [2025-03-09 19:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:21:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:21:04] Production.ERROR: done [2025-03-09 19:21:04] Production.INFO: Account Balance End. [2025-03-09 19:21:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:21:04] Production.INFO: ==18639== Releasing lock... [2025-03-09 19:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:21:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:21:04 [end_date_ymd] => 2025-03-09 19:21:04 [RateCDR] => 1 ) [2025-03-09 19:21:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 16:21:04' and `end` < '2025-03-09 19:21:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 19:21:11] Production.ERROR: CronJobId end10 [2025-03-09 19:21:11] Production.INFO: ==18637== Releasing lock... [2025-03-09 19:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:21:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:21:14] Production.INFO: call_cost start [2025-03-09 19:21:14] Production.INFO: call_cost end [2025-03-09 19:21:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:21:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:21:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:21:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:21:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:21:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:21:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:21:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:21:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:21:15] Production.INFO: ==18633== Releasing lock... [2025-03-09 19:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:21:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:21:17] Production.INFO: count ==1383 [2025-03-09 19:21:17] Production.ERROR: pbx CDR StartTime 2025-03-09 16:21:04 - End Time 2025-03-09 19:21:04 [2025-03-09 19:21:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644278', 'tblTempUsageDetail_20' ) start [2025-03-09 19:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644278', 'tblTempUsageDetail_20' ) end [2025-03-09 19:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644278', 'tblTempVendorCDR_20' ) start [2025-03-09 19:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644278', 'tblTempVendorCDR_20' ) end [2025-03-09 19:21:17] Production.INFO: ProcessCDR(1,14644278,1,1,2) [2025-03-09 19:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644278', 'tblTempUsageDetail_20' ) start [2025-03-09 19:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644278', 'tblTempUsageDetail_20' ) end [2025-03-09 19:21:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:21:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:21:21] Production.INFO: ==18641== Releasing lock... [2025-03-09 19:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:21:21] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:22:02] Production.INFO: ==18701== Lock acquired, processing the job... [2025-03-09 23:22:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:22:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:22:02] Production.INFO: neon service started [2025-03-09 23:22:02] Production.INFO: neon service started [2025-03-09 23:22:02] Production.INFO: ==18701== Releasing lock... [2025-03-09 23:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 23:22:02] Production.INFO: ==18706== Lock acquired, processing the job... [2025-03-09 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:22:02] Production.INFO: ==18706== Releasing lock... [2025-03-09 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:22:02] Production.INFO: ==18704== Lock acquired, processing the job... [2025-03-09 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:22:03] Production.INFO: ==18704== Releasing lock... [2025-03-09 19:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:22:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:22:03] Production.INFO: ==18712== Lock acquired, processing the job... [2025-03-09 19:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:22:04] Production.INFO: ==18718== Lock acquired, processing the job... [2025-03-09 19:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:22:04] Production.INFO: ==18708== Lock acquired, processing the job... [2025-03-09 19:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 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-09 19:22:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:22:04] Production.INFO: ==18710== Lock acquired, processing the job... [2025-03-09 19:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:22:04] Production.INFO: count ==13 [2025-03-09 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-09 19:22:04] Production.INFO: count ==21 [2025-03-09 19:22:04] Production.INFO: ==18714== Lock acquired, processing the job... [2025-03-09 19:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644279') start [2025-03-09 19:22:04] Production.INFO: ==18716== Lock acquired, processing the job... [2025-03-09 19:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:22:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644279') end [2025-03-09 19:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:22:04] Production.INFO: 1 [2025-03-09 19:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:22:04] Production.INFO: Account Balance Start. [2025-03-09 19:22:04] Production.INFO: CreateAllLog Start [2025-03-09 19:22:04] Production.INFO: 117 [2025-03-09 19:22:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:22:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:22:04] Production.INFO: ==18718== Releasing lock... [2025-03-09 19:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:22:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:22:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:22:04] Production.INFO: Total Charge 0 [2025-03-09 19:22:04] Production.INFO: CreateAllLog End [2025-03-09 19:22:04] Production.INFO: ==18710== Releasing lock... [2025-03-09 19:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:22:04] Production.ERROR: done [2025-03-09 19:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:22:05] Production.INFO: Account Balance End. [2025-03-09 19:22:05] Production.ERROR: done [2025-03-09 19:22:05] Production.ERROR: CronJobId end 12 [2025-03-09 19:22:05] Production.INFO: ==18714== Releasing lock... [2025-03-09 19:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:22:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:22:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:22:06 [end_date_ymd] => 2025-03-09 19:22:06 [RateCDR] => 1 ) [2025-03-09 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-09 16:22:06' and `end` < '2025-03-09 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-09 19:22:12] Production.ERROR: CronJobId end10 [2025-03-09 19:22:12] Production.INFO: ==18712== Releasing lock... [2025-03-09 19:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:22:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:22:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:22:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:22:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:22:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:22:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:22:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:22:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:22:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:22:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:22:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:22:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:22:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:22:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:22:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:22:15] Production.INFO: call_cost start [2025-03-09 19:22:15] Production.INFO: call_cost end [2025-03-09 19:22:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:22:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:22:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:22:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:22:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:22:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:22:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:22:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:22:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:22:16] Production.INFO: ==18708== Releasing lock... [2025-03-09 19:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:22:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:22:18] Production.INFO: count ==1390 [2025-03-09 19:22:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:22:06 - End Time 2025-03-09 19:22:06 [2025-03-09 19:22:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644283', 'tblTempUsageDetail_20' ) start [2025-03-09 19:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644283', 'tblTempUsageDetail_20' ) end [2025-03-09 19:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644283', 'tblTempVendorCDR_20' ) start [2025-03-09 19:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644283', 'tblTempVendorCDR_20' ) end [2025-03-09 19:22:18] Production.INFO: ProcessCDR(1,14644283,1,1,2) [2025-03-09 19:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644283', 'tblTempUsageDetail_20' ) start [2025-03-09 19:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644283', 'tblTempUsageDetail_20' ) end [2025-03-09 19:22:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:22:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:22:23] Production.INFO: ==18716== Releasing lock... [2025-03-09 19:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:22:23] Production.INFO: 39 MB #Memory Used# [2025-03-09 23:23:01] Production.INFO: ==18774== Lock acquired, processing the job... [2025-03-09 23:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:23:01] Production.INFO: neon service started [2025-03-09 23:23:01] Production.INFO: neon service started [2025-03-09 23:23:01] Production.INFO: ==18774== Releasing lock... [2025-03-09 23:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:23:01] Production.INFO: ==18776== Lock acquired, processing the job... [2025-03-09 19:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:23:02] Production.INFO: ==18776== Releasing lock... [2025-03-09 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:23:02] Production.INFO: ==18778== Lock acquired, processing the job... [2025-03-09 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:23:02] Production.INFO: ==18778== Releasing lock... [2025-03-09 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:23:03] Production.INFO: ==18780== Lock acquired, processing the job... [2025-03-09 19:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:23:03] Production.INFO: ==18784== Lock acquired, processing the job... [2025-03-09 19:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:23:03] Production.INFO: ==18786== Lock acquired, processing the job... [2025-03-09 19:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:23:03] Production.INFO: Account Balance Start. [2025-03-09 19:23:03] Production.INFO: CreateAllLog Start [2025-03-09 19:23:03] Production.INFO: 117 [2025-03-09 19:23:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:23:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:23:03] Production.INFO: Date 2025-03-09 [2025-03-09 19:23:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:23:03] Production.INFO: ==18782== Lock acquired, processing the job... [2025-03-09 19:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:23:03] Production.INFO: Total Charge 0 [2025-03-09 19:23:03] Production.INFO: CreateAllLog End [2025-03-09 19:23:03] Production.INFO: ==18788== Lock acquired, processing the job... [2025-03-09 19:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:23:03] Production.INFO: Account Balance End. [2025-03-09 19:23:03] Production.INFO: ==18791== Lock acquired, processing the job... [2025-03-09 19:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:23:03] Production.ERROR: CronJobId end 12 [2025-03-09 19:23:03] Production.INFO: ==18786== Releasing lock... [2025-03-09 19:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:23:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:23:03] Production.INFO: ==18782== Releasing lock... [2025-03-09 19:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:23:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 19:23:04] Production.INFO: count ==13 [2025-03-09 19:23:04] Production.ERROR: done [2025-03-09 19:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:23:04] Production.INFO: count ==21 [2025-03-09 19:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644287') start [2025-03-09 19:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644287') end [2025-03-09 19:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:23:04] Production.INFO: 1 [2025-03-09 19:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:23:04] Production.INFO: ==18791== Releasing lock... [2025-03-09 19:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:23:04] Production.ERROR: done [2025-03-09 19:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:23:05 [end_date_ymd] => 2025-03-09 19:23:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:23:05' and `end` < '2025-03-09 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-09 19:23:12] Production.ERROR: CronJobId end10 [2025-03-09 19:23:12] Production.INFO: ==18784== Releasing lock... [2025-03-09 19:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:23:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:23:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:23:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:23:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:23:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:23:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:23:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:23:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:23:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:23:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:23:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:23:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:23:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:23:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:23:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:23:14] Production.INFO: call_cost start [2025-03-09 19:23:14] Production.INFO: call_cost end [2025-03-09 19:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:23:15] Production.INFO: ==18780== Releasing lock... [2025-03-09 19:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:23:17] Production.INFO: count ==1387 [2025-03-09 19:23:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:23:05 - End Time 2025-03-09 19:23:05 [2025-03-09 19:23:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644288', 'tblTempUsageDetail_20' ) start [2025-03-09 19:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644288', 'tblTempUsageDetail_20' ) end [2025-03-09 19:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644288', 'tblTempVendorCDR_20' ) start [2025-03-09 19:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644288', 'tblTempVendorCDR_20' ) end [2025-03-09 19:23:18] Production.INFO: ProcessCDR(1,14644288,1,1,2) [2025-03-09 19:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644288', 'tblTempUsageDetail_20' ) start [2025-03-09 19:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644288', 'tblTempUsageDetail_20' ) end [2025-03-09 19:23:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:23:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:23:21] Production.INFO: ==18788== Releasing lock... [2025-03-09 19:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:23:21] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:24:02] Production.INFO: ==18844== Lock acquired, processing the job... [2025-03-09 23:24:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:24:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:24:02] Production.INFO: neon service started [2025-03-09 23:24:02] Production.INFO: neon service started [2025-03-09 23:24:02] Production.INFO: ==18844== Releasing lock... [2025-03-09 23:24:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:24:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 23:24:02] Production.INFO: ==18848== Lock acquired, processing the job... [2025-03-09 23:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:24:02] Production.INFO: ==18848== Releasing lock... [2025-03-09 23:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:24:02] Production.INFO: ==18846== Lock acquired, processing the job... [2025-03-09 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:24:03] Production.INFO: ==18846== Releasing lock... [2025-03-09 19:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:24:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:24:03] Production.INFO: ==18853== Lock acquired, processing the job... [2025-03-09 19:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:24:03] Production.INFO: ==18855== Lock acquired, processing the job... [2025-03-09 19:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:24:03] Production.INFO: ==18851== Lock acquired, processing the job... [2025-03-09 19:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:24:04] Production.INFO: ==18859== Lock acquired, processing the job... [2025-03-09 19:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:24:04] Production.INFO: ==18853== Releasing lock... [2025-03-09 19:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:24:04] Production.INFO: ==18857== Lock acquired, processing the job... [2025-03-09 19:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:24:04] Production.INFO: ==18861== Lock acquired, processing the job... [2025-03-09 19:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:24:04] Production.INFO: Account Balance Start. [2025-03-09 19:24:04] Production.INFO: CreateAllLog Start [2025-03-09 19:24:04] Production.INFO: 117 [2025-03-09 19:24:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:24:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:24:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:24:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:24:04] Production.INFO: Total Charge 0 [2025-03-09 19:24:04] Production.ERROR: done [2025-03-09 19:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:24:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 19:24:04] Production.INFO: count ==13 [2025-03-09 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-09 19:24:04] Production.INFO: count ==21 [2025-03-09 19:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644292') start [2025-03-09 19:24:04] Production.ERROR: done [2025-03-09 19:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644292') end [2025-03-09 19:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:24:04] Production.INFO: 1 [2025-03-09 19:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:24:04] Production.INFO: Account Balance End. [2025-03-09 19:24:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:24:04] Production.INFO: ==18857== Releasing lock... [2025-03-09 19:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:24:04] Production.INFO: ==18861== Releasing lock... [2025-03-09 19:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:24:05 [end_date_ymd] => 2025-03-09 19:24:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:24:05' and `end` < '2025-03-09 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-09 19:24:13] Production.ERROR: CronJobId end10 [2025-03-09 19:24:13] Production.INFO: ==18855== Releasing lock... [2025-03-09 19:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:24:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:24:14] Production.INFO: call_cost start [2025-03-09 19:24:14] Production.INFO: call_cost end [2025-03-09 19:24:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:24:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:24:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:24:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:24:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:24:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:24:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:24:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:24:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:24:15] Production.INFO: ==18851== Releasing lock... [2025-03-09 19:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:24:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:24:17] Production.INFO: count ==1387 [2025-03-09 19:24:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:24:05 - End Time 2025-03-09 19:24:05 [2025-03-09 19:24:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644293', 'tblTempUsageDetail_20' ) start [2025-03-09 19:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644293', 'tblTempUsageDetail_20' ) end [2025-03-09 19:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644293', 'tblTempVendorCDR_20' ) start [2025-03-09 19:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644293', 'tblTempVendorCDR_20' ) end [2025-03-09 19:24:18] Production.INFO: ProcessCDR(1,14644293,1,1,2) [2025-03-09 19:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644293', 'tblTempUsageDetail_20' ) start [2025-03-09 19:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644293', 'tblTempUsageDetail_20' ) end [2025-03-09 19:24:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:24:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:24:21] Production.INFO: ==18859== Releasing lock... [2025-03-09 19:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:24:21] Production.INFO: 38.75 MB #Memory Used# [2025-03-09 23:25:01] Production.INFO: ==18919== Lock acquired, processing the job... [2025-03-09 23:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:25:01] Production.INFO: neon service started [2025-03-09 23:25:01] Production.INFO: neon service started [2025-03-09 23:25:01] Production.INFO: ==18919== Releasing lock... [2025-03-09 23:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 23:25:01] Production.INFO: ==18923== Lock acquired, processing the job... [2025-03-09 23:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:25:01] Production.INFO: ==18923== Releasing lock... [2025-03-09 23:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:25:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:25:02] Production.INFO: ==18921== Lock acquired, processing the job... [2025-03-09 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:25:02] Production.INFO: ==18921== Releasing lock... [2025-03-09 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:25:03] Production.INFO: ==18925== Lock acquired, processing the job... [2025-03-09 19:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:25:03] Production.INFO: ==18931== Lock acquired, processing the job... [2025-03-09 19:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:25:03] Production.INFO: ==18929== Lock acquired, processing the job... [2025-03-09 19:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:25:03] Production.INFO: ==18927== Lock acquired, processing the job... [2025-03-09 19:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:25:03] Production.INFO: Account Balance Start. [2025-03-09 19:25:03] Production.INFO: CreateAllLog Start [2025-03-09 19:25:03] Production.INFO: 117 [2025-03-09 19:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:25:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:25:03] Production.INFO: ==18934== Lock acquired, processing the job... [2025-03-09 19:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:25:03] Production.INFO: Date 2025-03-09 [2025-03-09 19:25:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:25:03] Production.INFO: Total Charge 0 [2025-03-09 19:25:03] Production.INFO: CreateAllLog End [2025-03-09 19:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:25:03] Production.INFO: ==18936== Lock acquired, processing the job... [2025-03-09 19:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 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-09 19:25:03] Production.INFO: Account Balance End. [2025-03-09 19:25:03] Production.INFO: ==18927== Releasing lock... [2025-03-09 19:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:25:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:25:03] Production.INFO: count ==13 [2025-03-09 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-09 19:25:03] Production.INFO: count ==21 [2025-03-09 19:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644297') start [2025-03-09 19:25:03] Production.ERROR: CronJobId end 12 [2025-03-09 19:25:03] Production.INFO: ==18931== Releasing lock... [2025-03-09 19:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:25:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:25:04] Production.ERROR: done [2025-03-09 19:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644297') end [2025-03-09 19:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:25:04] Production.INFO: 1 [2025-03-09 19:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:25:04] Production.INFO: ==18936== Releasing lock... [2025-03-09 19:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:25:04] Production.ERROR: done [2025-03-09 19:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:25:05 [end_date_ymd] => 2025-03-09 19:25:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:25:05' and `end` < '2025-03-09 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-09 19:25:11] Production.ERROR: CronJobId end10 [2025-03-09 19:25:11] Production.INFO: ==18929== Releasing lock... [2025-03-09 19:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:25:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:25:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:25:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:25:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:25:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:25:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:25:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:25:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:25:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:25:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:25:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:25:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:25:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:25:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:25:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:25:13] Production.INFO: call_cost start [2025-03-09 19:25:13] Production.INFO: call_cost end [2025-03-09 19:25:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:25:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:25:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:25:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:25:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:25:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:25:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:25:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:25:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:25:14] Production.INFO: ==18925== Releasing lock... [2025-03-09 19:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:25:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:25:17] Production.INFO: count ==1383 [2025-03-09 19:25:17] Production.ERROR: pbx CDR StartTime 2025-03-09 16:25:05 - End Time 2025-03-09 19:25:05 [2025-03-09 19:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644298', 'tblTempUsageDetail_20' ) start [2025-03-09 19:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644298', 'tblTempUsageDetail_20' ) end [2025-03-09 19:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644298', 'tblTempVendorCDR_20' ) start [2025-03-09 19:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644298', 'tblTempVendorCDR_20' ) end [2025-03-09 19:25:17] Production.INFO: ProcessCDR(1,14644298,1,1,2) [2025-03-09 19:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644298', 'tblTempUsageDetail_20' ) start [2025-03-09 19:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644298', 'tblTempUsageDetail_20' ) end [2025-03-09 19:25:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:25:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:25:21] Production.INFO: ==18934== Releasing lock... [2025-03-09 19:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:25:21] Production.INFO: 38.75 MB #Memory Used# [2025-03-09 23:26:01] Production.INFO: ==18998== Lock acquired, processing the job... [2025-03-09 23:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:26:01] Production.INFO: neon service started [2025-03-09 23:26:01] Production.INFO: neon service started [2025-03-09 23:26:01] Production.INFO: ==18998== Releasing lock... [2025-03-09 23:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 23:26:02] Production.INFO: ==19002== Lock acquired, processing the job... [2025-03-09 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:26:02] Production.INFO: ==19002== Releasing lock... [2025-03-09 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:26:02] Production.INFO: ==19000== Lock acquired, processing the job... [2025-03-09 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:26:02] Production.INFO: ==19000== Releasing lock... [2025-03-09 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:26:03] Production.INFO: ==19005== Lock acquired, processing the job... [2025-03-09 19:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:26:03] Production.INFO: ==19009== Lock acquired, processing the job... [2025-03-09 19:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:26:03] Production.INFO: ==19011== Lock acquired, processing the job... [2025-03-09 19:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:26:03] Production.INFO: Account Balance Start. [2025-03-09 19:26:03] Production.INFO: CreateAllLog Start [2025-03-09 19:26:03] Production.INFO: 117 [2025-03-09 19:26:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:26:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:26:03] Production.INFO: Date 2025-03-09 [2025-03-09 19:26:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:26:03] Production.INFO: Total Charge 0 [2025-03-09 19:26:03] Production.INFO: ==19007== Lock acquired, processing the job... [2025-03-09 19:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:26:03] Production.INFO: CreateAllLog End [2025-03-09 19:26:03] Production.INFO: ==19013== Lock acquired, processing the job... [2025-03-09 19:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:26:03] Production.INFO: ==19015== Lock acquired, processing the job... [2025-03-09 19:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:26:03] Production.INFO: Account Balance End. [2025-03-09 19:26:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:26:04] Production.INFO: ==19011== Releasing lock... [2025-03-09 19:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:26:04] Production.INFO: ==19007== Releasing lock... [2025-03-09 19:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 19:26:04] Production.INFO: count ==13 [2025-03-09 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-09 19:26:04] Production.INFO: count ==21 [2025-03-09 19:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644302') start [2025-03-09 19:26:04] Production.ERROR: done [2025-03-09 19:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644302') end [2025-03-09 19:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:26:04] Production.INFO: 1 [2025-03-09 19:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:26:04] Production.INFO: ==19015== Releasing lock... [2025-03-09 19:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:26:04] Production.ERROR: done [2025-03-09 19:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:26:05 [end_date_ymd] => 2025-03-09 19:26:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:26:05' and `end` < '2025-03-09 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-09 19:26:11] Production.ERROR: CronJobId end10 [2025-03-09 19:26:11] Production.INFO: ==19009== Releasing lock... [2025-03-09 19:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:26:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:26:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:26:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:26:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:26:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:26:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:26:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:26:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:26:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:26:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:26:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:26:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:26:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:26:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:26:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:26:15] Production.INFO: call_cost start [2025-03-09 19:26:15] Production.INFO: call_cost end [2025-03-09 19:26:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:26:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:26:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:26:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:26:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:26:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:26:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:26:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:26:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:26:16] Production.INFO: ==19005== Releasing lock... [2025-03-09 19:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:26:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:26:17] Production.INFO: count ==1380 [2025-03-09 19:26:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:26:05 - End Time 2025-03-09 19:26:05 [2025-03-09 19:26:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644303', 'tblTempUsageDetail_20' ) start [2025-03-09 19:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644303', 'tblTempUsageDetail_20' ) end [2025-03-09 19:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644303', 'tblTempVendorCDR_20' ) start [2025-03-09 19:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644303', 'tblTempVendorCDR_20' ) end [2025-03-09 19:26:18] Production.INFO: ProcessCDR(1,14644303,1,1,2) [2025-03-09 19:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644303', 'tblTempUsageDetail_20' ) start [2025-03-09 19:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644303', 'tblTempUsageDetail_20' ) end [2025-03-09 19:26:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:26:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:26:21] Production.INFO: ==19013== Releasing lock... [2025-03-09 19:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:26:21] Production.INFO: 38.75 MB #Memory Used# [2025-03-09 23:27:02] Production.INFO: ==19069== Lock acquired, processing the job... [2025-03-09 23:27:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:27:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:27:02] Production.INFO: neon service started [2025-03-09 23:27:02] Production.INFO: neon service started [2025-03-09 23:27:02] Production.INFO: ==19069== Releasing lock... [2025-03-09 23:27:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:27:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 23:27:02] Production.INFO: ==19073== Lock acquired, processing the job... [2025-03-09 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:27:02] Production.INFO: ==19073== Releasing lock... [2025-03-09 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:27:02] Production.INFO: ==19071== Lock acquired, processing the job... [2025-03-09 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:27:03] Production.INFO: ==19071== Releasing lock... [2025-03-09 19:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:27:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:27:04] Production.INFO: ==19078== Lock acquired, processing the job... [2025-03-09 19:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:27:04] Production.INFO: ==19076== Lock acquired, processing the job... [2025-03-09 19:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:27:04] Production.INFO: ==19091== Lock acquired, processing the job... [2025-03-09 19:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:27:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:27:04] Production.INFO: ==19085== Lock acquired, processing the job... [2025-03-09 19:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:27:04] Production.INFO: ==19087== Lock acquired, processing the job... [2025-03-09 19:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:27:04] Production.INFO: ==19089== Lock acquired, processing the job... [2025-03-09 19:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 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-09 19:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:27:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:27:04] Production.INFO: count ==13 [2025-03-09 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-09 19:27:04] Production.INFO: count ==21 [2025-03-09 19:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644306') start [2025-03-09 19:27:04] Production.INFO: Account Balance Start. [2025-03-09 19:27:04] Production.INFO: CreateAllLog Start [2025-03-09 19:27:04] Production.INFO: 117 [2025-03-09 19:27:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:27:04] Production.INFO: ==19078== Releasing lock... [2025-03-09 19:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:27:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:27:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:27:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644306') end [2025-03-09 19:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:27:04] Production.INFO: 1 [2025-03-09 19:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:27:04] Production.INFO: Total Charge 0 [2025-03-09 19:27:04] Production.INFO: CreateAllLog End [2025-03-09 19:27:04] Production.INFO: ==19091== Releasing lock... [2025-03-09 19:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:27:04] Production.ERROR: done [2025-03-09 19:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:27:04] Production.ERROR: done [2025-03-09 19:27:05] Production.INFO: Account Balance End. [2025-03-09 19:27:05] Production.ERROR: CronJobId end 12 [2025-03-09 19:27:05] Production.INFO: ==19087== Releasing lock... [2025-03-09 19:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:27:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:27:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:27:05 [end_date_ymd] => 2025-03-09 19:27:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:27:05' and `end` < '2025-03-09 19:27:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 19:27:12] Production.ERROR: CronJobId end10 [2025-03-09 19:27:12] Production.INFO: ==19085== Releasing lock... [2025-03-09 19:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:27:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:27:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:27:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:27:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:27:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:27:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:27:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:27:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:27:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:27:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:27:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:27:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:27:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:27:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:27:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:27:14] Production.INFO: call_cost start [2025-03-09 19:27:14] Production.INFO: call_cost end [2025-03-09 19:27:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:27:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:27:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:27:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:27:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:27:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:27:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:27:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:27:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:27:15] Production.INFO: ==19076== Releasing lock... [2025-03-09 19:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:27:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:27:18] Production.INFO: count ==1387 [2025-03-09 19:27:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:27:05 - End Time 2025-03-09 19:27:05 [2025-03-09 19:27:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644308', 'tblTempUsageDetail_20' ) start [2025-03-09 19:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644308', 'tblTempUsageDetail_20' ) end [2025-03-09 19:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644308', 'tblTempVendorCDR_20' ) start [2025-03-09 19:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644308', 'tblTempVendorCDR_20' ) end [2025-03-09 19:27:18] Production.INFO: ProcessCDR(1,14644308,1,1,2) [2025-03-09 19:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644308', 'tblTempUsageDetail_20' ) start [2025-03-09 19:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644308', 'tblTempUsageDetail_20' ) end [2025-03-09 19:27:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:27:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:27:21] Production.INFO: ==19089== Releasing lock... [2025-03-09 19:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:27:21] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:28:01] Production.INFO: ==19146== Lock acquired, processing the job... [2025-03-09 23:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:28:01] Production.INFO: neon service started [2025-03-09 23:28:01] Production.INFO: neon service started [2025-03-09 23:28:01] Production.INFO: ==19146== Releasing lock... [2025-03-09 23:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 23:28:02] Production.INFO: ==19150== Lock acquired, processing the job... [2025-03-09 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:28:02] Production.INFO: ==19150== Releasing lock... [2025-03-09 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:28:02] Production.INFO: ==19148== Lock acquired, processing the job... [2025-03-09 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:28:02] Production.INFO: ==19148== Releasing lock... [2025-03-09 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:28:03] Production.INFO: ==19157== Lock acquired, processing the job... [2025-03-09 19:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:28:03] Production.INFO: ==19163== Lock acquired, processing the job... [2025-03-09 19:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:28:03] Production.INFO: ==19153== Lock acquired, processing the job... [2025-03-09 19:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:28:03] Production.INFO: count ==13 [2025-03-09 19:28:03] Production.INFO: ==19159== Lock acquired, processing the job... [2025-03-09 19:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:28:03] Production.INFO: count ==21 [2025-03-09 19:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644309') start [2025-03-09 19:28:03] Production.INFO: ==19155== Lock acquired, processing the job... [2025-03-09 19:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:28:03] Production.INFO: ==19161== Lock acquired, processing the job... [2025-03-09 19:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644309') end [2025-03-09 19:28:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:28:03] Production.INFO: 1 [2025-03-09 19:28:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:28:03] Production.INFO: ==19163== Releasing lock... [2025-03-09 19:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:28:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:28:04] Production.INFO: Account Balance Start. [2025-03-09 19:28:04] Production.INFO: CreateAllLog Start [2025-03-09 19:28:04] Production.INFO: 117 [2025-03-09 19:28:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:28:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:28:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:28:04] Production.INFO: Total Charge 0 [2025-03-09 19:28:04] Production.INFO: CreateAllLog End [2025-03-09 19:28:04] Production.INFO: ==19155== Releasing lock... [2025-03-09 19:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:28:04] Production.ERROR: done [2025-03-09 19:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:28:04] Production.INFO: Account Balance End. [2025-03-09 19:28:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:28:04] Production.INFO: ==19159== Releasing lock... [2025-03-09 19:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:28:04] Production.ERROR: done [2025-03-09 19:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:28:05 [end_date_ymd] => 2025-03-09 19:28:05 [RateCDR] => 1 ) [2025-03-09 19:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 16:28:05' and `end` < '2025-03-09 19:28:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 19:28:11] Production.ERROR: CronJobId end10 [2025-03-09 19:28:11] Production.INFO: ==19157== Releasing lock... [2025-03-09 19:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:28:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:28:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:28:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:28:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:28:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:28:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:28:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:28:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:28:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:28:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:28:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:28:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:28:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:28:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:28:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:28:15] Production.INFO: call_cost start [2025-03-09 19:28:15] Production.INFO: call_cost end [2025-03-09 19:28:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:28:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:28:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:28:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:28:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:28:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:28:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:28:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:28:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:28:16] Production.INFO: ==19153== Releasing lock... [2025-03-09 19:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:28:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:28:17] Production.INFO: count ==1381 [2025-03-09 19:28:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:28:05 - End Time 2025-03-09 19:28:05 [2025-03-09 19:28:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644313', 'tblTempUsageDetail_20' ) start [2025-03-09 19:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644313', 'tblTempUsageDetail_20' ) end [2025-03-09 19:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644313', 'tblTempVendorCDR_20' ) start [2025-03-09 19:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644313', 'tblTempVendorCDR_20' ) end [2025-03-09 19:28:18] Production.INFO: ProcessCDR(1,14644313,1,1,2) [2025-03-09 19:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644313', 'tblTempUsageDetail_20' ) start [2025-03-09 19:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644313', 'tblTempUsageDetail_20' ) end [2025-03-09 19:28:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:28:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:28:21] Production.INFO: ==19161== Releasing lock... [2025-03-09 19:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:28:21] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:29:02] Production.INFO: ==19256== Lock acquired, processing the job... [2025-03-09 23:29:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:29:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:29:02] Production.INFO: neon service started [2025-03-09 23:29:02] Production.INFO: neon service started [2025-03-09 23:29:02] Production.INFO: ==19256== Releasing lock... [2025-03-09 23:29:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:29:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 23:29:02] Production.INFO: ==19260== Lock acquired, processing the job... [2025-03-09 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:29:02] Production.INFO: ==19260== Releasing lock... [2025-03-09 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:29:02] Production.INFO: ==19258== Lock acquired, processing the job... [2025-03-09 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:29:03] Production.INFO: ==19258== Releasing lock... [2025-03-09 19:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:29:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:29:04] Production.INFO: ==19267== Lock acquired, processing the job... [2025-03-09 19:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:29:04] Production.INFO: ==19273== Lock acquired, processing the job... [2025-03-09 19:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:29:04] Production.INFO: ==19263== Lock acquired, processing the job... [2025-03-09 19:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:29:04] Production.INFO: ==19265== Lock acquired, processing the job... [2025-03-09 19:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 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-09 19:29:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:29:04] Production.INFO: count ==13 [2025-03-09 19:29:04] Production.INFO: ==19269== Lock acquired, processing the job... [2025-03-09 19:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 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-09 19:29:04] Production.INFO: count ==21 [2025-03-09 19:29:04] Production.INFO: ==19271== Lock acquired, processing the job... [2025-03-09 19:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644314') start [2025-03-09 19:29:04] Production.INFO: Account Balance Start. [2025-03-09 19:29:04] Production.INFO: CreateAllLog Start [2025-03-09 19:29:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:29:04] Production.INFO: 117 [2025-03-09 19:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644314') end [2025-03-09 19:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:29:04] Production.INFO: 1 [2025-03-09 19:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:29:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:29:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:29:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:29:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:29:04] Production.INFO: Total Charge 0 [2025-03-09 19:29:04] Production.INFO: CreateAllLog End [2025-03-09 19:29:04] Production.INFO: ==19273== Releasing lock... [2025-03-09 19:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:29:04] Production.INFO: ==19265== Releasing lock... [2025-03-09 19:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:29:04] Production.ERROR: done [2025-03-09 19:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:29:04] Production.INFO: Account Balance End. [2025-03-09 19:29:05] Production.ERROR: CronJobId end 12 [2025-03-09 19:29:05] Production.INFO: ==19269== Releasing lock... [2025-03-09 19:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:29:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:29:05] Production.ERROR: done [2025-03-09 19:29:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:29:06 [end_date_ymd] => 2025-03-09 19:29:06 [RateCDR] => 1 ) [2025-03-09 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-09 16:29:06' and `end` < '2025-03-09 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-09 19:29:12] Production.ERROR: CronJobId end10 [2025-03-09 19:29:12] Production.INFO: ==19267== Releasing lock... [2025-03-09 19:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:29:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:29:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:29:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:29:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:29:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:29:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:29:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:29:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:29:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:29:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:29:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:29:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:29:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:29:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:29:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:29:15] Production.INFO: call_cost start [2025-03-09 19:29:15] Production.INFO: call_cost end [2025-03-09 19:29:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:29:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:29:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:29:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:29:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:29:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:29:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:29:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:29:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:29:16] Production.INFO: ==19263== Releasing lock... [2025-03-09 19:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:29:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:29:18] Production.INFO: count ==1381 [2025-03-09 19:29:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:29:06 - End Time 2025-03-09 19:29:06 [2025-03-09 19:29:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644318', 'tblTempUsageDetail_20' ) start [2025-03-09 19:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644318', 'tblTempUsageDetail_20' ) end [2025-03-09 19:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644318', 'tblTempVendorCDR_20' ) start [2025-03-09 19:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644318', 'tblTempVendorCDR_20' ) end [2025-03-09 19:29:18] Production.INFO: ProcessCDR(1,14644318,1,1,2) [2025-03-09 19:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644318', 'tblTempUsageDetail_20' ) start [2025-03-09 19:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644318', 'tblTempUsageDetail_20' ) end [2025-03-09 19:29:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:29:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:29:23] Production.INFO: ==19271== Releasing lock... [2025-03-09 19:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:29:23] Production.INFO: 38.75 MB #Memory Used# [2025-03-09 23:30:01] Production.INFO: ==19329== Lock acquired, processing the job... [2025-03-09 23:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:30:01] Production.INFO: neon service started [2025-03-09 23:30:01] Production.INFO: neon service started [2025-03-09 23:30:01] Production.INFO: ==19329== Releasing lock... [2025-03-09 23:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:30:02] Production.INFO: ==19331== Lock acquired, processing the job... [2025-03-09 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 23:30:02] Production.INFO: ==19333== Lock acquired, processing the job... [2025-03-09 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 19:30:02] Production.INFO: ==19331== Releasing lock... [2025-03-09 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:30:02] Production.INFO: ==19333== Releasing lock... [2025-03-09 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:30:03] Production.INFO: ==19336== Lock acquired, processing the job... [2025-03-09 19:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 19:30:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 19:30:03] Production.INFO: ==19338== Lock acquired, processing the job... [2025-03-09 19:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:30:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 19:30:03] Production.INFO: ==19336== Releasing lock... [2025-03-09 19:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 19:30:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 19:30:03] Production.INFO: ==19340== Lock acquired, processing the job... [2025-03-09 19:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:30:03] Production.INFO: ==19342== Lock acquired, processing the job... [2025-03-09 19:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:30:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:30:03] Production.INFO: ==19344== Lock acquired, processing the job... [2025-03-09 19:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:30:03] Production.INFO: ==19346== Lock acquired, processing the job... [2025-03-09 19:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:30:04] Production.INFO: ==19348== Lock acquired, processing the job... [2025-03-09 19:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 19:30:04] Production.INFO: ==19350== Lock acquired, processing the job... [2025-03-09 19:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 19:30:04] Production.INFO: Account Balance Start. [2025-03-09 19:30:04] Production.INFO: CreateAllLog Start [2025-03-09 19:30:04] Production.INFO: 117 [2025-03-09 19:30:04] Production.INFO: count ==13 [2025-03-09 19:30:04] Production.INFO: ==19340== Releasing lock... [2025-03-09 19:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:30:04] Production.INFO: Date 2025-03-08 [2025-03-09 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-09 19:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:30:04] Production.INFO: count ==21 [2025-03-09 19:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644322') start [2025-03-09 19:30:04] Production.ERROR: done [2025-03-09 19:30:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:30:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644322') end [2025-03-09 19:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:30:04] Production.INFO: 1 [2025-03-09 19:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:30:04] Production.ERROR: done [2025-03-09 19:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:30:04] Production.INFO: Total Charge 0 [2025-03-09 19:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 19:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644323', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 19:30:04] Production.INFO: CreateAllLog End [2025-03-09 19:30:04] Production.INFO: ==19350== Releasing lock... [2025-03-09 19:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:30:04] Production.ERROR: done [2025-03-09 19:30:04] Production.INFO: Account Balance End. [2025-03-09 19:30:05] Production.ERROR: CronJobId end 12 [2025-03-09 19:30:05] Production.INFO: ==19344== Releasing lock... [2025-03-09 19:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:30:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:30:05 [end_date_ymd] => 2025-03-09 19:30:05 [RateCDR] => 1 ) [2025-03-09 19:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 16:30:05' and `end` < '2025-03-09 19:30:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 19:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644323', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 19:30:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 19:30:08] Production.INFO: ProcessCDR(1,14644323,1,1,2) [2025-03-09 19:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14644323,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14644323,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:30:08] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:30:08] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:30:08] Production.INFO: ==19348== Releasing lock... [2025-03-09 19:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 19:30:08] Production.INFO: 26 MB #Memory Used# [2025-03-09 19:30:15] Production.ERROR: CronJobId end10 [2025-03-09 19:30:15] Production.INFO: ==19342== Releasing lock... [2025-03-09 19:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:30:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:30:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:30:16] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:30:16] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:30:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:30:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:30:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:30:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:30:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:30:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:30:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:30:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:30:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:30:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:30:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:30:16] Production.INFO: call_cost start [2025-03-09 19:30:16] Production.INFO: call_cost end [2025-03-09 19:30:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:30:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:30:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:30:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:30:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:30:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:30:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:30:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:30:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:30:17] Production.INFO: ==19338== Releasing lock... [2025-03-09 19:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:30:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:30:18] Production.INFO: count ==1366 [2025-03-09 19:30:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:30:05 - End Time 2025-03-09 19:30:05 [2025-03-09 19:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644324', 'tblTempUsageDetail_20' ) start [2025-03-09 19:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644324', 'tblTempUsageDetail_20' ) end [2025-03-09 19:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644324', 'tblTempVendorCDR_20' ) start [2025-03-09 19:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644324', 'tblTempVendorCDR_20' ) end [2025-03-09 19:30:18] Production.INFO: ProcessCDR(1,14644324,1,1,2) [2025-03-09 19:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644324', 'tblTempUsageDetail_20' ) start [2025-03-09 19:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644324', 'tblTempUsageDetail_20' ) end [2025-03-09 19:30:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:30:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:30:21] Production.INFO: ==19346== Releasing lock... [2025-03-09 19:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:30:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 23:31:02] Production.INFO: ==19404== Lock acquired, processing the job... [2025-03-09 23:31:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:31:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:31:02] Production.INFO: neon service started [2025-03-09 23:31:02] Production.INFO: neon service started [2025-03-09 23:31:02] Production.INFO: ==19404== Releasing lock... [2025-03-09 23:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:31:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:31:02] Production.INFO: ==19406== Lock acquired, processing the job... [2025-03-09 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 23:31:02] Production.INFO: ==19408== Lock acquired, processing the job... [2025-03-09 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:31:02] Production.INFO: ==19408== Releasing lock... [2025-03-09 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:31:03] Production.INFO: ==19406== Releasing lock... [2025-03-09 19:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:31:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:31:03] Production.INFO: ==19415== Lock acquired, processing the job... [2025-03-09 19:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:31:04] Production.INFO: ==19421== Lock acquired, processing the job... [2025-03-09 19:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:31:04] Production.INFO: ==19411== Lock acquired, processing the job... [2025-03-09 19:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 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-09 19:31:04] Production.INFO: ==19413== Lock acquired, processing the job... [2025-03-09 19:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:31:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:31:04] Production.INFO: count ==13 [2025-03-09 19:31:04] Production.INFO: ==19417== Lock acquired, processing the job... [2025-03-09 19:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 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-09 19:31:04] Production.INFO: ==19419== Lock acquired, processing the job... [2025-03-09 19:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:31:04] Production.INFO: count ==21 [2025-03-09 19:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644325') start [2025-03-09 19:31:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:31:04] Production.INFO: Account Balance Start. [2025-03-09 19:31:04] Production.INFO: CreateAllLog Start [2025-03-09 19:31:04] Production.INFO: 117 [2025-03-09 19:31:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:31:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644325') end [2025-03-09 19:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:31:04] Production.INFO: 1 [2025-03-09 19:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:31:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:31:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:31:04] Production.INFO: Total Charge 0 [2025-03-09 19:31:04] Production.INFO: CreateAllLog End [2025-03-09 19:31:04] Production.INFO: ==19421== Releasing lock... [2025-03-09 19:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:31:04] Production.INFO: ==19413== Releasing lock... [2025-03-09 19:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:31:04] Production.ERROR: done [2025-03-09 19:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:31:04] Production.INFO: Account Balance End. [2025-03-09 19:31:04] Production.ERROR: done [2025-03-09 19:31:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:31:04] Production.INFO: ==19417== Releasing lock... [2025-03-09 19:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:31:05 [end_date_ymd] => 2025-03-09 19:31:05 [RateCDR] => 1 ) [2025-03-09 19:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 16:31:05' and `end` < '2025-03-09 19:31:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 19:31:12] Production.ERROR: CronJobId end10 [2025-03-09 19:31:12] Production.INFO: ==19415== Releasing lock... [2025-03-09 19:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:31:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:31:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:31:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:31:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:31:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:31:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:31:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:31:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:31:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:31:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:31:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:31:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:31:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:31:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:31:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:31:15] Production.INFO: call_cost start [2025-03-09 19:31:15] Production.INFO: call_cost end [2025-03-09 19:31:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:31:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:31:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:31:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:31:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:31:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:31:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:31:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:31:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:31:16] Production.INFO: ==19411== Releasing lock... [2025-03-09 19:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:31:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:31:17] Production.INFO: count ==1386 [2025-03-09 19:31:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:31:05 - End Time 2025-03-09 19:31:05 [2025-03-09 19:31:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644329', 'tblTempUsageDetail_20' ) start [2025-03-09 19:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644329', 'tblTempUsageDetail_20' ) end [2025-03-09 19:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644329', 'tblTempVendorCDR_20' ) start [2025-03-09 19:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644329', 'tblTempVendorCDR_20' ) end [2025-03-09 19:31:18] Production.INFO: ProcessCDR(1,14644329,1,1,2) [2025-03-09 19:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644329', 'tblTempUsageDetail_20' ) start [2025-03-09 19:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644329', 'tblTempUsageDetail_20' ) end [2025-03-09 19:31:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:31:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:31:21] Production.INFO: ==19419== Releasing lock... [2025-03-09 19:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:31:21] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:32:01] Production.INFO: ==19473== Lock acquired, processing the job... [2025-03-09 23:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:32:01] Production.INFO: neon service started [2025-03-09 23:32:01] Production.INFO: neon service started [2025-03-09 23:32:01] Production.INFO: ==19473== Releasing lock... [2025-03-09 23:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:32:02] Production.INFO: ==19476== Lock acquired, processing the job... [2025-03-09 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:32:02] Production.INFO: ==19476== Releasing lock... [2025-03-09 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:32:02] Production.INFO: ==19478== Lock acquired, processing the job... [2025-03-09 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:32:02] Production.INFO: ==19478== Releasing lock... [2025-03-09 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:32:03] Production.INFO: ==19482== Lock acquired, processing the job... [2025-03-09 19:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:32:03] Production.INFO: ==19480== Lock acquired, processing the job... [2025-03-09 19:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:32:03] Production.INFO: ==19490== Lock acquired, processing the job... [2025-03-09 19:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:32:03] Production.INFO: ==19484== Lock acquired, processing the job... [2025-03-09 19:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:32:03] Production.INFO: ==19486== Lock acquired, processing the job... [2025-03-09 19:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 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-09 19:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:32:03] Production.INFO: count ==13 [2025-03-09 19:32:03] Production.INFO: ==19488== Lock acquired, processing the job... [2025-03-09 19:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 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-09 19:32:03] Production.INFO: count ==21 [2025-03-09 19:32:04] Production.INFO: ==19482== Releasing lock... [2025-03-09 19:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644331') start [2025-03-09 19:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:32:04] Production.INFO: Account Balance Start. [2025-03-09 19:32:04] Production.INFO: CreateAllLog Start [2025-03-09 19:32:04] Production.INFO: 117 [2025-03-09 19:32:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644331') end [2025-03-09 19:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:32:04] Production.INFO: 1 [2025-03-09 19:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:32:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:32:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:32:04] Production.INFO: Total Charge 0 [2025-03-09 19:32:04] Production.INFO: CreateAllLog End [2025-03-09 19:32:04] Production.INFO: ==19490== Releasing lock... [2025-03-09 19:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:32:04] Production.ERROR: done [2025-03-09 19:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:32:04] Production.INFO: Account Balance End. [2025-03-09 19:32:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:32:04] Production.INFO: ==19486== Releasing lock... [2025-03-09 19:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:32:04] Production.ERROR: done [2025-03-09 19:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:32:05 [end_date_ymd] => 2025-03-09 19:32:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:32:05' and `end` < '2025-03-09 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-09 19:32:12] Production.ERROR: CronJobId end10 [2025-03-09 19:32:12] Production.INFO: ==19484== Releasing lock... [2025-03-09 19:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:32:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:32:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:32:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:32:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:32:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:32:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:32:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:32:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:32:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:32:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:32:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:32:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:32:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:32:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:32:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:32:15] Production.INFO: call_cost start [2025-03-09 19:32:15] Production.INFO: call_cost end [2025-03-09 19:32:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:32:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:32:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:32:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:32:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:32:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:32:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:32:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:32:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:32:16] Production.INFO: ==19480== Releasing lock... [2025-03-09 19:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:32:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:32:17] Production.INFO: count ==1391 [2025-03-09 19:32:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:32:05 - End Time 2025-03-09 19:32:05 [2025-03-09 19:32:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644334', 'tblTempUsageDetail_20' ) start [2025-03-09 19:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644334', 'tblTempUsageDetail_20' ) end [2025-03-09 19:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644334', 'tblTempVendorCDR_20' ) start [2025-03-09 19:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644334', 'tblTempVendorCDR_20' ) end [2025-03-09 19:32:18] Production.INFO: ProcessCDR(1,14644334,1,1,2) [2025-03-09 19:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644334', 'tblTempUsageDetail_20' ) start [2025-03-09 19:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644334', 'tblTempUsageDetail_20' ) end [2025-03-09 19:32:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:32:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:32:21] Production.INFO: ==19488== Releasing lock... [2025-03-09 19:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:32:21] Production.INFO: 38.75 MB #Memory Used# [2025-03-09 23:33:02] Production.INFO: ==19546== Lock acquired, processing the job... [2025-03-09 23:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:33:02] Production.INFO: neon service started [2025-03-09 23:33:02] Production.INFO: neon service started [2025-03-09 23:33:02] Production.INFO: ==19546== Releasing lock... [2025-03-09 23:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 23:33:02] Production.INFO: ==19550== Lock acquired, processing the job... [2025-03-09 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:33:02] Production.INFO: ==19550== Releasing lock... [2025-03-09 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:33:02] Production.INFO: ==19548== Lock acquired, processing the job... [2025-03-09 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:33:03] Production.INFO: ==19548== Releasing lock... [2025-03-09 19:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:33:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:33:03] Production.INFO: ==19555== Lock acquired, processing the job... [2025-03-09 19:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:33:03] Production.INFO: ==19563== Lock acquired, processing the job... [2025-03-09 19:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:33:04] Production.INFO: ==19553== Lock acquired, processing the job... [2025-03-09 19:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:33:04] Production.INFO: ==19557== Lock acquired, processing the job... [2025-03-09 19:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 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-09 19:33:04] Production.INFO: ==19559== Lock acquired, processing the job... [2025-03-09 19:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:33:04] Production.INFO: count ==13 [2025-03-09 19:33:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:33:04] Production.INFO: ==19561== Lock acquired, processing the job... [2025-03-09 19:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:33:04] Production.INFO: ==19555== Releasing lock... [2025-03-09 19:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 19:33:04] Production.INFO: count ==21 [2025-03-09 19:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644336') start [2025-03-09 19:33:04] Production.INFO: Account Balance Start. [2025-03-09 19:33:04] Production.INFO: CreateAllLog Start [2025-03-09 19:33:04] Production.INFO: 117 [2025-03-09 19:33:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:33:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:33:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:33:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:33:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:33:04] Production.INFO: Total Charge 0 [2025-03-09 19:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644336') end [2025-03-09 19:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:33:04] Production.INFO: 1 [2025-03-09 19:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:33:04] Production.INFO: CreateAllLog End [2025-03-09 19:33:04] Production.INFO: ==19563== Releasing lock... [2025-03-09 19:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:33:04] Production.INFO: Account Balance End. [2025-03-09 19:33:04] Production.ERROR: done [2025-03-09 19:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:33:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:33:04] Production.INFO: ==19559== Releasing lock... [2025-03-09 19:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:33:04] Production.ERROR: done [2025-03-09 19:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:33:05 [end_date_ymd] => 2025-03-09 19:33:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:33:05' and `end` < '2025-03-09 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-09 19:33:12] Production.ERROR: CronJobId end10 [2025-03-09 19:33:12] Production.INFO: ==19557== Releasing lock... [2025-03-09 19:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:33:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:33:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:33:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:33:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:33:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:33:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:33:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:33:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:33:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:33:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:33:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:33:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:33:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:33:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:33:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:33:15] Production.INFO: call_cost start [2025-03-09 19:33:15] Production.INFO: call_cost end [2025-03-09 19:33:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:33:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:33:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:33:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:33:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:33:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:33:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:33:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:33:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:33:16] Production.INFO: ==19553== Releasing lock... [2025-03-09 19:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:33:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:33:17] Production.INFO: count ==1396 [2025-03-09 19:33:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:33:05 - End Time 2025-03-09 19:33:05 [2025-03-09 19:33:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644339', 'tblTempUsageDetail_20' ) start [2025-03-09 19:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644339', 'tblTempUsageDetail_20' ) end [2025-03-09 19:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644339', 'tblTempVendorCDR_20' ) start [2025-03-09 19:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644339', 'tblTempVendorCDR_20' ) end [2025-03-09 19:33:18] Production.INFO: ProcessCDR(1,14644339,1,1,2) [2025-03-09 19:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644339', 'tblTempUsageDetail_20' ) start [2025-03-09 19:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644339', 'tblTempUsageDetail_20' ) end [2025-03-09 19:33:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:33:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:33:21] Production.INFO: ==19561== Releasing lock... [2025-03-09 19:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:33:21] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:34:01] Production.INFO: ==19630== Lock acquired, processing the job... [2025-03-09 23:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:34:01] Production.INFO: neon service started [2025-03-09 23:34:01] Production.INFO: neon service started [2025-03-09 23:34:01] Production.INFO: ==19630== Releasing lock... [2025-03-09 23:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:34:02] Production.INFO: ==19632== Lock acquired, processing the job... [2025-03-09 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 23:34:02] Production.INFO: ==19634== Lock acquired, processing the job... [2025-03-09 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:34:02] Production.INFO: ==19634== Releasing lock... [2025-03-09 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:34:02] Production.INFO: ==19632== Releasing lock... [2025-03-09 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:34:03] Production.INFO: ==19645== Lock acquired, processing the job... [2025-03-09 19:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:34:03] Production.INFO: ==19647== Lock acquired, processing the job... [2025-03-09 19:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:34:03] Production.INFO: ==19637== Lock acquired, processing the job... [2025-03-09 19:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:34:03] Production.INFO: ==19639== Lock acquired, processing the job... [2025-03-09 19:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:34:03] Production.INFO: ==19641== Lock acquired, processing the job... [2025-03-09 19:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:34:03] Production.INFO: ==19643== Lock acquired, processing the job... [2025-03-09 19:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 19:34:03] Production.INFO: count ==13 [2025-03-09 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-09 19:34:03] Production.INFO: count ==21 [2025-03-09 19:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644341') start [2025-03-09 19:34:04] Production.INFO: Account Balance Start. [2025-03-09 19:34:04] Production.INFO: CreateAllLog Start [2025-03-09 19:34:04] Production.INFO: 117 [2025-03-09 19:34:04] Production.ERROR: done [2025-03-09 19:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644341') end [2025-03-09 19:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:34:04] Production.INFO: 1 [2025-03-09 19:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:34:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:34:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:34:04] Production.INFO: ==19647== Releasing lock... [2025-03-09 19:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:34:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:34:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:34:04] Production.INFO: ==19639== Releasing lock... [2025-03-09 19:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:34:04] Production.ERROR: done [2025-03-09 19:34:04] Production.INFO: Total Charge 0 [2025-03-09 19:34:04] Production.INFO: CreateAllLog End [2025-03-09 19:34:04] Production.INFO: Account Balance End. [2025-03-09 19:34:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:34:04] Production.INFO: ==19643== Releasing lock... [2025-03-09 19:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:34:05 [end_date_ymd] => 2025-03-09 19:34:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:34:05' and `end` < '2025-03-09 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-09 19:34:12] Production.ERROR: CronJobId end10 [2025-03-09 19:34:12] Production.INFO: ==19641== Releasing lock... [2025-03-09 19:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:34:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:34:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:34:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:34:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:34:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:34:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:34:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:34:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:34:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:34:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:34:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:34:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:34:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:34:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:34:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:34:14] Production.INFO: call_cost start [2025-03-09 19:34:14] Production.INFO: call_cost end [2025-03-09 19:34:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:34:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:34:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:34:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:34:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:34:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:34:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:34:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:34:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:34:15] Production.INFO: ==19637== Releasing lock... [2025-03-09 19:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:34:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:34:17] Production.INFO: count ==1400 [2025-03-09 19:34:17] Production.ERROR: pbx CDR StartTime 2025-03-09 16:34:05 - End Time 2025-03-09 19:34:05 [2025-03-09 19:34:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644344', 'tblTempUsageDetail_20' ) start [2025-03-09 19:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644344', 'tblTempUsageDetail_20' ) end [2025-03-09 19:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644344', 'tblTempVendorCDR_20' ) start [2025-03-09 19:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644344', 'tblTempVendorCDR_20' ) end [2025-03-09 19:34:17] Production.INFO: ProcessCDR(1,14644344,1,1,2) [2025-03-09 19:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644344', 'tblTempUsageDetail_20' ) start [2025-03-09 19:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644344', 'tblTempUsageDetail_20' ) end [2025-03-09 19:34:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:34:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:34:21] Production.INFO: ==19645== Releasing lock... [2025-03-09 19:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:34:21] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:35:02] Production.INFO: ==19709== Lock acquired, processing the job... [2025-03-09 23:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:35:02] Production.INFO: neon service started [2025-03-09 23:35:02] Production.INFO: neon service started [2025-03-09 23:35:02] Production.INFO: ==19709== Releasing lock... [2025-03-09 23:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:35:02] Production.INFO: ==19711== Lock acquired, processing the job... [2025-03-09 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:35:02] Production.INFO: ==19711== Releasing lock... [2025-03-09 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:35:03] Production.INFO: ==19713== Lock acquired, processing the job... [2025-03-09 23:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:35:03] Production.INFO: ==19713== Releasing lock... [2025-03-09 23:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:35:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:35:03] Production.INFO: ==19720== Lock acquired, processing the job... [2025-03-09 19:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:35:03] Production.INFO: ==19722== Lock acquired, processing the job... [2025-03-09 19:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:35:03] Production.INFO: Account Balance Start. [2025-03-09 19:35:03] Production.INFO: CreateAllLog Start [2025-03-09 19:35:03] Production.INFO: 117 [2025-03-09 19:35:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:35:03] Production.INFO: ==19718== Lock acquired, processing the job... [2025-03-09 19:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:35:04] Production.INFO: ==19716== Lock acquired, processing the job... [2025-03-09 19:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:35:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:35:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:35:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:35:04] Production.INFO: ==19724== Lock acquired, processing the job... [2025-03-09 19:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:35:04] Production.INFO: Total Charge 0 [2025-03-09 19:35:04] Production.INFO: ==19726== Lock acquired, processing the job... [2025-03-09 19:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:35:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:35:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 19:35:04] Production.INFO: count ==13 [2025-03-09 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-09 19:35:04] Production.INFO: count ==21 [2025-03-09 19:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644348') start [2025-03-09 19:35:04] Production.INFO: ==19718== Releasing lock... [2025-03-09 19:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644348') end [2025-03-09 19:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:35:04] Production.INFO: 1 [2025-03-09 19:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:35:04] Production.INFO: ==19726== Releasing lock... [2025-03-09 19:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:35:04] Production.INFO: Account Balance End. [2025-03-09 19:35:04] Production.ERROR: done [2025-03-09 19:35:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:35:04] Production.INFO: ==19722== Releasing lock... [2025-03-09 19:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:35:04] Production.ERROR: done [2025-03-09 19:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:35:05 [end_date_ymd] => 2025-03-09 19:35:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:35:05' and `end` < '2025-03-09 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-09 19:35:12] Production.ERROR: CronJobId end10 [2025-03-09 19:35:12] Production.INFO: ==19720== Releasing lock... [2025-03-09 19:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:35:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:35:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:35:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:35:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:35:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:35:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:35:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:35:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:35:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:35:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:35:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:35:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:35:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:35:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:35:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:35:15] Production.INFO: call_cost start [2025-03-09 19:35:15] Production.INFO: call_cost end [2025-03-09 19:35:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:35:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:35:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:35:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:35:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:35:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:35:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:35:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:35:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:35:15] Production.INFO: ==19716== Releasing lock... [2025-03-09 19:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:35:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:35:17] Production.INFO: count ==1406 [2025-03-09 19:35:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:35:05 - End Time 2025-03-09 19:35:05 [2025-03-09 19:35:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644349', 'tblTempUsageDetail_20' ) start [2025-03-09 19:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644349', 'tblTempUsageDetail_20' ) end [2025-03-09 19:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644349', 'tblTempVendorCDR_20' ) start [2025-03-09 19:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644349', 'tblTempVendorCDR_20' ) end [2025-03-09 19:35:18] Production.INFO: ProcessCDR(1,14644349,1,1,2) [2025-03-09 19:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644349', 'tblTempUsageDetail_20' ) start [2025-03-09 19:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644349', 'tblTempUsageDetail_20' ) end [2025-03-09 19:35:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:35:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:35:21] Production.INFO: ==19724== Releasing lock... [2025-03-09 19:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:35:21] Production.INFO: 38.75 MB #Memory Used# [2025-03-09 23:36:01] Production.INFO: ==19788== Lock acquired, processing the job... [2025-03-09 23:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:36:01] Production.INFO: neon service started [2025-03-09 23:36:01] Production.INFO: neon service started [2025-03-09 23:36:01] Production.INFO: ==19788== Releasing lock... [2025-03-09 23:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:36:02] Production.INFO: ==19790== Lock acquired, processing the job... [2025-03-09 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 23:36:02] Production.INFO: ==19792== Lock acquired, processing the job... [2025-03-09 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:36:02] Production.INFO: ==19792== Releasing lock... [2025-03-09 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:36:02] Production.INFO: ==19790== Releasing lock... [2025-03-09 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:36:03] Production.INFO: ==19801== Lock acquired, processing the job... [2025-03-09 19:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:36:03] Production.INFO: ==19803== Lock acquired, processing the job... [2025-03-09 19:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:36:03] Production.INFO: ==19795== Lock acquired, processing the job... [2025-03-09 19:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:36:03] Production.INFO: ==19797== Lock acquired, processing the job... [2025-03-09 19:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:36:03] Production.INFO: ==19799== Lock acquired, processing the job... [2025-03-09 19:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:36:03] Production.INFO: Account Balance Start. [2025-03-09 19:36:03] Production.INFO: CreateAllLog Start [2025-03-09 19:36:03] Production.INFO: 117 [2025-03-09 19:36:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:36:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:36:03] Production.INFO: ==19805== Lock acquired, processing the job... [2025-03-09 19:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:36:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:36:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:36:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:36:04] Production.INFO: Total Charge 0 [2025-03-09 19:36:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 19:36:04] Production.ERROR: done [2025-03-09 19:36:04] Production.INFO: count ==13 [2025-03-09 19:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 19:36:04] Production.INFO: count ==21 [2025-03-09 19:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644353') start [2025-03-09 19:36:04] Production.ERROR: done [2025-03-09 19:36:04] Production.INFO: Account Balance End. [2025-03-09 19:36:04] Production.INFO: ==19797== Releasing lock... [2025-03-09 19:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644353') end [2025-03-09 19:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:36:04] Production.INFO: 1 [2025-03-09 19:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:36:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:36:04] Production.INFO: ==19801== Releasing lock... [2025-03-09 19:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:36:04] Production.INFO: ==19805== Releasing lock... [2025-03-09 19:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:36:05 [end_date_ymd] => 2025-03-09 19:36:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:36:05' and `end` < '2025-03-09 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-09 19:36:12] Production.ERROR: CronJobId end10 [2025-03-09 19:36:12] Production.INFO: ==19799== Releasing lock... [2025-03-09 19:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:36:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:36:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:36:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:36:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:36:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:36:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:36:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:36:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:36:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:36:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:36:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:36:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:36:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:36:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:36:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:36:15] Production.INFO: call_cost start [2025-03-09 19:36:15] Production.INFO: call_cost end [2025-03-09 19:36:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:36:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:36:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:36:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:36:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:36:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:36:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:36:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:36:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:36:16] Production.INFO: ==19795== Releasing lock... [2025-03-09 19:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:36:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:36:18] Production.INFO: count ==1427 [2025-03-09 19:36:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:36:05 - End Time 2025-03-09 19:36:05 [2025-03-09 19:36:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644354', 'tblTempUsageDetail_20' ) start [2025-03-09 19:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644354', 'tblTempUsageDetail_20' ) end [2025-03-09 19:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644354', 'tblTempVendorCDR_20' ) start [2025-03-09 19:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644354', 'tblTempVendorCDR_20' ) end [2025-03-09 19:36:18] Production.INFO: ProcessCDR(1,14644354,1,1,2) [2025-03-09 19:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644354', 'tblTempUsageDetail_20' ) start [2025-03-09 19:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644354', 'tblTempUsageDetail_20' ) end [2025-03-09 19:36:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:36:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:36:21] Production.INFO: ==19803== Releasing lock... [2025-03-09 19:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:36:21] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:37:02] Production.INFO: ==19864== Lock acquired, processing the job... [2025-03-09 23:37:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:37:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:37:02] Production.INFO: neon service started [2025-03-09 23:37:02] Production.INFO: neon service started [2025-03-09 23:37:02] Production.INFO: ==19864== Releasing lock... [2025-03-09 23:37:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:37:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:37:02] Production.INFO: ==19866== Lock acquired, processing the job... [2025-03-09 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:37:02] Production.INFO: ==19866== Releasing lock... [2025-03-09 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:37:03] Production.INFO: ==19869== Lock acquired, processing the job... [2025-03-09 23:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:37:03] Production.INFO: ==19869== Releasing lock... [2025-03-09 23:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:37:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:37:03] Production.INFO: ==19877== Lock acquired, processing the job... [2025-03-09 19:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:37:03] Production.INFO: Account Balance Start. [2025-03-09 19:37:03] Production.INFO: CreateAllLog Start [2025-03-09 19:37:03] Production.INFO: 117 [2025-03-09 19:37:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:37:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:37:03] Production.INFO: ==19879== Lock acquired, processing the job... [2025-03-09 19:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:37:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:37:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:37:04] Production.INFO: Total Charge 0 [2025-03-09 19:37:04] Production.INFO: ==19871== Lock acquired, processing the job... [2025-03-09 19:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:37:04] Production.INFO: CreateAllLog End [2025-03-09 19:37:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:37:04] Production.INFO: ==19873== Lock acquired, processing the job... [2025-03-09 19:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:37:04] Production.INFO: ==19875== Lock acquired, processing the job... [2025-03-09 19:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:37:04] Production.INFO: ==19881== Lock acquired, processing the job... [2025-03-09 19:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:37:04] Production.INFO: Account Balance End. [2025-03-09 19:37:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:37:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:37:04] Production.INFO: ==19877== Releasing lock... [2025-03-09 19:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:37:04] Production.ERROR: done [2025-03-09 19:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 19:37:04] Production.INFO: count ==13 [2025-03-09 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-09 19:37:04] Production.INFO: count ==21 [2025-03-09 19:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644358') start [2025-03-09 19:37:04] Production.ERROR: done [2025-03-09 19:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644358') end [2025-03-09 19:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:37:04] Production.INFO: 1 [2025-03-09 19:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:37:04] Production.INFO: ==19873== Releasing lock... [2025-03-09 19:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:37:04] Production.INFO: ==19881== Releasing lock... [2025-03-09 19:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:37:05 [end_date_ymd] => 2025-03-09 19:37:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:37:05' and `end` < '2025-03-09 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-09 19:37:12] Production.ERROR: CronJobId end10 [2025-03-09 19:37:12] Production.INFO: ==19875== Releasing lock... [2025-03-09 19:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:37:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:37:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:37:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:37:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:37:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:37:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:37:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:37:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:37:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:37:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:37:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:37:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:37:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:37:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:37:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:37:15] Production.INFO: call_cost start [2025-03-09 19:37:15] Production.INFO: call_cost end [2025-03-09 19:37:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:37:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:37:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:37:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:37:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:37:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:37:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:37:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:37:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:37:16] Production.INFO: ==19871== Releasing lock... [2025-03-09 19:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:37:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:37:17] Production.INFO: count ==1427 [2025-03-09 19:37:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:37:05 - End Time 2025-03-09 19:37:05 [2025-03-09 19:37:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644359', 'tblTempUsageDetail_20' ) start [2025-03-09 19:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644359', 'tblTempUsageDetail_20' ) end [2025-03-09 19:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644359', 'tblTempVendorCDR_20' ) start [2025-03-09 19:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644359', 'tblTempVendorCDR_20' ) end [2025-03-09 19:37:18] Production.INFO: ProcessCDR(1,14644359,1,1,2) [2025-03-09 19:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644359', 'tblTempUsageDetail_20' ) start [2025-03-09 19:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644359', 'tblTempUsageDetail_20' ) end [2025-03-09 19:37:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:37:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:37:21] Production.INFO: ==19879== Releasing lock... [2025-03-09 19:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:37:21] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:38:01] Production.INFO: ==19944== Lock acquired, processing the job... [2025-03-09 23:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:38:01] Production.INFO: neon service started [2025-03-09 23:38:01] Production.INFO: neon service started [2025-03-09 23:38:01] Production.INFO: ==19944== Releasing lock... [2025-03-09 23:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 23:38:02] Production.INFO: ==19948== Lock acquired, processing the job... [2025-03-09 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:38:02] Production.INFO: ==19948== Releasing lock... [2025-03-09 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:38:02] Production.INFO: ==19946== Lock acquired, processing the job... [2025-03-09 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:38:02] Production.INFO: ==19946== Releasing lock... [2025-03-09 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:38:03] Production.INFO: ==19957== Lock acquired, processing the job... [2025-03-09 19:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:38:03] Production.INFO: Account Balance Start. [2025-03-09 19:38:03] Production.INFO: CreateAllLog Start [2025-03-09 19:38:03] Production.INFO: 117 [2025-03-09 19:38:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:38:03] Production.INFO: ==19951== Lock acquired, processing the job... [2025-03-09 19:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:38:03] Production.INFO: ==19961== Lock acquired, processing the job... [2025-03-09 19:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:38:03] Production.INFO: ==19953== Lock acquired, processing the job... [2025-03-09 19:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:38:03] Production.INFO: Date 2025-03-09 [2025-03-09 19:38:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:38:03] Production.INFO: ==19955== Lock acquired, processing the job... [2025-03-09 19:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:38:03] Production.INFO: Total Charge 0 [2025-03-09 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-09 19:38:03] Production.INFO: CreateAllLog End [2025-03-09 19:38:03] Production.INFO: count ==13 [2025-03-09 19:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:38:03] Production.INFO: ==19959== Lock acquired, processing the job... [2025-03-09 19:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 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-09 19:38:04] Production.INFO: count ==21 [2025-03-09 19:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644361') start [2025-03-09 19:38:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:38:04] Production.INFO: Account Balance End. [2025-03-09 19:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644361') end [2025-03-09 19:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:38:04] Production.INFO: 1 [2025-03-09 19:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:38:04] Production.INFO: ==19953== Releasing lock... [2025-03-09 19:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:38:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:38:04] Production.INFO: ==19957== Releasing lock... [2025-03-09 19:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:38:04] Production.INFO: ==19961== Releasing lock... [2025-03-09 19:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:38:04] Production.ERROR: done [2025-03-09 19:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:38:04] Production.ERROR: done [2025-03-09 19:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:38:05 [end_date_ymd] => 2025-03-09 19:38:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:38:05' and `end` < '2025-03-09 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-09 19:38:11] Production.ERROR: CronJobId end10 [2025-03-09 19:38:11] Production.INFO: ==19955== Releasing lock... [2025-03-09 19:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:38:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:38:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:38:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:38:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:38:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:38:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:38:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:38:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:38:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:38:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:38:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:38:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:38:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:38:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:38:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:38:14] Production.INFO: call_cost start [2025-03-09 19:38:14] Production.INFO: call_cost end [2025-03-09 19:38:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:38:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:38:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:38:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:38:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:38:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:38:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:38:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:38:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:38:15] Production.INFO: ==19951== Releasing lock... [2025-03-09 19:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:38:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:38:17] Production.INFO: count ==1427 [2025-03-09 19:38:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:38:05 - End Time 2025-03-09 19:38:05 [2025-03-09 19:38:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644364', 'tblTempUsageDetail_20' ) start [2025-03-09 19:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644364', 'tblTempUsageDetail_20' ) end [2025-03-09 19:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644364', 'tblTempVendorCDR_20' ) start [2025-03-09 19:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644364', 'tblTempVendorCDR_20' ) end [2025-03-09 19:38:18] Production.INFO: ProcessCDR(1,14644364,1,1,2) [2025-03-09 19:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644364', 'tblTempUsageDetail_20' ) start [2025-03-09 19:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644364', 'tblTempUsageDetail_20' ) end [2025-03-09 19:38:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:38:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:38:21] Production.INFO: ==19959== Releasing lock... [2025-03-09 19:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:38:21] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:39:02] Production.INFO: ==20025== Lock acquired, processing the job... [2025-03-09 23:39:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:39:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:39:02] Production.INFO: neon service started [2025-03-09 23:39:02] Production.INFO: neon service started [2025-03-09 23:39:02] Production.INFO: ==20025== Releasing lock... [2025-03-09 23:39:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:39:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:39:02] Production.INFO: ==20027== Lock acquired, processing the job... [2025-03-09 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:39:02] Production.INFO: ==20027== Releasing lock... [2025-03-09 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:39:03] Production.INFO: ==20029== Lock acquired, processing the job... [2025-03-09 23:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:39:03] Production.INFO: ==20029== Releasing lock... [2025-03-09 23:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:39:03] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:39:03] Production.INFO: ==20032== Lock acquired, processing the job... [2025-03-09 19:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:39:03] Production.INFO: ==20036== Lock acquired, processing the job... [2025-03-09 19:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:39:04] Production.INFO: ==20034== Lock acquired, processing the job... [2025-03-09 19:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:39:04] Production.INFO: ==20038== Lock acquired, processing the job... [2025-03-09 19:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:39:04] Production.INFO: ==20042== Lock acquired, processing the job... [2025-03-09 19:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:39:04] Production.INFO: ==20040== Lock acquired, processing the job... [2025-03-09 19:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:39:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:39:04] Production.INFO: Account Balance Start. [2025-03-09 19:39:04] Production.INFO: CreateAllLog Start [2025-03-09 19:39:04] Production.INFO: 117 [2025-03-09 19:39:04] Production.INFO: Date 2025-03-08 [2025-03-09 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-09 19:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:39:04] Production.INFO: count ==13 [2025-03-09 19:39:04] Production.INFO: Date 2025-03-09 [2025-03-09 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-09 19:39:04] Production.INFO: count ==21 [2025-03-09 19:39:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:39:04] Production.INFO: ==20034== Releasing lock... [2025-03-09 19:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644368') start [2025-03-09 19:39:04] Production.INFO: Total Charge 0 [2025-03-09 19:39:04] Production.INFO: CreateAllLog End [2025-03-09 19:39:04] Production.ERROR: done [2025-03-09 19:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644368') end [2025-03-09 19:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:39:04] Production.INFO: 1 [2025-03-09 19:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:39:04] Production.ERROR: done [2025-03-09 19:39:04] Production.INFO: ==20042== Releasing lock... [2025-03-09 19:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:39:04] Production.INFO: Account Balance End. [2025-03-09 19:39:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:39:04] Production.INFO: ==20038== Releasing lock... [2025-03-09 19:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:39:05 [end_date_ymd] => 2025-03-09 19:39:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:39:05' and `end` < '2025-03-09 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-09 19:39:13] Production.ERROR: CronJobId end10 [2025-03-09 19:39:13] Production.INFO: ==20036== Releasing lock... [2025-03-09 19:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:39:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:39:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:39:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:39:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:39:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:39:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:39:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:39:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:39:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:39:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:39:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:39:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:39:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:39:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:39:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:39:16] Production.INFO: call_cost start [2025-03-09 19:39:16] Production.INFO: call_cost end [2025-03-09 19:39:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:39:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:39:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:39:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:39:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:39:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:39:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:39:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:39:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:39:17] Production.INFO: ==20032== Releasing lock... [2025-03-09 19:39:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:39:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:39:17] Production.INFO: count ==1428 [2025-03-09 19:39:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:39:05 - End Time 2025-03-09 19:39:05 [2025-03-09 19:39:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644369', 'tblTempUsageDetail_20' ) start [2025-03-09 19:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644369', 'tblTempUsageDetail_20' ) end [2025-03-09 19:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644369', 'tblTempVendorCDR_20' ) start [2025-03-09 19:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644369', 'tblTempVendorCDR_20' ) end [2025-03-09 19:39:18] Production.INFO: ProcessCDR(1,14644369,1,1,2) [2025-03-09 19:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644369', 'tblTempUsageDetail_20' ) start [2025-03-09 19:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644369', 'tblTempUsageDetail_20' ) end [2025-03-09 19:39:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:39:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:39:22] Production.INFO: ==20040== Releasing lock... [2025-03-09 19:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:39:22] Production.INFO: 38.75 MB #Memory Used# [2025-03-09 23:40:01] Production.INFO: ==20103== Lock acquired, processing the job... [2025-03-09 23:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:40:01] Production.INFO: neon service started [2025-03-09 23:40:01] Production.INFO: neon service started [2025-03-09 23:40:01] Production.INFO: ==20103== Releasing lock... [2025-03-09 23:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:40:02] Production.INFO: ==20105== Lock acquired, processing the job... [2025-03-09 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:40:02] Production.INFO: ==20105== Releasing lock... [2025-03-09 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:40:02] Production.INFO: ==20107== Lock acquired, processing the job... [2025-03-09 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:40:02] Production.INFO: ==20107== Releasing lock... [2025-03-09 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:40:03] Production.INFO: ==20110== Lock acquired, processing the job... [2025-03-09 19:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 19:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 19:40:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 19:40:03] Production.INFO: ==20110== Releasing lock... [2025-03-09 19:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 19:40:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 19:40:03] Production.INFO: ==20112== Lock acquired, processing the job... [2025-03-09 19:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:40:03] Production.INFO: ==20114== Lock acquired, processing the job... [2025-03-09 19:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:40:03] Production.INFO: ==20116== Lock acquired, processing the job... [2025-03-09 19:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:40:03] Production.INFO: ==20118== Lock acquired, processing the job... [2025-03-09 19:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:40:04] Production.INFO: ==20120== Lock acquired, processing the job... [2025-03-09 19:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:40:04] Production.INFO: Account Balance Start. [2025-03-09 19:40:04] Production.INFO: CreateAllLog Start [2025-03-09 19:40:04] Production.INFO: 117 [2025-03-09 19:40:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:40:04] Production.INFO: ==20122== Lock acquired, processing the job... [2025-03-09 19:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 19:40:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:40:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:40:04] Production.INFO: ==20124== Lock acquired, processing the job... [2025-03-09 19:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:40:04] Production.INFO: Total Charge 0 [2025-03-09 19:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:40:04] Production.INFO: CreateAllLog End [2025-03-09 19:40:04] Production.INFO: ==20114== Releasing lock... [2025-03-09 19:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 19:40:04] Production.INFO: count ==13 [2025-03-09 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-09 19:40:04] Production.INFO: count ==21 [2025-03-09 19:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644373') start [2025-03-09 19:40:04] Production.ERROR: done [2025-03-09 19:40:04] Production.ERROR: done [2025-03-09 19:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:40:04] Production.INFO: Account Balance End. [2025-03-09 19:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644373') end [2025-03-09 19:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:40:04] Production.INFO: 1 [2025-03-09 19:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 19:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644374', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 19:40:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:40:04] Production.INFO: ==20118== Releasing lock... [2025-03-09 19:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:40:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:40:04] Production.INFO: ==20124== Releasing lock... [2025-03-09 19:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:40:05] Production.ERROR: done [2025-03-09 19:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:40:06 [end_date_ymd] => 2025-03-09 19:40:06 [RateCDR] => 1 ) [2025-03-09 19:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 16:40:06' and `end` < '2025-03-09 19:40:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 19:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644374', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 19:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 19:40:09] Production.INFO: ProcessCDR(1,14644374,1,1,2) [2025-03-09 19:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14644374,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14644374,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:40:09] Production.INFO: ==20122== Releasing lock... [2025-03-09 19:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 19:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 19:40:13] Production.ERROR: CronJobId end10 [2025-03-09 19:40:13] Production.INFO: ==20116== Releasing lock... [2025-03-09 19:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:40:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:40:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:40:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:40:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:40:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:40:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:40:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:40:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:40:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:40:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:40:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:40:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:40:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:40:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:40:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:40:16] Production.INFO: call_cost start [2025-03-09 19:40:16] Production.INFO: call_cost end [2025-03-09 19:40:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:40:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:40:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:40:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:40:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:40:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:40:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:40:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:40:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:40:16] Production.INFO: ==20112== Releasing lock... [2025-03-09 19:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:40:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:40:18] Production.INFO: count ==1426 [2025-03-09 19:40:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:40:06 - End Time 2025-03-09 19:40:06 [2025-03-09 19:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644375', 'tblTempUsageDetail_20' ) start [2025-03-09 19:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644375', 'tblTempUsageDetail_20' ) end [2025-03-09 19:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644375', 'tblTempVendorCDR_20' ) start [2025-03-09 19:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644375', 'tblTempVendorCDR_20' ) end [2025-03-09 19:40:18] Production.INFO: ProcessCDR(1,14644375,1,1,2) [2025-03-09 19:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644375', 'tblTempUsageDetail_20' ) start [2025-03-09 19:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644375', 'tblTempUsageDetail_20' ) end [2025-03-09 19:40:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:40:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:40:22] Production.INFO: ==20120== Releasing lock... [2025-03-09 19:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:40:22] Production.INFO: 38.75 MB #Memory Used# [2025-03-09 23:41:02] Production.INFO: ==20194== Lock acquired, processing the job... [2025-03-09 23:41:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:41:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:41:02] Production.INFO: neon service started [2025-03-09 23:41:02] Production.INFO: neon service started [2025-03-09 23:41:02] Production.INFO: ==20194== Releasing lock... [2025-03-09 23:41:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:41:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:41:02] Production.INFO: ==20196== Lock acquired, processing the job... [2025-03-09 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 23:41:02] Production.INFO: ==20198== Lock acquired, processing the job... [2025-03-09 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:41:02] Production.INFO: ==20198== Releasing lock... [2025-03-09 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:41:03] Production.INFO: ==20196== Releasing lock... [2025-03-09 19:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:41:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:41:04] Production.INFO: ==20209== Lock acquired, processing the job... [2025-03-09 19:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:41:04] Production.INFO: ==20211== Lock acquired, processing the job... [2025-03-09 19:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:41:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:41:04] Production.INFO: ==20201== Lock acquired, processing the job... [2025-03-09 19:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:41:04] Production.INFO: ==20203== Lock acquired, processing the job... [2025-03-09 19:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:41:04] Production.INFO: count ==13 [2025-03-09 19:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:41:04] Production.INFO: count ==21 [2025-03-09 19:41:04] Production.INFO: ==20205== Lock acquired, processing the job... [2025-03-09 19:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:41:04] Production.INFO: ==20207== Lock acquired, processing the job... [2025-03-09 19:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644376') start [2025-03-09 19:41:04] Production.ERROR: done [2025-03-09 19:41:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:41:04] Production.INFO: Account Balance Start. [2025-03-09 19:41:04] Production.INFO: CreateAllLog Start [2025-03-09 19:41:04] Production.INFO: 117 [2025-03-09 19:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644376') end [2025-03-09 19:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:41:04] Production.INFO: 1 [2025-03-09 19:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:41:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:41:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:41:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:41:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:41:04] Production.INFO: ==20211== Releasing lock... [2025-03-09 19:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:41:04] Production.INFO: Total Charge 0 [2025-03-09 19:41:04] Production.ERROR: done [2025-03-09 19:41:04] Production.INFO: CreateAllLog End [2025-03-09 19:41:04] Production.INFO: ==20203== Releasing lock... [2025-03-09 19:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:41:05] Production.INFO: Account Balance End. [2025-03-09 19:41:05] Production.ERROR: CronJobId end 12 [2025-03-09 19:41:05] Production.INFO: ==20207== Releasing lock... [2025-03-09 19:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:41:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:41:05 [end_date_ymd] => 2025-03-09 19:41:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:41:05' and `end` < '2025-03-09 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-09 19:41:11] Production.ERROR: CronJobId end10 [2025-03-09 19:41:11] Production.INFO: ==20205== Releasing lock... [2025-03-09 19:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:41:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:41:15] Production.INFO: call_cost start [2025-03-09 19:41:15] Production.INFO: call_cost end [2025-03-09 19:41:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:41:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:41:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:41:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:41:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:41:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:41:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:41:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:41:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:41:16] Production.INFO: ==20201== Releasing lock... [2025-03-09 19:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:41:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:41:17] Production.INFO: count ==1389 [2025-03-09 19:41:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:41:05 - End Time 2025-03-09 19:41:05 [2025-03-09 19:41:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644380', 'tblTempUsageDetail_20' ) start [2025-03-09 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644380', 'tblTempUsageDetail_20' ) end [2025-03-09 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644380', 'tblTempVendorCDR_20' ) start [2025-03-09 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644380', 'tblTempVendorCDR_20' ) end [2025-03-09 19:41:18] Production.INFO: ProcessCDR(1,14644380,1,1,2) [2025-03-09 19:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644380', 'tblTempUsageDetail_20' ) start [2025-03-09 19:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644380', 'tblTempUsageDetail_20' ) end [2025-03-09 19:41:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:41:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:41:21] Production.INFO: ==20209== Releasing lock... [2025-03-09 19:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:41:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 23:42:01] Production.INFO: ==20270== Lock acquired, processing the job... [2025-03-09 23:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:42:01] Production.INFO: neon service started [2025-03-09 23:42:01] Production.INFO: neon service started [2025-03-09 23:42:01] Production.INFO: ==20270== Releasing lock... [2025-03-09 23:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:42:02] Production.INFO: ==20272== Lock acquired, processing the job... [2025-03-09 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:42:02] Production.INFO: ==20272== Releasing lock... [2025-03-09 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:42:02] Production.INFO: ==20274== Lock acquired, processing the job... [2025-03-09 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:42:02] Production.INFO: ==20274== Releasing lock... [2025-03-09 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:42:03] Production.INFO: ==20284== Lock acquired, processing the job... [2025-03-09 19:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:42:03] Production.INFO: ==20277== Lock acquired, processing the job... [2025-03-09 19:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:42:03] Production.INFO: Account Balance Start. [2025-03-09 19:42:03] Production.INFO: CreateAllLog Start [2025-03-09 19:42:03] Production.INFO: 117 [2025-03-09 19:42:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:42:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:42:03] Production.INFO: ==20280== Lock acquired, processing the job... [2025-03-09 19:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:42:03] Production.INFO: ==20288== Lock acquired, processing the job... [2025-03-09 19:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:42:03] Production.INFO: Date 2025-03-09 [2025-03-09 19:42:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:42:03] Production.INFO: ==20282== Lock acquired, processing the job... [2025-03-09 19:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:42:03] Production.INFO: Total Charge 0 [2025-03-09 19:42:03] Production.INFO: CreateAllLog End [2025-03-09 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-09 19:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:42:03] Production.INFO: count ==13 [2025-03-09 19:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 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-09 19:42:03] Production.INFO: count ==21 [2025-03-09 19:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644383') start [2025-03-09 19:42:03] Production.INFO: ==20286== Lock acquired, processing the job... [2025-03-09 19:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:42:03] Production.INFO: Account Balance End. [2025-03-09 19:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644383') end [2025-03-09 19:42:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:42:03] Production.INFO: 1 [2025-03-09 19:42:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:42:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:42:04] Production.INFO: ==20284== Releasing lock... [2025-03-09 19:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:42:04] Production.INFO: ==20280== Releasing lock... [2025-03-09 19:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:42:04] Production.INFO: ==20288== Releasing lock... [2025-03-09 19:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:42:04] Production.ERROR: done [2025-03-09 19:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:42:04] Production.ERROR: done [2025-03-09 19:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:42:05 [end_date_ymd] => 2025-03-09 19:42:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:42:05' and `end` < '2025-03-09 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-09 19:42:12] Production.ERROR: CronJobId end10 [2025-03-09 19:42:12] Production.INFO: ==20282== Releasing lock... [2025-03-09 19:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:42:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:42:14] Production.INFO: call_cost start [2025-03-09 19:42:14] Production.INFO: call_cost end [2025-03-09 19:42:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:42:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:42:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:42:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:42:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:42:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:42:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:42:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:42:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:42:15] Production.INFO: ==20277== Releasing lock... [2025-03-09 19:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:42:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:42:17] Production.INFO: count ==1390 [2025-03-09 19:42:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:42:05 - End Time 2025-03-09 19:42:05 [2025-03-09 19:42:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644385', 'tblTempUsageDetail_20' ) start [2025-03-09 19:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644385', 'tblTempUsageDetail_20' ) end [2025-03-09 19:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644385', 'tblTempVendorCDR_20' ) start [2025-03-09 19:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644385', 'tblTempVendorCDR_20' ) end [2025-03-09 19:42:18] Production.INFO: ProcessCDR(1,14644385,1,1,2) [2025-03-09 19:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644385', 'tblTempUsageDetail_20' ) start [2025-03-09 19:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644385', 'tblTempUsageDetail_20' ) end [2025-03-09 19:42:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:42:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:42:21] Production.INFO: ==20286== Releasing lock... [2025-03-09 19:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:42:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 23:43:02] Production.INFO: ==20346== Lock acquired, processing the job... [2025-03-09 23:43:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:43:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:43:02] Production.INFO: neon service started [2025-03-09 23:43:02] Production.INFO: neon service started [2025-03-09 23:43:02] Production.INFO: ==20346== Releasing lock... [2025-03-09 23:43:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:43:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 23:43:02] Production.INFO: ==20350== Lock acquired, processing the job... [2025-03-09 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:43:02] Production.INFO: ==20350== Releasing lock... [2025-03-09 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:43:02] Production.INFO: ==20348== Lock acquired, processing the job... [2025-03-09 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:43:03] Production.INFO: ==20348== Releasing lock... [2025-03-09 19:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:43:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:43:03] Production.INFO: ==20353== Lock acquired, processing the job... [2025-03-09 19:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:43:03] Production.INFO: ==20355== Lock acquired, processing the job... [2025-03-09 19:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:43:03] Production.INFO: ==20357== Lock acquired, processing the job... [2025-03-09 19:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:43:04] Production.INFO: ==20361== Lock acquired, processing the job... [2025-03-09 19:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:43:04] Production.INFO: ==20359== Lock acquired, processing the job... [2025-03-09 19:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:43:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:43:04] Production.INFO: Account Balance Start. [2025-03-09 19:43:04] Production.INFO: CreateAllLog Start [2025-03-09 19:43:04] Production.INFO: 117 [2025-03-09 19:43:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:43:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:43:04] Production.INFO: ==20363== Lock acquired, processing the job... [2025-03-09 19:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:43:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:43:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:43:04] Production.INFO: ==20355== Releasing lock... [2025-03-09 19:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:43:04] Production.INFO: Total Charge 0 [2025-03-09 19:43:04] Production.INFO: CreateAllLog End [2025-03-09 19:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:43:04] Production.INFO: count ==13 [2025-03-09 19:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:43:04] Production.INFO: count ==21 [2025-03-09 19:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644389') start [2025-03-09 19:43:04] Production.ERROR: done [2025-03-09 19:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644389') end [2025-03-09 19:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:43:04] Production.INFO: 1 [2025-03-09 19:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:43:05] Production.INFO: ==20363== Releasing lock... [2025-03-09 19:43:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:43:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:43:05] Production.ERROR: done [2025-03-09 19:43:05] Production.INFO: Account Balance End. [2025-03-09 19:43:05] Production.ERROR: CronJobId end 12 [2025-03-09 19:43:05] Production.INFO: ==20359== Releasing lock... [2025-03-09 19:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:43:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:43:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:43:06 [end_date_ymd] => 2025-03-09 19:43:06 [RateCDR] => 1 ) [2025-03-09 19:43:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 16:43:06' and `end` < '2025-03-09 19:43:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 19:43:13] Production.ERROR: CronJobId end10 [2025-03-09 19:43:13] Production.INFO: ==20357== Releasing lock... [2025-03-09 19:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:43:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:43:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:43:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:43:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:43:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:43:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:43:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:43:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:43:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:43:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:43:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:43:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:43:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:43:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:43:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:43:15] Production.INFO: call_cost start [2025-03-09 19:43:15] Production.INFO: call_cost end [2025-03-09 19:43:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:43:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:43:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:43:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:43:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:43:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:43:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:43:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:43:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:43:16] Production.INFO: ==20353== Releasing lock... [2025-03-09 19:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:43:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:43:18] Production.INFO: count ==1393 [2025-03-09 19:43:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:43:06 - End Time 2025-03-09 19:43:06 [2025-03-09 19:43:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644390', 'tblTempUsageDetail_20' ) start [2025-03-09 19:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644390', 'tblTempUsageDetail_20' ) end [2025-03-09 19:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644390', 'tblTempVendorCDR_20' ) start [2025-03-09 19:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644390', 'tblTempVendorCDR_20' ) end [2025-03-09 19:43:18] Production.INFO: ProcessCDR(1,14644390,1,1,2) [2025-03-09 19:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644390', 'tblTempUsageDetail_20' ) start [2025-03-09 19:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644390', 'tblTempUsageDetail_20' ) end [2025-03-09 19:43:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:43:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:43:22] Production.INFO: ==20361== Releasing lock... [2025-03-09 19:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:43:22] Production.INFO: 38.75 MB #Memory Used# [2025-03-09 23:44:01] Production.INFO: ==20461== Lock acquired, processing the job... [2025-03-09 23:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:44:01] Production.INFO: neon service started [2025-03-09 23:44:01] Production.INFO: neon service started [2025-03-09 23:44:01] Production.INFO: ==20461== Releasing lock... [2025-03-09 23:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:44:02] Production.INFO: ==20463== Lock acquired, processing the job... [2025-03-09 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:44:02] Production.INFO: ==20463== Releasing lock... [2025-03-09 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:44:02] Production.INFO: ==20465== Lock acquired, processing the job... [2025-03-09 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:44:02] Production.INFO: ==20465== Releasing lock... [2025-03-09 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:44:03] Production.INFO: ==20473== Lock acquired, processing the job... [2025-03-09 19:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:44:03] Production.INFO: ==20477== Lock acquired, processing the job... [2025-03-09 19:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:44:03] Production.INFO: Account Balance Start. [2025-03-09 19:44:03] Production.INFO: CreateAllLog Start [2025-03-09 19:44:03] Production.INFO: 117 [2025-03-09 19:44:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:44:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:44:03] Production.INFO: ==20467== Lock acquired, processing the job... [2025-03-09 19:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:44:03] Production.INFO: ==20471== Lock acquired, processing the job... [2025-03-09 19:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:44:03] Production.INFO: Date 2025-03-09 [2025-03-09 19:44:03] Production.INFO: ==20469== Lock acquired, processing the job... [2025-03-09 19:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:44:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:44:03] Production.INFO: Total Charge 0 [2025-03-09 19:44:03] Production.INFO: count ==13 [2025-03-09 19:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:44:03] Production.INFO: CreateAllLog End [2025-03-09 19:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:44:03] Production.INFO: ==20475== Lock acquired, processing the job... [2025-03-09 19:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:44:03] Production.INFO: count ==21 [2025-03-09 19:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644392') start [2025-03-09 19:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:44:03] Production.INFO: Account Balance End. [2025-03-09 19:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644392') end [2025-03-09 19:44:03] Production.ERROR: CronJobId end 12 [2025-03-09 19:44:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:44:03] Production.INFO: 1 [2025-03-09 19:44:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:44:03] Production.INFO: ==20473== Releasing lock... [2025-03-09 19:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:44:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:44:04] Production.INFO: ==20477== Releasing lock... [2025-03-09 19:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:44:04] Production.INFO: ==20469== Releasing lock... [2025-03-09 19:44:04] Production.ERROR: done [2025-03-09 19:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:44:04] Production.ERROR: done [2025-03-09 19:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:44:05 [end_date_ymd] => 2025-03-09 19:44:05 [RateCDR] => 1 ) [2025-03-09 19:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 16:44:05' and `end` < '2025-03-09 19:44:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 19:44:11] Production.ERROR: CronJobId end10 [2025-03-09 19:44:11] Production.INFO: ==20471== Releasing lock... [2025-03-09 19:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:44:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:44:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:44:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:44:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:44:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:44:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:44:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:44:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:44:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:44:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:44:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:44:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:44:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:44:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:44:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:44:14] Production.INFO: call_cost start [2025-03-09 19:44:14] Production.INFO: call_cost end [2025-03-09 19:44:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:44:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:44:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:44:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:44:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:44:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:44:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:44:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:44:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:44:15] Production.INFO: ==20467== Releasing lock... [2025-03-09 19:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:44:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:44:17] Production.INFO: count ==1389 [2025-03-09 19:44:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:44:05 - End Time 2025-03-09 19:44:05 [2025-03-09 19:44:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644395', 'tblTempUsageDetail_20' ) start [2025-03-09 19:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644395', 'tblTempUsageDetail_20' ) end [2025-03-09 19:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644395', 'tblTempVendorCDR_20' ) start [2025-03-09 19:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644395', 'tblTempVendorCDR_20' ) end [2025-03-09 19:44:18] Production.INFO: ProcessCDR(1,14644395,1,1,2) [2025-03-09 19:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644395', 'tblTempUsageDetail_20' ) start [2025-03-09 19:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644395', 'tblTempUsageDetail_20' ) end [2025-03-09 19:44:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:44:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:44:21] Production.INFO: ==20475== Releasing lock... [2025-03-09 19:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:44:21] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:45:02] Production.INFO: ==20554== Lock acquired, processing the job... [2025-03-09 23:45:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:45:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:45:02] Production.INFO: neon service started [2025-03-09 23:45:02] Production.INFO: neon service started [2025-03-09 23:45:02] Production.INFO: ==20554== Releasing lock... [2025-03-09 23:45:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:45:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 23:45:02] Production.INFO: ==20558== Lock acquired, processing the job... [2025-03-09 23:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:45:02] Production.INFO: ==20558== Releasing lock... [2025-03-09 23:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:45:02] Production.INFO: ==20556== Lock acquired, processing the job... [2025-03-09 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:45:03] Production.INFO: ==20556== Releasing lock... [2025-03-09 19:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:45:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:45:03] Production.INFO: ==20564== Lock acquired, processing the job... [2025-03-09 19:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:45:04] Production.INFO: ==20568== Lock acquired, processing the job... [2025-03-09 19:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:45:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:45:04] Production.INFO: ==20560== Lock acquired, processing the job... [2025-03-09 19:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:45:04] Production.INFO: ==20562== Lock acquired, processing the job... [2025-03-09 19:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:45:04] Production.INFO: ==20566== Lock acquired, processing the job... [2025-03-09 19:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:45:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:45:04] Production.INFO: ==20571== Lock acquired, processing the job... [2025-03-09 19:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:45:04] Production.INFO: Account Balance Start. [2025-03-09 19:45:04] Production.INFO: CreateAllLog Start [2025-03-09 19:45:04] Production.INFO: 117 [2025-03-09 19:45:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:45:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:45:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:45:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:45:04] Production.ERROR: done [2025-03-09 19:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:45:04] Production.INFO: Total Charge 0 [2025-03-09 19:45:04] Production.INFO: CreateAllLog End [2025-03-09 19:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:45:04] Production.INFO: count ==13 [2025-03-09 19: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-09 19:45:04] Production.INFO: count ==21 [2025-03-09 19:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644399') start [2025-03-09 19:45:04] Production.INFO: ==20562== Releasing lock... [2025-03-09 19:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:45:05] Production.ERROR: done [2025-03-09 19:45:05] Production.ERROR: PBX CALL prc_importPBXExtension('14644399') end [2025-03-09 19:45:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:45:05] Production.INFO: 1 [2025-03-09 19:45:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:45:05] Production.INFO: Account Balance End. [2025-03-09 19:45:05] Production.INFO: ==20571== Releasing lock... [2025-03-09 19:45:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:45:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:45:05] Production.ERROR: CronJobId end 12 [2025-03-09 19:45:05] Production.INFO: ==20566== Releasing lock... [2025-03-09 19:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:45:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:45:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:45:06 [end_date_ymd] => 2025-03-09 19:45:06 [RateCDR] => 1 ) [2025-03-09 19:45:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 16:45:06' and `end` < '2025-03-09 19:45:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 19:45:13] Production.ERROR: CronJobId end10 [2025-03-09 19:45:13] Production.INFO: ==20564== Releasing lock... [2025-03-09 19:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:45:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:45:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:45:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:45:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:45:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:45:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:45:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:45:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:45:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:45:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:45:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:45:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:45:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:45:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:45:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:45:15] Production.INFO: call_cost start [2025-03-09 19:45:15] Production.INFO: call_cost end [2025-03-09 19:45:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:45:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:45:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:45:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:45:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:45:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:45:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:45:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:45:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:45:16] Production.INFO: ==20560== Releasing lock... [2025-03-09 19:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:45:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:45:18] Production.INFO: count ==1388 [2025-03-09 19:45:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:45:06 - End Time 2025-03-09 19:45:06 [2025-03-09 19:45:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644400', 'tblTempUsageDetail_20' ) start [2025-03-09 19:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644400', 'tblTempUsageDetail_20' ) end [2025-03-09 19:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644400', 'tblTempVendorCDR_20' ) start [2025-03-09 19:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644400', 'tblTempVendorCDR_20' ) end [2025-03-09 19:45:18] Production.INFO: ProcessCDR(1,14644400,1,1,2) [2025-03-09 19:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644400', 'tblTempUsageDetail_20' ) start [2025-03-09 19:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644400', 'tblTempUsageDetail_20' ) end [2025-03-09 19:45:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:45:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:45:22] Production.INFO: ==20568== Releasing lock... [2025-03-09 19:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:45:22] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 23:46:01] Production.INFO: ==20632== Lock acquired, processing the job... [2025-03-09 23:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:46:01] Production.INFO: neon service started [2025-03-09 23:46:01] Production.INFO: neon service started [2025-03-09 23:46:01] Production.INFO: ==20632== Releasing lock... [2025-03-09 23:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:46:02] Production.INFO: ==20634== Lock acquired, processing the job... [2025-03-09 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:46:02] Production.INFO: ==20634== Releasing lock... [2025-03-09 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:46:02] Production.INFO: ==20636== Lock acquired, processing the job... [2025-03-09 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:46:02] Production.INFO: ==20636== Releasing lock... [2025-03-09 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:46:03] Production.INFO: ==20638== Lock acquired, processing the job... [2025-03-09 19:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:46:03] Production.INFO: ==20640== Lock acquired, processing the job... [2025-03-09 19:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:46:03] Production.INFO: ==20643== Lock acquired, processing the job... [2025-03-09 19:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:46:03] Production.INFO: ==20647== Lock acquired, processing the job... [2025-03-09 19:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:46:03] Production.INFO: ==20645== Lock acquired, processing the job... [2025-03-09 19:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:46:03] Production.INFO: Account Balance Start. [2025-03-09 19:46:03] Production.INFO: CreateAllLog Start [2025-03-09 19:46:03] Production.INFO: 117 [2025-03-09 19:46:03] Production.INFO: ==20649== Lock acquired, processing the job... [2025-03-09 19:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:46:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:46:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:46:03] Production.INFO: ==20640== Releasing lock... [2025-03-09 19:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:46:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:46:03] Production.INFO: Date 2025-03-09 [2025-03-09 19:46:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:46:04] Production.INFO: Total Charge 0 [2025-03-09 19:46:04] Production.INFO: CreateAllLog End [2025-03-09 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-09 19:46:04] Production.INFO: count ==13 [2025-03-09 19:46:04] Production.ERROR: done [2025-03-09 19:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 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-09 19:46:04] Production.INFO: count ==21 [2025-03-09 19:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644404') start [2025-03-09 19:46:04] Production.INFO: Account Balance End. [2025-03-09 19:46:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:46:04] Production.INFO: ==20645== Releasing lock... [2025-03-09 19:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:46:04] Production.ERROR: done [2025-03-09 19:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644404') end [2025-03-09 19:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:46:04] Production.INFO: 1 [2025-03-09 19:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:46:04] Production.INFO: ==20649== Releasing lock... [2025-03-09 19:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:46:05 [end_date_ymd] => 2025-03-09 19:46:05 [RateCDR] => 1 ) [2025-03-09 19:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 16:46:05' and `end` < '2025-03-09 19:46:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 19:46:11] Production.ERROR: CronJobId end10 [2025-03-09 19:46:11] Production.INFO: ==20643== Releasing lock... [2025-03-09 19:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:46:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:46:14] Production.INFO: call_cost start [2025-03-09 19:46:14] Production.INFO: call_cost end [2025-03-09 19:46:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:46:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:46:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:46:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:46:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:46:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:46:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:46:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:46:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:46:15] Production.INFO: ==20638== Releasing lock... [2025-03-09 19:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:46:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:46:17] Production.INFO: count ==1388 [2025-03-09 19:46:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:46:05 - End Time 2025-03-09 19:46:05 [2025-03-09 19:46:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644405', 'tblTempUsageDetail_20' ) start [2025-03-09 19:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644405', 'tblTempUsageDetail_20' ) end [2025-03-09 19:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644405', 'tblTempVendorCDR_20' ) start [2025-03-09 19:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644405', 'tblTempVendorCDR_20' ) end [2025-03-09 19:46:18] Production.INFO: ProcessCDR(1,14644405,1,1,2) [2025-03-09 19:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644405', 'tblTempUsageDetail_20' ) start [2025-03-09 19:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644405', 'tblTempUsageDetail_20' ) end [2025-03-09 19:46:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:46:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:46:22] Production.INFO: ==20647== Releasing lock... [2025-03-09 19:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:46:22] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 23:47:02] Production.INFO: ==20711== Lock acquired, processing the job... [2025-03-09 23:47:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:47:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:47:02] Production.INFO: neon service started [2025-03-09 23:47:02] Production.INFO: neon service started [2025-03-09 23:47:02] Production.INFO: ==20711== Releasing lock... [2025-03-09 23:47:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:47:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 23:47:02] Production.INFO: ==20715== Lock acquired, processing the job... [2025-03-09 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:47:02] Production.INFO: ==20715== Releasing lock... [2025-03-09 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:47:02] Production.INFO: ==20713== Lock acquired, processing the job... [2025-03-09 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:47:02] Production.INFO: ==20713== Releasing lock... [2025-03-09 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:47:03] Production.INFO: ==20718== Lock acquired, processing the job... [2025-03-09 19:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:47:03] Production.INFO: ==20720== Lock acquired, processing the job... [2025-03-09 19:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:47:03] Production.INFO: ==20728== Lock acquired, processing the job... [2025-03-09 19:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:47:04] Production.INFO: ==20722== Lock acquired, processing the job... [2025-03-09 19:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 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-09 19:47:04] Production.INFO: count ==13 [2025-03-09 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-09 19:47:04] Production.INFO: count ==21 [2025-03-09 19:47:04] Production.INFO: ==20726== Lock acquired, processing the job... [2025-03-09 19:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:47:04] Production.INFO: ==20724== Lock acquired, processing the job... [2025-03-09 19:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:47:04] Production.INFO: ==20720== Releasing lock... [2025-03-09 19:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644408') start [2025-03-09 19:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:47:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644408') end [2025-03-09 19:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:47:04] Production.INFO: 1 [2025-03-09 19:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:47:04] Production.INFO: Account Balance Start. [2025-03-09 19:47:04] Production.INFO: CreateAllLog Start [2025-03-09 19:47:04] Production.INFO: 117 [2025-03-09 19:47:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:47:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:47:04] Production.INFO: ==20728== Releasing lock... [2025-03-09 19:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:47:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:47:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:47:04] Production.INFO: Total Charge 0 [2025-03-09 19:47:04] Production.INFO: CreateAllLog End [2025-03-09 19:47:04] Production.ERROR: done [2025-03-09 19:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:47:04] Production.INFO: Account Balance End. [2025-03-09 19:47:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:47:04] Production.INFO: ==20724== Releasing lock... [2025-03-09 19:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:47:05] Production.ERROR: done [2025-03-09 19:47:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:47:06 [end_date_ymd] => 2025-03-09 19:47:06 [RateCDR] => 1 ) [2025-03-09 19:47:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 16:47:06' and `end` < '2025-03-09 19:47:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 19:47:13] Production.ERROR: CronJobId end10 [2025-03-09 19:47:13] Production.INFO: ==20722== Releasing lock... [2025-03-09 19:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:47:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:47:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:47:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:47:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:47:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:47:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:47:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:47:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:47:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:47:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:47:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:47:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:47:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:47:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:47:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:47:15] Production.INFO: call_cost start [2025-03-09 19:47:15] Production.INFO: call_cost end [2025-03-09 19:47:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:47:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:47:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:47:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:47:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:47:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:47:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:47:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:47:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:47:16] Production.INFO: ==20718== Releasing lock... [2025-03-09 19:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:47:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:47:18] Production.INFO: count ==1387 [2025-03-09 19:47:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:47:06 - End Time 2025-03-09 19:47:06 [2025-03-09 19:47:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644410', 'tblTempUsageDetail_20' ) start [2025-03-09 19:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644410', 'tblTempUsageDetail_20' ) end [2025-03-09 19:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644410', 'tblTempVendorCDR_20' ) start [2025-03-09 19:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644410', 'tblTempVendorCDR_20' ) end [2025-03-09 19:47:18] Production.INFO: ProcessCDR(1,14644410,1,1,2) [2025-03-09 19:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644410', 'tblTempUsageDetail_20' ) start [2025-03-09 19:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644410', 'tblTempUsageDetail_20' ) end [2025-03-09 19:47:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:47:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:47:21] Production.INFO: ==20726== Releasing lock... [2025-03-09 19:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:47:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 23:48:01] Production.INFO: ==20790== Lock acquired, processing the job... [2025-03-09 23:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:48:01] Production.INFO: neon service started [2025-03-09 23:48:01] Production.INFO: neon service started [2025-03-09 23:48:01] Production.INFO: ==20790== Releasing lock... [2025-03-09 23:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:48:02] Production.INFO: ==20793== Lock acquired, processing the job... [2025-03-09 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 23:48:02] Production.INFO: ==20795== Lock acquired, processing the job... [2025-03-09 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:48:02] Production.INFO: ==20795== Releasing lock... [2025-03-09 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:48:02] Production.INFO: ==20793== Releasing lock... [2025-03-09 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:48:03] Production.INFO: ==20805== Lock acquired, processing the job... [2025-03-09 19:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:48:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:48:03] Production.INFO: ==20807== Lock acquired, processing the job... [2025-03-09 19:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:48:03] Production.INFO: ==20799== Lock acquired, processing the job... [2025-03-09 19:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:48:03] Production.INFO: ==20797== Lock acquired, processing the job... [2025-03-09 19:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:48:03] Production.INFO: ==20801== Lock acquired, processing the job... [2025-03-09 19:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:48:03] Production.INFO: ==20803== Lock acquired, processing the job... [2025-03-09 19:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:48:03] Production.INFO: count ==13 [2025-03-09 19:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:48:03] Production.INFO: count ==21 [2025-03-09 19:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644411') start [2025-03-09 19:48:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:48:04] Production.ERROR: done [2025-03-09 19:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644411') end [2025-03-09 19:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:48:04] Production.INFO: 1 [2025-03-09 19:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:48:04] Production.INFO: Account Balance Start. [2025-03-09 19:48:04] Production.INFO: CreateAllLog Start [2025-03-09 19:48:04] Production.INFO: 117 [2025-03-09 19:48:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:48:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:48:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:48:04] Production.INFO: Total Charge 0 [2025-03-09 19:48:04] Production.INFO: CreateAllLog End [2025-03-09 19:48:04] Production.INFO: ==20807== Releasing lock... [2025-03-09 19:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:48:04] Production.INFO: ==20799== Releasing lock... [2025-03-09 19:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:48:04] Production.ERROR: done [2025-03-09 19:48:04] Production.INFO: Account Balance End. [2025-03-09 19:48:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:48:04] Production.INFO: ==20803== Releasing lock... [2025-03-09 19:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:48:05 [end_date_ymd] => 2025-03-09 19:48:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:48:05' and `end` < '2025-03-09 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-09 19:48:11] Production.ERROR: CronJobId end10 [2025-03-09 19:48:11] Production.INFO: ==20801== Releasing lock... [2025-03-09 19:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:48:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:48:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:48:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:48:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:48:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:48:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:48:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:48:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:48:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:48:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:48:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:48:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:48:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:48:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:48:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:48:14] Production.INFO: call_cost start [2025-03-09 19:48:14] Production.INFO: call_cost end [2025-03-09 19:48:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:48:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:48:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:48:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:48:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:48:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:48:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:48:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:48:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:48:15] Production.INFO: ==20797== Releasing lock... [2025-03-09 19:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:48:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:48:17] Production.INFO: count ==1387 [2025-03-09 19:48:17] Production.ERROR: pbx CDR StartTime 2025-03-09 16:48:05 - End Time 2025-03-09 19:48:05 [2025-03-09 19:48:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644415', 'tblTempUsageDetail_20' ) start [2025-03-09 19:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644415', 'tblTempUsageDetail_20' ) end [2025-03-09 19:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644415', 'tblTempVendorCDR_20' ) start [2025-03-09 19:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644415', 'tblTempVendorCDR_20' ) end [2025-03-09 19:48:17] Production.INFO: ProcessCDR(1,14644415,1,1,2) [2025-03-09 19:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644415', 'tblTempUsageDetail_20' ) start [2025-03-09 19:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644415', 'tblTempUsageDetail_20' ) end [2025-03-09 19:48:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:48:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:48:21] Production.INFO: ==20805== Releasing lock... [2025-03-09 19:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:48:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 23:49:02] Production.INFO: ==20870== Lock acquired, processing the job... [2025-03-09 23:49:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:49:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:49:02] Production.INFO: neon service started [2025-03-09 23:49:02] Production.INFO: neon service started [2025-03-09 23:49:02] Production.INFO: ==20870== Releasing lock... [2025-03-09 23:49:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:49:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:49:02] Production.INFO: ==20872== Lock acquired, processing the job... [2025-03-09 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 23:49:02] Production.INFO: ==20874== Lock acquired, processing the job... [2025-03-09 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:49:02] Production.INFO: ==20874== Releasing lock... [2025-03-09 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:49:03] Production.INFO: ==20872== Releasing lock... [2025-03-09 19:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:49:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:49:04] Production.INFO: ==20877== Lock acquired, processing the job... [2025-03-09 19:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:49:04] Production.INFO: ==20881== Lock acquired, processing the job... [2025-03-09 19:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:49:04] Production.INFO: ==20883== Lock acquired, processing the job... [2025-03-09 19:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:49:04] Production.INFO: ==20879== Lock acquired, processing the job... [2025-03-09 19:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:49:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:49:04] Production.INFO: Account Balance Start. [2025-03-09 19:49:04] Production.INFO: CreateAllLog Start [2025-03-09 19:49:04] Production.INFO: 117 [2025-03-09 19:49:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:49:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:49:04] Production.INFO: ==20885== Lock acquired, processing the job... [2025-03-09 19:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:49:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:49:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:49:04] Production.INFO: ==20887== Lock acquired, processing the job... [2025-03-09 19:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:49:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:49:04] Production.INFO: Total Charge 0 [2025-03-09 19:49:04] Production.INFO: CreateAllLog End [2025-03-09 19:49:04] Production.INFO: ==20879== Releasing lock... [2025-03-09 19:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:49:04] Production.INFO: count ==13 [2025-03-09 19:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:49:04] Production.INFO: count ==21 [2025-03-09 19:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644419') start [2025-03-09 19:49:05] Production.INFO: Account Balance End. [2025-03-09 19:49:05] Production.ERROR: CronJobId end 12 [2025-03-09 19:49:05] Production.INFO: ==20883== Releasing lock... [2025-03-09 19:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:49:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:49:05] Production.ERROR: done [2025-03-09 19:49:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:49:05] Production.ERROR: PBX CALL prc_importPBXExtension('14644419') end [2025-03-09 19:49:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:49:05] Production.INFO: 1 [2025-03-09 19:49:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:49:05] Production.INFO: ==20887== Releasing lock... [2025-03-09 19:49:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:49:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:49:05] Production.ERROR: done [2025-03-09 19:49:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:49:06 [end_date_ymd] => 2025-03-09 19:49:06 [RateCDR] => 1 ) [2025-03-09 19:49:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 16:49:06' and `end` < '2025-03-09 19:49:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 19:49:12] Production.ERROR: CronJobId end10 [2025-03-09 19:49:12] Production.INFO: ==20881== Releasing lock... [2025-03-09 19:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:49:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:49:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:49:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:49:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:49:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:49:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:49:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:49:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:49:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:49:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:49:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:49:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:49:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:49:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:49:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:49:14] Production.INFO: call_cost start [2025-03-09 19:49:14] Production.INFO: call_cost end [2025-03-09 19:49:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:49:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:49:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:49:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:49:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:49:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:49:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:49:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:49:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:49:15] Production.INFO: ==20877== Releasing lock... [2025-03-09 19:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:49:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:49:18] Production.INFO: count ==1385 [2025-03-09 19:49:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:49:06 - End Time 2025-03-09 19:49:06 [2025-03-09 19:49:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644420', 'tblTempUsageDetail_20' ) start [2025-03-09 19:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644420', 'tblTempUsageDetail_20' ) end [2025-03-09 19:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644420', 'tblTempVendorCDR_20' ) start [2025-03-09 19:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644420', 'tblTempVendorCDR_20' ) end [2025-03-09 19:49:18] Production.INFO: ProcessCDR(1,14644420,1,1,2) [2025-03-09 19:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644420', 'tblTempUsageDetail_20' ) start [2025-03-09 19:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644420', 'tblTempUsageDetail_20' ) end [2025-03-09 19:49:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:49:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:49:22] Production.INFO: ==20885== Releasing lock... [2025-03-09 19:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:49:22] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:50:01] Production.INFO: ==20950== Lock acquired, processing the job... [2025-03-09 23:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:50:01] Production.INFO: neon service started [2025-03-09 23:50:01] Production.INFO: neon service started [2025-03-09 23:50:01] Production.INFO: ==20950== Releasing lock... [2025-03-09 23:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:50:02] Production.INFO: ==20952== Lock acquired, processing the job... [2025-03-09 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 23:50:02] Production.INFO: ==20954== Lock acquired, processing the job... [2025-03-09 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:50:02] Production.INFO: ==20954== Releasing lock... [2025-03-09 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:50:02] Production.INFO: ==20952== Releasing lock... [2025-03-09 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:50:03] Production.INFO: ==20959== Lock acquired, processing the job... [2025-03-09 19:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:50:03] Production.INFO: ==20961== Lock acquired, processing the job... [2025-03-09 19:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:50:03] Production.INFO: ==20957== Lock acquired, processing the job... [2025-03-09 19:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-09 19:50:03] Production.INFO: ==20963== Lock acquired, processing the job... [2025-03-09 19:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:50:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:50:03] Production.INFO: ==20965== Lock acquired, processing the job... [2025-03-09 19:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:50:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-09 19:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 19:50:03] Production.ERROR: CronJob PID - 20959 [2025-03-09 19:50:03] Production.ERROR: CronJob Title - System Alerts [2025-03-09 19:50:03] Production.ERROR: CronJob ID - 5 [2025-03-09 19:50:03] Production.ERROR: CronJob Last Run Time 2025-03-09 19:50:00 [2025-03-09 19:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 19:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 19:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 19:50:03] Production.ERROR: CronJob PID - 20961 [2025-03-09 19:50:03] Production.ERROR: CronJob Title - Account Block [2025-03-09 19:50:03] Production.ERROR: CronJob ID - 7 [2025-03-09 19:50:03] Production.ERROR: CronJob Last Run Time 2025-03-09 19:50:00 [2025-03-09 19:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 19:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 19:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-09 19:50:03] Production.ERROR: CronJob PID - 20963 [2025-03-09 19:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-09 19:50:03] Production.ERROR: CronJob ID - 10 [2025-03-09 19:50:03] Production.ERROR: CronJob Last Run Time 2025-03-09 19:50:00 [2025-03-09 19:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-09 19:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-09 19:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-09 19:50:04] Production.INFO: ==20957== Releasing lock... [2025-03-09 19:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-09 19:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-09 19:50:04] Production.INFO: Account Balance Start. [2025-03-09 19:50:04] Production.INFO: CreateAllLog Start [2025-03-09 19:50:04] Production.INFO: 117 [2025-03-09 19:50:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:50:04] Production.INFO: ==20967== Lock acquired, processing the job... [2025-03-09 19:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:50:04] Production.INFO: ==20969== Lock acquired, processing the job... [2025-03-09 19:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-09 19:50:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:50:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:50:04] Production.INFO: Total Charge 0 [2025-03-09 19:50:04] Production.INFO: CreateAllLog End [2025-03-09 19:50:04] Production.INFO: ==20971== Lock acquired, processing the job... [2025-03-09 19:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:50:04] Production.INFO: ==20961== Releasing lock... [2025-03-09 19:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:50:04] Production.INFO: count ==13 [2025-03-09 19:50:04] Production.ERROR: done [2025-03-09 19:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:50:04] Production.INFO: count ==21 [2025-03-09 19:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644424') start [2025-03-09 19:50:04] Production.ERROR: done [2025-03-09 19:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644424') end [2025-03-09 19:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:50:04] Production.INFO: 1 [2025-03-09 19:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:50:04] Production.INFO: ==20971== Releasing lock... [2025-03-09 19:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:50:04] Production.INFO: Account Balance End. [2025-03-09 19:50:05] Production.ERROR: done [2025-03-09 19:50:05] Production.ERROR: CronJobId end 12 [2025-03-09 19:50:05] Production.INFO: ==20965== Releasing lock... [2025-03-09 19:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-09 19:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644426', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start [2025-03-09 19:50:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:50:05 [end_date_ymd] => 2025-03-09 19:50:05 [RateCDR] => 1 ) [2025-03-09 19:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 16:50:05' and `end` < '2025-03-09 19:50:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 19:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644426', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end [2025-03-09 19:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-09 19:50:09] Production.INFO: ProcessCDR(1,14644426,1,1,2) [2025-03-09 19:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14644426,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14644426,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:50:09] Production.INFO: ==20969== Releasing lock... [2025-03-09 19:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-09 19:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-09 19:50:13] Production.ERROR: CronJobId end10 [2025-03-09 19:50:13] Production.INFO: ==20963== Releasing lock... [2025-03-09 19:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:50:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:50:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:50:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:50:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:50:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:50:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:50:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:50:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:50:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:50:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:50:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:50:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:50:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:50:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:50:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:50:16] Production.INFO: call_cost start [2025-03-09 19:50:16] Production.INFO: call_cost end [2025-03-09 19:50:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:50:17] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:50:17] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:50:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:50:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:50:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:50:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:50:17] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:50:17] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:50:17] Production.INFO: ==20959== Releasing lock... [2025-03-09 19:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:50:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:50:17] Production.INFO: count ==1389 [2025-03-09 19:50:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:50:05 - End Time 2025-03-09 19:50:05 [2025-03-09 19:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644425', 'tblTempUsageDetail_20' ) start [2025-03-09 19:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644425', 'tblTempUsageDetail_20' ) end [2025-03-09 19:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644425', 'tblTempVendorCDR_20' ) start [2025-03-09 19:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644425', 'tblTempVendorCDR_20' ) end [2025-03-09 19:50:18] Production.INFO: ProcessCDR(1,14644425,1,1,2) [2025-03-09 19:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644425', 'tblTempUsageDetail_20' ) start [2025-03-09 19:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644425', 'tblTempUsageDetail_20' ) end [2025-03-09 19:50:23] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:50:23] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:50:23] Production.INFO: ==20967== Releasing lock... [2025-03-09 19:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:50:23] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 23:51:01] Production.INFO: ==21029== Lock acquired, processing the job... [2025-03-09 23:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:51:02] Production.INFO: neon service started [2025-03-09 23:51:02] Production.INFO: neon service started [2025-03-09 23:51:02] Production.INFO: ==21029== Releasing lock... [2025-03-09 23:51:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:51:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:51:02] Production.INFO: ==21031== Lock acquired, processing the job... [2025-03-09 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 23:51:02] Production.INFO: ==21033== Lock acquired, processing the job... [2025-03-09 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:51:02] Production.INFO: ==21033== Releasing lock... [2025-03-09 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:51:02] Production.INFO: ==21031== Releasing lock... [2025-03-09 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:51:03] Production.INFO: ==21040== Lock acquired, processing the job... [2025-03-09 19:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:51:03] Production.INFO: ==21044== Lock acquired, processing the job... [2025-03-09 19:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:51:03] Production.INFO: ==21036== Lock acquired, processing the job... [2025-03-09 19:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:51:03] Production.INFO: ==21042== Lock acquired, processing the job... [2025-03-09 19:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:51:04] Production.INFO: ==21038== Lock acquired, processing the job... [2025-03-09 19:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:51:04] Production.INFO: Account Balance Start. [2025-03-09 19:51:04] Production.INFO: CreateAllLog Start [2025-03-09 19:51:04] Production.INFO: 117 [2025-03-09 19:51:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:51:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:51:04] Production.INFO: ==21046== Lock acquired, processing the job... [2025-03-09 19:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:51:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:51:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:51:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:51:04] Production.INFO: Total Charge 0 [2025-03-09 19:51:04] Production.INFO: CreateAllLog End [2025-03-09 19:51:04] Production.ERROR: done [2025-03-09 19:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:51:04] Production.INFO: ==21038== Releasing lock... [2025-03-09 19:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:51:04] Production.INFO: Account Balance End. [2025-03-09 19:51:04] Production.INFO: count ==13 [2025-03-09 19:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:51:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:51:04] Production.INFO: ==21042== Releasing lock... [2025-03-09 19:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:51:04] Production.ERROR: done [2025-03-09 19:51:04] Production.INFO: count ==21 [2025-03-09 19:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644430') start [2025-03-09 19:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644430') end [2025-03-09 19:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:51:04] Production.INFO: 1 [2025-03-09 19:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:51:04] Production.INFO: ==21046== Releasing lock... [2025-03-09 19:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:51:05 [end_date_ymd] => 2025-03-09 19:51:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:51:05' and `end` < '2025-03-09 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-09 19:51:12] Production.ERROR: CronJobId end10 [2025-03-09 19:51:12] Production.INFO: ==21040== Releasing lock... [2025-03-09 19:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:51:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:51:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:51:15] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:51:15] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:51:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:51:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:51:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:51:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:51:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:51:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:51:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:51:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:51:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:51:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:51:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:51:15] Production.INFO: call_cost start [2025-03-09 19:51:15] Production.INFO: call_cost end [2025-03-09 19:51:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:51:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:51:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:51:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:51:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:51:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:51:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:51:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:51:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:51:16] Production.INFO: ==21036== Releasing lock... [2025-03-09 19:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:51:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:51:17] Production.INFO: count ==1412 [2025-03-09 19:51:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:51:05 - End Time 2025-03-09 19:51:05 [2025-03-09 19:51:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644431', 'tblTempUsageDetail_20' ) start [2025-03-09 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644431', 'tblTempUsageDetail_20' ) end [2025-03-09 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644431', 'tblTempVendorCDR_20' ) start [2025-03-09 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644431', 'tblTempVendorCDR_20' ) end [2025-03-09 19:51:18] Production.INFO: ProcessCDR(1,14644431,1,1,2) [2025-03-09 19:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644431', 'tblTempUsageDetail_20' ) start [2025-03-09 19:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644431', 'tblTempUsageDetail_20' ) end [2025-03-09 19:51:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:51:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:51:21] Production.INFO: ==21044== Releasing lock... [2025-03-09 19:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:51:21] Production.INFO: 38.75 MB #Memory Used# [2025-03-09 23:52:01] Production.INFO: ==21107== Lock acquired, processing the job... [2025-03-09 23:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:52:01] Production.INFO: neon service started [2025-03-09 23:52:01] Production.INFO: neon service started [2025-03-09 23:52:01] Production.INFO: ==21107== Releasing lock... [2025-03-09 23:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:52:01] Production.INFO: ==21109== Lock acquired, processing the job... [2025-03-09 19:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:52:02] Production.INFO: ==21109== Releasing lock... [2025-03-09 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:52:02] Production.INFO: ==21111== Lock acquired, processing the job... [2025-03-09 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:52:02] Production.INFO: ==21111== Releasing lock... [2025-03-09 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:52:03] Production.INFO: ==21122== Lock acquired, processing the job... [2025-03-09 19:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:52:03] Production.INFO: ==21124== Lock acquired, processing the job... [2025-03-09 19:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 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-09 19:52:03] Production.INFO: ==21116== Lock acquired, processing the job... [2025-03-09 19:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:52:03] Production.INFO: count ==13 [2025-03-09 19:52:03] Production.INFO: ==21114== Lock acquired, processing the job... [2025-03-09 19:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 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-09 19:52:03] Production.INFO: count ==21 [2025-03-09 19:52:03] Production.INFO: ==21118== Lock acquired, processing the job... [2025-03-09 19:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:52:03] Production.INFO: ==21120== Lock acquired, processing the job... [2025-03-09 19:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644432') start [2025-03-09 19:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644432') end [2025-03-09 19:52:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:52:03] Production.INFO: 1 [2025-03-09 19:52:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:52:03] Production.INFO: Account Balance Start. [2025-03-09 19:52:03] Production.INFO: CreateAllLog Start [2025-03-09 19:52:03] Production.INFO: 117 [2025-03-09 19:52:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:52:03] Production.INFO: ==21124== Releasing lock... [2025-03-09 19:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:52:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:52:03] Production.INFO: Date 2025-03-09 [2025-03-09 19:52:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:52:03] Production.ERROR: done [2025-03-09 19:52:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:52:03] Production.INFO: Total Charge 0 [2025-03-09 19:52:03] Production.INFO: CreateAllLog End [2025-03-09 19:52:03] Production.ERROR: done [2025-03-09 19:52:03] Production.INFO: ==21116== Releasing lock... [2025-03-09 19:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:52:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:52:03] Production.INFO: Account Balance End. [2025-03-09 19:52:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:52:04] Production.INFO: ==21120== Releasing lock... [2025-03-09 19:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:52:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:52:04 [end_date_ymd] => 2025-03-09 19:52:04 [RateCDR] => 1 ) [2025-03-09 19:52:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 16:52:04' and `end` < '2025-03-09 19:52:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 19:52:10] Production.ERROR: CronJobId end10 [2025-03-09 19:52:10] Production.INFO: ==21118== Releasing lock... [2025-03-09 19:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:52:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:52:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:52:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:52:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:52:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:52:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:52:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:52:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:52:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:52:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:52:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:52:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:52:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:52:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:52:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:52:13] Production.INFO: call_cost start [2025-03-09 19:52:13] Production.INFO: call_cost end [2025-03-09 19:52:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:52:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:52:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:52:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:52:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:52:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:52:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:52:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:52:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:52:14] Production.INFO: ==21114== Releasing lock... [2025-03-09 19:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:52:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:52:17] Production.INFO: count ==1416 [2025-03-09 19:52:17] Production.ERROR: pbx CDR StartTime 2025-03-09 16:52:04 - End Time 2025-03-09 19:52:04 [2025-03-09 19:52:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644436', 'tblTempUsageDetail_20' ) start [2025-03-09 19:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644436', 'tblTempUsageDetail_20' ) end [2025-03-09 19:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644436', 'tblTempVendorCDR_20' ) start [2025-03-09 19:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644436', 'tblTempVendorCDR_20' ) end [2025-03-09 19:52:17] Production.INFO: ProcessCDR(1,14644436,1,1,2) [2025-03-09 19:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:52:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644436', 'tblTempUsageDetail_20' ) start [2025-03-09 19:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644436', 'tblTempUsageDetail_20' ) end [2025-03-09 19:52:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:52:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:52:20] Production.INFO: ==21122== Releasing lock... [2025-03-09 19:52:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:52:20] Production.INFO: 38.75 MB #Memory Used# [2025-03-09 23:53:02] Production.INFO: ==21191== Lock acquired, processing the job... [2025-03-09 23:53:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:53:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:53:02] Production.INFO: neon service started [2025-03-09 23:53:02] Production.INFO: neon service started [2025-03-09 23:53:02] Production.INFO: ==21191== Releasing lock... [2025-03-09 23:53:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:53:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:53:02] Production.INFO: ==21193== Lock acquired, processing the job... [2025-03-09 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 23:53:02] Production.INFO: ==21195== Lock acquired, processing the job... [2025-03-09 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:53:02] Production.INFO: ==21195== Releasing lock... [2025-03-09 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:53:02] Production.INFO: ==21193== Releasing lock... [2025-03-09 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:53:03] Production.INFO: ==21200== Lock acquired, processing the job... [2025-03-09 19:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:53:03] Production.INFO: ==21208== Lock acquired, processing the job... [2025-03-09 19:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:53:03] Production.INFO: ==21198== Lock acquired, processing the job... [2025-03-09 19:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:53:04] Production.INFO: ==21202== Lock acquired, processing the job... [2025-03-09 19:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:53:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:53:04] Production.INFO: count ==13 [2025-03-09 19:53:04] Production.INFO: ==21206== Lock acquired, processing the job... [2025-03-09 19:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:53:04] Production.INFO: ==21200== Releasing lock... [2025-03-09 19:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:53:04] Production.INFO: count ==21 [2025-03-09 19:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644438') start [2025-03-09 19:53:04] Production.INFO: ==21204== Lock acquired, processing the job... [2025-03-09 19:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:53:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644438') end [2025-03-09 19:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:53:04] Production.INFO: 1 [2025-03-09 19:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:53:04] Production.INFO: Account Balance Start. [2025-03-09 19:53:04] Production.INFO: CreateAllLog Start [2025-03-09 19:53:04] Production.INFO: 117 [2025-03-09 19:53:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:53:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:53:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:53:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:53:04] Production.INFO: Total Charge 0 [2025-03-09 19:53:04] Production.INFO: CreateAllLog End [2025-03-09 19:53:04] Production.INFO: ==21208== Releasing lock... [2025-03-09 19:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:53:04] Production.ERROR: done [2025-03-09 19:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:53:04] Production.INFO: Account Balance End. [2025-03-09 19:53:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:53:04] Production.INFO: ==21204== Releasing lock... [2025-03-09 19:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:53:04] Production.ERROR: done [2025-03-09 19:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:53:05 [end_date_ymd] => 2025-03-09 19:53:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:53:05' and `end` < '2025-03-09 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-09 19:53:12] Production.ERROR: CronJobId end10 [2025-03-09 19:53:12] Production.INFO: ==21202== Releasing lock... [2025-03-09 19:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:53:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:53:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:53:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:53:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:53:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:53:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:53:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:53:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:53:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:53:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:53:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:53:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:53:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:53:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:53:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:53:15] Production.INFO: call_cost start [2025-03-09 19:53:15] Production.INFO: call_cost end [2025-03-09 19:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:53:16] Production.INFO: ==21198== Releasing lock... [2025-03-09 19:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:53:18] Production.INFO: count ==1409 [2025-03-09 19:53:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:53:05 - End Time 2025-03-09 19:53:05 [2025-03-09 19:53:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644441', 'tblTempUsageDetail_20' ) start [2025-03-09 19:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644441', 'tblTempUsageDetail_20' ) end [2025-03-09 19:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644441', 'tblTempVendorCDR_20' ) start [2025-03-09 19:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644441', 'tblTempVendorCDR_20' ) end [2025-03-09 19:53:18] Production.INFO: ProcessCDR(1,14644441,1,1,2) [2025-03-09 19:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644441', 'tblTempUsageDetail_20' ) start [2025-03-09 19:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644441', 'tblTempUsageDetail_20' ) end [2025-03-09 19:53:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:53:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:53:21] Production.INFO: ==21206== Releasing lock... [2025-03-09 19:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:53:21] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:54:01] Production.INFO: ==21265== Lock acquired, processing the job... [2025-03-09 23:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:54:01] Production.INFO: neon service started [2025-03-09 23:54:01] Production.INFO: neon service started [2025-03-09 23:54:01] Production.INFO: ==21265== Releasing lock... [2025-03-09 23:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:54:01] Production.INFO: ==21267== Lock acquired, processing the job... [2025-03-09 19:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:54:02] Production.INFO: ==21267== Releasing lock... [2025-03-09 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:54:02] Production.INFO: ==21269== Lock acquired, processing the job... [2025-03-09 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:54:02] Production.INFO: ==21269== Releasing lock... [2025-03-09 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:54:03] Production.INFO: ==21274== Lock acquired, processing the job... [2025-03-09 19:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:54:03] Production.INFO: ==21282== Lock acquired, processing the job... [2025-03-09 19:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:54:03] Production.INFO: ==21272== Lock acquired, processing the job... [2025-03-09 19:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 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-09 19:54:03] Production.INFO: count ==13 [2025-03-09 19:54:03] Production.INFO: ==21274== Releasing lock... [2025-03-09 19:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:54:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 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-09 19:54:03] Production.INFO: count ==21 [2025-03-09 19:54:03] Production.INFO: ==21276== Lock acquired, processing the job... [2025-03-09 19:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:54:03] Production.INFO: ==21278== Lock acquired, processing the job... [2025-03-09 19:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644443') start [2025-03-09 19:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:54:03] Production.INFO: ==21280== Lock acquired, processing the job... [2025-03-09 19:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:54:03] Production.INFO: Account Balance Start. [2025-03-09 19:54:03] Production.INFO: CreateAllLog Start [2025-03-09 19:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644443') end [2025-03-09 19:54:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:54:03] Production.INFO: 1 [2025-03-09 19:54:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:54:03] Production.INFO: 117 [2025-03-09 19:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:54:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:54:03] Production.INFO: ==21282== Releasing lock... [2025-03-09 19:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:54:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:54:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:54:03] Production.INFO: Date 2025-03-09 [2025-03-09 19:54:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:54:03] Production.INFO: Total Charge 0 [2025-03-09 19:54:03] Production.INFO: CreateAllLog End [2025-03-09 19:54:04] Production.ERROR: done [2025-03-09 19:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:54:04] Production.INFO: Account Balance End. [2025-03-09 19:54:04] Production.ERROR: done [2025-03-09 19:54:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:54:04] Production.INFO: ==21278== Releasing lock... [2025-03-09 19:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:54:05 [end_date_ymd] => 2025-03-09 19:54:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:54:05' and `end` < '2025-03-09 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-09 19:54:11] Production.ERROR: CronJobId end10 [2025-03-09 19:54:11] Production.INFO: ==21276== Releasing lock... [2025-03-09 19:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:54:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:54:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:54:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:54:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:54:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:54:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:54:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:54:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:54:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:54:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:54:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:54:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:54:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:54:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:54:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:54:13] Production.INFO: call_cost start [2025-03-09 19:54:13] Production.INFO: call_cost end [2025-03-09 19:54:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:54:14] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:54:14] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:54:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:54:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:54:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:54:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:54:14] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:54:14] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:54:14] Production.INFO: ==21272== Releasing lock... [2025-03-09 19:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:54:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:54:17] Production.INFO: count ==1409 [2025-03-09 19:54:17] Production.ERROR: pbx CDR StartTime 2025-03-09 16:54:05 - End Time 2025-03-09 19:54:05 [2025-03-09 19:54:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644446', 'tblTempUsageDetail_20' ) start [2025-03-09 19:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644446', 'tblTempUsageDetail_20' ) end [2025-03-09 19:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644446', 'tblTempVendorCDR_20' ) start [2025-03-09 19:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644446', 'tblTempVendorCDR_20' ) end [2025-03-09 19:54:17] Production.INFO: ProcessCDR(1,14644446,1,1,2) [2025-03-09 19:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:54:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644446', 'tblTempUsageDetail_20' ) start [2025-03-09 19:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644446', 'tblTempUsageDetail_20' ) end [2025-03-09 19:54:20] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:54:20] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:54:20] Production.INFO: ==21280== Releasing lock... [2025-03-09 19:54:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:54:20] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:55:02] Production.INFO: ==21347== Lock acquired, processing the job... [2025-03-09 23:55:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:55:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:55:02] Production.INFO: neon service started [2025-03-09 23:55:02] Production.INFO: neon service started [2025-03-09 23:55:02] Production.INFO: ==21347== Releasing lock... [2025-03-09 23:55:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:55:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:55:02] Production.INFO: ==21349== Lock acquired, processing the job... [2025-03-09 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 23:55:02] Production.INFO: ==21351== Lock acquired, processing the job... [2025-03-09 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:55:02] Production.INFO: ==21351== Releasing lock... [2025-03-09 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:55:03] Production.INFO: ==21349== Releasing lock... [2025-03-09 19:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:55:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:55:03] Production.INFO: ==21354== Lock acquired, processing the job... [2025-03-09 19:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:55:03] Production.INFO: ==21356== Lock acquired, processing the job... [2025-03-09 19:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:55:03] Production.INFO: ==21364== Lock acquired, processing the job... [2025-03-09 19:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 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-09 19:55:04] Production.INFO: count ==13 [2025-03-09 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-09 19:55:04] Production.INFO: count ==21 [2025-03-09 19:55:04] Production.INFO: ==21360== Lock acquired, processing the job... [2025-03-09 19:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644449') start [2025-03-09 19:55:04] Production.INFO: Account Balance Start. [2025-03-09 19:55:04] Production.INFO: CreateAllLog Start [2025-03-09 19:55:04] Production.INFO: ==21358== Lock acquired, processing the job... [2025-03-09 19:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:55:04] Production.INFO: 117 [2025-03-09 19:55:04] Production.INFO: Date 2025-03-08 [2025-03-09 19:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644449') end [2025-03-09 19:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:55:04] Production.INFO: 1 [2025-03-09 19:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:55:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:55:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:55:04] Production.INFO: ==21364== Releasing lock... [2025-03-09 19:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:55:04] Production.INFO: ==21362== Lock acquired, processing the job... [2025-03-09 19:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:55:04] Production.INFO: ==21356== Releasing lock... [2025-03-09 19:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:55:04] Production.INFO: Total Charge 0 [2025-03-09 19:55:04] Production.INFO: CreateAllLog End [2025-03-09 19:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:55:04] Production.INFO: Account Balance End. [2025-03-09 19:55:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:55:04] Production.INFO: ==21360== Releasing lock... [2025-03-09 19:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:55:05] Production.ERROR: done [2025-03-09 19:55:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:55:05] Production.ERROR: done [2025-03-09 19:55:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:55:06 [end_date_ymd] => 2025-03-09 19:55:06 [RateCDR] => 1 ) [2025-03-09 19: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-09 16:55:06' and `end` < '2025-03-09 19: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-09 19:55:12] Production.ERROR: CronJobId end10 [2025-03-09 19:55:12] Production.INFO: ==21358== Releasing lock... [2025-03-09 19:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:55:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:55:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:55:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:55:15] Production.INFO: call_cost start [2025-03-09 19:55:15] Production.INFO: call_cost end [2025-03-09 19:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:55:16] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:55:16] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:55:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:55:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:55:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:55:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:55:16] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:55:16] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:55:16] Production.INFO: ==21354== Releasing lock... [2025-03-09 19:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:55:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:55:18] Production.INFO: count ==1406 [2025-03-09 19:55:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:55:06 - End Time 2025-03-09 19:55:06 [2025-03-09 19:55:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644451', 'tblTempUsageDetail_20' ) start [2025-03-09 19:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644451', 'tblTempUsageDetail_20' ) end [2025-03-09 19:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644451', 'tblTempVendorCDR_20' ) start [2025-03-09 19:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644451', 'tblTempVendorCDR_20' ) end [2025-03-09 19:55:18] Production.INFO: ProcessCDR(1,14644451,1,1,2) [2025-03-09 19:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644451', 'tblTempUsageDetail_20' ) start [2025-03-09 19:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644451', 'tblTempUsageDetail_20' ) end [2025-03-09 19:55:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:55:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:55:22] Production.INFO: ==21362== Releasing lock... [2025-03-09 19:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:55:22] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 23:56:01] Production.INFO: ==21426== Lock acquired, processing the job... [2025-03-09 23:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:56:01] Production.INFO: neon service started [2025-03-09 23:56:01] Production.INFO: neon service started [2025-03-09 23:56:01] Production.INFO: ==21426== Releasing lock... [2025-03-09 23:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 23:56:01] Production.INFO: ==21430== Lock acquired, processing the job... [2025-03-09 23:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:56:01] Production.INFO: ==21430== Releasing lock... [2025-03-09 23:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:56:01] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:56:02] Production.INFO: ==21428== Lock acquired, processing the job... [2025-03-09 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:56:02] Production.INFO: ==21428== Releasing lock... [2025-03-09 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:56:03] Production.INFO: ==21434== Lock acquired, processing the job... [2025-03-09 19:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:56:03] Production.INFO: ==21439== Lock acquired, processing the job... [2025-03-09 19:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:56:03] Production.INFO: ==21432== Lock acquired, processing the job... [2025-03-09 19:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:56:03] Production.INFO: Account Balance Start. [2025-03-09 19:56:03] Production.INFO: CreateAllLog Start [2025-03-09 19:56:03] Production.INFO: 117 [2025-03-09 19:56:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:56:03] Production.INFO: ==21437== Lock acquired, processing the job... [2025-03-09 19:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:56:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:56:03] Production.INFO: Date 2025-03-09 [2025-03-09 19:56:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:56:03] Production.INFO: Total Charge 0 [2025-03-09 19:56:03] Production.INFO: ==21441== Lock acquired, processing the job... [2025-03-09 19:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:56:03] Production.INFO: CreateAllLog End [2025-03-09 19:56:03] Production.INFO: ==21443== Lock acquired, processing the job... [2025-03-09 19:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:56:03] Production.INFO: ==21434== Releasing lock... [2025-03-09 19:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:56:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 19:56:03] Production.INFO: Account Balance End. [2025-03-09 19:56:03] Production.INFO: count ==13 [2025-03-09 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-09 19:56:03] Production.INFO: count ==21 [2025-03-09 19:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644455') start [2025-03-09 19:56:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:56:04] Production.INFO: ==21439== Releasing lock... [2025-03-09 19:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644455') end [2025-03-09 19:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:56:04] Production.INFO: 1 [2025-03-09 19:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:56:04] Production.ERROR: done [2025-03-09 19:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:56:04] Production.INFO: ==21443== Releasing lock... [2025-03-09 19:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:56:04] Production.ERROR: done [2025-03-09 19:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:56:05 [end_date_ymd] => 2025-03-09 19:56:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:56:05' and `end` < '2025-03-09 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-09 19:56:11] Production.ERROR: CronJobId end10 [2025-03-09 19:56:11] Production.INFO: ==21437== Releasing lock... [2025-03-09 19:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:56:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:56:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:56:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:56:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:56:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:56:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:56:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:56:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:56:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:56:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:56:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:56:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:56:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:56:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:56:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:56:14] Production.INFO: call_cost start [2025-03-09 19:56:14] Production.INFO: call_cost end [2025-03-09 19:56:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:56:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:56:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:56:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:56:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:56:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:56:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:56:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:56:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:56:15] Production.INFO: ==21432== Releasing lock... [2025-03-09 19:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:56:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:56:18] Production.INFO: count ==1405 [2025-03-09 19:56:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:56:05 - End Time 2025-03-09 19:56:05 [2025-03-09 19:56:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644456', 'tblTempUsageDetail_20' ) start [2025-03-09 19:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644456', 'tblTempUsageDetail_20' ) end [2025-03-09 19:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644456', 'tblTempVendorCDR_20' ) start [2025-03-09 19:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644456', 'tblTempVendorCDR_20' ) end [2025-03-09 19:56:18] Production.INFO: ProcessCDR(1,14644456,1,1,2) [2025-03-09 19:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644456', 'tblTempUsageDetail_20' ) start [2025-03-09 19:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644456', 'tblTempUsageDetail_20' ) end [2025-03-09 19:56:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:56:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:56:21] Production.INFO: ==21441== Releasing lock... [2025-03-09 19:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:56:21] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:57:02] Production.INFO: ==21503== Lock acquired, processing the job... [2025-03-09 23:57:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:57:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:57:02] Production.INFO: neon service started [2025-03-09 23:57:02] Production.INFO: neon service started [2025-03-09 23:57:02] Production.INFO: ==21503== Releasing lock... [2025-03-09 23:57:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:57:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:57:02] Production.INFO: ==21505== Lock acquired, processing the job... [2025-03-09 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:57:02] Production.INFO: ==21505== Releasing lock... [2025-03-09 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 23:57:02] Production.INFO: ==21507== Lock acquired, processing the job... [2025-03-09 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:57:02] Production.INFO: ==21507== Releasing lock... [2025-03-09 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:57:03] Production.INFO: ==21511== Lock acquired, processing the job... [2025-03-09 19:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:57:03] Production.INFO: ==21516== Lock acquired, processing the job... [2025-03-09 19:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:57:03] Production.INFO: ==21509== Lock acquired, processing the job... [2025-03-09 19:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:57:03] Production.INFO: ==21514== Lock acquired, processing the job... [2025-03-09 19:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:57:03] Production.INFO: ==21520== Lock acquired, processing the job... [2025-03-09 19:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:57:03] Production.INFO: Account Balance Start. [2025-03-09 19:57:03] Production.INFO: CreateAllLog Start [2025-03-09 19:57:03] Production.INFO: 117 [2025-03-09 19:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:57:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:57:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:57:04] Production.INFO: Date 2025-03-09 [2025-03-09 19:57:04] Production.INFO: Reseller ==> 0 [2025-03-09 19:57:04] Production.INFO: Total Charge 0 [2025-03-09 19:57:04] Production.INFO: ==21518== Lock acquired, processing the job... [2025-03-09 19:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 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-09 19:57:04] Production.INFO: CreateAllLog End [2025-03-09 19:57:04] Production.INFO: count ==13 [2025-03-09 19:57:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 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-09 19:57:04] Production.INFO: count ==21 [2025-03-09 19:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644460') start [2025-03-09 19:57:04] Production.INFO: ==21511== Releasing lock... [2025-03-09 19:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644460') end [2025-03-09 19:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:57:04] Production.INFO: 1 [2025-03-09 19:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:57:04] Production.INFO: ==21520== Releasing lock... [2025-03-09 19:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:57:04] Production.ERROR: done [2025-03-09 19:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:57:04] Production.INFO: Account Balance End. [2025-03-09 19:57:04] Production.ERROR: CronJobId end 12 [2025-03-09 19:57:04] Production.INFO: ==21516== Releasing lock... [2025-03-09 19:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:57:04] Production.ERROR: done [2025-03-09 19:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:57:05 [end_date_ymd] => 2025-03-09 19:57:05 [RateCDR] => 1 ) [2025-03-09 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-09 16:57:05' and `end` < '2025-03-09 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-09 19:57:12] Production.ERROR: CronJobId end10 [2025-03-09 19:57:12] Production.INFO: ==21514== Releasing lock... [2025-03-09 19:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:57:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:57:14] Production.INFO: call_cost start [2025-03-09 19:57:14] Production.INFO: call_cost end [2025-03-09 19:57:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:57:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:57:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:57:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:57:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:57:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:57:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:57:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:57:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:57:15] Production.INFO: ==21509== Releasing lock... [2025-03-09 19:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:57:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:57:18] Production.INFO: count ==1404 [2025-03-09 19:57:18] Production.ERROR: pbx CDR StartTime 2025-03-09 16:57:05 - End Time 2025-03-09 19:57:05 [2025-03-09 19:57:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644461', 'tblTempUsageDetail_20' ) start [2025-03-09 19:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644461', 'tblTempUsageDetail_20' ) end [2025-03-09 19:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644461', 'tblTempVendorCDR_20' ) start [2025-03-09 19:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644461', 'tblTempVendorCDR_20' ) end [2025-03-09 19:57:18] Production.INFO: ProcessCDR(1,14644461,1,1,2) [2025-03-09 19:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644461', 'tblTempUsageDetail_20' ) start [2025-03-09 19:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644461', 'tblTempUsageDetail_20' ) end [2025-03-09 19:57:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:57:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:57:22] Production.INFO: ==21518== Releasing lock... [2025-03-09 19:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:57:22] Production.INFO: 38.25 MB #Memory Used# [2025-03-09 23:58:01] Production.INFO: ==21580== Lock acquired, processing the job... [2025-03-09 23:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:58:01] Production.INFO: neon service started [2025-03-09 23:58:01] Production.INFO: neon service started [2025-03-09 23:58:01] Production.INFO: ==21580== Releasing lock... [2025-03-09 23:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 19:58:02] Production.INFO: ==21582== Lock acquired, processing the job... [2025-03-09 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 23:58:02] Production.INFO: ==21584== Lock acquired, processing the job... [2025-03-09 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:58:02] Production.INFO: ==21584== Releasing lock... [2025-03-09 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:58:02] Production.INFO: ==21582== Releasing lock... [2025-03-09 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:58:03] Production.INFO: ==21593== Lock acquired, processing the job... [2025-03-09 19:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:58:03] Production.INFO: ==21597== Lock acquired, processing the job... [2025-03-09 19:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:58:03] Production.INFO: Account Balance Start. [2025-03-09 19:58:03] Production.INFO: CreateAllLog Start [2025-03-09 19:58:03] Production.INFO: 117 [2025-03-09 19:58:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:58:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:58:03] Production.INFO: ==21587== Lock acquired, processing the job... [2025-03-09 19:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:58:03] Production.INFO: Date 2025-03-09 [2025-03-09 19:58:03] Production.INFO: Reseller ==> 0 [2025-03-09 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-09 19:58:03] Production.INFO: count ==13 [2025-03-09 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-09 19:58:03] Production.INFO: count ==21 [2025-03-09 19:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644463') start [2025-03-09 19:58:03] Production.INFO: ==21589== Lock acquired, processing the job... [2025-03-09 19:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:58:03] Production.INFO: Total Charge 0 [2025-03-09 19:58:03] Production.INFO: CreateAllLog End [2025-03-09 19:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:58:03] Production.INFO: ==21591== Lock acquired, processing the job... [2025-03-09 19:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:58:03] Production.INFO: ==21595== Lock acquired, processing the job... [2025-03-09 19:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:58:03] Production.INFO: Account Balance End. [2025-03-09 19:58:03] Production.ERROR: CronJobId end 12 [2025-03-09 19:58:03] Production.INFO: ==21593== Releasing lock... [2025-03-09 19:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:58:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644463') end [2025-03-09 19:58:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:58:03] Production.INFO: 1 [2025-03-09 19:58:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:58:03] Production.INFO: ==21597== Releasing lock... [2025-03-09 19:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:58:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:58:04] Production.INFO: ==21589== Releasing lock... [2025-03-09 19:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:58:04] Production.ERROR: done [2025-03-09 19:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:58:04] Production.ERROR: done [2025-03-09 19:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:58:05 [end_date_ymd] => 2025-03-09 19:58:05 [RateCDR] => 1 ) [2025-03-09 19:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 16:58:05' and `end` < '2025-03-09 19:58:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 19:58:12] Production.ERROR: CronJobId end10 [2025-03-09 19:58:12] Production.INFO: ==21591== Releasing lock... [2025-03-09 19:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:58:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:58:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:58:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:58:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:58:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:58:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:58:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:58:14] Production.INFO: call_cost start [2025-03-09 19:58:14] Production.INFO: call_cost end [2025-03-09 19:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:58:15] Production.INFO: ==21587== Releasing lock... [2025-03-09 19:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:58:17] Production.INFO: count ==1409 [2025-03-09 19:58:17] Production.ERROR: pbx CDR StartTime 2025-03-09 16:58:05 - End Time 2025-03-09 19:58:05 [2025-03-09 19:58:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644466', 'tblTempUsageDetail_20' ) start [2025-03-09 19:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644466', 'tblTempUsageDetail_20' ) end [2025-03-09 19:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644466', 'tblTempVendorCDR_20' ) start [2025-03-09 19:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644466', 'tblTempVendorCDR_20' ) end [2025-03-09 19:58:17] Production.INFO: ProcessCDR(1,14644466,1,1,2) [2025-03-09 19:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644466', 'tblTempUsageDetail_20' ) start [2025-03-09 19:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644466', 'tblTempUsageDetail_20' ) end [2025-03-09 19:58:22] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:58:22] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:58:22] Production.INFO: ==21595== Releasing lock... [2025-03-09 19:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:58:22] Production.INFO: 38.5 MB #Memory Used# [2025-03-09 23:59:01] Production.INFO: ==21652== Lock acquired, processing the job... [2025-03-09 23:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-09 23:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-09 23:59:01] Production.INFO: neon service started [2025-03-09 23:59:01] Production.INFO: neon service started [2025-03-09 23:59:01] Production.INFO: ==21652== Releasing lock... [2025-03-09 23:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-09 23:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-09 23:59:02] Production.INFO: ==21656== Lock acquired, processing the job... [2025-03-09 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-09 23:59:02] Production.INFO: ==21656== Releasing lock... [2025-03-09 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-09 23:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-09 19:59:02] Production.INFO: ==21654== Lock acquired, processing the job... [2025-03-09 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-09 19:59:02] Production.INFO: ==21654== Releasing lock... [2025-03-09 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-09 19:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-09 19:59:03] Production.INFO: ==21662== Lock acquired, processing the job... [2025-03-09 19:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-09 19:59:03] Production.INFO: ==21664== Lock acquired, processing the job... [2025-03-09 19:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-09 19:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done [2025-03-09 19:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done [2025-03-09 19:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live) [2025-03-09 19:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live') [2025-03-09 19:59:03] Production.INFO: Account Balance Start. [2025-03-09 19:59:03] Production.INFO: CreateAllLog Start [2025-03-09 19:59:03] Production.INFO: 117 [2025-03-09 19:59:03] Production.INFO: Date 2025-03-08 [2025-03-09 19:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:59:03] Production.INFO: ==21668== Lock acquired, processing the job... [2025-03-09 19:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-09 19:59:03] Production.INFO: Date 2025-03-09 [2025-03-09 19:59:03] Production.INFO: Reseller ==> 0 [2025-03-09 19:59:03] Production.INFO: Total Charge 0 [2025-03-09 19:59:03] Production.INFO: CreateAllLog End [2025-03-09 19:59:03] Production.INFO: Account Balance End. [2025-03-09 19:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:59:03] Production.ERROR: CronJobId end 12 [2025-03-09 19:59:03] Production.INFO: ==21664== Releasing lock... [2025-03-09 19:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-09 19:59:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-09 19:59:03] Production.INFO: ==21658== Lock acquired, processing the job... [2025-03-09 19:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-09 19:59:03] Production.INFO: ==21660== Lock acquired, processing the job... [2025-03-09 19:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-09 19:59:03] Production.INFO: count ==13 [2025-03-09 19:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-09 19:59:03] Production.INFO: count ==21 [2025-03-09 19:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644468') start [2025-03-09 19:59:03] Production.INFO: ==21666== Lock acquired, processing the job... [2025-03-09 19:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-09 19:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-09 19:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-09 19:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644468') end [2025-03-09 19:59:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-09 19:59:03] Production.INFO: 1 [2025-03-09 19:59:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-09 19:59:04] Production.INFO: ==21668== Releasing lock... [2025-03-09 19:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-09 19:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-09 19:59:04] Production.ERROR: done [2025-03-09 19:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-09 19:59:04] Production.INFO: ==21660== Releasing lock... [2025-03-09 19:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-09 19:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-09 19:59:04] Production.ERROR: done [2025-03-09 19:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-09 16:59:05 [end_date_ymd] => 2025-03-09 19:59:05 [RateCDR] => 1 ) [2025-03-09 19:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-09 16:59:05' and `end` < '2025-03-09 19:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-09 19:59:12] Production.ERROR: CronJobId end10 [2025-03-09 19:59:12] Production.INFO: ==21662== Releasing lock... [2025-03-09 19:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-09 19:59:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-09 19:59:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-09 19:59:13] Production.INFO: ============== Balance Warning START=========== [2025-03-09 19:59:13] Production.INFO: ============== Balance Warning END=========== [2025-03-09 19:59:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-09 19:59:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-09 19:59:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-09 19:59:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-09 19:59:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-09 19:59:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-09 19:59:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-09 19:59:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-09 19:59:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-09 19:59:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-09 19:59:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-09 19:59:14] Production.INFO: call_cost start [2025-03-09 19:59:14] Production.INFO: call_cost end [2025-03-09 19:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-09 19:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-09 19:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-09 19:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-09 19:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-09 19:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-09 19:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-09 19:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-09 19:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-09 19:59:15] Production.INFO: ==21658== Releasing lock... [2025-03-09 19:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-09 19:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-09 19:59:17] Production.INFO: count ==1406 [2025-03-09 19:59:17] Production.ERROR: pbx CDR StartTime 2025-03-09 16:59:05 - End Time 2025-03-09 19:59:05 [2025-03-09 19:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-09 19:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644471', 'tblTempUsageDetail_20' ) start [2025-03-09 19:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644471', 'tblTempUsageDetail_20' ) end [2025-03-09 19:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644471', 'tblTempVendorCDR_20' ) start [2025-03-09 19:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644471', 'tblTempVendorCDR_20' ) end [2025-03-09 19:59:18] Production.INFO: ProcessCDR(1,14644471,1,1,2) [2025-03-09 19:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-09 19:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-09 19:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644471', 'tblTempUsageDetail_20' ) start [2025-03-09 19:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644471', 'tblTempUsageDetail_20' ) end [2025-03-09 19:59:21] Production.ERROR: pbx prc_insertCDR start [2025-03-09 19:59:21] Production.ERROR: pbx prc_insertCDR end [2025-03-09 19:59:21] Production.INFO: ==21666== Releasing lock... [2025-03-09 19:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-09 19:59:21] Production.INFO: 38.25 MB #Memory Used#